nfs booting error on i.MX6 sabresd

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

nfs booting error on i.MX6 sabresd

Jump to solution
2,722 Views
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

Labels (1)
Tags (3)
0 Kudos
1 Solution
1,340 Views
jinu
Contributor II

thanks Vladan,

I sovled it add NFS server features at LTIB Setting.

View solution in original post

0 Kudos
3 Replies
1,340 Views
VladanJovanovic
NXP Employee
NXP Employee

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

0 Kudos
1,340 Views
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 Kudos
1,341 Views
jinu
Contributor II

thanks Vladan,

I sovled it add NFS server features at LTIB Setting.

0 Kudos