Hello Everyone :<br><br>I'm failed when booting the board using NFS on AMCC PPC 405EP.<br>I think i have read the getting started guide carefully!<br>The tftp server and nfs server can works well. <br>And the firewall was disabled, too.<br><br>My env was set as below:<br>---------------------------------------------------------<br>=> printenv<br>baudrate=115200<br>loads_echo=1<br>preboot=echo;echo You are welcom!;echo;<br>netdev=eth0<br>hostname=IOStation<br>addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname):$(netdev):off panic=1<br>addtty=setenv bootargs $(bootargs) console=ttyS0,$(baudrate)<br>flash_nfs=run nfsargs addip addtty;bootm $(kernel_addr)<br>nfs_boot=tftp $(kernel_addr) $(bootfile);run flash_nfs<br>bootfile=uImage<br>kernel_addr=200000<br>ethaddr=00:01:02:03:04:87<br>bootargs=console=ttyS0,115200<br>cleanenv=protect off fffa0000 fffbffff;erase fffa0000 fffbffff<br>upuboot=tftp 100000 u-boot.bin;protect off fffc0000
ffffffff;era fffc0000 ffffffff;cp.b 100000 fffc0000 40000<br>burnKernel=tftp 200000 uImage;nand erase 0 200000;nand write.jffs2 ${fileaddr} 0 ${filesize}<br>burnInitrd=tftp 200000 uInitrd;nand erase 200000 80000;nand write.jffs2 ${fileaddr} 200000 ${filesize}<br>burnCramfs=tftp 200000 cramfs.img;nand erase 280000 1580000;nand write.jffs2 ${fileaddr} 280000 ${filesize}<br>burnJffs2=tftp 200000 jffs2.img;nand erase 1800000 500000;nand write.jffs2 ${fileaddr} 1800000 ${filesize}<br>burnFirmware=run burnKernel;run burnInitrd;run burnCramfs;run burnJffs2<br>flashboot=setenv bootargs console=ttyS0,115200;nand read.jffs2 200000 0 200000;nand read.jffs2 400000 200000 80000;bootm 200000 400000<br>ethact=VT6122<br>bootcmd=run nfs_boot<br>bootdelay=10<br>filesize=10930b<br>fileaddr=100000<br>gatewayip=192.168.1.1<br>ipaddr=192.168.1.120<br>serverip=192.168.1.142<br>rootpath=/opt/eldk/ppc_4xx<br>nfsargs=setenv bootargs root=/dev/nfs rw
nfsroot=$(serverip):$(rootpath)<br>stdin=serial<br>stdout=serial<br>stderr=serial<br>ver=U-Boot 1.2.0 (Jan 26 2008 - 18:50:29)<br><br>Environment size: 1600/65532 bytes<br>---------------------------------------------------------<br><br>And the whole log is:<br>---------------------------------------------------------<br>U-Boot 1.2.0 (Jan 26 2008 - 18:50:29)<br><br>CPU: AMCC PowerPC 405EP Rev. B at 266.666 MHz (PLB=133, OPB=66, EBC=66 MHz)<br> I2C boot EEPROM disabled<br> Internal PCI arbiter enabled<br> 16 kB I-Cache 16 kB D-Cache<br>Board: Bubinga - AMCC PPC405EP Evaluation Board<br>I2C: ready<br>DRAM: 64 MB<br>FLASH: 512 kB<br>NAND: 64 MiB<br>In: serial<br>Out: serial<br>Err: serial<br>Net: VT6122<br><br>You are welcom!<br><br>Hit any key to stop autoboot: 0<br>Link
autonegation speed 100M bps full duplex<br>Using VT6122 device<br>TFTP from server 192.168.1.142; our IP address is 192.168.1.120<br>Filename 'uImage'.<br>Load address: 0x200000<br>Loading: #################################################################<br> #################################################################<br> #################################################################<br> ##################<br>done<br>Bytes transferred = 1086219 (10930b hex)<br>Checking ...<br>Check1. Check2. ## Booting image at 00200000 ...<br> Image Name: Linux-2.6.19.2<br> Created: 2008-03-25 11:15:51 UTC<br> Image Type: PowerPC Linux Kernel Image (gzip compressed)<br> Data Size: 1086155 Bytes = 1
MB<br> Load Address: 00000000<br> Entry Point: 00000000<br> Verifying Checksum ... OK<br> Uncompressing Kernel Image ... OK<br>Linux version 2.6.19.2 (zwang@wzc) (gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)) #6 Tue Mar 25 19:15:48 CST 2008<br>IBM Bubinga port (MontaVista Software, Inc. <source@mvista.com>)<br>Zone PFN ranges:<br> DMA 0 -> 16384<br> Normal 16384 -> 16384<br>early_node_map[1] active PFN ranges<br> 0: 0 -> 16384<br>Built 1 zonelists. Total pages: 16256<br>Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.142:/opt/eldk/ppc_4xx ip=192.168.1.120:192.168.1.142:192.168.1.1::IOStation:eth0:off p0PID hash table entries: 256 (order: 8, 1024 bytes)<br>Warning: real
time clock seems stuck!<br>Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)<br>Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)<br>Memory: 62592k available (1764k kernel code, 428k data, 132k init, 0k highmem)<br>Mount-cache hash table entries: 512<br>NET: Registered protocol family 16<br>PCI: Probing PCI hardware<br>NET: Registered protocol family 2<br>IP route cache hash table entries: 512 (order: -1, 2048 bytes)<br>TCP established hash table entries: 2048 (order: 1, 8192 bytes)<br>TCP bind hash table entries: 1024 (order: 0, 4096 bytes)<br>TCP: Hash tables configured (established 2048 bind 1024)<br>TCP reno registered<br>io scheduler noop registered<br>io scheduler anticipatory registered (default)<br>io scheduler deadline registered<br>io scheduler cfq registered<br>Generic RTC Driver v1.07<br>Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled<br>serial8250: ttyS0 at MMIO 0x0 (irq = 0) is a 16550A<br>serial8250: ttyS1 at
MMIO 0x0 (irq = 1) is a 16550A<br>RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize<br>loop: loaded (max 8 devices)<br>VIA Networking Velocity Family Gigabit Ethernet Adapter Driver Ver. 1.14<br>Copyright (c) 2002, 2003 VIA Networking Technologies, Inc.<br>Copyright (c) 2004 Red Hat Inc.<br>eth0: VIA Networking Velocity Family Gigabit Ethernet Adapter<br>eth0: Ethernet Address: 00:01:02:03:04:87<br>Found: AMD AM29LV040B<br>PPC40x-flash: Found 1 x8 devices at 0x0 in 8-bit bank<br>number of JEDEC chips: 1<br>cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.<br>Creating 3 MTD partitions on "PPC40x-flash":<br>0x00000000-0x00020000 : "reserved"<br>0x00020000-0x00040000 : "env"<br>0x00040000-0x00080000 : "u-boot"<br>TCP cubic registered<br>NET: Registered protocol family 1<br>NET: Registered protocol family 17<br>NET: Registered protocol family 15<br>Velocity is AUTO mode<br>IP-Config: Guessing netmask 255.255.255.0<br>IP-Config:
Complete:<br> device=eth0, addr=192.168.1.120, mask=255.255.255.0, gw=192.168.1.1,<br> host=IOStation, domain=, nis-domain=(none),<br> bootserver=192.168.1.142, rootserver=192.168.1.142, rootpath=<br>Looking up port of RPC 100003/2 on 192.168.1.142<br>eth0: Link autonegation speed 100M bps full duplex<br>TD structure errror TDindex=0<br>portmap: server 192.168.1.142 not responding, timed out<br>Root-NFS: Unable to get nfsd port number from server, using default<br>Looking up port of RPC 100005/1 on 192.168.1.142<br>portmap: server 192.168.1.142 not responding, timed out<br>Root-NFS: Unable to get mountd port number from server, using default<br>mount: server 192.168.1.142 not responding, timed out<br>Root-NFS: Server returned error -5 while mounting /opt/eldk/ppc_4xx<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<br>Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)<br> <0>Rebooting in 1 seconds..<NULL><br>System Halted<br>---------------------------------------------------------<br><br>Could anyone give me some advice ? Thank you very much.<br><BR><BR><p> 
<hr size=1><a href="http://cn.mail.yahoo.com/"> ÑÅ»¢ÓÊÏ䣬ÄúµÄÖÕÉúÓÊÏ䣡</a>