Hi all, My arm developement board is QT2410 of ARMZone, I using linux2.6.21.1 kernel and patched openmoko's patches of 2007/07/25. Patch and compile is ok, but the CS8900A driver is not work and so could not using NFS to boot my root filesystem. BTW, u-boot's network functions such as tftp is ok on my board. The following is boot error message, any help and suggestion are welcome, Thanks in advance!
Best Regard Jordon Wu A beginner of ARM Linux Following is my qt2410 arm board boot message ======================================================================================================== QT2410 # tftp 0x30008000 uImage TFTP from server 192.168.1.4; our IP address is 192.168.1.88 Filename 'uImage'. Load address: 0x30008000 Loading: *################################################################# ################################################################# ################################################################# ################################################################# ######### done Bytes transferred = 1375328 (14fc60 hex) QT2410 # bootm 0x30008000 ## Booting image at 30008000 ... Image Name: Linux-2.6.21.1 Created: 2007-09-09 15:52:34 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1375264 Bytes = 1.3 MB Load Address: 30008000 Entry Point: 30008040 Verifying Checksum ... OK XIP Kernel Image ... OK Starting kernel ... Uncompressing Linux......................................................................................... done, booting the kernel. Linux version 2.6.21.1 ([EMAIL PROTECTED]) (gcc version 4.2.0) #24 Sun Sep 9 23:51:10 CST 2007 CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177 Machine: QT2410 Memory policy: ECC disabled, Data cache writeback On node 0 totalpages: 16384 DMA zone: 128 pages used for memmap DMA zone: 0 pages reserved DMA zone: 16256 pages, LIFO batch:3 Normal zone: 0 pages used for memmap CPU S3C2410A (id 0x32410002) S3C2410: core 202.666 MHz, memory 101.333 MHz, peripheral 50.666 MHz S3C24XX Clocks, (c) 2004 Simtec Electronics CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on __request_resource root->start == 0, root->end == ffffffff, new->start == 30000000, new-end == 33ffffff __request_resource root->start == 30000000, root->end == 33ffffff, new->start == 30023000, new-end == 3029afff __request_resource root->start == 30000000, root->end == 33ffffff, new->start == 3029c000, new-end == 302e4eaf CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets Built 1 zonelists. Total pages: 16256 Kernel command line: noinitrd root=/dev/nfs rw nfsroot= 192.168.1.4:/opt/buildroot/project_build_arm/uclibc/root init=/linuxrc.nfs ip=192.168.1.88:192.168.1.4::255.255.255.0:::off console=ttySAC0,115200 console=tty0 loglevel=8 rq: clearing subpending status 00000002 PID hash table entries: 256 (order: 8, 1024 bytes) timer tcon=00500000, tcnt a4ed, tcfg 00000200,00000000, usec 00001e51 Console: colour dummy device 80x30 Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Memory: 64MB = 64MB total Memory: 61952KB available (2528K code, 291K data, 108K init) Calibrating delay loop... 100.96 BogoMIPS (lpj=252416) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 S3C2410 Power Management, (c) 2004 Simtec Electronics S3C2410: Initialising architecture S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics DMA channel 0 at c4800000, irq 33 DMA channel 1 at c4800040, irq 34 DMA channel 2 at c4800080, irq 35 DMA channel 3 at c48000c0, irq 36 __request_resource root->start == 0, root->end == ffffffff, new->start == 50000000, new-end == 50003fff __request_resource root->start == 0, root->end == ffffffff, new->start == 50004000, new-end == 50007fff __request_resource root->start == 0, root->end == ffffffff, new->start == 50008000, new-end == 5000bfff __request_resource root->start == 0, root->end == ffffffff, new->start == 49000000, new-end == 490fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 4d000000, new-end == 4d0fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 53000000, new-end == 530fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 54000000, new-end == 540fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 55000000, new-end == 550fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 5a000000, new-end == 5a0fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 52000000, new-end == 520fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 19000000, new-end == 19000010 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 2048 (order: 2, 16384 bytes) TCP bind hash table entries: 2048 (order: 1, 8192 bytes) TCP: Hash tables configured (established 2048 bind 2048) TCP reno registered NetWinder Floating Point Emulator V0.97 (double precision) JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler anticipatory registered (default) io scheduler deadline registered io scheduler cfq registered __request_region res->name == s3c2410-lcd, res->start == f0300000, res->end == f03fffff __request_resource root->start == 0, root->end == ffffffff, new->start == f0300000, new-end == f03fffff __request_region s3c2410-lcd not conflict s3c2410-lcd s3c2410-lcd: invalid bpp 16 Console: switching to colour frame buffer device 30x40 fb0: s3c2410fb frame buffer device lp: driver loaded but no devices found ppdev: user-space parallel port driver S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics __request_region res->name == s3c2410-wdt, res->start == 53000000, res->end == 530fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 53000000, new-end == 530fffff __request_resource root->start == 53000000, root->end == 530fffff, new->start == 53000000, new-end == 530fffff __request_region s3c2410-wdt not conflict Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled __request_region res->name == s3c2410-uart, res->start == 50000000, res->end == 500000ff __request_resource root->start == 0, root->end == ffffffff, new->start == 50000000, new-end == 500000ff __request_resource root->start == 50000000, root->end == 50003fff, new->start == 50000000, new-end == 500000ff __request_region s3c2410-uart not conflict s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410 __request_region res->name == s3c2410-uart, res->start == 50004000, res->end == 500040ff __request_resource root->start == 0, root->end == ffffffff, new->start == 50004000, new-end == 500040ff __request_resource root->start == 50004000, root->end == 50007fff, new->start == 50004000, new-end == 500040ff __request_region s3c2410-uart not conflict s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410 __request_region res->name == s3c2410-uart, res->start == 50008000, res->end == 500080ff __request_resource root->start == 0, root->end == ffffffff, new->start == 50008000, new-end == 500080ff __request_resource root->start == 50008000, root->end == 5000bfff, new->start == 50008000, new-end == 500080ff __request_region s3c2410-uart not conflict s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410 RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize loop: loaded (max 8 devices) cs89x0:cs89x0_probe(0x0) cs89x0_probe port == f0800300 cs89x0_probe1 ioaddr == f0800300, ioaddr & ~3 == f0800300 cs89x0_probe1 NETCARD_IO_EXTENT == 16 cs89x0_probe1 DRV_NAME == cs89x0 __request_region res->name == cs89x0, res->start == f0800300, res->end == f080030f __request_resource root->start == 0, root->end == ffffffff, new->start == f0800300, new-end == f080030f __request_region cs89x0 not conflict PP_addr at f0800300[a]: 0x3000 cs89x0.c: v2.4.3-pre1 Russell Nelson <[EMAIL PROTECTED]>, Andrew Morton < [EMAIL PROTECTED]> eth0: cs8900 rev K found at 0xf0800300 cs89x0: Extended EEPROM checksum bad and no Cirrus EEPROM, relying on command line [JordonWu] why tip above error info? cs89x0 media IRQ 53eth0: Setting MAC address to cd ef fe dc 00 00. , programmed I/O, MAC cd:ef:fe:dc:00:00 cs89x0_probe1() successful cs89x0:cs89x0_probe(0x0) [JordonWu] why probe cs8900a again? cs89x0_probe port == f0800300 cs89x0_probe1 ioaddr == f0800300, ioaddr & ~3 == f0800300 cs89x0_probe1 NETCARD_IO_EXTENT == 16 cs89x0_probe1 DRV_NAME == cs89x0 __request_region res->name == cs89x0, res->start == f0800300, res->end == f080030f __request_resource root->start == 0, root->end == ffffffff, new->start == f0800300, new-end == f080030f cs89x0: request_region(0xf0800300, 0x10) failed cs89x0: no cs8900 or cs8920 detected. Be sure to disable PnP with SETUP netconsole: not configured, aborting Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx S3C24XX NAND Driver, (c) 2004 Simtec Electronics jbt_init: entering usbmon: debugfs is not available ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver __request_region res->name == ohci_hcd, res->start == 49000000, res->end == 490fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 49000000, new-end == 490fffff __request_resource root->start == 49000000, root->end == 490fffff, new->start == 49000000, new-end == 490fffff __request_region ohci_hcd not conflict s3c2410-ohci s3c2410-ohci: S3C24XX OHCI s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1 s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected mice: PS/2 mouse device common for all mice S3C24XX RTC, (c) 2004,2006 Simtec Electronics __request_region res->name == s3c2410-i2c, res->start == 54000000, res->end == 540fffff __request_resource root->start == 0, root->end == ffffffff, new->start == 54000000, new-end == 540fffff __request_resource root->start == 54000000, root->end == 540fffff, new->start == 54000000, new-end == 540fffff __request_region s3c2410-i2c not conflict s3c2410-i2c s3c2410-i2c: slave address 0x10 s3c2410-i2c s3c2410-i2c: bus frequency set to 98 KHz s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter TCP cubic registered NET: Registered protocol family 1 irq 53: nobody cared (try booting with the "irqpoll" option) handlers: [<c0148dcc>] (net_interrupt+0x0/0x3b0) Disabling IRQ #53 eth0: EEPROM is configured for unavailable media IP-Config: Failed to open eth0 IP-Config: No network devices available. VFS: Cannot open root device "nfs" or unknown-block(0,255) Please append a correct "root=" boot option Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)
