System-on-module quad-core arm cortex-a35 (54 pages)
Summary of Contents for Cherry RINGNECK SOM-PX30-uQ7
Page 1
RINGNECK SOM-PX30-uQ7 Power efficient System-on-Module with Quad-Core ARM featuring the Rockchip PX30 application processor USER MANUAL Document revision: v1.3.1 Issue date: Feb 04, 2024...
2.1 Insert the Module Insert the RINGNECK SOM-PX30-uQ7 module at a 30-degree angle into the connector in the base board. Once fully inserted, push it down until it rests on the standoffs and check alignment of the mounting holes.
3.1 Evaluation Board Overview An overview of the available connectors and devices on the EVK is shown below. Note: The RINGNECK SOM-PX30-uQ7 does not support HDMI and PCIe x4 (they are shown with a * in the next figure). v1.3.1...
Depending on the setting of Power Mode (Normally On / Normally Off) switch, the board will boot as soon as it receives power. 3.3 Control Buttons and Switches The control buttons (see Fig. 3.1 The baseboard with RINGNECK SOM-PX30-uQ7 module) provide the following functionality: • Power toggles the module power supply.
USB loader USB loader If no bootloader is found on any storage device, the RINGNECK SOM-PX30-uQ7 module will go into USB loader mode, showing up as a USB device on the USB-OTG port. The electrical state of the BIOS_DISABLE# signal for both slider positions is shown below:...
For macOS, drivers are available from Silicon Labs: https://www.silabs.com/products/development-tools/ software/usb-to-uart-bridge-vcp-drivers The RINGNECK SOM-PX30-uQ7 module has two external UARTs: • UART0 is, by default, used for the serial console for interactive login. • UART1 is unused by default and can be freely used for machine-to-machine communications or other purposes.
SSH login on port 22. 3.10 SD-Card The RINGNECK SOM-PX30-uQ7 supports UHS SD cards and maximum writing speed on the SD card is 50MB/s. The practical writing and reading speeds depend on the capabilities of the inserted SD card.
3.11 USB Interfaces The RINGNECK SOM-PX30-uQ7 provides four USB ports: • 1x USB 2.0 OTG • 3x USB 2.0 Host Fig. 3.8: USB 2.0 OTG port (dual-role port: can be used as a host or device interface) Fig. 3.9: USB 2.0 host ports 3.11.1 Connecting an External USB Drive...
3.12 Display and Camera The RINGNECK SOM-PX30-uQ7 supports display output on the LVDS A interface and the camera on the LVDS B interface. For MIPI-DSI and MIPI-CSI, the Qseven LVDS pins are used. Those pins are routed to the Video connector.
SOM-PX30-uQ7 does not support 1-Wire. Additional I2C buses are available on the SMBUS header. Note that SMB_DAT, SMB_CLK, SMB_ALERT# are not sup- ported by the RINGNECK SOM-PX30-uQ7 module (shown in thin font in Fig. 3.12). Fig. 3.11: I2C and SPI header RINGNECK SOM-PX30-uQ7 User Manual v1.3.1...
Fig. 3.12: SMBUS header For I2C, the i2c-tools package is available in Debian: apt-get install i2c-tools 3.14.1 Linux I2C Bus Numbering Linux identifies each I2C bus by a bus number. The table below shows the mapping between Q7 names, Linux bus number and EVK header.
Note: The codec on the Haikou baseboard only supports a sample rate 48kHz . This restriction only applies to this specific codec on the Haikou baseboard. The I2S bus on the RINGNECK SOM-PX30-uQ7 module supports a sample rate up to 192kHz. Fig. 3.14: Audio input/output port...
3.17 CAN Bus The board provides a CAN connector on the bottom row. Fig. 3.16: CAN header Note: CAN feature is only available on RINGNECK SOM-PX30-uQ7 module with an STM32, see (Section 12.4.4 Companion Controller 1). 3.18 CTRL I/O Connector The board provides signals for watchdog trigger in- and output, SoM PMIC power-on input, reset and external display power enable.
Fig. 3.18: MISC header 3.20 JTAG Connector The board provides UPDI signals on the JTAG connector. The RINGNECK SOM-PX30-uQ7 does not support JTAG, but the ATtiny (see Section 12.4.5 Companion Controller 2) can be flashed over JTAG connector pins. Fig. 3.19: JTAG header...
This chapter will go through all neccessary steps, finally building a complete image using the debos Debian image builder. The result will be a fully-functional Debian system. Alternatively, prebuilt images can be downloaded from https://downloads.embedded.cherry.de/ringneck/. At the time of writing this document, the following Debian image variants are available for the Ringneck board: •...
5.3 Compile U-Boot and Section 5.4 Compile the Linux kernel, respectively. Get the source code for the debos recipe and copy necessary components built in previous steps: # Download the source code git clone https://git.embedded.cherry.de/debos-recipes.git debos-recipes # Copy Linux & U-Boot binaries into the ``ringneck`` folder cp $RINGNECK_LINUX_DIR/arch/arm64/boot/Image ringneck/overlay/boot/ cp $RINGNECK_LINUX_DIR/arch/arm64/boot/dts/rockchip/px30-ringneck*.dtb ringneck/overlay/boot...
6.2 BSP meta layer The Yocto Project BSP meta layer can be found at https://git.embedded.cherry.de/yocto-layers/ meta-theobroma-systems-bsp.git/. It contains the minimal configuration and recipe append files (bbappend) necessary to build a minimal working image.
Page 29
6.2.1 Initial setup Clone the BSP meta layer and its dependencies from a new directory called yocto: mkdir yocto yocto git clone https://git.embedded.cherry.de/yocto-layers/meta-theobroma-systems-bsp.git -b kirkstone git clone https://git.yoctoproject.org/poky -b kirkstone-4.0.10 git clone https://git.yoctoproject.org/meta-arm -b yocto-4.0.2 git clone https://git.yoctoproject.org/meta-rockchip -b kirkstone git clone https://git.openembedded.org/meta-openembedded -b kirkstone...
Page 30
bitbake-layers add-layer ../meta-arm/meta-arm-toolchain bitbake-layers add-layer ../meta-arm/meta-arm bitbake-layers add-layer ../meta-rockchip bitbake-layers add-layer ../meta-openembedded/meta-oe bitbake-layers add-layer ../meta-openembedded/meta-python bitbake-layers add-layer ../meta-theobroma-systems-bsp 6.2.3 Building a minimal image To build a bootable artifact, BitBake will be called with the specified machine and target image: MACHINE="ringneck-haikou" bitbake core-image-minimal Note: Technically speaking, the MACHINE variable could be set in build/conf/local.conf file once and for all.
KAS_IMAGE_VERSION="4.0" KAS_MACHINE="ringneck-haikou" kas-container build meta-theobroma-systems-bsp/ kas-theobroma.yml 6.3 Extended meta layer The Yocto Project extended layer can be found at https://git.embedded.cherry.de/yocto-layers/ meta-theobroma-systems-extended.git/. In addition to the minimal features, this layer includes the network manager, and many more features will be added soon.
Page 32
6.3.2 Initializing build environment Once the layers have been properly cloned in their appropriate branch, the build environment needs to be initialized. This can be done by running the following command: source poky/oe-init-build-env build This will initialize the build environment by making the bitbake build tool available in the current shell and creating a build directory where temporary and final build artifacts will be stored.
Page 33
The Section 6.3.1 Initial setup and Section 6.3.2 Initializing build environment can then be replaced by the fol- lowing two commands: mkdir yocto yocto git clone https://git.embedded.cherry.de/yocto-layers/meta-theobroma-systems-extended.git -b kirkstone kas checkout meta-theobroma-systems-extended/kas-theobroma.yml The Section 6.3.3 Building an image can now be replaced with: KAS_MACHINE="ringneck-haikou"...
7 Deploy a disk image This chapter describe how to write a disk image as generated in one of the previous chapters using Yocto or Debian to the module. Note: The variable SDCARD_IMG must be already set as described in respective chapter. Warning: Avoid having the disk image on both the SD Card and the internal eMMC of the module.
8 Wifi The RINGNECK SOM-PX30-uQ7 module features an on-board Wifi module. This chapter shows how to connect to an existing Wifi network and how to flash the wifi firmware, should the need arise. 8.1 Antenna The development kit includes an antenna compatible with the Wifi module. Other antennas can be used. The connector on the antenna must be one of: •...
9 Serial Number & MAC Address 9.1 Serial Number Each RINGNECK SOM-PX30-uQ7 module has a unique serial number that can be read by software. In U-Boot, the serial number is contained in the environment variable serial#. You can print it using the...
SoC resets microcontroller into DFU mode and then uploads the firmware binary to internal STM32 flash memory. The tool is available here: https://git.embedded.cherry.de/som-tools.git/tree/mule. To flash STM32 microcontroller using mule.sh, please follow the steps below. 1. Install mule.sh dependencies according to README.md 2.
Page 41
SoC resets microcontroller into flashloader mode and then transfers the binary that will be committed to flash. Tools are available here: https://git.embedded.cherry.de/som-tools.git/tree/mule-attiny. To flash ATtiny microcontroller, please follow the steps below. 1. Setup tool dependencies according to README.md 2.
11 Phosh graphical shell Phosh is a graphical user interface designed for touch-based devices. It is based on the GTK widget toolkit, and derives from the GNOME Shell as a mobile-specific fork. Phosh is used as a default graphical user interface in the reference images for the Haikou-Video-Demo.
Thermal control FAN control Note: The RINGNECK SOM-PX30-uQ7 module is available in different variants. This document describes the maximum configuration. For details about orderable variants please refer to the order-code document. Note: Not all interfaces are available at the same time as they might conflict with others. E.g. it is not possible to have LVDS channels and MIPI-DSI at the same time.
12.2 Q7 Connector Pinout The following table shows the signals on the edge connector of the RINGNECK SOM-PX30-uQ7 module. Empty cells are not connected (NC) pins. Signal Signal GBE_LINK# GBE_LINK1000# GBE_MDI1- GBE_MDIO0- GBE_MDI1+ GBE_MDIO0+ GBE_LINK# GBE_ACT# GBE_CTRFF SUS_S5# WAKE# SUS_S3#...
Page 48
12.3.4 I2C Q7 Signal Type Signal Description Level Q7_I2C_CLK 3.3V I2C bus clock line connected to PX30 Q7_I2C_DAT 3.3V I2C bus data line connected to PX30 LVDS_DID_CLK 3.3V I2C bus clock line connected to PX30, Secure Element, STM32, /GP2_I2C_CLK Attiny and Video connector LVDS_DID_DAT 3.3V I2C bus data line connected to PX30, Secure Element, STM32,...
Page 50
12.3.10 UART UART0, as specified in the Q7 standard, is implemented including hardware flow control. This UART shows up in Linux as /dev/ttyS0. Q7 Signal Type Signal Description Level UART0_TX 3.3V Serial data transmit UART0_RX 3.3V Serial data receive UART0_CTS# 3.3V Handshake signal: ready to send data UART0_RTS#...
Fig. 12.1: WiFi and Bluetooth module The WiFi and Bluetooth are part of the ESP32 PICO MINI 02U module on the RINGNECK SOM-PX30-uQ7 board. The antenna connector on the module is w.FL type. The firmware running on the ESP32 is flashed in its internal memory and unlike most wireless modules, does not require files to be present in the root filesystem.
Page 53
ESP32 signal CPU Pin Linux GPIO # WiFi_RST GPIO2_B0 WiFi_BOOT GPIO0_A1 12.5.1 Test points RINGNECK SOM-PX30-uQ7 v1.2 Test point Connected to VCC_3V3 VDD_LOG VDD_ARM VCC_DDR VCC_3V0_1V8 VCC_1V8 VCC_1V0 VCCIO_SD TP10 VCC_LCD TP11 1V8_LCD TP12 VCCA_1V8 TP13 VCC_eMMC TP14 PMIC_INT TP15...
12.6 USB The RINGNECK SOM-PX30-uQ7 CPU has 2 USB 2.0 controllers. A USB 2.0 hub provides two additional USB 2.0 ports for a total of four. The routing of Qseven signals to CPU and/or hub port is shown below. Qseven Port #...
12.8 Electrical Specification 12.8.1 Power Supply The power supply requirements are listed in the table below and are identical to the Qseven specification. Rail Description Nominal voltage Tolerance Main power supply 4.75 … 5.25V VCC_RTC Backup battery 2.4 … 3.3V v1.3.1 Page 52...
Rename files for consistency between products Replace dd flashing instructions with bmaptool Update pip instructions for Bookworm Add yocto directory creation Update kas container instructions Rephrase layer version requirement Bump yocto layer and kas versions Switch to Cherry Corporate Identity v1.3.1 Page 54...