On 04/22, Dan Jones wrote:
> On Sun Apr 21, 2024 at 9:21 PM MDT, Stephan Somogyi wrote:
> > On Sun, Apr 21, 2024 at 9:20 AM Mihai Dragan <mihai.dragan....@gmail.com>
> > wrote:
> >
> >
> > > 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
> > >
> >
> > Yes, thanks, that was very helpful.
> >
> > I got some oob help as well and am in the process of debugging some of the
> > hardware support.
> >
> > In case anyone else is interested, the kernel (both 7.5-stable and
> > -current) hangs during boot at ohci; disabling that allows boot and install
> > to proceed. I'm seeing unexpectedly poor performance with dwqe, and neither
> > of the rge interfaces seems able to acquire a dhcp lease. I also am seeing
> > unexpectedly low performance compared with an rpi4 in the LibreSSL speed
> > test; AES, SHA1, and SHA2 are only ~clock-speed faster, and not Using ARMv8
> > ISA faster.
> >
> > Thanks again for the reply.
> >
> > s.
> 
> 
> If I remember correctly, both the NanoPi R5 and R6 require that you manually
> set the MAC address for the rge interface via 'ifconfig lladdr etheraddr'.  
> This is at least what I needed to do on my R5S.
>  
> Best, 
> 
> Dan

That's right, the lladdr of both rge0 and rge1 is 0 on boot. I think
The dhcp servers don't like that. To the same effect, I added this to
my /etc/hostname.rgeX:
        lladdr random
        inet autoconf
Alternatively you can give it a fixed MAC address so you'll
get the same IP lease most of the time (e.g. 'lladdr 44:ef:76:9c:03:3a')

The low performance might be because of the 816 MHz the CPUs run at.
The frequency is fixed and I haven't found a way to change it.
'apm' returns
        Battery state: unknown, 0% remaining, unknown life estimate
        AC adapter state: not known
        Performance adjustment mode: invalid (816 MHz)

Starting apmd with "-H" flag doesn't change anything.
Probably the platform support is in early stages.
I asked about this on a...@openbsd.org.

Thanks,
M

-- 

Reply via email to