Hi @neuberfran, Okay. I figured this out. They haven’t tested their directions in a while, the “core-image-base-imx7d-pico.sdimg” blows out the version of u-boot on the eMMC, thus making it not boot. So here is revised 17 step directions, fully teted on my board.
1: Switch board to USB boot mode:
2: On your development PC copy SPL to the Board:
sudo ./imx_usb SPL
PC output:
voodoo@fx8350-desktop:~/imx_usb_loader$ sudo ./imx_usb SPL
config file <.//imx_usb.conf>
vid=0x066f pid=0x3780 file_name=mx23_usb_work.conf
vid=0x15a2 pid=0x004f file_name=mx28_usb_work.conf
vid=0x15a2 pid=0x0052 file_name=mx50_usb_work.conf
vid=0x15a2 pid=0x0054 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0063 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0071 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x007d file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0080 file_name=mx6ull_usb_work.conf
vid=0x1fc9 pid=0x0128 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0076 file_name=mx7_usb_work.conf
vid=0x1fc9 pid=0x0126 file_name=mx7ulp_usb_work.conf
vid=0x15a2 pid=0x0041 file_name=mx51_usb_work.conf
vid=0x15a2 pid=0x004e file_name=mx53_usb_work.conf
vid=0x15a2 pid=0x006a file_name=vybrid_usb_work.conf
vid=0x066f pid=0x37ff file_name=linux_gadget.conf
vid=0x1b67 pid=0x4fff file_name=mx6_usb_sdp_spl.conf
vid=0x0525 pid=0xb4a4 file_name=mx6_usb_sdp_spl.conf
vid=0x1fc9 pid=0x012b file_name=mx8mq_usb_work.conf
vid=0x1fc9 pid=0x0134 file_name=mx8mm_usb_work.conf
vid=0x1fc9 pid=0x013e file_name=mx8mn_usb_work.conf
vid=0x3016 pid=0x1001 file_name=mx8m_usb_sdp_spl.conf
config file <.//mx7_usb_work.conf>
parse .//mx7_usb_work.conf
Trying to open device vid=0x15a2 pid=0x0076
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename SPL
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 3
jump_addr 0x00000000
== end work item
No DCD table
loading binary file(SPL) to 00910400, skip=0, fsize=ec00 type=aa
<<<60416, 60416 bytes>>>
succeeded (security 0x56787856, status 0x88888888)
jumping to 0x00910400
Board Output:
U-Boot SPL 2018.11+fslc+g6e25ce6f3c (Aug 07 2020 - 15:34:09 +0000)
Trying to boot from USB SDP
SDP: initialize...
SDP: handle requests...
3: copy u-boot.img with your development PC:
sudo ./imx_usb u-boot.img
PC Output:
voodoo@fx8350-desktop:~/imx_usb_loader$ sudo ./imx_usb u-boot.img
config file <.//imx_usb.conf>
vid=0x066f pid=0x3780 file_name=mx23_usb_work.conf
vid=0x15a2 pid=0x004f file_name=mx28_usb_work.conf
vid=0x15a2 pid=0x0052 file_name=mx50_usb_work.conf
vid=0x15a2 pid=0x0054 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0063 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0071 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x007d file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0080 file_name=mx6ull_usb_work.conf
vid=0x1fc9 pid=0x0128 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0076 file_name=mx7_usb_work.conf
vid=0x1fc9 pid=0x0126 file_name=mx7ulp_usb_work.conf
vid=0x15a2 pid=0x0041 file_name=mx51_usb_work.conf
vid=0x15a2 pid=0x004e file_name=mx53_usb_work.conf
vid=0x15a2 pid=0x006a file_name=vybrid_usb_work.conf
vid=0x066f pid=0x37ff file_name=linux_gadget.conf
vid=0x1b67 pid=0x4fff file_name=mx6_usb_sdp_spl.conf
vid=0x0525 pid=0xb4a4 file_name=mx6_usb_sdp_spl.conf
vid=0x1fc9 pid=0x012b file_name=mx8mq_usb_work.conf
vid=0x1fc9 pid=0x0134 file_name=mx8mm_usb_work.conf
vid=0x1fc9 pid=0x013e file_name=mx8mn_usb_work.conf
vid=0x3016 pid=0x1001 file_name=mx8m_usb_sdp_spl.conf
config file <.//mx6_usb_sdp_spl.conf>
parse .//mx6_usb_sdp_spl.conf
Trying to open device vid=0x0525 pid=0xb4a4
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename u-boot.img
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 3
jump_addr 0x00000000
== end work item
loading binary file(u-boot.img) to 877fffc0, skip=0, fsize=76090 type=aa
<<<483472, 483472 bytes>>>
succeeded (security 0x56787856, status 0x88888888)
jumping to 0x877fffc0
Board Output:
Downloading file of size 483472 to 0x877fffc0... done
Jumping to header at 0x877fffc0
Header Tag is not an IMX image
U-Boot 2018.11+fslc+g6e25ce6f3c (Aug 07 2020 - 15:34:09 +0000)
CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 35C
Reset cause: POR
Board: i.MX7D PICOSOM
I2C: ready
DRAM: 512 MiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: FEC0
Hit any key to stop autoboot: 0
=>
4: On Board in u-boot run a few default commands:
env default -f -a
mmc partconf 0 0 7 0
saveenv
dfu 0 mmc 0
Board Output:
=> env default -f -a
## Resetting to default environment
=> mmc partconf 0 0 7 0
=> saveenv
Saving Environment to MMC... Writing to redundant MMC(0)... OK
=> dfu 0 mmc 0
5: With DFU utils install SPL:
PC Output:
voodoo@fx8350-desktop:~/imx_usb_loader$ sudo dfu-util -D SPL -a spl
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0525:a4a5
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device
Download [=========================] 100% 60416 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Board Output:
#DOWNLOAD ... OK
Ctrl+C to exit ...
6: With DFU utils install u-boot.img:
sudo dfu-util -D u-boot.img -a u-boot
PC Output:
voodoo@fx8350-desktop:~/imx_usb_loader$ sudo dfu-util -D u-boot.img -a u-boot
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0525:a4a5
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device
Download [=========================] 100% 483472 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Board Ouput:
#DOWNLOAD ... OK
Ctrl+C to exit ...
7: Board: issue Ctrl+C to stop dfu:
8: Shutdown board, and reset Jumpers for booting off eMMC:
9: Power Board, but stop it from booting past u-boot:
Board Output:
U-Boot 2018.11+fslc+g6e25ce6f3c (Aug 07 2020 - 15:34:09 +0000)
CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 30C
Reset cause: POR
Board: i.MX7D PICOSOM
I2C: ready
DRAM: 512 MiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0
Loading Environment from MMC... OK
In: serial
Out: serial
Err: serial
Net: FEC0
Hit any key to stop autoboot: 0
=>
10: Board: enable usb flash drive:
ums 0 mmc 0
Board Output:
=> ums 0 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x720000
PC Output:
voodoo@fx8350-desktop:~/mender-nxp/build/tmp/deploy/images/imx7d-pico$ lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232.9G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
└─sda2 8:2 0 232.4G 0 part /
sdb 8:16 1 3.6G 0 disk
└─sdb1 8:17 1 3.6G 0 part
11: install core-image-base-imx7d-pico.sdimg to board
sudo dd if=core-image-base-imx7d-pico.sdimg of=/dev/sdb bs=1M ; sudo sync
PC Ouput:
voodoo@fx8350-desktop:~/mender-nxp/build/tmp/deploy/images/imx7d-pico$ sudo dd if=core-image-base-imx7d-pico.sdimg of=/dev/sdb bs=1M ; sudo sync
12: Board: issue Ctrl+C to stop ums after dd completes:
Board Output:
=> ums 0 mmc 0
UMS: LUN 0, dev 0, hwpart 0, sector 0x0, count 0x720000
CTRL+C - Operation aborted
13: Board: restart DFU:
dfu 0 mmc 0
Board Output:
=> dfu 0 mmc 0
14: With DFU utils re-install SPL:
PC Output:
voodoo@fx8350-desktop:~/imx_usb_loader$ sudo dfu-util -D SPL -a spl
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0525:a4a5
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #0 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device
Download [=========================] 100% 60416 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Board Output:
#DOWNLOAD ... OK
Ctrl+C to exit ...
15: With DFU utils re-install u-boot.img:
sudo dfu-util -D u-boot.img -a u-boot
PC Output:
voodoo@fx8350-desktop:~/imx_usb_loader$ sudo dfu-util -D u-boot.img -a u-boot
dfu-util 0.9
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2016 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to http://sourceforge.net/p/dfu-util/tickets/
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
Opening DFU capable USB device...
ID 0525:a4a5
Run-time device DFU version 0110
Claiming USB DFU Interface...
Setting Alternate Setting #1 ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 0110
Device returned transfer size 4096
Copying data from PC to DFU device
Download [=========================] 100% 483472 bytes
Download done.
state(7) = dfuMANIFEST, status(0) = No error condition is present
state(2) = dfuIDLE, status(0) = No error condition is present
Done!
Board Ouput:
#DOWNLOAD ... OK
Ctrl+C to exit ...
16: Board: issue Ctrl+C to stop dfu and reset board:
17: Board: Enjoy booting into Yocto:
U-Boot SPL 2018.11+fslc+g6e25ce6f3c (Aug 07 2020 - 15:34:09 +0000)
Trying to boot from MMC1
U-Boot 2018.11+fslc+g6e25ce6f3c (Aug 07 2020 - 15:34:09 +0000)
CPU: Freescale i.MX7D rev1.2 1000 MHz (running at 792 MHz)
CPU: Commercial temperature grade (0C to 95C) at 35C
Reset cause: POR
Board: i.MX7D PICOSOM
I2C: ready
DRAM: 512 MiB
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
MMC: FSL_SDHC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment
In: serial
Out: serial
Err: serial
Net: FEC0
Hit any key to stop autoboot: 0
Saving Environment to MMC... Writing to redundant MMC(0)... OK
switch to partitions #0, OK
mmc0(part 0) is current device
8527288 bytes read in 324 ms (25.1 MiB/s)
32859 bytes read in 100 ms (320.3 KiB/s)
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300b05a
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.20.0-rc6-fslc+gbf414f71d713 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Fri Aug 7 15:27:44 UTC 2020
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: TechNexion PICO-IMX7D Board and PI baseboard
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 64 MiB at 0x9c000000
[ 0.000000] random: get_random_bytes called from start_kernel+0x8c/0x470 with crng_init=0
[ 0.000000] percpu: Embedded 18 pages/cpu @(ptrval) s41896 r8192 d23640 u73728
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttymxc4,115200 root=/dev/mmcblk2p2 rootwait rw
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 428928K/524288K available (11264K kernel code, 895K rwdata, 3692K rodata, 1024K init, 7619K bss, 29824K reserved, 65536K cma-reserved, 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 : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (12256 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 896 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) (7620 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Running RCU self tests
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] rcu: RCU event tracing is enabled.
[ 0.000000] rcu: RCU lockdep checking is enabled.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 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] arch_timer: cp15 timer(s) running at 8.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x1d854df40, max_idle_ns: 440795202120 ns
[ 0.000009] sched_clock: 56 bits at 8MHz, resolution 125ns, wraps every 2199023255500ns
[ 0.000034] Switching to timer-based delay loop, resolution 125ns
[ 0.000606] Switching to timer-based delay loop, resolution 41ns
[ 0.000638] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000666] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002361] Console: colour dummy device 80x30
[ 0.002408] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.002428] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.002447] ... MAX_LOCK_DEPTH: 48
[ 0.002466] ... MAX_LOCKDEP_KEYS: 8191
[ 0.002485] ... CLASSHASH_SIZE: 4096
[ 0.002505] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.002524] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.002543] ... CHAINHASH_SIZE: 32768
[ 0.002562] memory used by lock dependency info: 4623 kB
[ 0.002582] per task-struct memory footprint: 1536 bytes
[ 0.002686] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.002716] pid_max: default: 32768 minimum: 301
[ 0.003114] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003144] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.005946] CPU: Testing write buffer coherency: ok
[ 0.007379] CPU0: update cpu_capacity 1024
[ 0.007410] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.009629] Setting up static identity map for 0x80100000 - 0x80100078
[ 0.010504] rcu: Hierarchical SRCU implementation.
[ 0.012368] smp: Bringing up secondary CPUs ...
[ 0.014746] smp: Brought up 1 node, 1 CPU
[ 0.014775] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.014797] CPU: All CPU(s) started in SVC mode.
[ 0.017773] devtmpfs: initialized
[ 0.044343] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.045295] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.045371] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.048424] pinctrl core: initialized pinctrl subsystem
[ 0.053525] NET: Registered protocol family 16
[ 0.078986] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.082778] cpuidle: using governor menu
[ 0.084280] No ATAGs?
[ 0.084563] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.084686] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.097265] imx7d-pinctrl 302c0000.iomuxc-lpsr: initialized IMX pinctrl driver
[ 0.100118] imx7d-pinctrl 30330000.iomuxc: initialized IMX pinctrl driver
[ 0.102967] vdd1p0d: supplied by regulator-dummy
[ 0.103385] vdd1p0d: Bringing 0uV into 800000-800000uV
[ 0.104545] vdd1p2: supplied by regulator-dummy
[ 0.198507] mxs-dma 33000000.dma-apbh: initialized
[ 0.202497] regulator-usb-otg1-vbus GPIO handle specifies active low - ignored
[ 0.206735] vgaarb: loaded
[ 0.207946] SCSI subsystem initialized
[ 0.209398] usbcore: registered new interface driver usbfs
[ 0.209612] usbcore: registered new interface driver hub
[ 0.209907] usbcore: registered new device driver usb
[ 0.210251] usb_phy_generic usbphynop1: usbphynop1 supply vcc not found, using dummy regulator
[ 0.210679] usb_phy_generic usbphynop1: Linked as a consumer to regulator.0
[ 0.211265] usb_phy_generic usbphynop3: usbphynop3 supply vcc not found, using dummy regulator
[ 0.211503] usb_phy_generic usbphynop3: Linked as a consumer to regulator.0
[ 0.212116] usb_phy_generic usbphynop2: usbphynop2 supply vcc not found, using dummy regulator
[ 0.212387] usb_phy_generic usbphynop2: Linked as a consumer to regulator.0
[ 0.215853] i2c i2c-0: IMX I2C adapter registered
[ 0.215902] i2c i2c-0: can't use DMA, using PIO instead.
[ 0.217276] i2c i2c-1: IMX I2C adapter registered
[ 0.217320] i2c i2c-1: can't use DMA, using PIO instead.
[ 0.219043] i2c i2c-3: IMX I2C adapter registered
[ 0.219084] i2c i2c-3: can't use DMA, using PIO instead.
[ 0.219453] media: Linux media interface: v0.10
[ 0.219580] videodev: Linux video capture interface: v2.00
[ 0.220070] pps_core: LinuxPPS API ver. 1 registered
[ 0.220097] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.220162] PTP clock support registered
[ 0.221067] Advanced Linux Sound Architecture Driver Initialized.
[ 0.224029] Bluetooth: Core ver 2.22
[ 0.224150] NET: Registered protocol family 31
[ 0.224174] Bluetooth: HCI device and connection manager initialized
[ 0.224277] Bluetooth: HCI socket layer initialized
[ 0.224316] Bluetooth: L2CAP socket layer initialized
[ 0.224455] Bluetooth: SCO socket layer initialized
[ 0.226767] clocksource: Switched to clocksource arch_sys_counter
[ 0.480941] VFS: Disk quotas dquot_6.6.0
[ 0.481117] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.507655] NET: Registered protocol family 2
[ 0.509906] tcp_listen_portaddr_hash hash table entries: 256 (order: 1, 10240 bytes)
[ 0.509988] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.510099] TCP bind hash table entries: 4096 (order: 5, 147456 bytes)
[ 0.510690] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.511153] UDP hash table entries: 256 (order: 2, 20480 bytes)
[ 0.511281] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[ 0.511756] NET: Registered protocol family 1
[ 0.513799] RPC: Registered named UNIX socket transport module.
[ 0.513895] RPC: Registered udp transport module.
[ 0.513918] RPC: Registered tcp transport module.
[ 0.513941] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.518074] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.522435] Initialise system trusted keyrings
[ 0.523303] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.544510] NFS: Registering the id_resolver key type
[ 0.544661] Key type id_resolver registered
[ 0.544754] Key type id_legacy registered
[ 0.544927] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.546610] fuse init (API version 7.28)
[ 0.579051] Key type asymmetric registered
[ 0.579234] Asymmetric key parser 'x509' registered
[ 0.579432] io scheduler noop registered
[ 0.579460] io scheduler deadline registered
[ 0.579869] io scheduler cfq registered (default)
[ 0.579897] io scheduler mq-deadline registered
[ 0.579921] io scheduler kyber registered
[ 0.592115] imx-sdma 30bd0000.sdma: Direct firmware load for imx/sdma/sdma-imx7d.bin failed with error -2
[ 0.592235] imx-sdma 30bd0000.sdma: Falling back to syfs fallback for: imx/sdma/sdma-imx7d.bin
[ 0.602598] imx-pgc imx-pgc-domain.1: DMA mask not set
[ 0.602926] imx-pgc imx-pgc-domain.1: Linked as a consumer to regulator.1
[ 0.606317] pfuze100-regulator 3-0008: Full layer: 1, Metal layer: 1
[ 0.607677] pfuze100-regulator 3-0008: FAB: 0, FIN: 0
[ 0.607707] pfuze100-regulator 3-0008: pfuze3000 found.
[ 0.634349] 30a70000.serial: ttymxc4 at MMIO 0x30a70000 (irq = 57, base_baud = 15000000) is a IMX
[ 1.529018] printk: console [ttymxc4] enabled
[ 1.536635] 30a80000.serial: ttymxc5 at MMIO 0x30a80000 (irq = 58, base_baud = 1500000) is a IMX
[ 1.547711] 30a90000.serial: ttymxc6 at MMIO 0x30a90000 (irq = 59, base_baud = 15000000) is a IMX
[ 1.594621] brd: module loaded
[ 1.626252] loop: module loaded
[ 1.637414] spi_imx 30840000.spi: dma setup error -19, use pio
[ 1.644673] spi_imx 30840000.spi: probed
[ 1.650409] libphy: Fixed MDIO Bus: probed
[ 1.656073] CAN device driver interface
[ 1.660750] flexcan 30a00000.can: 30a00000.can supply xceiver not found, using dummy regulator
[ 1.669693] flexcan 30a00000.can: Linked as a consumer to regulator.0
[ 1.678150] flexcan 30a00000.can: device registered (reg_base=(ptrval), irq=52)
[ 1.685875] flexcan 30a10000.can: 30a10000.can supply xceiver not found, using dummy regulator
[ 1.694809] flexcan 30a10000.can: Linked as a consumer to regulator.0
[ 1.702825] flexcan 30a10000.can: device registered (reg_base=(ptrval), irq=53)
[ 1.714167] fec 30be0000.ethernet: 30be0000.ethernet supply phy not found, using dummy regulator
[ 1.723333] fec 30be0000.ethernet: Linked as a consumer to regulator.0
[ 1.734037] pps pps0: new PPS source ptp0
[ 1.740779] libphy: fec_enet_mii_bus: probed
[ 1.749191] fec 30be0000.ethernet eth0: registered PHC device 0
[ 1.756978] usbcore: registered new interface driver r8152
[ 1.762599] usbcore: registered new interface driver lan78xx
[ 1.768619] usbcore: registered new interface driver asix
[ 1.774135] usbcore: registered new interface driver ax88179_178a
[ 1.780514] usbcore: registered new interface driver cdc_ether
[ 1.786503] usbcore: registered new interface driver smsc95xx
[ 1.792509] usbcore: registered new interface driver net1080
[ 1.798428] usbcore: registered new interface driver cdc_subset
[ 1.804462] usbcore: registered new interface driver zaurus
[ 1.810207] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 1.817827] usbcore: registered new interface driver cdc_ncm
[ 1.823514] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.830115] ehci-pci: EHCI PCI platform driver
[ 1.834681] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 1.840879] usbcore: registered new interface driver usb-storage
[ 1.851021] imx_usb 30b10000.usb: Linked as a consumer to regulator.6
[ 1.866234] imx_usb 30b20000.usb: Linked as a consumer to regulator.7
[ 1.876002] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 1.881343] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 1.916818] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 1.927296] hub 1-0:1.0: USB hub found
[ 1.931347] hub 1-0:1.0: 1 port detected
[ 1.942403] input: 30370000.snvs:snvs-powerkey as /devices/platform/soc/30000000.aips-bus/30370000.snvs/30370000.snvs:snvs-powerkey/input/input0
[ 2.288147] input: generic ft5x06 (82) as /devices/platform/soc/30800000.aips-bus/30a50000.i2c/i2c-3/3-0038/input/input1
[ 2.305852] snvs_rtc 30370000.snvs:snvs-rtc-lp: rtc core: registered 30370000.snvs:snvs-rtc-lp as rtc0
[ 2.315639] i2c /dev entries driver
[ 2.328041] imx2-wdt 30280000.wdog: timeout 60 sec (nowayout=0)
[ 2.334759] Bluetooth: HCI UART driver ver 2.3
[ 2.339305] Bluetooth: HCI UART protocol H4 registered
[ 2.344918] Bluetooth: HCI UART protocol LL registered
[ 2.356122] CPUidle arm: CPU 0 failed to init idle CPU ops
[ 2.364655] sdhci: Secure Digital Host Controller Interface driver
[ 2.370926] sdhci: Copyright(c) Pierre Ossman
[ 2.375301] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.382511] sdhci-esdhc-imx 30b40000.usdhc: Got CD GPIO
[ 2.388233] sdhci-esdhc-imx 30b40000.usdhc: Linked as a consumer to regulator.5
[ 2.431962] mmc0: SDHCI controller on 30b40000.usdhc [30b40000.usdhc] using ADMA
[ 2.440625] sdhci-esdhc-imx 30b50000.usdhc: allocated mmc-pwrseq
[ 2.447024] sdhci-esdhc-imx 30b50000.usdhc: Linked as a consumer to regulator.3
[ 2.489617] mmc1: SDHCI controller on 30b50000.usdhc [30b50000.usdhc] using ADMA
[ 2.517918] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 2.527187] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.534607] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.540223] mmc2: SDHCI controller on 30b60000.usdhc [30b60000.usdhc] using ADMA
[ 2.552062] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 2.563094] caam 30900000.caam: Entropy delay = 3200
[ 2.568499] caam 30900000.caam: Instantiated RNG4 SH0
[ 2.627911] caam 30900000.caam: Instantiated RNG4 SH1
[ 2.632987] caam 30900000.caam: device ID = 0x0a16030000000000 (Era 8)
[ 2.639567] caam 30900000.caam: job rings = 3, qi = 0
[ 2.670226] random: fast init done
[ 2.698028] mmc2: new DDR MMC card at address 0001
[ 2.709318] mmcblk2: mmc2:0001 M62704 3.56 GiB
[ 2.715616] mmcblk2boot0: mmc2:0001 M62704 partition 1 2.00 MiB
[ 2.725909] mmcblk2boot1: mmc2:0001 M62704 partition 2 2.00 MiB
[ 2.735616] mmcblk2rpmb: mmc2:0001 M62704 partition 3 512 KiB, chardev (244:0)
[ 2.743410] caam algorithms registered in /proc/crypto
[ 2.756695] mmcblk2: p1 p2 p3 p4
[ 2.791538] mmc1: new high speed SDIO card at address 0001
[ 2.800826] caam_jr 30901000.jr0: registering rng-caam
[ 2.808004] caam 30900000.caam: caam pkc algorithms registered in /proc/crypto
[ 2.816172] usbcore: registered new interface driver usbhid
[ 2.821956] usbhid: USB HID core driver
[ 2.834179] sgtl5000 0-000a: Linked as a consumer to regulator.4
[ 2.840631] sgtl5000 0-000a: Linked as a consumer to regulator.8
[ 2.848736] sgtl5000 0-000a: sgtl5000 revision 0x11
[ 2.856471] sgtl5000 0-000a: Using internal LDO instead of VDDD: check ER1 erratum
[ 2.912694] NET: Registered protocol family 10
[ 2.920208] Segment Routing with IPv6
[ 2.924079] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 2.931829] NET: Registered protocol family 17
[ 2.936326] can: controller area network core (rev 20170425 abi 9)
[ 2.942919] NET: Registered protocol family 29
[ 2.947539] can: raw protocol (rev 20170425)
[ 2.951927] can: broadcast manager protocol (rev 20170425 t)
[ 2.957674] can: netlink gateway (rev 20170425) max_hops=1
[ 2.963587] Key type dns_resolver registered
[ 2.968169] Registering SWP/SWPB emulation handler
[ 2.974317] Loading compiled-in X.509 certificates
[ 3.105790] imx_thermal tempmon: Commercial CPU temperature grade - max:95C critical:90C passive:85C
[ 3.138088] asoc-simple-card sound: sgtl5000 <-> 308a0000.sai mapping ok
[ 3.155342] snvs_rtc 30370000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01 00:00:00 UTC (0)
[ 3.165051] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 3.177521] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 3.186947] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 3.195610] platform regulatory.0: Falling back to syfs fallback for: regulatory.db
[ 3.220735] usb_otg1_vbus: disabling
[ 3.224786] VLDO2: disabling
[ 3.229487] ALSA device list:
[ 3.232577] #0: imx7-sgtl5000
[ 3.264829] EXT4-fs (mmcblk2p2): mounted filesystem with ordered data mode. Opts: (null)
[ 3.273436] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 3.283187] devtmpfs: mounted
[ 3.288479] Freeing unused kernel memory: 1024K
[ 3.293668] Run /sbin/init as init process
[ 3.490951] systemd[1]: systemd 239 running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[ 3.513884] systemd[1]: Detected architecture arm.
Welcome to Poky (Yocto Project Reference Distro) 2.6.4 (thud)!
[ 3.558726] systemd[1]: Set hostname to <imx7d-pico>.
[ 3.569132] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.575859] systemd[1]: Initializing machine ID from random generator.
[ 3.934249] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local system does not support BPF/cgroup based firewalling.
[ 3.952118] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalling.)
[ 4.239938] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.248299] systemd[1]: Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ 4.287088] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.297839] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 4.350429] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 4.389080] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Created slice system-getty.slice.
[ OK ] Listening on Journal Socket.
Mounting Kernel Debug File System...
[ OK ] Listening on Network Service Netlink Socket.
[ 4.592167] urandom_read: 6 callbacks suppressed
[ 4.592178] random: systemd: uninitialized urandom read (16 bytes read)
Mounting FUSE Control File System...
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on udev Control Socket.
Starting Apply Kernel Variables...
Starting Remount Root and Kernel File Systems...
[ OK ] Reached target Remote File Systems.
Starting udev Coldplug all Devices...
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Reached target Slices.
[ OK ] Reached target Swap.
Mounting Temporary Directory (/tmp)...
[ 4.871353] EXT4-fs (mmcblk2p2): re-mounted. Opts: (null)
Starting Journal Service...
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Mounted Temporary Directory (/tmp).
Starting Rebuild Hardware Database...
Starting Create System Users...
[ OK ] Started Create System Users.
Starting Create Static Device Nodes in /dev...
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ OK ] Started Create Static Device Nodes in /dev.
[ 5.850625] systemd-journald[232]: Received request to flush runtime journal from PID 1
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Containers.
Mounting /var/volatile...
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Rebuild Hardware Database.
Starting udev Kernel Device Manager...
[ OK ] Started udev Kernel Device Manager.
[ OK ] Found device /dev/ttymxc4.
[ 10.770891] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4339-sdio for chip BCM4339/2
[ 11.458657] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4339-sdio for chip BCM4339/2
[ 11.566525] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac4339-sdio.clm_blob failed with error -2
[ 11.576882] brcmfmac mmc1:0001:1: Falling back to syfs fallback for: brcm/brcmfmac4339-sdio.clm_blob
[ OK ] Found device /dev/mmcblk2p1.
[ OK ] Found device /dev/mmcblk2p4.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Mounting /data...
Mounting /uboot...
[ 13.924530] EXT4-fs (mmcblk2p4): mounted filesystem with ordered data mode. Opts: (null)
[ OK ] Mounted /data.
[ OK ] Mounted /uboot.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
Starting Rebuild Journal Catalog...
Starting Rebuild Dynamic Linker Cache...
[ OK ] Started Rebuild Journal Catalog.
[ OK ] Started Create Volatile Files and Directories.
Starting Run pending postinsts...
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
Starting Network Service...
[ OK ] Started Rebuild Dynamic Linker Cache.
[ OK ] Started Update UTMP about System Boot/Shutdown.
Starting Update is Completed...
[ OK ] Started Update is Completed.
[ OK ] Started Network Service.
[ 15.028377] Atheros 8035 ethernet 30be0000.ethernet-1:01: attached PHY driver [Atheros 8035 ethernet] (mii_bus:phy_addr=30be0000.ethernet-1:01, irq=POLL)
[ OK ] Started Run pending postinsts.
[ 15.080376] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Starting Network Name Resolution...
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Initialization.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on RPCbind Server Activation Socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Save/Restore Sound Card State...
[ OK ] Started Kernel Logging Service.
[ OK ] Started System Logging Service.
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started Boot script to demo Mender OTA updates.
Starting Login Service...
Starting Telephony service...
[ OK ] Started Serial Getty on ttymxc4.
[ OK ] Started Getty on tty1.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Network Name Resolution.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Reached target Sound Card.
[ OK ] Reached target Host and Network Name Lookups.
Starting Avahi mDNS/DNS-SD Stack...
[ OK ] Started Mender OTA update service.
[ OK ] Reached target Network.
[ OK ] Started Login Service.
[ OK ] Started Telephony service.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
Poky (Yocto Project Reference Distro) 2.6.4 imx7d-pico ttymxc4
imx7d-pico login: root
root@imx7d-pico:~# uname -r
4.20.0-rc6-fslc+gbf414f71d713
root@imx7d-pico:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
mmcblk2 179:0 0 3.6G 0 disk
|-mmcblk2p1 179:1 0 16M 0 part /uboot
|-mmcblk2p2 179:2 0 216M 0 part /
|-mmcblk2p3 179:3 0 216M 0 part
`-mmcblk2p4 179:4 0 128M 0 part /data
mmcblk2boot0 179:8 0 2M 1 disk
mmcblk2boot1 179:16 0 2M 1 disk
Regards,