Radax bsp breaks something while trying to enable Video Configs for rock-4se

I am using Radax bsp sdk to build a custom u-boot by enabling the following settings in bsp/u-boot/latest/fork.conf but it looks like it breaks something and the u-boot image does not build for rock-4se.

CONFIG_DISPLAY=y
CONFIG_VIDEO_ROCKCHIP=y
CONFIG_SPLASH_SCREEN=y

I have commented these highlighted lines to enable display setting in u-boot for rock-4se. But it does not generate u-boot image after commenting these lines:

Also as you can see it is mentioned in fork.conf file that “display is currently corrupted with it”. Can you please help us to fix this? Because we need to enable video driver in u-boot to show logo as soon as rock-4se boots up.

@RadxaYuntian can you pleae look into this?

I have noticed something similar when changing some specific settings, e.g. CONFIG_LOG. It builds correctly but it does not generate final DEB packages.

The display issue was likely caused by the closed source Rockchip rkbin, which we are unable to modify.

What error do you see?

It does not generate u-boot.img files under ./root/lib/u-boot/rock-4se and also it does not generate final DEB packages to be used with rbuild

How to fix this issue then?

@RadxaYuntian here no build and no deb package for rock-4se


here is the build error:
Image ‘simple-bin’ is missing optional external blobs but is still functional: tee-os

/binman/simple-bin/fit/images/@tee-SEQ/tee-os (tee-os):

See the documentation for your board. You may need to build Open Portable

Trusted Execution Environment (OP-TEE) and build with TEE=/path/to/tee.bin

OFCHK .config

make: Leaving directory ‘/home/bilal/Desktop/bsp/.src/u-boot’

Packaging U-Boot with Rockchip Miniloader

Using rkbin rk3399_ddr_800MHz_v1.25.bin as TPL

Image Type: Rockchip RK33 (SD/MMC) boot image

Init Data Size: 131072 bytes

Using rkminiloader rk3399_miniloader_v1.19.bin

Image Type: Rockchip RK33 (SPI) boot image

Init Data Size: 131072 bytes

Boot Data Size: 90112 bytes

/home/bilal/Desktop/bsp/.src/rkbin /home/bilal/Desktop/bsp

The issue appears to be the generated binary is too large. You can add this line to disable SPI flash support which seems to be enough to have image fitting the size limit:

echo "# CONFIG_SPI_FLASH is not set" >> "$SCRIPT_DIR/u-boot/latest/kconfig.conf"

Check the generated U-Boot first. We have updated rkbin and U-Boot since and the situation could be improved. Otherwise you will have to use Rockchip U-Boot, which we are no longer maintaining for Linux.