Re: Rock64 v2 Ethernet not working
On Fri, 2020-03-20 at 16:24 +0100, Sebastian Reitenbach wrote: > Hi, > > Am Donnerstag, März 19, 2020 03:32 CET, schrieb Lear Zhou > : > > > > > Hi, > > > > Today my Rock64 arrived, after format the sd card, and put u-boot from > > current, the machine > > started to install via net wired to a switch. > > > > After preparations, when it should start downloading packages from > > internet, it just stuck > > there, 0 progress. > > > > Yes, I have read in the mail-list that someone have encountered the same > > kind of trouble. > > My question is, is there a solution for this? > > > > Since I also read in the mail list that someone successfully recovered the > > ethernet, just I > > didn't find a non hardware hacking solution which I am be able to apply. > yesterday I got the soldering flux, the last bit missing, but haven't yet > found time to solder it, but will likely do so in the next days and report > back. > I purchased a Rock64 v2.0 board and also have the ethernet problems with OpenBSD-current. There are people who have modified the board to correct the problem and posted instructions on how to do that. However, I tested Arbian's and ayufan's linux on my board and the ethernet works fine so a software solution is possible as well. -Kurt
Re: Rock64 v2 Ethernet not working
> From: Kurt Miller > Date: Tue, 24 Mar 2020 09:48:01 -0400 > > On Fri, 2020-03-20 at 16:24 +0100, Sebastian Reitenbach wrote: > > Hi, > > > > Am Donnerstag, März 19, 2020 03:32 CET, schrieb Lear Zhou > > : > > > > > > > > Hi, > > > > > > Today my Rock64 arrived, after format the sd card, and put u-boot from > > > current, the machine > > > started to install via net wired to a switch. > > > > > > After preparations, when it should start downloading packages from > > > internet, it just stuck > > > there, 0 progress. > > > > > > Yes, I have read in the mail-list that someone have encountered the same > > > kind of trouble. > > > My question is, is there a solution for this? > > > > > > Since I also read in the mail list that someone successfully recovered the > > > ethernet, just I > > > didn't find a non hardware hacking solution which I am be able to apply. > > yesterday I got the soldering flux, the last bit missing, but haven't yet > > found time to solder it, but will likely do so in the next days and report > > back. > > > > I purchased a Rock64 v2.0 board and also have the ethernet > problems with OpenBSD-current. There are people who have > modified the board to correct the problem and posted instructions > on how to do that. However, I tested Arbian's and ayufan's linux > on my board and the ethernet works fine so a software solution is > possible as well. Kurt, can you list the exact version of that kernel? Something I can trace back to a specific git hash... On my Rock64 v2.0 board the network interface is fairly solid if I configure it for 100baseTX using: # ifconfig dwge0 media 100baseTX mediaopt full-duplex Cheers, Mark
Re: Rock64 v2 Ethernet not working
On Tue, 2020-03-24 at 15:53 +0100, Mark Kettenis wrote: > > > > From: Kurt Miller > > Date: Tue, 24 Mar 2020 09:48:01 -0400 > > > > On Fri, 2020-03-20 at 16:24 +0100, Sebastian Reitenbach wrote: > > > > > > Hi, > > > > > > Am Donnerstag, März 19, 2020 03:32 CET, schrieb Lear Zhou > > > : > > > > > > > > > > > > > > > Hi, > > > > > > > > Today my Rock64 arrived, after format the sd card, and put u-boot from > > > > current, the machine > > > > started to install via net wired to a switch. > > > > > > > > After preparations, when it should start downloading packages from > > > > internet, it just stuck > > > > there, 0 progress. > > > > > > > > Yes, I have read in the mail-list that someone have encountered the same > > > > kind of trouble. > > > > My question is, is there a solution for this? > > > > > > > > Since I also read in the mail list that someone successfully recovered > > > > the > > > > ethernet, just I > > > > didn't find a non hardware hacking solution which I am be able to apply. > > > yesterday I got the soldering flux, the last bit missing, but haven't yet > > > found time to solder it, but will likely do so in the next days and > > > report back. > > > > > I purchased a Rock64 v2.0 board and also have the ethernet > > problems with OpenBSD-current. There are people who have > > modified the board to correct the problem and posted instructions > > on how to do that. However, I tested Arbian's and ayufan's linux > > on my board and the ethernet works fine so a software solution is > > possible as well. > Kurt, can you list the exact version of that kernel? Something I can > trace back to a specific git hash... Sure, I tried these: Armbian_20.02.1_Rock64_bionic_current_5.4.20_desktop.img kernel version: 5.4.20 https://dl.armbian.com/rock64/Bionic_current_desktop bionic-minimal-rock64-0.9.16-1163-arm64.img kernel version: 4.4.197 https://github.com/ayufan-rock64/linux-build/releases > On my Rock64 v2.0 board the network interface is fairly solid if I > configure it for 100baseTX using: > > # ifconfig dwge0 media 100baseTX mediaopt full-duplex > Thanks, I'll give that a try soon. -Kurt
Re: NanoPi R2S support
On Sat, 2020-03-14 at 21:19 -0700, Lear Zhou wrote: > Hi, > > I have bought a NanoPi R2S, which features the RK3328 SoC with 2 1Gbps > Ethernet ports > and 1G DDR4 RAM. Reading OpenBSD document, what I learned is that > idbloader.img and > u-boot.itb are needed to made a bootable mini sd card that can load OpenBSD > mini boot > img. > > My question is, can I extract from the product's 'official' Linux image > these necessary files, > or I would have to ask someone in the port team to build these files? > > Lear Zhou >From the FriendlyArm product description it appears the Linux image comes with u-boot 2017.11. I think that is too old to use with OpenBSD. I know 2017.09 has a bug in it that prevents our bootloader from working. I'm unsure when that bug was fixed in u-boot though. I don't see support for the NanoPi R2S in u-boot master so there's a decent amount of work to add support for it. It may be a fun mini-project for someone who has a NanoPi R2S to add support to u-boot though. -Kurt
Re: NanoPi R2S support
> From: Kurt Miller > Date: Tue, 24 Mar 2020 17:54:13 -0400 > > On Sat, 2020-03-14 at 21:19 -0700, Lear Zhou wrote: > > Hi, > > > > I have bought a NanoPi R2S, which features the RK3328 SoC with 2 1Gbps > > Ethernet ports > > and 1G DDR4 RAM. Reading OpenBSD document, what I learned is that > > idbloader.img and > > u-boot.itb are needed to made a bootable mini sd card that can load OpenBSD > > mini boot > > img. > > > > My question is, can I extract from the product's 'official' Linux image > > these necessary files, > > or I would have to ask someone in the port team to build these files? > > > > Lear Zhou > > >From the FriendlyArm product description it appears the Linux image > comes with u-boot 2017.11. I think that is too old to use with > OpenBSD. I know 2017.09 has a bug in it that prevents our bootloader > from working. I'm unsure when that bug was fixed in u-boot though. Actually, I fixed that bug last weekend. There are still U-Boot versions that don't work, but 2017.09 and 2017.11 should work now. > I don't see support for the NanoPi R2S in u-boot master so there's > a decent amount of work to add support for it. It may be a fun > mini-project for someone who has a NanoPi R2S to add support to > u-boot though. > > -Kurt > >
Re: NanoPi R2S support
On Tue, 2020-03-24 at 23:01 +0100, Mark Kettenis wrote: > > > > From: Kurt Miller > > Date: Tue, 24 Mar 2020 17:54:13 -0400 > > > > On Sat, 2020-03-14 at 21:19 -0700, Lear Zhou wrote: > > > > > > Hi, > > > > > > I have bought a NanoPi R2S, which features the RK3328 SoC with 2 1Gbps > > > Ethernet ports > > > and 1G DDR4 RAM. Reading OpenBSD document, what I learned is that > > > idbloader.img and > > > u-boot.itb are needed to made a bootable mini sd card that can load > > > OpenBSD > > > mini boot > > > img. > > > > > > My question is, can I extract from the product's 'official' Linux image > > > these necessary files, > > > or I would have to ask someone in the port team to build these files? > > > > > > Lear Zhou > > > > > > From the FriendlyArm product description it appears the Linux image > > comes with u-boot 2017.11. I think that is too old to use with > > OpenBSD. I know 2017.09 has a bug in it that prevents our bootloader > > from working. I'm unsure when that bug was fixed in u-boot though. > > Actually, I fixed that bug last weekend. There are still U-Boot > versions that don't work, but 2017.09 and 2017.11 should work now. Oh that's great. So it should be possible do something like this to extract u-boot from the linux image and write to uSD: dd if=rk3328-sd-friendlycore-bionic-5.4-arm64-20200312.img \ of=nanopi.r2s.u-boot.img skip=64 count=32000 dd if=miniroot66.fs of=/dev/sdXc bs=1m dd if=nanopi.r2s.u-boot.img of=/dev/sdXc seek=64 where sdX is the micro sd being prepared and miniroot66.fs is from current. > > > > I don't see support for the NanoPi R2S in u-boot master so there's > > a decent amount of work to add support for it. It may be a fun > > mini-project for someone who has a NanoPi R2S to add support to > > u-boot though. > > > > -Kurt > > > >