Registered User
Registered User
 
(14 intermediate revisions by 2 users not shown)
Line 3: Line 3:
| colspan="9" style="border-style: hidden;" | [[Image:STM32MP157X-DK2.png‎ | 80px | link=]]
| colspan="9" style="border-style: hidden;" | [[Image:STM32MP157X-DK2.png‎ | 80px | link=]]
|-
|-
| colspan="4" style="border-style: hidden; text-align:left;" | [[Getting started/STM32MP1 boards/STM32MP157C-DK2/Let's start | {{GSModuleCurrent|Let's start}}]]
| colspan="4" style="border-style: hidden; text-align:left;" | [[Getting started/STM32MP1 boards/STM32MP157x-DK2/Let's start | {{GSModuleCurrent|Let's start}}]]
| colspan="5" style="border-style: hidden; text-align:right;" | [[Getting started/STM32MP1 boards/STM32MP157C-DK2/Develop on Arm® Cortex®-A7 | {{GSModuleNext|Develop on Arm® Cortex®-A7}}]]
| colspan="5" style="border-style: hidden; text-align:right;" | [[Getting started/STM32MP1 boards/STM32MP157x-DK2/Develop on Arm® Cortex®-A7 | {{GSModuleNext|Develop on Arm® Cortex®-A7}}]]
|-
|-
| style="border-style: hidden;" | [[Image:step_category_in.png|link=]]
| style="border-style: hidden;" | [[Image:step_category_in.png|link=]]
| style="border-style: hidden; width:110px;" | [[Getting started/STM32MP1 boards/STM32MP157C-DK2/Let's start/Unpack the STM32MP157C-DK2 board | {{GSStepNext|Unpack the board}}]]
| style="border-style: hidden; width:110px;" | [[Getting started/STM32MP1 boards/STM32MP157x-DK2/Let's start/Unpack the STM32MP157x-DK2 board | {{GSStepNext|Unpack the board}}]]
| style="border-style: hidden;" | [[Image:step.png|link=]]
| style="border-style: hidden;" | [[Image:step.png|link=]]
| style="border-style: hidden; width:110px;" | [[Getting started/STM32MP1 boards/STM32MP157C-DK2/Let's start/Populate the target and boot the image | {{GSStepNext|Populate the target and boot the image}}]]
| style="border-style: hidden; width:110px;" | [[Getting started/STM32MP1 boards/STM32MP157x-DK2/Let's start/Populate the target and boot the image | {{GSStepNext|Populate the target and boot the image}}]]
| style="border-style: hidden;" | [[Image:step.png|link=]]
| style="border-style: hidden;" | [[Image:step.png|link=]]
| style="border-style: hidden; width:110px;" | [[Getting started/STM32MP1 boards/STM32MP157C-DK2/Let's start/Execute basic commands | {{GSStepCurrent|Execute basic commands}}]]
| style="border-style: hidden; width:110px;" | [[Getting started/STM32MP1 boards/STM32MP157x-DK2/Let's start/Execute basic commands | {{GSStepCurrent|Execute basic commands}}]]
| style="border-style: hidden;" | [[Image:step.png|link=]]
| style="border-style: hidden;" | [[Image:step.png|link=]]
| style="border-style: hidden; width:110px;" | [[Getting started/STM32MP1 boards/STM32MP157C-DK2/Let's start/Use the demo launcher | {{GSStepNext|Use the demo launcher}}]]
| style="border-style: hidden; width:110px;" | [[Getting started/STM32MP1 boards/STM32MP157x-DK2/Let's start/Use the demo launcher | {{GSStepNext|Use the demo launcher}}]]
| style="border-style: hidden;" | [[Image:step_category_out.png|link=]]
| style="border-style: hidden;" | [[Image:step_category_out.png|link=]]
|}
|}
Line 39: Line 39:
* Press the reset button to reset the board. You should see boot log displayed in the minicom window
* Press the reset button to reset the board. You should see boot log displayed in the minicom window


'''For {{EcosystemRelease | revision=1.2.0}}''':
'''For {{EcosystemRelease | revision=2.1.0}}''':


NOTICE:  CPU: STM32MP157CAC Rev.B
<pre>
NOTICE:  Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
NOTICE:  Board: MB1272 Var2 Rev.C-01
INFO:    Reset reason (0x14):
INFO:      Pad Reset from NRST
INFO:    PMIC version = 0x10
INFO:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.0-r3.0(debug):                                               
NOTICE:  BL2: Built : 13:13:37, Oct  2 2018                                   
INFO:    BL2: Doing platform setup                                             
INFO:    RAM: DDR3-1066/888 bin G 1x4Gb 533MHz v1.45                           
INFO:    Memory size = 0x20000000 (512 MB)                                     
INFO:    BL2 runs SP_MIN setup                                                 
INFO:    BL2: Loading image id 4                                               
INFO:    Loading image id=4 at address 0x2ffef000                             
INFO:    Image id=4 loaded: 0x2ffef000 - 0x30000000                           
INFO:    BL2: Loading image id 5                                               
INFO:    Loading image id=5 at address 0xc0100000                             
INFO:    STM32 Image size : 810245                                             
WARNING: Skip signature check (header option)                                 
INFO:    Image id=5 loaded: 0xc0100000 - 0xc01c5d05                           
NOTICE:  BL2: Booting BL32                                                     
INFO:    Entry point address = 0x2ffef000                                     
INFO:    SPSR = 0x1d3                                                         
NOTICE:  SP_MIN: v2.0-r3.0(debug):                                             
NOTICE:  SP_MIN: Built : 13:13:37, Oct  2 2018                                 
INFO:    ARM GICv2 driver initialized                                         
INFO:    stm32mp HSI (18): Secure only                                         
INFO:    stm32mp HSE (20): Secure only                                         
INFO:    stm32mp PLL2 (27): Secure only                                       
INFO:    stm32mp PLL2_R (30): Secure only                                     
INFO:    SP_MIN: Initializing runtime services                                 
INFO:    SP_MIN: Preparing exit to normal world                               
                                                                               
                                                                               
U-Boot 2018.11-stm32mp-r4 (Nov 14 2018 - 16:10:06 +0000)                       
                                                                               
CPU: STM32MP157CAC Rev.B                                                       
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board                     
Board: stm32mp1 in trusted mode (st,stm32mp157c-dk2)                           
Board: MB1272 Var2 Rev.C-01                                                   
DRAM:  512 MiB                                                                 
Clocks:                                                                       
- MPU : 650 MHz                                                               
- MCU : 208.878 MHz                                                           
- AXI : 266.500 MHz                                                           
- PER : 24 MHz                                                                 
- DDR : 533 MHz                                                               
NAND:  0 MiB                                                                   
MMC:  STM32 SDMMC2: 0, STM32 SDMMC2: 1                                       
Loading Environment from EXT4... 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 U-Boot script /boot.scr.uimg                                             
1628 bytes read in 1 ms (1.6 MiB/s)                                           
## Executing script at c4100000                                               
Scanning mmc 0:4...                                                           
Found /mmc0_stm32mp157c-dk2_extlinux/extlinux.conf                             
Retrieving file: /mmc0_stm32mp157c-dk2_extlinux/extlinux.conf                 
614 bytes read in 0 ms                                                         
Retrieving file: /splash.bmp                                                   
46180 bytes read in 3 ms (14.7 MiB/s)                                         
Select the boot mode                                                           
1:      stm32mp157c-dk2-sdcard                                                 
2:      stm32mp157c-dk2-a7-examples-sdcard                                     
3:      stm32mp157c-dk2-m4-examples-sdcard                                     
Enter choice: 1:        stm32mp157c-dk2-sdcard                                 
Retrieving file: /uImage                                                       
6722112 bytes read in 305 ms (21 MiB/s)                                       
append: root=/dev/mmcblk0p6 rootwait rw console=ttySTM0,115200                 
Retrieving file: /stm32mp157c-dk2.dtb                                         
73578 bytes read in 5 ms (14 MiB/s)                                           
## Booting kernel from Legacy Image at c2000000 ...                           
  Image Name:  Linux-4.19.94                                                 
    Created:      2020-01-09  9:19:10 UTC                                     
    Image Type:  ARM Linux Kernel Image (uncompressed)                         
    Data Size:    6722048 Bytes = 6.4 MiB                                       
    Load Address: c2000040                                                     
    Entry Point:  c2000040                                                     
    Verifying Checksum ... OK                                                   
## Flattened Device Tree blob at c4000000                                     
    Booting using the fdt blob at 0xc4000000                                   
    XIP Kernel Image ... OK                                                     
    Using Device Tree in place at c4000000, end c4014f69                       
                                                                               
Starting kernel ...                                                           
                                                                               
[    0.000000] Booting Linux on physical CPU 0x0                               
[    0.000000] Linux version 4.19.94 (oe-user@oe-host) (gcc version 8.2.0 (GCC)0
[    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 STM32MP157C-DK2 Discod
[    0.000000] Memory policy: Data cache writealloc                           
[    0.000000] efi: Getting EFI parameters from FDT:                           
[    0.000000] efi: UEFI not found.                                           
[    0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MB
[...]
[    3.764425] systemd[1]: Detected architecture arm.                         
                                                                               
Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 2.6-openstl!
                                                                               
                                                                                             
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 2.6-openstlinux-20-02-19
                                                                               
stm32mp1 login: root (automatic login)                                         
                                                                               
root@stm32mp1:~#                                           


NOTICE:  Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
NOTICE:  Board: MB1272 Var2.0 Rev.C-01
INFO:    Reset reason (0x14):
INFO:      Pad Reset from NRST
INFO:    PMIC version = 0x10
INFO:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.2-r2.0(debug):v2.2-dirty
NOTICE:  BL2: Built : 13:36:23, Oct 22 2019
INFO:    Using crypto library 'stm32_crypto_lib'
INFO:    BL2: Doing platform setup
INFO:    RAM: DDR3-DDR3L 16bits 533000Khz
INFO:    Memory size = 0x20000000 (512 MB)
INFO:    BL2 runs SP_MIN setup
INFO:    BL2: Loading image id 4
INFO:    Loading image id=4 at address 0x2ffeb000
INFO:    Image id=4 loaded: 0x2ffeb000 - 0x2ffff000
INFO:    BL2: Loading image id 5
INFO:    Loading image id=5 at address 0xc0100000
INFO:    STM32 Image size : 904564
INFO:    Image id=5 loaded: 0xc0100000 - 0xc01dcd74
WARNING: Skip signature check (header option)
NOTICE:  ROTPK is not deployed on platform. Skipping ROTPK verification.
NOTICE:  BL2: Booting BL32
INFO:    Entry point address = 0x2ffeb000
INFO:    SPSR = 0x1d3
NOTICE:  SP_MIN: v2.2-r2.0(debug):v2.2-dirty
NOTICE:  SP_MIN: Built : 13:36:23, Oct 22 2019
INFO:    ARM GICv2 driver initialized
INFO:    Set calibration timer to 60 sec
INFO:    stm32mp IWDG1 (12): Secure
INFO:    SP_MIN: Initializing runtime services
INFO:    SP_MIN: Preparing exit to normal world
U-Boot 2020.01-stm32mp-r2 (Jan 06 2020 - 20:56:31 +0000)
CPU: STM32MP157CAC Rev.B
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
Board: stm32mp1 in trusted mode (st,stm32mp157c-dk2)
Board: MB1272 Var2.0 Rev.C-01
DRAM:  512 MiB
Clocks:
- MPU : 650 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
WDT:  Started with servicing (32s timeout)
NAND:  0 MiB
MMC:  STM32 SD/MMC: 0, 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/stm32mp157c-dk2_extlinux.conf
Retrieving file: /mmc0_extlinux/stm32mp157c-dk2_extlinux.conf
706 bytes read in 39 ms (17.6 KiB/s)
Retrieving file: /splash.bmp
18244 bytes read in 40 ms (445.3 KiB/s)
Select the boot mode
1:      OpenSTLinux
2:      stm32mp157c-dk2-a7-examples
3:      stm32mp157c-dk2-m4-examples
Enter choice: 1:        OpenSTLinux
Retrieving file: /uInitrd
3632201 bytes read in 193 ms (17.9 MiB/s)
Retrieving file: /uImage
7341840 bytes read in 350 ms (20 MiB/s)
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200
Retrieving file: /stm32mp157c-dk2.dtb
105410 bytes read in 44 ms (2.3 MiB/s)
## Booting kernel from Legacy Image at c2000000 ...
  Image Name:  Linux-5.4.56
  Created:      2020-08-05  7:59:52 UTC
  Image Type:  ARM Linux Kernel Image (uncompressed)
  Data Size:    7341776 Bytes = 7 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 cfc89000, end cffffc49 ... OK
  Loading Device Tree to cfc6c000, end cfc88bc1 ... OK
Starting kernel ...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.56 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Aug 5 07:59:52 UTC 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: STMicroelectronics STM32MP157C-DK2 Discovery Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram2@10000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MiB
[...]
[    3.960443] ALSA device list:
[    3.961953]  #0: STM32MP1-DK
[    3.968610] Freeing unused kernel memory: 1024K
[    3.972052] Run /init as init process
[    3.985075] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    4.187032] hub 2-1:1.0: USB hub found
[    4.189640] hub 2-1:1.0: 4 ports detected
Starting version 244.3+
[    6.703852] EXT4-fs (mmcblk0p6): recovery complete
[    6.718117] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[    7.234072] systemd[1]: System time before build time, advancing clock.
[    7.372495] NET: Registered protocol family 10
[    7.410303] Segment Routing with IPv6
[    7.460069] systemd[1]: systemd 244.3+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETU)
[    7.481460] systemd[1]: Detected architecture arm.
Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1-openstlinux-5-4-dunfell-mp1-20-11-12 (dunfell)!
[    7.579036] systemd[1]: Set hostname to <stm32mp1>.
[    7.592524] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', version 0
[    7.599743] systemd[1]: Set hardware watchdog to 32s.
[    8.499944] systemd[1]: Unnecessary job for /dev/ttySTM0 was removed.
[    8.513366] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[...]
[  OK  ] Started Login Service.
[  OK  ] Started Hostname 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 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 Target Communication Framework agent.
[  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-5-4-dunfell-mp1-20-11-12 stm32mp1 ttySTM0
stm32mp1 login: root (automatic login)
root@stm32mp1:~#
</pre>


<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible mw-collapsed">
'''For {{EcosystemRelease | revision=1.1.0}}''':
'''For {{EcosystemRelease | revision=2.0.0}}''':
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">


NOTICE:  CPU: STM32MP157CAC Rev.B
<pre>
NOTICE:  Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
 
NOTICE:  Board: MB1272 Var2 Rev.C-01
U-Boot 2020.01-stm32mp-r1 (Jan 06 2020 - 20:56:31 +0000)
INFO:    Reset reason (0x14):
 
INFO:      Pad Reset from NRST
CPU: STM32MP157CAC Rev.B
INFO:    Using SDMMC
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
INFO:      Instance 1
Board: stm32mp1 in trusted mode (st,stm32mp157c-dk2)
INFO:    Boot used partition fsbl1
Board: MB1272 Var2.0 Rev.C-01
NOTICE:  BL2: v2.0-r1.5(debug):
DRAM:  512 MiB
NOTICE:  BL2: Built : 13:13:37, Oct  2 2018
Clocks:
INFO:    BL2: Doing platform setup
- MPU : 650 MHz
INFO:    PMIC version = 0x10
- MCU : 208.878 MHz
INFO:    RAM: DDR3-1066/888 bin G 1x4Gb 533MHz v1.45
- AXI : 266.500 MHz
INFO:    Memory size = 0x20000000 (512 MB)
- PER : 24 MHz
INFO:    BL2 runs SP_MIN setup
- DDR : 533 MHz
INFO:    BL2: Loading image id 4
WDT:  Started with servicing (32s timeout)
INFO:    Loading image id=4 at address 0x2fff0000
NAND:  0 MiB
INFO:    Image id=4 loaded: 0x2fff0000 - 0x30000000
MMC:  STM32 SD/MMC: 0, STM32 SD/MMC: 1
INFO:    BL2: Loading image id 5
Loading Environment from MMC... OK
INFO:    Loading image id=5 at address 0xc0100000
In:    serial
INFO:    STM32 Image size : 805258
Out:  serial
WARNING: Skip signature check (header option)
Err:  serial
INFO:    Image id=5 loaded: 0xc0100000 - 0xc01c498a
Net:  eth0: ethernet@5800a000
INFO:    read version 0 current version 0
Hit any key to stop autoboot:  0
NOTICE:  BL2: Booting BL32
Boot over mmc0!
INFO:    Entry point address = 0x2fff0000
switch to partitions #0, OK
INFO:    SPSR = 0x1d3
mmc0 is current device
INFO:    PMIC version = 0x10
Scanning mmc 0:4...
NOTICE:  SP_MIN: v2.0-r1.5(debug):
Found /mmc0_extlinux/stm32mp157c-dk2_extlinux.conf
NOTICE:  SP_MIN: Built : 13:13:37, Oct  2 2018
Retrieving file: /mmc0_extlinux/stm32mp157c-dk2_extlinux.conf
INFO:    ARM GICv2 driver initialized
706 bytes read in 39 ms (17.6 KiB/s)
INFO:    stm32mp HSI (18): Secure only
Retrieving file: /splash.bmp
INFO:    stm32mp HSE (20): Secure only
18244 bytes read in 39 ms (456.1 KiB/s)
INFO:    stm32mp PLL2 (27): Secure only
Select the boot mode
INFO:    stm32mp PLL2_R (30): Secure only
1:      OpenSTLinux
INFO:    SP_MIN: Initializing runtime services
2:      stm32mp157c-dk2-a7-examples
INFO:    SP_MIN: Preparing exit to normal world
3:      stm32mp157c-dk2-m4-examples
Enter choice: 1:        OpenSTLinux
Retrieving file: /uInitrd
U-Boot 2018.11-stm32mp-r3 (Nov 14 2018 - 16:10:06 +0000)
3632439 bytes read in 192 ms (18 MiB/s)
Retrieving file: /uImage
CPU: STM32MP157CAC Rev.B
7309840 bytes read in 349 ms (20 MiB/s)
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200
Board: stm32mp1 in trusted mode (st,stm32mp157c-dk2)
Retrieving file: /stm32mp157c-dk2.dtb
Board: MB1272 Var2 Rev.C-01
72638 bytes read in 42 ms (1.6 MiB/s)
DRAM:  512 MiB
## Booting kernel from Legacy Image at c2000000 ...
Clocks:
  Image Name:  Linux-5.4.31
- MPU : 650 MHz
  Created:      2020-04-08   7:08:47 UTC
- MCU : 208.878 MHz
  Image Type:  ARM Linux Kernel Image (uncompressed)
- AXI : 266.500 MHz
  Data Size:    7309776 Bytes = 7 MiB
- PER : 24 MHz
  Load Address: c2000040
- DDR : 533 MHz
  Entry Point:  c2000040
NAND:  0 MiB
  Verifying Checksum ... OK
MMC:  STM32 SDMMC2: 0, STM32 SDMMC2: 1
## Flattened Device Tree blob at c4000000
Loading Environment from EXT4... OK
  Booting using the fdt blob at 0xc4000000
In:    serial
  XIP Kernel Image
Out:  serial
  Loading Ramdisk to cfc89000, end cffffd37 ... OK
Err:  serial
  Loading Device Tree to cfc74000, end cfc88bbd ... OK
Net:  eth0: ethernet@5800a000
 
Hit any key to stop autoboot:  0  
Starting kernel ...
Boot over mmc0!
 
switch to partitions #0, OK
[    0.000000] Booting Linux on physical CPU 0x0
mmc0 is current device
[    0.000000] Linux version 5.4.31 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Apr 8 07:08:47 UTC 2020
Scanning mmc 0:4...
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
Found U-Boot script /boot.scr.uimg
[    0.000000] CPU: div instructions available: patching division code
1553 bytes read in 1 ms (1.5 MiB/s)
[...]
## Executing script at c4100000
[    5.635752] EXT4-fs (mmcblk0p6): recovery complete
Scanning mmc 0:4...
[    5.641146] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
Found /mmc0_stm32mp157c-dk2_extlinux/extlinux.conf
/init: eval: line 1: resize_enabled: not found
Retrieving file: /mmc0_stm32mp157c-dk2_extlinux/extlinux.conf
[    6.136734] systemd[1]: System time before build time, advancing clock.
614 bytes read in 1 ms (599.6 KiB/s)
[    6.277018] NET: Registered protocol family 10
Retrieving file: /splash.bmp
[    6.323818] Segment Routing with IPv6
46180 bytes read in 3 ms (14.7 MiB/s)
[    6.374449] systemd[1]: systemd 244.3+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
Select the boot mode
[    6.396282] systemd[1]: Detected architecture arm.
1:      stm32mp157c-dk2-sdcard
 
2:      stm32mp157c-dk2-a7-examples-sdcard
Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1-openstlinux-5.4-dunfell-mp1-20-06-24 (dunfell)!
3:      stm32mp157c-dk2-m4-examples-sdcard
 
Enter choice: 1:        stm32mp157c-dk2-sdcard
[    6.534284] systemd[1]: Set hostname to <stm32mp1>.
Retrieving file: /uImage
[    6.547703] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', version 0
6652480 bytes read in 295 ms (21.5 MiB/s)
[    6.555015] systemd[1]: Set hardware watchdog to 32s.
append: root=/dev/mmcblk0p6 rootwait rw console=ttySTM0,115200
[    7.427085] systemd[1]: Unnecessary job for /dev/ttySTM0 was removed.
Retrieving file: /stm32mp157c-dk2.dtb
[    7.440799] systemd[1]: Created slice system-getty.slice.
68852 bytes read in 4 ms (16.4 MiB/s)
[ OK  ] Created slice system-getty.slice.
## Booting kernel from Legacy Image at c2000000 ...
[    7.482766] systemd[1]: Created slice system-serial\x2dgetty.slice.
    Image Name:  Linux-4.19.49
[ OK  ] Created slice system-serial\x2dgetty.slice.
    Created:      2019-06-09   7:17:25 UTC
[    7.522459] systemd[1]: Created slice User and Session Slice.
    Image Type:  ARM Linux Kernel Image (uncompressed)
[  OK  ] Created slice User and Session Slice.
    Data Size:    6652416 Bytes = 6.3 MiB
[    7.561023] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    Load Address: c2000040
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
    Entry Point:  c2000040
[    7.600914] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    Verifying Checksum ... OK
[...]
## Flattened Device Tree blob at c4000000
[  OK  ] Started Serial Getty on ttySTM0.
    Booting using the fdt blob at 0xc4000000
[  OK  ] Reached target Login Prompts.
    XIP Kernel Image ... OK
        Starting Weston Wayland Compositor (on tty7)...
    Using Device Tree in place at c4000000, end c4013cf3
[  OK  ] Started Sound Service.
[  OK  ] Reached target Multi-User System.
Starting kernel ...
        Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[    0.000000] Booting Linux on physical CPU 0x0
[  OK  ] Started Weston Wayland Compositor (on tty7).
[    0.000000] Linux version 4.19.49 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Sun Jun 9 07:17:25
UTC 2019
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[   0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: STMicroelectronics STM32MP157C-DK2 Discovery Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] efi: Getting EFI parameters from FDT:
[    0.000000] efi: UEFI not found.
...
[    3.110076] Run /sbin/init as init process
[    3.115137] hub 2-1:1.0: USB hub found
[    3.117776] hub 2-1:1.0: 4 ports detected
[    3.358998] systemd[1]: System time before build time, advancing clock.
[    3.455504] NET: Registered protocol family 10
[    3.495900] Segment Routing with IPv6
[    3.521434] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -ID)
[    3.542498] systemd[1]: Detected architecture arm.
Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 2.6-openstlinux-4.19-thud-mp1-19-10-09 (thud)!
[    3.601262] systemd[1]: Set hostname to <stm32mp1>.
[    3.613928] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', version 0
[    3.621153] systemd[1]: Set hardware watchdog to 30s.
[    4.269410] systemd[1]: Unnecessary job for dev-ttySTM0.device was removed.
  [    4.277529] systemd[1]: Listening on initctl Compatibility Named Pipe.
  ...
[  OK  ] Started Getty on tty1.
[  OK  ] Reached target Login Prompts.
[  OK  ] Reached target Sound Card.
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Started Login Service.
[  OK  ] Reached target Multi-User System.
          Starting Update UTMP about System Runlevel Changes...
[  OK  ] Started Update UTMP about System Runlevel Changes.
[  OK  ] Started Hostname Service.
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 2.6-openstlinux-4.19-thud-mp1-19-10-09 stm32mp1 ttySTM0
 
stm32mp1 login: root (automatic login)
 
root@stm32mp1:~#


</div>
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1-openstlinux-5.4-dunfell-mp1-20-06-24 stm32mp1 ttySTM0


<div class="mw-collapsible mw-collapsed">
root@stm32mp1:
'''For {{EcosystemRelease | revision=1.0.0}}''':
</pre>
<div class="mw-collapsible-content">
NOTICE:  CPU: STM32MP157CAC Rev.B
NOTICE:  Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
NOTICE:  Board: MB1272 Var2 Rev.C-01
INFO:    Reset reason (0x14):
INFO:      Pad Reset from NRST
INFO:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
INFO:    Product_below_2v5=1: HSLVEN update is
INFO:      destructive, no update as VDD>2.7V
NOTICE:  BL2: v2.0(debug):
NOTICE:  BL2: Built : 13:13:37, Oct  2 2018
INFO:    BL2: Doing platform setup
INFO:    PMIC version = 0x10
INFO:    RAM: DDR3-1066/888 bin G 1x4Gb 533MHz v1.41                           
INFO:    Memory size = 0x20000000 (512 MB)                                     
INFO:    BL2 runs SP_MIN setup                                                 
INFO:    BL2: Loading image id 4                                               
INFO:    Loading image id=4 at address 0x2fff0000                             
INFO:    Image id=4 loaded: 0x2fff0000 - 0x30000000                           
INFO:    BL2: Loading image id 5                                               
INFO:    Loading image id=5 at address 0xc0100000                             
INFO:    STM32 Image size : 748404                                             
WARNING: Skip signature check (header option)                                 
INFO:    Image id=5 loaded: 0xc0100000 - 0xc01b6b74                           
INFO:    read version 0 current version 0                                       
NOTICE:  BL2: Booting BL32                                                     
INFO:    Entry point address = 0x2fff0000                                     
INFO:    SPSR = 0x1d3                                                         
INFO:    PMIC version = 0x10                                                   
NOTICE:  SP_MIN: v2.0(debug):                                                   
NOTICE:  SP_MIN: Built : 13:13:37, Oct  2 2018                                 
INFO:    ARM GICv2 driver initialized                                         
INFO:    stm32mp HSI (18): Secure only                                         
INFO:    stm32mp HSE (20): Secure only                                         
INFO:    stm32mp PLL2 (27): Secure only                                       
INFO:    stm32mp PLL2_R (30): Secure only                                     
INFO:    SP_MIN: Initializing runtime services                                 
INFO:    SP_MIN: Preparing exit to normal world                               
                                                                               
                                                                               
U-Boot 2018.11-stm32mp-r2 (Nov 14 2018 - 16:10:06 +0000)                       
                                                                                 
CPU: STM32MP157CAC Rev.B                                                       
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board                     
Board: stm32mp1 in trusted mode (st,stm32mp157c-dk2)                           
Board: MB1272 Var2 Rev.C-01                                                   
      Watchdog enabled                                                       
DRAM:  512 MiB                                                                 
Clocks:                                                                       
- MPU : 650 MHz                                                               
- MCU : 208.878 MHz                                                           
- AXI : 266.500 MHz                                                           
- PER : 24 MHz                                                                 
- DDR : 533 MHz                                                               
NAND:  0 MiB                                                                   
MMC:  STM32 SDMMC2: 0, STM32 SDMMC2: 1                                       
In:    serial                                                                 
Out:  serial                                                                   
Err:  serial                                                                 
Net:  eth0: ethernet@5800a000                                                 
Boot over mmc0!                                                               
Hit any key to stop autoboot:  0                                               
switch to partitions #0, OK                                                   
mmc0 is current device                                                         
Scanning mmc 0:4...                                                           
Found U-Boot script /boot.scr.uimg                                             
1553 bytes read in 0 ms                                                       
## Executing script at c4100000                                               
Scanning mmc 0:4...                                                           
Found /mmc0_stm32mp157c-dk2_extlinux/extlinux.conf                             
Retrieving file: /mmc0_stm32mp157c-dk2_extlinux/extlinux.conf                 
616 bytes read in 1 ms (601.6 KiB/s)                                           
Retrieving file: /mmc0_stm32mp157c-dk2_extlinux/../splash.bmp                 
46180 bytes read in 3 ms (14.7 MiB/s)                                         
Select the boot mode                                                           
1:      stm32mp157c-dk2-sdcard                                                 
2:      stm32mp157c-dk2-a7-examples-sdcard                                     
3:      stm32mp157c-dk2-m4-examples-sdcard                                     
Enter choice: 1:        stm32mp157c-dk2-sdcard                                 
Retrieving file: /uImage                                                       
6569464 bytes read in 290 ms (21.6 MiB/s)                                     
append: root=/dev/mmcblk0p6 rootwait rw console=ttySTM0,115200                 
Retrieving file: /stm32mp157c-dk2.dtb                                         
69510 bytes read in 4 ms (16.6 MiB/s)                                         
## Booting kernel from Legacy Image at c2000000 ...                           
    Image Name:  Linux-4.19.9                                                 
    Image Type:  ARM Linux Kernel Image (uncompressed)                         
    Data Size:    6569400 Bytes = 6.3 MiB                                       
    Load Address: c2000040                                                     
    Entry Point:  c2000040                                                     
    Verifying Checksum ... OK                                                   
## Flattened Device Tree blob at c4000000                                     
    Booting using the fdt blob at 0xc4000000                                   
    XIP Kernel Image ... OK                                                     
    Using Device Tree in place at c4000000, end c4013f85                       
                                                                               
Starting kernel ...                                                           
                                                                                 
[    0.000000] Booting Linux on physical CPU 0x0                               
[    0.000000] Linux version 4.19.9 (oe-user@oe-host) (gcc version 8.2.0 (GCC))8
[    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 STM32MP157C-DK2 Discod
[    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@0x10000000, compatibll
[    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 0x10042000, size 0 MB
[    0.000000] OF: reserved mem: initialized node vdev0vring1@10042000, compatil
[    0.000000] Reserved memory: created DMA memory pool at 0x10044000, size 0 MB
[    0.000000] OF: reserved mem: initialized node vdev0buffer@10044000, compatil
[    0.000000] Reserved memory: created DMA memory pool at 0x30000000, size 0 MB
[    0.000000] OF: reserved mem: initialized node mcuram@0x30000000, compatiblel
[    0.000000] Reserved memory: created DMA memory pool at 0x38000000, size 0 MB
[    0.000000] OF: reserved mem: initialized node retram@0x38000000, compatiblel
[    0.000000] cma: Reserved 128 MiB at 0xd4000000                             
[    0.000000] psci: probing for conduit method from DT.                       
[    0.000000] psci: PSCIv1.1 detected in firmware.
...
[  OK  ] Reached target Login Prompts.                                         
[  OK  ] Started Avahi mDNS/DNS-SD Stack.                                     
[  OK  ] Reached target Multi-User System.                                     
          Starting Update UTMP about System Runlevel Changes...                 
[  OK  ] Started Update UTMP about System Runlevel Changes.                   
                                                                               
ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 2.6-openstlinux-4.19-t0
                                                                               
stm32mp1 login: root (automatic login)                                         
                                                                           
root@stm32mp1:~#
</div>
</div>


==Basic commands==
==Basic commands==
===Printing distribution specific information===
===Printing distribution specific information===
'''For {{EcosystemRelease | revision=1.2.0}}''':
 
  {{Board$}} lsb_release -a
'''For {{EcosystemRelease | revision=2.1.0}}''':
  LSB Version:   core-5.0-noarch:core-5.0-arm
  {{Board$}} cat /etc/build
  Distributor ID: openstlinux-weston
-----------------------
  Description:   ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 2.6-openstlinux-20-02-19
  Build Configuration: |
  Release:       2.6-openstlinux-20-02-19                                       
-----------------------
  Codename:       thud  
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-4-dunfell-mp1-20-11-12
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-20-11-12-rc10
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:144077083457ccb75700777d5e6b1da9aaff01aa
meta-oe          = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa
meta-gnome        = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa
meta-xfce        = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa
meta-initramfs    = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa
meta-multimedia  = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa
meta-networking  = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa
  meta-webserver    = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa
meta-filesystems  = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa
meta-perl        = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa
meta-st-stm32mp  = default.xml:e0168b92a0c00b1f6dff2411b8e2d5d0d406a05e
meta-qt5          = default.xml:fdd19517e17240b0b61765bd02fc483a1bde986f
  meta-st-openstlinux = default.xml:aecec7a497fa7fc1abf05a8c376dd7e962da827c
  meta              = default.xml:b39bda4cc62db12c0edfbe489d5a7f5988ede6a9 -- modified


<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible mw-collapsed">
'''For {{EcosystemRelease | revision=1.1.0}}''':
'''For {{EcosystemRelease | revision=2.0.0}}''':
<div class="mw-collapsible-content">
{{Board$}} lsb_release -a
LSB Version:    core-5.0-noarch:core-5.0-arm
Distributor ID: openstlinux-weston
Description:    ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 2.6-openstlinux-4.19-thud-mp1-19-10-09
Release:        2.6-openstlinux-4.19-thud-mp1-19-10-09
Codename:      thud
</div>
<div class="mw-collapsible mw-collapsed">
'''For {{EcosystemRelease | revision=1.0.0}}''':
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
  {{Board$}} lsb_release -a
  {{Board$}} cat /etc/build
  LSB Version:   core-5.0-noarch:core-5.0-arm
-----------------------
  Distributor ID: openstlinux-weston
  Build Configuration: |
  Description:    ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 2.6-openstlinux-4.19-thud-mp1-19-02-20
-----------------------
  Release:        2.6-openstlinux-4.19-thud-mp1-19-02-20
BB_VERSION = 1.46.0
  Codename:       thud
BUILD_SYS = x86_64-linux
NATIVELSBSTRING = universal
TARGET_SYS = arm-ostl-linux-gnueabi
  MACHINE = stm32mp1
DISTRO = openstlinux-weston
  DISTRO_VERSION = 3.1-openstlinux-5.4-dunfell-mp1-20-06-24
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-20-06-24-rc7-1-gcb1de90
DISTRO_CODENAME = dunfell
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 9.%
  PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
PREFERRED_VERSION_linux-stm32mp =
-----------------------
Layer Revisions:     |
----------------------
meta-python      = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-oe          = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-gnome       = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-xfce        = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-initramfs    = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-multimedia  = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-networking  = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-webserver    = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-filesystems  = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-perl        = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-st-stm32mp  = HEAD:b86c2f2e092830f011a813d7f2c8fb076b2cbe66
meta-qt5          = HEAD:ac7514e2bc295c97faa86d24e8823829257adbb8
meta-st-openstlinux = HEAD:0124236609b3c1c56df265d7986919df4deb1814
  meta              = HEAD:1795f30d8ab73d35710ca99064c51190dc84853e
</div>
</div>


===Printing system information===
===Printing system information===
'''For {{EcosystemRelease | revision=1.2.0 }}''':
'''For {{EcosystemRelease | revision=2.1.0}}''':
{{Board$}} uname -a
  {{Board$}} uname -a  
Linux stm32mp1 4.19.94 #1 SMP PREEMPT Thu Jan 9 09:19:10 UTC 2020 armv7l armv7l armv7l GNU/Linux
  Linux stm32mp1 5.4.56 #1 SMP PREEMPT Wed Aug 5 07:59:52 UTC 2020 armv7l armv7l armv7l GNU/Linux
<div class="mw-collapsible mw-collapsed">
'''For {{EcosystemRelease | revision=1.1.0}}''':
<div class="mw-collapsible-content">
  {{Board$}} uname -a
  Linux stm32mp1 4.19.49 #1 SMP PREEMPT Sun Jun 9 07:17:25 UTC 2019 armv7l armv7l armv7l GNU/Linux
</div>
<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible mw-collapsed">
'''For {{EcosystemRelease | revision=1.0.0}}''':
'''For {{EcosystemRelease | revision=2.0.0}}''':
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
  {{Board$}} uname -a
  {{Board$}} uname -a
  Linux stm32mp1 4.19.9 #2 SMP PREEMPT Wed Feb 6 19:24:47 CET 2019 armv7l armv7l armv7l GNU/Linux
  Linux stm32mp1 5.4.31 #1 SMP PREEMPT Wed Apr 8 07:08:47 UTC 2020 armv7l armv7l armv7l GNU/Linux
</div>
</div>


===Printing Linux kernel and GCC versions===
===Printing Linux kernel and GCC versions===
'''For {{EcosystemRelease | revision=1.2.0 }}''':
'''For {{EcosystemRelease | revision=2.1.0}}''':
  {{Board$}} cat /proc/version
  {{Board$}} cat /proc/version
  Linux version 4.19.94 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Thu Jan 9 09:19:10 UTC 2020    
  Linux version 5.4.56 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Aug 5 07:59:52 UTC 2020
<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible mw-collapsed">
'''For {{EcosystemRelease | revision=1.1.0}}''':
'''For {{EcosystemRelease | revision=2.0.0}}''':
<div class="mw-collapsible-content">
<div class="mw-collapsible-content">
  {{Board$}} cat /proc/version
  {{Board$}} cat /proc/version
  Linux version 4.19.49 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP PREEMPT Sun Jun 9 07:17:25 UTC 2019     
  Linux version 5.4.31 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Apr 8 07:08:47 UTC 2020
</div>
</div>
<div class="mw-collapsible mw-collapsed">
'''For {{EcosystemRelease | revision=1.0.0}}''':
<div class="mw-collapsible-content">
{{Board$}} cat /proc/version
Linux version 4.19.9 (host@computer) (gcc version 8.2.0 (GCC)) #2 SMP PREEMPT Wed Feb 6 19:24:47 CET 2019
</div>
===Printing the amount of disk space available on all mounted file systems===
===Printing the amount of disk space available on all mounted file systems===
  {{Board$}} df -h
  {{Board$}} df -h
  Filesystem      Size  Used Avail Use% Mounted on
  Filesystem      Size  Used Avail Use% Mounted on
/dev/root      715M  348M  328M  52% /
  devtmpfs        148M     0  148M   0% /dev
  devtmpfs        150M     0  150M   0% /dev
/dev/mmcblk0p6  690M  416M  229M  65% /
  tmpfs          214M     0 214M  0% /dev/shm
  tmpfs          214M   64K 214M  1% /dev/shm
  tmpfs          214M   12M 203M   6% /run
  tmpfs          214M  8.8M  205M   5% /run
  tmpfs          214M    0  214M  0% /sys/fs/cgroup
  tmpfs          214M    0  214M  0% /sys/fs/cgroup
  tmpfs          214M  4.0K  214M  1% /tmp
  tmpfs          214M  4.0K  214M  1% /tmp
  tmpfs          214M   76K 214M  1% /var/volatile
  /dev/mmcblk0p4  58M  14M   41M 25% /boot
  /dev/mmcblk0p4   58M 8.4M   46M  16% /boot
  /dev/mmcblk0p5   15M  6.7M 6.8M  50% /vendor
  /dev/mmcblk0p7  14G  67M   13G  1% /usr/local
tmpfs          214M  144K  214M   1% /var/volatile
  /dev/mmcblk0p5  15M  8.4M  5.1M  63% /vendor
  /dev/mmcblk0p7  14G  39M   13G  1% /usr/local
  tmpfs            43M    0  43M  0% /run/user/0


===ssh connection (only if Ethernet cable is connected)===
===ssh connection (only if Ethernet cable is connected)===
Line 542: Line 449:
<br>
<br>
{| class="st-table" style="margin: auto"
{| class="st-table" style="margin: auto"
| style="border-style: hidden; width:120px; text-align:left" | [[Image:back_button.png|link=Getting started/STM32MP1 boards/STM32MP157C-DK2/Let's start/Populate the target and boot the image]]
| style="border-style: hidden; width:120px; text-align:left" | [[Image:back_button.png|link=Getting started/STM32MP1 boards/STM32MP157x-DK2/Let's start/Populate the target and boot the image]]
| style="border-style: hidden; width:360px; text-align:center" | [[Image:overview_button.png|link=Getting started/STM32MP1 boards/STM32MP157C-DK2]]
| style="border-style: hidden; width:360px; text-align:center" | [[Image:overview_button.png|link=Getting started/STM32MP1 boards/STM32MP157x-DK2]]
| style="border-style: hidden; width:120px; text-align:right" | [[Image:next_button.png|link=Getting started/STM32MP1 boards/STM32MP157C-DK2/Let's start/Use the demo launcher]]
| style="border-style: hidden; width:120px; text-align:right" | [[Image:next_button.png|link=Getting started/STM32MP1 boards/STM32MP157x-DK2/Let's start/Use the demo launcher]]
|}
|}


Line 550: Line 457:
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
{{DISPLAYTITLE:{{SUBPAGENAME}}}}
__NOTOC__
__NOTOC__
[[Category:STM32MP157C-DK2 - let's start | 03]]
[[Category:STM32MP157x-DK2 - let's start | 03]]
{{PublicationRequestId | Auto}}
{{PublicationRequestId | Auto}}
</noinclude>
</noinclude>

Latest revision as of 16:48, 12 November 2020

STM32MP157X-DK2.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 stage explains how to connect the Linux terminal of your board to your host computer through the ST-LINK/V2-1.
Then you will 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 source]

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

  • Install minicom
 sudo apt-get install minicom
  • Get the ttyACM device instance that need to be used to access the ST-LINK/V2-1
 ls /dev/ttyACM*
/dev/ttyACM0
  • Connect the minicom to the /dev/ttyACM0 device
 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 boot log displayed in the minicom window

For ecosystem release v2.1.0 More info.png :


NOTICE:  Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
NOTICE:  Board: MB1272 Var2.0 Rev.C-01
INFO:    Reset reason (0x14):
INFO:      Pad Reset from NRST
INFO:    PMIC version = 0x10
INFO:    Using SDMMC
INFO:      Instance 1
INFO:    Boot used partition fsbl1
NOTICE:  BL2: v2.2-r2.0(debug):v2.2-dirty
NOTICE:  BL2: Built : 13:36:23, Oct 22 2019
INFO:    Using crypto library 'stm32_crypto_lib'
INFO:    BL2: Doing platform setup
INFO:    RAM: DDR3-DDR3L 16bits 533000Khz
INFO:    Memory size = 0x20000000 (512 MB)
INFO:    BL2 runs SP_MIN setup
INFO:    BL2: Loading image id 4
INFO:    Loading image id=4 at address 0x2ffeb000
INFO:    Image id=4 loaded: 0x2ffeb000 - 0x2ffff000
INFO:    BL2: Loading image id 5
INFO:    Loading image id=5 at address 0xc0100000
INFO:    STM32 Image size : 904564
INFO:    Image id=5 loaded: 0xc0100000 - 0xc01dcd74
WARNING: Skip signature check (header option)
NOTICE:  ROTPK is not deployed on platform. Skipping ROTPK verification.
NOTICE:  BL2: Booting BL32
INFO:    Entry point address = 0x2ffeb000
INFO:    SPSR = 0x1d3
NOTICE:  SP_MIN: v2.2-r2.0(debug):v2.2-dirty
NOTICE:  SP_MIN: Built : 13:36:23, Oct 22 2019
INFO:    ARM GICv2 driver initialized
INFO:    Set calibration timer to 60 sec
INFO:    stm32mp IWDG1 (12): Secure
INFO:    SP_MIN: Initializing runtime services
INFO:    SP_MIN: Preparing exit to normal world


U-Boot 2020.01-stm32mp-r2 (Jan 06 2020 - 20:56:31 +0000)

CPU: STM32MP157CAC Rev.B
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
Board: stm32mp1 in trusted mode (st,stm32mp157c-dk2)
Board: MB1272 Var2.0 Rev.C-01
DRAM:  512 MiB
Clocks:
- MPU : 650 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
WDT:   Started with servicing (32s timeout)
NAND:  0 MiB
MMC:   STM32 SD/MMC: 0, 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/stm32mp157c-dk2_extlinux.conf
Retrieving file: /mmc0_extlinux/stm32mp157c-dk2_extlinux.conf
706 bytes read in 39 ms (17.6 KiB/s)
Retrieving file: /splash.bmp
18244 bytes read in 40 ms (445.3 KiB/s)
Select the boot mode
1:      OpenSTLinux
2:      stm32mp157c-dk2-a7-examples
3:      stm32mp157c-dk2-m4-examples
Enter choice: 1:        OpenSTLinux
Retrieving file: /uInitrd
3632201 bytes read in 193 ms (17.9 MiB/s)
Retrieving file: /uImage
7341840 bytes read in 350 ms (20 MiB/s)
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200
Retrieving file: /stm32mp157c-dk2.dtb
105410 bytes read in 44 ms (2.3 MiB/s)
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-5.4.56
   Created:      2020-08-05   7:59:52 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7341776 Bytes = 7 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 cfc89000, end cffffc49 ... OK
   Loading Device Tree to cfc6c000, end cfc88bc1 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.56 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Aug 5 07:59:52 UTC 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: STMicroelectronics STM32MP157C-DK2 Discovery Board
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] Reserved memory: created DMA memory pool at 0x10000000, size 0 MiB
[    0.000000] OF: reserved mem: initialized node mcuram2@10000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created DMA memory pool at 0x10040000, size 0 MiB
[...]
[    3.960443] ALSA device list:
[    3.961953]   #0: STM32MP1-DK
[    3.968610] Freeing unused kernel memory: 1024K
[    3.972052] Run /init as init process
[    3.985075] usb 2-1: new high-speed USB device number 2 using ehci-platform
[    4.187032] hub 2-1:1.0: USB hub found
[    4.189640] hub 2-1:1.0: 4 ports detected
Starting version 244.3+
[    6.703852] EXT4-fs (mmcblk0p6): recovery complete
[    6.718117] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[    7.234072] systemd[1]: System time before build time, advancing clock.
[    7.372495] NET: Registered protocol family 10
[    7.410303] Segment Routing with IPv6
[    7.460069] systemd[1]: systemd 244.3+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETU)
[    7.481460] systemd[1]: Detected architecture arm.

Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1-openstlinux-5-4-dunfell-mp1-20-11-12 (dunfell)!

[    7.579036] systemd[1]: Set hostname to <stm32mp1>.
[    7.592524] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', version 0
[    7.599743] systemd[1]: Set hardware watchdog to 32s.
[    8.499944] systemd[1]: Unnecessary job for /dev/ttySTM0 was removed.
[    8.513366] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[...]
[  OK  ] Started Login Service.
[  OK  ] Started Hostname 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 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 Target Communication Framework agent.
[  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-5-4-dunfell-mp1-20-11-12 stm32mp1 ttySTM0

stm32mp1 login: root (automatic login)

root@stm32mp1:~# 

For ecosystem release v2.0.0 More info.png :


U-Boot 2020.01-stm32mp-r1 (Jan 06 2020 - 20:56:31 +0000)

CPU: STM32MP157CAC Rev.B
Model: STMicroelectronics STM32MP157C-DK2 Discovery Board
Board: stm32mp1 in trusted mode (st,stm32mp157c-dk2)
Board: MB1272 Var2.0 Rev.C-01
DRAM:  512 MiB
Clocks:
- MPU : 650 MHz
- MCU : 208.878 MHz
- AXI : 266.500 MHz
- PER : 24 MHz
- DDR : 533 MHz
WDT:   Started with servicing (32s timeout)
NAND:  0 MiB
MMC:   STM32 SD/MMC: 0, 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/stm32mp157c-dk2_extlinux.conf
Retrieving file: /mmc0_extlinux/stm32mp157c-dk2_extlinux.conf
706 bytes read in 39 ms (17.6 KiB/s)
Retrieving file: /splash.bmp
18244 bytes read in 39 ms (456.1 KiB/s)
Select the boot mode
1:      OpenSTLinux
2:      stm32mp157c-dk2-a7-examples
3:      stm32mp157c-dk2-m4-examples
Enter choice: 1:        OpenSTLinux
Retrieving file: /uInitrd
3632439 bytes read in 192 ms (18 MiB/s)
Retrieving file: /uImage
7309840 bytes read in 349 ms (20 MiB/s)
append: root=PARTUUID=e91c4e10-16e6-4c0e-bd0e-77becf4a3582 rootwait rw console=ttySTM0,115200
Retrieving file: /stm32mp157c-dk2.dtb
72638 bytes read in 42 ms (1.6 MiB/s)
## Booting kernel from Legacy Image at c2000000 ...
   Image Name:   Linux-5.4.31
   Created:      2020-04-08   7:08:47 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    7309776 Bytes = 7 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 cfc89000, end cffffd37 ... OK
   Loading Device Tree to cfc74000, end cfc88bbd ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.31 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Apr 8 07:08:47 UTC 2020
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[...]
[    5.635752] EXT4-fs (mmcblk0p6): recovery complete
[    5.641146] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
/init: eval: line 1: resize_enabled: not found
[    6.136734] systemd[1]: System time before build time, advancing clock.
[    6.277018] NET: Registered protocol family 10
[    6.323818] Segment Routing with IPv6
[    6.374449] systemd[1]: systemd 244.3+ running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR -SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS -ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[    6.396282] systemd[1]: Detected architecture arm.

Welcome to ST OpenSTLinux - Weston - (A Yocto Project Based Distro) 3.1-openstlinux-5.4-dunfell-mp1-20-06-24 (dunfell)!

[    6.534284] systemd[1]: Set hostname to <stm32mp1>.
[    6.547703] systemd[1]: Hardware watchdog 'STM32 Independent Watchdog', version 0
[    6.555015] systemd[1]: Set hardware watchdog to 32s.
[    7.427085] systemd[1]: Unnecessary job for /dev/ttySTM0 was removed.
[    7.440799] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    7.482766] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    7.522459] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    7.561023] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Started Dispatch Password …ts to Console Directory Watch.
[    7.600914] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[...]
[  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-5.4-dunfell-mp1-20-06-24 stm32mp1 ttySTM0

root@stm32mp1:

3. Basic commands[edit source]

3.1. Printing distribution specific information[edit source]

For ecosystem release v2.1.0 More info.png :

 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-4-dunfell-mp1-20-11-12
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-20-11-12-rc10
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:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-oe           = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-gnome        = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-xfce         = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-initramfs    = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-multimedia   = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-networking   = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-webserver    = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-filesystems  = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-perl         = default.xml:144077083457ccb75700777d5e6b1da9aaff01aa 
meta-st-stm32mp   = default.xml:e0168b92a0c00b1f6dff2411b8e2d5d0d406a05e 
meta-qt5          = default.xml:fdd19517e17240b0b61765bd02fc483a1bde986f 
meta-st-openstlinux = default.xml:aecec7a497fa7fc1abf05a8c376dd7e962da827c 
meta              = default.xml:b39bda4cc62db12c0edfbe489d5a7f5988ede6a9 -- modified

For ecosystem release v2.0.0 More info.png :

 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.4-dunfell-mp1-20-06-24
TUNE_FEATURES = arm vfp cortexa7 neon vfpv4 thumb callconvention-hard
TARGET_FPU = hard
MANIFESTVERSION = ostl-20-06-24-rc7-1-gcb1de90
DISTRO_CODENAME = dunfell
ACCEPT_EULA_stm32mp1 = 1
GCCVERSION = 9.%
PREFERRED_PROVIDER_virtual/kernel = linux-stm32mp
PREFERRED_VERSION_linux-stm32mp =
-----------------------
Layer Revisions:      |
----------------------
meta-python       = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-oe           = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-gnome        = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-xfce         = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-initramfs    = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-multimedia   = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-networking   = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-webserver    = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-filesystems  = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-perl         = HEAD:b5f510e48080b6dc710ff4800feb90ef679c5456
meta-st-stm32mp   = HEAD:b86c2f2e092830f011a813d7f2c8fb076b2cbe66
meta-qt5          = HEAD:ac7514e2bc295c97faa86d24e8823829257adbb8
meta-st-openstlinux = HEAD:0124236609b3c1c56df265d7986919df4deb1814
meta              = HEAD:1795f30d8ab73d35710ca99064c51190dc84853e

3.2. Printing system information[edit source]

For ecosystem release v2.1.0 More info.png :

 uname -a 
Linux stm32mp1 5.4.56 #1 SMP PREEMPT Wed Aug 5 07:59:52 UTC 2020 armv7l armv7l armv7l GNU/Linux

For ecosystem release v2.0.0 More info.png :

 uname -a
Linux stm32mp1 5.4.31 #1 SMP PREEMPT Wed Apr 8 07:08:47 UTC 2020 armv7l armv7l armv7l GNU/Linux

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

For ecosystem release v2.1.0 More info.png :

 cat /proc/version
Linux version 5.4.56 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Aug 5 07:59:52 UTC 2020

For ecosystem release v2.0.0 More info.png :

 cat /proc/version
Linux version 5.4.31 (oe-user@oe-host) (gcc version 9.3.0 (GCC)) #1 SMP PREEMPT Wed Apr 8 07:08:47 UTC 2020

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        148M     0  148M   0% /dev
/dev/mmcblk0p6  690M  416M  229M  65% /
tmpfs           214M   64K  214M   1% /dev/shm
tmpfs           214M  8.8M  205M   5% /run
tmpfs           214M     0  214M   0% /sys/fs/cgroup
tmpfs           214M  4.0K  214M   1% /tmp
/dev/mmcblk0p4   58M   14M   41M  25% /boot
/dev/mmcblk0p5   15M  6.7M  6.8M  50% /vendor
tmpfs           214M  144K  214M   1% /var/volatile
/dev/mmcblk0p7   14G   39M   13G   1% /usr/local
tmpfs            43M     0   43M   0% /run/user/0

3.5. ssh connection (only if Ethernet cable is 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@stm32mp1:~#


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