Avenger96: Difference between revisions

From Wiki-DB
Jump to navigationJump to search
(21 intermediate revisions by the same user not shown)
Line 55: Line 55:
*'''Temperature Range''' 0 - 40 °C
*'''Temperature Range''' 0 - 40 °C
*'''Dimensions ''' 100 x 85 mm
*'''Dimensions ''' 100 x 85 mm
*'''Serial Peripherals'''   
*'''Expansion Connectors'''   
**2 x UART
**2 x UART
**2 x I2C
**2 x I2C
**1 x I2S
**1 x I2S
**1 x SPI
**1 x SPI
**1 x GPIOs
**12 x GPIOs (also useable as 2x CAN, 2x ADC)
**1 x MIPI-CSI2
**1 x MIPI-DSI
|}
|}


Line 83: Line 85:
:- The Mainline based Linux offers Etnaviv GPU driver support!!!
:- The Mainline based Linux offers Etnaviv GPU driver support!!!
:- Based on '''kernel 5.10.x''' and Yocto version dunfell
:- Based on '''kernel 5.10.x''' and Yocto version dunfell
* [https://github.com/dh-electronics/dhcom_stm32mp1-bsp-platform Yocto meta layer --> Github]
* [https://github.com/dh-electronics/meta-dhsom-stm32-bsp Yocto BSP meta layer --> Github]
* [https://www.dropbox.com/s/1ik74ec5kufyqmx/dh-image-demo-dh-stm32mp1-dhcor-avenger96-20211021130724_2021-10-21.rootfs.wic.xz?dl=0 '''NEW''' DH Mainline based Starter Image 2021-10-21 (based on 5.10 kernel)]
* [https://github.com/dh-electronics/kas-dhsom Easy Yocto build via KAS --> Github]
* [https://www.dropbox.com/s/31ctxifeqyknslz/dh-image-demo-dh-stm32mp1-dhcor-avenger96-20220711132910.rootfs.wic.xz?dl=0 '''NEW''' DH Mainline based Starter Image 2022-07-11 (based on 5.10 kernel)]
* [[Default Bootloader "stm32mp15xx-dhcor-testbench" | '''NEW''' Default Bootloader "stm32mp15xx-dhcor-testbench" programmed with delivered DHCOR module]]
* [[DHCOR_STM32MP1_Linux| Linux and bootloader documentation]]
* [[DHCOR_STM32MP1_Linux| Linux and bootloader documentation]]
:<span style="color:#008000">'''NEW How to start with custom DHCOR design?'''</span>  
:<span style="color:#008000">'''NEW How to start with custom DHCOR design?'''</span>  
Line 90: Line 94:
:[https://www.dropbox.com/s/zg6f9h1vms6lxdg/0001-ARM-dts-stm32-Add-DHCOR-based-FOO-board-u-boot-v2021.01.patch?dl=0 '''NEW''' 0001-ARM-dts-stm32-Add-DHCOR-based-FOO-board-u-boot-v2021.01.patch]
:[https://www.dropbox.com/s/zg6f9h1vms6lxdg/0001-ARM-dts-stm32-Add-DHCOR-based-FOO-board-u-boot-v2021.01.patch?dl=0 '''NEW''' 0001-ARM-dts-stm32-Add-DHCOR-based-FOO-board-u-boot-v2021.01.patch]
* [[Add Yocto SDK with QT5 to QT Creator | Start with Qt]]
* [[Add Yocto SDK with QT5 to QT Creator | Start with Qt]]
* [[Debugging_M4_on_STM32MP15xxxx|STM32MP1: Debugging M4]]
* [https://wiki.dh-electronics.com/index.php/STM32MP1_Browser_Performance STM32MP1 Browser Performance]
* [https://wiki.dh-electronics.com/index.php/STM32MP1_Browser_Performance STM32MP1 Browser Performance]
* [[DHSOM device tree structure | DHSOM device tree structure]]


=== Debian ===
=== Debian ===
* [https://www.dropbox.com/s/xvydm33ky97brt8/HD00066_Debian-Buster-Avenger96_2021-09-30.img.xz?dl=0 '''NEW''' Debian Buster Starter Image (based on 5.10 kernel)]
* [https://www.dropbox.com/s/xvydm33ky97brt8/HD00066_Debian-Buster-Avenger96_2021-09-30.img.xz?dl=0 '''NEW''' Debian Buster Starter Image (based on 5.10 kernel)]
:login: root
:password: foo


=== OpenSTLinux ===
=== OpenSTLinux ===
<span style="color:#800000"> '''!!! This project is NOT maintained from DH electronics!!! --> Please use the "DH Mainline based Linux" version for your project. The OpenSTLinux should only be used for testing !!!'''</span>  
<span style="color:#800000"> '''!!! This project is NOT maintained from DH electronics!!! --> Please use the "DH Mainline based Linux" version for your project. The OpenSTLinux should only be used for testing !!!'''</span>  
:'''Notes:'''  
:'''Notes:'''  
:- Based on OpenSTLinux v2.1
:- Based on OpenSTLinux v3.0
:- GPU support based on original vivante GPU driver.
:- GPU support based on original vivante GPU driver.
:- Based on kernel 5.4.x and Yocto version dunfell
:- Based on kernel 5.10.x and Yocto version dunfell
* [https://github.com/dh-electronics/manifest-av96 Yocto meta layer --> Github]
* [https://github.com/dh-electronics/manifest-av96 Yocto meta layer --> Github]
:DH electronics Github contains the meta-av96 layer for ST SDK. Please see readme.txt which describes the build process.
:DH electronics Github contains the meta-av96 layer for ST SDK. Please see readme.txt which describes the build process.
Line 113: Line 121:


== Useful instructions ==
== Useful instructions ==
==== How to test OV5640 camera ====
To use the D3 mezzanine board with AV96 and the OV5640 camera, one has to apply the correct DTO first:
STM32MP> setenv loaddtos '#conf-stm32mp157a-avenger96.dtb#conf-stm32mp15xx-avenger96-overlay-ov5640-x7.dtbo'; boot


==== SPI Flash and eMMC Image Programming ====
Afterward it is possible to stream frames from the camera:
$ XDG_RUNTIME_DIR=/var/run/user/$(id -u weston)/ gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! queue ! waylandsink
 
==== How to load U-Boot with dfu-util ====
*[[U-Boot recovery for STM32MP1 DHSOM via DFU |U-Boot recovery for STM32MP1 DHSOM via DFU]]
 
==== SPI Flash and eMMC Image Programming via UMS (universal mass storage) ====
*[[Avenger96 UMS Image Programming | Avenger96 UMS Image Programming]]
 
==== SPI Flash and eMMC Image Programming via Cube Programmer (OLD) ====
*[[Avenger96 Image Programming | Avenger96 Image Programming]]
*[[Avenger96 Image Programming | Avenger96 Image Programming]]



Revision as of 10:18, 29 November 2022

The Avenger96 board is the official DHCOR STM32MP1 reference design!

COM Avenger96Board

Introduction

The AVENGER Board is a 96Boards compliant consumer edition board based on the STM32MP15 series of SoCs. The STM32MP15 series is a highly integrated multi-market applications processor designed to enable secure and portable applications within the Internet of Things. AVENGER board features Dual-core Arm® Cortex®-A7 processors operating at up to 650 MHz, Single core Arm® Cortex® M4 operating up to 209 MHz. In addition, an extensive set of interfaces and connectivity peripherals are included to interface to cameras, touch-screen displays, MMC/SD cards and media processor engine. It also fully supports wireless communication, including WLAN and BLE.

Technical Details

  • STM32MP157AAC
    • 2x ARM® Cortex-A7 up to 650 MHz
    • 1x ARM® Cortex-M4 up to 209 MHz

  • GPU 1x 3D GPU Vivante® @ 533 MHz - OpenGL® ES 2.0
  • PMIC STPMIC1A
  • DDR3 DRAM 1024 Mbyte @ 533 MHz
  • eMMC Flash 8 Gbyte, v4.51 interface
  • NOR Flash 2 Mbyte, Quad SPI interface
  • EEPROM 128 byte
  • microSD Socket UHS-I speed grade, v3.01
  • USB Host 2x type A, 2.0 high-speed
  • USB OTG 1x type micro-AB, 2.0 high-speed
  • HDMI WXGA (1366x768) @ 60 fps, HDMI 1.4
  • WiFi / Bluetooth
    • WiFi 5 GHz & 2.4GHz IEEE 802.11a / b / g / n / ac
    • Bluetooth® v4.2 (BR/EDR/BLE)
    • PCB antenna
  • Ethernet 10 / 100 / 1000 Mbit/s, IEEE 802.3-compliant
  • Push-Buttons Power and reset
  • Battery Socket CR1216, CR1220 and CR1225
  • LEDs
    • 4x green user controlled LEDs
    • 1x blue Bluetooth enabled
    • 1x yellow WiFi enabled
    • 1x red power supply okay
  • Boot Mode 3 bit boot mode switch
  • Debug Interface JTAG interface via tag-connect
  • Supply (SYS_DCIN) 8 - 18 VDC
  • Temperature Range 0 - 40 °C
  • Dimensions 100 x 85 mm
  • Expansion Connectors
    • 2 x UART
    • 2 x I2C
    • 1 x I2S
    • 1 x SPI
    • 12 x GPIOs (also useable as 2x CAN, 2x ADC)
    • 1 x MIPI-CSI2
    • 1 x MIPI-DSI

Documentation

NOTE: Please also have a look at the STM32 MPU wiki: Links

Design Files

Software

DH Mainline based Linux

Notes:
- The Mainline based Linux offers Etnaviv GPU driver support!!!
- Based on kernel 5.10.x and Yocto version dunfell
NEW How to start with custom DHCOR design?
The patch below is an example patch which applies on top of u-boot v2021.01 and implements a custom board derived from 3V3 option of DHCOR STM32MP1 SoM. That's pretty much all you have to change to implement the board. But, please tweak the DTs esp. where there are the FIXME comments.
NEW 0001-ARM-dts-stm32-Add-DHCOR-based-FOO-board-u-boot-v2021.01.patch

Debian

login: root
password: foo

OpenSTLinux

!!! This project is NOT maintained from DH electronics!!! --> Please use the "DH Mainline based Linux" version for your project. The OpenSTLinux should only be used for testing !!!

Notes:
- Based on OpenSTLinux v3.0
- GPU support based on original vivante GPU driver.
- Based on kernel 5.10.x and Yocto version dunfell
DH electronics Github contains the meta-av96 layer for ST SDK. Please see readme.txt which describes the build process.
Starter Image Changelog
This Image includes four different bootmodes to support some additional mezzanine boars. Click here to learn, how to change them.
X-LINUX-AI OpenSTLinux Expansion Package: Description: Expansion Package that targets artificial intelligence for STM32MP1 Series devices.

Useful instructions

How to test OV5640 camera

To use the D3 mezzanine board with AV96 and the OV5640 camera, one has to apply the correct DTO first:

STM32MP> setenv loaddtos '#conf-stm32mp157a-avenger96.dtb#conf-stm32mp15xx-avenger96-overlay-ov5640-x7.dtbo'; boot

Afterward it is possible to stream frames from the camera:

$ XDG_RUNTIME_DIR=/var/run/user/$(id -u weston)/ gst-launch-1.0 v4l2src device=/dev/video0 ! video/x-raw,width=1280,height=720 ! queue ! waylandsink

How to load U-Boot with dfu-util

SPI Flash and eMMC Image Programming via UMS (universal mass storage)

SPI Flash and eMMC Image Programming via Cube Programmer (OLD)

Mezzanine Boards by DH electronics

DSI Display Adaptor Board

DSI Display Adaptor Board

You can easily add an DSI display to your Avenger96 with the help of the DSI Display Adaptor Board. The display can be activated easily on our Mainline Image with a device tree overlay as described here. To get one of the boards, simply reach out to us and we'll prepare one for you.

Links