Difference between revisions of "Booting from NFS (XELK)"

From DAVE Developer's Wiki
Jump to: navigation, search
(One intermediate revision by one other user not shown)
Line 7: Line 7:
 
{{AppliesToSBCLynx}}
 
{{AppliesToSBCLynx}}
 
{{InfoBoxBottom}}
 
{{InfoBoxBottom}}
 
{{ObsoleteWikiPage|link=DESK-MX6-L/General/Booting_from_NFS}}
 
  
 
== History ==
 
== History ==
Line 17: Line 15:
 
!Notes
 
!Notes
 
|-
 
|-
|{{oldid|8371|3.0.1}}
+
|1.0.0
 
|November 2018
 
|November 2018
 
|[[Axel_Embedded_Linux_Kit_(XELK)#XELK_3.0.1|XELK 3.0.1]]
 
|[[Axel_Embedded_Linux_Kit_(XELK)#XELK_3.0.1|XELK 3.0.1]]
 
|First release
 
|First release
|-
 
|4.0.0
 
|July 2019
 
|[[Axel_Embedded_Linux_Kit_(XELK)#XELK_4.0.0|XELK 4.0.0]]
 
|
 
 
|-
 
|-
 
|}
 
|}
Line 38: Line 31:
 
== net_nfs configuration ==  
 
== net_nfs configuration ==  
  
XELK 4.0.0 Virtual Machine is properly configured for the TFTP and NFS debug.
+
XELK 3.0.0 Virtual Machine is properly configured for the TFTP and NFS debug.
  
 
In any case, some variables has to be configured on the target and the VM itself has to be configured for respect to the network environment.
 
In any case, some variables has to be configured on the target and the VM itself has to be configured for respect to the network environment.
Line 49: Line 42:
  
 
=== network adapter ===
 
=== network adapter ===
The network adpater should be configured in '''bridge mode''' in order to allow the target to get the files from the VM
+
The network adpater should be configured in '''bridge mode''' in order to allow thge target to get the files from the VM
  
  
Line 55: Line 48:
  
  
[[File:XELK VM Network.png|500px]]
+
[[File:Network-VM.png|500px]]
  
  
Line 61: Line 54:
  
 
<pre>
 
<pre>
dvdk@vagrant:~$ ifconfig  
+
dvdk@vagrant-ubuntu-trusty-64:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:ed:54:80  
+
eth0      Link encap:Ethernet  HWaddr 08:00:27:01:15:46  
           inet addr:192.168.0.121 Bcast:192.168.0.255  Mask:255.255.255.0
+
           inet addr:192.168.0.125 Bcast:192.168.0.255  Mask:255.255.255.0
           inet6 addr: fe80::a00:27ff:feed:5480/64 Scope:Link
+
           inet6 addr: fe80::a00:27ff:fe01:1546/64 Scope:Link
 
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
 
           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
           RX packets:342143 errors:0 dropped:0 overruns:0 frame:0
+
           RX packets:847415 errors:0 dropped:4 overruns:0 frame:0
           TX packets:267700 errors:0 dropped:0 overruns:0 carrier:0
+
           TX packets:186868 errors:0 dropped:0 overruns:0 carrier:0
 
           collisions:0 txqueuelen:1000  
 
           collisions:0 txqueuelen:1000  
           RX bytes:160784829 (160.7 MB)  TX bytes:214001179 (214.0 MB)
+
           RX bytes:293175710 (293.1 MB)  TX bytes:134758296 (134.7 MB)
  
 
lo        Link encap:Local Loopback   
 
lo        Link encap:Local Loopback   
Line 75: Line 68:
 
           inet6 addr: ::1/128 Scope:Host
 
           inet6 addr: ::1/128 Scope:Host
 
           UP LOOPBACK RUNNING  MTU:65536  Metric:1
 
           UP LOOPBACK RUNNING  MTU:65536  Metric:1
           RX packets:201 errors:0 dropped:0 overruns:0 frame:0
+
           RX packets:5091 errors:0 dropped:0 overruns:0 frame:0
           TX packets:201 errors:0 dropped:0 overruns:0 carrier:0
+
           TX packets:5091 errors:0 dropped:0 overruns:0 carrier:0
           collisions:0 txqueuelen:1
+
           collisions:0 txqueuelen:0
           RX bytes:21929 (21.9 KB)  TX bytes:21929 (21.9 KB)
+
           RX bytes:538322 (538.3 KB)  TX bytes:538322 (538.3 KB)
  
dvdk@vagrant:~$  
+
dvdk@vagrant-ubuntu-trusty-64:~$  
 
</pre>
 
</pre>
  
Line 87: Line 80:
  
 
<pre>
 
<pre>
dvdk@vagrant:~$ cat /etc/exports  
+
dvdk@vagrant-ubuntu-trusty-64:~$ cat /etc/exports  
/home 0.0.0.0/0.0.0.0(rw,async,no_root_squash,no_subtree_check,crossmnt)
+
/home/dvdk/axel/rfs 192.168.0.0/255.255.255.0(rw,async,no_root_squash,no_subtree_check)
dvdk@vagrant:~$  
+
dvdk@vagrant-ubuntu-trusty-64:~$  
 
</pre>
 
</pre>
  
Line 95: Line 88:
  
 
<pre>
 
<pre>
dvdk@vagrant:~$ sudo /etc/init.d/nfs-kernel-server restart
+
dvdk@vagrant-ubuntu-trusty-64:~$ sudo /etc/init.d/nfs-kernel-server restart
 
[sudo] password for dvdk:  
 
[sudo] password for dvdk:  
 
  * Stopping NFS kernel daemon                                                                                                                                                                                                        [ OK ]  
 
  * Stopping NFS kernel daemon                                                                                                                                                                                                        [ OK ]  
Line 101: Line 94:
 
  * Exporting directories for NFS kernel daemon...                                                                                                                                                                                    [ OK ]  
 
  * Exporting directories for NFS kernel daemon...                                                                                                                                                                                    [ OK ]  
 
  * Starting NFS kernel daemon                                                                                                                                                                                                        [ OK ]  
 
  * Starting NFS kernel daemon                                                                                                                                                                                                        [ OK ]  
dvdk@vagrant:~$  
+
dvdk@vagrant-ubuntu-trusty-64:~$  
 
</pre>
 
</pre>
  
Line 109: Line 102:
  
 
<pre>
 
<pre>
=> setenv serverip 192.168.0.120
+
=> setenv serverip 192.168.0.125
=> setenv ipaddr 192.168.0.121
+
=> setenv ipaddr 192.168.0.95
 
</pre>
 
</pre>
  
Line 119: Line 112:
  
 
<pre>
 
<pre>
=> setenv bootfile /tftpboot/axel/xelk-4.0.0_uImage
+
=> setenv bootfile /tftpboot/axel/xelk-3.0.4_uImage
=> setenv fdtfile /tftpboot/axel/xelk-4.0.0_imx6q-xelk-l-2.0.0.dtb
+
=> setenv fdtfile /tftpboot/axel/xelk-3.0.4_imx6dl-sbcx-cb0048.dtb
 
</pre>
 
</pre>
  
 
finally, the ''root file system'' directory on the Virtual Machine should be configured for let the kernel to find the '''INIT'''
 
finally, the ''root file system'' directory on the Virtual Machine should be configured for let the kernel to find the '''INIT'''
  
<pre>=> setenv rootpath /home/dvdk/axel/rfs/xelk-4.0.0</pre>
+
<pre>=> setenv rootpath /home/dvdk/axel/rfs/xelk-3.0.1</pre>
  
  
Line 133: Line 126:
 
=> run net_nfs
 
=> run net_nfs
 
Using FEC device
 
Using FEC device
TFTP from server 192.168.0.121; our IP address is 192.168.0.120
+
TFTP from server 192.168.0.13; our IP address is 192.168.0.90
Filename 'axel/xelk-4.0.0_uImage'.
+
Filename '/tftpboot/axel/xelk-3.0.4_uImage'.
 
Load address: 0x12000000
 
Load address: 0x12000000
 
Loading: #################################################################
 
Loading: #################################################################
Line 155: Line 148:
 
         #################################################################
 
         #################################################################
 
         #################################################################
 
         #################################################################
         #################################################################
+
         #######################################
        ###
+
         1.5 MiB/s
         1.2 MiB/s
 
 
done
 
done
Bytes transferred = 6668104 (65bf48 hex)
+
Bytes transferred = 6521336 (6381f8 hex)
 
Using FEC device
 
Using FEC device
TFTP from server 192.168.0.121; our IP address is 192.168.0.120
+
TFTP from server 192.168.0.13; our IP address is 192.168.0.90
Filename 'axel/xelk-4.0.0_imx6q-xelk-l-2.0.0.dtb'.
+
Filename '/tftpboot/axel/xelk-3.0.4_imx6dl-sbcx-cb0048.dtb'.
 
Load address: 0x18000000
 
Load address: 0x18000000
Loading: ##########
+
Loading: #########
         879.9 KiB/s
+
         977.5 KiB/s
 
done
 
done
Bytes transferred = 47771 (ba9b hex)
+
Bytes transferred = 46068 (b3f4 hex)
FDT: override 'som_uniqueid' with 'ea9b8da9:2513b9d4'
 
FDT: override 'cb_uniqueid' with '00000000:00000000'
 
 
## Booting kernel from Legacy Image at 12000000 ...
 
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:  Linux-4.9.11-xelk-4.0.0
+
   Image Name:  Linux-4.1.15-xelk-3.0.4
 
   Image Type:  ARM Linux Kernel Image (uncompressed)
 
   Image Type:  ARM Linux Kernel Image (uncompressed)
   Data Size:    6668040 Bytes = 6.4 MiB
+
   Data Size:    6521272 Bytes = 6.2 MiB
 
   Load Address: 10008000
 
   Load Address: 10008000
 
   Entry Point:  10008000
 
   Entry Point:  10008000
Line 180: Line 170:
 
   Booting using the fdt blob at 0x18000000
 
   Booting using the fdt blob at 0x18000000
 
   Loading Kernel Image ... OK
 
   Loading Kernel Image ... OK
  reserving fdt memory region: addr=18000000 size=c000
+
   Using Device Tree in place at 18000000, end 1800e3f3
   Using Device Tree in place at 18000000, end 1800efff
 
 
switch to ldo_bypass mode!
 
switch to ldo_bypass mode!
Frame buffer: configure splashscreen reserved memory to 0x8e000000 (2 MiB)
+
Frame buffer: configure splashscreen reserved memory to 0x4e000000 (6 MiB)
 +
WARNING: could not find 2nd splashscreen reserved memory path
  
 +
Starting kernel ...
 +
 +
</pre>
 +
 +
then the Linux kernel will start and mount the root file system using the nfs protocol
 +
 +
<pre class="workstation-terminal">
 
Starting kernel ...
 
Starting kernel ...
  
 
[    0.000000] Booting Linux on physical CPU 0x0
 
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.9.11-xelk-4.0.0 (dvdk@vagrant) (gcc version 6.2.0 (GCC) ) #1 SMP PREEMPT Thu Jun 27 11:34:17 CEST 2019
+
[    0.000000] Linux version 4.1.15-xelk-3.0.4 (jenkins@linuxserver2) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Sat Nov 3 23:31:09 CET 2018
 
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
 
[    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] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt:Machine model: AxelLite Quad on XELK-L rev 2.0.0
+
[    0.000000] Machine model: AxelLite DL on SBCX CB0048
[    0.000000] Reserved memory: created ipuv3_fb memory pool at 0x8e000000, size 2 MiB
+
[    0.000000] Reserved memory: created ipuv3_fb memory pool at 0x4e000000, size 6 MiB
[    0.000000] OF: reserved mem: initialized node splashscreen, compatible id fsl,ipuv3-fb
+
[    0.000000] Reserved memory: initialized node splashscreen, compatible id fsl,ipuv3-fb
 
[    0.000000] Memory policy: Data cache writealloc
 
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] percpu: Embedded 14 pages/cpu @e579b000 s25996 r8192 d23156 u57344
+
[    0.000000] PERCPU: Embedded 12 pages/cpu @bf7bb000 s16960 r8192 d24000 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 520496
+
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258560
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.121:/home/dvdk/axel/rfs/xelk-4.0.0,v3,tcp ip=192.168.0.120:192.168.0.121:192.168.0.254:255.255.255.0:xelk:eth0:off panic=1 console=ttymxc2,115200 vmalloc=400M mtdparts=gpmi-nand:8M(nand-uboot),1M(nand-env1),1M(nand-env2),1M(nand-fdt),1M(nand-spare),8M(nand-kernel),4M(nand-splash),-(nand-ubi);spi0.0:1M(spi-uboot),256k(spi-env1),256k(spi-env2),512k(spi-dtb),8M(spi-kernel),4M(spi-splash),-(spi-free)
+
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.13:/opt/nfsroot/axel/xelk,v3,tcp ip=192.168.0.90:192.168.0.13::255.255.255.
 +
0:xelk:eth0:off panic=1 console=ttymxc2,115200 vmalloc=400M mtdparts=gpmi-nand:8M(nand-uboot),1M(nand-env1),1M(nand-env2),1M(nand-fdt),1M(nand-spa
 +
re),8M(nand-kernel),4M(nand-splash),-(nand-ubi);spi0.0:1M(spi-uboot),256k(spi-env1),256k(spi-env2),512k(spi-dtb),8M(spi-kernel),4M(spi-splash),-(s
 +
pi-free)
 
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
 
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes)
+
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes)
+
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 1734744K/2095104K available (9216K kernel code, 522K rwdata, 2380K rodata, 1024K init, 448K bss, 360360K reserved, 0K cma-reserved, 88064K highmem)
+
[    0.000000] Memory: 693136K/1042432K available (8375K kernel code, 450K rwdata, 2732K rodata, 312K init, 429K bss, 349296K reserved, 0K cma-res
 +
erved, 0K highmem)
 
[    0.000000] Virtual kernel memory layout:
 
[    0.000000] Virtual kernel memory layout:
 
[    0.000000]    vector  : 0xffff0000 - 0xffff1000  (  4 kB)
 
[    0.000000]    vector  : 0xffff0000 - 0xffff1000  (  4 kB)
 
[    0.000000]    fixmap  : 0xffc00000 - 0xfff00000  (3072 kB)
 
[    0.000000]    fixmap  : 0xffc00000 - 0xfff00000  (3072 kB)
[    0.000000]    vmalloc : 0xe7000000 - 0xff800000   ( 392 MB)
+
[    0.000000]    vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
[    0.000000]    lowmem  : 0x80000000 - 0xe6800000   (1640 MB)
+
[    0.000000]    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
 
[    0.000000]    pkmap  : 0x7fe00000 - 0x80000000  (  2 MB)
 
[    0.000000]    pkmap  : 0x7fe00000 - 0x80000000  (  2 MB)
 
[    0.000000]    modules : 0x7f000000 - 0x7fe00000  (  14 MB)
 
[    0.000000]    modules : 0x7f000000 - 0x7fe00000  (  14 MB)
[    0.000000]      .text : 0x80008000 - 0x80a00000   (10208 kB)
+
[    0.000000]      .text : 0x80008000 - 0x80ae1278   (11109 kB)
[    0.000000]      .init : 0x80d00000 - 0x80e00000   (1024 kB)
+
[    0.000000]      .init : 0x80ae2000 - 0x80b30000   ( 312 kB)
[    0.000000]      .data : 0x80e00000 - 0x80e82a90   ( 523 kB)
+
[    0.000000]      .data : 0x80b30000 - 0x80ba0a48   ( 451 kB)
[    0.000000]        .bss : 0x80e82a90 - 0x80ef2e60   ( 449 kB)
+
[    0.000000]        .bss : 0x80ba0a48 - 0x80c0c06c   ( 430 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
+
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
 
[    0.000000] Preemptible hierarchical RCU implementation.
 
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
+
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
 +
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
 
[    0.000000] NR_IRQS:16 nr_irqs:16 16
 
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C-310 errata 752271 769419 enabled
+
[    0.000000] L2C-310 erratum 769419 enabled
 
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
 
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
 
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
 
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
 
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
 
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
 
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
 
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 1024 kB
+
[    0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c7, AUX_CTRL 0x76470001
+
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76450001
 +
[    0.000000] mxc_clocksource_init 3000000
 
[    0.000000] Switching to timer-based delay loop, resolution 333ns
 
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
+
[    0.000006] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000025] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
+
[    0.000026] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.001336] Console: colour dummy device 80x30
+
[    0.000960] Console: colour dummy device 80x30
[    0.001359] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
+
[    0.000977] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.001374] pid_max: default: 32768 minimum: 301
+
[    0.000994] pid_max: default: 32768 minimum: 301
[    0.001457] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes)
+
[    0.001090] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001469] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes)
+
[    0.001105] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002050] CPU: Testing write buffer coherency: ok
+
[    0.001738] CPU: Testing write buffer coherency: ok
[    0.002386] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
+
[    0.002033] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002444] Setting up static identity map for 0x10100000 - 0x10100058
+
[    0.002128] Setting up static identity map for 0x10008280 - 0x100082d8
[    0.149865] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
+
[    0.060274] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.219851] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
+
[    0.060347] Brought up 2 CPUs
[    0.289849] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
+
[    0.060364] SMP: Total of 2 processors activated (12.00 BogoMIPS).
[    0.289930] Brought up 4 CPUs
+
[    0.060374] CPU: All CPU(s) started in SVC mode.
[    0.289957] SMP: Total of 4 processors activated (24.00 BogoMIPS).
+
[    0.060857] devtmpfs: initialized
[    0.289965] CPU: All CPU(s) started in SVC mode.
+
[    0.071894] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.290762] devtmpfs: initialized
+
[    0.072283] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.302714] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
+
[    0.072692] pinctrl core: initialized pinctrl subsystem
[    0.303023] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
+
[    0.073692] NET: Registered protocol family 16
[    0.303148] pinctrl core: initialized pinctrl subsystem
+
[    0.075235] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.304103] NET: Registered protocol family 16
+
[    0.099694] cpuidle: using governor ladder
[    0.305139] DMA: preallocated 256 KiB pool for atomic coherent allocations
+
[    0.129689] cpuidle: using governor menu
[    0.339595] cpuidle: using governor menu
+
[    0.129880] CPU identified as i.MX6DL, silicon rev 1.3
[    0.339807] CPU identified as i.MX6Q, silicon rev 1.5
+
[    0.129991] Use WDOG2 as reset source
[    0.339954] Use WDOG2 as reset source
+
[    0.
[    0.349965] vddarm: bypassed regulator has no supply!
 
[    0.349980] vddarm: failed to get the current voltage(-517)
 
[    0.350733] vddsoc: bypassed regulator has no supply!
 
[    0.350747] vddsoc: failed to get the current voltage(-517)
 
[    0.361884] hw-breakpoint: found 5 (+
 
  
NXP i.MX Release Distro 4.9.11-1.0.0 imx6qxelk ttymxc2
+
Freescale i.MX Release Distro 4.1.15-2.0.1 imx6qxelk /dev/ttymxc2
  
 
imx6qxelk login:
 
imx6qxelk login:
 
</pre>
 
</pre>

Revision as of 10:16, 22 November 2018

Info Box
Axel-04.png Applies to Axel Ultra
Axel-lite 02.png Applies to Axel Lite
Axel-02.png Applies to AXEL ESATTA
SBC-AXEL-02.png Applies to SBC AXEL
AXEL ULite-top.png Applies to AXEL ULite
SBC Lynx-top.png Applies to SBC Lynx

History[edit | edit source]

Version Date DIVELK version Notes
1.0.0 November 2018 XELK 3.0.1 First release

Introduction[edit | edit source]

This configuration is very helpful during the software development (both for kernel and applications). The kernel image is downloaded via TFTP while the root file system is remotely mounted via NFS from the host. It is assumed that the development host:

  • is connected with the target host board through an Ethernet LAN
  • exports the directory containing the root file system for the target through the NFS server
  • runs a TFTP server.
  • has a proper subnet IP address

net_nfs configuration[edit | edit source]

XELK 3.0.0 Virtual Machine is properly configured for the TFTP and NFS debug.

In any case, some variables has to be configured on the target and the VM itself has to be configured for respect to the network environment.

Host (Virtual Machine) configuration[edit | edit source]

The XELK Virtual Machine has the tftp and nfs services already running. Optionally, their configuration has to be changed according to the network configuration where the target is connected to.

Check and properly configure the items the following chapters: network adapter, nfs server

network adapter[edit | edit source]

The network adpater should be configured in bridge mode in order to allow thge target to get the files from the VM


Network-bridge.png


Network-VM.png


then check or re-configure the Host IP address

dvdk@vagrant-ubuntu-trusty-64:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:01:15:46  
          inet addr:192.168.0.125  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a00:27ff:fe01:1546/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:847415 errors:0 dropped:4 overruns:0 frame:0
          TX packets:186868 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:293175710 (293.1 MB)  TX bytes:134758296 (134.7 MB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:5091 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5091 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:538322 (538.3 KB)  TX bytes:538322 (538.3 KB)

dvdk@vagrant-ubuntu-trusty-64:~$ 

nfs server[edit | edit source]

The NFS server should exports the correct file system directory (in our example)

dvdk@vagrant-ubuntu-trusty-64:~$ cat /etc/exports 
/home/dvdk/axel/rfs 192.168.0.0/255.255.255.0(rw,async,no_root_squash,no_subtree_check)
dvdk@vagrant-ubuntu-trusty-64:~$ 

otherwise, change its configuration and then restart the nfs server:

dvdk@vagrant-ubuntu-trusty-64:~$ sudo /etc/init.d/nfs-kernel-server restart
[sudo] password for dvdk: 
 * Stopping NFS kernel daemon                                                                                                                                                                                                         [ OK ] 
 * Unexporting directories for NFS kernel daemon...                                                                                                                                                                                   [ OK ] 
 * Exporting directories for NFS kernel daemon...                                                                                                                                                                                     [ OK ] 
 * Starting NFS kernel daemon                                                                                                                                                                                                         [ OK ] 
dvdk@vagrant-ubuntu-trusty-64:~$ 

Target configuration[edit | edit source]

The IP address for server and target should be configured: an example (for a network subnet 192.168.0.x)

=> setenv serverip 192.168.0.125
=> setenv ipaddr 192.168.0.95
  • serverip is the IP address of the host machine running the tftp/nfs server
  • ipaddr is the IP address of the target

The kernel and device tree files has to be selected

=> setenv bootfile /tftpboot/axel/xelk-3.0.4_uImage
=> setenv fdtfile /tftpboot/axel/xelk-3.0.4_imx6dl-sbcx-cb0048.dtb

finally, the root file system directory on the Virtual Machine should be configured for let the kernel to find the INIT

=> setenv rootpath /home/dvdk/axel/rfs/xelk-3.0.1


To run this configuration just issue the net_nfs command which firstly download the kernel and device tree using the tftp protocol

=> run net_nfs
Using FEC device
TFTP from server 192.168.0.13; our IP address is 192.168.0.90
Filename '/tftpboot/axel/xelk-3.0.4_uImage'.
Load address: 0x12000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #######################################
         1.5 MiB/s
done
Bytes transferred = 6521336 (6381f8 hex)
Using FEC device
TFTP from server 192.168.0.13; our IP address is 192.168.0.90
Filename '/tftpboot/axel/xelk-3.0.4_imx6dl-sbcx-cb0048.dtb'.
Load address: 0x18000000
Loading: #########
         977.5 KiB/s
done
Bytes transferred = 46068 (b3f4 hex)
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:   Linux-4.1.15-xelk-3.0.4
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    6521272 Bytes = 6.2 MiB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
## 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 1800e3f3
switch to ldo_bypass mode!
Frame buffer: configure splashscreen reserved memory to 0x4e000000 (6 MiB)
WARNING: could not find 2nd splashscreen reserved memory path

Starting kernel ...

then the Linux kernel will start and mount the root file system using the nfs protocol

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.1.15-xelk-3.0.4 (jenkins@linuxserver2) (gcc version 5.2.0 (GCC) ) #1 SMP PREEMPT Sat Nov 3 23:31:09 CET 2018
[    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 model: AxelLite DL on SBCX CB0048
[    0.000000] Reserved memory: created ipuv3_fb memory pool at 0x4e000000, size 6 MiB
[    0.000000] Reserved memory: initialized node splashscreen, compatible id fsl,ipuv3-fb
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] PERCPU: Embedded 12 pages/cpu @bf7bb000 s16960 r8192 d24000 u49152
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 258560
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.13:/opt/nfsroot/axel/xelk,v3,tcp ip=192.168.0.90:192.168.0.13::255.255.255.
0:xelk:eth0:off panic=1 console=ttymxc2,115200 vmalloc=400M mtdparts=gpmi-nand:8M(nand-uboot),1M(nand-env1),1M(nand-env2),1M(nand-fdt),1M(nand-spa
re),8M(nand-kernel),4M(nand-splash),-(nand-ubi);spi0.0:1M(spi-uboot),256k(spi-env1),256k(spi-env2),512k(spi-dtb),8M(spi-kernel),4M(spi-splash),-(s
pi-free)
[    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: 693136K/1042432K available (8375K kernel code, 450K rwdata, 2732K rodata, 312K init, 429K bss, 349296K reserved, 0K cma-res
erved, 0K highmem)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
[    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
[    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
[    0.000000]       .text : 0x80008000 - 0x80ae1278   (11109 kB)
[    0.000000]       .init : 0x80ae2000 - 0x80b30000   ( 312 kB)
[    0.000000]       .data : 0x80b30000 - 0x80ba0a48   ( 451 kB)
[    0.000000]        .bss : 0x80ba0a48 - 0x80c0c06c   ( 430 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]  RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] L2C-310 erratum 769419 enabled
[    0.000000] L2C-310 enabling early BRESP for Cortex-A9
[    0.000000] L2C-310 full line of zeros enabled for Cortex-A9
[    0.000000] L2C-310 ID prefetch enabled, offset 16 lines
[    0.000000] L2C-310 dynamic clock gating enabled, standby mode enabled
[    0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[    0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76450001
[    0.000000] mxc_clocksource_init 3000000
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000006] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000026] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.000960] Console: colour dummy device 80x30
[    0.000977] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.000994] pid_max: default: 32768 minimum: 301
[    0.001090] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001105] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001738] CPU: Testing write buffer coherency: ok
[    0.002033] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.002128] Setting up static identity map for 0x10008280 - 0x100082d8
[    0.060274] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.060347] Brought up 2 CPUs
[    0.060364] SMP: Total of 2 processors activated (12.00 BogoMIPS).
[    0.060374] CPU: All CPU(s) started in SVC mode.
[    0.060857] devtmpfs: initialized
[    0.071894] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.072283] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.072692] pinctrl core: initialized pinctrl subsystem
[    0.073692] NET: Registered protocol family 16
[    0.075235] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.099694] cpuidle: using governor ladder
[    0.129689] cpuidle: using governor menu
[    0.129880] CPU identified as i.MX6DL, silicon rev 1.3
[    0.129991] Use WDOG2 as reset source
[    0.153429] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.153442] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.154460] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[    0.192271] mxs-dma 110000.dma-apbh: initialized
[    0.194412] vgaarb: loaded
[    0.195167] SCSI subsystem initialized
[    0.195725] usbcore: registered new interface driver usbfs
[    0.195798] usbcore: registered new interface driver hub
[    0.195888] usbcore: registered new device driver usb
[    0.196092] 2000000.aips-bus:usbphy_nop1 supply vcc not found, using dummy regulator
[    0.196216] 2000000.aips-bus:usbphy_nop2 supply vcc not found, using dummy regulator
[    0.197398] i2c i2c-1: IMX I2C adapter registered
[    0.197418] i2c i2c-1: can't use DMA
[    0.197617] Linux video capture interface: v2.00
[    0.197670] pps_core: LinuxPPS API ver. 1 registered
[    0.197680] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.197711] PTP clock support registered
[    0.209735] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[    0.211107] mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
[    0.211125] mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
[    0.211222] MIPI CSI2 driver module loaded
[    0.211437] Advanced Linux Sound Architecture Driver Initialized.
[    0.212643] Bluetooth: Core ver 2.20
[    0.212694] NET: Registered protocol family 31
[    0.212704] Bluetooth: HCI device and connection manager initialized
[    0.212720] Bluetooth: HCI socket layer initialized
[    0.212734] Bluetooth: L2CAP socket layer initialized
[    0.212779] Bluetooth: SCO socket layer initialized
[    0.213805] Switched to clocksource mxc_timer1
[    0.225395] NET: Registered protocol family 2
[    0.226045] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.226128] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.226262] TCP: Hash tables configured (established 8192 bind 8192)
[    0.226405] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.226445] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.226664] NET: Registered protocol family 1
[    0.227019] RPC: Registered named UNIX socket transport module.
[    0.227031] RPC: Registered udp transport module.
[    0.227038] RPC: Registered tcp transport module.
[    0.227045] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.227717] CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]
[    0.227770] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.229616] Bus freq driver module loaded
[    0.230653] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.237219] VFS: Disk quotas dquot_6.6.0
[    0.237420] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.239478] NFS: Registering the id_resolver key type
[    0.239512] Key type id_resolver registered
[    0.239522] Key type id_legacy registered
[    0.239610] ntfs: driver 2.1.32 [Flags: R/W].
[    0.240121] fuse init (API version 7.23)
[    0.242324] io scheduler noop registered
[    0.242346] io scheduler deadline registered
[    0.242397] io scheduler cfq registered (default)
[    0.242886] imx-weim 21b8000.weim: Driver registered.
[    0.244681] imx-sdma 20ec000.sdma: no iram assigned, using external mem
[    0.244798] imx-sdma 20ec000.sdma: no event needs to be remapped
[    0.244963] imx-sdma 20ec000.sdma: loaded firmware 3.3
[    0.247878] imx-sdma 20ec000.sdma: initialized
[    0.249555] pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
[    0.250156] pfuze100-regulator 1-0008: FAB: 0, FIN: 0
[    0.250171] pfuze100-regulator 1-0008: pfuze100 found.
[    0.256826] SW4: ramp_delay not set
[    0.266056] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    0.268171] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 293, base_baud = 5000000) is a IMX
[    0.268772] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 294, base_baud = 5000000) is a IMX
[    1.057396] console [ttymxc2] enabled
[    1.061789] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 295, base_baud = 5000000) is a IMX
[    1.072607] [drm] Initialized drm 1.1.0 20060810
[    1.077778] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[    1.093611] brd: module loaded
[    1.102580] loop: module loaded
[    1.113656] nand: device found, Manufacturer ID: 0xef, Chip ID: 0xd3
[    1.120065] nand: Unknown W29N08GV
[    1.123480] nand: 1024 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.131574] gpmi-nand 112000.gpmi-nand: mode:4 ,failed in set feature.
[    1.138165] Scanning device for bad blocks
[    1.382653] random: nonblocking pool is initialized
[    1.897071] 8 cmdlinepart partitions found on MTD device gpmi-nand
[    1.903262] Creating 8 MTD partitions on "gpmi-nand":
[    1.908351] 0x000000000000-0x000000800000 : "nand-uboot"
[    1.914820] 0x000000800000-0x000000900000 : "nand-env1"
[    1.921011] 0x000000900000-0x000000a00000 : "nand-env2"
[    1.927246] 0x000000a00000-0x000000b00000 : "nand-fdt"
[    1.933275] 0x000000b00000-0x000000c00000 : "nand-spare"
[    1.939510] 0x000000c00000-0x000001400000 : "nand-kernel"
[    1.945838] 0x000001400000-0x000001800000 : "nand-splash"
[    1.952158] 0x000001800000-0x000040000000 : "nand-ubi"
[    1.959325] gpmi-nand 112000.gpmi-nand: driver registered.
[    1.966538] CAN device driver interface
[    1.970603] 2090000.flexcan supply xceiver not found, using dummy regulator
[    1.978491] flexcan 2090000.flexcan: device registered (reg_base=c0a20000, irq=29)
[    1.988039] 2188000.ethernet supply phy not found, using dummy regulator
[    1.995291] pps pps0: new PPS source ptp0
[    2.000286] libphy: fec_enet_mii_bus: probed
[    2.006403] fec 2188000.ethernet eth0: registered PHC device 0
[    2.013264] usbcore: registered new interface driver rtl8192cu
[    2.019395] usbcore: registered new interface driver asix
[    2.024902] usbcore: registered new interface driver ax88179_178a
[    2.031067] usbcore: registered new interface driver cdc_ether
[    2.036996] usbcore: registered new interface driver cdc_eem
[    2.042729] usbcore: registered new interface driver net1080
[    2.048516] usbcore: registered new interface driver cdc_subset
[    2.054545] usbcore: registered new interface driver zaurus
[    2.060236] usbcore: registered new interface driver cdc_ncm
[    2.065988] usbcore: registered new interface driver cdc_mbim
[    2.071820] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.078406] ehci-pci: EHCI PCI platform driver
[    2.083279] usbcore: registered new interface driver cdc_wdm
[    2.089069] usbcore: registered new interface driver usb-storage
[    2.096384] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[    2.113182] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    2.118141] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    2.143846] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    2.149481] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.156309] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.163542] usb usb1: Product: EHCI Host Controller
[    2.168446] usb usb1: Manufacturer: Linux 4.1.15-xelk-3.0.4 ehci_hcd
[    2.174823] usb usb1: SerialNumber: ci_hdrc.1
[    2.179926] hub 1-0:1.0: USB hub found
[    2.183729] hub 1-0:1.0: 1 port detected
[    2.188962] mousedev: PS/2 mouse device common for all mice
[    2.195896] snvs_rtc 20cc000.snvs:snvs-rtc-lp: rtc core: registered 20cc000.snvs:snvs-r as rtc0
[    2.204818] i2c /dev entries driver
[    2.209359] i2c i2c-1: Added multiplexed i2c bus 4
[    2.214780] i2c i2c-1: Added multiplexed i2c bus 5
[    2.219586] i2c-mux-gpio i2c2mux: 2 port mux on 21a4000.i2c adapter
[    2.226962] backlight supply power not found, using dummy regulator
[    2.233901] MIPI DSI driver module loaded
[    2.240186] mxc_sdc_fb fb@0: registered mxc display driver ldb
[    2.246109] mxc_sdc_fb fb@0: using reserved memory region at 0x4e000000, size 6 MiB
[    2.253779] mxc_sdc_fb fb@0: assigned reserved memory node splashscreen
[    2.260427] mxc_sdc_fb fb@0: using memory region 0x4e000000 0x4e5fffff
[    2.284334] imx-ipuv3 2400000.ipu: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
[    2.610962] mxc_v4l2_output v4l2_out: V4L2 device registered as video16
[    2.617799] mxc_v4l2_output v4l2_out: V4L2 device registered as video17
[    2.625486] Bluetooth: HCI UART driver ver 2.3
[    2.629944] Bluetooth: HCI UART protocol H4 registered
[    2.635120] Bluetooth: HCI UART protocol BCSP registered
[    2.640441] Bluetooth: HCI UART protocol LL registered
[    2.645796] sdhci: Secure Digital Host Controller Interface driver
[    2.651985] sdhci: Copyright(c) Pierre Ossman
[    2.656376] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.662830] /soc/aips-bus@02100000/usdhc@02190000: voltage-ranges unspecified
[    2.670034] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[    2.676364] sdhci-esdhc-imx 2190000.usdhc: No vmmc regulator found
[    2.682558] sdhci-esdhc-imx 2190000.usdhc: No vqmmc regulator found
[    2.733978] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[    2.741698] /soc/aips-bus@02100000/usdhc@02194000: voltage-ranges unspecified
[    2.750155] sdhci-esdhc-imx 2194000.usdhc: No vqmmc regulator found
[    2.905705] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.923549] mmc0: new high speed SDHC card at address aaaa
[    2.929475] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[    2.939855]  mmcblk0: p1 p2
[    2.953838] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[    2.964583] mxc_vpu 2040000.vpu_fsl: VPU initialized
[    2.974330] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
[    2.989011] galcore: clk_get vg clock failed, disable vg!
[    2.996678] Galcore version 5.0.11.41671
[    3.141733] caam 2100000.caam: Entropy delay = 3200
[    3.207492] caam 2100000.caam: Instantiated RNG4 SH0
[    3.268252] caam 2100000.caam: Instantiated RNG4 SH1
[    3.273235] caam 2100000.caam: device ID = 0x0a16010000000100 (Era -524)
[    3.279968] caam 2100000.caam: job rings = 2, qi = 0
[    3.349421] caam algorithms registered in /proc/crypto
[    3.358591] caam_jr 2101000.jr0: registering rng-caam
[    3.364543] platform caam_sm: blkkey_ex: 4 keystore units available
[    3.371023] platform caam_sm: 64-bit clear key:
[    3.375601] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    3.381270] platform caam_sm: 64-bit black key:
[    3.386087] platform caam_sm: [0000] 8e 1c 3d 8a de 0b 3b 5c
[    3.391762] platform caam_sm: [0008] 65 21 5d a4 56 a7 3d d8
[    3.397501] platform caam_sm: 128-bit clear key:
[    3.402135] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    3.407826] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[    3.413494] platform caam_sm: 128-bit black key:
[    3.418184] platform caam_sm: [0000] dc f7 50 a7 c8 b7 6b c3
[    3.423876] platform caam_sm: [0008] 62 77 07 67 20 a8 de 22
[    3.429544] platform caam_sm: 192-bit clear key:
[    3.434189] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    3.439859] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[    3.445559] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[    3.451227] platform caam_sm: 192-bit black key:
[    3.455872] platform caam_sm: [0000] 42 45 d2 40 44 29 ba 8b
[    3.461543] platform caam_sm: [0008] 54 38 15 4d eb 3a d2 bc
[    3.467229] platform caam_sm: [0016] 95 e4 7a 3e 0e 3b 0e 15
[    3.472900] platform caam_sm: [0024] 57 2c 76 96 0f cb 33 fd
[    3.480606] platform caam_sm: 256-bit clear key:
[    3.487280] platform caam_sm: [0000] 00 01 02 03 04 0f 06 07
[    3.492965] platform caam_sm: [0008] 08 09 0a 0b 0c 0d 0e 0f
[    3.500669] platform caam_sm: [0016] 10 11 12 13 14 15 16 17
[    3.508373] platform caam_sm: [0024] 18 19 1a 1b 1c 1d 1e 1f
[    3.516071] platform caam_sm: 256-bit black key:
[    3.522717] platform caam_sm: [0000] 74 6f 22 a9 fc 26 1b 89
[    3.530417] platform caam_sm: [0008] cf b1 a4 ca 11 fa 01 4f
[    3.538121] platform caam_sm: [0016] 27 63 9f f4 49 44 b0 40
[    3.545841] platform caam_sm: [0024] 6a cc 45 e4 55 8d cd 0b
[    3.553527] platform caam_sm: 64-bit unwritten blob:
[    3.560537] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    3.568240] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    3.573927] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    3.579598] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    3.585283] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    3.590953] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    3.596637] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    3.602306] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    3.607989] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    3.613659] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.619348] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.625035] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.630703] platform caam_sm: 128-bit unwritten blob:
[    3.635780] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    3.641450] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    3.647134] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    3.652803] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    3.658486] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    3.664170] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    3.669839] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    3.675522] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    3.681192] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    3.686875] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.692544] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.698229] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.703910] platform caam_sm: 196-bit unwritten blob:
[    3.708972] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    3.714657] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    3.720327] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    3.726007] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    3.731678] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    3.737362] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    3.743031] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    3.748717] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    3.754403] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    3.760074] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.765755] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.773441] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.781141] platform caam_sm: 256-bit unwritten blob:
[    3.786233] platform caam_sm: [0000] 00 00 00 00 00 00 00 00
[    3.793950] platform caam_sm: [0008] 00 00 00 00 00 00 00 00
[    3.801639] platform caam_sm: [0016] 00 00 00 00 00 00 00 00
[    3.809344] platform caam_sm: [0024] 00 00 00 00 00 00 00 00
[    3.817045] platform caam_sm: [0032] 00 00 00 00 00 00 00 00
[    3.824760] platform caam_sm: [0040] 00 00 00 00 00 00 00 00
[    3.832449] platform caam_sm: [0048] 00 00 00 00 00 00 00 00
[    3.840150] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    3.847852] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    3.855568] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.863261] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.868951] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.874858] platform caam_sm: 64-bit black key in blob:
[    3.880100] platform caam_sm: [0000] 3b ca 4e 4d a2 97 da 4f
[    3.885790] platform caam_sm: [0008] bd e7 2b d2 c3 fa 5c f5
[    3.891462] platform caam_sm: [0016] 95 ac a9 e7 d2 26 04 bd
[    3.897148] platform caam_sm: [0024] 4a 01 94 81 5f 63 8c bb
[    3.902818] platform caam_sm: [0032] fe 20 ff 07 15 58 c1 7a
[    3.908500] platform caam_sm: [0040] 09 f0 f6 07 b4 89 55 8c
[    3.914185] platform caam_sm: [0048] de 28 dc 28 fc 9a e5 4d
[    3.919855] platform caam_sm: [0056] 00 00 00 00 00 00 00 00
[    3.925540] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    3.931210] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    3.936892] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    3.942562] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    3.948242] platform caam_sm: 128-bit black key in blob:
[    3.953567] platform caam_sm: [0000] 9b ca 5b 98 29 94 56 02
[    3.959250] platform caam_sm: [0008] f4 2e 39 95 74 d4 c8 d7
[    3.964934] platform caam_sm: [0016] 73 9d 84 fb f2 14 93 6f
[    3.970604] platform caam_sm: [0024] 65 f9 43 1e b9 99 34 ef
[    3.976287] platform caam_sm: [0032] 7a 86 5d 94 63 1c 4a 97
[    3.981957] platform caam_sm: [0040] 8f 8d 67 c5 6c 0a 60 85
[    3.987640] platform caam_sm: [0048] c4 9b b5 a2 29 cb d5 cb
[    3.993310] platform caam_sm: [0056] ec 60 b8 a8 32 af 4f 34
[    3.998991] platform caam_sm: [0064] 00 00 00 00 00 00 00 00
[    4.004682] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    4.010352] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    4.016036] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    4.021703] platform caam_sm: 192-bit black key in blob:
[    4.027041] platform caam_sm: [0000] 36 1d 0b cd b6 08 8f 04
[    4.032711] platform caam_sm: [0008] 20 20 da 5f 2d bb c6 07
[    4.038394] platform caam_sm: [0016] 7a 7e 68 43 be 6b 9b a7
[    4.044108] platform caam_sm: [0024] 4a e7 5d 3e f0 da 98 74
[    4.049780] platform caam_sm: [0032] ce 4a 57 cf b7 d6 bd 0e
[    4.055468] platform caam_sm: [0040] d3 8c d1 ad 24 d1 f6 78
[    4.061138] platform caam_sm: [0048] de 3f dc 63 a2 4b a0 9b
[    4.066823] platform caam_sm: [0056] b9 95 88 c6 d9 e9 3e fb
[    4.072493] platform caam_sm: [0064] cf 34 60 38 0c be 79 7c
[    4.078176] platform caam_sm: [0072] 00 00 00 00 00 00 00 00
[    4.083860] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    4.089530] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    4.095210] platform caam_sm: 256-bit black key in blob:
[    4.100534] platform caam_sm: [0000] 68 9c e3 f9 f2 4e 4c f0
[    4.106218] platform caam_sm: [0008] 00 24 0d 3c 8b 1d 5a 89
[    4.111888] platform caam_sm: [0016] 11 da 6c 1b 96 1c 68 2d
[    4.117571] platform caam_sm: [0024] 0b 08 d1 bb 9f 46 0d 95
[    4.123242] platform caam_sm: [0032] b4 65 d7 cb 85 8b 06 42
[    4.128926] platform caam_sm: [0040] 0f 53 a1 1b 1b 04 2f b4
[    4.134615] platform caam_sm: [0048] f3 59 8c a0 46 bf b8 02
[    4.140286] platform caam_sm: [0056] 68 9d e0 28 a4 0a 98 ac
[    4.145972] platform caam_sm: [0064] ed e3 7a fe dc 58 49 36
[    4.151643] platform caam_sm: [0072] 1b 14 8c d9 c4 b5 1e f9
[    4.157326] platform caam_sm: [0080] 00 00 00 00 00 00 00 00
[    4.162996] platform caam_sm: [0088] 00 00 00 00 00 00 00 00
[    4.168893] platform caam_sm: restored 64-bit black key:
[    4.174239] platform caam_sm: [0000] c7 a0 e8 00 f0 70 b1 2e
[    4.179911] platform caam_sm: [0008] 18 82 f9 93 53 46 13 b2
[    4.185593] platform caam_sm: restored 128-bit black key:
[    4.191004] platform caam_sm: [0000] dc f7 50 a7 c8 b7 6b c3
[    4.196690] platform caam_sm: [0008] 62 77 07 67 20 a8 de 22
[    4.202357] platform caam_sm: restored 192-bit black key:
[    4.207780] platform caam_sm: [0000] 42 45 d2 40 44 29 ba 8b
[    4.213450] platform caam_sm: [0008] 54 38 15 4d eb 3a d2 bc
[    4.219134] platform caam_sm: [0016] c5 e9 55 9d 06 4a 03 1e
[    4.224818] platform caam_sm: [0024] 04 0d 32 e6 fe 38 4d 6e
[    4.230485] platform caam_sm: restored 256-bit black key:
[    4.235909] platform caam_sm: [0000] 74 6f 22 a9 fc 26 1b 89
[    4.241580] platform caam_sm: [0008] cf b1 a4 ca 11 fa 01 4f
[    4.247263] platform caam_sm: [0016] 27 63 9f f4 49 44 b0 40
[    4.252933] platform caam_sm: [0024] 6a cc 45 e4 55 8d cd 0b
[    4.258931] snvs-secvio 20cc000.caam-snvs: can't get snvs clock
[    4.264954] snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
[    4.273289] usbcore: registered new interface driver usbhid
[    4.278904] usbhid: USB HID core driver
[    4.286127] fsl-asrc 2034000.asrc: driver registered
[    4.295092] imx-tlv320aic31xx sound: tlv320aic31xx-hifi <-> 2028000.ssi mapping ok
[    4.305995] NET: Registered protocol family 10
[    4.311509] sit: IPv6 over IPv4 tunneling driver
[    4.316829] NET: Registered protocol family 17
[    4.321302] can: controller area network core (rev 20120528 abi 9)
[    4.327609] NET: Registered protocol family 29
[    4.332101] can: raw protocol (rev 20120528)
[    4.336413] can: broadcast manager protocol (rev 20120528 t)
[    4.342094] can: netlink gateway (rev 20130117) max_hops=1
[    4.347939] Bluetooth: RFCOMM TTY layer initialized
[    4.352844] Bluetooth: RFCOMM socket layer initialized
[    4.358040] Bluetooth: RFCOMM ver 1.11
[    4.361819] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.367159] Bluetooth: BNEP filters: protocol multicast
[    4.372401] Bluetooth: BNEP socket layer initialized
[    4.377394] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.383328] Bluetooth: HIDP socket layer initialized
[    4.388376] 8021q: 802.1Q VLAN Support v1.8
[    4.393230] rfkill_gpio bt_rfkill: bt_rfkill device registered.
[    4.399313] Key type dns_resolver registered
[    4.408424] imx_thermal 2000000.aips-bus:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    4.420120] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2017-11-09 06:16:45 UTC (1510208205)
[    4.664454] fec 2188000.ethernet eth0: Freescale FEC PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=2188000.ethernet:07, irq=-1)
[    4.677246] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    7.664344] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[    7.673951] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.694209] IP-Config: Complete:
[    7.697480]      device=eth0, hwaddr=70:b3:d5:ef:7f:fe, ipaddr=192.168.0.90, mask=255.255.255.0, gw=255.255.255.255
[    7.708154]      host=xelk, domain=, nis-domain=(none)
[    7.713320]      bootserver=192.168.0.13, rootserver=192.168.0.13, rootpath=
[    7.721065] VGEN6: disabling
[    7.724441] VGEN2: disabling
[    7.727778] VGEN1: disabling
[    7.731114] wlan-en-regulator: disabling
[    7.735112] usb_otg_vbus: disabling
[    7.738848] ALSA device list:
[    7.741826]   #0: sbcx-audio-tlv320aic3100
[    7.755402] VFS: Mounted root (nfs filesystem) on device 0:14.
[    7.761758] devtmpfs: mounted
[    7.765294] Freeing unused kernel memory: 312K (80ae2000 - 80b30000)
INIT: version 2.88 booting
Starting udev
udev: Not using udev cache because of changes detected in the following files:
udev:     /proc/version /proc/cmdline /proc/devices
udev:     lib/udev/rules.d/* etc/udev/rules.d/*
udev: The udev cache will be regenerated. To identify the detected changes,
udev: compare the cached sysconf at   /etc/udev/cache.data
udev: against the current sysconf at  /dev/shm/udev.cache
[    9.371064] udevd[157]: starting version 3.1.5
[    9.830362] ERROR: v4l2 capture: slave not found!
[    9.838410] ERROR: v4l2 capture: slave not found!
depmod: ERROR: could not open directory /lib/modules/4.1.15-xelk-3.0.4: No such file or directory
depmod: WARNING: -e needs -E or -F
depmod: ERROR: could not open directory /lib/modules/4.1.15-xelk-3.0.4: No such file or directory
depmod: FATAL: could not search modules: No such file or directory
bootlogd: cannot allocate pseudo tty: No such file or directory
Populating dev cache
ALSA: Restoring mixer settings...
Sun Nov  4 05:10:43 UTC 2018
INIT: Entering runlevel: 5
Configuring network interfaces... ifup skipped for nfsroot interface eth0
run-parts: /etc/network/if-pre-up.d/nfsroot: exit status 1
Starting system message bus: dbus.
Starting Dropbear SSH server: dropbear.
Starting rpcbind daemon...done.
starting statd: done
Starting advanced power management daemon: No APM support in kernel
(failed.)
Starting atd: OK
exportfs: can't open /etc/exports for reading
NFS daemon support not enabled in kernel
Starting system log daemon...0
Starting kernel log daemon...0
Starting internet superserver: xinetd.
 * Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon                       [ ok ]
Starting Telephony daemon
Starting Linux NFC daemon
Starting crond: OK
Starting tcf-agent: OK

Freescale i.MX Release Distro 4.1.15-2.0.1 imx6qxelk /dev/ttymxc2

imx6qxelk login: