schneid-l / u-boot-orangepi5

U-Boot builds for Orange Pi 5 (and variants)
GNU General Public License v2.0
21 stars 3 forks source link

Orange Pi 5 Pro? #3

Open ryanpeach opened 3 months ago

ryanpeach commented 3 months ago

Will this work on the Orange Pi 5 Pro?

schneid-l commented 3 months ago

I don't think, U-Boot does not provides configuration for OPI5 Pro for now, so it's not built in this repo

petabyt commented 2 months ago

Latest u-boot master compiles for Orange Pi 5 Pro, here's a bare bootable image: https://s1.danielc.dev/filedump/output.img

ATF:

CROSS_COMPILE=/home/daniel/gcc-arm-aarch64/bin/aarch64-none-elf- make PLAT=rk3588
make orangepi-5-rk3588s_defconfig
CROSS_COMPILE=/home/daniel/gcc-arm-aarch64/bin/aarch64-none-elf- make PLAT=rk3588 BL31=/home/daniel/Documents/arm-trusted-firmware/build/rk3588/release/bl31/bl31.elf ROCKCHIP_TPL=rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin
./tools/mkimage -n rk3588 -T rkspi -d rk3588_ddr_lp4_2112MHz_lp5_2400MHz_v1.16.bin:spl/u-boot-spl.bin idbloader_spi.img

dd if=idbloader.img of=output.img seek=64 conv=fsync
dd if=u-boot.itb of=output.img seek=16384 conv=fsync