nfs booting error on i.MX6 sabresd

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

nfs booting error on i.MX6 sabresd

跳至解决方案
2,784 次查看
jinu
Contributor II

hi, everyone

 

I have a sabresd i.MX6 board.

But it isn't work on NFS.

I attach uboot env and boot log.

How can I fix this error?

 

Sending DHCP requests ., OK

IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.0.65

IP-Config: Complete:

     device=eth0, addr=192.168.0.65, mask=255.255.255.0, gw=192.168.0.1,

     host=192.168.0.65, domain=, nis-domain=(none),

     bootserver=0.0.0.0, rootserver=0.0.0.0, rootpath=

VFS: Cannot open root device "nfs" or unknown-block(0,255)

Please append a correct "root=" boot option; here are the available partitions:

1f00            1024 mtdblock0  (driver?)

1f01            3072 mtdblock1  (driver?)

b300         7757824 mmcblk0  driver: mmcblk

  b301         7747584 mmcblk0p1 00000000-0000-0000-0000-000000000000

b310            2048 mmcblk0boot1  (driver?)

b308            2048 mmcblk0boot0  (driver?)

Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,255)

...

Original Attachment has been moved to: uboot_env.txt.zip

Original Attachment has been moved to: boot_log.txt.zip

标签 (1)
标记 (3)
0 项奖励
1 解答
1,402 次查看
jinu
Contributor II

thanks Vladan,

I sovled it add NFS server features at LTIB Setting.

在原帖中查看解决方案

0 项奖励
3 回复数
1,402 次查看
VladanJovanovic
NXP Employee
NXP Employee

Add rootwait to bootargs_nfs and it should be OK (if NFS server is set up properly).

0 项奖励
1,402 次查看
1990rahulreddy
Contributor IV

how to add rootwait

U-Boot > setenv bootargs_nfs ‘setenv bootargs ${bootargs} root=/dev/nfs

ip=dhcp nfsroot=${serverip}:${nfsroot} fec_mac=00:04:9F:00:EA:D7’

to this...

0 项奖励
1,403 次查看
jinu
Contributor II

thanks Vladan,

I sovled it add NFS server features at LTIB Setting.

0 项奖励