AnsweredAssumed Answered

Problems booting from NFS var-som-dual imx6 module

Question asked by Jose Luis Zabalza on May 18, 2017
Latest reply on May 24, 2017 by Jose Luis Zabalza

Hello.

I have some problems booting from NFS a yocto in a Variscite VAR-SOM-DUAL iMX6 Evaluation Board.

First, I have generated the images following the instructions available on the web http://variwiki.com/index.php?title=VAR-SOM-MX6_Yocto_Krogoth_Build_Yocto_release

Generated files
user@generator:~/var-imx-yocto-krogoth/build_fb/tmp/deploy/images/var-som-mx6$ ls -al

total 7442924

drwxr-xr-x 2 user user       4096 may 17 08:36 .

drwxrwxr-x 3 user user       4096 may 16 16:36 ..

-rw-r--r-- 1 user user 2541748224 may 16 18:10 fsl-image-qt5-var-som-mx6-20170516140002.rootfs.ext4

-rw-r--r-- 1 user user      81261 may 16 18:09 fsl-image-qt5-var-som-mx6-20170516140002.rootfs.manifest

-rw-r--r-- 1 user user 2558525440 may 16 18:10 fsl-image-qt5-var-som-mx6-20170516140002.rootfs.sdcard

-rw-r--r-- 1 user user  487484952 may 16 18:10 fsl-image-qt5-var-som-mx6-20170516140002.rootfs.tar.bz2

-rw-r--r-- 1 user user  862801920 may 16 18:11 fsl-image-qt5-var-som-mx6-20170516140002.rootfs.ubifs

-rw-r--r-- 1 user user  890896384 may 17 08:36 fsl-image-qt5-var-som-mx6-20170517063434.rootfs.ubi

-rw-r--r-- 1 user user  862801920 may 17 08:36 fsl-image-qt5-var-som-mx6-20170517063434.rootfs.ubifs

lrwxrwxrwx 1 user user         52 may 16 18:10 fsl-image-qt5-var-som-mx6.ext4 -> fsl-image-qt5-var-som-mx6-20170516140002.rootfs.ext4

lrwxrwxrwx 1 user user         56 may 16 18:09 fsl-image-qt5-var-som-mx6.manifest -> fsl-image-qt5-var-som-mx6-20170516140002.rootfs.manifest

lrwxrwxrwx 1 user user         54 may 16 18:10 fsl-image-qt5-var-som-mx6.sdcard -> fsl-image-qt5-var-som-mx6-20170516140002.rootfs.sdcard

lrwxrwxrwx 1 user user         55 may 16 18:10 fsl-image-qt5-var-som-mx6.tar.bz2 -> fsl-image-qt5-var-som-mx6-20170516140002.rootfs.tar.bz2

lrwxrwxrwx 1 user user         51 may 17 08:36 fsl-image-qt5-var-som-mx6.ubi -> fsl-image-qt5-var-som-mx6-20170517063434.rootfs.ubi

-rw-rw-r-- 2 user user    1125463 may 16 16:36 modules--4.1.15-r0-var-som-mx6-20170516140002.tgz

lrwxrwxrwx 1 user user         49 may 16 16:36 modules-var-som-mx6.tgz -> modules--4.1.15-r0-var-som-mx6-20170516140002.tgz

-rw-r--r-- 2 user user        294 may 16 18:07 README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt

lrwxrwxrwx 1 user user         32 may 16 17:36 SPL -> SPL-var-som-mx6-1.0-r0-sd-1.0-r0

lrwxrwxrwx 1 user user         34 may 16 17:36 SPL-nand -> SPL-var-som-mx6-1.0-r0-nand-1.0-r0

lrwxrwxrwx 1 user user         32 may 16 17:36 SPL-sd -> SPL-var-som-mx6-1.0-r0-sd-1.0-r0

lrwxrwxrwx 1 user user         32 may 16 17:36 SPL-var-som-mx6 -> SPL-var-som-mx6-1.0-r0-sd-1.0-r0

-rwxr-xr-x 2 user user      35840 may 16 17:36 SPL-var-som-mx6-1.0-r0-nand-1.0-r0

-rwxr-xr-x 2 user user      35840 may 16 17:36 SPL-var-som-mx6-1.0-r0-sd-1.0-r0

lrwxrwxrwx 1 user user         34 may 16 17:36 SPL-var-som-mx6-nand -> SPL-var-som-mx6-1.0-r0-nand-1.0-r0

lrwxrwxrwx 1 user user         32 may 16 17:36 SPL-var-som-mx6-sd -> SPL-var-som-mx6-1.0-r0-sd-1.0-r0

-rw-r--r-- 1 user user        215 may 17 08:34 ubinize-fsl-image-qt5-var-som-mx6-20170517063434.cfg

lrwxrwxrwx 1 user user         20 may 16 17:36 u-boot.img -> u-boot-sd-1.0-r0.img

lrwxrwxrwx 1 user user         22 may 16 17:36 u-boot.img-nand -> u-boot-nand-1.0-r0.img

lrwxrwxrwx 1 user user         20 may 16 17:36 u-boot.img-sd -> u-boot-sd-1.0-r0.img

-rwxr-xr-x 2 user user     450932 may 16 17:36 u-boot-nand-1.0-r0.img

-rwxr-xr-x 2 user user     316608 may 16 17:36 u-boot-sd-1.0-r0.img

lrwxrwxrwx 1 user user         20 may 16 17:36 u-boot-var-som-mx6.img -> u-boot-sd-1.0-r0.img

lrwxrwxrwx 1 user user         22 may 16 17:36 u-boot-var-som-mx6.img-nand -> u-boot-nand-1.0-r0.img

lrwxrwxrwx 1 user user         20 may 16 17:36 u-boot-var-som-mx6.img-sd -> u-boot-sd-1.0-r0.img

lrwxrwxrwx 1 user user         48 may 16 16:36 uImage -> uImage--4.1.15-r0-var-som-mx6-20170516140002.bin

-rw-r--r-- 2 user user      41533 may 16 16:36 uImage--4.1.15-r0-imx6dl-var-som-cap-20170516140002.dtb

-rw-r--r-- 2 user user      41921 may 16 16:36 uImage--4.1.15-r0-imx6dl-var-som-res-20170516140002.dtb

-rw-r--r-- 2 user user      40745 may 16 16:36 uImage--4.1.15-r0-imx6dl-var-som-solo-cap-20170516140002.dtb

-rw-r--r-- 2 user user      41133 may 16 16:36 uImage--4.1.15-r0-imx6dl-var-som-solo-res-20170516140002.dtb

-rw-r--r-- 2 user user      41117 may 16 16:36 uImage--4.1.15-r0-imx6dl-var-som-solo-vsc-20170516140002.dtb

-rw-r--r-- 2 user user      41689 may 16 16:36 uImage--4.1.15-r0-imx6dl-var-som-vsc-20170516140002.dtb

-rw-r--r-- 2 user user      41911 may 16 16:36 uImage--4.1.15-r0-imx6q-var-dart-20170516140002.dtb

-rw-r--r-- 2 user user      43089 may 16 16:36 uImage--4.1.15-r0-imx6q-var-som-cap-20170516140002.dtb

-rw-r--r-- 2 user user      43477 may 16 16:36 uImage--4.1.15-r0-imx6q-var-som-res-20170516140002.dtb

-rw-r--r-- 2 user user      43457 may 16 16:36 uImage--4.1.15-r0-imx6q-var-som-vsc-20170516140002.dtb

-rw-r--r-- 2 user user    6078456 may 16 16:36 uImage--4.1.15-r0-var-som-mx6-20170516140002.bin

lrwxrwxrwx 1 user user         55 may 16 16:36 uImage-imx6dl-var-som-cap.dtb -> uImage--4.1.15-r0-imx6dl-var-som-cap-20170516140002.dtb

lrwxrwxrwx 1 user user         55 may 16 16:36 uImage-imx6dl-var-som-res.dtb -> uImage--4.1.15-r0-imx6dl-var-som-res-20170516140002.dtb

lrwxrwxrwx 1 user user         60 may 16 16:36 uImage-imx6dl-var-som-solo-cap.dtb -> uImage--4.1.15-r0-imx6dl-var-som-solo-cap-20170516140002.dtb

lrwxrwxrwx 1 user user         60 may 16 16:36 uImage-imx6dl-var-som-solo-res.dtb -> uImage--4.1.15-r0-imx6dl-var-som-solo-res-20170516140002.dtb

lrwxrwxrwx 1 user user         60 may 16 16:36 uImage-imx6dl-var-som-solo-vsc.dtb -> uImage--4.1.15-r0-imx6dl-var-som-solo-vsc-20170516140002.dtb

lrwxrwxrwx 1 user user         55 may 16 16:36 uImage-imx6dl-var-som-vsc.dtb -> uImage--4.1.15-r0-imx6dl-var-som-vsc-20170516140002.dtb

lrwxrwxrwx 1 user user         51 may 16 16:36 uImage-imx6q-var-dart.dtb -> uImage--4.1.15-r0-imx6q-var-dart-20170516140002.dtb

lrwxrwxrwx 1 user user         54 may 16 16:36 uImage-imx6q-var-som-cap.dtb -> uImage--4.1.15-r0-imx6q-var-som-cap-20170516140002.dtb

lrwxrwxrwx 1 user user         54 may 16 16:36 uImage-imx6q-var-som-res.dtb -> uImage--4.1.15-r0-imx6q-var-som-res-20170516140002.dtb

lrwxrwxrwx 1 user user         54 may 16 16:36 uImage-imx6q-var-som-vsc.dtb -> uImage--4.1.15-r0-imx6q-var-som-vsc-20170516140002.dtb

lrwxrwxrwx 1 user user         48 may 16 16:36 uImage-var-som-mx6.bin -> uImage--4.1.15-r0-var-som-mx6-20170516140002.bin

On server side (IP:192.168.100.46) I have installed a TFTP server and a NFS server. I have copied the files on TFTP shared directory and uncompressed rootfs file fsl-image-qt5-var-som-mx6-20170516140002.rootfs.tar.bz2 on NFS directory.

TFTP

user@generator:~/tftp/varis-mx6$ ls -al

total 6204

drwxr-xr-x 2 tftp root       4096 may 18 11:03 .

drwxr-xr-x 3 tftp nogroup    4096 may 18 10:59 ..

-rw-r--r-- 1 root root      41533 may 17 11:09 uImage--4.1.15-r0-imx6dl-var-som-cap-20170516140002.dtb

-rw-r--r-- 1 root root      41921 may 17 12:11 uImage--4.1.15-r0-imx6dl-var-som-res-20170516140002.dtb

-rw-r--r-- 1 root root      40745 may 17 12:52 uImage--4.1.15-r0-imx6dl-var-som-solo-cap-20170516140002.dtb

-rw-r--r-- 1 root root      41133 may 17 12:52 uImage--4.1.15-r0-imx6dl-var-som-solo-res-20170516140002.dtb

-rw-r--r-- 1 root root      41117 may 17 12:52 uImage--4.1.15-r0-imx6dl-var-som-solo-vsc-20170516140002.dtb

-rw-r--r-- 1 root root      41689 may 17 12:10 uImage--4.1.15-r0-imx6dl-var-som-vsc-20170516140002.dtb

-rw-r--r-- 1 root root    6078456 may 17 11:02 uImage--4.1.15-r0-var-som-mx6-20170516140002.bin

lrwxrwxrwx 1 root root         48 may 17 11:03 uImage.bin -> uImage--4.1.15-r0-var-som-mx6-20170516140002.bin

lrwxrwxrwx 1 root root         55 may 18 11:03 var-som.dtb -> uImage--4.1.15-r0-imx6dl-var-som-vsc-20170516140002.dtb

ATTENTION: I didn’t known what dtb file to use. I test all of them.

 

NFS

user@generator:~/nfs/varis-mx6$ ls -al

total 80

drwxr-xr-x 19 root    root    4096 may 17 16:38 .

drwxrwxr-x  3 user user 4096 may 17 10:56 ..

drwxr-xr-x  2 root    root    4096 may 16 18:09 bin

drwxr-xr-x  2 root    root    4096 may 16 16:06 boot

drwxr-xr-x  2 root    root    4096 may 16 16:06 dev

drwxr-xr-x 52 root    root    4096 may 16 18:09 etc

-rw-r--r--  1 root    root      12 may 18 10:16 hello.txt

drwxr-xr-x  3 root    root    4096 may 16 17:30 home

drwxr-xr-x  9 root    root    4096 may 16 18:09 lib

drwxr-xr-x  2 root    root    4096 may 16 16:06 media

drwxr-xr-x  3 root    root    4096 may 16 18:08 mnt

drwxr-xr-x  6 root    root    4096 may 16 18:09 opt

drwxr-xr-x  2 root    root    4096 may 16 16:06 proc

drwxr-xr-x  2 root    root    4096 may 16 16:06 run

drwxr-xr-x  3 root    root    4096 may 16 18:09 sbin

drwxr-xr-x  2 root    root    4096 may 16 16:06 sys

drwxrwxrwt  2 root    root    4096 may 16 16:06 tmp

drwxr-xr-x  2 root    root    4096 may 16 18:09 unit_tests

drwxr-xr-x 11 root    root    4096 may 16 17:29 usr

drwxr-xr-x  8 root    root    4096 may 16 17:30 var

user@generator:~/nfs/varis-mx6$ cat hello.txt

Hello world

user@generator:~/nfs/varis-mx6$

I have also created a test file (hello.txt) in that directory. On target (IP:192.168.100.90) start target u-boot from NAND FLASH

run u-boot

U-Boot SPL 2015.04 (May 27 2016 - 10:57:53)

 

i.MX6DL SOC P-STD

996 MHz CPU (running at 792 MHz)

Part number: VSM-DUAL-101

Assembly: AS150403022

Date of production: 2015 Apr 29

RAM: 1 GiB

Boot Device: NAND

NAND : 512 MiB

 

 

U-Boot 2015.04 (Aug 25 2016 - 07:32:50)

 

CPU:   Freescale i.MX6DL rev1.1 at 792 MHz

CPU:   Temperature 63 C

Reset cause: POR

Board: Variscite VAR-SOM-MX6 SOM-Dual

I2C:   ready

DRAM:  1 GiB

NAND:  512 MiB

MMC:   FSL_SDHC: 0, FSL_SDHC: 1

auto-detected panel VAR-WVGA

Display: VAR-WVGA (800x480)

In:    serial

Out:   serial

Err:   serial

eMMC:  3.5 GiB

Net:   using phy at 7

FEC [PRIME]

Normal Boot

Hit any key to stop autoboot:  0

VAR-SOM-MX6 (NAND) =>

The environtment

Uboot Environment

VAR-SOM-MX6 (NAND) => printenv

baudrate=115200

boot_fdt=yes

bootargs=console=ttymxc0,115200 root=/dev/nfs rw ip=192.168.100.90 root=192.168.100.46:/home/user/nfs/varis-mx6,v3,tcp video=mxcfb1:off screen_alternate=yes

bootargs_emmc=setenv bootargs console=${console},${baudrate} root=/dev/mmcblk1p1 rootwait rw; run videoargs

bootargs_ubifs=setenv bootargs console=${console},${baudrate} ubi.mtd=5 ubi.mtd=6 ubi.mtd=7 root=/dev/mtdblock4 rootfstype=squashfs mtdparts=gpmi-nand:2048k(spl),2048

k(bootloader),10m(kernel),10m(initrd),200m(rootfs),30m(firmware),20m(logs),-(data); run videoargs

bootcmd=if test ${chosen_rootfs} != emmc; then run bootargs_ubifs; else run bootargs_emmc; fi; nand read ${loadaddr} 0x400000 0x6083B0;nand read ${initrd_addr} 0xe000

00 0x5B8D80;nand read ${fdt_addr} 0x3e0000 0x20000;bootm ${loadaddr} ${initrd_addr} ${fdt_addr}

bootcmd_mfg=run mfgtool_args;bootm ${loadaddr} ${initrd_addr} ${fdt_addr};

bootdelay=0

bootfile=varis-mx6/var-som.dtb

console=ttymxc0

ethact=FEC

ethaddr=f8:dc:7a:04:29:24

ethprime=FEC

fdt_addr=0x18000000

fdt_file=varis-mx6/var-som.dtb

fdt_high=0xffffffff

fileaddr=12000000

filesize=5cbff8

get_cmd=tftp

initrd_addr=0x12C00000

initrd_high=0xffffffff

ip_dyn=No

ipaddr=192.168.100.90

loadaddr=0x12000000

mfgtool_args=setenv bootargs console=${console},${baudrate} rdinit=/linuxrc g_mass_storage.stall=0 g_mass_storage.removable=1 g_mass_storage.idVendor=0x066F g_mass_st

orage.idProduct=0x37FF g_mass_storage.iSerialNumber="" enable_wait_mode=off mtdparts=gpmi-nand:16m(boot),16m(kernel),16m(dtb),-(rootfs)

mmcroot=/dev/mmcblk0p2 rootwait rw

mtdids=nand0=nandflash-0

mtdparts=mtdparts=nandflash-0:2m(spl),2m(u-boot),10m(kernel),10m(initrd),200m(rootfs),30m(firmware),20m(logs),-(data)

netargs=setenv bootargs console=${console},${baudrate} root=/dev/nfs rw ip=${ipaddr} root=${serverip}:${nfsroot},v3,tcp; run videoargs

netboot=echo Booting from net ...; run netargs; if test ${ip_dyn} = yes; then setenv get_cmd dhcp; else setenv get_cmd tftp; fi; ${get_cmd} ${uimage}; if test ${boot_

fdt} = yes || test ${boot_fdt} = try; then if ${get_cmd} ${fdt_addr} ${fdt_file}; then bootm ${loadaddr} - ${fdt_addr}; else if test ${boot_fdt} = try; then bootm; el

se echo WARN: Cannot load the DT; fi; fi; else bootm; fi;

netmask=255.255.255.0

nfsroot=/home/user/nfs/varis-mx6

serverip=192.168.100.46

uimage=varis-mx6/uImage.bin

var_auto_env=Y

verify=no

videoargs=if hdmidet; then setenv bootargs ${bootargs} video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24; fi; setenv bootargs ${bootargs} video=mxcfb1:off; i2c dev 2; if i

2c probe 0x38; then setenv bootargs ${bootargs} screen_alternate=yes;fi;

 

Environment size: 2678/131068 bytes

VAR-SOM-MX6 (NAND) =>

I have tested from u-boot, if NFS connection is up.

Testing connection is up

VAR-SOM-MX6 (NAND) => ping ${serverip}

Using FEC device

host 192.168.100.46 is alive

VAR-SOM-MX6 (NAND) => nfs ${loadaddr} ${nfsroot}/hello.txt

Using FEC device

File transfer via NFS from server 192.168.100.46; our IP address is 192.168.100.90

Filename '/home/user/nfs/varis-mx6/hello.txt'.

Load address: 0x12000000

Loading: #

done

Bytes transferred = 12 (c hex)

VAR-SOM-MX6 (NAND) => md ${loadaddr}

12000000: 6c6c6548 6f77206f 0a646c72 ffffffff    Hello world.....

12000010: ffffffff ffffffff ffffffff ffffffff    ................

12000020: ffffffff ffffffff ffffffff ffffffff    ................

12000030: ffffffff ffffffff ffffffff ffffffff    ................

12000040: ffffffff ffffffff ffffffff ffffffff    ................

12000050: ffffffff ffffffff ffffffff ffffffff    ................

12000060: ffffffff ffffffff ffffffff ffffffff    ................

12000070: ffffffff ffffffff ffffffff ffffffff    ................

12000080: ffffffff ffffffff ffffffff ffffffff    ................

12000090: ffffffff ffffffff ffffffff ffffffff    ................

120000a0: ffffffff ffffffff ffffffff ffffffff    ................

120000b0: ffffffff ffffffff ffffffff ffffffff    ................

120000c0: ffffffff ffffffff ffffffff ffffffff    ................

120000d0: ffffffff ffffffff ffffffff ffffffff    ................

120000e0: ffffffff ffffffff ffffffff ffffffff    ................

120000f0: ffffffff ffffffff ffffffff ffffffff    ................

VAR-SOM-MX6 (NAND) =>

Now Booting

Kernel booting

VAR-SOM-MX6 (NAND) => run netboot

Booting from net ...

Setting bus to 2

Valid chip addresses: 38

Using FEC device

TFTP from server 192.168.100.46; our IP address is 192.168.100.90

Filename 'varis-mx6/uImage.bin'.

Load address: 0x12000000

Loading: #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #################################################################

         #########################

         3.1 MiB/s

done

Bytes transferred = 6078456 (5cbff8 hex)

Using FEC device

TFTP from server 192.168.100.46; our IP address is 192.168.100.90

Filename 'varis-mx6/var-som.dtb'.

Load address: 0x18000000

Loading: ###

         2.7 MiB/s

done

Bytes transferred = 41689 (a2d9 hex)

## Booting kernel from Legacy Image at 12000000 ...

   Image Name:   Linux-4.1.15-6QP+gbc0cd16

   Image Type:   ARM Linux Kernel Image (uncompressed)

   Data Size:    6078392 Bytes = 5.8 MiB

   Load Address: 10008000

   Entry Point:  10008000

## Flattened Device Tree blob at 18000000

   Booting using the fdt blob at 0x18000000

   Loading Kernel Image ... OK

   Using Device Tree in place at 18000000, end 1800d2d8

 

Starting kernel ...

 

Booting Linux on physical CPU 0x0

Linux version 4.1.15-6QP+gbc0cd16 (user@generator) (gcc version 5.3.0 (GCC) ) #1 SMP PREEMPT Tue May 16 16:35:34 CEST 2017

CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d

CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache

Machine model: Variscite i.MX6 DL/Solo VAR-SOM-MX6 SoloCustomBoard

Reserved memory: created CMA memory pool at 0x3c000000, size 320 MiB

Reserved memory: initialized node linux,cma, compatible id shared-dma-pool

Memory policy: Data cache writealloc

PERCPU: Embedded 12 pages/cpu @ab71f000 s16908 r8192 d24052 u49152

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096

Kernel command line: console=ttymxc0,115200 root=/dev/nfs rw ip=192.168.100.90 root=192.168.100.46:/home/user/nfs/varis-mx6,v3,tcp video=mxcfb1:off screen_alternate=yes

PID hash table entries: 4096 (order: 2, 16384 bytes)

Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)

Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)

Memory: 699316K/1048576K available (7510K kernel code, 429K rwdata, 2832K rodata, 424K init, 441K bss, 21580K reserved, 327680K cma-reserved, 0K highmem)

Virtual kernel memory layout:

    vector  : 0xffff0000 - 0xffff1000   (   4 kB)

    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)

    vmalloc : 0xc0800000 - 0xff000000   (1000 MB)

    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)

    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)

    modules : 0x7f000000 - 0x7fe00000   (  14 MB)

      .text : 0x80008000 - 0x80a21b8c   (10343 kB)

      .init : 0x80a22000 - 0x80a8c000   ( 424 kB)

      .data : 0x80a8c000 - 0x80af7760   ( 430 kB)

       .bss : 0x80afa000 - 0x80b68700   ( 442 kB)

SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1

Preemptible hierarchical RCU implementation.

        Additional per-CPU info printed with stalls.

        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.

RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2

NR_IRQS:16 nr_irqs:16 16

L2C-310 erratum 769419 enabled

L2C-310 enabling early BRESP for Cortex-A9

L2C-310 full line of zeros enabled for Cortex-A9

L2C-310 ID prefetch enabled, offset 16 lines

L2C-310 dynamic clock gating enabled, standby mode enabled

L2C-310 cache controller enabled, 16 ways, 512 kB

L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76050001

ccm: ldb_di_sel already changed from reset value

mxc_clocksource_init 3000000

Switching to timer-based delay loop, resolution 333ns

sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns

clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns

Console: colour dummy device 80x30

Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)

pid_max: default: 32768 minimum: 301

Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

CPU: Testing write buffer coherency: ok

CPU0: thread -1, cpu 0, socket 0, mpidr 80000000

Setting up static identity map for 0x10008280 - 0x100082d8

CPU1: thread -1, cpu 1, socket 0, mpidr 80000001

Brought up 2 CPUs

SMP: Total of 2 processors activated (12.00 BogoMIPS).

CPU: All CPU(s) started in SVC mode.

devtmpfs: initialized

VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4

clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

pinctrl core: initialized pinctrl subsystem

NET: Registered protocol family 16

DMA: preallocated 256 KiB pool for atomic coherent allocations

cpuidle: using governor ladder

cpuidle: using governor menu

CPU identified as i.MX6DL, silicon rev 1.1

hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.

hw-breakpoint: maximum watchpoint size is 4 bytes.

imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver

mxs-dma 110000.dma-apbh: initialized

vgaarb: loaded

SCSI subsystem initialized

usbcore: registered new interface driver usbfs

usbcore: registered new interface driver hub

usbcore: registered new device driver usb

2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator

2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator

i2c i2c-0: IMX I2C adapter registered

i2c i2c-0: can't use DMA

i2c i2c-1: IMX I2C adapter registered

i2c i2c-1: can't use DMA

i2c i2c-2: IMX I2C adapter registered

i2c i2c-2: can't use DMA

Linux video capture interface: v2.00

pps_core: LinuxPPS API ver. 1 registered

pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>

PTP clock support registered

imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)

mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed

mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a

MIPI CSI2 driver module loaded

Advanced Linux Sound Architecture Driver Initialized.

Bluetooth: Core ver 2.20

NET: Registered protocol family 31

Bluetooth: HCI device and connection manager initialized

Bluetooth: HCI socket layer initialized

Bluetooth: L2CAP socket layer initialized

Bluetooth: SCO socket layer initialized

Switched to clocksource mxc_timer1

NET: Registered protocol family 2

TCP established hash table entries: 8192 (order: 3, 32768 bytes)

TCP bind hash table entries: 8192 (order: 4, 65536 bytes)

TCP: Hash tables configured (established 8192 bind 8192)

UDP hash table entries: 512 (order: 2, 16384 bytes)

UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)

NET: Registered protocol family 1

RPC: Registered named UNIX socket transport module.

RPC: Registered udp transport module.

RPC: Registered tcp transport module.

RPC: Registered tcp NFSv4.1 backchannel transport module.

CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]

hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available

imx rpmsg driver is registered.

Bus freq driver module loaded

futex hash table entries: 512 (order: 3, 32768 bytes)

VFS: Disk quotas dquot_6.6.0

VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)

NFS: Registering the id_resolver key type

Key type id_resolver registered

Key type id_legacy registered

jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.

fuse init (API version 7.23)

io scheduler noop registered

io scheduler deadline registered

io scheduler cfq registered (default)

imx-weim 21b8000.weim: Driver registered.

backlight supply power not found, using dummy regulator

MIPI DSI driver module loaded

MIPI DSI driver module loaded

20e0000.hdmi_video supply HDMI not found, using dummy regulator

mxc_sdc_fb fb@0: registered mxc display driver ldb

Console: switching to colour frame buffer device 100x30

mxc_sdc_fb fb@1: Can't get fb option for mxcfb1!

imx-sdma 20ec000.sdma: no iram assigned, using external mem

imx-sdma 20ec000.sdma: no event needs to be remapped

imx-sdma 20ec000.sdma: loaded firmware 3.3

imx-sdma 20ec000.sdma: initialized

pfuze100-regulator 1-0008: unrecognized pfuze chip ID!

pfuze100-regulator: probe of 1-0008 failed with error -5

2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 26, base_baud = 5000000) is a IMX

console [ttymxc0] enabled

21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 302, base_baud = 5000000) is a IMX

21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 303, base_baud = 5000000) is a IMX

imx sema4 driver is registered.

[drm] Initialized drm 1.1.0 20060810

[drm] Initialized vivante 1.0.0 20120216 on minor 0

brd: module loaded

loop: module loaded

nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc

nand: Micron MT29F4G08ABADAWP

nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64

gpmi-nand 112000.gpmi-nand: use legacy bch geometry

gpmi-nand 112000.gpmi-nand: enable the asynchronous EDO mode 5

Scanning device for bad blocks

random: nonblocking pool is initialized

4 ofpart partitions found on MTD device gpmi-nand

Creating 4 MTD partitions on "gpmi-nand":

0x000000000000-0x000000200000 : "spl"

0x000000200000-0x000000400000 : "bootloader"

0x000000400000-0x000000c00000 : "kernel"

0x000000c00000-0x000040000000 : "rootfs"

mtd: partition "rootfs" extends beyond the end of device "gpmi-nand" -- size truncated to 0x1f400000

gpmi-nand 112000.gpmi-nand: driver registered.

spi_imx 2010000.ecspi: probed

CAN device driver interface

2090000.flexcan supply xceiver not found, using dummy regulator

flexcan 2090000.flexcan: device registered (reg_base=c0a38000, irq=32)

2188000.ethernet supply phy not found, using dummy regulator

pps pps0: new PPS source ptp0

libphy: fec_enet_mii_bus: probed

fec 2188000.ethernet eth0: registered PHC device 0

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver

ehci-pci: EHCI PCI platform driver

ehci-mxc: Freescale On-Chip EHCI Host driver

usbcore: registered new interface driver usb-storage

usbcore: registered new interface driver usb_ehset_test

2184800.usbmisc supply vbus-wakeup not found, using dummy regulator

ci_hdrc ci_hdrc.0: EHCI Host Controller

ci_hdrc ci_hdrc.0: new USB bus registered, assigned bus number 1

ci_hdrc ci_hdrc.0: USB 2.0 started, EHCI 1.00

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

ci_hdrc ci_hdrc.1: EHCI Host Controller

ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 2

ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

mousedev: PS/2 mouse device common for all mice

input: EP0790M09 as /devices/soc0/soc/2100000.aips-bus/21a8000.i2c/i2c-2/2-0038/input/input0

rtc-ds1307 2-0068: rtc core: registered ds1307 as rtc0

rtc-ds1307 2-0068: 56 bytes nvram

i2c /dev entries driver

mxc_v4l2_output v4l2_out: V4L2 device registered as video16

mxc_v4l2_output v4l2_out: V4L2 device registered as video17

imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)

Bluetooth: HCI UART driver ver 2.3

Bluetooth: HCI UART protocol H4 registered

Bluetooth: HCI UART protocol BCSP registered

Bluetooth: HCI UART protocol LL registered

Bluetooth: HCI UART protocol ATH3K registered

Bluetooth: HCI UART protocol Three-wire (H5) registered

usbcore: registered new interface driver btusb

sdhci: Secure Digital Host Controller Interface driver

sdhci: Copyright(c) Pierre Ossman

sdhci-pltfm: SDHCI platform and OF driver helper

/soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified

sdhci-esdhc-imx 2190000.usdhc: could not get ultra high speed state, work on normal mode

sdhci-esdhc-imx 2190000.usdhc: No vmmc regulator found

sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found

mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA

/soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified

sdhci-esdhc-imx 2194000.usdhc: Got CD GPIO

sdhci-esdhc-imx 2194000.usdhc: Got WP GPIO

sdhci-esdhc-imx 2194000.usdhc: No vmmc regulator found

sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found

mmc0: MAN_BKOPS_EN bit is not set

mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA

/soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified

sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found

mmc0: new DDR MMC card at address 0001

mmcblk0: mmc0:0001 MMC04G 3.52 GiB

mmcblk0boot0: mmc0:0001 MMC04G partition 1 16.0 MiB

mmcblk0boot1: mmc0:0001 MMC04G partition 2 16.0 MiB

mmcblk0rpmb: mmc0:0001 MMC04G partition 3 128 KiB

 mmcblk0: p1 p2 p3 < p5 p6 p7 > p4

mmcblk0: p4 size 5210112 extends beyond EOD, truncated

mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA

mxc_vpu 2040000.vpu_fsl: VPU initialized

mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed

sdhci-esdhc-imx 2198000.usdhc: card claims to support voltages below defined range

mxc_hdmi_cec soc:hdmi_cec@00120000: HDMI CEC initialized

caam 2100000.caam: Entropy delay = 3200

mmc2: queuing unknown CIS tuple 0x91 (3 bytes)

mmc2: new high speed SDIO card at address 0001

caam 2100000.caam: Instantiated RNG4 SH0

caam 2100000.caam: Instantiated RNG4 SH1

caam 2100000.caam: device ID = 0x0a16010000000100 (Era -524)

caam 2100000.caam: job rings = 2, qi = 0

caam algorithms registered in /proc/crypto

caam_jr 2101000.jr0: registering rng-caam

usbcore: registered new interface driver usbhid

usbhid: USB HID core driver

fsl-asrc 2034000.asrc: driver registered

fsl-hdmi-dai soc:hdmi_audio@00120000: failed to probe. Load HDMI-video first.

fsl-hdmi-dai: probe of soc:hdmi_audio@00120000 failed with error -12

imx-tlv320aic3x sound: tlv320aic3x-hifi <-> 202c000.ssi mapping ok

imx-audio-hdmi sound-hdmi: initialize HDMI-audio failed. load HDMI-video first!

NET: Registered protocol family 26

NET: Registered protocol family 10

sit: IPv6 over IPv4 tunneling driver

NET: Registered protocol family 17

can: controller area network core (rev 20120528 abi 9)

NET: Registered protocol family 29

can: raw protocol (rev 20120528)

can: broadcast manager protocol (rev 20120528 t)

can: netlink gateway (rev 20130117) max_hops=1

Bluetooth: RFCOMM TTY layer initialized

Bluetooth: RFCOMM socket layer initialized

Bluetooth: RFCOMM ver 1.11

Bluetooth: BNEP (Ethernet Emulation) ver 1.3

Bluetooth: BNEP filters: protocol multicast

Bluetooth: BNEP socket layer initialized

Bluetooth: HIDP (Human Interface Emulation) ver 1.2

Bluetooth: HIDP socket layer initialized

8021q: 802.1Q VLAN Support v1.8

Key type dns_resolver registered

cpu cpu0: failed to get regulators

imx6q-cpufreq: probe of imx6q-cpufreq.0 failed with error -2

imx6_pcie_probe: phy_refclk = 0

1ffc000.pcie supply pcie-bus not found, using dummy regulator

imx6q-pcie 1ffc000.pcie: phy link never came up

imx6q-pcie 1ffc000.pcie: failed to initialize host

imx6q-pcie: probe of 1ffc000.pcie failed with error -22

rtc-ds1307 2-0068: setting system clock to 2016-11-17 12:08:07 UTC (1479384487)

fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=2188000.ethernet:07, irq=-1)

IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx

IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

IP-Config: Guessing netmask 255.255.255.0

IP-Config: Complete:

     device=eth0, hwaddr=f8:dc:7a:04:29:24, ipaddr=192.168.100.90, mask=255.255.255.0, gw=255.255.255.255

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

     bootserver=255.255.255.255, rootserver=255.255.255.255, rootpath=

wlan-en-regulator: disabling

ALSA device list:

  #0: tlv320aic3x-audio

VFS: Cannot open root device "192.168.100.46:/home/user/nfs/varis-mx6,v3,tcp" or unknown-block(0,0): error -6

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

0100           65536 ram0  (driver?)

0101           65536 ram1  (driver?)

0102           65536 ram2  (driver?)

0103           65536 ram3  (driver?)

0104           65536 ram4  (driver?)

0105           65536 ram5  (driver?)

0106           65536 ram6  (driver?)

0107           65536 ram7  (driver?)

0108           65536 ram8  (driver?)

0109           65536 ram9  (driver?)

010a           65536 ram10  (driver?)

010b           65536 ram11  (driver?)

010c           65536 ram12  (driver?)

010d           65536 ram13  (driver?)

010e           65536 ram14  (driver?)

010f           65536 ram15  (driver?)

1f00            2048 mtdblock0  (driver?)

1f01            2048 mtdblock1  (driver?)

1f02            8192 mtdblock2  (driver?)

1f03          512000 mtdblock3  (driver?)

b300         3694592 mmcblk0  driver: mmcblk

  b301            8192 mmcblk0p1 00000000-01

  b302            8192 mmcblk0p2 00000000-02

  b303               1 mmcblk0p3

  b304         2564096 mmcblk0p4 00000000-04

  b305          524287 mmcblk0p5 00000000-05

  b306          524287 mmcblk0p6 00000000-06

  b307            8191 mmcblk0p7 00000000-07

b318             128 mmcblk0rpmb  (driver?)

b310           16384 mmcblk0boot1  (driver?)

b308           16384 mmcblk0boot0  (driver?)

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

CPU1: stopping

CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.1.15-6QP+gbc0cd16 #1

Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)

[<800168d8>] (unwind_backtrace) from [<8001271c>] (show_stack+0x10/0x14)

[<8001271c>] (show_stack) from [<80725c18>] (dump_stack+0x84/0xc4)

[<80725c18>] (dump_stack) from [<800157e0>] (handle_IPI+0x178/0x18c)

[<800157e0>] (handle_IPI) from [<80009480>] (gic_handle_irq+0x58/0x5c)

[<80009480>] (gic_handle_irq) from [<80013200>] (__irq_svc+0x40/0x74)

Exception stack(0xa8093f50 to 0xa8093f98)

3f40:                                     a8093f98 fffffff7 e6fe67b2 00000001

3f60: ab72de90 00000000 de08ed7d 00000001 e6fe67b2 00000001 00000001 00000000

3f80: 00000017 a8093f98 a6aaaaab 8051ad9c 80000113 ffffffff

[<80013200>] (__irq_svc) from [<8051ad9c>] (cpuidle_enter_state+0xd8/0x20c)

[<8051ad9c>] (cpuidle_enter_state) from [<80065d7c>] (cpu_startup_entry+0x1fc/0x320)

[<80065d7c>] (cpu_startup_entry) from [<1000952c>] (0x1000952c)

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

The kernel has been configured with NFS support

Kernel Configuration

CONFIG_NFS_FS=y

CONFIG_NFS_V2=y

CONFIG_NFS_V3=y

CONFIG_NFS_V3_ACL=y

CONFIG_NFS_V4=y

# CONFIG_NFS_SWAP is not set

# CONFIG_NFS_V4_1 is not set

CONFIG_ROOT_NFS=y

 

Some ideas?

Thanks in advance.

Outcomes