Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-09 Thread Johannes Krottmayer
On Sat, Jun 09, 2018 At 23:27:12 +0200, Mark Kettenis wrote: > > That's a very basic start in the right direction. > Thanks! I'm new in OpenBSD driver and ARM development. I have experience with AVR microcontroller and now I want use OpenBSD for my embedded projects. But today it is enough wi

Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-09 Thread Johannes Krottmayer
Sorry, have forgotten to add a...@opnebsd.org to CC. On Sat, Jun 09, 2018 At 23:50:18 +0200, Johannes Krottmayer wrote: > On Sat, Jun 09, 2018 At 22:32:07 +0200, Mark Kettenis wrote: >> Works fine for me, but my board is connected to a 100Mbit/s switch. >> >> I suspect this is related to the tx_de

Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-09 Thread Mark Kettenis
> From: Johannes Krottmayer > Date: Sat, 9 Jun 2018 22:22:44 +0200 > > Hi Mark! > > I inform you that I try to write a spi driver for the rk3328. Called > it rkspi (rkspi.c). Currently I have implement a early version of the > match and attach functions and it works. > > It is based on your rki

Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-09 Thread Mark Kettenis
> From: Johannes Krottmayer > Date: Sat, 9 Jun 2018 17:23:09 +0200 > > Hi Mark! > > I have installed the dtb package. And copied the rk3328-rock64.dtb in > the FAT boot partition. Now I see all boot messages from the kernel. > > But with this dtb file, the ethernet is unstable: > > $ ping 10.4

Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-09 Thread Johannes Krottmayer
Hi Mark! I inform you that I try to write a spi driver for the rk3328. Called it rkspi (rkspi.c). Currently I have implement a early version of the match and attach functions and it works. It is based on your rkiic driver. _The match function_ int rkspi_match(struct device *parent, void *match,

Re: PINE64 ROCK64 Board - Gigabit Network

2018-06-09 Thread Johannes Krottmayer
Hi Mark! I have installed the dtb package. And copied the rk3328-rock64.dtb in the FAT boot partition. Now I see all boot messages from the kernel. But with this dtb file, the ethernet is unstable: $ ping 10.42.42.1 PING 10.42.42.1 (10.42.42.1): 56 data bytes 64 bytes from 10.42.42.1: icmp_seq=9