From nobody Mon Jun 19 10:18:32 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 4Ql5MH21mNz4fbfL for ; Mon, 19 Jun 2023 10:18:35 +0000 (UTC) (envelope-from madis555@gmail.com) Received: from mail-oo1-xc35.google.com (mail-oo1-xc35.google.com [IPv6:2607:f8b0:4864:20::c35]) (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 4Ql5MG5lSmz4TmM for ; Mon, 19 Jun 2023 10:18:34 +0000 (UTC) (envelope-from madis555@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-oo1-xc35.google.com with SMTP id 006d021491bc7-55e40fac2faso734984eaf.3 for ; Mon, 19 Jun 2023 03:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687169913; x=1689761913; h=cc:to:subject:message-id:date:from:references:in-reply-to:sender :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=tOVuoFu73jTPJIypbfrBqARtCo+BQ51Mb4x3OBSo94s=; b=XpAhdT50P3Gdh2Ikogn5TMka9EcHda9g2/JpK3l1wYsZhUj641T0qMkOr8gW9JKC26 +3qb46M8/riC71/jCsQJJl9IX8TU2yX/1i3BxVAtAXr3jYpl6szdPo53baGK4P+tCAum 3Y4VYhb6CkagcYqadchBj4fuvPspPlA9IhcEfppP6gHmx88pcjrhtQ+adCcwc887S4eY FEuxaQIR9BqGklZ/zfi/EQmwDy9G9PXTtlbrIbESG+yQvQWuftfMbT87ym+TTKjWK78w p9fRHWFDGTfjcchz6YUK2QmI0bnrMTrx3JMJCDaK76sXZ+eja7eAspAQzCjzbRqq50S9 2pdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687169913; x=1689761913; h=cc:to:subject:message-id:date:from:references:in-reply-to:sender :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=tOVuoFu73jTPJIypbfrBqARtCo+BQ51Mb4x3OBSo94s=; b=h2CSJe4DldByZ7ZKomhqAPvG512y6b54TGVUIz+HpTyHhQsM5ICWY7KEewdqbWUGCO U/OjITGvX+y//BG+N5MMON1dJXpfUuqPVh7KPWADqE4UFGtf/r58U8Af4EfmZybSsSQO E4VVNKFdlCCi/EXq9qjDZCxcznSDu94bXFW4YkyokuGyJlbqJsNAVZVvOKMyyRroAuUC WfatAszjBH9KHAqwOgkYdxeEwC+qCg/IlkLCz/OcDqGPVNiFz2HvaETeUgE1g8+dpxvo G7j3esDqF4Zt7I/Sfqj/Z/j6Op+1FmnzlET9Sp13TpCHWkf/Mp3hC6CqYqPp8m/IjFBo QeQg== X-Gm-Message-State: AC+VfDx8qUyNKUbjqF2GrPILi4tyDfn+gfoO+tosS46jmu0+6S4YcInr BC0NM6bgmc8M3WAadb1QaCuQKzw/FyVnAl23WlM= X-Google-Smtp-Source: ACHHUZ5yazWd5VovaRLNqlOfDvgfVAWqjrmqZIZOZqA7iygW/2wNeHEQLL6RNeahXSAX4Bwp8zYreHqCJl5bZDEOJas= X-Received: by 2002:a05:6808:1a08:b0:39a:bd3b:9cb3 with SMTP id bk8-20020a0568081a0800b0039abd3b9cb3mr12530050oib.23.1687169913113; Mon, 19 Jun 2023 03:18:33 -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 Received: by 2002:ac4:a585:0:b0:61f:90d:1db5 with HTTP; Mon, 19 Jun 2023 03:18:32 -0700 (PDT) In-Reply-To: References: <787101D6-CA5E-4E00-8C25-BDBFC7399071@edc.ro> From: Sulev-Madis Silber Date: Mon, 19 Jun 2023 13:18:32 +0300 X-Google-Sender-Auth: O3vuP4LecKQUtqZ9xXKi_xbwthY Message-ID: Subject: Re: Support for rockpi-s (rockchip rk3308) To: Mario Marietto Cc: titus , "freebsd-arm@freebsd.org" Content-Type: multipart/alternative; boundary="00000000000058d01d05fe78dbf9" X-Rspamd-Queue-Id: 4Ql5MG5lSmz4TmM 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 --00000000000058d01d05fe78dbf9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable i wish i could use fbsd phone. but that's like pipe dream. for any moder phone that is. some people have tried hacking it on pinephone iirc? as for rk3308, that's built for smart speakers, hence the 8 channel microphone array with hw offloaded processing that noone has driver for (?) it has SOME video is see but i think allwinners are good here. they are basically meant just for that. custom phone is hell of a crazy idea On Monday, June 19, 2023, Mario Marietto wrote: > 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*. 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 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 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 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/#p= ost-613952 >> >> dmesg attached >> >> >> >> -- >> >> >> >> --------------------------------------------------------------------- >> >> How an engineer writes a program: Starts by debugging an empty file..= . >> >> Titus Manea | Eastern Digital Inc. >> >> >> >> >> > > > -- > Mario. > --00000000000058d01d05fe78dbf9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable i wish i could use fbsd phone. but that's like pipe dream. for any mode= r phone that is. some people have tried hacking it on pinephone iirc?
as for rk3308, that's built for smart speakers, hence the 8 channel m= icrophone array with hw offloaded processing that noone has driver for (?)<= br>it has SOME video is see but

i think allwinners are good here. th= ey are basically meant just for that. custom phone is hell of a crazy idea<= br>
On Monday, June 19, 2023, Mario Marietto <marietto2008@gmail.com> wrote:
> I like wha= t you have got. I'm interested in building a custom phone,powered by Fr= eeBSD. Most of the components have been found by you. What's missing ? = Personally I prefer a physical keyboard,like the blackberry one. And I thin= k 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 miss= es 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 m= odule integrated with the mobo ?
>
> On Mon, Jun 19, 2023 at 8:= 26=E2=80=AFAM Sulev-Madis Silber <mad= is555@hot.ee> wrote:
>>
>> nah, it's emmc, sit= s on sd
>>
>> info from https://wiki.radxa.com/RockpiS/hardware/SDNAND
>>
>> note that they really like to name all their flas= h 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 i= n that. even dual rootfs and config partitions fit in. although it's mo= re freedom in 8g emmc sizes
>>
>> On Monday, June 19, 202= 3, 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, Sulev-Madis Silber <mad= is555@hot.ee> wrote:
>> > i'm keeping my eye on this= . i've long wanted to have rock pi s supported in fbsd. emmc support wo= uld be nice too. i'll get few for tests i'm sure
>> >>> > deserves own message but i have nanopi neo core1 lts runnin= g off just emmc here, with ugly fdt/uboot hacks. just saying, as i had to m= ake it work on my own, i'll bring the methods out if anyone is curious<= br>>> >
>> > On Thursday, June 15, 2023, titus <titus@edc.ro> wrote:
>> >&g= t; Hello,
>> >> I hacked some crude support for rockpi-s.>> >> SD card works
>> >> USB works
>>= >> UART works
>> >> Ethernet works (no media autodete= ct but works).
>> >>
>> >> I added support rk= 3308-cru (clock), rk3308-pinctrl, rk3308-gmac mostly by
>> >>= ; looking at the linux and openbsd code
>> >>
>> &g= t;> https://forums.freebsd.org/threads/adding-sup= port-for-the-rockpi-s.80956/#post-613952
>> >> dmesg att= ached
>> >>
>> >> --
>> >>
= >> >> ---------------------------------------------------------= ------------
>> >> 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.
> --00000000000058d01d05fe78dbf9--