Aw: Re: chainload barebox from uboot

Frank Wunderlich frank-w at public-files.de
Sun Feb 6 01:46:37 PST 2022


Hi,

thanks for your answer.

BOARD_ARM_GENERIC_DT [=y] and BOARD_ARM_GENERIC_DT_AARCH64 [=y] were already set,

so i just copied the

arch/arm/dts/rk3568-bpi-r2-pro.dtb
and the
images/barebox-dt-2nd.img
to my sdcard and could it boot this way (using booti instead of bootm) :)

=> fatload mmc 1:2 ${kernel_addr_r} barebox-dt-2nd.img
reading barebox-dt-2nd.img
403792 bytes read in 38 ms (10.1 MiB/s)
=> fatload mmc 1:2 ${fdt_addr_r} rk3568-bpi-r2-pro.dtb
reading rk3568-bpi-r2-pro.dtb
35602 bytes read in 8 ms (4.2 MiB/s)
=> booti ${kernel_addr_r} - ${fdt_addr_r}

so problem solved ;)

regards Frank


> Gesendet: Sonntag, 06. Februar 2022 um 00:20 Uhr
> Von: "Ahmad Fatoum" <a.fatoum at pengutronix.de>

> You'll want to use the generic DT 2nd image, which in your case would have a Linux
> ARM64 header and be bootable just like a Linux kernel.
> See the documentation patches I cc'd you on.




More information about the barebox mailing list