Koan is proud to provide the unofficial Yocto Project Linux BSP for STM32MP1 based boards.
This project is not endorsed nor supported by ST.
ST OpenSTLinux is based on OE, our BSP extends the use of ST meta layers with Yocto, using latest commits on the branch 3.1 ‘dunfell’ on each meta layer. A ‘branch 2.6 ‘thud’ is also available.
At the moment only ST’s defined distros and images are supported out-of-the box, but you can work also with Poky ones with a little more effort.
One of the most interesting features of this approach is to have the Qt5 (release 5.11.2) support on the board and being able to generate a redistributable SDK toolchain to compile your Qt5 applications.
A direct link to the repo sources is available at GitHub
https://github.com/koansoftware/koan-stm32mp-bsp-repo
How To Prepare A Yocto Project Build Environment For STM32MP1
To get the BSP you need to have repo installed and use it as follows
Install The Repo Utility:
$ mkdir ~/bin
$ curl http://commondatastorage.googleapis.com/git-repo-downloads/repo ~/bin/repo
$ chmod a+x ~/bin/repo
Download The BSP Source:
$ PATH=${PATH}:~/bin
$ mkdir yocto-stm32mp1-koan
$ cd yocto-stm32mp1-koan
$ repo init -u https://github.com/koansoftware/koan-stm32mp-bsp-repo -b dunfell
$ repo sync
Setup The Build Environment:
Supported machines:
-
- stm32mp1-eval
evaluation boards (STM32MP157A-EV1 and STM32MP157C-EV1) - stm32mp1-disco
discovery boards (STM32MP157A-DK1 and STM32MP157C-DK2) - stm32mp1
generic board
- stm32mp1-eval
Supported distros:
-
- openstlinux-weston
with Wayland/Weston graphic backend usage - openstlinux-eglfs
dedicated to QT usage with the eglfs graphic backend
- openstlinux-x11
dedicated to X11 framework usage
- openstlinux-weston
Supported images:
-
- st-image-core
a basic core image with ssh server, several tools for kernel, audio, network
- st-image-weston
image with Wayland/weston UI (if openstlinux-weston distro is used). Contains weston UI, GTK+3 demo and all tools present on st-image-core
- st-example-image-qt
image which demonstrates an example of Qt usage (to use with openstlinux-eglfs distro) - st-example-image-x11
image which demonstrates an example of basic X11 usage (to use with openstlinux-x11 distro) - st-example-image-xfce
Image which demonstrates an example of X11 usage with XFCE as UI (to use with openstlinux-x11 distro)
- st-image-core
Note that st-example-* images have only demonstration purposes.
Example to create a new Yocto build directory with eglfs:
$ MACHINE=stm32mp1-disco DISTRO=openstlinux-eglfs source setup-environment build
Build Image:
Example to bake a Qt5 example image:
$ bitbake st-example-image-qt
At the end, enter in the scripts directory into build area and launch:
$ cd tmp-glibc/deploy/images/MACHINE_NAME/scripts
$ ./create_sdcard_from_flashlayout.sh ../flashlayout_IMAGE_NAME/..............
Then, flash as usual the obtained .raw file on a microSD:
$ sudo dd if=..............raw of=/dev/sdX bs=4M conv=fsync
To build a Qt5 cross-compile toolchain execute
$ bitbake meta-toolchain-qt5
Run Image:
Once you started your own baked image, execute these two commands before runing graphics applications:
$ psplash-drm-quit
$ export QT_QPA_EGLFS_ALWAYS_SET_MODE="1"
Support, training and consulting available upon request.
Need help? : Contact us
Boot Log:
NOTICE: CPU: STM32MP157CAC Rev.B
NOTICE: Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
NOTICE: Board: MB1272 Var2 Rev.C-01
INFO: Reset reason (0x10):
INFO: Reset due to a failure of VDD_CORE
INFO: Using SDMMC
INFO: Instance 1
INFO: Boot used partition fsbl1
INFO: Product_below_2v5=1: HSLVEN update is
INFO: destructive, no update as VDD>2.7V
NOTICE: BL2: v2.0(debug):
NOTICE: BL2: Built : 13:11:27, Jun 14 2019
INFO: BL2: Doing platform setup
INFO: PMIC version = 0x10
INFO: RAM: DDR3-1066/888 bin G 1x4Gb 533MHz v1.41
INFO: Memory size = 0x20000000 (512 MB)
INFO: BL2 runs SP_MIN setup
INFO: BL2: Loading image id 4
INFO: Loading image id=4 at address 0x2fff0000
INFO: Image id=4 loaded: 0x2fff0000 - 0x30000000
INFO: BL2: Loading image id 5
INFO: Loading image id=5 at address 0xc0100000
INFO: STM32 Image size : 748404
WARNING: Skip signature check (header option)
INFO: Image id=5 loaded: 0xc0100000 - 0xc01b6b74
INFO: read version 0 current version 0
NOTICE: BL2: Booting BL32
INFO: Entry point address = 0x2fff0000
INFO: SPSR = 0x1d3
INFO: PMIC version = 0x10
NOTICE: SP_MIN: v2.0(debug):
NOTICE: SP_MIN: Built : 13:11:27, Jun 14 2019
INFO: ARM GICv2 driver initialized
INFO: stm32mp HSI (18): Secure only
INFO: stm32mp HSE (20): Secure only
INFO: stm32mp PLL2 (27): Secure only
INFO: stm32mp PLL2_R (30): Secure only
INFO: SP_MIN: Initializing runtime services
INFO: SP_MIN: Preparing exit to normal world
U-Boot 2018.11-stm32mp-r2 (Jun 14 2019 - 13:10:07 +0000)
CPU: STM32MP157CAC Rev.B
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
Board: stm32mp1 in trusted mode (st,stm32mp157c-dk2)
Board: MB1272 Var2 Rev.C-01
Watchdog enabled
DRAM: 512 MiB
Clocks:
- MPU : 650 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
*******************************************
* WARNING 500mA power supply detected *
* Current too low, use a 3A power supply! *
*******************************************
NAND: 0 MiB
MMC: STM32 SDMMC2: 0, STM32 SDMMC2: 1
In: serial
Out: serial
Err: serial
Net: eth0: ethernet@5800a000
Boot over mmc0!
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:4...
Found /extlinux/extlinux.conf
Retrieving file: /extlinux/extlinux.conf
628 bytes read in 0 ms
Retrieving file: /extlinux/../splash.bmp
46180 bytes read in 3 ms (14.7 MiB/s)
Select the boot mode
1: stm32mp157c-dk2-sdcard
2: stm32mp157c-dk2-a7-examples-sdcard
3: stm32mp157c-dk2-m4-examples-sdcard
Enter choice: 3: stm32mp157c-dk2-m4-examples-sdcard
Retrieving file: /uImage
6555568 bytes read in 288 ms (21.7 MiB/s)
append: root=/dev/mmcblk0p6 rootwait rw console=ttySTM0,115200
Retrieving file: /stm32mp157c-dk2-m4-examples.dtb
70485 bytes read in 4 ms (16.8 MiB/s)
## Booting kernel from Legacy Image at c2000000 ...
Image Name: Linux-4.19.9
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 6555504 Bytes = 6.3 MiB
Load Address: c2000040
Entry Point: c2000040
Verifying Checksum ... OK
## Flattened Device Tree blob at c4000000
Booting using the fdt blob at 0xc4000000
XIP Kernel Image ... OK
Using Device Tree in place at c4000000, end c4014354
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.19.9 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Fri Jun 28 10:11:21 UTC 2019
[ 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: STMicroelectronics STM32MP157C-DK2 configured to run M4 examples
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node mcuram2@0x10000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0vring0@10040000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x10042000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0vring1@10042000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x10044000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@10044000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x30000000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node mcuram@0x30000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created DMA memory pool at 0x38000000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node retram@0x38000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 128 MiB at 0xd4000000
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] random: get_random_bytes called from start_kernel+0xa0/0x494 with crng_init=0
[ 0.000000] percpu: Embedded 17 pages/cpu @(ptrval) s40204 r8192 d21236 u69632
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 113680
[ 0.000000] Kernel command line: root=/dev/mmcblk0p6 rootwait rw console=ttySTM0,115200
[ 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: 306140K/458752K available (10240K kernel code, 816K rwdata, 2856K rodata, 1024K init, 208K bss, 21540K reserved, 131072K 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 : 0xdc800000 - 0xff800000 ( 560 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdc000000 ( 448 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (11232 kB)
[ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (1024 kB)
[ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 817 kB)
[ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 209 kB)
[ 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] Tasks RCU enabled.
[ 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] /soc/interrupt-controller@5000d000: bank0
[ 0.000000] /soc/interrupt-controller@5000d000: bank1
[ 0.000000] /soc/interrupt-controller@5000d000: bank2
[ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000028] Switching to timer-based delay loop, resolution 41ns
[ 0.001939] Console: colour dummy device 80x30
[ 0.001989] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.002012] pid_max: default: 32768 minimum: 301
[ 0.002249] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002270] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003281] CPU: Testing write buffer coherency: ok
[ 0.003785] CPU0: update cpu_capacity 1024
[ 0.003807] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.059769] Setting up static identity map for 0xc0100000 - 0xc0100060
[ 0.079759] rcu: Hierarchical SRCU implementation.
[ 0.119909] smp: Bringing up secondary CPUs ...
[ 0.200512] CPU1: update cpu_capacity 1024
[ 0.200524] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.200735] smp: Brought up 1 node, 2 CPUs
[ 0.200765] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[ 0.200775] CPU: All CPU(s) started in SVC mode.
[ 0.201929] devtmpfs: initialized
[ 0.228100] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.228610] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.228645] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.234708] pinctrl core: initialized pinctrl subsystem
[ 0.236871] NET: Registered protocol family 16
[ 0.243153] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.245600] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.245622] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.245936] Serial: AMBA PL011 UART driver
[ 0.248109] stm32-pm-domain pm_domain: domain core-ret-power-domain registered
[ 0.248145] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[ 0.248161] stm32-pm-domain pm_domain: domains probed
[ 0.262463] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOA bank added
[ 0.262822] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOB bank added
[ 0.263104] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOC bank added
[ 0.263392] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOD bank added
[ 0.263674] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOE bank added
[ 0.263937] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOF bank added
[ 0.264193] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOG bank added
[ 0.264481] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOH bank added
[ 0.264763] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOI bank added
[ 0.264973] stm32mp157-pinctrl soc:pin-controller@50002000: Pinctrl STM32 initialized
[ 0.265821] stm32mp157-pinctrl soc:pin-controller-z@54004000: GPIOZ bank added
[ 0.265850] stm32mp157-pinctrl soc:pin-controller-z@54004000: Pinctrl STM32 initialized
[ 0.285278] stm32-mdma 58000000.dma: STM32 MDMA driver registered
[ 0.290196] SCSI subsystem initialized
[ 0.291102] usbcore: registered new interface driver usbfs
[ 0.291182] usbcore: registered new interface driver hub
[ 0.291329] usbcore: registered new device driver usb
[ 0.291652] pps_core: LinuxPPS API ver. 1 registered
[ 0.291666] pps_core: Software ver. 5.3.6
[ 0.291700] PTP clock support registered
[ 0.291976] EDAC MC: Ver: 3.0.0
[ 0.292882] Advanced Linux Sound Architecture Driver Initialized.
[ 0.294495] clocksource: Switched to clocksource arch_sys_counter
[ 0.388463] NET: Registered protocol family 2
[ 0.389507] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[ 0.389559] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.389626] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.389723] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.389862] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.389908] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.390418] NET: Registered protocol family 1
[ 0.391332] RPC: Registered named UNIX socket transport module.
[ 0.391355] RPC: Registered udp transport module.
[ 0.391366] RPC: Registered tcp transport module.
[ 0.391377] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.392453] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.394687] Initialise system trusted keyrings
[ 0.395061] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.405826] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.406976] NFS: Registering the id_resolver key type
[ 0.407038] Key type id_resolver registered
[ 0.407051] Key type id_legacy registered
[ 0.407259] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.407741] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.408638] fuse init (API version 7.27)
[ 0.409326] pstore: using deflate compression
[ 0.412280] NET: Registered protocol family 38
[ 0.412309] Key type asymmetric registered
[ 0.412323] Asymmetric key parser 'x509' registered
[ 0.412422] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[ 0.412439] io scheduler noop registered
[ 0.412451] io scheduler deadline registered
[ 0.412690] io scheduler cfq registered (default)
[ 0.412706] io scheduler mq-deadline registered
[ 0.412719] io scheduler kyber registered
[ 0.414029] stm32-usbphyc 5a006000.usbphyc: Linked as a consumer to regulator.1
[ 0.414172] stm32-usbphyc 5a006000.usbphyc: Linked as a consumer to regulator.2
[ 0.414297] stm32-usbphyc 5a006000.usbphyc: Dropping the link to regulator.2
[ 0.414411] stm32-usbphyc 5a006000.usbphyc: Dropping the link to regulator.1
[ 0.419165] stm32-dma 48000000.dma: STM32 DMA driver registered
[ 0.498720] STM32 USART driver initialized
[ 0.500096] 4000e000.serial: ttySTM3 at MMIO 0x4000e000 (irq = 25, base_baud = 4000000) is a stm32-usart
[ 0.500386] serial serial0: tty port ttySTM3 registered
[ 0.500449] stm32-usart 4000e000.serial: interrupt mode used for rx (no dma)
[ 0.500467] stm32-usart 4000e000.serial: interrupt mode used for tx (no dma)
[ 0.501682] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 27, base_baud = 4000000) is a stm32-usart
[ 1.439606] console [ttySTM0] enabled
[ 1.443784] stm32-usart 40010000.serial: interrupt mode used for rx (no dma)
[ 1.450312] stm32-usart 40010000.serial: interrupt mode used for tx (no dma)
[ 1.465043] stm32-display-dsi 5a000000.dsi: Linked as a consumer to regulator.2
[ 1.474141] panel-orisetech-otm8009a 5a000000.dsi.0: 5a000000.dsi.0 supply power not found, using dummy regulator
[ 1.483172] panel-orisetech-otm8009a 5a000000.dsi.0: Linked as a consumer to regulator.0
[ 1.506592] brd: module loaded
[ 1.520928] loop: module loaded
[ 1.528717] libphy: Fixed MDIO Bus: probed
[ 1.532784] CAN device driver interface
[ 1.537620] stm32-dwmac 5800a000.ethernet: PTP uses main clock
[ 1.541997] stm32-dwmac 5800a000.ethernet: no reset control found
[ 1.548215] stm32-dwmac 5800a000.ethernet: No phy clock provided...
[ 1.555389] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[ 1.561287] stm32-dwmac 5800a000.ethernet: DWMAC4/5
[ 1.566385] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[ 1.573532] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[ 1.580879] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[ 1.587721] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[ 1.593952] stm32-dwmac 5800a000.ethernet: TSO supported
[ 1.599279] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[ 1.605101] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 1.613131] libphy: stmmac: probed
[ 1.619161] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[ 1.625278] usbcore: registered new interface driver pegasus
[ 1.630827] usbcore: registered new interface driver asix
[ 1.636285] usbcore: registered new interface driver ax88179_178a
[ 1.642257] usbcore: registered new interface driver cdc_ether
[ 1.648136] usbcore: registered new interface driver smsc75xx
[ 1.653851] usbcore: registered new interface driver smsc95xx
[ 1.659590] usbcore: registered new interface driver net1080
[ 1.665261] usbcore: registered new interface driver cdc_subset
[ 1.671102] usbcore: registered new interface driver zaurus
[ 1.676742] usbcore: registered new interface driver cdc_ncm
[ 1.683439] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.688894] ehci-platform: EHCI generic platform driver
[ 1.694580] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.700234] ohci-platform: OHCI generic platform driver
[ 1.706150] usbcore: registered new interface driver usb-storage
[ 1.716141] stm32_rtc 5c004000.rtc: rtc core: registered 5c004000.rtc as rtc0
[ 1.722270] stm32_rtc 5c004000.rtc: Date/Time must be initialized
[ 1.728001] stm32_rtc 5c004000.rtc: registered rev:1.2
[ 1.733592] i2c /dev entries driver
[ 1.757284] stm32f7-i2c 40012000.i2c: can't use DMA
[ 1.764387] sii902x 0-0039: Failed to get supply 'iovcc': -517
[ 1.769826] stm32f7-i2c 40012000.i2c: STM32F7 I2C-0 bus adapter
[ 1.795636] stm32f7-i2c 5c002000.i2c: can't use DMA
[ 1.801517] typec_stusb 1-0028: STUSB driver registered
[ 1.807209] stpmic1 1-0033: PMIC Chip Version: 0x10
[ 1.816364] BUCK1: supplied by regulator-dummy
[ 1.823340] BUCK2: supplied by regulator-dummy
[ 1.829843] BUCK3: supplied by regulator-dummy
[ 1.836717] BUCK4: supplied by regulator-dummy
[ 1.843201] LDO1: supplied by v3v3
[ 1.850838] LDO2: supplied by regulator-dummy
[ 1.857554] LDO3: supplied by vdd_ddr
[ 1.863680] LDO4: supplied by regulator-dummy
[ 1.868256] LDO5: supplied by regulator-dummy
[ 1.875048] LDO6: supplied by v3v3
[ 1.880827] VREF_DDR: supplied by regulator-dummy
[ 1.887247] BOOST: supplied by regulator-dummy
[ 1.891357] VBUS_OTG: supplied by bst_out
[ 1.895437] SW_OUT: supplied by bst_out
[ 1.900713] random: fast init done
[ 1.904448] input: pmic_onkey as /devices/platform/soc/5c002000.i2c/i2c-1/1-0033/5c002000.i2c:stpmic@33:onkey/input/input0
[ 1.914761] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-1 bus adapter
[ 1.923586] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[ 1.934032] mmci-pl18x 58005000.sdmmc: Linked as a consumer to regulator.8
[ 1.939772] mmci-pl18x 58005000.sdmmc: mmc0: PL180 manf 53 rev2 at 0x58005000 irq 48,0 (pio)
[ 1.976981] mmci-pl18x 58007000.sdmmc: allocated mmc-pwrseq
[ 1.981469] mmci-pl18x 58007000.sdmmc: Linked as a consumer to regulator.8
[ 1.989255] mmci-pl18x 58007000.sdmmc: mmc1: PL180 manf 53 rev1 at 0x58007000 irq 49,0 (pio)
[ 2.023385] sdhci: Secure Digital Host Controller Interface driver
[ 2.029303] sdhci: Copyright(c) Pierre Ossman
[ 2.032497] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.040509] Synopsys Designware Multimedia Card Interface Driver
[ 2.048197] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.056457] mmc0: new high speed SDHC card at address aaaa
[ 2.056472] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.062818] mmcblk0: mmc0:aaaa SS16G 14.8 GiB
[ 2.067598] usbcore: registered new interface driver usbhid
[ 2.076501] usbhid: USB HID core driver
[ 2.076878] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 2.087091] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[ 2.087729] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.094047] stm32-rproc m4@0: wdg irq registered
[ 2.100424] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.103342] remoteproc remoteproc0: m4 is available
[ 2.111938] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 2.121045] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 2.126165] GPT:Primary header thinks Alt. header is not at the end of the disk.
[ 2.128567] NET: Registered protocol family 17
[ 2.132526] GPT:3145727 != 31116287
[ 2.137147] can: controller area network core (rev 20170425 abi 9)
[ 2.140390] GPT:Alternate GPT header not at the end of the disk.
[ 2.146732] NET: Registered protocol family 29
[ 2.152555] GPT:3145727 != 31116287
[ 2.157035] can: raw protocol (rev 20170425)
[ 2.160454] GPT: Use GNU Parted to correct GPT errors.
[ 2.164718] can: broadcast manager protocol (rev 20170425 t)
[ 2.164743] can: netlink gateway (rev 20170425) max_hops=1
[ 2.169924] mmcblk0: p1 p2 p3 p4 p5 p6 p7
[ 2.176128] Key type dns_resolver registered
[ 2.181820] mmc1: queuing unknown CIS tuple 0x80 (6 bytes)
[ 2.185292] ThumbEE CPU extension supported.
[ 2.199047] Registering SWP/SWPB emulation handler
[ 2.204853] registered taskstats version 1
[ 2.207887] Loading compiled-in X.509 certificates
[ 2.237827] stm32-usbphyc 5a006000.usbphyc: Linked as a consumer to regulator.1
[ 2.243807] stm32-usbphyc 5a006000.usbphyc: Linked as a consumer to regulator.2
[ 2.251171] stm32-usbphyc 5a006000.usbphyc: Linked as a consumer to regulator.12
[ 2.259161] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[ 2.266313] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_d not found, using dummy regulator
[ 2.273958] dwc2 49000000.usb-otg: Linked as a consumer to regulator.0
[ 2.275859] mmc1: new high speed SDIO card at address 0001
[ 2.280465] dwc2 49000000.usb-otg: 49000000.usb-otg supply vusb_a not found, using dummy regulator
[ 2.306646] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM
[ 2.314223] ehci-platform 5800d000.usbh-ehci: EHCI Host Controller
[ 2.319116] ehci-platform 5800d000.usbh-ehci: new USB bus registered, assigned bus number 1
[ 2.327735] ehci-platform 5800d000.usbh-ehci: irq 53, io mem 0x5800d000
[ 2.354548] ehci-platform 5800d000.usbh-ehci: USB 2.0 started, EHCI 1.00
[ 2.361109] hub 1-0:1.0: USB hub found
[ 2.363583] hub 1-0:1.0: 2 ports detected
[ 2.370567] sii902x 0-0039: Linked as a consumer to regulator.10
[ 2.375303] sii902x 0-0039: Linked as a consumer to regulator.14
[ 2.385328] i2c i2c-0: Added multiplexed i2c bus 2
[ 2.389884] cs42l51 0-004a: Linked as a consumer to regulator.8
[ 2.394771] cs42l51 0-004a: Linked as a consumer to regulator.9
[ 2.403193] cs42l51 0-004a: Cirrus Logic CS42L51, Revision: 01
[ 2.411327] asoc-audio-graph-card sound: cs42l51-hifi0 <-> 4400b004.audio-controller mapping ok
[ 2.419643] asoc-audio-graph-card sound: cs42l51-hifi1 <-> 4400b024.audio-controller mapping ok
[ 2.427738] asoc-audio-graph-card sound: i2s-hifi <-> 4000b000.audio-controller mapping ok
[ 2.436794] cs42l51 0-004a: ASoC: mux DAC Mux has no paths
[ 2.677777] [drm] ltdc hw version 0x00010300 - ready
[ 2.681371] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 2.687956] [drm] Driver supports precise vblank timestamp query.
[ 2.694938] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 0
[ 2.703418] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01 00:00:11 UTC (946684811)
[ 2.712060] vref: supplied by vdd
[ 2.714661] vref: disabling
[ 2.717103] vdda: disabling
[ 2.720270] ALSA device list:
[ 2.722823] #0: STM32MP1[ 2.734595] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 2.746976] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[ 2.753703] VFS: Mounted root (ext4 filesystem) on device 179:6.
[ 2.771197] devtmpfs: mounted
[ 2.774702] Freeing unused kernel memory: 1024K
[ 2.778115] Run /sbin/init as init process
[ 2.936076] hub 1-1:1.0: USB hub found
[ 2.938636] hub 1-1:1.0: 4 ports detected
[ 3.051650] systemd[1]: System time before build time, advancing clock.
[ 3.159460] NET: Registered protocol family 10
[ 3.196874] Segment Routing with IPv6
[ 3.240447] 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.261156] systemd[1]: Detected architecture arm.
Welcome to ST OpenSTLinux - EGLfs - (A Yocto Project Based Distro) 2.6-snapshot-20190614 (thud)!
[ 3.318593] systemd[1]: Set hostname to .
[ 3.331761] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', version 0
[ 3.338933] systemd[1]: Set hardware watchdog to 30s.
[ 3.978679] systemd[1]: Unnecessary job for dev-ttySTM0.device was removed.
[ 3.986898] random: systemd: uninitialized urandom read (16 bytes read)
[ 3.992732] systemd[1]: Listening on Network Service Netlink Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ 4.024988] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.031151] systemd[1]: Listening on Syslog Socket.
[ OK ] Listening on Syslog Socket.
[ 4.064773] random: systemd: uninitialized urandom read (16 bytes read)
[ 4.072798] systemd[1]: Created slice User and Session Slice.
[ OK ] Created slice User and Session Slice.
[ 4.105274] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ OK ] Started Forward Password Requests to Wall Directory Watch.
[ OK ] Created slice system-getty.slice.
[ OK ] Listening on udev Control Socket.
[ OK ] Reached target Swap.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Reached target Slices.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Listening on Journal Socket.
Starting Create list of required st…ce nodes for the current kernel...
Mounting POSIX Message Queue File System...
[ OK ] Started Hardware RNG Entropy Gatherer Daemon.
Mounting Kernel Debug File System...
Starting Mount partitions...
Mounting FUSE Control File System...
Starting Remount Root and Kernel File Systems...
Mounting Temporary Directory (/tmp)...
Starting Apply Kernel Variables...
Starting Jou[ 4.694441] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)
rnal Service...
[ OK ] Started Dispatch Password Requests to Console Directory Watch.
[ OK ] Reached target Paths.
Starting udev Coldplug all Devices...
[ OK ] Listening on Process Core Dump Socket.
Mounting Kernel Configuration File System...
[ OK ] Reached target Remote File Systems.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Started Create list of required sta…vice nodes for the current kernel.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted FUSE Control File System.
[ OK ] Started Remount Root and Kernel File Systems.
[ 5.134963] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[ OK ] Mounted Temporary Directory (/tmp).
[ OK ] Started Journal Service.
[ OK ] Started Apply Kernel Variables.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started Starts Psplash Boot screen.
Starting Flush Journal to Persistent Storage...
Starting Create Static Device Nodes in /dev...
[ 5.509603] systemd-journald[136]: Received request to flush runtime journal from PID 1
[ 5.562601] random: crng init done
[ 5.564751] random: 7 urandom warning(s) missed due to ratelimiting
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
[ 5.682763] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[ OK ] Reached target Containers.
Mounting /var/volatile...
Starting udev Kernel Device Manager...
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started udev Kernel Device Manager.
[ 6.203372] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. Opts: (null)
[ OK ] Started Mount partitions.
[ OK ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started udev Coldplug all Devices.
[ 7.496700] input: generic ft5x06 (11) as /devices/platform/soc/40012000.i2c/i2c-0/0-002a/input/input1
[ OK ] Reached target System Initialization.
[ OK ] Listening on RPCbind Server Activation Socket.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ 7.583594] Bluetooth: Core ver 2.22
[ 7.593920] NET: Registered protocol family 31
[ 7.601183] Bluetooth: HCI device and connection manager initialized
[ 7.608183] Bluetooth: HCI socket layer initialized
[ 7.613999] Bluetooth: L2CAP socket layer initialized
[ 7.618061] Bluetooth: SCO socket layer initialized
[ OK ] Reached target Timers.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ 7.659937] Bluetooth: HCI UART driver ver 2.3
[ 7.662927] Bluetooth: HCI UART protocol H4 registered
[ 7.670022] hci_uart_bcm serial0-0: No reset resource, using default baud rate
[ 7.676557] Bluetooth: HCI UART protocol Broadcom registered
[ 7.731165] galcore: loading out-of-tree module taints kernel.
[ 7.802256] Galcore version 6.2.4.174315
[ 7.835590] Bluetooth: hci0: BCM: chip id 94
[ 7.839982] Bluetooth: hci0: BCM: features 0x2e
[ 7.848664] Bluetooth: hci0: BCM43430A1
[ 7.851346] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0000
[ OK ] Listening on dropbear.socket.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ 7.958672] cfg80211: Loading compiled-in X.509 certificates for regulatory database
Starting Netdata, Real-time performance monitoring...
[ 8.077642] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ OK ] Started System Logging Service.
Starting Enable USB Ethernet gadget...
[ OK ] Started Kernel Logging Service.
[ OK ] Started D-Bus System Message Bus.
[ 8.291805] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ 8.496170] Bluetooth: hci0: BCM43430A1 (001.002.009) build 0022
[ 8.527082] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio for chip BCM43430/1
[ OK ] Started ST Verify if eth0 network interface are already configured.
Starting Network Service...
[ 8.615237] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Sep 11 2018 09:22:09 version 7.45.98.65 (r707797 CY) FWID 01-b54727f
[ 8.646583] using random self ethernet address
Starting Sound Service...
[ 8.671968] using random host ethernet address
Starting Login Service...
[ 8.848054] usb0: HOST MAC 46:85:99:6e:be:dc
[ 8.857792] usb0: MAC 9e:39:8b:e9:37:79
[ 8.863061] dwc2 49000000.usb-otg: bound driver configfs-gadget
[ OK ] Started Sou[ 9.218372] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
nd Service.
[ 9.297888] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
[ OK ] Started Network Service.
[ OK ] Started Enable USB Ethernet gadget.
[ 9.353822] dwmac4: Master AXI performs any burst length
[ 9.364384] stm32-dwmac 5800a000.ethernet eth0: No Safety Features support found
[ 9.386272] stm32-dwmac 5800a000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[ 9.418284] stm32-dwmac 5800a000.ethernet eth0: registered PTP clock
[ 9.437215] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ OK ] Started Netdata, Real-time performance monitoring.
Starting Bluetooth service...
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Starting Save/Restore Sound Card State...
Stopping Network Service...
[ OK ] Created slice system-systemd\x2dbacklight.slice.
Starting Load/Save Screen Backlight…ess of backlight:5a000000.dsi.0...
[ OK ] Stopped Network Service.
[ OK ] Started Save/Restore Sound Card State.
Starting Load/Save RF Kill Switch Status...
[ OK ] Reached target Sound Card.
Starting Network Service...
[ OK ] Started Load/Save Screen Backlight …tness of backlight:5a000000.dsi.0.
[ OK ] Started Login Service.
[ OK ] Started Network Service.
Starting Network Name Resolution...
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started Bluetooth service.
[ OK ] Reached target Bluetooth.
Starting Hostname Service...
[ OK ] Started Network Name Resolution.
[ OK ] Reached target Network.
Starting Permit User Sessions...
[ OK ] Started IIO Daemon.
Starting Target Communication Framework agent...
Starting Avahi mDNS/DNS-SD Stack...
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Started Permit User Sessions.
[ OK ] Started Target Communication Framework agent.
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Hostname Service.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttySTM0.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
ST OpenSTLinux - EGLfs - (A Yocto Project Based Distro) 2.6-snapshot stm32mp1-disco ttySTM0
stm32mp1-disco login: root (automatic login)
root@stm32mp1-disco:~#