DESK-MX6-L/General/Booting from NFS

From DAVE Developer's Wiki
Jump to: navigation, search
History
ID# Issue Date Notes

10638

09/10/2020 New documentation layout

16984

07/03/2022 DESK 3.0.0 release


Booting from NFS[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]

DESK-MX6-L 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 DESK-MX6-L 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 the target to get the files from the VM


Network-bridge.png

then, modify the network interfaces configuration using the netplan configuration file, for example (sse Ubuntu network configuration):

dvdk@vagrant:~$ cat /etc/netplan/01-netcfg.yaml 
network:
  version: 2
  ethernets:
    eth0:
      dhcp4: false
      addresses:
        - 192.168.0.125/24
      gateway4: 192.168.0.254
      nameservers:
          addresses: [8.8.8.8, 1.1.1.1]
dvdk@vagrant:~$ 

and restart it:

dvdk@vagrant:~$ sudo netplan apply
dvdk@vagrant:~$ 

Check or re-configure the Host IP address

dvdk@vagrant:~$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
    link/ether 08:00:27:b1:28:5d brd ff:ff:ff:ff:ff:ff
    inet 192.168.0.125/24 brd 192.168.0.255 scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::a00:27ff:feb1:285d/64 scope link 
       valid_lft forever preferred_lft forever
dvdk@vagrant:~$ 

nfs server[edit | edit source]

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

dvdk@vagrant:~$ cat /etc/exports 
/home 0.0.0.0/0.0.0.0(rw,sync,no_root_squash,no_subtree_check,crossmnt)
dvdk@vagrant:~$ 

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

dvdk@vagrant:~$ sudo /etc/init.d/nfs-kernel-server restart
[ ok ] Restarting nfs-kernel-server (via systemctl): nfs-kernel-server.service.
dvdk@vagrant:~$ 

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.90
  • 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 desk-mx-l/desk-mx6-l-3.0.0_uImage
=> setenv fdtfile desk-mx-l/desk-mx6-l-3.0.0_imx6dl-sbcx-cb0012.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/desk-mx-l/rfs/desk-mx6-l

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
1152054 bytes read in 58 ms (18.9 MiB/s)
Using FEC device
TFTP from server 192.168.0.125; our IP address is 192.168.0.90
Filename 'desk-mx-l/desk-mx6-l-3.0.0_uImage'.
Load address: 0x12000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################
         528.3 KiB/s
done
Bytes transferred = 8154280 (7c6ca8 hex)
Using FEC device
TFTP from server 192.168.0.125; our IP address is 192.168.0.90
Filename 'desk-mx-l/desk-mx6-l-3.0.0_imx6dl-sbcx-cb0012.dtb'.
Load address: 0x18000000
Loading: ###########
         482.4 KiB/s
done
Bytes transferred = 51910 (cac6 hex)
FDT: override 'som_uniqueid' with 'e317318f:1b1229d4'
FDT: override 'cb_uniqueid' with 'fb000030:4d8eea2d'
## Booting kernel from Legacy Image at 12000000 ...
   Image Name:   Linux-5.10.35-desk-mx6-l-3.0.0
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    8154216 Bytes = 7.8 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
   Using Device Tree in place at 18000000, end 1800ffff
switch to ldo_bypass mode!
Frame buffer: configure splashscreen reserved memory to 0x4e000000 (2 MiB)
WARNING: could not find 2nd splashscreen reserved memory path

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.35-desk-mx6-l-3.0.0 (jenkins@xenialbakery) (arm-poky-linux-gnueabi-gcc (GCC) 10.2.0, GNU ld (GNU Binutils) 2.36.1.20210209) #1 SMP PREEMPT Tue Feb 8 10:14:28 CET 2022
[    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: AxelLite DL on SBCX CB0012
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OF: reserved mem: node linux,cma compatible matching fail
[    0.000000] Reserved memory: created ipuv3_fb memory pool at 0x4e000000, size 2 MiB
[    0.000000] OF: reserved mem: initialized node splashscreen, compatible id fsl,ipuv3-fb
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000010000000-0x000000004fffffff]
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000010000000-0x000000004dffffff]
[    0.000000]   node   0: [mem 0x000000004e000000-0x000000004e1fffff]
[    0.000000]   node   0: [mem 0x000000004e200000-0x000000004fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000010000000-0x000000004fffffff]
[    0.000000] percpu: Embedded 15 pages/cpu s32588 r8192 d20660 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 260096
[    0.000000] Kernel command line: root=/dev/nfs rw nfsroot=192.168.0.125:/home/dvdk/desk-mx-l/rfs/desk-mx6-l,v3,tcp ip=192.168.0.90:192.168.0.125::255.255.255.0:xelk:eth0:off panic=1 console=ttymxc2,115200 vmalloc=400M mtdparts=gpmi-nand:2M(nand-SPL),6M(nand-uboot),1M(nand-env1),1M(nand-env2),1M(nand-fdt),1M(nand-spare),8M(nand-kernel),4M(nand-splash),-(nand-ubi);spi0.0:64k(spi-SPL),960k(spi-uboot),256k(spi-env1),256k(spi-env2),512k(spi-dtb),8M(spi-kernel),4M(spi-splash),-(spi-free)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes, linear)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 1019048K/1048576K available (11264K kernel code, 1340K rwdata, 2920K rodata, 1024K init, 446K bss, 29528K reserved, 0K cma-reserved, 0K highmem)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU event tracing is enabled.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 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] random: get_random_bytes called from start_kernel+0x32c/0x4d0 with crng_init=0
[    0.000000] Switching to timer-based delay loop, resolution 333ns
[    0.000007] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 715827882841ns
[    0.000033] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 637086815595 ns
[    0.001424] Console: colour dummy device 80x30
[    0.001458] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[    0.001479] pid_max: default: 32768 minimum: 301
[    0.001619] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.001647] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes, linear)
[    0.002356] CPU: Testing write buffer coherency: ok
[    0.002401] CPU0: Spectre v2: using BPIALL workaround
[    0.002627] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.003400] Setting up static identity map for 0x10100000 - 0x10100060
[    0.003571] rcu: Hierarchical SRCU implementation.
[    0.004752] smp: Bringing up secondary CPUs ...
[    0.005573] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.005583] CPU1: Spectre v2: using BPIALL workaround
[    0.005750] smp: Brought up 1 node, 2 CPUs
[    0.005766] SMP: Total of 2 processors activated (12.00 BogoMIPS).
[    0.005778] CPU: All CPU(s) started in SVC mode.
[    0.006191] devtmpfs: initialized
[    0.015824] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[    0.016097] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.016122] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.016267] pinctrl core: initialized pinctrl subsystem
[    0.017228] NET: Registered protocol family 16
[    0.018756] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.019958] thermal_sys: Registered thermal governor 'step_wise'
[    0.019968] thermal_sys: Registered thermal governor 'user_space'
[    0.020424] cpuidle: using governor menu
[    0.020611] CPU identified as i.MX6DL, silicon rev 1.3
[    0.020734] Use WDOG2 as reset source
[    0.241613] vdd1p1: supplied by regulator-dummy
[    0.250706] vdd3p0: supplied by regulator-dummy
[    0.259738] vdd2p5: supplied by regulator-dummy
[    0.268574] vddarm: bypassed regulator has no supply!
[    0.268589] vddarm: failed to get the current voltage: -EPROBE_DEFER
[    0.286365] vddsoc: bypassed regulator has no supply!
[    0.286381] vddsoc: failed to get the current voltage: -EPROBE_DEFER
[    0.303940] mxs_phy 20c9000.usbphy: supply phy-3p0 not found, using dummy regulator
[    0.313192] mxs_phy 20ca000.usbphy: supply phy-3p0 not found, using dummy regulator
[    0.775872] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[    0.775888] hw-breakpoint: maximum watchpoint size is 4 bytes.
[    0.777223] imx6dl-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[    0.779297] imx mu driver is registered.
[    0.779869] imx rpmsg driver is registered.
[    0.815931] vgaarb: loaded
[    0.816739] SCSI subsystem initialized
[    0.817244] usbcore: registered new interface driver usbfs
[    0.817306] usbcore: registered new interface driver hub
[    0.817358] usbcore: registered new device driver usb
[    0.817515] usb_phy_generic usbphynop1: supply vcc not found, using dummy regulator
[    0.817862] usb_phy_generic usbphynop2: supply vcc not found, using dummy regulator
[    0.822917] i2c i2c-1: IMX I2C adapter registered
[    0.824075] i2c i2c-2: IMX I2C adapter registered
[    0.824823] mc: Linux media interface: v0.10
[    0.824872] videodev: Linux video capture interface: v2.00
[    0.824932] pps_core: LinuxPPS API ver. 1 registered
[    0.824945] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.824970] PTP clock support registered
[    0.849696] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[    0.851203] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
[    0.851768] mxc_mipi_csi2 21dc000.mipi: i.MX MIPI CSI2 driver probed
[    0.851785] mxc_mipi_csi2 21dc000.mipi: i.MX MIPI CSI2 dphy version is 0x3130302a
[    0.852019] MIPI CSI2 driver module loaded
[    0.852088] Advanced Linux Sound Architecture Driver Initialized.
[    0.853363] Bluetooth: Core ver 2.22
[    0.853418] NET: Registered protocol family 31
[    0.853431] Bluetooth: HCI device and connection manager initialized
[    0.853450] Bluetooth: HCI socket layer initialized
[    0.853466] Bluetooth: L2CAP socket layer initialized
[    0.853494] Bluetooth: SCO socket layer initialized
[    0.854103] clocksource: Switched to clocksource mxc_timer1
[    0.854283] VFS: Disk quotas dquot_6.6.0
[    0.854369] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.864405] NET: Registered protocol family 2
[    0.865169] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.865212] TCP established hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.865301] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.865436] TCP: Hash tables configured (established 8192 bind 8192)
[    0.865622] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.865668] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[    0.865855] NET: Registered protocol family 1
[    0.866459] RPC: Registered named UNIX socket transport module.
[    0.866474] RPC: Registered udp transport module.
[    0.866484] RPC: Registered tcp transport module.
[    0.866493] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.867411] PCI: CLS 0 bytes, default 64
[    0.867908] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.868101] hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
[    0.870072] Bus freq driver module loaded
[    0.871135] Initialise system trusted keyrings
[    0.871353] workingset: timestamp_bits=30 max_order=18 bucket_order=0
[    0.876564] NFS: Registering the id_resolver key type
[    0.876596] Key type id_resolver registered
[    0.876608] Key type id_legacy registered
[    0.876657] ntfs: driver 2.1.32 [Flags: R/W].
[    0.877049] fuse: init (API version 7.32)
[    0.970212] Key type asymmetric registered
[    0.970231] Asymmetric key parser 'x509' registered
[    0.970257] io scheduler mq-deadline registered
[    0.970268] io scheduler kyber registered
[    0.973204] imx6q-pcie 1ffc000.pcie: supply epdev_on not found, using dummy regulator
[    0.978575] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[    0.978595] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[    0.980601] mxs-dma 110000.dma-apbh: initialized
[    0.985262] pfuze100-regulator 1-0008: Full layer: 2, Metal layer: 1
[    0.985989] pfuze100-regulator 1-0008: FAB: 0, FIN: 0
[    0.986004] pfuze100-regulator 1-0008: pfuze100 found.
[    0.993180] SW4: Bringing 3150000uV into 1800000-1800000uV
[    0.999881] VGEN3: Bringing 2800000uV into 2500000-2500000uV
[    1.001386] VGEN4: Bringing 3000000uV into 1800000-1800000uV
[    1.002891] VGEN5: Bringing 3000000uV into 2800000-2800000uV
[    1.006478] Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
[    1.009031] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 78, base_baud = 5000000) is a IMX
[    1.010031] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 79, base_baud = 5000000) is a IMX
[    1.014601] imx6q-pcie 1ffc000.pcie: host bridge /soc/pcie@1ffc000 ranges:
[    1.014653] imx6q-pcie 1ffc000.pcie:       IO 0x0001f80000..0x0001f8ffff -> 0x0000000000
[    1.014680] imx6q-pcie 1ffc000.pcie:      MEM 0x0001000000..0x0001efffff -> 0x0001000000
[    2.000818] printk: console [ttymxc2] enabled
[    2.006236] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 80, base_baud = 5000000) is a IMX
[    2.014919] imx6q-pcie 1ffc000.pcie: Phy link never came up
[    2.021582] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 81, base_baud = 5000000) is a IMX
[    2.030346] imx6q-pcie 1ffc000.pcie: failed to initialize host
[    2.036285] imx6q-pcie 1ffc000.pcie: unable to add pcie port.
[    2.042632] imx sema4 driver is registered.
[    2.056796] brd: module loaded
[    2.070129] loop: module loaded
[    2.074506] imx ahci driver is registered.
[    2.081150] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xdc
[    2.087576] nand: AMD/Spansion S34ML04G1
[    2.091509] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    2.099259] Scanning device for bad blocks
[    2.112229] random: fast init done
[    2.244938] Bad eraseblock 724 at 0x000005a80000
[    2.892331] 9 cmdlinepart partitions found on MTD device gpmi-nand
[    2.898547] Creating 9 MTD partitions on "gpmi-nand":
[    2.903609] 0x000000000000-0x000000200000 : "nand-SPL"
[    2.915087] 0x000000200000-0x000000800000 : "nand-uboot"
[    2.925109] 0x000000800000-0x000000900000 : "nand-env1"
[    2.935017] 0x000000900000-0x000000a00000 : "nand-env2"
[    2.945080] 0x000000a00000-0x000000b00000 : "nand-fdt"
[    2.955038] 0x000000b00000-0x000000c00000 : "nand-spare"
[    2.965079] 0x000000c00000-0x000001400000 : "nand-kernel"
[    2.975039] 0x000001400000-0x000001800000 : "nand-splash"
[    2.985121] 0x000001800000-0x000020000000 : "nand-ubi"
[    2.995027] gpmi-nand 112000.nand-controller: driver registered.
[    3.003065] spinor@0 enforce active low on chipselect handle
[    3.009570] spi-nor spi0.0: unrecognized JEDEC id bytes: 00 00 00 00 00 00
[    3.016569] spi-nor: probe of spi0.0 failed with error -2
[    3.022771] spidev@0 enforce active low on chipselect handle
[    3.030886] libphy: Fixed MDIO Bus: probed
[    3.035770] CAN device driver interface
[    3.043992] pps pps0: new PPS source ptp0
[    3.050004] libphy: fec_enet_mii_bus: probed
[    3.056192] fec 2188000.ethernet eth0: registered PHC device 0
[    3.063463] usbcore: registered new interface driver asix
[    3.068958] usbcore: registered new interface driver ax88179_178a
[    3.075162] usbcore: registered new interface driver cdc_ether
[    3.081038] usbcore: registered new interface driver cdc_eem
[    3.086779] usbcore: registered new interface driver net1080
[    3.092488] usbcore: registered new interface driver cdc_subset
[    3.098494] usbcore: registered new interface driver zaurus
[    3.104161] usbcore: registered new interface driver cdc_ncm
[    3.109864] usbcore: registered new interface driver cdc_mbim
[    3.115650] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    3.122211] ehci-pci: EHCI PCI platform driver
[    3.127145] usbcore: registered new interface driver cdc_wdm
[    3.132864] usbcore: registered new interface driver usb-storage
[    3.143996] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[    3.150188] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 2022-03-07T15:41:58 UTC (1646667718)
[    3.160184] i2c /dev entries driver
[    3.164718] i2c i2c-1: Added multiplexed i2c bus 4
[    3.171568] input: TSC2007 Touchscreen as /devices/platform/soc/2100000.bus/21a4000.i2c/i2c-1/i2c-5/5-0048/input/input0
[    3.183663] i2c i2c-1: Added multiplexed i2c bus 5
[    3.188516] i2c-mux-gpio i2c2mux: 2 port mux on 21a4000.i2c adapter
[    3.196303] pwm-backlight backlight: supply power not found, using dummy regulator
[    3.206280] mxc_hdmi 20e0000.hdmi_video: supply HDMI not found, using dummy regulator
[    3.215798] mxc_sdc_fb fb@0: registered mxc display driver ldb
[    3.221704] mxc_sdc_fb fb@0: using reserved memory region at 0x4e000000, size 2 MiB
[    3.229410] mxc_sdc_fb fb@0: assigned reserved memory node splashscreen
[    3.236115] mxc_sdc_fb fb@0: using memory region 0x4e000000 0x4e1fffff
[    3.519499] VGEN3: voltage operation not allowed
[    3.764468] ov5640_read_reg:write reg error:reg=300a
[    3.769439] camera ov5640_mipi is not found
[    3.775286] mxc_v4l2_output v4l2_out: V4L2 device registered as video16
[    3.782054] mxc_v4l2_output v4l2_out: V4L2 device registered as video17
[    3.789837] Bluetooth: HCI UART driver ver 2.3
[    3.794376] Bluetooth: HCI UART protocol H4 registered
[    3.799525] Bluetooth: HCI UART protocol BCSP registered
[    3.804903] Bluetooth: HCI UART protocol LL registered
[    3.810622] sdhci: Secure Digital Host Controller Interface driver
[    3.816910] sdhci: Copyright(c) Pierre Ossman
[    3.821273] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.828216] sdhci-esdhc-imx 2190000.mmc: voltage-ranges unspecified
[    3.835339] sdhci-esdhc-imx 2194000.mmc: voltage-ranges unspecified
[    3.842305] sdhci-esdhc-imx 2190000.mmc: Got CD GPIO
[    3.844790] caam 2100000.crypto: Entropy delay = 3200
[    3.865062] caam 2100000.crypto: Instantiated RNG4 SH0
[    3.877533] caam 2100000.crypto: Instantiated RNG4 SH1
[    3.882687] caam 2100000.crypto: device ID = 0x0a16010000000100 (Era 4)
[    3.889358] caam 2100000.crypto: job rings = 2, qi = 0
[    3.889547] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[    3.909192] caam algorithms registered in /proc/crypto
[    3.915990] caam 2100000.crypto: registering rng-caam
[    3.922172] Device caam-keygen registered
[    3.933653] random: crng init done
[    3.934840] caam-snvs 20cc000.caam-snvs: violation handlers armed - non-secure state
[    3.939982] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.945608] usbcore: registered new interface driver usbhid
[    3.956898] mmc0: new high speed SDHC card at address aaaa
[    3.958710] usbhid: USB HID core driver
[    3.968418] mmcblk0: mmc0:aaaa SA16G 14.8 GiB
[    3.974916] fsl-ssi-dai 2028000.ssi: No cache defaults, reading back from HW
[    3.976721]  mmcblk0: p1 p2
[    3.995625] NET: Registered protocol family 10
[    4.001267] Segment Routing with IPv6
[    4.005122] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    4.011702] NET: Registered protocol family 17
[    4.016206] can: controller area network core
[    4.020650] NET: Registered protocol family 29
[    4.025175] can: raw protocol
[    4.028151] can: broadcast manager protocol
[    4.032348] can: netlink gateway - max_hops=1
[    4.037013] Bluetooth: RFCOMM TTY layer initialized
[    4.041911] Bluetooth: RFCOMM socket layer initialized
[    4.047119] Bluetooth: RFCOMM ver 1.11
[    4.050888] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    4.054141] mmc1: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[    4.056264] Bluetooth: BNEP filters: protocol multicast
[    4.068359] Bluetooth: BNEP socket layer initialized
[    4.073334] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    4.079324] Bluetooth: HIDP socket layer initialized
[    4.084376] 8021q: 802.1Q VLAN Support v1.8
[    4.089135] rfkill_gpio bt_rfkill: bt_rfkill device registered.
[    4.095319] Key type dns_resolver registered
[    4.100289] vddpu: supplied by SW1C
[    4.104312] Registering SWP/SWPB emulation handler
[    4.109310] Loading compiled-in X.509 certificates
[    4.142986] vddarm: bypassed regulator has no supply!
[    4.148145] vddarm: failed to get the current voltage: -EPROBE_DEFER
[    4.154568] vddarm: supplied by SW1AB
[    4.158861] vddsoc: bypassed regulator has no supply!
[    4.163922] vddsoc: failed to get the current voltage: -EPROBE_DEFER
[    4.170329] vddsoc: supplied by SW1C
[    4.185780] ci_hdrc ci_hdrc.1: EHCI Host Controller
[    4.190699] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[    4.224135] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[    4.229774] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    4.238076] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    4.245325] usb usb1: Product: EHCI Host Controller
[    4.250210] usb usb1: Manufacturer: Linux 5.10.35-desk-mx6-l-3.0.0 ehci_hcd
[    4.257194] usb usb1: SerialNumber: ci_hdrc.1
[    4.262165] hub 1-0:1.0: USB hub found
[    4.266017] hub 1-0:1.0: 1 port detected
[    4.272238] galcore: clk_get vg clock failed, disable vg!
[    4.278657] Galcore version 6.4.3.p2.336687
[    4.420866] [drm] Initialized vivante 1.0.0 20170808 for 130000.gpu on minor 0
[    4.429695] mxc_vpu 2040000.vpu_fsl: VPU initialized
[    4.437324] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[    4.467309] imx_epdc_fb 20f4000.epdc: can't get/select pinctrl
[    4.558007] Micrel KSZ9031 Gigabit PHY 2188000.ethernet-1:07: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=2188000.ethernet-1:07, irq=POLL)
[    6.634662] fec 2188000.ethernet eth0: Link is Up - 100Mbps/Full - flow control off
[    6.644221] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.674290] IP-Config: Complete:
[    6.677555]      device=eth0, hwaddr=da:89:01:4d:96:8e, ipaddr=192.168.0.90, mask=255.255.255.0, gw=255.255.255.255
[    6.688135]      host=xelk, domain=, nis-domain=(none)
[    6.693299]      bootserver=192.168.0.125, rootserver=192.168.0.125, rootpath=
[    6.693648] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    6.713318] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    6.720057] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    6.728859] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[    6.728867] ALSA device list:
[    6.728887]   #0: sbcx-audio-tlv320aic3100
[    7.785613] VFS: Mounted root (nfs filesystem) on device 0:14.
[    7.793333] devtmpfs: mounted
[    7.799822] Freeing unused kernel memory: 1024K
[    7.824930] Run /sbin/init as init process
[    8.827419] systemd[1]: systemd 247.6+ running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -ZSTD -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    8.851734] systemd[1]: Detected architecture arm.

Welcome to NXP i.MX Release Distro 5.10-hardknott (hardknott)!

[    8.920276] systemd[1]: Set hostname to <desk-mx6>.
[    9.231038] systemd-sysv-generator[173]: SysV service '/etc/init.d/umountfs' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    9.258823] systemd-sysv-generator[173]: SysV service '/etc/init.d/save-rtc.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    9.291447] systemd-sysv-generator[173]: SysV service '/etc/init.d/alignment.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    9.332636] systemd-sysv-generator[173]: SysV service '/etc/init.d/halt' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    9.361932] systemd-sysv-generator[173]: SysV service '/etc/init.d/umountnfs.sh' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    9.396575] systemd-sysv-generator[173]: SysV service '/etc/init.d/single' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    9.424326] systemd-sysv-generator[173]: SysV service '/etc/init.d/reboot' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    9.455005] systemd-sysv-generator[173]: SysV service '/etc/init.d/rc.local' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[    9.484908] systemd-sysv-generator[173]: SysV service '/etc/init.d/sendsigs' lacks a native systemd unit file. Automatically generating a unit file for compatibility. Please update package to include a native systemd unit file, in order to make it more safe and robust.
[   11.567899] systemd[1]: Queued start job for default target Multi-User System.
[   11.580549] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[   11.616203] systemd[1]: Created slice system-modprobe.slice.
[  OK  ] Created slice system-modprobe.slice.
[   11.656081] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[   11.695613] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[   11.735388] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[   11.775212] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password R…uests to Wall Directory Watch.
[   11.815542] systemd[1]: Reached target Host and Network Name Lookups.
[  OK  ] Reached target Host and Network Name Lookups.
[   11.854669] systemd[1]: Reached target Paths.
[  OK  ] Reached target Paths.
[   11.884813] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[   11.924723] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[   11.954934] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[   11.989713] systemd[1]: Listening on RPCbind Server Activation Socket.
[  OK  ] Listening on RPCbind Server Activation Socket.
[   12.024748] systemd[1]: Reached target RPC Port Mapper.
[  OK  ] Reached target RPC Port Mapper.
[   12.069211] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[   12.105496] systemd[1]: Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on initctl Compatibility Named Pipe.
[   12.246654] systemd[1]: Condition check resulted in Journal Audit Socket being skipped.
[   12.258379] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[   12.296158] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[   12.339347] systemd[1]: Listening on Network Service Netlink Socket.
[  OK  ] Listening on Network Service Netlink Socket.
[   12.383908] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[   12.425793] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[   12.468365] systemd[1]: Listening on User Database Manager Socket.
[  OK  ] Listening on User Database Manager Socket.
[   12.505788] systemd[1]: Condition check resulted in Huge Pages File System being skipped.
[   12.515313] systemd[1]: Condition check resulted in POSIX Message Queue File System being skipped.
[   12.531366] systemd[1]: Mounting Kernel Debug File System...
         Mounting Kernel Debug File System...
[   12.566026] systemd[1]: Condition check resulted in Kernel Trace File System being skipped.
[   12.590997] systemd[1]: Mounting Temporary Directory (/tmp)...
         Mounting Temporary Directory (/tmp)...
[   12.647902] systemd[1]: Starting Create list of static device nodes for the current kernel...
         Starting Create list of st…odes for the current kernel...
[   12.701636] systemd[1]: Starting Load Kernel Module configfs...
         Starting Load Kernel Module configfs...
[   12.751542] systemd[1]: Starting Load Kernel Module drm...
         Starting Load Kernel Module drm...
[   12.799993] systemd[1]: Starting Load Kernel Module fuse...
         Starting Load Kernel Module fuse...
[   12.845684] systemd[1]: Starting RPC Bind...
         Starting RPC Bind...
[   12.876744] systemd[1]: Condition check resulted in File System Check on Root Device being skipped.
[   12.887820] systemd[1]: systemd-journald.service: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[   12.901102] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[   12.913776] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[   12.976703] systemd[1]: Condition check resulted in Load Kernel Modules being skipped.
[   13.001090] systemd[1]: Starting Remount Root and Kernel File Systems...
         Starting Remount Root and Kernel File Systems...
[   13.051337] systemd[1]: Starting Apply Kernel Variables...
         Starting Apply Kernel Variables...
[   13.101267] systemd[1]: Starting Coldplug All udev Devices...
         Starting Coldplug All udev Devices...
[   13.155607] systemd[1]: Starting Setup Virtual Console...
         Starting Setup Virtual Console...
[   13.197438] systemd[1]: Started RPC Bind.
[  OK  ] Started RPC Bind.
[   13.248196] systemd[1]: Mounted Kernel Debug File System.
[  OK  ] Mounted Kernel Debug File System.
[   13.328358] systemd[1]: Mounted Temporary Directory (/tmp).
[  OK  ] Mounted Temporary Directory (/tmp).
[   13.366994] systemd[1]: Finished Create list of static device nodes for the current kernel.
[  OK  ] Finished Create list of st… nodes for the current kernel.
[   13.416146] systemd[1]: modprobe@configfs.service: Succeeded.
[   13.428848] systemd[1]: Finished Load Kernel Module configfs.
[  OK  ] Finished Load Kernel Module configfs.
[   13.445411] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Finished Load Kernel Module fuse.
[  OK  ] Finished Remount Root and Kernel File Systems.
[  OK  ] Finished Apply Kernel Variables.
[  OK  ] Finished Setup Virtual Console.
         Mounting FUSE Control File System...
         Mounting Kernel Configuration File System...
         Starting Flush Journal to Persistent Storage...
         Starting Create Static Device Nodes in /dev...
[  OK  ] Mounted FUSE Control File System.
[   13.873210] systemd-journald[182]: Received client request to flush runtime journal.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Finished Flush Journal to Persistent Storage.
[  OK  ] Finished Create Static Device Nodes in /dev.
[  OK  ] Reached target Local File Systems (Pre).
         Mounting /var/volatile...
         Starting Rule-based Manage…for Device Events and Files...
[  OK  ] Mounted /var/volatile.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Finished Coldplug All udev Devices.
[  OK  ] Finished Load/Save Random Seed.
[  OK  ] Started Rule-based Manager for Device Events and Files.
         Starting Start Psplash Boot Screen...
[  OK  ] Started Start Psplash Boot Screen.
[  OK  ] Started Start psplash-syst…progress communication helper.
[  OK  ] Finished Create Volatile Files and Directories.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Reached target System Time Set.
[  OK  ] Reached target System Time Synchronized.
         Starting Update UTMP about System Boot/Shutdown...
[  OK  ] Finished Update UTMP about System Boot/Shutdown.
[  OK  ] Created slice system-systemd\x2dbacklight.slice.
         Starting Load/Save Screen …ness of backlight:backlight...
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Finished Load/Save Screen …htness of backlight:backlight.
[   17.001256] imx-sdma 20ec000.sdma: firmware found.
[   17.006848] imx-sdma 20ec000.sdma: loaded firmware 3.6
[   17.240271] ERROR: v4l2 capture: slave not found!
[   17.253579] ERROR: v4l2 capture: slave not found!
[  OK  ] Reached target Hardware activated USB gadget.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily rotation of log files.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
         Starting sshd.socket.
[  OK  ] Listening on sshd.socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Save/Restore Sound Card State...
[  OK  ] Started Job spooling tools.
[  OK  ] Started Periodic Command Scheduler.
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Configuration for i.MX GPU (Former rc_gpu.S).
         Starting IPv6 Packet Filtering Framework...
         Starting IPv4 Packet Filtering Framework...
         Starting Network Time Service (one-shot ntpdate mode)...
         Starting Telephony service...
[  OK  ] Started Updates psplash to basic.
[  OK  ] Started System Logging Service.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
         Starting OpenSSH Key Generation...
[FAILED] Failed to start Rotate log files.
See 'systemctl status logrotate.service' for details.
syslogd[568]: Error opening log file: /var/log/auth.log: No such file or directory
syslogd[568]: Error opening log file: /var/log/syslog: No such file or directory
[  OK  ] Finished Save/Restore Sound Card State.
syslogd[568]: Error opening log file: /var/log/kern.log: No such file or directory
syslogd[568]: Error opening log file: /var/log/mail.log: No such file or directory
syslogd[568]: Error opening log file: /var/log/mail.err: No such file or directory
syslogd[568]: Error opening log file: /var/log/messages: No such file or directory
[  OK  ] Finished IPv6 Packet Filtering Framework.
[  OK  ] Finished IPv4 Packet Filtering Framework.
[  OK  ] Finished Network Time Service (one-shot ntpdate mode).
[  OK  ] Finished OpenSSH Key Generation.
[  OK  ] Started Telephony service.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Reached target Network (Pre).
[  OK  ] Reached target Sound Card.
[  OK  ] Listening on Load/Save RF …itch Status /dev/rfkill Watch.
         Starting Connection service...
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
         Starting Network Service...
[  OK  ] Stopped Network Time Synchronization.
[FAILED] Failed to start Network Time Synchronization.
See 'systemctl status systemd-timesyncd.service' for details.
[  OK  ] Finished Load Kernel Module drm.
[  OK  ] Found device /dev/mmcblk0p2.
         Starting File System Check on /dev/mmcblk0p2...
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
         Starting Load/Save RF Kill Switch Status...
[  OK  ] Started Connection service.
         Starting Avahi mDNS/DNS-SD Stack...
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
[  OK  ] Found device /dev/mmcblk0p1.
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Network Service.
[  OK  ] Finished Load Kernel Module drm.
         Starting File System Check on /dev/mmcblk0p1...
[FAILED] Failed to start Hostname Service.
See 'systemctl status systemd-hostnamed.service' for details.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
         Starting WPA supplicant...
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
[  OK  ] Finished Load Kernel Module drm.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
[  OK  ] Finished File System Check on /dev/mmcblk0p2.
         Mounting /run/media/mmcblk0p2...
[  OK  ] Finished Load Kernel Module drm.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Started WPA supplicant.
[  OK  ] Reached target Network.
[  OK  ] Started NFS status monitor for NFSv2/3 locking..
[FAILED] Failed to start Respond to IPv6 Node Information Queries.
See 'systemctl status ninfod.service' for details.
[  OK  ] Started Update psplash to network.
         Starting Terminate Psplash Boot Screen...
         Starting /etc/rc.local Compatibility...
[FAILED] Failed to start Network Router Discovery Daemon.
See 'systemctl status rdisc.service' for details.
[  OK  ] Stopped User Login Management.
         Starting Load Kernel Module drm...
[  OK  ] Finished Terminate Psplash Boot Screen.
[  OK  ] Finished Load Kernel Module drm.
[FAILED] Failed to start User Login Management.
See 'systemctl status systemd-logind.service' for details.
[  OK  ] Started /etc/rc.local Compatibility.
[  OK  ] Started Getty on tty1.
[  OK  ] Started Serial Getty on ttymxc2.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Multi-User System.
         Starting Update UTMP about System Runlevel Changes...
[  OK  ] Finished Update UTMP about System Runlevel Changes.
[   23.259732] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[  OK  ] Mounted /run/media/mmcblk0p2.
[  OK  ] Finished File System Check on /dev/mmcblk0p1.
         Mounting /run/media/mmcblk0p1...
[  OK  ] Mounted /run/media/mmcblk0p1.

NXP i.MX Release Distro 5.10-hardknott desk-mx6 ttymxc2

desk-mx6 login: