Sunday 12 December 2021

ROCK PI 4 Model A+

 Rockpi 4A+ is a RK3399 based board from Radxa . Its a Dual Cortex-A72 (up to 2.0Ghz) plus quad Cortex-A53 (up to 1.5Ghz) processor with 4GB, 64bit dual channel LPDDR4@3200Mb/s with 4MB SPI flash & 32GB emmc onboard.  

The first test image to try on this board (to verify the hardware is working) is Armbian . The board works pretty well with Ubuntu server + Budgie desktop . 

Bootstrapping

The RK3399 has a fixed boot sequence, which is very sensible (unlike IMX6/8 where fuses determine the boot device). It searches SPI NOR > emmc > uSD for a boot record header. If neither of the devices contain a boot block, the device switches to is a vendor specific USB class from Rockchip to download firmware. This USB device has Vendor ID 0x2207 and Product ID 0x330c.

The OTG port is the top usb3 port and the switch should be toward the eth port. Use standard usb A-A cable.

The tool to use is rkdeveloptool . The RK3399  has 32KB BootRom and 200KB internal SRAM.  In order to enable the DRAM, use  rk3399_loader from Radxa 

usage :

following writes a GPT OS image direct to emmc 

rkdeveloptool db rk3399_loader_v1.20.119.bin 
rkdeveloptool wl 0x0  \ Armbian_21.08.1_Rockpi4b_bullseye_current_5.10.60.img
rkdeveloptool rd



No comments:

Post a Comment