Re: Nanopi R5S support and build guide
- Reply: Matheus : "Re: Nanopi R5S support and build guide"
- Reply: Matheus : "Re: Nanopi R5S support and build guide"
- In reply to: Matheus : "Re: Nanopi R5S support and build guide"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 02 May 2023 10:54:28 UTC
On Tue, May 2, 2023 at 6:50 PM Matheus <lojas@arroway.org> wrote: > > > On May 1, 2023 1:47:12 PM GMT-03:00, "Søren Schmidt" < > soren.schmidt@gmail.com> wrote: > >> On 30 Apr 2023, at 23.44, Matheus <lojas@arroway.org> wrote: > >> > >> Hi, > >> > >> I am trying to have FreeBSD 14 running on this SBC. I could not find > >any guides in how to build images for it. I found the > >people.freebsd.org/~sos/ site that has some images, and one for it, but > >that seldom boots my board, and when it did, there was no console over > >serial or vga. > >> > >> If anyone can give any hints. Unfortunately my dev skills are not > >good. But I can test and help build once I figure out how :) > > > >Hi Matheus > > > >The image at > > > > > https://people.freebsd.org/~sos/ARM64/current-RK356X-images/nano5-sdcard.img.gz > > > >for the Nanopi R5S does indeed boot with both HDMI output and serial > >console (1500000baud). > > > >The boot loader (EDK2 in FDT mode) is very picky on SD card quality > >though from experience, I works for me with Sandisk Ultra / Extreme > >cards but not with Samsung and cheap noname SD cards YMMV. > > Hi Søren, > > I had really issues on sd carda. I got it to boot once, but I was printing > characters on screen at one per second. So I rebooted and don't remember > why rewrote the card. I can't boot anymore. Tried different cards, SanDisk > ultra, no luck. > > I can boot an 13.2 image from the guy at personalbsd though. But there I > have just one ethernet. > On 13.2 I cannot list the ethernets nics using pciconf -lv, including the > one that works. Is this expected? Yes. Did you try https://personalbsd.org/download/Business/FreeBSD-aarch64-14.0-CURRENT-NanoPi-R5S-20230402.img.xz ? This image should have support for pcie and all ethernet should work IIRC. Ganbold > > I have little understanding of the arch, so my progress is much slow. > I got some dmesg from OpenBSD people where the nics show in ifconfig. But > I couldn't get mine to behave this way. I can install though, using USB > nic. > I will try to buy a new sd card from the good list you pointed. > Another thing, I got the feeling that when I dd'ed the image using the SD > card slot on the notebook it worked and when was through usb adapter did > not. Does it make sense? Using Linux mint as host for this. > Thanks so much for the answer and help, > > Matheus > > > >You can build a stock ARM64 generic kernel and most things will be > >usable, however as Ganbold wrote the DTS files is not in there yet (and > >not even in linux where our DTS files are fetched from). > >However the EDK2 boot loader provided (and used in above image) on > > > >https://people.freebsd.org/~sos/ARM64/EDK2-RK356X/NANOPI-R5S_EFI.itb > >NANOPI-R5S_EFI > >File · 1,7 MB > > > >does hand over the “right” DTB file if you want to experiment. > > > >If you need the used DTS file and build guidance let me know in private > >mail... > > > >-- > >Søren Schmidt > >sos@deepcore.dk / sos@freebsd.org > >"So much code to hack, so little time" > > --- > "We will call you Cygnus, > the God of balance you shall be." > >