This README file contains information on the contents of the meta-rock5b-hacks layer. The layer targets the Radxa Rock5b board.
Note: The Radxa meta-rockchip layer has support for the Rock5b as well. In contrast to the Radxa layer, this layer only depends on the meta-rockchip layer maintained by git.yoctoproject.org
(see also Dependencies
).
This layer depends on:
- branch: kirkstone
I. Configure yocto/oe environment
II. Changes for the Rock5b implemented in this layer
III. Booting your device
This layer adds support for the Radxa Rock5b, which is not fully supported by the meta-rockchip layer. To build for this device, use
MACHINE ?= "rock5b"
in your local.conf file.
(I assume here that the Rock5b is equiped with an eMMC)
First, this layer uses the linux-rockchip kernel fork of radxa as well as their u-boot and rkbin forks. Since this version of u-boot seems to be unamble to load fitImage, some modifications are made to get plain Image and .dtb on the boot partition.
Short version of official instructions.
Get the rkdeveloptool. Power the device while pressing the button next to the fan pins. Then
rkdeveloptool ld
rkdeveloptool db latest/rk3588_spl_loader_v1.08.111.bin
rkdeveloptool wl 0 /path/to/image.wic
rkdeveloptool rd