DHSBC STM32MP2x: Difference between revisions
From Wiki-DB
Jump to navigationJump to search
Ageisreiter (talk | contribs) |
Ageisreiter (talk | contribs) |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 10: | Line 10: | ||
== Introduction == | == Introduction == | ||
Reference design for secure industrial IoT devices based on | Reference design for secure industrial IoT devices based on STM32MP25 | ||
* Single Board Computer based on | * Single Board Computer based on solderable, pin-compatible DHCOS STM32MP25 SOM | ||
* | * Industrial grade, 10+ years available | ||
* | * Mainline Linux support (also for Vivante GPU) | ||
* | * Security Features e.g. Secure Boot / Storage | ||
* | * Connectivity: Gbit Ethernet, WiFi/BT | ||
* | * Multimedia: 3D GPU, display, video, camera | ||
* | * STPMIC25 supports low power modes | ||
== Technical Details == | == Technical Details == | ||
| Line 66: | Line 66: | ||
== Product Change Notifications (PCN) == | == Product Change Notifications (PCN) == | ||
== IMPORTANT INFORMATIONS == | |||
* <span style="color:#FF0000">'''The DHSBC DisplayPort functionality has not yet been implemented at this time. The test image is a headless image. If you want to connect a display, please contact DH electronics. We can offer a 10" LVDS test kit, or you can connect your own LVDS display and we will assist with implementation.'''</span> | |||
== Documentation == | == Documentation == | ||
| Line 78: | Line 81: | ||
== Software == | == Software == | ||
* [https://github.com/dh-electronics/kas-dhsom Build your own Yocto LTS via kas (GitHub)] | * [https://github.com/dh-electronics/kas-dhsom Build your own Yocto LTS via kas (GitHub)] | ||
* [https://github.com/dh-electronics/meta-dhsom-stm32-bsp Yocto BSP meta layer (Github)] | : Note: Please use dh-stm32mp25-dhcos-dhsbc.yml configuration. | ||
* [https://github.com/dh-electronics/meta-dhsom-stm32-wip-bsp Yocto BSP meta layer (Github)] | |||
: Note: Currently, for the DHCOS STM32MP2, we use the 'meta-dhsom-stm32-wip-bsp' (work in progress) layer. The STM32MP2 will later be integrated into the meta-dhsom-stm32-bsp layer. | |||
== Useful instructions == | == Useful instructions == | ||
==== Setup new board and install image files via USB (dfu and ums mode) / U-Boot recovery via DFU ==== | |||
*[[DHSBC STM32MP2 DFU and UMS usage|DHSBC STM32MP2 DFU and UMS usage]] | |||
==== How to connect to WiFi network ==== | |||
:'''Establish connection''' | |||
:{| class="wikitable" | |||
|<tt>$ wpa_passphrase "SSID" > /etc/wpa_supplicant.conf</tt> | |||
|} | |||
:-> In the next step, please enter the password | |||
:{| class="wikitable" | |||
|<tt>$ rfkill unblock all</tt> | |||
|- | |||
|<tt>$ wpa_supplicant -B -i wlansom0 -c /etc/wpa_supplicant.conf</tt> | |||
|} | |||
:'''Disconnect''' | |||
:{| class="wikitable" | |||
|<tt>$ ip link set wlansom0 down</tt> | |||
|} | |||
==== Use GPIOs ==== | |||
:'''To list available GPIOs, use the gpioinfo command:''' | |||
:{| class="wikitable" | |||
|<tt>$ gpioinfo</tt> | |||
|} | |||
gpiochip0 - 16 lines: | |||
line 0: "DHSBC_HW-CODE_0" input consumer="kernel" | |||
line 1: "DHSBC_HW-CODE_1" input | |||
line 2: "DHSBC_HW-CODE_2" input | |||
line 3: "PA3" input | |||
line 4: "DHCOS-E" input | |||
line 5: "DHCOS-J" input | |||
line 6: "PA6" input | |||
line 7: "PA7" input | |||
... | |||
:'''To set a GPIO as Output-High:''' | |||
:{| class="wikitable" | |||
|<tt>$ gpioset "LABLE"=1</tt> | |||
|} | |||
:'''To set a GPIO as Output-Low:''' | |||
:{| class="wikitable" | |||
|<tt>$ gpioset "LABLE"=0</tt> | |||
|} | |||
:'''To get current state of a GPIO:''' | |||
:{| class="wikitable" | |||
|<tt>$ gpioget "LABLE"</tt> | |||
|} | |||
==== Configure systemd network configuration ==== | |||
:'''Find configuration files:''' | |||
:{| class="wikitable" | |||
|<tt>find /usr -name \*wlansom0\*</tt> | |||
|- | |||
|<tt>find /usr -name \*ethsom0\*</tt> | |||
|- | |||
|<tt>find /usr -name \*ethsom1\*</tt> | |||
|} | |||
:'''systemd network configuration:''' | |||
* [https://wiki.archlinux.org/title/Systemd-networkd systemd-networkd documentation] | |||
* [https://www.freedesktop.org/software/systemd/man/latest/systemd.network.html systemd.network — Network configuration] | |||
== Links == | == Links == | ||
Latest revision as of 16:29, 2 October 2025
The DHSBC STM32MP25 board is the official DHCOS STM32MP25x reference design!
Introduction
Reference design for secure industrial IoT devices based on STM32MP25
- Single Board Computer based on solderable, pin-compatible DHCOS STM32MP25 SOM
- Industrial grade, 10+ years available
- Mainline Linux support (also for Vivante GPU)
- Security Features e.g. Secure Boot / Storage
- Connectivity: Gbit Ethernet, WiFi/BT
- Multimedia: 3D GPU, display, video, camera
- STPMIC25 supports low power modes
Technical Details
|
|
Product Change Notifications (PCN)
IMPORTANT INFORMATIONS
- The DHSBC DisplayPort functionality has not yet been implemented at this time. The test image is a headless image. If you want to connect a display, please contact DH electronics. We can offer a 10" LVDS test kit, or you can connect your own LVDS display and we will assist with implementation.
Documentation
- Getting-Started with DHSBC STM32MP25
- DHCOS STM32MP2x User Manual IMPORTANT: Please have a look at chapter 27. Hardware design checklist
Design Files
Software
- Note: Please use dh-stm32mp25-dhcos-dhsbc.yml configuration.
- Note: Currently, for the DHCOS STM32MP2, we use the 'meta-dhsom-stm32-wip-bsp' (work in progress) layer. The STM32MP2 will later be integrated into the meta-dhsom-stm32-bsp layer.
Useful instructions
Setup new board and install image files via USB (dfu and ums mode) / U-Boot recovery via DFU
How to connect to WiFi network
- Establish connection
$ wpa_passphrase "SSID" > /etc/wpa_supplicant.conf
- -> In the next step, please enter the password
$ rfkill unblock all $ wpa_supplicant -B -i wlansom0 -c /etc/wpa_supplicant.conf
- Disconnect
$ ip link set wlansom0 down
Use GPIOs
- To list available GPIOs, use the gpioinfo command:
$ gpioinfo
gpiochip0 - 16 lines:
line 0: "DHSBC_HW-CODE_0" input consumer="kernel"
line 1: "DHSBC_HW-CODE_1" input
line 2: "DHSBC_HW-CODE_2" input
line 3: "PA3" input
line 4: "DHCOS-E" input
line 5: "DHCOS-J" input
line 6: "PA6" input
line 7: "PA7" input
...
- To set a GPIO as Output-High:
$ gpioset "LABLE"=1
- To set a GPIO as Output-Low:
$ gpioset "LABLE"=0
- To get current state of a GPIO:
$ gpioget "LABLE"
Configure systemd network configuration
- Find configuration files:
find /usr -name \*wlansom0\* find /usr -name \*ethsom0\* find /usr -name \*ethsom1\*
- systemd network configuration: