UEFI / EDK2 on the Rock 5B

Do you mean starting the system with M2\SSD using EDK2 (EDK2-EFI is placed on the SD card)?

Oh sure.

UEFI can be written to both eMMC and SPI FLASH I think.

The current PCIe driver in UEFI does not work correctly at all.

For example, I draw four NVMe from me, although I actually have one. All this is very strange.
If you add PCIe2 support then UEFI can add support for 2.5GbE Ethernet via the driver provided by REALTEK UEFI UNDI Driver for RTL8125

https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software

This may look very good on Rock 5B.

Hi @RadxaYuntian.

The Chinese New Year is already approaching.
Maybe Rockchip will give us a gift and add HDMI support to EUFI.
When can we expect good news?

I was working on another product lately. While I didn’t hear anything from Rockchip tight now, I’m expecting to start working on 5B after CNY. I’ll then collect the community feedback and try submitting them to Rockchip.

2 Likes

Do you know if HDMI support is in progress right now, or if Rockchip hasn’t yet started working on it?

Can you please reupload these files to a site other than Yandex? Given the current geopolitical situation, many of us probably won’t trust Yandex to host firmware images.

1 Like

They said they are working on it a while back. I’ll follow up on it with the community feedback.

Just provide checksum out-of-band or sign the files. There is no secure channel so we gotta learn to live with insecure channel.

1 Like

https://users.armbian.com/balbes150/edk2/

For details and updates, see this topic.

1 Like

Each image has a sha checksum
I think the question was about access to certain resources on the network (geography)

1 Like

Would DP + USB3 over USB-C also work with UEFI?

Maybe running Windows on Rock5B,
to encourage Rockchip to be more active in Tianocore EDK2?

@SleepWalker could you be so kind as to re-upload your freebsd image, the url currently 404’s.

Also, is anyone aware of any progress with HDMI?

Windows / UEFI on Rock 5 (Mega thread) this thread seems to suggest it’s working for windows??

@mkthngswrk, HDMI works, for Rock 3A and Rock 5B.
Bootable FreeBSD SD card image for Radxa-E25
FreeBSD-aarch64-14.0-CURRENT-Radxa-E25-20230511.img.xz

2 Likes

Thanks @SleepWalker tried this image on my 5B didn’t seem to boot. Do I need to do something to the image?

@mkthngswrk

This is an SD card image for Radxa E25.
You can burn it to an SD card and run it on the E25.

It can also be used to test FreeBSD on other devices on the RK356x,
but then it needs to be written to a USB flash and your device’s UEFI to an SD card or EMMc.

At the same time, the FDT mode is used on the E25, and when testing on other devices,
I recommend using the ACPI mode.

FreeBSD does not currently support RK3588, so
You need UEFI for Radxa Rock-5B.

Thanks, using that image and this https://github.com/edk2-porting/edk2-rk35xx/releases/tag/v0.6 on the Rock 5B I managed to get it to boot with HDMI console. Currently stuck in a loop of

error resolving pool 0.freebsd.pool.ntp.org: Name does not resolve (8)

I guess I just need to disable ntpd for now since there is no ethernet.

Ok, Nice :joy:

If pcie20 worked correctly in UEFI,
then the system would detect pcie RTL8125 on the bus,
and we would have a working Ethernet.

3 Likes

Urgent: Radxa Rock 5 ITX, USB stops working after grub

  1. UEFI EDK 2 , USB functional, keyboard and mouse functional
  2. Grub, USB keyboard functional
  3. firmware bye-bye, linux kernel loads, USB goes down!
    3a. All USB ports and connectors go down!
    3b. USB keyboard/mouse not functional!
    3c. USB flash drive no longer detected!
    3d. USB ssd/hdd, which was detected during boot from file at UEFI, no longer detected!
  4. Cannot install an OS. Cannot boot an already installed generic OS from external ssd, because it is no longer operational after grub. All the USB ports stop working after we select the boot target from grub and linux kernel starts loading and UEFI goes away! Even keyboard and mouse stop!

Both Radxa Rock 5 ITX and Rock 5B+ have the same issue!

Had big plans to switch to ARM64 ecosystem. All of them halted!

Please help!

Rock 5 ITX (not plus, the plain one only) and Rock 5B+.

Ciao!

Do not make plans to migrate to arm64 when you need urgent support as arm64 is still under Development for ages.

Good luck with what you plan to do with it.