Hi,

I have created Images for Beagle bone black, and Board bring up was
successful via sdcard.

But when I tried to mount the rootfs using nfs , i’m getitng kernel panic.


Log:

*[ 1.939870] VFS: Cannot open root device "nfs" or unknown-block(0,255):
error -6*

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

*[ 1.956773] 0100 16384 ram0 [ 1.960523] (driver?)*

*[ 1.963071] 0101 16384 ram1 [ 1.966814] (driver?)*

*[ 1.969300] 0102 16384 ram2 [ 1.973107] (driver?)*

*[ 1.975599] 0103 16384 ram3 [ 1.979340] (driver?)*

*[ 1.981859] 0104 16384 ram4 [ 1.985603] (driver?)*

*[ 1.988087] 0105 16384 ram5 [ 1.991858] (driver?)*

*[ 1.994345] 0106 16384 ram6 [ 1.998087] (driver?)*

*[ 2.000570] 0107 16384 ram7 [ 2.004342] (driver?)*

*[ 2.006829] 0108 16384 ram8 [ 2.010570] (driver?)*

*[ 2.013084] 0109 16384 ram9 [ 2.016827] (driver?)*

*[ 2.019311] 010a 16384 ram10 [ 2.023171] (driver?)*

*[ 2.025658] 010b 16384 ram11 [ 2.029491] (driver?)*

*[ 2.032004] 010c 16384 ram12 [ 2.035838] (driver?)*

*[ 2.038322] 010d 16384 ram13 [ 2.042188] (driver?)*

*[ 2.044675] 010e 16384 ram14 [ 2.048508] (driver?)*

*[ 2.050992] 010f 16384 ram15 [ 2.054853] (driver?)*

*[ 2.057357] b300 7761920 mmcblk0 [ 2.061402] driver: mmcblk*

*[ 2.064342] b301 512000 mmcblk0p1 7f863e1e-01[ 2.069721] *

*[ 2.071322] b302 7248896 mmcblk0p2 7f863e1e-02[ 2.076701] *

*[ 2.078278] b308 3735552 mmcblk1 [ 2.082327] driver: mmcblk*

*[ 2.085266] b309 3731456 mmcblk1p1 ca48043c-01[ 2.090645] *

*[ 2.092251] b318 2048 mmcblk1boot1 [ 2.096722] (driver?)*

*[ 2.099207] b310 2048 mmcblk1boot0 [ 2.103703] (driver?)*

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



->My Host system is running on Archlinux.


->I belive I have selected proper nfs support in menuconfig:


<*> kmod-fs-nfs................................ NFS filesystem client
support

<*> kmod-fs-nfs-common.................Common NFS filesystem modules

<*> kmod-fs-nfs-v3............................ NFS3 filesystem client
support

<*> kmod-fs-nfs-v4............................ NFS4 filesystem client
support


->There are the commnads I used for my board bring up:


1)setenv serverip 10.0.0.4


2)setenv ipaddr 10.0.0.111


3)tftpboot 0x81000000 zImage


4)tftpboot 0x82000000 image-am335x-boneblack.dtb


5)setenv bootargs console=ttyO0,115200 ip=10.0.0.111:10.0.0.4::255.255.255.0
root=/dev/nfs 
nfsroot=10.0.0.4:/home/k/OpenWrt/openwrt/build_dir/target-arm_cortex-a8+vfpv3_musl_eabi/root-omap,v3,tcp
rw


[There is something wrong with this 5th command for openwrt, but this same
command works fine (rootfs path differs :-))when tried with buildroot
images]


6)bootz 0x81000000 – 0x82000000


can any one guide me on this please.


Regards,

Kishore.
_______________________________________________
openwrt-users mailing list
openwrt-users@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to