From nobody Mon Jun 19 10:05:33 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ql5504SP1z4fJqs for ; Mon, 19 Jun 2023 10:06:12 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-vs1-xe32.google.com (mail-vs1-xe32.google.com [IPv6:2607:f8b0:4864:20::e32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ql54z67dfz4Ndd for ; Mon, 19 Jun 2023 10:06:11 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-vs1-xe32.google.com with SMTP id ada2fe7eead31-44098ef627eso780605137.2 for ; Mon, 19 Jun 2023 03:06:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687169170; x=1689761170; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=vCFbhhhB48Bf1LNC+Vh3y5M9acsyjLH2aXrxEh92ZkI=; b=Ty7fbTIwPhDuZGrMd0VKLr4r5ZNW2RG906baFy/F1o7yz0EhsSg99FoDSoieMbZa/U 8MVzcRhh8b9cnWWSE4hasmgXpbvb3sHi6Oe9JjITX2bfOk7pOcJQYu8znewo98fCwZb5 k7OmJ5UupgslRBo4TFxT8pA5/0JiYLs6sidFYTNPWRogp3sQMI8alryIzE4l4BXC1REr oFQ+hUkBcUT/4cXzz3x5D0Sf77mxeL2O5ZGbGoOcj1pe9ngdHb3kl6IKhpKudId4sppP gM/aDVIwxKEQFL8dXvdk7UaK89V93IZGrQwjFwSJzzKyWZJ9A0AcXYJHOHTGo8ESlFTm CbfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687169170; x=1689761170; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vCFbhhhB48Bf1LNC+Vh3y5M9acsyjLH2aXrxEh92ZkI=; b=mHr/W84Eedz6TtdnZoWiVAfO9Ha9m+jyuEiYhBw+/9S3mZQnx/z1Nrwj6SlfR3VEgf v9RQgWi2URYNaZRkjJHLO9iCpA+rAiJmnrhkD29G3uDKP7Y8IvvZkeIFJ5ADRwCfqCVt bT+3sYPET1GKkuo/P2y8ZK5pn2hX5gh4/EUGwLZQiIDPAzAfnY0ijMaOvvvk5jnIeU/l 40XY/YzVkMiPNJFo2P//1XtQXlV04wGeM0gLQ7QUko0sDl4xFUYGD9kb//+6CJ/MF0zM LpGv+17umZRgvITB3s2pzI90q7/rT0KYraMuHWVL8OCicd4ArNsc5pWi6nF3D7ntyx4T Ax+w== X-Gm-Message-State: AC+VfDzYyYwwCpq+kyaLGZN4odYs2gJLbYNiSK1bsZihDCjSRNGGDWHI toGO1dwykz1RR+7UAZY5MdeIm5pCC2mJqcrgcafUWmHRBWc= X-Google-Smtp-Source: ACHHUZ6Qstb6d++5XtyOZFj5s0t4FK3atWRbL8zBOR3FBQ8sj8OZ5cTXc1Vv37bAuj41xCoaD98ENwFvUUIjpdZg5QY= X-Received: by 2002:a67:e44d:0:b0:43f:4f6a:3141 with SMTP id n13-20020a67e44d000000b0043f4f6a3141mr2486567vsm.19.1687169169723; Mon, 19 Jun 2023 03:06:09 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: <787101D6-CA5E-4E00-8C25-BDBFC7399071@edc.ro> In-Reply-To: From: Mario Marietto Date: Mon, 19 Jun 2023 12:05:33 +0200 Message-ID: Subject: Re: Support for rockpi-s (rockchip rk3308) To: Sulev-Madis Silber Cc: titus , freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="0000000000000996c205fe78af68" X-Rspamd-Queue-Id: 4Ql54z67dfz4Ndd X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --0000000000000996c205fe78af68 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I like what you have got. I'm interested in building a custom phone,powered by FreeBSD. Most of the components have been found by you. What's missing ? Personally I prefer a physical keyboard,like the blackberry one. And I think there is the need to find a proper hardware with the driver supported by freebsd. I don't know if it's easier to use a physical keyboard or a touch screen with the driver attached freebsd compatible. What still misses is a GSM / CDMA / HSPA / EVDO / LTE module for place phone calls.sms and internet. What about the GPU ? Does your rockchip rk3308 have a good GPU module integrated with the mobo ? On Mon, Jun 19, 2023 at 8:26=E2=80=AFAM Sulev-Madis Silber wrote: > 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*. s= o > largest is 1gb in size. it's slc though. and therefore small and expensiv= e. > 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 wrote: > > afaik rockpi-s have =E2=80=9Craw nand" not emmc so it won=E2=80=99t be = that easy > > > > On Jun 19, 2023, at 7:18 AM, Sulev-Madis Silber wrote= : > > i'm keeping my eye on this. i've long wanted to have rock pi s supporte= d > 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 wo= rk > on my own, i'll bring the methods out if anyone is curious > > > > On Thursday, June 15, 2023, titus 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 > by > >> looking at the linux and openbsd code > >> > >> > https://forums.freebsd.org/threads/adding-support-for-the-rockpi-s.80956/= #post-613952 > >> dmesg attached > >> > >> -- > >> > >> --------------------------------------------------------------------- > >> How an engineer writes a program: Starts by debugging an empty file... > >> Titus Manea | Eastern Digital Inc. > >> > >> > > --=20 Mario. --0000000000000996c205fe78af68 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I like what you have got. I'm interested in building a= custom phone,powered by FreeBSD. Most of the components have been found by= you. What's missing ? Personally I prefer a physical keyboard,like the= blackberry one. And I think there is the need to find a proper hardware wi= th the driver supported by freebsd. I don't know if it's easier to = use a physical keyboard or a touch screen with the driver attached freebsd = compatible. What still misses is a GSM / CDMA / HSPA / EVDO / LTE module for place phone calls.sms an= d internet. What about the GPU ? Does your rockchip rk3308 have a good GPU = module integrated with the mobo ?

=
On Mon, Jun 19, 2023 at 8:26=E2=80=AF= AM Sulev-Madis Silber <madis555@hot.e= e> wrote:
nah, it's emmc, sits on sd

info from https://wiki.radxa.com/R= ockpiS/hardware/SDNAND

note that they really like to name all th= eir flash sizes as giga*bits*. so largest is 1gb in size. it's slc thou= gh. and therefore small and expensive. but with some squeezing, fbsd will d= o fine in that. even dual rootfs and config partitions fit in. although it&= #39;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 w= on=E2=80=99t be that easy
>
> On Jun 19, 2023, at 7:18 AM, Sule= v-Madis Silber <mad= is555@hot.ee> wrote:
> i'm keeping my eye on this. i'v= e long wanted to have rock pi s supported in fbsd. emmc support would be ni= ce too. i'll get few for tests i'm sure
>
> deserves ow= n 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= 9;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 by
>> looking at the linux and openbs= d code
>>
>> htt= ps://forums.freebsd.org/threads/adding-support-for-the-rockpi-s.80956/#post= -613952
>> dmesg attached
>>
>> --
>&g= t;
>> ------------------------------------------------------------= ---------
>> How an engineer writes a program: Starts by debugging= an empty file...
>> =C2=A0Titus Manea=C2=A0 <titus@edc.ro>=C2=A0 =C2=A0 =C2=A0 = =C2=A0|=C2=A0 Eastern Digital Inc.
>>
>>
>


--
Mario.
--0000000000000996c205fe78af68--