STM32MP157C-EV1.png
Let's start Develop on Arm® Cortex®-A7
Step category in.png Unpack the board Step.png Populate the target and boot the image Step.png Execute basic commands Step.png Use the demo launcher Step category out.png


1. Overview[edit | edit source]

This stage explains how to connect the Linux terminal of your board to your host computer through the ST-LINK/V2-1.
Then you can see how to execute basic commands with the Linux command line interface in order to be familiarized with the Linux console.

2. The serial terminal[edit | edit source]

The serial terminal allows you to communicate with the board trough an UART serial interface.

  • Install minicom
PC $> sudo apt-get install minicom
  • Get the ttyACM device instance that needs to be used to access the ST-LINK/V2-1
PC $> ls /dev/ttyACM*
/dev/ttyACM0
  • Connect the minicom to the /dev/ttyACM0 device
PC $> minicom -D /dev/ttyACM0
Welcome to minicom 2.7

OPTIONS: I18n 
Compiled on Nov 15 2018, 20:18:47.
Port /dev/ttyACM0, 15:56:03

Press CTRL-A Z for help on special keys
  • Press the reset button to reset the board. You should see logs displayed in the minicom window

NOTICE:  CPU: STM32MP157FAA Rev.Z
NOTICE:  Model: STMicroelectronics STM32MP157F eval daughter on eval mother
NOTICE:  Board: MB1263 Var4.0 Rev.C-03
INFO:    Reset reason (0x14):
INFO:      Pad Reset from NRST
INFO:    PMIC version = 0x20
INFO:    FCONF: Reading TB_FW firmware configuration file from: 0x2ffe3000
INFO:    FCONF: Reading firmware configuration information for: stm32mp_io
INFO:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.4-r1.0(debug):v2.4-dirty
NOTICE:  BL2: Built : 16:43:51, Nov 17 2020
INFO:    BL2: Doing platform setup
INFO:    RAM: DDR3-DDR3L 32bits 533000Khz                                       
WARNING: Couldn't find property st,phy-cal in dtb                               
INFO:    Memory size = 0x40000000 (1024 MB)                                     
INFO:    BL2: Loading image id 31                                               
INFO:    Loading image id=31 at address 0x2ffff000                              
INFO:    Image id=31 loaded: 0x2ffff000 - 0x2ffff226                            
INFO:    FCONF: Reading FW_CONFIG firmware configuration file from: 0x2ffff000  
INFO:    FCONF: Reading firmware configuration information for: dyn_cfg         
INFO:    FCONF: Reading firmware configuration information for: stm32mp1_firewal
INFO:    BL2: Loading image id 4                                                
INFO:    Loading image id=4 at address 0x2ffc5000                               
INFO:    Image id=4 loaded: 0x2ffc5000 - 0x2ffd847c                             
WARNING: Not a known TEE, use default loading options.                          
INFO:    BL2: Skip loading image id 21                                          
INFO:    BL2: Skip loading image id 22                                          
INFO:    BL2: Loading image id 23                                               
INFO:    Loading image id=23 at address 0xc0500000                              
INFO:    Image id=23 loaded: 0xc0500000 - 0xc051e916                            
INFO:    BL2: Loading image id 26                                               
INFO:    Loading image id=26 at address 0x2ffc0000                              
INFO:    Image id=26 loaded: 0x2ffc0000 - 0x2ffc47c8                            
INFO:    BL2: Loading image id 5                                                
INFO:    Loading image id=5 at address 0xc0100000                               
INFO:    Image id=5 loaded: 0xc0100000 - 0xc01cf9d8                             
NOTICE:  BL2: Booting BL32                                                      
INFO:    Entry point address = 0x2ffc5000                                       
INFO:    SPSR = 0x1d3                                                           
NOTICE:  SP_MIN: v2.4-r1.0(debug):v2.4-dirty                                    
NOTICE:  SP_MIN: Built : 16:43:51, Nov 17 2020                                  
INFO:    ARM GICv2 driver initialized                                           
INFO:    Set calibration timer to 60 sec                                        
INFO:    stm32mp1 IWDG1 is secure                                               
INFO:    SP_MIN: Initializing runtime services                                  
INFO:    SP_MIN: Preparing exit to normal world                                 
                                                                                
                                                                                
U-Boot 2020.10-stm32mp-r1 (Oct 05 2020 - 15:15:32 +0000)                        
                                                                                
CPU: STM32MP157FAA Rev.Z                                                        
Model: STMicroelectronics STM32MP157F eval daughter on eval mother              
Board: stm32mp1 in trusted mode (st,stm32mp157f-ev1)                            
Board: MB1263 Var4.0 Rev.C-03                                                   
DRAM:  1 GiB                                                                    
Clocks:                                                                         
- MPU : 800 MHz                                                                 
- MCU : 208.878 MHz                                                             
- AXI : 266.500 MHz                                                             
- PER : 24 MHz                                                                  
- DDR : 533 MHz                                                                 
WDT:   Started with servicing (32s timeout)                                     
NAND:  1024 MiB                                                                 
MMC:   STM32 SD/MMC: 0, STM32 SD/MMC: 1                                         
Loading Environment from MMC... OK                                              
In:    serial                                                                   
Out:   serial                                                                   
Err:   serial                                                                   
Net:   eth0: ethernet@5800a000                                                  
Hit any key to stop autoboot:  0                                                
Boot over mmc0!                                                                 
switch to partitions #0, OK                                                     
mmc0 is current device                                                          
Scanning mmc 0:4...                                                             
Found /mmc0_extlinux/stm32mp157f-ev1_extlinux.conf                              
Retrieving file: /mmc0_extlinux/stm32mp157f-ev1_extlinux.conf                   
706 bytes read in 33 ms (20.5 KiB/s)                                            
Retrieving file: /splash.bmp                                                    
18244 bytes read in 33 ms (539.1 KiB/s)                                         
Select the boot mode                                                            
1:      OpenSTLinux                                                             
2:      stm32mp157f-ev1-a7-examples                                             
3:      stm32mp157f-ev1-m4-examples                                             
Enter choice: 1:        OpenSTLinux                                             
Retrieving file: /uInitrd                                                       
3634613 bytes read in 186 ms (18.6 MiB/s)                                       
Retrieving file: /uImage                                                        
7457152 bytes read in 347 ms (20.5 MiB/s)                                       
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=0
Retrieving file: /stm32mp157f-ev1.dtb                                           
122543 bytes read in 37 ms (3.2 MiB/s)                                          
## Booting kernel from Legacy Image at c2000000 ...                             
   Image Name:   Linux-5.10.10                                                  
   Created:      2021-01-23  15:04:06 UTC                                       
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    7457088 Bytes = 7.1 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                                                             
   Loading Ramdisk to cfc88000, end cffff5b5 ... OK                             
   Loading Device Tree to cfc67000, end cfc87eae ... OK                         
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000] Booting Linux on physical CPU 0x0                                
[    0.000000] Linux version 5.10.10 (oe-user@oe-host) (arm-ostl-linux-gnueabi-1
[    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 instructie
[    0.000000] OF: fdt: Machine model: STMicroelectronics STM32MP157F eval daugr
[    0.000000] Memory policy: Data cache writealloc                             
[    0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MB
[    0.000000] OF: reserved mem: initialized node mcuram2@10000000, compatible l
[    0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MB
[    0.000000] OF: reserved mem: initialized node vdev0vring0@10040000, compatil
[    0.000000] Reserved memory: created DMA memory pool at 0x10041000, size 0 MB
[    0.000000] OF: reserved mem: initialized node vdev0vring1@10041000, compatil
[    0.000000] Reserved memory: created DMA memory pool at 0x10042000, size 0 MB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@10042000, compatil
[    0.000000] Reserved memory: created DMA memory pool at 0x30000000, size 0 MB
[    0.000000] OF: reserved mem: initialized node mcuram@30000000, compatible il
[    0.000000] Reserved memory: created DMA memory pool at 0x38000000, size 0 MB
[    0.000000] OF: reserved mem: initialized node retram@38000000, compatible il
[    0.000000] cma: Reserved 128 MiB at 0xe8000000                              
[    0.000000] Zone ranges:                                                     
[    0.000000]   Normal   [mem 0x00000000c0000000-0x00000000efffffff]           
[    0.000000]   HighMem  [mem 0x00000000f0000000-0x00000000ffffefff]           
[    0.000000] Movable zone start for each node                                 
[    0.000000] Early memory node ranges                                         
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000f5ffffff]          
[    0.000000]   node   0: [mem 0x00000000fe000000-0x00000000ffffefff]          
[    0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000ffffefff] 
[    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.2                                
[    0.000000] percpu: Embedded 20 pages/cpu s51788 r8192 d21940 u81920         
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 227647    
[    0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77bec0
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes,)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes, l)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off          
[    0.000000] Memory: 755296K/917500K available (11264K kernel code, 1206K rwd)
[    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]  Trampoline variant of Tasks RCU enabled.                        
[    0.000000]  Tracing variant of Tasks RCU enabled.                           
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 ji.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                  
[    0.000000] random: get_random_bytes called from start_kernel+0x390/0x568 wi0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (virt).            
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless
[    0.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398s
[    0.000025] Switching to timer-based delay loop, resolution 41ns             
[    0.001522] Console: colour dummy device 80x30                               
[    0.001578] Calibrating delay loop (skipped), value calculated using timer f)
[    0.001604] pid_max: default: 32768 minimum: 301                             
[    0.001838] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes, line)
[    0.001866] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes,)
[    0.003036] CPU: Testing write buffer coherency: ok                          
[    0.003445] /cpus/cpu@0 missing clock-frequency property                     
[    0.003482] /cpus/cpu@1 missing clock-frequency property                     
[    0.003500] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                 
[    0.004611] Setting up static identity map for 0xc0100000 - 0xc0100060       
[    0.004801] rcu: Hierarchical SRCU implementation.                           
[    0.006055] smp: Bringing up secondary CPUs ...                              
[    0.007146] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001                 
[    0.007368] smp: Brought up 1 node, 2 CPUs                                   
[    0.007395] SMP: Total of 2 processors activated (96.00 BogoMIPS).           
[    0.007406] CPU: All CPU(s) started in SVC mode.                             
[    0.008203] devtmpfs: initialized                                            
[    0.039819] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5
[    0.040155] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[    0.040188] futex hash table entries: 512 (order: 3, 32768 bytes, linear)    
[    0.045822] pinctrl core: initialized pinctrl subsystem                      
[    0.047765] NET: Registered protocol family 16                               
[    0.050618] DMA: preallocated 256 KiB pool for atomic coherent allocations   
[    0.052236] thermal_sys: Registered thermal governor 'step_wise'             
[    0.052604] cpuidle: using governor menu                                     
[    0.052958] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint.
[    0.052977] hw-breakpoint: maximum watchpoint size is 8 bytes.               
[    0.053338] Serial: AMBA PL011 UART driver                                   
[    0.104025] stm32-pm-domain pm_domain: domain core-ret-power-domain registerd
[    0.104069] stm32-pm-domain pm_domain: subdomain core-power-domain registered
[    0.104085] stm32-pm-domain pm_domain: domains probed                        
[    0.129240] SCSI subsystem initialized                                       
[    0.130121] usbcore: registered new interface driver usbfs                   
[    0.130208] usbcore: registered new interface driver hub                     
[    0.130277] usbcore: registered new device driver usb                        
[    0.130543] pps_core: LinuxPPS API ver. 1 registered                         
[    0.130558] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[    0.130589] PTP clock support registered                                     
[    0.131421] arm-scmi firmware:scmi0: SCMI Notifications - Core Enabled.      
[    0.131500] arm-scmi firmware:scmi0: SCMI Protocol v2.0 'ST:' Firmware versi0
[    0.134599] clocksource: Switched to clocksource arch_sys_counter            
[    1.310687] NET: Registered protocol family 2                                
[    1.311764] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144)
[    1.311914] TCP established hash table entries: 8192 (order: 3, 32768 bytes,)
[    1.312018] TCP bind hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    1.312165] TCP: Hash tables configured (established 8192 bind 8192)         
[    1.312346] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)      
[    1.312419] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear) 
[    1.312909] NET: Registered protocol family 1                                
[    1.313840] RPC: Registered named UNIX socket transport module.              
[    1.313866] RPC: Registered udp transport module.                            
[    1.313877] RPC: Registered tcp transport module.                            
[    1.313887] RPC: Registered tcp NFSv4.1 backchannel transport module.        
[    1.314226] Trying to unpack rootfs image as initramfs...                    
[    1.627420] Freeing initrd memory: 3552K                                     
[    1.628275] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 countee
[    1.630155] Initialise system trusted keyrings                               
[    1.630559] workingset: timestamp_bits=14 max_order=18 bucket_order=4        
[    1.639847] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
[    1.641119] NFS: Registering the id_resolver key type                        
[    1.641182] Key type id_resolver registered                                  
[    1.641194] Key type id_legacy registered                                    
[    1.641361] nfs4filelayout_init: NFSv4 File Layout Driver Registering...     
[    1.641530] ntfs: driver 2.1.32 [Flags: R/O].                                
[    1.641815] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.            
[    1.642615] fuse: init (API version 7.32)                                    
[    1.643552] NET: Registered protocol family 38                               
[    1.643577] Key type asymmetric registered                                   
[    1.643590] Asymmetric key parser 'x509' registered                          
[    1.643668] bounce: pool size: 64 pages                                      
[    1.643726] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[    1.643741] io scheduler mq-deadline registered                              
[    1.643752] io scheduler kyber registered                                    
[    1.656551] STM32 USART driver initialized                                   
[    1.677967] brd: module loaded                                               
[    1.680314] random: fast init done                                           
[    1.684980] random: crng init done                                           
[    1.690390] loop: module loaded                                              
[    1.696543] libphy: Fixed MDIO Bus: probed                                   
[    1.698327] CAN device driver interface                                      
[    1.700663] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet drr
[    1.700754] usbcore: registered new interface driver pegasus                 
[    1.700829] usbcore: registered new interface driver asix                    
[    1.700882] usbcore: registered new interface driver ax88179_178a            
[    1.700935] usbcore: registered new interface driver cdc_ether               
[    1.701015] usbcore: registered new interface driver smsc75xx                
[    1.701086] usbcore: registered new interface driver smsc95xx                
[    1.701140] usbcore: registered new interface driver net1080                 
[    1.701193] usbcore: registered new interface driver cdc_subset              
[    1.701253] usbcore: registered new interface driver zaurus                  
[    1.701333] usbcore: registered new interface driver cdc_ncm                 
[    1.702602] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver       
[    1.702655] ehci-platform: EHCI generic platform driver                      
[    1.703184] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver           
[    1.703229] ohci-platform: OHCI generic platform driver                      
[    1.704024] usbcore: registered new interface driver usb-storage             
[    1.708452] i2c /dev entries driver                                          
[    1.713161] stm32-cpufreq stm32-cpufreq: Failed to get chip info: -517       
[    1.714376] sdhci: Secure Digital Host Controller Interface driver           
[    1.714394] sdhci: Copyright(c) Pierre Ossman                                
[    1.714404] Synopsys Designware Multimedia Card Interface Driver             
[    1.715064] sdhci-pltfm: SDHCI platform and OF driver helper                 
[    1.716425] ledtrig-cpu: registered to indicate activity on CPUs             
[    1.716533] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....        
[    1.716989] usbcore: registered new interface driver usbhid                  
[    1.717006] usbhid: USB HID core driver                                      
[    1.718469] remoteproc remoteproc0: releasing m4                             
[    1.720707] NET: Registered protocol family 17                               
[    1.720749] can: controller area network core                                
[    1.720867] NET: Registered protocol family 29                               
[    1.720888] can: raw protocol                                                
[    1.720900] can: broadcast manager protocol                                  
[    1.720919] can: netlink gateway - max_hops=1                                
[    1.721668] Key type dns_resolver registered                                 
[    1.721831] ThumbEE CPU extension supported.                                 
[    1.721858] Registering SWP/SWPB emulation handler                           
[    1.722272] registered taskstats version 1                                   
[    1.722311] Loading compiled-in X.509 certificates                           
[    1.759410] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered 
[    1.763932] stm32-dma 48000000.dma-controller: STM32 DMA driver registered   
[    1.766386] stm32-dma 48001000.dma-controller: STM32 DMA driver registered   
[    1.776375] stm_thermal 50028000.thermal: stm_thermal_probe: Driver initialiy
[    1.782134] remoteproc remoteproc0: releasing m4                             
[    1.783528] /soc/interrupt-controller@5000d000: bank0                        
[    1.783556] /soc/interrupt-controller@5000d000: bank1                        
[    1.783573] /soc/interrupt-controller@5000d000: bank2                        
[    1.785927] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOA bank added 
[    1.786327] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOB bank added 
[    1.786676] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOC bank added 
[    1.787009] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOD bank added 
[    1.787367] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOE bank added 
[    1.787715] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOF bank added 
[    1.788063] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOG bank added 
[    1.788389] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOH bank added 
[    1.788734] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOI bank added 
[    1.789053] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOJ bank added 
[    1.789381] stm32mp157-pinctrl soc:pin-controller@50002000: GPIOK bank added 
[    1.789678] stm32mp157-pinctrl soc:pin-controller@50002000: Pinctrl STM32 ind
[    1.791000] stm32mp157-pinctrl soc:pin-controller-z@54004000: GPIOZ bank addd
[    1.791037] stm32mp157-pinctrl soc:pin-controller-z@54004000: Pinctrl STM32 d
[    1.794562] stm32-usart 40010000.serial: interrupt mode for rx (no dma)      
[    1.794717] stm32-usart 40010000.serial: interrupt mode for tx (no dma)      
[    1.794755] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 66, base_baudt
[    2.971025] printk: console [ttySTM0] enabled                                
[    2.982033] spi-nor spi0.0: mx25l51245g (65536 Kbytes)                       
[    2.988818] spi-nor spi0.1: mx25l51245g (65536 Kbytes)                       
[    2.996815] m_can_platform 4400e000.can: m_can device registered (irq=62, ve)
[    3.005117] stm32-dwmac 5800a000.ethernet: IRQ eth_lpi not found             
[    3.009896] stm32-dwmac 5800a000.ethernet: PTP uses main clock               
[    3.015606] stm32-dwmac 5800a000.ethernet: no reset control found            
[    3.022254] stm32-dwmac 5800a000.ethernet: User ID: 0x40, Synopsys ID: 0x42  
[    3.028702] stm32-dwmac 5800a000.ethernet:   DWMAC4/5                        
[    3.033606] stm32-dwmac 5800a000.ethernet: DMA HW capability register suppord
[    3.041017] stm32-dwmac 5800a000.ethernet: RX Checksum Offload Engine suppord
[    3.048291] stm32-dwmac 5800a000.ethernet: TX Checksum insertion supported   
[    3.055183] stm32-dwmac 5800a000.ethernet: Wake-Up On Lan supported          
[    3.061568] stm32-dwmac 5800a000.ethernet: TSO supported                     
[    3.066807] stm32-dwmac 5800a000.ethernet: Enable RX Mitigation via HW Watchr
[    3.074656] stm32-dwmac 5800a000.ethernet: Enabled Flow TC (entries=2)       
[    3.081179] stm32-dwmac 5800a000.ethernet: TSO feature enabled               
[    3.087051] stm32-dwmac 5800a000.ethernet: Using 32 bits DMA width           
[    3.095754] libphy: stmmac: probed                                           
[    3.111919] stm32_rtc 5c004000.rtc: registered as rtc0                       
[    3.115755] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-01T00:00)
[    3.124760] stm32_rtc 5c004000.rtc: Date/Time must be initialized            
[    3.130459] stm32_rtc 5c004000.rtc: registered rev:1.2                       
[    3.162846] stm32f7-i2c 40013000.i2c: STM32F7 I2C-0 bus adapter              
[    3.184766] stm32f7-i2c 40015000.i2c: STM32F7 I2C-1 bus adapter              
[    3.211496] stpmic1 2-0033: PMIC Chip Version: 0x20                          
[    3.223335] vddcore: supplied by vin                                         
[    3.228593] vdd_ddr: supplied by vin                                         
[    3.233702] vdd: supplied by vin                                             
[    3.238649] v3v3: supplied by vin                                            
[    3.240764] vdda: Bringing 1800000uV into 2900000-2900000uV                  
[    3.247032] vdda: supplied by v3v3                                           
[    3.250693] v2v8: Bringing 1800000uV into 2800000-2800000uV                  
[    3.255983] v2v8: supplied by v3v3                                           
[    3.261965] vtt_ddr: supplied by vdd_ddr                                     
[    3.264969] vdd_usb: supplied by vin                                         
[    3.271303] vdd_sd: supplied by v3v3                                         
[    3.274081] v1v8: Bringing 1000000uV into 1800000-1800000uV                  
[    3.279838] v1v8: supplied by v3v3                                           
[    3.285639] vref_ddr: supplied by vin                                        
[    3.288346] bst_out: supplied by vin                                         
[    3.292202] vbus_otg: supplied by bst_out                                    
[    3.296392] vbus_sw: supplied by bst_out                                     
[    3.302632] input: pmic_onkey as /devices/platform/soc/5c002000.i2c/i2c-2/2-0
[    3.313283] stm32f7-i2c 5c002000.i2c: STM32F7 I2C-2 bus adapter              
[    3.321458] mmci-pl18x 58005000.sdmmc: Got CD GPIO                           
[    3.325984] mmci-pl18x 58005000.sdmmc: mmc0: PL180 manf 53 rev2 at 0x5800500)
[    3.363603] mmci-pl18x 58007000.sdmmc: mmc1: PL180 manf 53 rev2 at 0x5800700)
[    3.412717] stm32-ipcc 4c001000.mailbox: ipcc rev:1.0 enabled, 6 chans, proc0
[    3.425503] stm32-rproc 10000000.m4: wdg irq registered                      
[    3.431236] remoteproc remoteproc0: m4 is available                          
[    3.440082] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3         
[    3.446175] nand: Micron MT29F8G08ABACAH4                                    
[    3.449064] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB s4
[    3.458941] mmc0: new ultra high speed DDR50 SDHC card at address aaaa       
[    3.465629] mmcblk0: mmc0:aaaa SS16G 14.8 GiB                                
[    3.468789] Bad block table found at page 262080, version 0x01               
[    3.478153] Bad block table found at page 262016, version 0x01               
[    3.489988] reg11: supplied by vdd                                           
[    3.492962] reg18: supplied by vdd                                           
[    3.498313]  mmcblk0: p1 p2 p3 p4 p5 p6 p7                                   
[    3.504864] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0               
[    3.516068] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-contro0
[    3.524432] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regur
[    3.530864] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regur
[    3.544848] mmc1: new DDR MMC card at address 0001                           
[    3.549421] mmcblk1: mmc1:0001 004GA0 3.69 GiB                               
[    3.553468] mmcblk1boot0: mmc1:0001 004GA0 partition 1 2.00 MiB              
[    3.559458] mmcblk1boot1: mmc1:0001 004GA0 partition 2 2.00 MiB              
[    3.565292] mmcblk1rpmb: mmc1:0001 004GA0 partition 3 512 KiB, chardev (243:)
[    3.582232]  mmcblk1: p1 p2 p3 p4 p5                                         
[    3.674874] usb33: supplied by vdd_usb                                       
[    3.677819] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SM
[    3.685894] dwc2 49000000.usb-otg: DWC OTG Controller                        
[    3.689726] dwc2 49000000.usb-otg: new USB bus registered, assigned bus numb1
[    3.697271] dwc2 49000000.usb-otg: irq 93, io mem 0x49000000                 
[    3.704810] hub 1-0:1.0: USB hub found                                       
[    3.707194] hub 1-0:1.0: 1 port detected                                     
[    3.718370] ehci-platform 5800d000.usbh-ehci: EHCI Host Controller           
[    3.723156] ehci-platform 5800d000.usbh-ehci: new USB bus registered, assign2
[    3.731975] ehci-platform 5800d000.usbh-ehci: irq 68, io mem 0x5800d000      
[    3.764936] ehci-platform 5800d000.usbh-ehci: USB 2.0 started, EHCI 1.00     
[    3.772441] hub 2-0:1.0: USB hub found                                       
[    3.774962] hub 2-0:1.0: 2 ports detected                                    
[    3.783214] stmfx-core 0-0042: STMFX id: 0x7b, fw version: 3.03              
[    3.818941] stmfx-pinctrl stmfx-pinctrl: DMA mask not set                    
[    3.827079] stmfx-pinctrl stmfx-pinctrl: 24 GPIOs available                  
[    3.839566] Goodix-TS 0-005d: supply AVDD28 not found, using dummy regulator 
[    3.845499] Goodix-TS 0-005d: supply VDDIO not found, using dummy regulator  
[    3.853807] Goodix-TS 0-005d: ID 9147, version: 1040                         
[    3.879156] input: Goodix Capacitive TouchScreen as /devices/platform/soc/401
[    3.915277] input: joystick as /devices/platform/joystick/input/input2       
[    3.928873] Freeing unused kernel memory: 1024K                              
[    3.932600] Run /init as init process                                        
[    4.144734] usb 2-1: new high-speed USB device number 2 using ehci-platform  
Starting version 244.5+                                                         
[    4.347290] hub 2-1:1.0: USB hub found                                       
[    4.349852] hub 2-1:1.0: 4 ports detected                                    
[    5.763739] EXT4-fs (mmcblk0p6): recovery complete                           
[    5.769401] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. )
[    6.200747] systemd[1]: System time before build time, advancing clock.      
[    6.323710] NET: Registered protocol family 10                               
[    6.356664] Segment Routing with IPv6                                        
[    6.392789] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT )
[    6.418452] systemd[1]: Detected architecture arm.                           
                                                                                
Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1-openstl!
                                                                                
[    6.538202] systemd[1]: Set hostname to <stm32mp1>.                          
[    6.550659] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', vers0
[    6.558276] systemd[1]: Set hardware watchdog to 32s.                        
[    7.294048] systemd[1]: Unnecessary job for /dev/ttySTM0 was removed.        
[    7.306877] systemd[1]: Created slice system-getty.slice.                    
[  OK  ] Created slice system-getty.slice.                                      
[    7.349136] systemd[1]: Created slice system-serial\x2dgetty.slice.          
[  OK  ] Created slice system-serial\x2dgetty.slice.                            
[    7.386755] systemd[1]: Created slice User and Session Slice.                
[  OK  ] Created slice User and Session Slice.                                  
[    7.425883] systemd[1]: Started Dispatch Password Requests to Console Direct.
[  OK  ] Started Dispatch Password �…ts to Console Directory Watch.             
[    7.465702] systemd[1]: Started Forward Password Requests to Wall Directory .
[  OK  ] Started Forward Password R�…uests to Wall Directory Watch.             
[    7.505616] systemd[1]: Reached target Paths.                                
[  OK  ] Reached target Paths.                                                  
[    7.535207] systemd[1]: Reached target Remote File Systems.                  
[  OK  ] Reached target Remote File Systems.                                    
[    7.575109] systemd[1]: Reached target Slices.                               
[  OK  ] Reached target Slices.                                                 
[    7.605133] systemd[1]: Reached target Swap.                                 
[  OK  ] Reached target Swap.                                                   
[    7.670697] systemd[1]: Listening on RPCbind Server Activation Socket.       
[  OK  ] Listening on RPCbind Server Activation Socket.                         
[    7.705396] systemd[1]: Reached target RPC Port Mapper.                      
[  OK  ] Reached target RPC Port Mapper.                                        
[    7.746737] systemd[1]: Listening on Syslog Socket.                          
[  OK  ] Listening on Syslog Socket.                                            
[    7.808203] systemd[1]: Listening on Process Core Dump Socket.               
[  OK  ] Listening on Process Core Dump Socket.                                 
[    7.846057] systemd[1]: Listening on initctl Compatibility Named Pipe.       
[  OK  ] Listening on initctl Compatibility Named Pipe.                         
[    7.894958] systemd[1]: Condition check resulted in Journal Audit Socket bei.
[    7.903191] systemd[1]: Listening on Journal Socket (/dev/log).              
[  OK  ] Listening on Journal Socket (/dev/log).                                
[    7.936700] systemd[1]: Listening on Journal Socket.                         
[  OK  ] Listening on Journal Socket.                                           
[    7.977282] systemd[1]: Listening on Network Service Netlink Socket.         
[  OK  ] Listening on Network Service Netlink Socket.                           
[    8.016500] systemd[1]: Listening on udev Control Socket.                    
[  OK  ] Listening on udev Control Socket.                                      
[    8.056023] systemd[1]: Listening on udev Kernel Socket.                     
[  OK  ] Listening on udev Kernel Socket.                                       
[    8.096825] systemd[1]: Condition check resulted in Huge Pages File System b.
[    8.114850] systemd[1]: Mounting POSIX Message Queue File System...          
         Mounting POSIX Message Queue File System...                            
[    8.165952] systemd[1]: Mounting Kernel Debug File System...                 
         Mounting Kernel Debug File System...                                   
[    8.218502] systemd[1]: Mounting Temporary Directory (/tmp)...               
         Mounting Temporary Directory (/tmp)...                                 
[    8.263801] systemd[1]: Starting Create list of static device nodes for the .
         Starting Create list of st�…odes for the current kernel...             
[    8.315355] systemd[1]: Starting Mount partitions...                         
         Starting Mount partitions...                                           
[    8.357163] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.        
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.                          
[    8.403775] systemd[1]: Starting RPC Bind...                                 
         Starting RPC Bind...                                                   
[    8.414140] systemd[1]: Condition check resulted in File System Check on Roo.
[    8.445222] systemd[1]: Starting Journal Service...                          
         Starting Journal Service...                                            
[    8.466436] systemd[1]: Condition check resulted in Load Kernel Modules bein.
[    8.506717] systemd[1]: Mounting FUSE Control File System...                 
         Mounting FUSE Control File System...                                   
[    8.563474] systemd[1]: Mounting Kernel Configuration File System...         
         Mounting Kernel Configuration File System...                           
[    8.631721] systemd[1]: Starting Remount Root and Kernel File Systems...     
         Starting Remount Root and Kernel File Systems...                       
[    8.681900] systemd[1]: Starting Apply Kernel Variables...                   
         Starting Apply Kernel Variables...                                     
[    8.724396] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)                    
[    8.768454] systemd[1]: Starting udev Coldplug all Devices...                
         Starting udev Coldplug all Devices...                                  
[    8.847747] EXT4-fs (mmcblk0p4): recovery complete                           
[    8.851327] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. )
[    8.870804] ext4 filesystem being mounted at /boot supports timestamps until)
[    8.955895] systemd[1]: Started RPC Bind.                                    
[  OK  ] Started RPC Bind.                                                      
[    8.971338] systemd[1]: Mounted POSIX Message Queue File System.             
[  OK  ] Mounted POSIX Message Queue File System.                               
[    9.036130] systemd[1]: Mounted Kernel Debug File System.                    
[  OK  ] Mounted Kernel Debug File System.                                      
[    9.076144] systemd[1]: Mounted Temporary Directory (/tmp).                  
[  OK  ] Mounted Temporary Directory (/tmp).                                    
[    9.124845] systemd[1]: Started Create list of static device nodes for the c.
[  OK  ] Started Create list of sta�… nodes for the current kernel.             
[    9.145988] systemd[1]: Mounted FUSE Control File System.                    
[  OK  ] Mounted FUSE Control File System.                                      
[    9.185948] systemd[1]: Mounted Kernel Configuration File System.            
[  OK  ] Mounted Kernel Configuration File System.                              
[    9.228888] systemd[1]: Started Remount Root and Kernel File Systems.        
[  OK  ] Started Remount Root and Kernel File Systems.                          
[    9.244466] systemd[1]: Started Journal Service.                             
[  OK  ] Started Journal Service.                                               
[  OK  ] Started Apply Kernel Variables.                                        
[  OK  ] Started Star[    9.339551] EXT4-fs (mmcblk0p5): recovery complete      
ts Psplash Boot [    9.345471] EXT4-fs (mmcblk0p5): mounted filesystem with ord)
[    9.353292] ext4 filesystem being mounted at /vendor supports timestamps unt)
screen.                                                                         
         Starting Flush Journal to Persistent Storage...                        
         Starting Create Static Device Nodes in /dev...                         
[    9.534250] systemd-journald[284]: Received client request to flush runtime .
[  OK  ] Started Flush Journal to Persistent Storage.                           
[    9.596754] Goodix-TS 0-005d: I2C transfer error: -6                         
[    9.600471] Goodix-TS 0-005d: I2C write end_cmd error                        
[  OK  ] Started Create Static Device Nodes in /dev.                            
[  OK  ] Reached target Local File Systems (Pre).                               
         Mounting /var/volatile...                                              
         Starting udev Kernel Device Manager...                                 
[  OK  ] Mounted /var/volatile.                                                 
         Starting Load/Save Random Seed...                                      
[  OK  ] Started Load/Save Random Seed.                                         
[   10.124812] EXT4-fs (mmcblk0p7): recovery complete                           
[   10.129884] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. )
[   10.144696] ext4 filesystem being mounted at /usr/local supports timestamps )
[  OK  ] Started Mount partitions.                                              
[  OK  ] Reached target Local File Systems.                                     
         Starting Create Volatile Files and Directories...                      
[  OK  ] Started udev Kernel Device Manager.                                    
[  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 Set.                                        
[  OK  ] Reached target System Time Synchronized.                               
[  OK  ] Created slice system-systemd\x2dbacklight.slice.                       
         Starting Load/Save Screen �…f backlight:panel-backlight...             
[   12.247730] st,stm32-spdifrx 4000d000.audio-controller: No cache defaults, rW
[   12.311060] mc: Linux media interface: v0.10                                 
[   12.341246] wm8994 0-001b: supply DCVDD not found, using dummy regulator     
[   12.375148] wm8994 0-001b: supply AVDD1 not found, using dummy regulator     
[   12.449598] stm32-dfsdm 4400d000.dfsdm: SPI clock not accurate               
[   12.454010] stm32-dfsdm 4400d000.dfsdm: 24573875 = 2048000 * 12 + 2045875    
[   12.469349] videodev: Linux video capture interface: v2.00                   
[  OK  ] Started Load/Save Screen B�… of backlight:panel-backlight.             
[  OK  ] Reached target Hardware activated USB gadget.                          
[  OK  ] Started udev Coldplug all Devices.                                     
[   12.714705] stm32-dcmi 4c006000.dcmi: Probe done                             
[  OK  ] Reached target System Initialization.                                  
[   12.755734] ov5640 0-003c: supply AVDD not found, using dummy regulator      
[   12.761406] ov5640 0-003c: supply DVDD not found, using dummy regulator      
[   12.770912] wm8994 0-001b: WM8994 revision D CUST_ID 00                      
[   12.785327] wm8994 0-001b: No interrupt specified, no interrupts             
[   12.801644] stm32-cryp 54001000.cryp: will run requests pump with realtime py
[   12.809380] stm32-hash 54002000.hash: will run requests pump with realtime py
[  OK  ] Started Daily apt download activities.                                 
[  OK  ] Started Daily Cleanup of Temporary Directories.                        
[  OK  ] Reached target Timers.                                                 
[   12.877976] stm32-hash 54002000.hash: Init HASH done HW ver 23 DMA mode 1    
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.                
[  OK  ] Listening on D-Bus System Message Bus Socket.                          
[   13.000986] stm32-cryp 54001000.cryp: Initialized                            
[  OK  ] Listening on dropbear.socket.                                          
[  OK  ] Reached target Sockets.                                                
[  OK  ] Reached target Basic System.                                           
[  OK  ] Started Kernel Logging Service.                                        
[   13.192667] stm32-crc32 58009000.crc: Initialized                            
[  OK  ] Started System Logging Service.                                        
[   13.298191] galcore: loading out-of-tree module taints kernel.               
[  OK  ] Started D-Bus System Message Bus.                                      
[   13.513966] Galcore version 6.4.3.279124                                     
         Starting IPv6 Packet Filtering Framework...                            
         Starting IPv4 Packet Filtering Framework...                            
         Starting Netdata, Real-time performance monitoring...                  
         Starting Login Service...                                              
[  OK  ] Started TEE Supplicant.                                                
         Starting Enable USB Ethernet gadget...                                 
[  OK  ] Started IPv6 Packet Filtering Framework.                               
[  OK  ] Started IPv4 Packet Filtering Framework.                               
[   14.651590] using random self ethernet address                               
[   14.654761] using random host ethernet address                               
[   14.853501] usb0: HOST MAC 60:eb:4a:5c:64:0b                                 
[   14.856952] usb0: MAC 4e:7c:48:47:21:3d                                      
[   14.860220] dwc2 49000000.usb-otg: bound driver configfs-gadget              
[  OK  ] Started Enable USB Ethernet gadget.                                    
[   15.918840] wm8994-codec wm8994-codec: Failed to request Mic1 detect IRQ: -22
[   15.955431] wm8994-codec wm8994-codec: Failed to request Mic1 short IRQ: -22 
[   15.961056] wm8994-codec wm8994-codec: Failed to request Mic2 detect IRQ: -22
[   16.025610] wm8994-codec wm8994-codec: Failed to request Mic2 short IRQ: -22 
[  OK  ] Started Netdata, Real-time performance monitoring.                     
[  OK  ] Started Login Service.                                                 
[  OK  ] Created slice system-weston.slice.                                     
[  OK  ] Reached target Network (Pre).                                          
[  OK  ] Listening on Load/Save RF �…itch Status /dev/rfkill Watch.             
         Starting Save/Restore Sound Card State...                              
         Starting Network Service...                                            
[  OK  ] Started Save/Restore Sound Card State.                                 
[  OK  ] Reached target Sound Card.                                             
[  OK  ] Started Network Service.                                               
         Starting Network Name Resolution...                                    
[   18.215687] stm32-dwmac 5800a000.ethernet eth0: PHY [stmmac-0:00] driver [RT)
[   18.264703] dwmac4: Master AXI performs any burst length                     
[   18.268625] stm32-dwmac 5800a000.ethernet eth0: No Safety Features support fd
[   18.296703] stm32-dwmac 5800a000.ethernet eth0: IEEE 1588-2008 Advanced Timed
[   18.315349] stm32-dwmac 5800a000.ethernet eth0: registered PTP clock         
[   18.348867] stm32-dwmac 5800a000.ethernet eth0: configuring for phy/rgmii-ide
[  OK  ] Started Network Name Resolution.                                       
[  OK  ] Reached target Network.                                                
[  OK  ] Reached target Host and Network Name Lookups.                          
         Starting Avahi mDNS/DNS-SD Stack...                                    
[  OK  ] Started IIO Daemon.                                                    
[  OK  ] Started Respond to IPv6 Node Information Queries.                      
         Starting Sound Service...                                              
[  OK  ] Started Network Router Discovery Daemon.                               
         Starting Permit User Sessions...                                       
         Starting Target Communication Framework agent...                       
[  OK  ] Started Permit User Sessions.                                          
[  OK  ] Started Target Communication Framework agent.                          
[  OK  ] Started Avahi mDNS/DNS-SD Stack.                                       
[  OK  ] Started Getty on tty1.                                                 
[  OK  ] Started Serial Getty on ttySTM0.                                       
[  OK  ] Reached target Login Prompts.                                          
         Starting Weston Wayland Compositor (on tty7)...                        
[  OK  ] Started Weston Wayland Compositor (on tty7).                           
[  OK  ] Created slice User Slice of UID 0.                                     
         Starting User Runtime Directory /run/user/0...                         
[  OK  ] Started User Runtime Directory /run/user/0.                            
         Starting User Manager for UID 0...                                     
[  OK  ] Started Sound Service.                                                 
[  OK  ] Reached target Multi-User System.                                      
         Starting Update UTMP about System Runlevel Changes...                  
[  OK  ] Started Update UTMP about System Runlevel Changes.                     
[  OK  ] Started User Manager for UID 0.                                        
[  OK  ] Started Session c1 of user root.                                       
                                                                                
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1-openstlinux-5.10-d0
                                                                                
stm32mp1 login: root (automatic login)                                          
                                                                                
Last login: Sun Sep 20 10:44:12 UTC 2020 on tty7                                
                                                                               
root@stm32mp1:~#          

3. Basic commands[edit | edit source]

3.1. Printing distribution specific information[edit | edit source]

Board $> cat /etc/build
-----------------------
Build Configuration:  |
-----------------------
BB_VERSION = 1.46.0
BUILD_SYS = x86_64-linux
NATIVELSBSTRING = universal
TARGET_SYS = arm-ostl-linux-gnueabi
MACHINE = stm32mp1
DISTRO = openstlinux-weston
DISTRO_VERSION = 3.1-openstlinux-5.10-dunfell-mp1-21-03-31
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-21-03-31-rc4-2-g7ef7d27
DISTRO_CODENAME = dunfell
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 9.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
PREFERRED_VERSION_linux-stm32mp = 
-----------------------
Layer Revisions:      |
-----------------------
meta-python       = default.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073 
meta-oe           = default.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073 
meta-gnome        = default.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073 
meta-initramfs    = default.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073 
meta-multimedia   = default.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073 
meta-networking   = default.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073 
meta-webserver    = default.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073 
meta-filesystems  = default.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073 
meta-perl         = default.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073 
meta-st-stm32mp   = default.xml:2e80e33539a193c6a8add6131c4c760009c49cea 
meta-qt5          = default.xml:0d8eb956015acdea7e77cd6672d08dce18061510 
meta-st-openstlinux = default.xml:673d7ee4572e3faadec3e43d5f0fa004465b78d9 
meta              = default.xml:72431ee8de5e3a53d259cebf420a7713ac9e1f14 

3.2. Printing system information[edit | edit source]

Board $> uname -a
Linux stm32mp1 5.10.10 #1 SMP PREEMPT Sat Jan 23 15:04:06 UTC 2021 armv7l armv7l armv7l GNU/Linux

3.3. Printing Linux kernel and GCC versions[edit | edit source]

Board $> cat /proc/version
Linux version 5.10.10 (oe-user@oe-host) (arm-ostl-linux-gnueabi-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200221

3.4. Printing the amount of disk space available on all mounted file systems[edit | edit source]

Board $> df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        369M     0  369M   0% /dev
/dev/mmcblk0p6  690M  424M  219M  66% /
tmpfs           436M   64K  435M   1% /dev/shm
tmpfs           436M  8.9M  427M   3% /run
tmpfs           436M     0  436M   0% /sys/fs/cgroup
tmpfs           436M   20K  436M   1% /tmp
/dev/mmcblk0p4   58M   14M   40M  27% /boot
/dev/mmcblk0p5   15M  6.8M  6.7M  51% /vendor
tmpfs           436M  144K  435M   1% /var/volatile
/dev/mmcblk0p7   14G   39M   13G   1% /usr/local
tmpfs            88M     0   88M   0% /run/user/0

3.5. ssh connection (only if Ethernet cable is connected)[edit | edit source]

  • Get the IP address of your board
Board $> ip addr show eth0                                                                           
3: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether xx:xx:xx:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    inet xx.xx.xx.xx/xx brd xx.xx.xx.xx scope global dynamic eth0
       valid_lft 159045sec preferred_lft 159045sec
    inet6 xxxx::xx:xx:xx:xx/64 scope link 
       valid_lft forever preferred_lft forever
  • On the host computer connect the terminal to the board using ssh
PC $> ssh root@xx.xx.xx.xx
root@stm32mp1:~#


Back button.png Overview button.png Next button.png