Hi, everyone. I am a newbie here. I come from China.<br>I have a board based on ep9315. I am trying to port embeded linux to that board.<br>I
used 'make zImage' to generate a zImage, and u-boot command 'dhcp' to
download zImage into board sdram at address 0x1000000, then 'go
0x1000000'. Thank God! The kernel ran! <br>But I get this message in my minicom:<br><br> Uncompressing Linux... done, booting the kernel.<br>Linux version 2.6.37 (root@myhost) (gcc version 4.1.2) #4 Wed Feb 16 20:23:04 CST 2011<br>
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177<br>CPU: VIVT data cache, VIVT instruction cache<br>Machine: Cirrus Logic EDB9315 Evaluation Board<br>Memory policy: ECC disabled, Data cache writeback<br>Built 1 zonelists in Zone order, mobility grouping off. Total pages: 4064<br>
Kernel command line: console=ttyAM0,115200 root=/dev/nfs ip=dhcp<br>PID hash table entries: 64 (order: -4, 256 bytes)<br>Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)<br>Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)<br>
Memory: 16MB = 16MB total<br>Memory: 12584k/12584k available, 3800k reserved, 0K highmem<br>Virtual kernel memory layout:<br> vector : 0xffff0000 - 0xffff1000 ( 4 kB)<br> fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)<br>
DMA : 0xffc00000 - 0xffe00000 ( 2 MB)<br> vmalloc : 0xc1800000 - 0xfe800000 ( 976 MB)<br> lowmem : 0xc0000000 - 0xc1000000 ( 16 MB)<br> modules : 0xbf000000 - 0xc0000000 ( 16 MB)<br> .init : 0xc0008000 - 0xc0023000 ( 108 kB)<br>
.text : 0xc0023000 - 0xc0352090 (3261 kB)<br> .data : 0xc0354000 - 0xc0374400 ( 129 kB)<br>NR_IRQS:120<br>VIC @fefb0000: id 0x00041190, vendor 0x41<br>VIC @fefc0000: id 0x00041190, vendor 0x41<br>Calibrating delay loop... 99.73 BogoMIPS (lpj=498688)<br>
pid_max: default: 32768 minimum: 301<br>Mount-cache hash table entries: 512<br>CPU: Testing write buffer coherency: ok<br>NET: Registered protocol family 16<br>ep93xx clock: PLL1 running at 199 MHz, PLL2 at 192 MHz<br>ep93xx clock: FCLK 199 MHz, HCLK 99 MHz, PCLK 49 MHz<br>
ep93xx dma_m2p: M2P DMA subsystem initialized<br>bio: create slab <bio-0> at 0<br>SCSI subsystem initialized<br>usbcore: registered new interface driver usbfs<br>usbcore: registered new interface driver hub<br>usbcore: registered new device driver usb<br>
NET: Registered protocol family 2<br>IP route cache hash table entries: 1024 (order: 0, 4096 bytes)<br>TCP established hash table entries: 512 (order: 0, 4096 bytes)<br>TCP bind hash table entries: 512 (order: 1, 10240 bytes)<br>
TCP: Hash tables configured (established 512 bind 512)<br>TCP reno registered<br>UDP hash table entries: 128 (order: 0, 6144 bytes)<br>UDP-Lite hash table entries: 128 (order: 0, 6144 bytes)<br>NET: Registered protocol family 1<br>
RPC: Registered udp transport module.<br>RPC: Registered tcp transport module.<br>RPC: Registered tcp NFSv4.1 backchannel transport module.<br>NetWinder Floating Point Emulator V0.97 (extended precision)<br>JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.<br>
msgmni has been set to 24<br>io scheduler noop registered<br>io scheduler deadline registered (default)<br>Serial: AMBA driver<br>apb:uart1: ttyAM0 at MMIO 0x808c0000 (irq = 52) is a AMBA<br>console [ttyAM0] enabled<br>apb:uart2: ttyAM1 at MMIO 0x808d0000 (irq = 54) is a AMBA<br>
apb:uart3: ttyAM2 at MMIO 0x808e0000 (irq = 55) is a AMBA<br>nbd: registered device at major 43<br>physmap platform flash device: 02000000 at 60000000<br>physmap-flash.0: Found 2 x16 devices at 0x0 in 32-bit bank. Manufacturer ID 0x000089 Chip ID 0x000018<br>
Intel/Sharp Extended Query Table at 0x0031<br>Intel/Sharp Extended Query Table at 0x0031<br>Using buffer write method<br>cfi_cmdset_0001: Erase suspend on write enabled<br>Searching for RedBoot partition table in physmap-flash.0 at offset 0x1fc0000<br>
No RedBoot partition table detected in physmap-flash.0<br>ep93xx-eth version 0.1 loading<br>eth0: ep93xx on-chip ethernet, IRQ 39, 01:02:93:12:15:07<br>rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver<br>usbcore: registered new interface driver rtl8150<br>
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver<br>ep93xx-ohci ep93xx-ohci: EP93xx OHCI<br>ep93xx-ohci ep93xx-ohci: new USB bus registered, assigned bus number 1<br>ep93xx-ohci ep93xx-ohci: irq 56, io mem 0x80020000<br>
usb usb1: New USB device found, idVendor=1d6b, idProduct=0001<br>usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1<br>usb usb1: Product: EP93xx OHCI<br>usb usb1: Manufacturer: Linux 2.6.37 ohci_hcd<br>usb usb1: SerialNumber: ep93xx<br>
hub 1-0:1.0: USB hub found<br>hub 1-0:1.0: 3 ports detected<br>Initializing USB Mass Storage driver...<br>usbcore: registered new interface driver usb-storage<br>USB Mass Storage support registered.<br>usbcore: registered new interface driver usbserial<br>
usbserial: USB Serial Driver core<br>USB Serial support registered for pl2303<br>usbcore: registered new interface driver pl2303<br>pl2303: Prolific PL2303 USB to serial adaptor driver<br>ep93xx-rtc ep93xx-rtc: rtc core: registered ep93xx-rtc as rtc0<br>
i2c /dev entries driver<br>ep93xx_wdt: EP93XX watchdog, driver version 0.3<br>TCP cubic registered<br>NET: Registered protocol family 10<br>NET: Registered protocol family 17<br>NET: Registered protocol family 15<br>ep93xx-rtc ep93xx-rtc: setting system clock to 1970-01-01 00:57:09 UTC (3429)<br>
IP-Config: Failed to open eth0<br>IP-Config: No network devices available.<br>Root-NFS: no NFS server address<br>VFS: Unable to mount root fs via NFS, trying floppy.<br>VFS: Cannot open root device "nfs" or unknown-block(2,0)<br>
Please append a correct "root=" boot option; here are the available partitions:<br>1f00 32768 mtdblock0 (driver?)<br>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)<br><br>
After analyzing, I think the main problem is IP-Config: Failed to open eth0, so that the kernel can not mount the nfs root. <br>Is there some problem in the network driver ep93xx-eth or in some code generate "IP-Config: Failed to open eth"<br>
<br>Any reply will be appreciated!