Mini2440 Watchdog 内核没有配置 Device Drivers里面没有选中Watchdog Timer Support,怎么还有s3c2410-wdt加载了呢?
以下是启动信息:
dev0 initialized.
s3c2410-wdt s3c2410-wdt: watchdog in active, reset dis abled, irq en ableds3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 5 MTD partitions on "NAND 1GiB 3,3V 8-bit":
0x000000000000-0x000000080000 : "uboot"
0x000000080000-0x0000000c0000 : "param"
0x0000000c0000-0x0000003c0000 : "kernel"
而我选择Watchdog Timer Support 及其下的s3c2410 watchdog后,反而出现2次加载的现象,代码里面找来找去找不到在哪加载的,哪位高人指点下!
选择Watchdog Timer Support 的启动信息:
dev0 initialized.
s3c2410-wdt s3c2410-wdt: watchdog in active, reset dis abled, irq en ableds3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)
Scanning device for bad blocks
Creating 5 MTD partitions on "NAND 1GiB 3,3V 8-bit":
0x000000000000-0x000000080000 : "uboot"
0x000000080000-0x0000000c0000 : "param"
0x0000000c0000-0x0000003c0000 : "kernel"
0x0000003c0000-0x0000009c0000 : "root"
0x0000009c0000-0x000040000000 : "yaffs"
mice: PS/2 mouse device common for all mice
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
Error: Driver 's3c2410-wdt' is already registered, aborting...VFS: Mounted root (cramfs filesystem) readonly on device 31:3.
已部分解决,这个是由于我另外又写了个驱动代码,我去掉我自己的那部分就OK了;但我仍然不知道是哪儿加载进去的.
启动信息如下:
Scanning device for bad blocks
Creating 5 MTD partitions on "NAND 1GiB 3,3V 8-bit":
0x000000000000-0x000000080000 : "uboot"
0x000000080000-0x0000000c0000 : "param"
0x0000000c0000-0x0000003c0000 : "kernel"
0x0000003c0000-0x0000009c0000 : "root"
0x0000009c0000-0x000040000000 : "yaffs"
mice: PS/2 mouse device common for all mice
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabledVFS: Mounted root (cramfs filesystem) readonly on device 31:3.
[ 此帖被dualxu在2011-04-27 18:51重新编辑 ]