先给出内核打印信息:<br /><br />CPU ID: 0x32440001, running at 405MHz<br />FCLK=405MHz, HCLK=101MHz, PCLK=50MHz, UPLL=48MHz, UCLK=48MHz<br />MPLLVal [M:0x7f, P:0x2, S:0x1]<br />CLKDIVN: 0x00000005<br />Console: Serial port 0, Baud rate is 115200.<br />Linux OS image stored in NAND Flash.<br />Autoboot delay is 1 seconds.<br />S3C2440A USB Downloader mode: DMA<br /><<<<<<<<Press any key for menu>>>>>>>><br />Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done!<br />zImage magic = 0x016f2818<br />Setup linux parameters at 0x30000100<br />linux command line is: "noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0 rootfstype=yaffs"<br />MACH_TYPE = 782<br />NOW, Booting Linux......<br />Uncompressing Linux.................................................................................................................. done, booting the kernel.<br />Linux version 2.6.13 (root@localhost.localdomain) (gcc version 3.3.2) #156 Wed May 20 13:53:41 CST 2009<br />CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)<br />Machine: SBC2440<br />ATAG_INITRD is deprecated; please update your bootloader.<br />Memory policy: ECC disabled, Data cache writeback<br />CPU S3C2440A (id 0x32440001)<br />BUG: mapping for 0x19000000 at 0xd0000000 overlaps vmalloc space<br />S3C2440: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz<br />S3C2410 Clocks, (c) 2004 Simtec Electronics<br />CPU0: D VIVT write-back cache<br />CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets<br />CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets<br />Built 1 zonelists<br />Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0 rootfstype=yaffs<br />irq: clearing pending ext status 0000d200<br />irq: clearing subpending status 00000092<br />PID hash table entries: 512 (order: 9, 8192 bytes)<br />timer tcon=00500000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57<br />Console: colour dummy device 80x30<br />Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)<br />Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)<br />Memory: 64MB = 64MB total<br />Memory: 60800KB available (2691K code, 1037K data, 288K init)<br />Mount-cache hash table entries: 512<br />CPU: Testing write buffer coherency: ok<br />NET: Registered protocol family 16<br />USB Power Control, (c) 2004 Simtec Electronics<br />S3C2440: Initialising architecture<br />S3C2440: IRQ Support<br />S3C2440: Clock Support, UPLL 48.000 MHz<br />SCSI subsystem initialized<br />usbcore: registered new driver hub<br />S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics<br />DMA channel 0 at c4800000, irq 33<br />DMA channel 1 at c4800040, irq 34<br />DMA channel 2 at c4800080, irq 35<br />DMA channel 3 at c48000c0, irq 36<br />NetWinder Floating Point Emulator V0.97 (double precision)<br />devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)<br />devfs: boot_options: 0x1<br />yaffs May 20 2009 13:49:40 Installing. <br />Initializing Cryptographic API<br />Console: switching to colour frame buffer device 128x60<br />S3C24X0 fb0: s3c2410fb frame buffer device initialize done<br />GPIO L3 bus interface for S3C2440, installed<br />S3C2410 RTC, (c) 2004 Simtec Electronics<br />s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling<br />enable_irq(19) unbalanced from c0018bfc<br />S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics<br />s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440<br />s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440<br />s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440<br />io scheduler noop registered<br />io scheduler anticipatory registered<br />io scheduler deadline registered<br />io scheduler cfq registered<br />RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize<br />loop: loaded (max 8 devices)<br />nbd: registered device at major 43<br />MAC: 00:60:6E:00:00:01<br />Linux video capture interface: v1.00<br />S3C24XX NAND Driver, (c) 2004 Simtec Electronics<br />s3c2410-nand: mapped registers at c4a00000<br />30 ns is too big for current clock rate 101250<br />s3c2410-nand: timing: Tacls 0ns, Twrph0 4294ns, Twrph1 0ns<br />NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)<br />Scanning device for bad blocks<br />Bad eraseblock 149 at 0x00254000<br />Bad eraseblock 150 at 0x00258000<br />Bad eraseblock 151 at 0x0025c000<br />Bad eraseblock 152 at 0x00260000<br />。<br />。(N多连续坏块)<br />。<br /><br />Bad eraseblock 1576 a<br />Bad eraseblock 1578 at 0x018a8000<br />Bad eraseblock 1579 at 0x018 1581 at 0x018b4000<br />Bad eraseblock 1582 at 0x018b8000<br />Bad erast 0x018c0000<br />Bad eraseblock 1585 at 0x018c4000<br />Bad eraseblock ad eraseblock 1588 at 0x018d0000<br />Bad eraseblock 1589 at 0x018d4eblock 1591 at 0x018dc000<br />Bad eraseblock 1592 at 0x018e0000<br />Ba0x018e8000<br />Bad eraseblock 1595 at 0x018ec000<br />Bad eraseblock 15000<br />Bad eraseblock 1598 at 0x018f8000<br />Bad eraseblock 1599 at 0Bad eraseblock 3982 at 0x03e38000<br />其他一些启动信息略过。。。。。。。<br />yaffs: yaffs_GutsInitialise()<br />block 2 is bad<br />block 3 is bad<br />block 4 is bad<br />block 5 is bad<br />block 6 is bad<br />block 7 is bad<br />block 8 is bad<br />block 9 is bad<br />block 10 is bad<br />block 11 is bad<br />block 12 is bad<br />block 13 is bad<br />block 14 is bad<br />block 15 is bad<br />block 16 is bad<br />block 17 is bad<br />....<br /><br /><br />yaffs: yaffs_GutsInitialise() done.<br /><br />VFS: Mounted root (yaffs filesystem).<br />mount_devfs_fs(): unable to mount devfs, err: -2<br />Freeing init memory: 288K<br />Warning: unable to open an initial console.<br />Kernel panic - not syncing: No init found. Try passing init= option to kernel.<br /> <br /><br /><br /><br />Flash 用的是K9F1208U0C,试过换了一片NADNFLASH,还是不行。就不确定问题出在哪里了? |
|