Revision as of 08:30, 3 June 2021 by Registered User

STM32MP135x-DK.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 source]

This step explains how to connect your board Linux® terminal to your host computer through the ST-LINK/V3E.
It then describes how to execute basic commands with the Linux command line interface in order to get familiar with the Linux console.

2. Serial terminal[edit source]

The serial terminal allows communicating with the board through a UART serial interface.

  • Install minicom
 sudo apt-get install minicom
  • Get the ttyACM device instance that needs to be used to access the ST-LINK/V3E
 ls /dev/ttyACM*
/dev/ttyACM0
  • Connect the minicom to the /dev/ttyACM0 device
 minicom -D /dev/ttyACM0
Welcome to minicom 2.7.1

OPTIONS: I18n 
Compiled on Dec 23 2019, 02:06:26.
Port /dev/ttyACM0, 10:54:36

Press CTRL-A Z to get help on special keys
  • Press the reset button to reset the board. The boot log should be displayed on the minicom window:

NOTICE:  CPU: STM32MP135F Rev.A
NOTICE:  Model: STMicroelectronics STM32MP135F-DK Discovery Board
INFO:    Software access to all debug components is disabled
INFO:    IWDG2 freeze error : -1
INFO:    Reset reason (0x34):
INFO:      Pad Reset from NRST
INFO:    PMIC version = 0x21
INFO:    FCONF: Reading TB_FW firmware configuration file from: 0x2ffe0000
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-1066 bin F 1x4Gb 533MHz v1.53                                
WARNING: Couldn't find property st,phy-cal in dtb                               
INFO:    Memory size = 0x20000000 (512 MB)                                      
INFO:    BL2: Loading image id 31                                               
INFO:    Loading image id=31 at address 0x30006000                              
INFO:    Image id=31 loaded: 0x30006000 - 0x30006282                            
INFO:    FCONF: Reading FW_CONFIG firmware configuration file from: 0x30006000  
INFO:    FCONF: Reading firmware configuration information for: dyn_cfg         
INFO:    FCONF: Reading firmware configuration information for: stm32mp1_firewal
INFO:    FCONF: Reading firmware configuration information for: mce_config      
INFO:    BL2: Loading image id 4                                                
INFO:    Loading image id=4 at address 0xdfe00000                               
INFO:    Image id=4 loaded: 0xdfe00000 - 0xdfe18764                             
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 0xc0000000                              
INFO:    Image id=23 loaded: 0xc0000000 - 0xc000ca73                            
INFO:    BL2: Loading image id 26                                               
INFO:    Loading image id=26 at address 0xdfe30000                              
INFO:    Image id=26 loaded: 0xdfe30000 - 0xdfe33ae3                            
INFO:    BL2: Loading image id 5                                                
INFO:    Loading image id=5 at address 0xc0100000                               
INFO:    Image id=5 loaded: 0xc0100000 - 0xc01cfac4                             
NOTICE:  BL2: Booting BL32                                                      
INFO:    Entry point address = 0xdfe00000                                       
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:    stm32mp1 GPIOB9 is secure                                              
INFO:    stm32mp1 GPIOE15 is secure                                             
INFO:    stm32mp1 I2C4 is secure                                                
INFO:    SP_MIN: Initializing runtime services                                  
INFO:    SP_MIN: Preparing exit to normal world                                 
clk_register: failed to get ck_usbo_48m device (parent of usbo_k)               
                                                                                
                                                                                
U-Boot 2020.10-stm32mp13-r1-rc10 (Oct 05 2020 - 15:15:32 +0000)                 
                                                                                
CPU: STM32MP135F Rev.A                                                          
Model: STMicroelectronics STM32MP135F-DK Discovery Board                        
Board: stm32mp1 in trusted mode (st,stm32mp135f-dk)                             
DRAM:  512 MiB                                                                  
Clocks:                                                                         
- MPU : 650 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... OK                                              
In:    serial                                                                   
Out:   serial                                                                   
Err:   serial                                                                   
invalid MAC address 0 in OTP 00:00:00:00:00:00                                  
Net:                                                                            
Error: eth1@5800a000 address not set.                                           
                                                                                
Error: eth2@5800e000 address not set.                                           
No ethernet found.                                                              
                                                                                
Hit any key to stop autoboot:  0                                                
Boot over mmc0!                                                                 
switch to partitions #0, OK                                                     
mmc0 is current device                                                          
Scanning mmc 0:4...                                                             
Found /extlinux/extlinux.conf                                                   
Retrieving file: /extlinux/extlinux.conf                                        
478 bytes read in 1 ms (466.8 KiB/s)                                            
Retrieving file: /splash.bmp                                                    
7802 bytes read in 1 ms (7.4 MiB/s)                                             
Select the boot mode                                                            
1:      OpenSTLinux                                                             
2:      stm32mp135c-dk-a7-examples                                              
Enter choice: 1:        OpenSTLinux                                             
Retrieving file: /uInitrd                                                       
3634670 bytes read in 156 ms (22.2 MiB/s)                                       
Retrieving file: /uImage                                                        
7474784 bytes read in 318 ms (22.4 MiB/s)                                       
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=0
Retrieving file: /stm32mp135f-dk.dtb                                            
37227 bytes read in 2 ms (17.8 MiB/s)                                           
## Booting kernel from Legacy Image at c2000000 ...                             
   Image Name:   Linux-5.10.10                                                  
   Created:      2021-04-02  12:42:24 UTC                                       
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    7474720 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 cffff5ee ... OK                             
   Loading Device Tree to cfc7b000, end cfc8716a ... OK                         
                                                                                
Starting kernel ...                                                             
                                                                                
[    0.000000] Booting Linux on physical CPU 0x0                                
[    0.000000] Linux version 5.10.10 (osboxes@osboxes) (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 STM32MP135F-DK Discovd
[    0.000000] Memory policy: Data cache writealloc                             
[    0.000000] cma: Reserved 128 MiB at 0xd7800000                              
[    0.000000] Zone ranges:                                                     
[    0.000000]   Normal   [mem 0x00000000c0000000-0x00000000dfdfffff]           
[    0.000000]   HighMem  empty                                                 
[    0.000000] Movable zone start for each node                                 
[    0.000000] Early memory node ranges                                         
[    0.000000]   node   0: [mem 0x00000000c0000000-0x00000000dfdfffff]          
[    0.000000] Initmem setup node 0 [mem 0x00000000c0000000-0x00000000dfdfffff] 
[    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: 129412    
[    0.000000] Kernel command line: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77bec0
[    0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, )
[    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, l)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off          
[    0.000000] Memory: 364248K/522240K available (11264K kernel code, 1208K rwd)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1       
[    0.000000] rcu: Preemptible hierarchical RCU implementation.                
[    0.000000] rcu:     RCU event tracing is enabled.                           
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.    
[    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] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1     
[    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.000009] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398s
[    0.000031] Switching to timer-based delay loop, resolution 41ns             
[    0.000820] Console: colour dummy device 80x30                               
[    0.000878] Calibrating delay loop (skipped), value calculated using timer f)
[    0.000909] pid_max: default: 32768 minimum: 301                             
[    0.001190] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, line)
[    0.001220] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes,)
[    0.002682] CPU: Testing write buffer coherency: ok                          
[    0.003171] /cpus/cpu@0 missing clock-frequency property                     
[    0.003208] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000                 
[    0.004772] Setting up static identity map for 0xc0100000 - 0xc0100060       
[    0.005046] rcu: Hierarchical SRCU implementation.                           
[    0.006561] smp: Bringing up secondary CPUs ...                              
[    0.006598] smp: Brought up 1 node, 1 CPU                                    
[    0.006615] SMP: Total of 1 processors activated (48.00 BogoMIPS).           
[    0.006628] CPU: All CPU(s) started in SVC mode.                             
[    0.007485] devtmpfs: initialized                                            
[    0.022199] VFP support v0.3: implementor 41 architecture 2 part 30 variant 5
[    0.022622] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
[    0.022665] futex hash table entries: 256 (order: 2, 16384 bytes, linear)    
[    0.028918] pinctrl core: initialized pinctrl subsystem                      
[    0.031271] NET: Registered protocol family 16                               
[    0.034675] DMA: preallocated 256 KiB pool for atomic coherent allocations   
[    0.036797] thermal_sys: Registered thermal governor 'step_wise'             
[    0.037202] cpuidle: using governor menu                                     
[    0.037545] hw-breakpoint: Debug register access (0xee003e17) caused undefin0
[    0.037569] hw-breakpoint: CPU 0 failed to disable vector catch              
[    0.038124] Serial: AMBA PL011 UART driver                                   
[    0.067167] /soc/interrupt-controller@5000d000: bank0                        
[    0.067212] /soc/interrupt-controller@5000d000: bank1                        
[    0.067234] /soc/interrupt-controller@5000d000: bank2                        
[    0.067821] stm32mp135-pinctrl soc:pin-controller@50002000: No package detece
[    0.097652] SCSI subsystem initialized                                       
[    0.098705] usbcore: registered new interface driver usbfs                   
[    0.098828] usbcore: registered new interface driver hub                     
[    0.098925] usbcore: registered new device driver usb                        
[    0.099311] pps_core: LinuxPPS API ver. 1 registered                         
[    0.099336] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
[    0.099379] PTP clock support registered                                     
[    0.100365] arm-scmi firmware:scmi0: SCMI Notifications - Core Enabled.      
[    0.101055] arm-scmi firmware:scmi0: SCMI Protocol v2.0 'ST:' Firmware versi0
[    0.101469] arm-scmi firmware:scmi0: SCMI protocol 22 not implemented        
[    0.105109] clocksource: Switched to clocksource arch_sys_counter            
[    1.553640] NET: Registered protocol family 2                                
[    1.555356] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144)
[    1.555433] TCP established hash table entries: 4096 (order: 2, 16384 bytes,)
[    1.555507] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[    1.555607] TCP: Hash tables configured (established 4096 bind 4096)         
[    1.555789] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)       
[    1.555853] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)  
[    1.556425] NET: Registered protocol family 1                                
[    1.557609] RPC: Registered named UNIX socket transport module.              
[    1.557643] RPC: Registered udp transport module.                            
[    1.557657] RPC: Registered tcp transport module.                            
[    1.557669] RPC: Registered tcp NFSv4.1 backchannel transport module.        
[    1.558048] Trying to unpack rootfs image as initramfs...                    
[    1.956855] Freeing initrd memory: 3552K                                     
[    1.957633] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 countee
[    1.959666] Initialise system trusted keyrings                               
[    1.960117] workingset: timestamp_bits=14 max_order=17 bucket_order=3        
[    1.972480] squashfs: version 4.0 (2009/01/31) Phillip Lougher               
[    1.974101] NFS: Registering the id_resolver key type                        
[    1.974168] Key type id_resolver registered                                  
[    1.974185] Key type id_legacy registered                                    
[    1.974396] nfs4filelayout_init: NFSv4 File Layout Driver Registering...     
[    1.974633] ntfs: driver 2.1.32 [Flags: R/O].                                
[    1.975033] jffs2: version 2.2. (NAND) �© 2001-2006 Red Hat, Inc.            
[    1.976248] fuse: init (API version 7.32)                                    
[    1.977558] NET: Registered protocol family 38                               
[    1.977597] Key type asymmetric registered                                   
[    1.977613] Asymmetric key parser 'x509' registered                          
[    1.977719] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
[    1.977741] io scheduler mq-deadline registered                              
[    1.977755] io scheduler kyber registered                                    
[    1.984478] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF node1
[    1.984522] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF node8
[    1.984545] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF node3
[    1.984565] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF nodeu
[    1.984587] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF noded
[    1.984609] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF nodee
[    1.984631] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF nodec
[    1.984653] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF nodeb
[    1.984675] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF noded
[    1.984696] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF nodeh
[    1.984719] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF nodew
[    1.984739] scmi-regulator scmi_dev.2: Found valid SCMI Regulator -- OF nodeb
[    1.985308] scmi-regulator scmi_dev.2: Regulator Vscmi.reg11 registered for 1
[    1.985777] scmi-regulator scmi_dev.2: Regulator Vscmi.reg18 registered for 8
[    1.986169] scmi-regulator scmi_dev.2: Regulator Vscmi.usb33 registered for 3
[    1.986565] scmi-regulator scmi_dev.2: Regulator Vscmi.vddcpu registered foru
[    1.986985] scmi-regulator scmi_dev.2: Regulator Vscmi.vdd registered for dod
[    1.987391] scmi-regulator scmi_dev.2: Regulator Vscmi.vddcore registered foe
[    1.987794] scmi-regulator scmi_dev.2: Regulator Vscmi.vdd_adc registered foc
[    1.988208] scmi-regulator scmi_dev.2: Regulator Vscmi.vdd_usb registered fob
[    1.988594] scmi-regulator scmi_dev.2: Regulator Vscmi.vdd_sd registered ford
[    1.989017] scmi-regulator scmi_dev.2: Regulator Vscmi.v1v8_periph registereh
[    1.989421] scmi-regulator scmi_dev.2: Regulator Vscmi.v3v3_sw registered fow
[    1.989837] scmi-regulator scmi_dev.2: Regulator Vscmi.pwr_on_db registered b
[    1.995748] STM32 USART driver initialized                                   
[    2.022492] brd: module loaded                                               
[    2.038473] loop: module loaded                                              
[    2.044488] libphy: Fixed MDIO Bus: probed                                   
[    2.046922] CAN device driver interface                                      
[    2.048794] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet drr
[    2.048934] usbcore: registered new interface driver pegasus                 
[    2.049035] usbcore: registered new interface driver asix                    
[    2.049109] usbcore: registered new interface driver ax88179_178a            
[    2.049181] usbcore: registered new interface driver cdc_ether               
[    2.049272] usbcore: registered new interface driver smsc75xx                
[    2.049359] usbcore: registered new interface driver smsc95xx                
[    2.049445] usbcore: registered new interface driver net1080                 
[    2.049519] usbcore: registered new interface driver cdc_subset              
[    2.049585] usbcore: registered new interface driver zaurus                  
[    2.049683] usbcore: registered new interface driver cdc_ncm                 
[    2.051009] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver       
[    2.051085] ehci-platform: EHCI generic platform driver                      
[    2.051506] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver           
[    2.051564] ohci-platform: OHCI generic platform driver                      
[    2.052251] usbcore: registered new interface driver usb-storage             
[    2.056204] i2c /dev entries driver                                          
[    2.060270] stm32-cpufreq stm32-cpufreq: OPP-v2 not supported                
[    2.061548] sdhci: Secure Digital Host Controller Interface driver           
[    2.061574] sdhci: Copyright(c) Pierre Ossman                                
[    2.061587] Synopsys Designware Multimedia Card Interface Driver             
[    2.062027] sdhci-pltfm: SDHCI platform and OF driver helper                 
[    2.063267] ledtrig-cpu: registered to indicate activity on CPUs             
[    2.063415] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....        
[    2.063899] usbcore: registered new interface driver usbhid                  
[    2.063922] usbhid: USB HID core driver                                      
[    2.067270] NET: Registered protocol family 17                               
[    2.067329] can: controller area network core                                
[    2.067497] NET: Registered protocol family 29                               
[    2.067524] can: raw protocol                                                
[    2.067540] can: broadcast manager protocol                                  
[    2.067564] can: netlink gateway - max_hops=1                                
[    2.068454] Key type dns_resolver registered                                 
[    2.068650] ThumbEE CPU extension supported.                                 
[    2.068687] Registering SWP/SWPB emulation handler                           
[    2.069199] registered taskstats version 1                                   
[    2.069238] Loading compiled-in X.509 certificates                           
[    2.093273] Loaded X.509 cert 'Build time autogenerated kernel key: 465b3223'
[    2.126494] stm32mp135-pinctrl soc:pin-controller@50002000: No package detece
[    2.127931] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOA bank added 
[    2.128494] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOB bank added 
[    2.129079] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOC bank added 
[    2.129602] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOD bank added 
[    2.130110] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOE bank added 
[    2.130651] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOF bank added 
[    2.131227] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOG bank added 
[    2.131759] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOH bank added 
[    2.132319] stm32mp135-pinctrl soc:pin-controller@50002000: GPIOI bank added 
[    2.132394] stm32mp135-pinctrl soc:pin-controller@50002000: Pinctrl STM32 ind
[    2.137111] stm32-mdma 58000000.dma-controller: STM32 MDMA driver registered 
[    2.139482] stm32-usbphyc 5a006000.usbphyc: registered rev:1.0               
[    2.143122] stm32-dma 48000000.dma-controller: STM32 DMA driver registered   
[    2.146310] stm32-dma 48001000.dma-controller: STM32 DMA driver registered   
[    2.147663] stm32-usart 40010000.serial: interrupt mode for rx (no dma)      
[    2.147699] stm32-usart 40010000.serial: interrupt mode for tx (no dma)      
[    2.147747] 40010000.serial: ttySTM0 at MMIO 0x40010000 (irq = 29, base_baudt
[    3.390868] printk: console [ttySTM0] enabled                                
[    3.397294] stm32-usart 4c001000.serial: interrupt mode for rx (no dma)      
[    3.402492] stm32-usart 4c001000.serial: interrupt mode for tx (no dma)      
[    3.409296] 4c001000.serial: ttySTM3 at MMIO 0x4c001000 (irq = 47, base_baudt
[    3.419030] serial serial0: tty port ttySTM3 registered                      
[    3.432942] dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regur
[    3.439588] dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regur
[    3.448923] dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SM
[    3.460187] ehci-platform 5800d000.usbh-ehci: EHCI Host Controller           
[    3.465037] ehci-platform 5800d000.usbh-ehci: new USB bus registered, assign1
[    3.473918] ehci-platform 5800d000.usbh-ehci: irq 53, io mem 0x5800d000      
[    3.505139] ehci-platform 5800d000.usbh-ehci: USB 2.0 started, EHCI 1.00     
[    3.512024] hub 1-0:1.0: USB hub found                                       
[    3.514486] hub 1-0:1.0: 2 ports detected                                    
[    3.522247] stm32_rtc 5c004000.rtc: registered as rtc0                       
[    3.526247] stm32_rtc 5c004000.rtc: setting system clock to 2000-01-02T05:37)
[    3.535769] stm32_rtc 5c004000.rtc: Date/Time must be initialized            
[    3.540765] stm32_rtc 5c004000.rtc: registered rev:3.3                       
[    3.573869] stm32f7-i2c 40012000.i2c: STM32F7 I2C-0 bus adapter              
[    3.603509] stm32f7-i2c 4c006000.i2c: STM32F7 I2C-1 bus adapter              
[    3.614325] mmci-pl18x 58005000.mmc: Got CD GPIO                             
[    3.618814] mmci-pl18x 58005000.mmc: mmc0: PL180 manf 53 rev2 at 0x58005000 )
[    3.655522] mmci-pl18x 58007000.mmc: allocated mmc-pwrseq                    
[    3.660567] mmci-pl18x 58007000.mmc: mmc1: PL180 manf 53 rev1 at 0x58007000 )
[    3.708019] [drm] Initialized stm 1.0.0 20170330 for 5a001000.display-contro0
[    3.718501] mmc0: new high speed SDHC card at address 1234                   
[    3.725651] stm32-dwmac 5800a000.eth1: IRQ eth_wake_irq not found            
[    3.731906] mmcblk0: mmc0:1234 SA08G 7.21 GiB                                
[    3.735218] stm32-dwmac 5800a000.eth1: IRQ eth_lpi not found                 
[    3.741043] stm32-dwmac 5800a000.eth1: PTP uses main clock                   
[    3.746261] stm32-dwmac 5800a000.eth1: no reset control found                
[    3.751942] stm32-dwmac 5800a000.eth1: No phy clock provided...              
[    3.758590] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)                   
[    3.767105] stm32-dwmac 5800a000.eth1: User ID: 0x12, Synopsys ID: 0x42      
[    3.773529] stm32-dwmac 5800a000.eth1:       DWMAC4/5                        
[    3.777706] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)                   
[    3.783036] stm32-dwmac 5800a000.eth1: DMA HW capability register supported  
[    3.789792] stm32-dwmac 5800a000.eth1: RX Checksum Offload Engine supported  
[    3.796704] stm32-dwmac 5800a000.eth1: TX Checksum insertion supported       
[    3.804107] stm32-dwmac 5800a000.eth1: Wake-Up On Lan supported              
[    3.804246] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)                   
[    3.814607] stm32-dwmac 5800a000.eth1: TSO supported                         
[    3.820098] stm32-dwmac 5800a000.eth1: Enable RX Mitigation via HW Watchdog r
[    3.827179] stm32-dwmac 5800a000.eth1: device MAC address e2:0b:cb:2b:52:88  
[    3.834045] stm32-dwmac 5800a000.eth1: Enabled Flow TC (entries=2)           
[    3.841442] stm32-dwmac 5800a000.eth1: TSO feature enabled                   
[    3.845896] stm32-dwmac 5800a000.eth1: Using 32 bits DMA width               
[    3.852144] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)                   
[    3.858470] libphy: stmmac: probed                                           
[    3.862973] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)                   
[    3.873933] mmc1: queuing unknown CIS tuple 0x80 (6 bytes)                   
[    3.878532]  mmcblk0: p1 p2 p3 p4 p5 p6 p7                                   
[    3.893273] stm32-dwmac 5800e000.eth2: IRQ eth_wake_irq not found            
[    3.898317] stm32-dwmac 5800e000.eth2: IRQ eth_lpi not found                 
[    3.903917] stm32-dwmac 5800e000.eth2: PTP uses main clock                   
[    3.909403] usb 1-1: new high-speed USB device number 2 using ehci-platform  
[    3.916250] stm32-dwmac 5800e000.eth2: no reset control found                
[    3.922863] stm32-dwmac 5800e000.eth2: User ID: 0x12, Synopsys ID: 0x42      
[    3.928873] stm32-dwmac 5800e000.eth2:       DWMAC4/5                        
[    3.933146] stm32-dwmac 5800e000.eth2: DMA HW capability register supported  
[    3.940200] random: fast init done                                           
[    3.943531] stm32-dwmac 5800e000.eth2: RX Checksum Offload Engine supported  
[    3.950609] stm32-dwmac 5800e000.eth2: TX Checksum insertion supported       
[    3.957106] stm32-dwmac 5800e000.eth2: Wake-Up On Lan supported              
[    3.963398] stm32-dwmac 5800e000.eth2: TSO supported                         
[    3.968026] stm32-dwmac 5800e000.eth2: Enable RX Mitigation via HW Watchdog r
[    3.975479] stm32-dwmac 5800e000.eth2: device MAC address 52:c1:6c:dd:fe:35  
[    3.982434] stm32-dwmac 5800e000.eth2: Enabled Flow TC (entries=2)           
[    3.988662] stm32-dwmac 5800e000.eth2: TSO feature enabled                   
[    3.994352] stm32-dwmac 5800e000.eth2: Using 32 bits DMA width               
[    4.000906] input: FT5336GQQ as /devices/platform/soc/4c006000.i2c/i2c-1/1-00
[    4.009562] libphy: stmmac: probed                                           
[    4.026637] input: gpio-keys as /devices/platform/gpio-keys/input/input1     
[    4.037555] Freeing unused kernel memory: 1024K                              
[    4.045866] Run /init as init process                                        
[    4.117214] hub 1-1:1.0: USB hub found                                       
[    4.122263] hub 1-1:1.0: 4 ports detected                                    
[    4.127879] mmc1: new high speed SDIO card at address 0001                   
Starting version 244.5+                                                         
[    7.093110] EXT4-fs (mmcblk0p6): recovery complete                           
[    7.100446] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. )
[    7.697909] systemd[1]: System time before build time, advancing clock.      
[    9.808072] NET: Registered protocol family 10                               
[    9.849267] Segment Routing with IPv6                                        
[    9.910373] systemd[1]: systemd 244.5+ running in system mode. (+PAM -AUDIT )
[    9.931897] systemd[1]: Detected architecture arm.                           
                                                                                
Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1-openstl!
                                                                                
[   10.007064] systemd[1]: Set hostname to <stm32mp13-disco>.                   
[   10.022553] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', vers0
[   10.030000] systemd[1]: Set hardware watchdog to 32s.                        
[   13.441700] systemd[1]: Unnecessary job for /dev/ttySTM0 was removed.        
[   13.450192] random: systemd: uninitialized urandom read (16 bytes read)      
[   13.462847] systemd[1]: Created slice system-getty.slice.                    
[  OK  ] Created slice system-getty.slice.                                      
[   13.495528] random: systemd: uninitialized urandom read (16 bytes read)      
[   13.503465] systemd[1]: Created slice system-serial\x2dgetty.slice.          
[  OK  ] Created slice system-serial\x2dgetty.slice.                            
[   13.545518] random: systemd: uninitialized urandom read (16 bytes read)      
[   13.553255] systemd[1]: Created slice User and Session Slice.                
[  OK  ] Created slice User and Session Slice.                                  
[   13.586163] systemd[1]: Started Dispatch Password Requests to Console Direct.
[  OK  ] Started Dispatch Password �…ts to Console Directory Watch.             
[   13.626057] systemd[1]: Started Forward Password Requests to Wall Directory .
[  OK  ] Started Forward Password R�…uests to Wall Directory Watch.             
[   13.665914] systemd[1]: Reached target Paths.                                
[  OK  ] Reached target Paths.                                                  
[   13.695657] systemd[1]: Reached target Remote File Systems.                  
[  OK  ] Reached target Remote File Systems.                                    
[   13.735608] systemd[1]: Reached target Slices.                               
[  OK  ] Reached target Slices.                                                 
[   13.765686] systemd[1]: Reached target Swap.                                 
[  OK  ] Reached target Swap.                                                   
[   13.831850] systemd[1]: Listening on RPCbind Server Activation Socket.       
[  OK  ] Listening on RPCbind Server Activation Socket.                         
[   13.865729] systemd[1]: Reached target RPC Port Mapper.                      
[  OK  ] Reached target RPC Port Mapper.                                        
[   13.906885] systemd[1]: Listening on Syslog Socket.                          
[  OK  ] Listening on Syslog Socket.                                            
[   13.959807] systemd[1]: Listening on Process Core Dump Socket.               
[  OK  ] Listening on Process Core Dump Socket.                                 
[   13.996180] systemd[1]: Listening on initctl Compatibility Named Pipe.       
[  OK  ] Listening on initctl Compatibility Named Pipe.                         
[   14.042938] systemd[1]: Condition check resulted in Journal Audit Socket bei.
[   14.051323] systemd[1]: Listening on Journal Socket (/dev/log).              
[  OK  ] Listening on Journal Socket (/dev/log).                                
[   14.086970] systemd[1]: Listening on Journal Socket.                         
[  OK  ] Listening on Journal Socket.                                           
[   14.127150] systemd[1]: Listening on Network Service Netlink Socket.         
[  OK  ] Listening on Network Service Netlink Socket.                           
[   14.166804] systemd[1]: Listening on udev Control Socket.                    
[  OK  ] Listening on udev Control Socket.                                      
[   14.206381] systemd[1]: Listening on udev Kernel Socket.                     
[  OK  ] Listening on udev Kernel Socket.                                       
[   14.246866] systemd[1]: Condition check resulted in Huge Pages File System b.
[   14.262173] systemd[1]: Mounting POSIX Message Queue File System...          
         Mounting POSIX Message Queue File System...                            
[   14.313345] systemd[1]: Mounting Kernel Debug File System...                 
         Mounting Kernel Debug File System...                                   
[   14.344874] systemd[1]: Mounting Temporary Directory (/tmp)...               
         Mounting Temporary Directory (/tmp)...                                 
[   14.404381] systemd[1]: Starting Create list of static device nodes for the .
         Starting Create list of st�…odes for the current kernel...             
[   14.462848] systemd[1]: Starting Mount partitions...                         
         Starting Mount partitions...                                           
[   14.497319] systemd[1]: Started Hardware RNG Entropy Gatherer Daemon.        
[  OK  ] Started Hardware RNG Entropy Gatherer Daemon.                          
[   14.557471] systemd[1]: Starting RPC Bind...                                 
         Starting RPC Bind...                                                   
[   14.574522] systemd[1]: Condition check resulted in File System Check on Roo.
[   14.684340] systemd[1]: Starting Journal Service...                          
         Starting Journal Service...                                            
[   14.767333] systemd[1]: Condition check resulted in Load Kernel Modules bein.
[   14.832017] systemd[1]: Mounting FUSE Control File System...                 
         Mounting FUSE Control File System...                                   
[   14.923511] systemd[1]: Mounting Kernel Configuration File System...         
         Mounting Kernel Configuration File System...                           
[   15.043019] systemd[1]: Starting Remount Root and Kernel File Systems...     
         Starting Remount Root and Kernel File Systems...                       
[   15.163261] systemd[1]: Starting Apply Kernel Variables...                   
         Starting Apply Kernel Variables...                                     
[   15.299359] systemd[1]: Starting udev Coldplug all Devices...                
         Starting udev Coldplug all Devices...                                  
[   15.334872] EXT4-fs (mmcblk0p6): re-mounted. Opts: (null)                    
[   15.479006] Module has invalid ELF header                                    
[   15.489360] EXT4-fs (mmcblk0p4): recovery complete                           
[   15.492766] EXT4-fs (mmcblk0p4): mounted filesystem with ordered data mode. )
[   15.514163] systemd[1]: Started RPC Bind.                                    
[   15.547755] ext4 filesystem being mounted at /boot supports timestamps until)
[  OK  ] Started RPC Bind.                                                      
[   15.650660] systemd[1]: Mounted POSIX Message Queue File System.             
[  OK  ] Mounted POSIX Message Queue File System.                               
[   15.727024] systemd[1]: Mounted Kernel Debug File System.                    
[  OK  ] Mounted Kernel Debug File System.                                      
[   15.767343] systemd[1]: Mounted Temporary Directory (/tmp).                  
[  OK  ] Mounted Temporary Directory (/tmp).                                    
[   15.853905] systemd[1]: Started Create list of static device nodes for the c.
[  OK  ] Started Create list of sta�… nodes for the current kernel.             
[   15.956955] systemd[1]: Mounted FUSE Control File System.                    
[  OK  ] Mounted FUSE Control File System.                                      
[   15.990482] systemd[1]: Mounted Kernel Configuration File System.            
[  OK  ] Mounted Kernel Configuration File System.                              
[   16.131348] systemd[1]: Started Remount Root and Kernel File Systems.        
[  OK  ] Started Remount Root and Kernel File Systems.                          
[   16.216666] systemd[1]: Started Apply Kernel Variables.                      
[  OK  ] Started Apply Kernel Variables.                                        
[   16.313395] systemd[1]: Started Starts Psplash Boot screen.                  
[  OK  ] Started Starts Psplash Boot screen.                                    
[   16.384653] EXT4-fs (mmcblk0p5): recovery complete                           
[   16.396036] systemd[1]: Condition check resulted in First Boot Wizard being .
[   16.408516] EXT4-fs (mmcblk0p5): mounted filesystem with ordered data mode. )
[   16.445752] systemd[1]: Condition check resulted in Rebuild Hardware Databas.
[   16.453320] systemd[1]: Condition check resulted in Create System Users bein.
[   16.466592] ext4 filesystem being mounted at /vendor supports timestamps unt)
[   16.633272] systemd[1]: Starting Create Static Device Nodes in /dev...       
         Starting Create Static Device Nodes in /dev...                         
[   16.804785] systemd[1]: Created slice system-systemd\x2dcoredump.slice.      
[  OK  ] Created slice system-systemd\x2dcoredump.slice.                        
[   16.946521] systemd[1]: Started Journal Service.                             
[  OK  ] Started Journal Service.                                               
         Starting Flush Journal to Persistent Storage...                        
[  OK  ] Started Create Static Device Nodes in /dev.                            
[  OK  ] Reached target Local File Systems (Pre).                               
[   17.369181] systemd-journald[670]: Received client request to flush runtime .
         Mounting /var/volatile...                                              
         Starting udev Kernel Device Manager...                                 
[  OK  ] Started Flush Journal to Persistent Storage.                           
[  OK  ] Mounted /var/volatile.                                                 
         Starting Load/Save Random Seed...                                      
[   17.815607] EXT4-fs (mmcblk0p7): recovery complete                           
[   17.827772] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. )
[   17.876811] 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 Process Core Dump (PID 741/UID 0).                             
[  OK  ] Started Update UTMP about System Boot/Shutdown.                        
[   21.855221] random: crng init done                                           
[   21.857192] random: 7 urandom warning(s) missed due to ratelimiting          
[  OK  ] Started Load/Save Random Seed.                                         
[  OK  ] Started Network Time Synchronization.                                  
[  OK  ] Reached target System Time Set.                                        
[  OK  ] Reached target System Time Synchronized.                               
[  OK  ] Started udev Coldplug all Devices.                                     
[  OK  ] Created slice system-systemd\x2dbacklight.slice.                       
[  OK  ] Reached target Hardware activated USB gadget.                          
         Starting Load/Save Screen �…f backlight:panel-backlight...             
[   23.697041] stm32-crc32 58009000.crc: Initialized                            
[   24.081099] Module has invalid ELF header                                    
[  OK  ] Started Load/Save Screen B�… of backlight:panel-backlight.             
[  OK  ] Created slice system-weston.slice.                                     
[  OK  ] Listening on Load/Save RF �…itch Status /dev/rfkill Watch.             
[  OK  ] Reached target System Initialization.                                  
[  OK  ] Started Daily apt download activities.                                 
[  OK  ] Started Daily Cleanup of Temporary Directories.                        
[  OK  ] Reached target Timers.                                                 
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.                
[  OK  ] Listening on D-Bus System Message Bus Socket.                          
[  OK  ] Listening on dropbear.socket.                                          
[  OK  ] Reached target Sockets.                                                
[  OK  ] Reached target Basic System.                                           
[  OK  ] Started Kernel Logging Service.                                        
[  OK  ] Started System Logging Service.                                        
[  OK  ] Started D-Bus System Message Bus.                                      
[   30.321208] cfg80211: Loading compiled-in X.509 certificates for regulatory e
[   30.364981] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'       
         Starting IPv6 Packet Filtering Framework...                            
         Starting IPv4 Packet Filtering Framework...                            
         Starting Netdata, Real-time performance monitoring...                  
         Starting Login Service...                                              
         Starting Enable USB Ethernet gadget...                                 
[  OK  ] Started IPv6 Packet Filtering Framework.                               
[  OK  ] Started IPv4 Packet Filtering Framework.                               
[  OK  ] Reached target Network (Pre).                                          
         Starting Network Service...                                            
[   33.070891] using random self ethernet address                               
[   33.073977] using random host ethernet address                               
[   33.346092] usb0: HOST MAC 2c:2e:f8:38:57:79                                 
[   33.363535] usb0: MAC 3e:37:21:a6:fe:33                                      
[   33.403507] dwc2 49000000.usb-otg: bound driver configfs-gadget              
[  OK  ] Started Enable USB Ethernet gadget.                                    
[  OK  ] Started Network Service.                                               
         Starting Network Name Resolution...                                    
[   34.253172] stm32-dwmac 5800e000.eth2 eth1: PHY [stmmac-0:00] driver [Generi)
[   34.335051] dwmac4: Master AXI performs any burst length                     
[   34.375455] stm32-dwmac 5800e000.eth2 eth1: No Safety Features support found 
[   34.381172] stm32-dwmac 5800e000.eth2 eth1: IEEE 1588-2008 Advanced Timestamd
[   34.504532] stm32-dwmac 5800e000.eth2 eth1: registered PTP clock             
[   34.577572] stm32-dwmac 5800e000.eth2 eth1: configuring for phy/rmii link moe
[   34.711850] stm32-dwmac 5800a000.eth1 eth0: PHY [stmmac-1:00] driver [Generi)
[   34.735837] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio 1
[   34.805575] dwmac4: Master AXI performs any burst length                     
[   34.809524] stm32-dwmac 5800a000.eth1 eth0: No Safety Features support found 
[   34.918914] stm32-dwmac 5800a000.eth1 eth0: IEEE 1588-2008 Advanced Timestamd
[   35.000696] stm32-dwmac 5800a000.eth1 eth0: registered PTP clock             
[   35.035854] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43430-sdio 1
[   35.095789] stm32-dwmac 5800a000.eth1 eth0: configuring for phy/rmii link moe
[  OK  ] Started Netdata, Real-time performance monitoring.                     
[   35.166202] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/1 wl0: Feb 14
         Starting Load/Save RF Kill Switch Status...                            
[  OK  ] Started Load/Save RF Kill Switch Status.                               
[  OK  ] Started Login Service.                                                 
[  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 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 Weston Wayland Compositor (on tty7).                           
                                                                                
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1-openstlinux-21-03-0
                                                                                
stm32mp13-disco login: root (automatic login)                                   
                                                                                
Last login: Sun Sep 20 10:44:30 UTC 2020 on tty7                                
root@stm32mp13-disco:~# 

3. Basic commands[edit source]

3.1. Printing distribution specific information[edit source]

 cat /etc/build
-----------------------
Build Configuration:  |
-----------------------
BB_VERSION = 1.46.0
BUILD_SYS = x86_64-linux
NATIVELSBSTRING = universal
TARGET_SYS = arm-ostl-linux-gnueabi
MACHINE = stm32mp13-disco
DISTRO = openstlinux-weston
DISTRO_VERSION = 3.1-openstlinux-21-03-31_alpha-mp13
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-21-03-31-rc4-16-g02c1c23
DISTRO_CODENAME = dunfell
ACCEPT_EULA_stm32mp13-disco = 1
GCCVERSION = 9.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
PREFERRED_VERSION_linux-stm32mp = 
-----------------------
Layer Revisions:      |
-----------------------
meta-python       = alpha-mp13.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073
meta-oe           = alpha-mp13.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073
meta-gnome        = alpha-mp13.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073
meta-initramfs    = alpha-mp13.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073
meta-multimedia   = alpha-mp13.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073
meta-networking   = alpha-mp13.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073
meta-webserver    = alpha-mp13.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073
meta-filesystems  = alpha-mp13.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073
meta-perl         = alpha-mp13.xml:5bba79488b7d393d2258d6e917f7bf7b0d7c4073
meta-st-stm32mp   = alpha-mp13.xml:2a0eddffb9f6644a1292822c1b2f73ffc8f70d8f
meta-qt5          = alpha-mp13.xml:0d8eb956015acdea7e77cd6672d08dce18061510
meta-security     = alpha-mp13.xml:c74cc97641fd93e0e7a4383255e9a0ab3deaf9d7
meta-tpm          = alpha-mp13.xml:c74cc97641fd93e0e7a4383255e9a0ab3deaf9d7
meta-st-openstlinux = alpha-mp13.xml:960e39dace05a0700269c2300fa4bd3ae683e38e
meta              = alpha-mp13.xml:72431ee8de5e3a53d259cebf420a7713ac9e1f14


3.2. Printing system information[edit source]

 uname -a 
Linux stm32mp13-disco 5.10.10 #1 SMP PREEMPT Fri Apr 2 07:56:12 EDT 2021 armv7l armv7l armv7l GNU/Linux

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

 cat /proc/version
Linux version 5.10.10 (osboxes@osboxes) (arm-ostl-linux-gnueabi-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.34.0.20200220) #1 SMP PREEMPT Fri Apr 2 07:56:12 EDT 2021


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

 df -h
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        178M     0  178M   0% /dev
/dev/mmcblk0p6  689M  674M     0 100% /
tmpfs           245M   64K  245M   1% /dev/shm
tmpfs           245M  8.6M  236M   4% /run
tmpfs           245M     0  245M   0% /sys/fs/cgroup
tmpfs           245M   24K  245M   1% /tmp
/dev/mmcblk0p4   58M   15M   39M  28% /boot
/dev/mmcblk0p5   15M  278K   14M   3% /vendor
tmpfs           245M  152K  244M   1% /var/volatile
/dev/mmcblk0p7  6.2G   34M  5.9G   1% /usr/local
tmpfs            49M     0   49M   0% /run/user/0


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

  • Get the IP address of your 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
 ssh root@xx.xx.xx.xx
root@stm32mp13-disco:~#


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