Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2023 14:00:51 +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:  <CAGtf9xMs3dEYw%2B7f%2B3xaiP2=_kMWhL9azedzLrDE90SsttmMrA@mail.gmail.com>
In-Reply-To: <AFC043FB-28F5-462F-A53B-7CB007F8E935@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> <CAGtf9xMpiVjKm4AjGden7B2Rm_zsDHriwrznQHr_UaU%2BUp2FeQ@mail.gmail.com> <AFC043FB-28F5-462F-A53B-7CB007F8E935@arroway.org>

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

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

>
>
> On May 5, 2023 11:03:47 PM GMT-03:00, Ganbold Tsagaankhuu <
> ganbold@gmail.com> wrote:
> >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> w=
rote:
> >> >
> >> >> > On Tue, May 2, 2023 at 6:50=C3=A2=E2=82=AC=C2=AFPM Matheus <lojas=
@arroway.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 mt=
u
> >> >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 mt=
u
> >> >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/EX=
PERT
> >> >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
> >console
> >> 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-Na=
noPi-R5S-20230402.img.xz
> >image
> >I use 115200.
> >
> >Ganbold
>
> Thanks. Tried earlier but no luck.
>
> Could you send me a dmesg? I think much of it is in the acpi/dtb issue. I
> would like to see how your dmesg shows.
>

Here it is:

https://dmesgd.nycbug.org/index.cgi?do=3Dview&id=3D7129

Ganbold



>
> Does it have regular hdmi output? As there is in 13.2?
>
> Thanks,
>
> Matheus
>
> >>
> >>
> >> 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 DT=
B file 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."
> >>
>
> ---
> "We will call you Cygnus,
> the God of balance you shall be."
>

--00000000000075663405fb0021d8
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 1:55=E2=80=AFP=
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 11:03:47 PM GMT-03:00, Ganbold Tsagaankhuu &lt;<a href=3D"ma=
ilto:ganbold@gmail.com" target=3D"_blank">ganbold@gmail.com</a>&gt; wrote:<=
br>
&gt;On Sat, May 6, 2023 at 6:03=E2=80=AFAM Matheus &lt;<a href=3D"mailto:lo=
jas@arroway.org" target=3D"_blank">lojas@arroway.org</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On May 5, 2023 2:23:15 AM GMT-03:00, Ganbold Tsagaankhuu &lt;<br>
&gt;&gt; <a href=3D"mailto:ganbold@gmail.com" target=3D"_blank">ganbold@gma=
il.com</a>&gt; wrote:<br>
&gt;&gt; &gt;On Thu, May 4, 2023 at 10:05=E2=80=AFPM Matheus &lt;<a href=3D=
"mailto:lojas@arroway.org" target=3D"_blank">lojas@arroway.org</a>&gt; wrot=
e:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; On Tue, May 2, 2023 at 6:50=C3=A2=E2=82=AC=C2=AFPM M=
atheus &lt;<a href=3D"mailto:lojas@arroway.org" target=3D"_blank">lojas@arr=
oway.org</a>&gt;<br>
&gt;wrote:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; On May 1, 2023 1:47:12 PM GMT-03:00, &quot;S=C3=
=83=C2=B8ren Schmidt&quot; &lt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; <a href=3D"mailto:soren.schmidt@gmail.com" targe=
t=3D"_blank">soren.schmidt@gmail.com</a>&gt; wrote:<br>
&gt;&gt; &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; wrote:<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; Hi,<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; I am trying to have FreeBSD 14 running =
on this SBC. I could<br>
&gt;not<br>
&gt;&gt; &gt;find<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;any guides in how to build images for it. I =
found the<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<a href=3D"http://people.freebsd.org/~sos/" =
rel=3D"noreferrer" target=3D"_blank">people.freebsd.org/~sos/</a> site that=
 has some images, and one<br>
&gt;for<br>
&gt;&gt; &gt;it,<br>
&gt;&gt; &gt;&gt; but<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;that seldom boots my board, and when it did,=
 there was no<br>
&gt;console<br>
&gt;&gt; &gt;over<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;serial or vga.<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;&gt; If anyone can give any hints. Unfortuna=
tely my dev skills<br>
&gt;are<br>
&gt;&gt; &gt;not<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;good. But I can test and help build once I f=
igure out how :)<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;Hi Matheus<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;The image at<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&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;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;for the Nanopi R5S does indeed boot with bot=
h HDMI output and<br>
&gt;&gt; &gt;serial<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;console (1500000baud).<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;The boot loader (EDK2 in FDT mode) is very p=
icky on SD card<br>
&gt;&gt; &gt;quality<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;though from experience, I works for me with =
Sandisk Ultra /<br>
&gt;&gt; &gt;Extreme<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;cards but not with Samsung and cheap noname =
SD cards YMMV.<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Hi S=C3=83=C2=B8ren,<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; I had really issues on sd carda. I got it to boo=
t once, but I<br>
&gt;was<br>
&gt;&gt; &gt;&gt; &gt;&gt; printing<br>
&gt;&gt; &gt;&gt; &gt;&gt; characters on screen at one per second. So I reb=
ooted and don&#39;t<br>
&gt;&gt; &gt;remember<br>
&gt;&gt; &gt;&gt; &gt;&gt; why rewrote the card. I can&#39;t boot anymore. =
Tried different<br>
&gt;cards,<br>
&gt;&gt; &gt;&gt; &gt;&gt; SanDisk<br>
&gt;&gt; &gt;&gt; &gt;&gt; ultra, no luck.<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; I can boot an 13.2 image from the guy at persona=
lbsd though.<br>
&gt;But<br>
&gt;&gt; &gt;there I<br>
&gt;&gt; &gt;&gt; &gt;&gt; have just one ethernet.<br>
&gt;&gt; &gt;&gt; &gt;&gt; On 13.2 I cannot list the ethernets nics using p=
ciconf -lv,<br>
&gt;&gt; &gt;including<br>
&gt;&gt; &gt;&gt; &gt;&gt; the<br>
&gt;&gt; &gt;&gt; &gt;&gt; one that works. Is this expected?<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Yes. Did you try<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<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;&gt; &gt; ?<br>
&gt;&gt; &gt;&gt; &gt; This image should have support for pcie and all ethe=
rnet should<br>
&gt;&gt; &gt;work<br>
&gt;&gt; &gt;&gt; IIRC.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; Ganbold<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Hi Ganbold,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; I tried it and other 2 images and no success, including t=
he image<br>
&gt;&gt; &gt;pointed<br>
&gt;&gt; &gt;&gt; by Soren. Unfortunately I just got to boot one image from=
 14 but I<br>
&gt;&gt; &gt;&gt; overwritten the sd card and can&#39;t remember which sd c=
ard and image<br>
&gt;:(<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; The only image I can make it boot is from 13.2R, and I go=
t it<br>
&gt;&gt; &gt;installed<br>
&gt;&gt; &gt;&gt; fine (using an EFI image from personalbsd from March 23).=
<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Will wait for the next round of images for 14.<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;Above image works for me:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;root@NanoPi-R5S:~ # ifconfig<br>
&gt;&gt; &gt;re0: flags=3D8803&lt;UP,BROADCAST,SIMPLEX,MULTICAST&gt; metric=
 0 mtu 1500<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0<br>
&gt;options=3D201b&lt;RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,WOL_MAGIC&gt;<b=
r>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 62:73:64:e2:d4:87<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.111.2 netmask 0xfffff=
f00 broadcast<br>
&gt;192.168.111.255<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 status: no carrier<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29&lt;PERFORMNUD,IFD=
ISABLED,AUTO_LINKLOCAL&gt;<br>
&gt;&gt; &gt;re1: flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt=
; metric 0 mtu<br>
&gt;&gt; &gt;1500<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0<br>
&gt;options=3D201b&lt;RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,WOL_MAGIC&gt;<b=
r>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 62:73:64:9a:5e:55<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.2.2 netmask 0xffffff0=
0 broadcast 192.168.2.255<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000ba=
seT &lt;full-duplex&gt;)<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29&lt;PERFORMNUD,IFD=
ISABLED,AUTO_LINKLOCAL&gt;<br>
&gt;&gt; &gt;eq0: flags=3D8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt=
; metric 0 mtu<br>
&gt;&gt; &gt;1500<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 options=3D80008&lt;VLAN_MTU,LINKST=
ATE&gt;<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 ether 22:07:01:bb:41:76<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 192.168.1.202 netmask 0xfffff=
f00 broadcast<br>
&gt;192.168.1.255<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 media: Ethernet autoselect (1000ba=
seT &lt;full-duplex&gt;)<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 status: active<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D29&lt;PERFORMNUD,IFD=
ISABLED,AUTO_LINKLOCAL&gt;<br>
&gt;&gt; &gt;lo0: flags=3D8049&lt;UP,LOOPBACK,RUNNING,MULTICAST&gt; metric =
0 mtu 16384<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0<br>
&gt;options=3D680003&lt;RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6&gt;=
<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 ::1 prefixlen 128<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet6 fe80::1%lo0 prefixlen 64 sco=
peid 0x4<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 inet 127.0.0.1 netmask 0xff000000<=
br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 groups: lo<br>
&gt;&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 nd6 options=3D21&lt;PERFORMNUD,AUT=
O_LINKLOCAL&gt;<br>
&gt;&gt; &gt;root@NanoPi-R5S:~ # uname -an<br>
&gt;&gt; &gt;FreeBSD NanoPi-R5S 14.0-CURRENT FreeBSD 14.0-CURRENT #0<br>
&gt;&gt; &gt;main-n261950-4aeb939ecf8b-dirty: Sun Apr=C2=A0 2 17:42:01 MSK =
2023<br>
&gt;&gt; &gt;root@honeycomb.local<br>
&gt;&gt;<br>
&gt;:/usr/crochet/work/obj/usr/crochet/src-current-14.0/arm64.aarch64/sys/E=
XPERT<br>
&gt;&gt; &gt;arm64<br>
&gt;&gt; &gt;root@NanoPi-R5S:~ # kldstat<br>
&gt;&gt; &gt;Id Refs Address=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 Size Name<br>
&gt;&gt; &gt; 1=C2=A0 =C2=A0 8 0xffff000000000000=C2=A0 10cb350 kernel<br>
&gt;&gt; &gt; 2=C2=A0 =C2=A0 1 0xffff0000010cd000=C2=A0 =C2=A0 a9508 if_re.=
ko<br>
&gt;&gt; &gt; 3=C2=A0 =C2=A0 1 0xffff0000c9e00000=C2=A0 =C2=A0 24000 fdescf=
s.ko<br>
&gt;&gt; &gt; 4=C2=A0 =C2=A0 1 0xffff0000c9e24000=C2=A0 =C2=A0 22000 mac_nt=
pd.ko<br>
&gt;&gt; &gt;root@NanoPi-R5S:~ #<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;Ganbold<br>
&gt;&gt;<br>
&gt;&gt; Hi Ganbold and others,<br>
&gt;&gt;<br>
&gt;&gt; I gave another try today and I got to see some stuff on the serial=
<br>
&gt;console<br>
&gt;&gt; but the serial terminal itself is not usable. It prints<br>
&gt;unrecognizable<br>
&gt;&gt; characters, but I could recognize the red beastie logo.<br>
&gt;&gt; On the hdmi screen I have no output. Can you confirm the serial sp=
eed<br>
&gt;&gt; line?<br>
&gt;&gt; It was 115200 when I saw all that, and then tried 1500000 and desp=
ite<br>
&gt;it<br>
&gt;&gt; was printing something that looks like the boot, just weird<br>
&gt;characters<br>
&gt;&gt; appeared.<br>
&gt;<br>
&gt;<br>
&gt;With<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;image<br>
&gt;I use 115200.<br>
&gt;<br>
&gt;Ganbold<br>
<br>
Thanks. Tried earlier but no luck. <br>
<br>
Could you send me a dmesg? I think much of it is in the acpi/dtb issue. I w=
ould like to see how your dmesg shows.<br></blockquote><div><br></div><div>=
Here it is:</div><div><br></div><div><a href=3D"https://dmesgd.nycbug.org/i=
ndex.cgi?do=3Dview&amp;id=3D7129">https://dmesgd.nycbug.org/index.cgi?do=3D=
view&amp;id=3D7129</a><br></div><div><br></div><div>Ganbold</div><div><br><=
/div><div>=C2=A0</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>
Does it have regular hdmi output? As there is in 13.2?<br>
<br>
Thanks, <br>
<br>
Matheus<br>
<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks again,<br>
&gt;&gt;<br>
&gt;&gt; Matheus<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Thanks,<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; matheus<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; I have little understanding of the arch, so my p=
rogress is much<br>
&gt;&gt; &gt;slow.<br>
&gt;&gt; &gt;&gt; &gt;&gt; I got some dmesg from OpenBSD people where the n=
ics show in<br>
&gt;&gt; &gt;ifconfig.<br>
&gt;&gt; &gt;&gt; &gt;&gt; But<br>
&gt;&gt; &gt;&gt; &gt;&gt; I couldn&#39;t get mine to behave this way. I ca=
n install though,<br>
&gt;&gt; &gt;using USB<br>
&gt;&gt; &gt;&gt; &gt;&gt; nic.<br>
&gt;&gt; &gt;&gt; &gt;&gt; I will try to buy a new sd card from the good li=
st you pointed.<br>
&gt;&gt; &gt;&gt; &gt;&gt; Another thing, I got the feeling that when I dd&=
#39;ed the image<br>
&gt;using<br>
&gt;&gt; &gt;the<br>
&gt;&gt; &gt;&gt; &gt;&gt; SD<br>
&gt;&gt; &gt;&gt; &gt;&gt; card slot on the notebook it worked and when was=
 through usb<br>
&gt;&gt; &gt;adapter did<br>
&gt;&gt; &gt;&gt; &gt;&gt; not. Does it make sense? Using Linux mint as hos=
t for this.<br>
&gt;&gt; &gt;&gt; &gt;&gt; Thanks so much for the answer and help,<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; Matheus<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;You can build a stock ARM64 generic kernel a=
nd most things<br>
&gt;will<br>
&gt;&gt; &gt;be<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;usable, however as Ganbold wrote the DTS fil=
es is not in there<br>
&gt;&gt; &gt;yet (and<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;not even in linux where our DTS files are fe=
tched from).<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;However the EDK2 boot loader provided (and u=
sed in above<br>
&gt;image)<br>
&gt;&gt; &gt;on<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt;<a href=3D"https://people.freebsd.org/~sos/ARM64/EDK2-RK356X/NA=
NOPI-R5S_EFI.itb%C3%AF" rel=3D"noreferrer" target=3D"_blank">https://people=
.freebsd.org/~sos/ARM64/EDK2-RK356X/NANOPI-R5S_EFI.itb=C3=AF</a><br>
&gt;&gt; &gt;&gt; =C2=BF=C2=BC<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;NANOPI-R5S_EFI<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;File =C3=82=C2=B7 1,7 MB<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;does hand over the =C3=A2=E2=82=AC=C5=93righ=
t=C3=A2=E2=82=AC DTB file if you want to<br>
&gt;experiment.<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;If you need the used DTS file and build guid=
ance let me know<br>
&gt;in<br>
&gt;&gt; &gt;private<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;mail...<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;--<br>
&gt;&gt; &gt;&gt; &gt;&gt; &gt;S=C3=83=C2=B8ren Schmidt<br>
&gt;&gt; &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;&gt; &gt;&quot;So much code to hack, so little time&q=
uot;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt; ---<br>
&gt;&gt; &gt;&gt; &gt;&gt; &quot;We will call you Cygnus,<br>
&gt;&gt; &gt;&gt; &gt;&gt; the God of balance you shall be.&quot;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<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; &quot;We will call you Cygnus,<br>
&gt;&gt; &gt;&gt; the God of balance you shall be.&quot;<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>
<br>
---<br>
&quot;We will call you Cygnus,<br>
the God of balance you shall be.&quot;<br>
</blockquote></div></div>

--00000000000075663405fb0021d8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGtf9xMs3dEYw%2B7f%2B3xaiP2=_kMWhL9azedzLrDE90SsttmMrA>