I'm trying to figure out as well.

I built u-boot from the official R5S build guide: http://wiki.friendlyelec.com/wiki/index.php/NanoPi_R5S#Build_u-boot_only

I placed the resulting rk3568-nanopi5.dtb file into the vendor/ folder, after writing the miniroot73.img to the disk. This wasn't enough to boot alone, so I followed the other part of the INSTALL.arm64 guide by writing idbloader.img and uboot.itb to the SD card. I still can't get to the OpenBSD bootloader.

I used a UART connection and saw that it does some initialization (see below), but doesn't get to u-boot.

--------------

DDR Version V1.13 20220218
In
ddrconfig:0
LPDDR4X, 324MHz
BW=32 Col=10 Bk=8 CS0 Row=17 CS=1 Die BW=16 Size=4096MB
tdqss: cs0 dqs0: 48ps, dqs1: -48ps, dqs2: -24ps, dqs3: -120ps,

change to: 324MHz
PHY drv:clk:36,ca:36,DQ:29,odt:0
vrefinner:24%, vrefout:41%
dram drv:40,odt:0
clk skew:0x61

change to: 528MHz
PHY drv:clk:36,ca:36,DQ:29,odt:0
vrefinner:24%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 780MHz
PHY drv:clk:36,ca:36,DQ:29,odt:0
vrefinner:24%, vrefout:41%
dram drv:40,odt:0
clk skew:0x58

change to: 1560MHz(final freq)
PHY drv:clk:36,ca:36,DQ:29,odt:60
vrefinner:16%, vrefout:22%
dram drv:40,odt:80
vref_ca:00000071
clk skew:0x17
cs 0:
the read training result:
DQS0:0x2e, DQS1:0x35, DQS2:0x34, DQS3:0x32,
min  : [omitted for brevity] ,
mid  :[omitted for brevity] ,
max  :[omitted for brevity] ,
range:[omitted for brevity]
the write training result:
DQS0:0x20, DQS1:0xe, DQS2:0x13, DQS3:0x0,
min  :[omitted for brevity],
mid  :[omitted for brevity],
max  :[omitted for brevity],
range:[omitted for brevity] ,
CA Training result:
cs:0 min  :[omitted for brevity]
cs:0 mid  :[omitted for brevity]
cs:0 max  :[omitted for brevity]
cs:0 range:[omitted for brevity]
out

--------------------

Any help from someone with more knowledge in this area would really appreciated.

Thanks!

On 4/13/23 16:23, Nenhum_de_Nos wrote:
Hi,

I am waiting to get a NanoPI R5S soon and went to check for OpenBSD
support for it. Then I saw it has in the Arm64 page on the site
(https://www.openbsd.org/arm64.html), and that it is not on the 7.3
release notes for Arm64
(https://ftp.openbsd.org/pub/OpenBSD/7.3/arm64/INSTALL.arm64). Does anyone
knows where can I find more info on OpenBSD support for this hardware?

Thanks,

Matheus

Reply via email to