Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2023 10:03:47 +0800
From:      Ganbold Tsagaankhuu <ganbold@gmail.com>
To:        Matheus <lojas@arroway.org>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Nanopi R5S support and build guide
Message-ID:  <CAGtf9xMpiVjKm4AjGden7B2Rm_zsDHriwrznQHr_UaU%2BUp2FeQ@mail.gmail.com>
In-Reply-To: <7F68ABB3-8D7A-40EA-9713-DAA0E63E1A6A@arroway.org>
References:  <C7082C2C-CC9B-493B-ADEF-6606FE875A3A@arroway.org> <A428B299-872C-4FEA-AF12-56F25D9211A8@gmail.com> <CDC8B9E7-B32B-435F-B2CF-88052C360B08@arroway.org> <CAGtf9xM6uFopHtp19TMd2eTp1NanCByPftbdOPWZxLiJJFBwqA@mail.gmail.com> <C8CE78B3-EADC-4755-B53F-D2A11CFE95A9@arroway.org> <CAGtf9xPipUdDfGwPz6JDGRwXsppmZdnhQZCOx_nvi3rHVtL9PA@mail.gmail.com> <7F68ABB3-8D7A-40EA-9713-DAA0E63E1A6A@arroway.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000b0b8d505fafcd1d8
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

On Sat, May 6, 2023 at 6:03=E2=80=AFAM Matheus <lojas@arroway.org> wrote:

>
>
> On May 5, 2023 2:23:15 AM GMT-03:00, Ganbold Tsagaankhuu <
> ganbold@gmail.com> wrote:
> >On Thu, May 4, 2023 at 10:05=E2=80=AFPM Matheus <lojas@arroway.org> wrot=
e:
> >
> >> > On Tue, May 2, 2023 at 6:50=C3=A2=E2=82=AC=C2=AFPM Matheus <lojas@ar=
roway.org> wrote:
> >> >
> >> >>
> >> >>
> >> >> On May 1, 2023 1:47:12 PM GMT-03:00, "S=C3=83=C2=B8ren 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=C3=83=C2=B8ren,
> >> >>
> >> >> 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-Na=
noPi-R5S-20230402.img.xz
> >> > ?
> >> > This image should have support for pcie and all ethernet should
> >work
> >> IIRC.
> >> >
> >> > Ganbold
> >>
> >> Hi Ganbold,
> >>
> >> I tried it and other 2 images and no success, including the image
> >pointed
> >> by Soren. Unfortunately I just got to boot one image from 14 but I
> >> overwritten the sd card and can't remember which sd card and image :(
> >>
> >> The only image I can make it boot is from 13.2R, and I got it
> >installed
> >> fine (using an EFI image from personalbsd from March 23).
> >>
> >> Will wait for the next round of images for 14.
> >>
> >
> >Above image works for me:
> >
> >root@NanoPi-R5S:~ # ifconfig
> >re0: flags=3D8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
> >        options=3D201b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,WOL_MAGIC>
> >        ether 62:73:64:e2:d4:87
> >        inet 192.168.111.2 netmask 0xffffff00 broadcast 192.168.111.255
> >        media: Ethernet autoselect
> >        status: no carrier
> >        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> >re1: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> >1500
> >        options=3D201b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,WOL_MAGIC>
> >        ether 62:73:64:9a:5e:55
> >        inet 192.168.2.2 netmask 0xffffff00 broadcast 192.168.2.255
> >        media: Ethernet autoselect (1000baseT <full-duplex>)
> >        status: active
> >        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> >eq0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
> >1500
> >        options=3D80008<VLAN_MTU,LINKSTATE>
> >        ether 22:07:01:bb:41:76
> >        inet 192.168.1.202 netmask 0xffffff00 broadcast 192.168.1.255
> >        media: Ethernet autoselect (1000baseT <full-duplex>)
> >        status: active
> >        nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
> >lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
> >        options=3D680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6=
>
> >        inet6 ::1 prefixlen 128
> >        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
> >        inet 127.0.0.1 netmask 0xff000000
> >        groups: lo
> >        nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
> >root@NanoPi-R5S:~ # uname -an
> >FreeBSD NanoPi-R5S 14.0-CURRENT FreeBSD 14.0-CURRENT #0
> >main-n261950-4aeb939ecf8b-dirty: Sun Apr  2 17:42:01 MSK 2023
> >root@honeycomb.local
> :/usr/crochet/work/obj/usr/crochet/src-current-14.0/arm64.aarch64/sys/EXP=
ERT
> >arm64
> >root@NanoPi-R5S:~ # kldstat
> >Id Refs Address                Size Name
> > 1    8 0xffff000000000000  10cb350 kernel
> > 2    1 0xffff0000010cd000    a9508 if_re.ko
> > 3    1 0xffff0000c9e00000    24000 fdescfs.ko
> > 4    1 0xffff0000c9e24000    22000 mac_ntpd.ko
> >root@NanoPi-R5S:~ #
> >
> >Ganbold
>
> Hi Ganbold and others,
>
> I gave another try today and I got to see some stuff on the serial consol=
e
> but the serial terminal itself is not usable. It prints unrecognizable
> characters, but I could recognize the red beastie logo.
> On the hdmi screen I have no output. Can you confirm the serial speed
> line?
> It was 115200 when I saw all that, and then tried 1500000 and despite it
> was printing something that looks like the boot, just weird characters
> appeared.


With
https://personalbsd.org/download/Business/FreeBSD-aarch64-14.0-CURRENT-Nano=
Pi-R5S-20230402.img.xz
image
I use 115200.

Ganbold



>
>
> Thanks again,
>
> Matheus
>
>
> >>
> >> Thanks,
> >>
> >> matheus
> >>
> >> >>
> >> >> 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=C3=
=AF
> >> =C2=BF=C2=BC
> >> >> >NANOPI-R5S_EFI
> >> >> >File =C3=82=C2=B7 1,7 MB
> >> >> >
> >> >> >does hand over the =C3=A2=E2=82=AC=C5=93right=C3=A2=E2=82=AC DTB f=
ile if you want to experiment.
> >> >> >
> >> >> >If you need the used DTS file and build guidance let me know in
> >private
> >> >> >mail...
> >> >> >
> >> >> >--
> >> >> >S=C3=83=C2=B8ren 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."
> >> >>
> >> >>
> >> >
> >>
> >>
> >> --
> >> "We will call you Cygnus,
> >> the God of balance you shall be."
> >> ------------------------------
> >> "We will call you Cygnus,
> >> the God of balance you shall be."
>
> ---
> "We will call you Cygnus,
> the God of balance you shall be."
>

--000000000000b0b8d505fafcd1d8
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><br></div><br><div class=3D"gmail_quote">=
<div dir=3D"ltr" class=3D"gmail_attr">On Sat, May 6, 2023 at 6:03=E2=80=AFA=
M Matheus &lt;<a href=3D"mailto:lojas@arroway.org">lojas@arroway.org</a>&gt=
; wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On May 5, 2023 2:23:15 AM GMT-03:00, Ganbold Tsagaankhuu &lt;<a href=3D"mai=
lto:ganbold@gmail.com" target=3D"_blank">ganbold@gmail.com</a>&gt; wrote:<b=
r>
&gt;On Thu, May 4, 2023 at 10:05=E2=80=AFPM Matheus &lt;<a href=3D"mailto:l=
ojas@arroway.org" target=3D"_blank">lojas@arroway.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; &gt; On Tue, May 2, 2023 at 6:50=C3=A2=E2=82=AC=C2=AFPM Matheus &l=
t;<a href=3D"mailto:lojas@arroway.org" target=3D"_blank">lojas@arroway.org<=
/a>&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On May 1, 2023 1:47:12 PM GMT-03:00, &quot;S=C3=83=C2=B8r=
en Schmidt&quot; &lt;<br>
&gt;&gt; &gt;&gt; <a href=3D"mailto:soren.schmidt@gmail.com" target=3D"_bla=
nk">soren.schmidt@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt; On 30 Apr 2023, at 23.44, Matheus &lt;<a href=3D=
"mailto:lojas@arroway.org" target=3D"_blank">lojas@arroway.org</a>&gt; wrot=
e:<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Hi,<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; I am trying to have FreeBSD 14 running on this S=
BC. I could not<br>
&gt;find<br>
&gt;&gt; &gt;&gt; &gt;any guides in how to build images for it. I found the=
<br>
&gt;&gt; &gt;&gt; &gt;<a href=3D"http://people.freebsd.org/~sos/" rel=3D"no=
referrer" target=3D"_blank">people.freebsd.org/~sos/</a> site that has some=
 images, and one for<br>
&gt;it,<br>
&gt;&gt; but<br>
&gt;&gt; &gt;&gt; &gt;that seldom boots my board, and when it did, there wa=
s no console<br>
&gt;over<br>
&gt;&gt; &gt;&gt; &gt;serial or vga.<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; If anyone can give any hints. Unfortunately my d=
ev skills are<br>
&gt;not<br>
&gt;&gt; &gt;&gt; &gt;good. But I can test and help build once I figure out=
 how :)<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;Hi Matheus<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;The image at<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt;<br>
&gt;<a href=3D"https://people.freebsd.org/~sos/ARM64/current-RK356X-images/=
nano5-sdcard.img.gz" rel=3D"noreferrer" target=3D"_blank">https://people.fr=
eebsd.org/~sos/ARM64/current-RK356X-images/nano5-sdcard.img.gz</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;for the Nanopi R5S does indeed boot with both HDMI ou=
tput and<br>
&gt;serial<br>
&gt;&gt; &gt;&gt; &gt;console (1500000baud).<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;The boot loader (EDK2 in FDT mode) is very picky on S=
D card<br>
&gt;quality<br>
&gt;&gt; &gt;&gt; &gt;though from experience, I works for me with Sandisk U=
ltra /<br>
&gt;Extreme<br>
&gt;&gt; &gt;&gt; &gt;cards but not with Samsung and cheap noname SD cards =
YMMV.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi S=C3=83=C2=B8ren,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I had really issues on sd carda. I got it to boot once, b=
ut I was<br>
&gt;&gt; &gt;&gt; printing<br>
&gt;&gt; &gt;&gt; characters on screen at one per second. So I rebooted and=
 don&#39;t<br>
&gt;remember<br>
&gt;&gt; &gt;&gt; why rewrote the card. I can&#39;t boot anymore. Tried dif=
ferent cards,<br>
&gt;&gt; &gt;&gt; SanDisk<br>
&gt;&gt; &gt;&gt; ultra, no luck.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I can boot an 13.2 image from the guy at personalbsd thou=
gh. But<br>
&gt;there I<br>
&gt;&gt; &gt;&gt; have just one ethernet.<br>
&gt;&gt; &gt;&gt; On 13.2 I cannot list the ethernets nics using pciconf -l=
v,<br>
&gt;including<br>
&gt;&gt; &gt;&gt; the<br>
&gt;&gt; &gt;&gt; one that works. Is this expected?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Yes. Did you try<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;<a href=3D"https://personalbsd.org/download/Business/FreeBSD-aarch64-14=
.0-CURRENT-NanoPi-R5S-20230402.img.xz" rel=3D"noreferrer" target=3D"_blank"=
>https://personalbsd.org/download/Business/FreeBSD-aarch64-14.0-CURRENT-Nan=
oPi-R5S-20230402.img.xz</a><br>
&gt;&gt; &gt; ?<br>
&gt;&gt; &gt; This image should have support for pcie and all ethernet shou=
ld<br>
&gt;work<br>
&gt;&gt; IIRC.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Ganbold<br>
&gt;&gt;<br>
&gt;&gt; Hi Ganbold,<br>
&gt;&gt;<br>
&gt;&gt; I tried it and other 2 images and no success, including the image<=
br>
&gt;pointed<br>
&gt;&gt; by Soren. Unfortunately I just got to boot one image from 14 but I=
<br>
&gt;&gt; overwritten the sd card and can&#39;t remember which sd card and i=
mage :(<br>
&gt;&gt;<br>
&gt;&gt; The only image I can make it boot is from 13.2R, and I got it<br>
&gt;installed<br>
&gt;&gt; fine (using an EFI image from personalbsd from March 23).<br>
&gt;&gt;<br>
&gt;&gt; Will wait for the next round of images for 14.<br>
&gt;&gt;<br>
&gt;<br>
&gt;Above image works for me:<br>
&gt;<br>
&gt;root@NanoPi-R5S:~ # ifconfig<br>
&gt;re0: flags=3D8803&lt;UP,BROADCAST,SIMPLEX,MULTICAST&gt; metric 0 mtu 15=
00<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D201b&lt;RXCSUM,TXCSUM,VLAN_MTU,VL=
AN_HWTAGGING,WOL_MAGIC&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 62:73:64:e2:d4:87<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.111.2 netmask 0xffffff00 broad=
cast 192.168.111.255<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 status: no carrier<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29&lt;PERFORMNUD,IFDISABLED,A=
UTO_LINKLOCAL&gt;<br>
&gt;re1: flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric =
0 mtu<br>
&gt;1500<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D201b&lt;RXCSUM,TXCSUM,VLAN_MTU,VL=
AN_HWTAGGING,WOL_MAGIC&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 62:73:64:9a:5e:55<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.2.2 netmask 0xffffff00 broadca=
st 192.168.2.255<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000baseT &lt;f=
ull-duplex&gt;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29&lt;PERFORMNUD,IFDISABLED,A=
UTO_LINKLOCAL&gt;<br>
&gt;eq0: flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric =
0 mtu<br>
&gt;1500<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D80008&lt;VLAN_MTU,LINKSTATE&gt;<b=
r>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 22:07:01:bb:41:76<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.1.202 netmask 0xffffff00 broad=
cast 192.168.1.255<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000baseT &lt;f=
ull-duplex&gt;)<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29&lt;PERFORMNUD,IFDISABLED,A=
UTO_LINKLOCAL&gt;<br>
&gt;lo0: flags=3D8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; metric 0 mtu 163=
84<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D680003&lt;RXCSUM,TXCSUM,LINKSTATE=
,RXCSUM_IPV6,TXCSUM_IPV6&gt;<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 ::1 prefixlen 128<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4<=
br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 127.0.0.1 netmask 0xff000000<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 groups: lo<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D21&lt;PERFORMNUD,AUTO_LINKLOC=
AL&gt;<br>
&gt;root@NanoPi-R5S:~ # uname -an<br>
&gt;FreeBSD NanoPi-R5S 14.0-CURRENT FreeBSD 14.0-CURRENT #0<br>
&gt;main-n261950-4aeb939ecf8b-dirty: Sun Apr=C2=A0 2 17:42:01 MSK 2023<br>
&gt;root@honeycomb.local:/usr/crochet/work/obj/usr/crochet/src-current-14.0=
/arm64.aarch64/sys/EXPERT<br>
&gt;arm64<br>
&gt;root@NanoPi-R5S:~ # kldstat<br>
&gt;Id Refs Address=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
Size Name<br>
&gt; 1=C2=A0 =C2=A0 8 0xffff000000000000=C2=A0 10cb350 kernel<br>
&gt; 2=C2=A0 =C2=A0 1 0xffff0000010cd000=C2=A0 =C2=A0 a9508 if_re.ko<br>
&gt; 3=C2=A0 =C2=A0 1 0xffff0000c9e00000=C2=A0 =C2=A0 24000 fdescfs.ko<br>
&gt; 4=C2=A0 =C2=A0 1 0xffff0000c9e24000=C2=A0 =C2=A0 22000 mac_ntpd.ko<br>
&gt;root@NanoPi-R5S:~ #<br>
&gt;<br>
&gt;Ganbold<br>
<br>
Hi Ganbold and others, <br>
<br>
I gave another try today and I got to see some stuff on the serial console =
but the serial terminal itself is not usable. It prints unrecognizable char=
acters, but I could recognize the red beastie logo. <br>
On the hdmi screen I have no output. Can you confirm the serial speed line?=
 <br>
It was 115200 when I saw all that, and then tried 1500000 and despite it wa=
s printing something that looks like the boot, just weird characters appear=
ed.</blockquote><div><br></div><div>With=C2=A0<a href=3D"https://personalbs=
d.org/download/Business/FreeBSD-aarch64-14.0-CURRENT-NanoPi-R5S-20230402.im=
g.xz" target=3D"_blank">https://personalbsd.org/download/Business/FreeBSD-a=
arch64-14.0-CURRENT-NanoPi-R5S-20230402.img.xz</a>=C2=A0image I use 115200.=
</div><div><br></div><div>Ganbold</div><div><br></div><div>=C2=A0</div><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex"> <br>
<br>
Thanks again, <br>
<br>
Matheus <br>
<br>
<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt;<br>
&gt;&gt; matheus<br>
&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I have little understanding of the arch, so my progress i=
s much<br>
&gt;slow.<br>
&gt;&gt; &gt;&gt; I got some dmesg from OpenBSD people where the nics show =
in<br>
&gt;ifconfig.<br>
&gt;&gt; &gt;&gt; But<br>
&gt;&gt; &gt;&gt; I couldn&#39;t get mine to behave this way. I can install=
 though,<br>
&gt;using USB<br>
&gt;&gt; &gt;&gt; nic.<br>
&gt;&gt; &gt;&gt; I will try to buy a new sd card from the good list you po=
inted.<br>
&gt;&gt; &gt;&gt; Another thing, I got the feeling that when I dd&#39;ed th=
e image using<br>
&gt;the<br>
&gt;&gt; &gt;&gt; SD<br>
&gt;&gt; &gt;&gt; card slot on the notebook it worked and when was through =
usb<br>
&gt;adapter did<br>
&gt;&gt; &gt;&gt; not. Does it make sense? Using Linux mint as host for thi=
s.<br>
&gt;&gt; &gt;&gt; Thanks so much for the answer and help,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Matheus<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;You can build a stock ARM64 generic kernel and most t=
hings will<br>
&gt;be<br>
&gt;&gt; &gt;&gt; &gt;usable, however as Ganbold wrote the DTS files is not=
 in there<br>
&gt;yet (and<br>
&gt;&gt; &gt;&gt; &gt;not even in linux where our DTS files are fetched fro=
m).<br>
&gt;&gt; &gt;&gt; &gt;However the EDK2 boot loader provided (and used in ab=
ove image)<br>
&gt;on<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt;<a href=3D"https://people.freebsd.org/~sos/ARM64/EDK2-RK356X/NANOPI=
-R5S_EFI.itb%C3%AF" rel=3D"noreferrer" target=3D"_blank">https://people.fre=
ebsd.org/~sos/ARM64/EDK2-RK356X/NANOPI-R5S_EFI.itb=C3=AF</a><br>
&gt;&gt; =C2=BF=C2=BC<br>
&gt;&gt; &gt;&gt; &gt;NANOPI-R5S_EFI<br>
&gt;&gt; &gt;&gt; &gt;File =C3=82=C2=B7 1,7 MB<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;does hand over the =C3=A2=E2=82=AC=C5=93right=C3=A2=
=E2=82=AC DTB file if you want to experiment.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;If you need the used DTS file and build guidance let =
me know in<br>
&gt;private<br>
&gt;&gt; &gt;&gt; &gt;mail...<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;--<br>
&gt;&gt; &gt;&gt; &gt;S=C3=83=C2=B8ren Schmidt<br>
&gt;&gt; &gt;&gt; &gt;<a href=3D"mailto:sos@deepcore.dk" target=3D"_blank">=
sos@deepcore.dk</a> / <a href=3D"mailto:sos@freebsd.org" target=3D"_blank">=
sos@freebsd.org</a><br>
&gt;&gt; &gt;&gt; &gt;&quot;So much code to hack, so little time&quot;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; ---<br>
&gt;&gt; &gt;&gt; &quot;We will call you Cygnus,<br>
&gt;&gt; &gt;&gt; the God of balance you shall be.&quot;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; &quot;We will call you Cygnus,<br>
&gt;&gt; the God of balance you shall be.&quot;<br>
&gt;&gt; ------------------------------<br>
&gt;&gt; &quot;We will call you Cygnus,<br>
&gt;&gt; the God of balance you shall be.&quot;<br>
<br>
---<br>
&quot;We will call you Cygnus,<br>
the God of balance you shall be.&quot;<br>
</blockquote></div></div>

--000000000000b0b8d505fafcd1d8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGtf9xMpiVjKm4AjGden7B2Rm_zsDHriwrznQHr_UaU%2BUp2FeQ>