Adding support for the Rockpi-S

Do you think the Rock Pi S0 work with your rk3308 stuff here? They seem to share some roots.

It is a Zero board with low power 64bit CPU and 100Mb ethernet. 40 Pin header. Has useless wifi. Seems what I was looking for.
eMMC option for cheap.

 
Looking at my latest u-boot tree there is support for Rock-Pi-S and Rock S0

/usr/ports/sysutils/u-boot-rock-3a/work/u-boot-2024.10-rc4/configs/rock-pi-s-rk3308_defconfig
/usr/ports/sysutils/u-boot-rock-3a/work/u-boot-2024.10-rc4/configs/rock-s0-rk3308_defconfig

So these have a chance of building on FreeBSD.
/u-boot-2024.10-rc4/dts/upstream/src/arm64/rockchip/rk3308-rock-pi-s.dts
/u-boot-2024.10-rc4/dts/upstream/src/arm64/rockchip/rk3308-rock-s0.dts

What about this file found in the build:
/usr/ports/sysutils/u-boot-rock-3a/work/u-boot-2024.10-rc4/drivers/clk/rockchip/clk_rk3308.c
Does a u-boot clock driver also need a FreeBSD driver to work?
I am not sure I understand the driver process here at all.
 
most kernel devices need an os clock driver to work. if the dts entry has a clocks line it wants to enable that clocks and
the driver wont attach if it fails
in theory it can work if that clock is enabled by u-boot and has the correct frequency but the freebsd driver still has to be patched to ignore the
missing clock error
 
Back
Top