I've been running -CURRENT on ROCK 3C for the last few days.
Everything seems to be working fine.
1. powerd / freq control is working thanks to
covacat patch - do you plan to upstream that into FreeBSD base?
2. Ethernet speed I get around 400MBit/s
3. NVMe works. My drive is kind of cheap, but
Transfer rates:
outside: 102400 kbytes in 0.496869 sec = 206091 kbytes/sec
middle: 102400 kbytes in 0.349048 sec = 293369 kbytes/sec
inside: 102400 kbytes in 0.347641 sec = 294557 kbytes/sec
Asynchronous random reads:
sectorsize: 55661 ops in 3.007276 sec = 18509 IOPS
4 kbytes: 23177 ops in 3.026735 sec = 7657 IOPS
32 kbytes: 20945 ops in 3.016515 sec = 6943 IOPS
128 kbytes: 5928 ops in 3.095425 sec = 1915 IOPS
1024 kbytes: (this one causes controller to timeout and reset, but it's gone after that, need to reboot board to have it back)
nvme0: Resetting controller due to a timeout.
nvme0: resetting controller
4. 2 bottom usb port work. Some tests on my USB3.0 old stick connected to blue port:
Transfer rates:
outside: 102400 kbytes in 0.738719 sec = 138618 kbytes/sec
middle: 102400 kbytes in 0.791158 sec = 129431 kbytes/sec
inside: 102400 kbytes in 1.573646 sec = 65072 kbytes/sec
Asynchronous random reads:
sectorsize: 5233 ops in 3.077608 sec = 1700 IOPS
4 kbytes: 4910 ops in 3.081414 sec = 1593 IOPS
32 kbytes: 3252 ops in 3.124578 sec = 1041 IOPS
128 kbytes: 1527 ops in 3.282887 sec = 465 IOPS
1024 kbytes: 344 ops in 4.607022 sec = 75 IOPS
The same stick connected to USB2.0 port:
Transfer rates:
outside: 102400 kbytes in 3.028623 sec = 33811 kbytes/sec
middle: 102400 kbytes in 3.227679 sec = 31726 kbytes/sec
inside: 102400 kbytes in 3.052265 sec = 33549 kbytes/sec
Asynchronous random reads:
sectorsize: 4173 ops in 3.095614 sec = 1348 IOPS
4 kbytes: 3688 ops in 3.109559 sec = 1186 IOPS
32 kbytes: 2155 ops in 3.190242 sec = 675 IOPS
128 kbytes: 797 ops in 3.574948 sec = 223 IOPS
1024 kbytes: 218 ops in 7.172139 sec = 30 IOPS
5. 2 up usb ports are giving power, on radxa page they say that one of those is OTG, but the other should be normal host port (I've did change in DTS for that), but it's not working. There's some error about USB:
snps_dwc3_fdt0: <Synopsys Designware DWC3> mem 0xfcc00000-0xfcffffff irq 10 on ofwbus0
snps_dwc3_fdt0: XHCI_PAGESIZE 0x00000000 (that's my debug message added, I was looking for the source of the error in sources, that's the value read from the controller, weird)
snps_dwc3_fdt0: Controller does not support 4K page size.
snps_dwc3_fdt0: Failed to init XHCI, with error 6
device_attach: snps_dwc3_fdt0 attach returned 6
6. My board don't have SPI flash, so can't that
7. Also I don't own any eMMC (those are quite expensive, dunno why)
8. Booting from NVMe works, but SD card with newest u-boot is needed (could be avoided by eMMC/SPI)
9. WiFi/BT is not working - my board have AzureWave AM-CM256SM chip with CYW43455, so this should work thourh SDIO), but FreeBSD lacks support for this.
10. I'm attaching my DTS
11. There's one error about cru:
rk3568_pmucru0: <Rockchip RK3568 PMU Clock & Reset Unit> mem 0xfdd00000-0xfdd00fff on ofwbus0
rk3568_cru0: <Rockchip RK3568 Clock & Reset Unit> mem 0xfdd20000-0xfdd20fff on ofwbus0
rk3568_cru0: cannot get parent at idx 0
Don't know if this is needed by/for something.
12. I've tried to add missing unresolved clocks, I'm left with those:
Unresolved linked clock found: clk_32k_pvtm
Unresolved linked clock found: i2s0_mclkin
Unresolved linked clock found: i2s1_mclkin
Unresolved linked clock found: gpu_pvtpll_out
Unresolved linked clock found: npu_pvtpll_out
Unresolved linked clock found: dummy