Hello all,
I’m just wondering if anyone has gotten FreeBSD to run on a rockchip 3568 yet?
I’ve got a rock 3a and am working my way through documentation for the SOC and for some tools to port the OS too ARM based boards, But a lot of it references armv7 based boards or earlier ones that are 32 bit.
If anyone has any good documentation they could point me too it would be much appreciated.
Modify existing drivers to support ACPI mode.
At the moment there is already UEFI for Firefly Station-M2(RK3566)/P2(RK3568), RADXA CM3.
On all boards, the system boots in multi-user mode. The dwmmc and dwc v4(eqos) drivers have been tweaked, USB works in 2.0 mode.
Most of the equipment was revived on Firefly Station-M2 (this is how NVMe works on PCie).
Here an attempt was made to add EDK2 UEFI support for RADXA Rock3a. https://github.com/strongtz/quartz64_uefi
If you have any ideas write to me.
@SleepWalker
I downloaded the repo and let the make file do it’s thing, but I don’t have a serial adapter for my board so I’ll have to look around for one or make one.
EDIT:
I got errors after running make sdcard in the cloned repo’s directory. Looks like it’s complaining about invalid line types in a makefile under /edk2/basetools/makefile for lines 17, 18, 22, 23, 27, 28, 32, 33
I’m just guessing but could it be an issue I’m using make instead of gmake/gnu make on my BSD machine?
I’ll try it on one of my linux boxes and report back.
Retired it with gmake on my linux box. It failed on brotlicompress with errors about the decode file.
Looks like the header shows it as a uint_8 array and the C file has a function that takes it as an argument except it’s a pointer which causes a error.
I’m 90% sure that HDMI will work.
It remains to select those USB ports that will be active for connecting a USB keyboard and USD disk.
This weekend I can prepare a FreeBSD Boot Image for Rock3A.
Let me know if you are interested and ready to test.
It’s better to use Linux for UEFI build.
I completely reworked the UEFI source code…
Sorry for the late reply, had some other things I’m working on.
Anyway, long story short I couldn’t get it to boot or the HDMI to work. I didn’t even sees anything over the Serial connection. I’ll see if I can get another micro SD to try, I might also try to write the img file with a different utility instead of dd.
In the latest build of EDK2 UEFI for Rock3A
Serial/HDMI/USB/Ethernet work.
Tested on VMware ESXi/Fedora/FreeBSD/NetBSD
The source code can be viewed here