PINE64 ROCK64 Board - Gigabit Network
Hello, Currently the Gigabit network of the ROCK64 media board doesn't work with OpenBSD 6.3. Is there a chance in further releases to get this work? It would be great! Best reagrds Johannes Krottmayer
Build the system from a amd64 system (Cross compile)
Hello, Okay, this part is not maintained. But are there public HowTo's availbable? (I have a ROCK64 media board and i want to help, to get the Gigabit network working.) Best reagrds, Johannes Krottmayer
Re: Build the system from a amd64 system (Cross compile)
Hello, Sorry, for my bad spelling and the typos. It was a hard day for me. And i'm not a native english speaker. But i think you can decipher the content of my question. The subject should be: Build the system "ON" a amd64 system Best regards, Johannes Krottmayer On Thu, Jun 07, 2018 At 23:50:01 +0200, Johannes Krottmayer wrote: > Hello, > > Okay, this part is not maintained. But are there public > HowTo's availbable? > > (I have a ROCK64 media board and i want to help, to > get the Gigabit network working.) > > Best reagrds, > Johannes Krottmayer >
Re: Build the system from a amd64 system (Cross compile)
On 2018/06/08 00:05, Johannes Krottmayer wrote: > Hello, > > Sorry, for my bad spelling and the typos. It was a hard day for me. > And i'm not a native english speaker. But i think you can decipher > the content of my question. > > The subject should be: Build the system "ON" a amd64 system > > Best regards, > Johannes Krottmayer > > On Thu, Jun 07, 2018 At 23:50:01 +0200, Johannes Krottmayer wrote: > > Hello, > > > > Okay, this part is not maintained. But are there public > > HowTo's availbable? > > > > (I have a ROCK64 media board and i want to help, to > > get the Gigabit network working.) > > > > Best reagrds, > > Johannes Krottmayer > > > There aren't how-tos for this. Typically with OpenBSD, cross-compiling is only done in initial bring-up of an architecture, from then on it's self-hosting.
Re: PINE64 ROCK64 Board - Gigabit Network
> From: Johannes Krottmayer > Date: Thu, 7 Jun 2018 23:23:21 +0200 > > Hello, > > Currently the Gigabit network of the ROCK64 media board > doesn't work with OpenBSD 6.3. > > Is there a chance in further releases to get this work? > It would be great! It works in -current. There is also DMA support for eMMV and uSD card in -current. I flashed my board with the firmware provided by "ayufan" that can be found at: https://github.com/ayufan-rock64/linux-build/releases The device tree embedded in that firmware doesn't provide the proper speed for the serial console. Therefore when you boot the board after installing it the boot messages will not show up on the serial console. You can fix this by installing the dtb package and doing # mount /dev/sdXi /mnt # mkdir /mnt/rockchip # cp /usr/local/share/dtb/arm64/rockchip/rk3328-rock64.dtb /mnt/rockchip # umount /mnt You should also check the /etc/ttys file and change the console entry from std.115200 into std.150 if necessary. I'll see if I can get that issue fixed. Cheers. Mark
Re: Build the system from a amd64 system (Cross compile)
Hello, Thanks for reply! How can I do this (initial bring-up)? I need it also for bare-metal programming of this board. Want use the OpenBSD bootloader to boot my own real-time operating system. Best regards, Johannes Krottmayer On Thu, Jun 07, 2018 At 23:16:29 +0100, Stuart Henderson wrote: > On 2018/06/08 00:05, Johannes Krottmayer wrote: >> Hello, >> >> Sorry, for my bad spelling and the typos. It was a hard day for me. >> And i'm not a native english speaker. But i think you can decipher >> the content of my question. >> >> The subject should be: Build the system "ON" a amd64 system >> >> Best regards, >> Johannes Krottmayer >> >> On Thu, Jun 07, 2018 At 23:50:01 +0200, Johannes Krottmayer wrote: >>> Hello, >>> >>> Okay, this part is not maintained. But are there public >>> HowTo's availbable? >>> >>> (I have a ROCK64 media board and i want to help, to >>> get the Gigabit network working.) >>> >>> Best reagrds, >>> Johannes Krottmayer >>> >> > > There aren't how-tos for this. Typically with OpenBSD, cross-compiling > is only done in initial bring-up of an architecture, from then on it's > self-hosting. >
Re: PINE64 ROCK64 Board - Gigabit Network
Hello Mark, Thanks for the fast reply and this information! I will try this steps. Best regards, Johannes Krottmayer On Fri, Jun 08, 2018 At 00:20:30 +0200, Mark Kettenis wrote: >> From: Johannes Krottmayer >> Date: Thu, 7 Jun 2018 23:23:21 +0200 >> >> Hello, >> >> Currently the Gigabit network of the ROCK64 media board >> doesn't work with OpenBSD 6.3. >> >> Is there a chance in further releases to get this work? >> It would be great! > > It works in -current. There is also DMA support for eMMV and uSD card > in -current. > > I flashed my board with the firmware provided by "ayufan" that can be > found at: > > https://github.com/ayufan-rock64/linux-build/releases > > The device tree embedded in that firmware doesn't provide the proper > speed for the serial console. Therefore when you boot the board after > installing it the boot messages will not show up on the serial > console. You can fix this by installing the dtb package and doing > > # mount /dev/sdXi /mnt > # mkdir /mnt/rockchip > # cp /usr/local/share/dtb/arm64/rockchip/rk3328-rock64.dtb /mnt/rockchip > # umount /mnt > > You should also check the /etc/ttys file and change the console entry > from std.115200 into std.150 if necessary. > > I'll see if I can get that issue fixed. > > Cheers. > > Mark >
Re: PINE64 ROCK64 Board - Gigabit Network
Hello Mark, I have an additional question. Don't want start a new thread for this. Are the GPIO, the I2C and the SPI interface working? An how can i use this. Is there a short example code available? I'm new in this. I have experience in bare-metal programming with AVR devices. Now I want use the ARM port of OpenBSD for my further electronic projects. Best reagards, Johannes Krottmayer On Fri, Jun 08, 2018 At 00:28:30 +0200, Johannes Krottmayer wrote: > Hello Mark, > > Thanks for the fast reply and this information! > I will try this steps. > > Best regards, > Johannes Krottmayer > > On Fri, Jun 08, 2018 At 00:20:30 +0200, Mark Kettenis wrote: >>> From: Johannes Krottmayer >>> Date: Thu, 7 Jun 2018 23:23:21 +0200 >>> >>> Hello, >>> >>> Currently the Gigabit network of the ROCK64 media board >>> doesn't work with OpenBSD 6.3. >>> >>> Is there a chance in further releases to get this work? >>> It would be great! >> >> It works in -current. There is also DMA support for eMMV and uSD card >> in -current. >> >> I flashed my board with the firmware provided by "ayufan" that can be >> found at: >> >> https://github.com/ayufan-rock64/linux-build/releases >> >> The device tree embedded in that firmware doesn't provide the proper >> speed for the serial console. Therefore when you boot the board after >> installing it the boot messages will not show up on the serial >> console. You can fix this by installing the dtb package and doing >> >> # mount /dev/sdXi /mnt >> # mkdir /mnt/rockchip >> # cp /usr/local/share/dtb/arm64/rockchip/rk3328-rock64.dtb /mnt/rockchip >> # umount /mnt >> >> You should also check the /etc/ttys file and change the console entry >> from std.115200 into std.150 if necessary. >> >> I'll see if I can get that issue fixed. >> >> Cheers. >> >> Mark >>
Re: PINE64 ROCK64 Board - Gigabit Network
Hello Mark, I just installed OpenBSD sucessfully on the ROCK64 media board. That's very cool. Thanks for your good statement. Best reagards, Johannes On Fri, Jun 08, 2018 At 00:52:51 +0200, Johannes Krottmayer wrote: > Hello Mark, > > I have an additional question. Don't want start a new thread for > this. > > Are the GPIO, the I2C and the SPI interface working? > An how can i use this. Is there a short example code available? > > I'm new in this. I have experience in bare-metal programming > with AVR devices. Now I want use the ARM port of OpenBSD for my > further electronic projects. > > Best reagards, > Johannes Krottmayer > > On Fri, Jun 08, 2018 At 00:28:30 +0200, Johannes Krottmayer wrote: >> Hello Mark, >> >> Thanks for the fast reply and this information! >> I will try this steps. >> >> Best regards, >> Johannes Krottmayer >> >> On Fri, Jun 08, 2018 At 00:20:30 +0200, Mark Kettenis wrote: From: Johannes Krottmayer Date: Thu, 7 Jun 2018 23:23:21 +0200 Hello, Currently the Gigabit network of the ROCK64 media board doesn't work with OpenBSD 6.3. Is there a chance in further releases to get this work? It would be great! >>> >>> It works in -current. There is also DMA support for eMMV and uSD card >>> in -current. >>> >>> I flashed my board with the firmware provided by "ayufan" that can be >>> found at: >>> >>> https://github.com/ayufan-rock64/linux-build/releases >>> >>> The device tree embedded in that firmware doesn't provide the proper >>> speed for the serial console. Therefore when you boot the board after >>> installing it the boot messages will not show up on the serial >>> console. You can fix this by installing the dtb package and doing >>> >>> # mount /dev/sdXi /mnt >>> # mkdir /mnt/rockchip >>> # cp /usr/local/share/dtb/arm64/rockchip/rk3328-rock64.dtb /mnt/rockchip >>> # umount /mnt >>> >>> You should also check the /etc/ttys file and change the console entry >>> from std.115200 into std.150 if necessary. >>> >>> I'll see if I can get that issue fixed. >>> >>> Cheers. >>> >>> Mark >>>
Re: PINE64 ROCK64 Board - Gigabit Network
Hello Mark! I have found the necessary information to control the GPIO. But what about the I2C and SPI interface? I don't find usefull information about this. I want native support for my projects. Don't want to make a software based (bit-bang) I2C or SPI interface with the GPIO pins. Best regards, Johannes On Fri, Jun 08, 2018 At 03:42:11 +0200, Johannes Krottmayer wrote: > Hello Mark, > > I just installed OpenBSD sucessfully on the ROCK64 media board. > That's very cool. Thanks for your good statement. > > Best reagards, > Johannes > > On Fri, Jun 08, 2018 At 00:52:51 +0200, Johannes Krottmayer wrote: >> Hello Mark, >> >> I have an additional question. Don't want start a new thread for >> this. >> >> Are the GPIO, the I2C and the SPI interface working? >> An how can i use this. Is there a short example code available? >> >> I'm new in this. I have experience in bare-metal programming >> with AVR devices. Now I want use the ARM port of OpenBSD for my >> further electronic projects. >> >> Best reagards, >> Johannes Krottmayer >> >> On Fri, Jun 08, 2018 At 00:28:30 +0200, Johannes Krottmayer wrote: >>> Hello Mark, >>> >>> Thanks for the fast reply and this information! >>> I will try this steps. >>> >>> Best regards, >>> Johannes Krottmayer >>> >>> On Fri, Jun 08, 2018 At 00:20:30 +0200, Mark Kettenis wrote: > From: Johannes Krottmayer > Date: Thu, 7 Jun 2018 23:23:21 +0200 > > Hello, > > Currently the Gigabit network of the ROCK64 media board > doesn't work with OpenBSD 6.3. > > Is there a chance in further releases to get this work? > It would be great! It works in -current. There is also DMA support for eMMV and uSD card in -current. I flashed my board with the firmware provided by "ayufan" that can be found at: https://github.com/ayufan-rock64/linux-build/releases The device tree embedded in that firmware doesn't provide the proper speed for the serial console. Therefore when you boot the board after installing it the boot messages will not show up on the serial console. You can fix this by installing the dtb package and doing # mount /dev/sdXi /mnt # mkdir /mnt/rockchip # cp /usr/local/share/dtb/arm64/rockchip/rk3328-rock64.dtb /mnt/rockchip # umount /mnt You should also check the /etc/ttys file and change the console entry from std.115200 into std.150 if necessary. I'll see if I can get that issue fixed. Cheers. Mark