RK3399-Q7 User Manual
Total Page:16
File Type:pdf, Size:1020Kb
USER MANUAL RK3399-Q7 System-on-Module Hexa-Core ARM Cortex-A72/A53 featuring the Rockchip RK3399 application processor Document revision: Release vs.ü Issue date: Apr ss, ó+sÌ Contents Ô Introduction Ô Ô.Ô Device Overview....................................................Ô ò First Steps ò ò.Ô Required Tools.....................................................ò ò.ò Insert the Module....................................................ò ò.ç Mount the Heatsink..................................................ç ò.¥ Mount the Fan (optional)...............................................¥ ò. Power Up......................................................... ç Using the EVK Þ ç.Ô Evaluation Board Overview..............................................Þ ç.ò Power Supply......................................................À ç.ç Control Buttons and Switches.............................................À ç.¥ CPU Fan......................................................... Ôþ ç. Boot Order........................................................ Ôþ ç.â USB Serial Console...................................................ÔÔ ç.Þ RS-òçò and RS-¥ ................................................... Ôò ç. TTL UART........................................................ Ôç ç.À Ethernet......................................................... Ôç ç.Ôþ USB Interfaces...................................................... Ô¥ ç.ÔÔ Video........................................................... Ôâ ç.Ôò RTC............................................................ ÔÀ ç.Ôç SPI, IòC and Ô-Wire................................................... ÔÀ ç.Ô¥ GPIOs.......................................................... òÔ ç.Ô Audio........................................................... òç ç.Ôâ CAN Bus......................................................... ò¥ ç.ÔÞ MISC Connector.................................................... ò ç.Ô RF-Module........................................................ òâ ¥ Soware Guide òÞ ¥.Ô Architecture Overview................................................. òÞ ¥.ò Prerequisites....................................................... òÞ ¥.ç Compile the Cortex-Mþ power management rmware.............................. ò ¥.¥ Compile the ATF.................................................... òÀ RKææOO-Q User Manual Release vs.ü © Theobroma Systems Design und Consulting GmbH Page i ¥. Compile U-Boot.................................................... òÀ ¥.â Compile the Boot Script................................................ çþ ¥.Þ Compile the Linux Kernel............................................... çÔ ¥. Building the root lesystem.............................................. çÔ ¥.À Deploy on SD Card................................................... çç ¥.Ôþ Deploy on SPI NOR-ash............................................... çâ ¥.ÔÔ Deploy on On-Board eMMC storage......................................... çÞ ¥.Ôò Compiling Linux Applications............................................ çÞ ¥.Ôç Serial Number...................................................... çÞ ¥.Ô¥ MAC Address...................................................... ç Hardware Guide çÀ .Ô Qseven Implementation................................................ çÀ .ò QÞ Connector Pinout.................................................. ¥Ô .ç Signal Details...................................................... ¥¥ .¥ On-board Devices................................................... Ô . USB............................................................ ¥ .â Using Qseven Signals as GPIO............................................ â .Þ Electrical Specication................................................. . Mechanical Specication................................................ À â Revision History âþ Release vs.ü Page ii s Introduction Congratulations for acquiring our new agship product, combining best-in-class performance with a rich set of peripherals. Note: e latest version of this manual and related resources can always be found on our website at the following address: https://www.theobroma-systems.com/rkççÀÀ-qÞ/ s.s Device Overview e RKççÀÀ is a low power, high performance processor for computing, personal mobile internet devices and other smart device applications. Based on a big.LITTLE architecture, it integrates a dual-core Cortex-AÞò and a quad-core Cortex-A ç. ese â¥bit-capable ARMv processors support both the ARM Crypographic Extension (e.g. for wire-rate AES encryption) and AdvSIMD vector processing. A dual-channel memory interface sustains the memory bandwidths required by even the most demanding embedded applications. RKææOO-Q User Manual Release vs.ü © Theobroma Systems Design und Consulting GmbH Page s ó First Steps is chapter provides instructions for getting the RKççÀÀ-QÞ EVK running aer opening the box. ó.sR equired Tools • PZÔ (Pozidriv) screwdriver ó.ó Insert the Module Insert the RKççÀÀ-QÞ module at a çþ-degree angle into the connector in the base board. Once fully inserted , push it down until it rests on the standos and check alignment of the mounting holes. Note: e module springs back into the çþ-degree angle once released. is is expected, and alignment will be kept. e module will be secured into place together with the heatsink. 30° Fig. Ô: Module mounting Release vs.ü Page ó ó.æ Mount the Heatsink e heatsink has the thermal pad attached on the bottom. Peel o the red protective foil. Fig. ò: ermal pad protective foil Push the module down at and place the heatsink spacer on the module with the smooth side facing up. Make sure the orientation is correct by checking alignment of the mounting holes. Place the heatsink on the spacer and screw it down gently using the four included Mò. screws. RKææOO-Q User Manual Release vs.ü © Theobroma Systems Design und Consulting GmbH Page æ Fig. ç: Heatsink mounting ó.ü Mount the Fan (optional) e fan is only necessary in exceptionally high ambient temperatures. Under normal conditions, the RKççÀÀ-QÞ operates passively cooled. Place the fan on the heatsink and clip it into place using the provided holder. Connect the cable to the header labeled FAN on the baseboard. Release vs.ü Page ü ó.ð Power Up e EVK modules comes preloaded with soware that boots into a full desktop environment on the HDMI output. For bootloader conguration and Linux console the serial interface can be used. Connect either a Micro-USB or RS-òçò cable to the corresponding port. Select the correct UART with UART selector slider (Ô). For Micro-USB the slider has to be in the right position to route the default console UARTþ to the USB UART bridge. For RS-òçò the slider has to be in the le position and the protocol slider (ò) has to be in the RS-òçò position. Connect the power supply and verify the sliders are in the position Normal Boot (¥) and Normally Off ( ). Press the Power Button (â) to power the board. You will see the boot progress and later on a login prompt on the serial interface. If a HDMI display is connected video output will follow shortly aer. RKææOO-Q User Manual Release vs.ü © Theobroma Systems Design und Consulting GmbH Page ð HDMI USB UART Power RS232 2 1 6 4 5 Release vs.ü Page Ì æ Using the EVK is chapter provides instructions for using the EVK, such as booting and how to congure and use I/O peripherals (e.g. serial console, Ethernet). æ.s Evaluation Board Overview An overview of the available connectors and devices on the EVK is shown below. RKææOO-Q User Manual Release vs.ü © Theobroma Systems Design und Consulting GmbH Page  +12V Power 2x USB 3.0 USB UART Ethernet USB OTG USB 2.0 Audio RS 232 HDMI PCIe x4 Display Connector Display Buzzer Battery I2S FAN CTRL I/O SMBus CAN Misc I/O GPIO SPI+I2C+1-wire JTAG SD-Card Slot Power Mode Power Batlow Sleep Wake Reset Power LID SW SW BOOT Fig. Ô: e base board for to RKççÀÀ-QÞ module. Release vs.ü Page Ì æ.ó Power Supply e baseboard can operate with a single ÔòV DC power supply. Fig. ò: ÔòV Power connector Power can be controlled manually from the board using the Power control buttons and switches, located on the lower right side of the board (see ç.Ô Evaluation Board Overview). Depending on the setting of Normally On / Normally Off switch the board will boot as soon as it receives power. æ.æ Control Buttons and Switches e control buttons provide the following functionality: • Power toggles the module power supply • Reset triggers a module reset • Batlow, Sleep and Wake are routed to GPIOs on the QÞ module Several slide switches are located on the lower le: • LID is routed to a GPIO on the module, simulates lid open/close. • Normally On / Normally Off, as described above, sets the state aer power loss. • BIOS Disable / Normal Boot forces SD card boot or the normal boot order, respectively. RKææOO-Q User Manual Release vs.ü © Theobroma Systems Design und Consulting GmbH Page O æ.üC PU Fan Operation in high environmental temperatures may require a CPU fan. e fan connector is located next to the bottom right corner of the QÞ expansion area (see board overview). FAN_PWMOUT FAN_TACHON GND +12V . Fig. ç: Fan connector Note: e fan is only necessary in high ambient temperatures. Under normal conditions, the RKççÀÀ-QÞ operates passively cooled. æ.ðB oot Order e used boot order of the RKççÀÀ-QÞ module depends on the value of the BIOS_DISABLE# signal. On the Haikou base- board, this signal can be set using a slider switch, with the two positions labeled Normal Boot, and BIOS Disable. As shown in the table below, the BIOS Disable position disables both on-module storage