Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/PROCESSOR-SDK-AM335X: NFS Loading error

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: TPS65910

Tool/software: Linux

Hello, 

I am trying use NFS on AM335x, but I am getting below error.

/------------------------------------------------------------------------------------------------------------------------------------------------/

[    1.532202] Creating 10 MTD partitions on "8000000.nand":
[    1.537673] 0x000000000000-0x000000020000 : "NAND.SPL"
[    1.544051] 0x000000020000-0x000000040000 : "NAND.SPL.backup1"
[    1.550957] 0x000000040000-0x000000060000 : "NAND.SPL.backup2"
[    1.557817] 0x000000060000-0x000000080000 : "NAND.SPL.backup3"
[    1.564794] 0x000000080000-0x0000000c0000 : "NAND.u-boot-spl-os"
[    1.571851] 0x0000000c0000-0x0000001c0000 : "NAND.u-boot"
[    1.578627] 0x0000001c0000-0x0000001e0000 : "NAND.u-boot-env"
[    1.585445] 0x0000001e0000-0x000000200000 : "NAND.u-boot-env.backup1"
[    1.592820] 0x000000200000-0x000000a00000 : "NAND.kernel"
[    1.601935] 0x000000a00000-0x000010000000 : "NAND.file-system"
[    1.713200] tps65910 0-002d: No interrupt support, no core IRQ
[    1.740521] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[    1.747440] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[    1.753775] omap_hsmmc 481d8000.mmc: Got CD GPIO
[    1.758838] vmmc: supplied by vbat
[    1.803302] vdd_mpu: supplied by vbat
[    1.809145] input: volume_keys@0 as /devices/platform/volume_keys@0/input/input0
[    1.823538] hctosys: unable to open rtc device (rtc0)
[    1.831797] lis3_reg: disabling
[    1.843073] wlan-en-regulator: disabling
[    1.853192] ALSA device list:
[    1.863005]   No soundcards found.
[    1.867498] Waiting 4 sec before mounting root device...
[   77.339415] random: nonblocking pool is initialized
[  100.946455] VFS: Unable to mount root fs via NFS, trying floppy.
[  100.953543] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
[  100.960914] Please append a correct "root=" boot option; here are the available partitions:
[  100.969462] 1f00             128 mtdblock0  (driver?)
[  100.974682] 1f01             128 mtdblock1  (driver?)
[  100.979849] 1f02             128 mtdblock2  (driver?)
[  100.985088] 1f03             128 mtdblock3  (driver?)
[  100.990192] 1f04             256 mtdblock4  (driver?)
[  100.995519] 1f05            1024 mtdblock5  (driver?)
[  101.000624] 1f06             128 mtdblock6  (driver?)
[  101.005825] 1f07             128 mtdblock7  (driver?)
[  101.010988] 1f08            8192 mtdblock8  (driver?)
[  101.016137] 1f09          251904 mtdblock9  (driver?)
[  101.021240] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
[  101.029567] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)
/------------------------------------------------------------------------------------------------------------------------------------------------/
Please do the needful.
Regards,
-- Ronak
  • Hello ,

    If I will give ip=dhcp in the netargs, It is going in to continuous loop.

    setenv netargs 'setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp';

    /-----------------------------------------------------------------------------------------------------/

    nfs: server 10.99.8.101 not responding, still trying

    [   54.073077] nfs: server 10.99.8.101 not responding, still trying

    [   56.273066] nfs: server 10.99.8.101 not responding, still trying

    [   56.280350] nfs: server 10.99.8.101 OK

    [   56.285359] nfs: server 10.99.8.101 OK

    /-----------------------------------------------------------------------------------------------------/

    Please provide some information .

    Regards,

    -- Ronak

    1. Have you setup NFS client on your host machine ? Please check below link
    2. Please check your machine and board i n same IP domain?
    3. If you can use one to one network for verification, that is the good starting point.
    4. Least but not the last, please check NFC enabled in your kernel configs.