On 04/16, Stephan Somogyi wrote:
> Given that it appears that R6S
> 
> https://www.mail-archive.com/ports@openbsd.org/msg123717.html
> 
> and R6C support
> 
> https://www.mail-archive.com/ports@openbsd.org/msg124138.html
> 
> are in the ports version of uboot, I was interested in trying to make it
> work. Unfortunately, I'm not having any luck via the trial and error
> method, so was hoping someone could provide pointers. The R6S commit
> suggests erasing eMMC, but I haven't yet worked out how to do that.
> 
> I put the current arm64 install snapshot on an SD card and powered the R6S
> on. Per the R6S wiki I should be able to get the serial console running at
> 1500000 bps, but it pretty consistently returns garbage. I've also brute
> forced my way up popular speeds from 9600 onward and no luck, either. I'm
> using an Ada Fruit adapter in case that matters:
> https://www.adafruit.com/product/954
> 
> I then tried HDMI and it boots from the Linux on eMMC and displays video,
> but no sign of the SD card. I can easily boot DietPi from SD, which
> confirms the default boot order. I'm assuming that something about the
> snapshot image isn't right, and I have no idea how to proceed.
> 
> Is there any documentation for how I can become unstuck? It would also be
> interesting to know if this hardware is expected to be supported in 7.6 and
> I just need to wait a bit.
> 
> Thanks for any suggestions.
> 
> s.
-- 
You need to follow a few additional steps to get R6S image to boot after 
flashing the initial image:
On an OpenBSD desktop system, install "u-boot-rk3588" package. The one I tested 
with is u-boot-rk3588-2024.01rc3p1.
Insert the sdcard you flashed with the install/miniroot image.
Copy the uboot binary for your specific board on the sdcard as described in the 
"For systems based on Rockchip RK356x SoCs:" of this page 
https://ftp.openbsd.org/pub/OpenBSD/7.5/arm64/INSTALL.arm64

For the R6S this should be:
dd if=/usr/local/share/u-boot/nanopi-r6s-rk3588s/u-boot-rockchip.bin 
of=/dev/sdXc seek=64

Then plug the sdcard back in the board, connect a usb-to-serial adapter at 
115200 baud rate (this differs from the default rockchip settings) and power 
the board on.
Everything's standard from here, follow the instructions on the arm64 
installation page.

Hope this helps


Reply via email to