EDK2 UEFI firmware

Hi there,
I’m interested in building UEFI on Rock 5 to try to install Fedora on this SBC.
Is https://github.com/edk2-porting/edk2-rk35xx the correct jumping page?
I want like to compile it on my Armbian, so I have to find out all the equired packages: git base-devel gcc dtc aarch64-linux-gnu-binutils aarch64-linux-gnu-gcc aarch64-linux-gnu-glibc python python-pyelftools iasl

Any tipps or howto?

Greetings
Andreas

Building on a Rock 5 itself is only possible with the very latest code, due to a dependency on a Rockchip-provided binary in prior versions, which is only available for x86-64.

Yo will need to get the u-boot sources first, and build at least the tools. Grab mkimage from the tools directory, replace the one in misc/rkbin/tools with the newly built one (as the one in rkbin is for x86), then build with IDBLOCK_BUILDTOOL=“mkimage” in your environment.

1 Like