RK3036 Kylin Board Hardware Manual V0.1
Content 1 Introduction 1.1 Kylin at first glance 1.2 Boot to console 1.3 Key features 1.4 Block diagram 2 Key parts in details 2.1 Processor 2.2 Memory 2.3 Storage 2.4 Power input and PMIC 2.4.1 Select Adapter Note 2.4.2 PMIC 3 Buttons and system modes 3.1 Maskrom Mode 3.2 Fastboot Mode 3.3 Recovery Mode 3.4 Download image over OTG port 4 Expandsions 4.1 Switches 4.2 Connector CN2 4.3 Connector CN4 Fuzhou Rockchip Electronics Co., Ltd. 2
1 Introduction The Kylin board powerd by Rockchip RK3036 G SoC is desgined for Google Brillo platform. 1.1 Kylin at first glance Kylin board offers plenty key features that IOT required, including USB(host and devices), HDMI, audio(headphone and micphone), wireless, BT, ethernet, SD card, expansion connector and etc. Figure 1 shows the main interfaces on Kylin board. Figure 1. Interfaces Of Kylin Board 1.2 Boot to console The default OS Kylin board flashed is Google Brillo, to boot it up, you can follow these simplest steps: Fuzhou Rockchip Electronics Co., Ltd. 3
step 1. step 2. step 3. Connect DEBUG port on Kylin and your host via micro USB. (Ubuntu) Open serial console through ttyusb* by minicom/cu. Please note that the bps rate is 115200. Connect power supply to POWER port. You should see the Brillo console soon. 1.3 Key features The following table lists Kylin s key features: Processor Memory Storage Power/PMIC Buttons USB Rockchip RK3036 G Dual core Cortex A7 up to 1.2GHz GPU compatible with OpenGL ES1.1 and 2.0, OpenVG1.1 DDR3, 1 * 256M * 16bit 8GB emmc External SD card Power: 5V(1.5A~2A) PMIC: RK808 B Four buttons on board: Reset Recovery Maskrom Fastboot One stander A plug: USB host 2.0 Three micro USB plugs: USB OTG 2.0, uses as USB device Debug, uses as serial debug port Power, uses as power supply HDMI HDMI version 1.4a Supports DTV from 480i to 1080i/p HD resolution Supports data rate from 25MHz, 1.65bps up to 3.4Gbps over a Single channel Audio Integrated with RealTek ALC5616 codec Exteral Micphone Headphone Fuzhou Rockchip Electronics Co., Ltd. 4
Ethernet Wireless Bluetooth Switches Expansions One RJ45 Ethernet that supports: IEEE802.3u compliant Support only RMII(Reduced MII) mode 10Mbps and 100Mbps compatible Integrated with AP6212 module, which is a solution for a combination of WiFi + BT: Complies with IEEE 802.11 b/g/n Bluetooth V4.0(HS) with integrated Class 1.5 PA and Low Energy (BLE) support On board BT and WLAN antenna Five Switches(Jumper) S2, S3, S4,S5, S7 Switch function between Connectors and on board functions Two Connectors that expands functions like: GPIO I2C I2S Power, VCCIO/VCC5V/GND PWM SPI SPDIF UART VOUT[1 5] controlled by PMIC Besides on board functions, expansion connectors allow developer to design works flexibly. 1.4 Block diagram Figure 2 shows interconnection of system block. Fuzhou Rockchip Electronics Co., Ltd. 5
Figure 2. System Block Diagram 2 Key parts in details 2.1 Processor RK3036 is a processor solution for IOT/OTT, and other digital multimedia applications, and integrates dual core Cortex A7, with separate NEON coprocessor and 128KB L2 Cache. RK3036 supports almost full format 1080P H.264 decoder and H.265 decoder, JPEG decoder and special image preprocessor and postprocessor. Embedded 3D GPU makes RK3036 completely compatible with OpenGL ES1.1 and 2.0, OpenVG1.1 etc. 2.2 Memory The DDR of Kylin is 512MB running at fix frequecy. Fuzhou Rockchip Electronics Co., Ltd. 6
2.3 Storage RK3036 supports system boot from the following devices: 8bits Asynchronous Nand Flash SPI Nand Flash SPI Nor Flash emmc card SD card Kylin board comes with emmc and SD card. Normally emmc bus width can be 8 bit that borrow 4 pins from SPI. SD card is similar in IO mux to emmc, that shares 2 pins with UART2. So please note that: If SPI is enabled, emmc only supports 4 bit bus width SD card and UART2 can not activate simultaneously 2.4 Power input and PMIC 2.4.1 Select Adapter Note If 5V power supply solution is used, the output voltage of adapter is suggested to be 5.1V 5.2V with 1.5A current capability at least. If USB peripheral with heavy load need to be supported, it is suggested to use adapter with more than 2A current capability. 2.4.2 PMIC System uses PMIC RK808 B as power supply, redundant LDOs can be lead to connectors to provide power for peripheral devices. The RK808 is a complete power supply solution for Portable systems. The highly integrated device includes four buck DC DC converters, eight high performance ldos, two low Rds switches, I2C interface, programmable power sequencing and an RTC. 3 Buttons and system modes There four buttons design for entering different system modes and resetting system. Fuzhou Rockchip Electronics Co., Ltd. 7
RESET button can reset system while the others are using for Maskrom Mode, Fastboot Mode and Recovery Mode. 3.1 Maskrom Mode Maskrom mode(a.k.a. DFU mode) is used to flash boot loader to Boot Media which can be emmc, SPI, Nand, SD card. When SoC booting up, the Boot Rom will read Boot Loader(Firmware) from Boot Media and automatically go to Maskrom Mode if it can not read anything from Boot Media or Boot Loader corrupted. The Maskrom button in hardware design just short the clock of Boot Media to ground. Thus Boot Rom would fail to read Boot Loader. There are three steps to enter Maskrom Mode with Maskrom Button: step 1. Long press Maskrom Button step 2. Toggle Reset Button step 3. Release Maskrom Button after ~3 seconds 3.2 Fastboot Mode Fastboot is a protocol that can be used to re flash partitions on your device. It is a small tool that comes with the Android SDK (Software Developer Kit), which is an alternative to the Recovery Mode for doing installations and updates. Using the Fastboot Button is a way to enter Fastboot Mode for image flashing. Follow these three steps: step 1. Long press Fastboot Button step 2. Toggle Reset Button step 3. Release Fastboot Button after ~3 seconds 3.3 Recovery Mode The same as Maskrom and Fastboot Button, Recovery Button is for Recovery Mode: step 1. Long press Recovery Button step 2. Toggle Reset Button step 3. Release Recovery Button after ~3 seconds Fuzhou Rockchip Electronics Co., Ltd. 8
3.4 Download image over OTG port USB OTG port can be a port for image download in Fastboot Mode or Maskrom Mode. 4 Expandsions For function extension, there are two connectors(cn2 and CN4) and five switches(or jumpers), S2/S3/S4/S5/S7, on Kylin Board. Fuzhou Rockchip Electronics Co., Ltd. 9
Figure 3. CN2 Connector Fuzhou Rockchip Electronics Co., Ltd. 10
Figure 3. CN3 Connector As shown in Figure 3 and Figure 4 above, CN2 and CN4 extend SPI/UART/I2C/I2S/GPIO/SPDIF/PWM functions. VOUT[1 5] controlled by PMIC which output V/A from 0.8~3.4V/150 300mA. Fuzhou Rockchip Electronics Co., Ltd. 11
Note that some pins are controlled by switches, some are not and always enabled. Switches only enable pins of connectors, which means they do not cut off any on board connection. For example, S3 switch can enable the 11/13/15/17/19/21 pins of CN4 acted as I2S pins by connecting to SoC RK3036 I2S that shared with on board codec(rt5616). So you have to disabled RT5616 first before debugging external codec. 4.1 Switches The details of switches and on board functions: S2 controls pins of CN2 conflict on board HDMI S4 controls pins of CN2 conflict on board SDMMC0 S5 controls pins of CN2 S3 controls pins of CN4 conflict on board Codec/RT5616 S7 controls pins of CN4, selecting on board UART_BT when S7 is on, CN4 UART when S7 is off Please refer to Kylin Board schematics looking inside for the details of function conflict about Switches. 4.2 Connector CN2 GPIO GPIO1_* enabled when switch S2 and/or S4 is on, GPIO2_A3 always enalbed. SPDIF always enabled. SPI enabled when S5 is on. Multiplexing of PWM/I2C as RK3036 designed, and selected by pinctrl sub system. 4.3 Connector CN4 I2S enabled when S3 is on. On board UART_BT enabled when S3 is on, UART on CN4 enabled when S3 is off. Fuzhou Rockchip Electronics Co., Ltd. 12
VOUT is always enabled. Fuzhou Rockchip Electronics Co., Ltd. 13