Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2023 09:25:54 +0300
From:      Sulev-Madis Silber <madis555@hot.ee>
To:        titus <titus@edc.ro>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: Support for rockpi-s (rockchip rk3308)
Message-ID:  <CAEawv97q30dnTw8Q02K3FKmz08-mWihNvUW9W1The2mrLWwMkA@mail.gmail.com>
In-Reply-To: <787101D6-CA5E-4E00-8C25-BDBFC7399071@edc.ro>
References:  <ZIs8UJqeupPz1j1j@buko.edc.ro> <CAEawv97GWtzxtNmQF819cp8YbOq6pOo%2BFC-t7Lr6QfY7h%2B8fGQ@mail.gmail.com> <787101D6-CA5E-4E00-8C25-BDBFC7399071@edc.ro>

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

nah, it's emmc, sits on sd

info from https://wiki.radxa.com/RockpiS/hardware/SDNAND

note that they really like to name all their flash sizes as giga*bits*. so
largest is 1gb in size. it's slc though. and therefore small and expensive.
but with some squeezing, fbsd will do fine in that. even dual rootfs and
config partitions fit in. although it's more freedom in 8g emmc sizes

On Monday, June 19, 2023, titus <titus@edc.ro> wrote:
> afaik rockpi-s have =E2=80=9Craw nand" not emmc so it won=E2=80=99t be th=
at easy
>
> On Jun 19, 2023, at 7:18 AM, Sulev-Madis Silber <madis555@hot.ee> wrote:
> i'm keeping my eye on this. i've long wanted to have rock pi s supported
in fbsd. emmc support would be nice too. i'll get few for tests i'm sure
>
> deserves own message but i have nanopi neo core1 lts running off just
emmc here, with ugly fdt/uboot hacks. just saying, as i had to make it work
on my own, i'll bring the methods out if anyone is curious
>
> On Thursday, June 15, 2023, titus <titus@edc.ro> wrote:
>> Hello,
>> I hacked some crude support for rockpi-s.
>> SD card works
>> USB works
>> UART works
>> Ethernet works (no media autodetect but works).
>>
>> I added support rk3308-cru (clock), rk3308-pinctrl, rk3308-gmac mostly b=
y
>> looking at the linux and openbsd code
>>
>>
https://forums.freebsd.org/threads/adding-support-for-the-rockpi-s.80956/#p=
ost-613952
>> dmesg attached
>>
>> --
>>
>> ---------------------------------------------------------------------
>> How an engineer writes a program: Starts by debugging an empty file...
>>  Titus Manea  <titus@edc.ro>       |  Eastern Digital Inc.
>>
>>
>

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

nah, it&#39;s emmc, sits on sd<br><br>info from <a href=3D"https://wiki.rad=
xa.com/RockpiS/hardware/SDNAND">https://wiki.radxa.com/RockpiS/hardware/SDN=
AND</a><br><br>note that they really like to name all their flash sizes as =
giga*bits*. so largest is 1gb in size. it&#39;s slc though. and therefore s=
mall and expensive. but with some squeezing, fbsd will do fine in that. eve=
n dual rootfs and config partitions fit in. although it&#39;s more freedom =
in 8g emmc sizes<br><br>On Monday, June 19, 2023, titus &lt;<a href=3D"mail=
to:titus@edc.ro">titus@edc.ro</a>&gt; wrote:<br>&gt; afaik rockpi-s have =
=E2=80=9Craw nand&quot; not emmc so it won=E2=80=99t be that easy<br>&gt;<b=
r>&gt; On Jun 19, 2023, at 7:18 AM, Sulev-Madis Silber &lt;<a href=3D"mailt=
o:madis555@hot.ee">madis555@hot.ee</a>&gt; wrote:<br>&gt; i&#39;m keeping m=
y eye on this. i&#39;ve long wanted to have rock pi s supported in fbsd. em=
mc support would be nice too. i&#39;ll get few for tests i&#39;m sure<br>&g=
t;<br>&gt; deserves own message but i have nanopi neo core1 lts running off=
 just emmc here, with ugly fdt/uboot hacks. just saying, as i had to make i=
t work on my own, i&#39;ll bring the methods out if anyone is curious<br>&g=
t;<br>&gt; On Thursday, June 15, 2023, titus &lt;<a href=3D"mailto:titus@ed=
c.ro">titus@edc.ro</a>&gt; wrote:<br>&gt;&gt; Hello,<br>&gt;&gt; I hacked s=
ome crude support for rockpi-s.<br>&gt;&gt; SD card works<br>&gt;&gt; USB w=
orks<br>&gt;&gt; UART works<br>&gt;&gt; Ethernet works (no media autodetect=
 but works).<br>&gt;&gt;<br>&gt;&gt; I added support rk3308-cru (clock), rk=
3308-pinctrl, rk3308-gmac mostly by<br>&gt;&gt; looking at the linux and op=
enbsd code<br>&gt;&gt;<br>&gt;&gt; <a href=3D"https://forums.freebsd.org/th=
reads/adding-support-for-the-rockpi-s.80956/#post-613952">https://forums.fr=
eebsd.org/threads/adding-support-for-the-rockpi-s.80956/#post-613952</a><br=
>&gt;&gt; dmesg attached<br>&gt;&gt;<br>&gt;&gt; --<br>&gt;&gt;<br>&gt;&gt;=
 ---------------------------------------------------------------------<br>&=
gt;&gt; How an engineer writes a program: Starts by debugging an empty file=
...<br>&gt;&gt; =C2=A0Titus Manea=C2=A0 &lt;<a href=3D"mailto:titus@edc.ro"=
>titus@edc.ro</a>&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 Eastern Digital Inc=
.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;

--000000000000636e0905fe759b7d--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEawv97q30dnTw8Q02K3FKmz08-mWihNvUW9W1The2mrLWwMkA>