Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD on Orange Pi 5 (also Re: NetBSD on Rock 5B)



The Raxda Rock 5B is similar to the Orange Pi 5, so I tested the image here:

http://mail-index.netbsd.org/port-arm/2023/05/19/msg008257.html

It boots!

Quite surprising that it does. I guess the two boards are really quite similar, on the other hand, the DeviceTree currently does not contain that much board-specific info.

https://dmesgd.nycbug.org/index.cgi?do=view&id=7151

Serial console, SD card and two of the USB ports work (as USB-2). I haven't tried GPIO or eMMC.

Thanks for testing and the feedback!

This is a good start! Not knowing how the sourcehut site works, I'm curious how many files need to be modified for this.

There are currently 21 (mostly self-contained) commits, which you can view here: https://git.sr.ht/~cypheon/NetBSD/log

The current diffstat looks like this (src/sys subdir, so ignoring the big but boring DTS import):
 arch/arm/dts/rk3588-rock-5b.dts     |   39 +
 arch/arm/rockchip/files.rockchip    |    5 +
 arch/arm/rockchip/rk3588_cru.c      |  105 +
 arch/arm/rockchip/rk3588_cru.h      | 2104 ++--
 arch/arm/rockchip/rk_cru.c          |   17 +-
 arch/arm/rockchip/rk_cru.h          |    3 +
 arch/arm/rockchip/rk_dwcmshc_sdhc.c |  421 +
 arch/arm/rockchip/rk_gpio.c         |  150 +-
 arch/arm/rockchip/rk_usb.c          |   75 +
 arch/arm/scmi/files.scmi            |   11 +
 arch/arm/scmi/scmi.c                |  107 +
 arch/arm/scmi/scmi.h                |   53 +
 arch/arm/scmi/scmi_clk.c            |  307 +
 arch/arm/scmi/scmi_shmem.c          |  140 +
 arch/evbarm/conf/GENERIC64          |    9 +
 arch/evbarm/conf/ROCK5B             |   23 +
 arch/evbarm/conf/files.evbarm       |    1 +
 dev/fdt/dwcmmc_fdt.c                |   10 +-
 dev/fdt/ehci_fdt.c                  |    3 +
 dev/fdt/fdtbus.c                    |    2 +
 dev/fdt/files.fdt                   |    4 +
 dev/fdt/mmiosram.c                  |   80 +
 dev/fdt/mmiosram.h                  |    9 +
 dev/fdt/ohci_fdt.c                  |   45 +
 dev/ic/dwc_mmc.c                    |    2 +
 dev/sdmmc/sdhc.c                    |   24 +-
 dev/sdmmc/sdhcvar.h                 |    1 +
 dev/sdmmc/sdmmc_mem.c               |    5 +

I'm looking forward to testing this more :)

Please do :)

Thanks and best regards
Johann


Home | Main Index | Thread Index | Old Index