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.

EVM437x NFS rootfs problem

I have problems when trying to configurate NFS rootfs to Uboot with this setup:
- EVM437x
- VirtualBox Xubuntu with USB<-->Ethernet converter, static IP 10.0.0.0
- Sitara Linux SDK installed
- uboot in SD card
- kernel from VirtualBox using tftp (<-- working!)
- rootfs from VirtualBox using NFS  

I get the "RPC call returned error 13" when kernel is trying to mount the rootfs. I think that is "access denied" error?
Everything seems to be ok in the VirtualBox, see below:

sudo service nfs-kernel-server status
nfsd running

sudo exportfs
/targetNFS        <world>

I have tweaked these Uboot variables...
bootargs=console=ttyO0,115200n8 root=/dev/nfs nfsroot=10.0.0.0:/targetNFS,nolock rw ip=10.0.0.1
netargs=setenv bootargs console=ttyO0,115200n8 root=/dev/nfs nfsroot=10.0.0.0:/targetNFS,nolock rw ip=10.0.0.1
rootpath=/targetNFS

... with this result:
[    4.253219] IP-Config: Guessing netmask 255.0.0.0
[    4.258630] IP-Config: Complete:
[    4.262112]      device=eth0, hwaddr=34:b1:f7:30:de:9b, ipaddr=10.0.0.1, mask=255.0.0.0, gw=255.255.255.255
[    4.272593]      host=10.0.0.1, domain=, nis-domain=(none)
[    4.278501]      bootserver=255.255.255.255, rootserver=10.0.0.0, rootpath=

It looks like the rootpath is not passed correctly from the Uboot bootargs to the Kernel (empty string in "roothpath=" ).

Any suggestions?

Brgds,

M.T.

------------ UBoot variables ---------------

pri
arch=arm
autoload=no
baudrate=115200
board=am43xx
board_name=AM43__GP
board_rev=1.4A
boot_targets=usb mmc0 nand
bootargs=console=ttyO0,115200n8 root=/dev/nfs nfsroot=10.0.0.0:/targetNFS,nolock rw ip=10.0.0.1
bootcmd=run findfdt; setenv autoload no; tftp ${loadaddr} zImage-am437x-evm.bin; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}
bootcmd_mmc0=setenv devnum 0; setenv rootpart 2; run mmc_boot;
bootcmd_nand=run nandboot;
bootcmd_usb=setenv devnum 0; run usb_boot;
bootdelay=3
bootdir=/boot
bootenv=uEnv.txt
bootfile=zImage-am437x-evm.bin
bootpart=0:2
console=ttyO0,115200n8
cpu=armv7
eth1addr=34:b1:f7:30:de:9d
ethact=cpsw
ethaddr=34:b1:f7:30:de:9b
fdt_high=0xa0000000
fdtaddr=0x80F80000
fdtfile=am437x-gp-evm.dtb
findfdt=if test $board_name = AM43EPOS; then setenv fdtfile am43x-epos-evm.dtb; fi; if test $board_name = AM43__GP; then setenv fdtfile am437x-gp-evm.dtb; fi; if test $fdtfile = undefined; then echo WARNING: Could not determine device tree; fi;
importbootenv=echo Importing environment from mmc ...; env import -t $loadaddr $filesize
ip_method=none
ipaddr=10.0.0.1
loadaddr=0x80200000
loadbootenv=load mmc ${mmcdev} ${loadaddr} ${bootenv}
loadfdt=load mmc ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}
loadimage=load mmc ${bootpart} ${loadaddr} ${bootdir}/${bootfile}
loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz
mmc_boot=setenv devtype mmc; if mmc dev ${devnum}; then run mmcargs;run scan_boot; run mmcboot;setenv mmcdev 1; setenv bootpart 1:2; run mmcboot;fi
mmcargs=setenv bootargs console=${console} ${optargs} root=${mmcroot} rootfstype=${mmcrootfstype}
mmcboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootenv; then echo Loaded environment from ${bootenv};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;if run loadimage; then run loadfdt; echo Booting from mmc${mmcdev} ...; run mmcargs; bootz ${loadaddr} - ${fdtaddr}; fi;fi;
mmcdev=0
mmcroot=/dev/mmcblk0p2 rw
mmcrootfstype=ext4 rootwait
mtdids=nand0=nand.0
mtdparts=mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.backup2),256k(NAND.SPL.backup3),512k(NAND.u-boot-spl-os),1m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup1),7m(NAND.kernel),-(NAND.file-system)
nandargs=setenv bootargs console=${console} ${optargs} root=${nandroot} rootfstype=${nandrootfstype}
nandboot=echo Booting from nand ...; run nandargs; nand read ${fdtaddr} NAND.u-boot-spl-os; nand read ${loadaddr} NAND.kernel; bootz ${loadaddr} - ${fdtaddr}
nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,4096
nandrootfstype=ubifs rootwait=1
netargs=setenv bootargs console=ttyO0,115200n8 root=/dev/nfs nfsroot=10.0.0.0:/targetNFS,nolock rw ip=10.0.0.1
netboot=echo Booting from network ...; setenv autoload no; dhcp; tftp ${loadaddr} ${bootfile}; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}
nfsopts=nolock
partitions=uuid_disk=${uuid_gpt_disk};name=rootfs,start=2MiB,size=-,uuid=${uuid_gpt_rootfs}
ramargs=setenv bootargs console=${console} ${optargs} root=${ramroot} rootfstype=${ramrootfstype}
ramroot=/dev/ram0 rw ramdisk_size=65536 initrd=${rdaddr},64M
ramrootfstype=ext2
rdaddr=0x81000000
rootpart=2
rootpath=/targetNFS
scan_boot=echo Scanning ${devtype} ${devnum}...; for prefix in ${bootdir}; do for script in ${bootfile}; do run script_boot; done; done;
script_boot=if load ${devtype} ${devnum}:${rootpart} ${loadaddr} ${bootdir}/${bootfile}; then run findfdt; load ${devtype} ${devnum}:${rootpart} ${fdtaddr} ${bootdir}/${fdtfile};fi;
serverip=10.0.0.0
soc=am33xx
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial
stdin=serial
stdout=serial
usb_boot=setenv devtype usb; run usb_init; if usb dev 0; then run usbargs;run scan_boot; bootz ${loadaddr} - ${fdtaddr}; fi
usb_init=usb start 0;
usbargs=setenv bootargs console=${console} ${optargs} root=${usbroot} rootfstype=${usbrootfstype}
usbroot=/dev/sda2 rw
usbrootfstype=ext4 rootwait
vendor=ti
ver=U-Boot 2013.10-g78d8ebd (Jun 09 2014 - 09:45:11)

Environment size: 4211/131067 bytes
U-Boot#

------------ Linux boot console output ---------------

U-Boot SPL 2013.10-g78d8ebd (Jun 09 2014 - 09:45:11)
SPL: Please implement spl_start_uboot() for your board
SPL: Direct Linux boot not active!
reading u-boot.img
reading u-boot.img


U-Boot 2013.10-g78d8ebd (Jun 09 2014 - 09:45:11)

I2C:   ready
DRAM:  1 GiB
NAND:  512 MiB
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net:   cpsw
Hit any key to stop autoboot:  0
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 10.0.0.0; our IP address is 10.0.0.1
Filename 'zImage-am437x-evm.bin'.
Load address: 0x80200000
Loading: T #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #########################
         306.6 KiB/s
done
Bytes transferred = 4119048 (3eda08 hex)
link up on port 0, speed 100, full duplex
Using cpsw device
TFTP from server 10.0.0.0; our IP address is 10.0.0.1
Filename 'am437x-gp-evm.dtb'.
Load address: 0x80f80000
Loading: ##########
         477.5 KiB/s
done
Bytes transferred = 46472 (b588 hex)
Kernel image @ 0x80200000 [ 0x000000 - 0x3eda08 ]
## Flattened Device Tree blob at 80f80000
   Booting using the fdt blob at 0x80f80000
   Loading Device Tree to 9fff1000, end 9ffff587 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 3.12.10-ti2013.12.01 (jenkins@sdit-build02) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 Mon Jun 9 09:55:20 CDT 2014
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine: Generic AM43 (Flattened Device Tree), model: TI AM437x gp EVM
[    0.000000] cma: CMA: reserved 24 MiB at ae000000
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU: All CPU(s) started in SVC mode.
[    0.000000] AM437x ES1.0 (sgx neon )
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 259856
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/nfs nfsroot=10.0.0.0:/targetNFS,nolock rw ip=10.0.0.1
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1003104K/1045504K available (5559K kernel code, 560K rwdata, 1880K rodata, 345K init, 225K bss, 42400K reserved, 267264K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     vmalloc : 0xf0000000 - 0xff000000   ( 240 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xef800000   ( 760 MB)
[    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
[    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
[    0.000000]       .text : 0xc0008000 - 0xc074c04c   (7441 kB)
[    0.000000]       .init : 0xc074d000 - 0xc07a3658   ( 346 kB)
[    0.000000]       .data : 0xc07a4000 - 0xc0830058   ( 561 kB)
[    0.000000]        .bss : 0xc0830058 - 0xc0868680   ( 226 kB)
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] GIC CPU mask not found - kernel will fail to boot.
[    0.000000] GIC CPU mask not found - kernel will fail to boot.
[    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[    0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
[    0.000000] OMAP clocksource: timer1 at 24000000 Hz
[    0.000000] Console: colour dummy device 80x30
[    0.000390] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
[    0.059540] pid_max: default: 32768 minimum: 301
[    0.059694] Security Framework initialized
[    0.059775] Mount-cache hash table entries: 512
[    0.068932] CPU: Testing write buffer coherency: ok
[    0.069393] Setting up static identity map for 0xc0573be8 - 0xc0573c58
[    0.069524] L310 cache controller enabled
[    0.069549] l2x0: 16 ways, CACHE_ID 0x410000c9, AUX_CTRL 0x7e030000, Cache size: 256 kB
[    0.070424] devtmpfs: initialized
[    0.073793] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.138727] omap_hwmod: dss_dispc: cannot be enabled for reset (3)
[    0.142017] omap_hwmod: dss_rfbi: cannot be enabled for reset (3)
[    0.142687] pinctrl core: initialized pinctrl subsystem
[    0.143561] regulator-dummy: no parameters
[    0.145773] NET: Registered protocol family 16
[    0.148423] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.151289] cpuidle: using governor ladder
[    0.151304] cpuidle: using governor menu
[    0.164964] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.166373] platform 44e3e000.rtc: Cannot lookup hwmod 'rtc'
[    0.168073] OMAP GPIO hardware version 0.1
[    0.176172] omap-gpmc 50000000.gpmc: could not find pctldev for node /pinmux@44e10800/nand_flash_x8, deferring probe
[    0.176204] platform 50000000.gpmc: Driver omap-gpmc requests probe deferral
[    0.176644] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.178666] platform ocp2scp.0: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.178987] platform ocp2scp.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.179353] platform 48380000.omap_dwc3_1: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.179758] platform 483c0000.omap_dwc3_2: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.180108] platform 4832a000.dss: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.180484] platform 4832a400.dispc: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.181094] platform 4832a800.rfbi: FIXME: clock-name 'fck' DOES NOT exist in dt!
[    0.184676] No ATAGs?
[    0.184703] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.184715] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.212236] bio: create slab <bio-0> at 0
[    0.229193] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
[    0.230297] vmmcsd_fixed: 3300 mV
[    0.230715] evm_v3p3: 3300 mV
[    0.234774] vgaarb: loaded
[    0.236107] SCSI subsystem initialized
[    0.237638] usbcore: registered new interface driver usbfs
[    0.237843] usbcore: registered new interface driver hub
[    0.238069] usbcore: registered new device driver usb
[    0.239194] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
[    0.239223] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
[    0.239254] omap_i2c 4802a000.i2c: could not find pctldev for node /pinmux@44e10800/i2c1_pins, deferring probe
[    0.239272] platform 4802a000.i2c: Driver omap_i2c requests probe deferral
[    0.239623] media: Linux media interface: v0.10
[    0.239849] Linux video capture interface: v2.00
[    0.240176] pps_core: LinuxPPS API ver. 1 registered
[    0.240189] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.240351] PTP clock support registered
[    0.243140] Switched to clocksource timer1
[    0.264189] NET: Registered protocol family 2
[    0.264823] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[    0.265006] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
[    0.265113] TCP: Hash tables configured (established 8192 bind 8192)
[    0.265257] TCP: reno registered
[    0.265273] UDP hash table entries: 512 (order: 1, 8192 bytes)
[    0.265305] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
[    0.265543] NET: Registered protocol family 1
[    0.265922] RPC: Registered named UNIX socket transport module.
[    0.265937] RPC: Registered udp transport module.
[    0.265945] RPC: Registered tcp transport module.
[    0.265952] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.266888] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.267643] PM: Loading am335x-pm-firmware.binbounce pool size: 64 pages
[    0.425391] VFS: Disk quotas dquot_6.5.2
[    0.425456] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.426039] NFS: Registering the id_resolver key type
[    0.426103] Key type id_resolver registered
[    0.426114] Key type id_legacy registered
[    0.426162] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.426345] msgmni has been set to 1485
[    0.428100] NET: Registered protocol family 38
[    0.428143] io scheduler noop registered
[    0.428153] io scheduler deadline registered
[    0.428176] io scheduler cfq registered (default)
[    0.428961] omap-ocp2scp ocp2scp.0: invalid resource
[    0.428997] omap-ocp2scp: probe of ocp2scp.0 failed with error -22
[    0.429493] omap-ocp2scp ocp2scp.1: invalid resource
[    0.429520] omap-ocp2scp: probe of ocp2scp.1 failed with error -22
[    0.432810] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
[    0.440316] OMAP DSS rev 2.0
[    0.444859] connector-hdmi connector.6: failed to find video source
[    0.444893] platform connector.6: Driver connector-hdmi requests probe deferral
[    0.460313] Console: switching to colour frame buffer device 100x30
[    0.473067] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.475867] omap_uart 44e09000.serial: No clock speed specified: using default:48000000
[    0.476154] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 104, base_baud = 3000000) is a OMAP UART0
[    1.256981] console [ttyO0] enabled
[    1.262327] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[    1.280581] brd: module loaded
[    1.289793] loop: module loaded
[    1.298377] mtdoops: mtd device (mtddev=name/number) must be supplied
[    1.310113] usbcore: registered new interface driver asix
[    1.316183] usbcore: registered new interface driver ax88179_178a
[    1.322910] usbcore: registered new interface driver cdc_ether
[    1.329320] usbcore: registered new interface driver r815x
[    1.335396] usbcore: registered new interface driver smsc95xx
[    1.341728] usbcore: registered new interface driver net1080
[    1.347936] usbcore: registered new interface driver cdc_subset
[    1.354448] usbcore: registered new interface driver zaurus
[    1.360643] usbcore: registered new interface driver cdc_ncm
[    1.367260] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.374253] ehci-pci: EHCI PCI platform driver
[    1.379225] ehci-omap: OMAP-EHCI Host Controller driver
[    1.385980] usbcore: registered new interface driver cdc_wdm
[    1.392251] usbcore: registered new interface driver usb-storage
[    1.399974] mousedev: PS/2 mouse device common for all mice
[    1.407255] input: matrix_keypad.8 as /devices/matrix_keypad.8/input/input0
[    1.418010] omap_rtc 44e3e000.rtc: rtc core: registered 44e3e000.rtc as rtc0
[    1.425672] 44e3e000.rtc: already running
[    1.431000] i2c /dev entries driver
[    1.435873] vpfe-capture 48326000.vpfe: v4l2 device registered
[    1.442105] vpfe-capture 48326000.vpfe: Asynchronous subdevice registration
[    1.449671] vpfe-capture 48326000.vpfe: AM437x ISIF is registered with vpfe.
[    1.457798] vpfe-capture 48328000.vpfe: v4l2 device registered
[    1.464130] vpfe-capture 48328000.vpfe: Asynchronous subdevice registration
[    1.471588] vpfe-capture 48328000.vpfe: AM437x ISIF is registered with vpfe.
[    1.479363] Driver for 1-wire Dallas network protocol.
[    1.487744] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    1.497424] edma-dma-engine edma-dma-engine.0: allocated channel for 0:25
[    1.504829] edma-dma-engine edma-dma-engine.0: allocated channel for 0:24
[    1.544186] ledtrig-cpu: registered to indicate activity on CPUs
[    1.554118] edma-dma-engine edma-dma-engine.0: allocated channel for 0:36
[    1.561445] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
[    1.569646] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
[    1.576952] edma-dma-engine edma-dma-engine.0: allocated channel for 0:5
[    1.586162] edma-dma-engine edma-dma-engine.0: allocated channel for 0:6
[    1.594305] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
[    1.600574] edma-dma-engine edma-dma-engine.0: allocated channel for 0:33
[    1.607942] edma-dma-engine edma-dma-engine.0: allocated channel for 0:34
[    1.616697] usbcore: registered new interface driver usbhid
[    1.622642] usbhid: USB HID core driver
[    1.630132] oprofile: no performance counters
[    1.635389] oprofile: using timer interrupt.
[    1.639998] mmc0: host does not support reading read-only switch. assuming write-enable.
[    1.648984] TCP: cubic registered
[    1.652519] Initializing XFRM netlink socket
[    1.657163] NET: Registered protocol family 17
[    1.661990] mmc0: new high speed SDHC card at address 0002
[    1.667945] NET: Registered protocol family 15
[    1.672735] 8021q: 802.1Q VLAN Support v1.8
[    1.677892] mmcblk0: mmc0:0002 00000 7.32 GiB
[    1.683586] Key type dns_resolver registered
[    1.688437]  mmcblk0: p1 p2
[    1.692508] cpu cpu0: cpu0 regulator not ready, retry
[    1.698431] platform cpufreq-cpu0.0: Driver cpufreq-cpu0 requests probe deferral
[    1.707289] ThumbEE CPU extension supported.
[    1.714089] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[    1.719579] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[    1.727132] ONFI param page 0 valid
[    1.730859] ONFI flash detected
[    1.734256] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xdc (Micron MT29F4G08ABAEAWP), 512MiB, page size: 4096, OOB size: 224
[    1.746500] omap2-nand: detected x8 NAND flash
[    1.751231] using OMAP_ECC_BCH16_CODE_HW ECC scheme
[    1.756471] omap2-nand: using custom ecc layout
[    1.761452] 10 ofpart partitions found on MTD device omap2-nand.0
[    1.767973] Creating 10 MTD partitions on "omap2-nand.0":
[    1.773744] 0x000000000000-0x000000040000 : "NAND.SPL"
[    1.780908] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
[    1.788773] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
[    1.796592] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
[    1.804429] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
[    1.812384] 0x000000180000-0x000000280000 : "NAND.u-boot"
[    1.819864] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
[    1.827586] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
[    1.836013] 0x000000300000-0x000000a00000 : "NAND.kernel"
[    1.844793] 0x000000a00000-0x000010000000 : "NAND.file-system"
[    1.909671] vdd_core: 920 <--> 1140 mV at 1100 mV
[    1.917826] vdd_mpu: 920 <--> 1375 mV at 950 mV
[    1.924625] DCDC3: at 1500 mV
[    1.931968] LDO1: 1800 mV
[    1.936024] ov2659 0-0030: ov2659_probe: debug: 0
[    1.972835] ov2659 0-0030: Sensor detection failed (3030, 0)
[    1.978945] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
[    1.987694] sii9022 1-003b: sil9022 HDMI Chip version = b0
[    1.995164] ov2659 1-0030: ov2659_probe: debug: 0
[    2.032805] ov2659 1-0030: Found OV2656 sensor
[    2.040252] vpfe-capture 48326000.vpfe: v4l2 sub device ov2659 registered
[    2.048093] vpfe-capture 48326000.vpfe: video device registered as video0
[    2.055378] vpfe-capture 48326000.vpfe: vpfe0 capture driver initialized
[    2.062596] vpfe-capture 48326000.vpfe: sd[0]->entity is ed37c010
[    2.069125] vpfe-capture 48326000.vpfe: video_dev->entity is ed2d0400
[    2.076006] vpfe-capture 48326000.vpfe: source_pad:0 source->num_pads:1
[    2.083053] vpfe-capture 48326000.vpfe: sink_pad:0 sink->num_pads:1
[    2.090092] ov2659 1-0030: ov2659 sensor driver registered !!
[    2.096345] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
[    2.163188] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[    2.169672] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[    2.176823] libphy: 4a101000.mdio: probed
[    2.181091] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver unknown
[    2.190243] Detected MACID = 34:b1:f7:30:de:9b
[    2.196569] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 01:58:25 UTC (946691905)
[    2.208444] net eth0: initializing cpsw version 1.15 (0)
[    2.215544] net eth0: phy found : id is : 0x221622
[    2.224628] 8021q: adding VLAN 0 to HW filter on device eth0
[    4.214059] libphy: 4a101000.mdio:00 - Link is Up - 100/Full
[    4.243201] IP-Config: Guessing netmask 255.0.0.0
[    4.248614] IP-Config: Complete:
[    4.252097]      device=eth0, hwaddr=34:b1:f7:30:de:9b, ipaddr=10.0.0.1, mask=255.0.0.0, gw=255.255.255.255
[    4.262567]      host=10.0.0.1, domain=, nis-domain=(none)
[    4.268485]      bootserver=255.255.255.255, rootserver=10.0.0.0, rootpath=
[    4.277801] rpcbind: RPC call returned error 13
[    9.283777] rpcbind: RPC call returned error 13
[   19.293800] rpcbind: RPC call returned error 13
[   39.303801] rpcbind: RPC call returned error 13
[   60.323755] PM: request_firmware failed
[   69.313855] rpcbind: RPC call returned error 13
[   99.323820] rpcbind: RPC call returned error 13
[   99.328847] VFS: Unable to mount root fs via NFS, trying floppy.
[   99.336113] VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6
[   99.343904] Please append a correct "root=" boot option; here are the available partitions:
[   99.352891] b300         7676928 mmcblk0  driver: mmcblk
[   99.358645]   b301           72261 mmcblk0p1 00000000-01
[   99.364372]   b302         7590712 mmcblk0p2 00000000-02
[   99.370072] 1f00             256 mtdblock0  (driver?)
[   99.375521] 1f01             256 mtdblock1  (driver?)
[   99.380941] 1f02             256 mtdblock2  (driver?)
[   99.386386] 1f03             256 mtdblock3  (driver?)
[   99.391807] 1f04             512 mtdblock4  (driver?)
[   99.397251] 1f05            1024 mtdblock5  (driver?)
[   99.402670] 1f06             256 mtdblock6  (driver?)
[   99.408113] 1f07             256 mtdblock7  (driver?)
[   99.413550] 1f08            7168 mtdblock8  (driver?)
[   99.418970] 1f09          251904 mtdblock9  (driver?)
[   99.424410] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)

  • Hi Mika,

    I will forward this to the SW team.

  • Hi Mika,

    Can you check the suggestions (for mounting rootfs over NFS) in this thread: http://e2e.ti.com/support/arm/sitara_arm/f/791/p/319793/1113076#pi239031349=1

    Basically it suggests removing the mass storage, and include the ethernet gadget, g_ether, into your kernel. Note that you shouldn't configure those as modules, but to build it withing the kernel.

    I will double check this, but in ti-sdk-am335x-evm-07.00.00.00 this is not done by default, I suspect situation is the same with AM437x SDK7.0...

    Best Regards,
    Yordan
  • Hi Yordan!

    Thanks for the reply,

    The thread was about using  a usb ethernet converter in the target whereas I'm using it on the host. I was just demonstrating that my network is working all the way from the EVM to the virtual machine even though my setup differs from the suggested in the walk through out of the box experience instructions with DHCP and all that. Proven by the fact that kernel can be loaded via TFTP.

    My problem is that I get the "RPC call returned error 13" even though the TFTP server is running in the host and /targetFS is exported to the world. And I can't figure out what is wrong with my Uboot variables and why the IP-Config in the kernel startup displays empty string for the "rootpath=".

    Best regards,

    Mika