Build OP-TEE, U-boot and Linux for RK3229 based devices
This documentation details my experiences with building and installing mainline versions of OP-TEE, U-Boot and Linux for systems based on Rockchip's RK3229. The primary focus of my efforts has been, and remains, on the Mecer Xtreme Mini S6, but some minor testing has been performed with a few boards sold under the MXQ brand due to reader request.
If you decide to use any of the information presented here - think for yourself and acknowledge that you, alone, take full responsibility for your own actions.
This approach does not rely on any software that was shipped by the vendor.
Installation to onboard flash on devices that feature NAND instead of an eMMC will not work, as neither mainline U-Boot nor mainline Linux have support for the Rockchip NAND controller. For such devices, follow the installation procedure for SD/MMC instead.
This approach uses the bootloader and Rockchip partitioning scheme shipped by the vendor. I do not pursue this approach since enjoying success via Full Installation.
This will not work for devices that have onboard NAND flash instead of an eMMC, as mainline Linux does not have a driver for the Rockchip NAND controller.
Procedure | Status | Remarks |
---|---|---|
U-Boot + Linux Installation (eMMC) | OK | - |
U-Boot + Linux Installation (SD/MMC) | OK | - |
Onboard Flash Partition Replacement | OK | Unresponsive after 30 minutes |
Procedure | Status | Remarks |
---|---|---|
U-Boot + Linux Installation (eMMC) | Not Applicable | Device does not have an eMMC |
U-Boot + Linux Installation (SD/MMC) | OK | - |
Onboard Flash Partition Replacement | Pending | No kernel driver for Rockchip NAND controller |
Thank you to the following people for their assistance in making this process possible.