Building image for Radxa Rock 4 SE by editing uboot_helper?

  • Trying to build my own image for this board (Rock 4 SE) but unsure what the correct procedure is. There is a .dts available for the board, .dtsi for the SoC (RK3399-T, which just seems to be a downclocked RK3399) and uboot defconfig available.

    Can I just add the following to uboot_helper :

    Code
    	'rock-4se': {
           'dtb': 'rk3399-rock-4se.dtb',
           'config': 'rock-4se-rk3399_defconfig'
         },   

    And then build using the command PROJECT=Rockchip ARCH=arm DEVICE=RK3399 UBOOT_SYSTEM=rock-4se make image ? Or do I have to create a patch manually? I'm not at all familiar with that process, so would really appreciate some pointers in that case. Having a hard time finding a good step-by-step tutorial.

  • Can I just add the following to uboot_helper

    Yes, correct.

    And then build using the command PROJECT=Rockchip ARCH=arm DEVICE=RK3399 UBOOT_SYSTEM=rock-4se make image ?

    Yes, correct, except for "ARCH=arm" because with LE12/LE13 sources you should be using "ARCH=aarch64" now.

    Hopefully upstream devs have already done whatever u-boot juju is needed to get a working image. Good luck :)