stm32mp157a-dk1 compiling firmware for Ubuntu 20.04

Posted by azn_romeo_4u on Fri, 14 Jan 2022 18:39:49 +0100

preface

The previous articles using Buidroot are almost pure systems. The boot is very fast (~ 5s) and the root file system occupies very little (< 10m). Purity means few functions and many things are not available. You have to check it when you want to use it
Have you packed all the common system components? There are also some out of the box firmware. The common firmware is Debian/Ubuntu/Arch Linux. After startup, users can directly set up networking, SSH, apt and install applications This article continues to copy the operation and goes down the process of stm32mp157a-dk1 compiling Ubuntu 20.04 firmware

technological process

The process of builderoot is probably disassembled. It needs to go through:

  • Cross compiler download, because you need to compile the firmware of ARM platform on PC
  • U-Boot download and compilation. As a boot program, U-Boot supports many chip platforms. Here, just compile the stm32mp157a-dk1 board
  • Linux Kernel, which is basically the mainline kernel, is specified below to compile 5.10.0 that supports ARMV7 platform and long-term support X kernel
  • The root file system of Ubuntu 20.04, or Debian or Arch Linux can be selected in this step. apt and other commonly used components are packaged and used out of the box. The disadvantage is that it naturally takes up hundreds of megabytes (~ 900MB) of storage space and almost 50MB of memory after startup. If the chip has only 64MB of memory, you should be careful. Fortunately, the stm32mp157a-dk1 board contains 512MB DDR3, TF card just has 128GB TF card on hand, which is not a big problem
  • Then partition the blank TF card into roughly four zones, put two boot segments, U-Boot, then the root file system and kernel, and configure extlinux Conf, tell the boot program where the kernel is, where the device tree is, and which debug port is
  • Finally, plug the TF card into the board, connect the debugging serial port, and power on

Reference script

#!/bin/bash

# Cross compiler gcc
wget -c https://releases.linaro.org/components/toolchain/binaries/6.5-2018.12/arm-linux-gnueabihf/gcc-linaro-6.5.0-2018.12-x86_64_arm-linux-gnueabihf.tar.xz
tar xf gcc-linaro-6.5.0-2018.12-x86_64_arm-linux-gnueabihf.tar.xz
export CC=`pwd`/gcc-linaro-6.5.0-2018.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-
${CC}gcc --version

# U-Boot
git clone -b v2021.10 https://github.com/u-boot/u-boot --depth=1
cd u-boot/
# stm32mp157a-dk1
make ARCH=arm CROSS_COMPILE=${CC} distclean
make ARCH=arm CROSS_COMPILE=${CC} stm32mp15_basic_defconfig
make ARCH=arm CROSS_COMPILE=${CC} DEVICE_TREE=stm32mp157a-dk1 all -j $(nproc)
cd ..

# Linux Kernel
git clone https://github.com/RobertCNelson/armv7-lpae-multiplatform
cd armv7-lpae-multiplatform/
git checkout origin/v5.10.x -b tmp	# v5.10.x
sudo apt-get update
sudo apt-get install -y lzop lzma libmpc-dev u-boot-tools libncurses5-dev:amd64 
./build_kernel.sh	# This step took more than two hours
# Print after execution
# eewiki.net: [user@localhost:~$ export kernel_version=5.10.83-armv7-lpae-x58]
# The next line changes according to the output above
export kernel_version=5.10.83-armv7-lpae-x58	# from build.sh
cd ..

# Ubuntu 20.04 LTS
wget -c https://rcn-ee.com/rootfs/eewiki/minfs/ubuntu-20.04.3-minimal-armhf-2021-12-20.tar.xz
tar xf ubuntu-20.04.3-minimal-armhf-2021-12-20.tar.xz

# Setup microSD card
# Prepare an empty TF card. My one is 128GB. It is identified as / dev/sdb when plugged in
# Make your own adjustments according to the situation. The following is written as sdX. Some are mmcbxxx and so on. Refer to the link
# look out!!!
# be careful!!!
# be careful!!!
# lsblk
export DISK=/dev/sdX
sudo dd if=/dev/zero of=${DISK} bs=1M count=10	# Erase partition table/labels on microSD card
sudo sgdisk -o ${DISK}
sudo sgdisk --resize-table=128 -a 1 \
        -n 1:34:545    -c 1:fsbl1   \
        -n 2:546:1057  -c 2:fsbl2   \
        -n 3:1058:5153 -c 3:ssbl    \
        -n 4:5154:     -c 4:rootfs  \
        -p ${DISK}
sudo sgdisk -A 4:set:2 ${DISK}
# for: DISK=/dev/sdX
sudo dd if=./u-boot/u-boot-spl.stm32 of=${DISK}1
sudo dd if=./u-boot/u-boot-spl.stm32 of=${DISK}2
sudo dd if=./u-boot/u-boot.img of=${DISK}3
# for: DISK=/dev/sdX
sudo mkfs.ext4 -L rootfs ${DISK}4	# if need input y, there exist some error
sudo mkdir -p /media/rootfs/
# for: DISK=/dev/sdX
sudo mount ${DISK}4 /media/rootfs/

# Copy Root File System
sudo tar xfvp ./ubuntu-*-*-armhf-*/armhf-rootfs-*.tar -C /media/rootfs/
sync

# Setup extlinux.conf
sudo mkdir -p /media/rootfs/boot/extlinux/
sudo sh -c "echo 'label Linux ${kernel_version}' > /media/rootfs/boot/extlinux/extlinux.conf"
sudo sh -c "echo '    kernel /boot/vmlinuz-${kernel_version}' >> /media/rootfs/boot/extlinux/extlinux.conf"
sudo sh -c "echo '    append console=ttySTM0,115200 root=/dev/mmcblk0p4 ro rootfstype=ext4 rootwait quiet' >> /media/rootfs/boot/extlinux/extlinux.conf"
sudo sh -c "echo '    fdtdir /boot/dtbs/${kernel_version}/' >> /media/rootfs/boot/extlinux/extlinux.conf"

# Copy Kernel Image
sudo cp -v ./armv7-lpae-multiplatform/deploy/${kernel_version}.zImage /media/rootfs/boot/vmlinuz-${kernel_version}

# Copy Kernel Device Tree Binaries
sudo mkdir -p /media/rootfs/boot/dtbs/${kernel_version}/
sudo tar xfv ./armv7-lpae-multiplatform/deploy/${kernel_version}-dtbs.tar.gz -C /media/rootfs/boot/dtbs/${kernel_version}/

# Copy Kernel Modules
sudo tar xfv ./armv7-lpae-multiplatform/deploy/${kernel_version}-modules.tar.gz -C /media/rootfs/

# File Systems Table (/etc/fstab)
sudo sh -c "echo '/dev/mmcblk0p4  /  auto  errors=remount-ro  0  1' >> /media/rootfs/etc/fstab"

# If WiFi dk1 doesn't have a patch, it won't be set

sync
sudo umount /media/rootfs

The partition information of TF card is pasted here for reference

$ lsblk
sdb      8:16   1  119.4G  0 disk 
├─sdb1   8:17   1    256K  0 part /media/z/FC78-3853
├─sdb2   8:18   1    256K  0 part /media/z/9A70-8A9C
├─sdb3   8:19   1      2M  0 part 
└─sdb4   8:20   1  119.4G  0 part 


$ cat /media/rootfs/boot/extlinux/extlinux.conf
label Linux 5.10.83-armv7-lpae-x58
    kernel /boot/vmlinuz-5.10.83-armv7-lpae-x58
    append console=ttySTM0,115200 root=/dev/mmcblk0p4 ro rootfstype=ext4 rootwait quiet
    fdtdir /boot/dtbs/5.10.83-armv7-lpae-x58/

If you want to create an sdcard IMG files, Create a generic sdcard.img file - eewiki / Linux Guides - Engineering and Component Solution Forum - TechForum │ Digi-Key (digikey.com)

Power on

Connect the ST-LINK USB on the board, open the serial port terminal, 115200-8-N-1, power on, the response is slow at first, many things, etc., many things are not printed, and it takes about 20s from Startup to login. By default, HDMI has a text interface display, but no graphical interface display

U-Boot SPL 2021.10 (Jan 13 2022 - 21:13:38 -0800)
RAM: DDR3-DDR3L 16bits 533000kHz
WDT:   Started with servicing (32s timeout)


U-Boot 2021.10 (Jan 13 2022 - 21:13:38 -0800)

CPU: STM32MP157AAC Rev.B
Model: STMicroelectronics STM32MP157A-DK1 Discovery Board
Board: stm32mp1 in basic mode (st,stm32mp157a-dk1)
Board: MB1272 Var1.0 Rev.C-01
DRAM:  512 MiB
Clocks:
- MPU : 650 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
WDT:   Started with servicing (32s timeout)
NAND:  0 MiB
MMC:   STM32 SD/MMC: 0
Loading Environment from MMC... *** Warning - bad CRC, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   eth0: ethernet@5800a000
Hit any key to stop autoboot:  0 
Boot over mmc0!
Saving Environment to MMC... Writing to redundant MMC(0)... OK
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:4...
Found /boot/extlinux/extlinux.conf
Retrieving file: /boot/extlinux/extlinux.conf
217 bytes read in 82 ms (2 KiB/s)
1:      Linux 5.10.83-armv7-lpae-x58
Retrieving file: /boot/vmlinuz-5.10.83-armv7-lpae-x58
11629056 bytes read in 570 ms (19.5 MiB/s)
append: console=ttySTM0,115200 root=/dev/mmcblk0p4 ro rootfstype=ext4 rootwait quiet
Retrieving file: /boot/dtbs/5.10.83-armv7-lpae-x58/stm32mp157a-dk1.dtb
82714 bytes read in 91 ms (886.7 KiB/s)
Kernel image @ 0xc2000000 [ 0x000000 - 0xb17200 ]
## Flattened Device Tree blob at c4000000
   Booting using the fdt blob at 0xc4000000
   Loading Device Tree to cffe8000, end cffff319 ... OK

Starting kernel ...

[    2.064002] stm32-pwr-regulator 50001000.pwr: Failed to register regulator: -517

Ubuntu 20.04 LTS arm ttySTM0

# The user name and password are prompted here
default username:password is [ubuntu:temppwd]

arm login: 

The blue light on the board flashes

# ubuntu	temppwd
arm login: ubuntu
Password: 

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@arm:~$ 

dmesg is posted at the end of this article

explore

Plug in the Internet cable

ubuntu@arm:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04 LTS
Release:        20.04
Codename:       focal

ubuntu@arm:~$ uname -r
5.10.83-armv7-lpae-x58

ubuntu@arm:~$ uname -a
Linux arm 5.10.83-armv7-lpae-x58 #1 SMP PREEMPT Fri Jan 14 00:01:29 PST 2022 armv7l armv7l armv7l GNU/Linux

ubuntu@arm:~$ cat /proc/cpuinfo
processor       : 0
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

processor       : 1
model name      : ARMv7 Processor rev 5 (v7l)
BogoMIPS        : 48.00
Features        : half thumb fastmult vfp edsp thumbee neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm 
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xc07
CPU revision    : 5

Hardware        : STM32 (Device Tree Support)
Revision        : 0000
Serial          : 003E003D3338510739303435

ubuntu@arm:~$ cat /proc/meminfo
MemTotal:         428036 kB
MemFree:          294768 kB
MemAvailable:     362760 kB
Buffers:            8088 kB
Cached:            57020 kB
SwapCached:            0 kB
Active:            28420 kB
Inactive:          60928 kB
Active(anon):        304 kB
Inactive(anon):    24672 kB
Active(file):      28116 kB
Inactive(file):    36256 kB
Unevictable:           0 kB
Mlocked:               0 kB
HighTotal:             0 kB
HighFree:              0 kB
LowTotal:         428036 kB
LowFree:          294768 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                56 kB
Writeback:             0 kB
AnonPages:         24220 kB
Mapped:            30272 kB
Shmem:               736 kB
KReclaimable:      14564 kB
Slab:              31164 kB
SReclaimable:      14564 kB
SUnreclaim:        16600 kB
KernelStack:        1000 kB
PageTables:         1316 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:      214016 kB
Committed_AS:     185560 kB
VmallocTotal:     507904 kB
VmallocUsed:        3108 kB
VmallocChunk:          0 kB
Percpu:              576 kB
AnonHugePages:         0 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
CmaTotal:          65536 kB
CmaFree:           60676 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB

ubuntu@arm:~$ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
mmcblk0     179:0    0 119.4G  0 disk 
├─mmcblk0p1 179:1    0   256K  0 part 
├─mmcblk0p2 179:2    0   256K  0 part 
├─mmcblk0p3 179:3    0     2M  0 part 
└─mmcblk0p4 179:4    0 119.4G  0 part /

# 1.1G used
ubuntu@arm:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       117G  1.1G  110G   1% /
devtmpfs        176M     0  176M   0% /dev
tmpfs           209M     0  209M   0% /dev/shm
tmpfs            42M  732K   42M   2% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           209M     0  209M   0% /sys/fs/cgroup
tmpfs            42M     0   42M   0% /run/user/1000

# 53.4MB of memory was used
ubuntu@arm:~$ free
              total        used        free      shared  buff/cache   available
Mem:         428036       53400      294512         736       80124      362948
Swap:             0           0           0

ubuntu@arm:~$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:80:e1:42:73:5f brd ff:ff:ff:ff:ff:ff
    
# By default, there is almost no graphical interface, and there are still many fewer services than PC s
ubuntu@arm:~$ systemd-analyze critical-chain
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.

graphical.target @13.595s
└─multi-user.target @13.593s
  └─getty.target @13.591s
    └─serial-getty@ttySTM0.service @13.577s
      └─dev-ttySTM0.device @13.533s
      
ubuntu@arm:~$ python
-bash: python: command not found
ubuntu@arm:~$ python3
Python 3.8.2 (default, Mar 13 2020, 10:14:16) 
[GCC 9.2.1 20200306] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 

# Plug in the keyboard and mouse. The USB Hub chip doesn't respond. It can't be used
# The onboard USB2514 does not work
ubuntu@arm:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ubuntu@arm:~$ sudo su
root@arm:/home/ubuntu# i2cdetect -y -r 1
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- 28 -- -- -- -- -- -- -- 
30: -- -- -- UU -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --  


ubuntu@arm:~$ dmesg | grep usb
[    0.200169] usbcore: registered new interface driver usbfs
[    0.200266] usbcore: registered new interface driver hub
[    0.200352] usbcore: registered new device driver usb
[    2.150369] usbcore: registered new interface driver uas
[    2.150508] usbcore: registered new interface driver usb-storage
[    2.150571] usbcore: registered new interface driver ums-alauda
[    2.150632] usbcore: registered new interface driver ums-cypress
[    2.150692] usbcore: registered new interface driver ums-datafab
[    2.150751] usbcore: registered new interface driver ums_eneub6250
[    2.150811] usbcore: registered new interface driver ums-freecom
[    2.150870] usbcore: registered new interface driver ums-isd200
[    2.150930] usbcore: registered new interface driver ums-jumpshot
[    2.150990] usbcore: registered new interface driver ums-karma
[    2.151050] usbcore: registered new interface driver ums-onetouch
[    2.151148] usbcore: registered new interface driver ums-realtek
[    2.151212] usbcore: registered new interface driver ums-sddr09
[    2.151272] usbcore: registered new interface driver ums-sddr55
[    2.151332] usbcore: registered new interface driver ums-usbat
[    2.251648] vdd_usb: supplied by vin
[    2.288254] usbcore: registered new interface driver usbhid
[    2.288269] usbhid: USB HID core driver
[    2.365610] phy phy-5a006000.usbphyc.0: supply vdda1v1 not found, using dummy regulator
[    2.365921] phy phy-5a006000.usbphyc.0: supply vdda1v8 not found, using dummy regulator
[    2.366600] phy phy-5a006000.usbphyc.1: supply vdda1v1 not found, using dummy regulator
[    2.366920] phy phy-5a006000.usbphyc.1: supply vdda1v8 not found, using dummy regulator
[    2.367046] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    2.370137] usb33: supplied by vdd_usb
[    2.408458] ehci-platform 5800d000.usb: EHCI Host Controller
[    2.408627] ehci-platform 5800d000.usb: new USB bus registered, assigned bus number 1
[    2.410489] ehci-platform 5800d000.usb: irq 60, io mem 0x5800d000
[    2.426076] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00
[    2.426714] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    2.426735] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.426749] usb usb1: Product: EHCI Host Controller
[    2.426763] usb usb1: Manufacturer: Linux 5.10.83-armv7-lpae-x58 ehci_hcd
[    2.426776] usb usb1: SerialNumber: 5800d000.usb
[   22.046898] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
[   22.047379] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
[   22.167054] dwc2 49000000.usb-otg: dwc2_core_reset: HANG! Soft Reset timeout GRSTCTL_CSFTRST
[   22.182847] dwc2: probe of 49000000.usb-otg failed with error -16

Network settings

# iproute2 Kit
# Built in netplan
# /etc/netplan/*.yaml

# Temporary IP settings
sudo ip address add 192.168.6.100/24 dev eth0
sudo ifconfig eth0 up
sudo ip route add default via 192.168.6.1
sudo sh -c 'echo "DNS=114.114.114.114 8.8.8.8" >> /etc/systemd/resolved.conf'

# Then the host can ping st
# Host shared network to st
ubuntu@arm:~$ ping www.baidu.com
PING www.wshifen.com (x.x.x.x) 56(84) bytes of data.
64 bytes from x.x.x.x (x.x.x.x): icmp_seq=1 ttl=39 time=199 ms
64 bytes from x.x.x.x (x.x.x.x): icmp_seq=2 ttl=39 time=408 ms
64 bytes from x.x.x.x (x.x.x.x): icmp_seq=3 ttl=39 time=202 ms
64 bytes from x.x.x.x (x.x.x.x): icmp_seq=4 ttl=39 time=198 ms
64 bytes from x.x.x.x (x.x.x.x): icmp_seq=5 ttl=39 time=197 ms

# ssh is enabled by default. You can log in remotely directly
$ ssh ubuntu@192.168.6.100
ubuntu@192.168.6.100's password: 
Last login: Fri Jan 14 09:58:45 2022 from 192.168.6.1
ubuntu@arm:~$ uname -r
5.10.83-armv7-lpae-x58
# The serial port terminal ping is slow, about 200ms
# Gigabit network ssh up ping fast, 4 xms

sudo apt update
sudo apt install -y screenfetch
screenfetch

appear

Let the screen output noise

cat /dev/urandom >/dev/fb0

dmesg

The dmesg information is posted here when the machine is turned on

$ dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.10.83-armv7-lpae-x58 (z@ubuntu) (arm-linux-gnueabi-gcc (GCC) 10.3.0, GNU ld (GNU Binutils) 2.36.1) #1 SMP PREEMPT Fri Jan 14 00:01:29 PST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=30c5387d
[    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 STM32MP157A-DK1 Discovery Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: UEFI not found.
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000010000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram2@10000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000010040000, 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 0x0000000010041000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0vring1@10041000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000010042000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@10042000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000030000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram@30000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x0000000038000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node retram@38000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 64 MiB at 0x00000000dc000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x00000000c0000000-0x00000000dfffffff]
[    0.000000]   Normal   empty
[    0.000000]   HighMem  empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000d3ffffff]
[    0.000000]   node   0: [mem 0x00000000d4000000-0x00000000d7ffffff]
[    0.000000]   node   0: [mem 0x00000000d8000000-0x00000000dfffffff]
[    0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfffffff]
[    0.000000] On node 0 totalpages: 131072
[    0.000000]   DMA zone: 1152 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 131072 pages, LIFO batch:31
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: Trusted OS migration not required
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 21 pages/cpu s54604 r8192 d23220 u86016
[    0.000000] pcpu-alloc: s54604 r8192 d23220 u86016 alloc=21*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129920
[    0.000000] Kernel command line: console=ttySTM0,115200 root=/dev/mmcblk0p4 ro rootfstype=ext4 rootwait quiet
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 360452K/524288K available (16384K kernel code, 2138K rwdata, 4348K rodata, 2048K init, 400K bss, 98300K reserved, 65536K cma-reserved, 0K highmem)
[    0.000000] random: get_random_u32 called from __kmem_cache_create+0x30/0x450 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 51400 entries in 151 pages
[    0.000000] ftrace: allocated 151 pages with 5 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000]  Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 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 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.000026] Switching to timer-based delay loop, resolution 41ns
[    0.008200] Console: colour dummy device 80x30
[    0.008283] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.008314] pid_max: default: 32768 minimum: 301
[    0.008692] LSM: Security Framework initializing
[    0.008789] Yama: becoming mindful.
[    0.008997] AppArmor: AppArmor initialized
[    0.009017] TOMOYO Linux initialized
[    0.009148] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.009171] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.010900] CPU: Testing write buffer coherency: ok
[    0.011435] CPU0: update cpu_capacity 1024
[    0.011454] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.013429] Setting up static identity map for 0xc0200000 - 0xc0200060
[    0.013749] rcu: Hierarchical SRCU implementation.
[    0.016566] EFI services will not be available.
[    0.017074] smp: Bringing up secondary CPUs ...
[    0.018378] CPU1: update cpu_capacity 1024
[    0.018391] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.018708] smp: Brought up 1 node, 2 CPUs
[    0.018731] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.018742] CPU: All CPU(s) started in SVC mode.
[    0.019969] devtmpfs: initialized
[    0.054482] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.055092] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.055127] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.059965] pinctrl core: initialized pinctrl subsystem
[    0.062134] NET: Registered protocol family 16
[    0.067360] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.068606] audit: initializing netlink subsys (disabled)
[    0.069132] audit: type=2000 audit(0.060:1): state=initialized audit_enabled=0 res=1
[    0.072162] thermal_sys: Registered thermal governor 'fair_share'
[    0.072181] thermal_sys: Registered thermal governor 'bang_bang'
[    0.072194] thermal_sys: Registered thermal governor 'step_wise'
[    0.072684] cpuidle: using governor menu
[    0.073529] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.073546] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.126666] /soc/interrupt-controller@5000d000: bank0
[    0.126696] /soc/interrupt-controller@5000d000: bank1
[    0.126716] /soc/interrupt-controller@5000d000: bank2
[    0.132303] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOA bank added
[    0.134509] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOB bank added
[    0.136621] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOC bank added
[    0.138720] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOD bank added
[    0.140767] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOE bank added
[    0.142869] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOF bank added
[    0.144894] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOG bank added
[    0.146984] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOH bank added
[    0.149004] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOI bank added
[    0.149398] stm32mp157-pinctrl soc:pin-controller@50002000: Pinctrl STM32 initialized
[    0.153526] stm32mp157-pinctrl soc:pin-controller-z@54004000: GPIOZ bank added
[    0.153570] stm32mp157-pinctrl soc:pin-controller-z@54004000: Pinctrl STM32 initialized
[    0.174955] Kprobes globally optimized
[    0.176261] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.188155] raid6: skip pq benchmark and using algorithm neonx8
[    0.188179] raid6: using neon recovery algorithm
[    0.196003] iommu: Default domain type: Translated 
[    0.199851] SCSI subsystem initialized
[    0.200356] libata version 3.00 loaded.
[    0.200874] usbcore: registered new interface driver usbfs
[    0.200971] usbcore: registered new interface driver hub
[    0.201060] usbcore: registered new device driver usb
[    0.202337] mc: Linux media interface: v0.10
[    0.202405] videodev: Linux video capture interface: v2.00
[    0.202602] pps_core: LinuxPPS API ver. 1 registered
[    0.202615] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.202661] PTP clock support registered
[    0.205577] NetLabel: Initializing
[    0.205600] NetLabel:  domain hash size = 128
[    0.205609] NetLabel:  protocols = UNLABELED CIPSOv4 CALIPSO
[    0.205756] NetLabel:  unlabeled traffic allowed by default
[    0.206596] clocksource: Switched to clocksource arch_sys_counter
[    1.783747] VFS: Disk quotas dquot_6.6.0
[    1.783883] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    1.785501] AppArmor: AppArmor Filesystem Enabled
[    1.806794] NET: Registered protocol family 2
[    1.807084] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.809040] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    1.809147] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    1.809218] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.809315] TCP: Hash tables configured (established 4096 bind 4096)
[    1.809518] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.809570] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    1.810413] NET: Registered protocol family 1
[    1.811898] RPC: Registered named UNIX socket transport module.
[    1.811916] RPC: Registered udp transport module.
[    1.811926] RPC: Registered tcp transport module.
[    1.811936] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.811959] NET: Registered protocol family 44
[    1.813773] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    1.817084] Initialise system trusted keyrings
[    1.817576] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[    1.830361] zbud: loaded
[    1.835405] NFS: Registering the id_resolver key type
[    1.835469] Key type id_resolver registered
[    1.835481] Key type id_legacy registered
[    1.835722] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    1.835737] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...
[    1.836209] fuse: init (API version 7.32)
[    1.986757] xor: measuring software checksum speed
[    1.998661]    arm4regs        :   830 MB/sec
[    2.017611]    8regs           :   519 MB/sec
[    2.034275]    32regs          :   593 MB/sec
[    2.045936]    neon            :   846 MB/sec
[    2.045951] xor: using function: neon (846 MB/sec)
[    2.045974] Key type asymmetric registered
[    2.045987] Asymmetric key parser 'x509' registered
[    2.046115] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    2.046454] io scheduler mq-deadline registered
[    2.065739] stm32-pwr-regulator 50001000.pwr: Failed to register regulator: -517
[    2.068242] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[    2.074465] STM32 USART driver initialized
[    2.075576] stm32-usart 40010000.serial: rx dma alloc failed
[    2.075598] stm32-usart 40010000.serial: interrupt mode used for rx (no dma)
[    2.075614] stm32-usart 40010000.serial: tx dma alloc failed
[    2.075627] stm32-usart 40010000.serial: interrupt mode used for tx (no dma)
[    2.075669] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 31, base_baud = 4000000) is a stm32-usart
[    2.082172] printk: console [ttySTM0] enabled
[    2.088302] mmci-pl18x 58005000.mmc: Got CD GPIO
[    2.099041] sdhci: Secure Digital Host Controller Interface driver
[    2.099057] sdhci: Copyright(c) Pierre Ossman
[    2.099448] Synopsys Designware Multimedia Card Interface Driver
[    2.100143] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.108507] random: fast init done
[    2.113011] random: crng init done
[    2.122858] etnaviv etnaviv: bound 59000000.gpu (ops 0xc12e81c4)
[    2.122890] etnaviv-gpu 59000000.gpu: model: GC400, revision: 4652
[    2.123399] etnaviv-gpu 59000000.gpu: Need to move linear window on MC1.0, disabling TS
[    2.124670] [drm] Initialized etnaviv 1.3.0 20151214 for etnaviv on minor 0
[    2.130796] libphy: Fixed MDIO Bus: probed
[    2.135564] stm32-dwmac 5800a000.ethernet: IRQ eth_wake_irq not found
[    2.135588] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found
[    2.135868] stm32-dwmac 5800a000.ethernet: PTP uses main clock
[    2.135891] stm32-dwmac 5800a000.ethernet: no reset control found
[    2.138801] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42
[    2.138831] stm32-dwmac 5800a000.ethernet:   DWMAC4/5
[    2.138848] stm32-dwmac 5800a000.ethernet: DMA HW capability register supported
[    2.138861] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine supported
[    2.138874] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported
[    2.138887] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported
[    2.139050] stm32-dwmac 5800a000.ethernet: TSO supported
[    2.139066] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[    2.139086] stm32-dwmac 5800a000.ethernet: Enabled Flow TC (entries=2)
[    2.139099] stm32-dwmac 5800a000.ethernet: TSO feature enabled
[    2.139115] stm32-dwmac 5800a000.ethernet: Using 32 bits DMA width
[    2.141304] libphy: stmmac: probed
[    2.150783] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.150852] ehci-platform: EHCI generic platform driver
[    2.151537] ehci-mxc: Freescale On-Chip EHCI Host driver
[    2.151698] ehci-omap: OMAP-EHCI Host Controller driver
[    2.154915] usbcore: registered new interface driver uas
[    2.155050] usbcore: registered new interface driver usb-storage
[    2.155114] usbcore: registered new interface driver ums-alauda
[    2.155179] usbcore: registered new interface driver ums-cypress
[    2.155263] usbcore: registered new interface driver ums-datafab
[    2.155324] usbcore: registered new interface driver ums_eneub6250
[    2.155385] usbcore: registered new interface driver ums-freecom
[    2.155445] usbcore: registered new interface driver ums-isd200
[    2.155505] usbcore: registered new interface driver ums-jumpshot
[    2.155565] usbcore: registered new interface driver ums-karma
[    2.155626] usbcore: registered new interface driver ums-onetouch
[    2.155723] usbcore: registered new interface driver ums-realtek
[    2.155786] usbcore: registered new interface driver ums-sddr09
[    2.155848] usbcore: registered new interface driver ums-sddr55
[    2.155909] usbcore: registered new interface driver ums-usbat
[    2.165919] stm32_rtc 5c004000.rtc: registered as rtc0
[    2.166008] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T00:43:48 UTC (946687428)
[    2.166483] stm32_rtc 5c004000.rtc: Date/Time must be initialized
[    2.166552] stm32_rtc 5c004000.rtc: registered rev:1.2
[    2.168218] i2c /dev entries driver
[    2.195411] stm32f7-i2c 40012000.i2c: STM32F7 I2C-0 bus adapter
[    2.225581] stpmic1 1-0033: PMIC Chip Version: 0x10
[    2.232220] vddcore: supplied by vin
[    2.235639] vdd_ddr: supplied by vin
[    2.238975] vdd: supplied by vin
[    2.242350] v3v3: supplied by vin
[    2.245441] v1v8_audio: supplied by v3v3
[    2.249552] v3v3_hdmi: supplied by vin
[    2.253414] vtt_ddr: supplied by vdd_ddr
[    2.256838] vdd_usb: supplied by vin
[    2.257661] vdda: supplied by vin
[    2.261226] v1v2_hdmi: supplied by v3v3
[    2.264808] vref_ddr: supplied by vin
[    2.268412] bst_out: supplied by vin
[    2.269412] vbus_otg: supplied by bst_out
[    2.270529] vbus_sw: supplied by bst_out
[    2.274951] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-1 bus adapter
[    2.280486] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialized successfully
[    2.287293] ledtrig-cpu: registered to indicate activity on CPUs
[    2.290539] stm32-crc32 58009000.crc: Initialized
[    2.293364] hid: raw HID events driver (C) Jiri Kosina
[    2.293870] usbcore: registered new interface driver usbhid
[    2.293884] usbhid: USB HID core driver
[    2.295481] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc 0
[    2.298020] drop_monitor: Initializing network drop monitor service
[    2.299573] NET: Registered protocol family 10
[    2.306095] Segment Routing with IPv6
[    2.306284] mip6: Mobile IPv6
[    2.306309] NET: Registered protocol family 17
[    2.306951] Key type dns_resolver registered
[    2.306969] mpls_gso: MPLS GSO support
[    2.307277] ThumbEE CPU extension supported.
[    2.307305] Registering SWP/SWPB emulation handler
[    2.307995] registered taskstats version 1
[    2.308021] Loading compiled-in X.509 certificates
[    2.308189] zswap: loaded using pool lzo/zbud
[    2.309280] Key type ._fscrypt registered
[    2.309297] Key type .fscrypt registered
[    2.309309] Key type fscrypt-provisioning registered
[    2.314346] Btrfs loaded, crc32c=crc32c-generic
[    2.314528] AppArmor: AppArmor sha1 policy hashing enabled
[    2.361547] stm32-dma 48000000.dma-controller: STM32 DMA driver registered
[    2.364474] stm32-dma 48001000.dma-controller: STM32 DMA driver registered
[    2.369862] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered
[    2.371370] phy phy-5a006000.usbphyc.0: supply vdda1v1 not found, using dummy regulator
[    2.371723] phy phy-5a006000.usbphyc.0: supply vdda1v8 not found, using dummy regulator
[    2.372260] phy phy-5a006000.usbphyc.1: supply vdda1v1 not found, using dummy regulator
[    2.372575] phy phy-5a006000.usbphyc.1: supply vdda1v8 not found, using dummy regulator
[    2.372700] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0
[    2.374098] reg11: supplied by vdd
[    2.374678] vref: supplied by vdd
[    2.375290] reg18: supplied by vdd
[    2.375791] usb33: supplied by vdd_usb
[    2.377446] mmci-pl18x 58005000.mmc: Got CD GPIO
[    2.379119] mmci-pl18x 58005000.mmc: mmc0: PL180 manf 53 rev1 at 0x58005000 irq 58,0 (pio)
[    2.413940] ehci-platform 5800d000.usb: EHCI Host Controller
[    2.414007] ehci-platform 5800d000.usb: new USB bus registered, assigned bus number 1
[    2.416318] ehci-platform 5800d000.usb: irq 60, io mem 0x5800d000
[    2.430634] ehci-platform 5800d000.usb: USB 2.0 started, EHCI 1.00
[    2.431265] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.10
[    2.431287] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.431302] usb usb1: Product: EHCI Host Controller
[    2.431315] usb usb1: Manufacturer: Linux 5.10.83-armv7-lpae-x58 ehci_hcd
[    2.431328] usb usb1: SerialNumber: 5800d000.usb
[    2.432620] hub 1-0:1.0: USB hub found
[    2.432721] hub 1-0:1.0: 2 ports detected
[    2.439996] i2c i2c-0: Added multiplexed i2c bus 2
[    2.443577] stm32-hash 54002000.hash: will run requests pump with realtime priority
[    2.446110] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1
[    2.455658] mmc0: new high speed SDXC card at address 59b4
[    2.456875] mmcblk0: mmc0:59b4 ED2S5 119 GiB 
[    2.463137] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-controller on minor 1
[    2.470454]  mmcblk0: p1 p2 p3 p4
[    2.559252] Console: switching to colour frame buffer device 240x67
[    2.622175] stm32-display 5a001000.display-controller: [drm] fb0: stmdrmfb frame buffer device
[    2.654052] EXT4-fs (mmcblk0p4): INFO: recovery required on readonly filesystem
[    2.654077] EXT4-fs (mmcblk0p4): write access will be enabled during recovery
[    5.319010] EXT4-fs (mmcblk0p4): recovery complete
[    5.324769] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. Opts: (null)
[    5.324926] VFS: Mounted root (ext4 filesystem) readonly on device 179:4.
[    5.327575] devtmpfs: mounted
[    5.340727] Freeing unused kernel memory: 2048K
[    5.341329] Run /sbin/init as init process
[    5.341346]   with arguments:
[    5.341357]     /sbin/init
[    5.341367]   with environment:
[    5.341377]     HOME=/
[    5.341387]     TERM=linux
[    5.345058] Not activating Mandatory Access Control as /sbin/tomoyo-init does not exist.
[    5.868015] systemd[1]: System time before build time, advancing clock.
[    6.038900] systemd[1]: systemd 245.4-4ubuntu3 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)
[    6.040024] systemd[1]: Detected architecture arm.
[    6.072615] systemd[1]: Set hostname to <arm>.
[    7.126856] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[    7.503779] systemd[1]: Created slice system-modprobe.slice.
[    7.507782] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    7.511210] systemd[1]: Created slice User and Session Slice.
[    7.512099] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[    7.512729] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    7.515203] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    7.515674] systemd[1]: Reached target Local Encrypted Volumes.
[    7.516123] systemd[1]: Reached target Paths.
[    7.516318] systemd[1]: Reached target Remote File Systems.
[    7.516471] systemd[1]: Reached target Slices.
[    7.516713] systemd[1]: Reached target Swap.
[    7.518391] systemd[1]: Listening on Syslog Socket.
[    7.519947] systemd[1]: Listening on fsck to fsckd communication Socket.
[    7.520707] systemd[1]: Listening on initctl Compatibility Named Pipe.
[    7.523121] systemd[1]: Listening on Journal Audit Socket.
[    7.524317] systemd[1]: Listening on Journal Socket (/dev/log).
[    7.525809] systemd[1]: Listening on Journal Socket.
[    7.527659] systemd[1]: Listening on udev Control Socket.
[    7.528601] systemd[1]: Listening on udev Kernel Socket.
[    7.541173] systemd[1]: Mounting Huge Pages File System...
[    7.554243] systemd[1]: Mounting POSIX Message Queue File System...
[    7.572007] systemd[1]: Mounting Kernel Debug File System...
[    7.603999] systemd[1]: Mounting Kernel Trace File System...
[    7.650325] systemd[1]: Starting Journal Service...
[    7.697752] systemd[1]: Starting Set the console keyboard layout...
[    7.712590] systemd[1]: Starting Create list of static device nodes for the current kernel...
[    7.713198] systemd[1]: Condition check resulted in Load Kernel Module drm being skipped.
[    7.727276] systemd[1]: Condition check resulted in Set Up Additional Binary Formats being skipped.
[    7.756308] systemd[1]: Starting File System Check on Root Device...
[    7.808489] systemd[1]: Starting Load Kernel Modules...
[    7.864772] systemd[1]: Starting udev Coldplug all Devices...
[    7.922299] systemd[1]: Mounted Huge Pages File System.
[    7.956476] systemd[1]: Mounted POSIX Message Queue File System.
[    7.966794] systemd[1]: Mounted Kernel Debug File System.
[    7.969036] systemd[1]: Mounted Kernel Trace File System.
[    8.026936] systemd[1]: Finished Create list of static device nodes for the current kernel.
[    8.062974] systemd[1]: Started File System Check Daemon to report status.
[    8.085177] systemd[1]: Finished Load Kernel Modules.
[    8.115022] systemd[1]: Mounting FUSE Control File System...
[    8.169060] systemd[1]: Mounting Kernel Configuration File System...
[    8.212176] systemd[1]: Starting Apply Kernel Variables...
[    8.231864] systemd[1]: Finished File System Check on Root Device.
[    8.312066] systemd[1]: Starting Remount Root and Kernel File Systems...
[    8.374074] systemd[1]: Mounted FUSE Control File System.
[    8.404770] systemd[1]: Mounted Kernel Configuration File System.
[    8.423381] systemd[1]: Finished Apply Kernel Variables.
[    8.627148] EXT4-fs (mmcblk0p4): re-mounted. Opts: errors=remount-ro
[    8.662924] systemd[1]: Finished Remount Root and Kernel File Systems.
[    8.671800] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[    8.672218] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[    8.716664] systemd[1]: Starting Load/Save Random Seed...
[    8.755989] systemd[1]: Starting Create System Users...
[    9.101068] systemd[1]: Finished Load/Save Random Seed.
[    9.142989] systemd[1]: Finished Create System Users.
[    9.180299] systemd[1]: Starting Create Static Device Nodes in /dev...
[    9.239139] systemd[1]: Finished Set the console keyboard layout.
[    9.328227] systemd[1]: Finished Create Static Device Nodes in /dev.
[    9.329936] systemd[1]: Reached target Local File Systems (Pre).
[    9.330169] systemd[1]: Reached target Local File Systems.
[    9.356708] systemd[1]: Starting Set console font and keymap...
[    9.357101] systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
[    9.357710] systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
[    9.371190] systemd[1]: Starting udev Kernel Device Manager...
[    9.419752] systemd[1]: Started Journal Service.
[    9.645062] systemd-journald[165]: Received client request to flush runtime journal.
[    9.650472] systemd-journald[165]: File /var/log/journal/13ea39df040d44858ea5fb986d75482a/system.journal corrupted or uncleanly shut down, renaming and replacing.
[   13.091234] systemd-journald[165]: Failed to read journal file /var/log/journal/13ea39df040d44858ea5fb986d75482a/user-1000.journal for rotation, trying to move it out of the way: Text file busy
[   19.173328] stm32-rproc 10000000.m4: wdg irq registered
[   19.173854] stm32-rproc 10000000.m4: m4 state not supported
[   19.193488] remoteproc remoteproc0: m4 is available
[   20.088522] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator
[   20.088942] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator
[   20.173825] dwc2 49000000.usb-otg: dwc2_core_reset: HANG! Soft Reset timeout GRSTCTL_CSFTRST
[   20.200257] dwc2: probe of 49000000.usb-otg failed with error -16
[   20.342911] st,stm32-i2s 4000b000.audio-controller: No cache defaults, reading back from HW
[   21.084229] input: pmic_onkey as /devices/platform/soc/5c002000.i2c/i2c-1/1-0033/5c002000.i2c:stpmic@33:onkey/input/input0
[   33.770714] vref: disabling
[   33.770765] vdda: disabling
[  410.138725] stm32-dwmac 5800a000.ethernet eth0: PHY [stmmac-0:00] driver [RTL8211F Gigabit Ethernet] (irq=POLL)
[  410.140871] dwmac4: Master AXI performs any burst length
[  410.140914] stm32-dwmac 5800a000.ethernet eth0: No Safety Features support found
[  410.346689] stm32-dwmac 5800a000.ethernet eth0: IEEE 1588-2008 Advanced Timestamp supported
[  410.347310] stm32-dwmac 5800a000.ethernet eth0: registered PTP clock
[  410.349573] stm32-dwmac 5800a000.ethernet eth0: configuring for phy/rgmii-id link mode
[  414.478620] stm32-dwmac 5800a000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[  414.478694] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

reference resources

Welcome to scan the two-dimensional code, and pay attention to WeChat official account.

Topics: Linux stm32