Re: RK3588 optee question
"Sascha Hauer" <[email protected]>
| Newsgroups | org.infradead.lists.barebox |
|---|---|
| Message-ID | <20260813064155.TaLuwgpeK6L0RQyT2kUY1bcP9b56R7SHE2RYtABI6cg@z> |
On 2026-08-12 17:44, Alexander Shiyan wrote: > Hello Sascha. > > After enabling CONFIG_ARCH_ROCKCHIP_ATF_PASS_FDT=y the following build > errors occur: > > CC [P] arch/arm/mach-rockchip/rk3588.pbl.o > In file included from include/linux/array_size.h:6, > from include/linux/kernel.h:6, > from /home/ARM64/barebox/arch/arm/include/asm/barebox-arm.h:17, > from include/mach/rockchip/bootrom.h:9, > from arch/arm/mach-rockchip/bootrom.c:2: > include/linux/build_bug.h:100:41: error: static assertion failed: > "sizeof(structrockchip_scratch_space) <= CONFIG_SCRATCH_SIZE" Set CONFIG_SCRATCH_SIZE=0x100000 Seems we have to look into it to get a sane default. Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |