In message <1124852294.11078.8.camel at banana> you wrote: > > I used u-boot-1.1.3 and 2.4.25 linux on my custom MPC852T board, I > can't mount /opt/eldk/ppc_8xx as rootfs.
You pass incomplete config options to the kernel. > Hit any key to stop autoboot: 0 > => setenv hostname banana > => setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) ip= > $(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off > => printenv > bootcmd=bootm 40040000 40100000 > bootdelay=3 > baudrate=115200 > loads_echo=1 > ethprime=SCC ETHERNET > ipaddr=10.0.14.110 > serverip=10.0.14.26 > netmask=255.255.0.0 > preboot=echo; > netdev=eth0 ^^^^^^^^^^^^^ > nfsargs=setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) > ramargs=setenv bootargs root=/dev/ram rw > addip=setenv bootargs $(bootargs) ip=$(ipaddr):$(serverip):$(gatewayip): > $(netmask):$(hostname):$(netdev):off panic=1 ^^^^^^^^^ Here you have all the necessary prparations. > bootargs=root=/dev/nfs rw nfsroot=10.0.14.26:/opt/eldk/ppc_8xx > ip=10.0.14.110:10.0.14.26::255.255.0.0:banana::off ^^ But here you are missing to pass the information which ethernet interface to use. > Kernel command line: root=/dev/nfs rw > nfsroot=10.0.14.26:/opt/eldk/ppc_8xx > ip=10.0.14.110:10.0.14.26::255.255.0.0:banana::off -----------------------------------------------^^^ No interface selected. > eth0: CPM ENET Version 0.2 on SCC4, 00:01:02:b4:36:56 > eth1: FEC ENET Version 0.3, FEC irq 9, MII irq 12, addr > 00:01:02:b4:36:57 But there are two intefaces. Which one should the kernel use? Just fix your bootargs. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You humans have that emotional need to express gratitude. "You're welcome," I believe, is the correct response. -- Spock, "Bread and Circuses", stardate 4041.2