From nobody Mon Jun 19 10:35: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 4Ql5lZ4kCkz4g1DT for ; Mon, 19 Jun 2023 10:36:10 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) (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 4Ql5lZ2J0Vz4kqF for ; Mon, 19 Jun 2023 10:36:10 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-5701810884aso29954447b3.0 for ; Mon, 19 Jun 2023 03:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687170969; x=1689762969; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=VwoHHVZWpSuaKXecBxSYFHpGucuS94y1o0NJpzU+Ulw=; b=KDjO6jb727sIsI0/fs8/ijFanHT33r3n+71luqEpgmM9Sg5p45wRUHD5B7ZmwqF/5c oKDByr5qrCuVj/1ZR4iTffhSkPuvmzjIYFE/1WrKh5tbceSd5D3CPY6HIwfmNsJx8wrF rCjL/UQERYTAL07Xlehm1MLYBoO/fSyDySxWTOnnY05Jgskajpky5HeHBww5S/55N2PT uPP55owNgM/ukIzrkxFsqOxSO1PfwUc+o8dE0kADUo9djNMMIjeKJnM8ohrXl8WhT7mW TTJR0hOVb9CMo6KzIyqz6BnmlQoi6KXckOMyPaqs/8lUjqbVkMrYaHXe0KHT129rFBuO 5TkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687170969; x=1689762969; 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=VwoHHVZWpSuaKXecBxSYFHpGucuS94y1o0NJpzU+Ulw=; b=MfxwdsbhyQQnFuuRw33rFX2I76800tYFBXUZN14t305LNEXjvW1rogGQSRmS8FIdJu GtV0jZXBsWhXItklQmL0Sh4iE9BK6TU9I5lIwdGvbR7g91FpQTuKNAdiM1P5jzBjS7UP kq1XiIB7jCvqp4aRGawhUJRKpklbEcU4iFLSZ+cd1cBNsjF7Tr620RsNFekRsAXbEVDU U7sR01R1AhaOweZrRVtLMOUhiO6fUa3RtlSfRAHhuOPRcmkD5+2yuYf4/V0s9pSgGsMT iE/2/ilLc3Bh11KiNPUnCJFITU29hjc0N4X3F0ywQ5meyeyG48OnKce87/3xcIMbUBML zQdg== X-Gm-Message-State: AC+VfDzFv357FmbxapbLUfSKkU6WMz0RGQhbdbCEmFA0GuinT9f5yIxR kgW7+iD3xKdZBz3lt41e4ZGGXkSQZZFhiOTwb6sVQ+P0OrQ= X-Google-Smtp-Source: ACHHUZ4sG60rGgKDJW/grnl+ZKr37uqlVU71qYfFyvzC09P7KuRFIt5kkd0P2X2DTW800C1R1bVAMRUWDdzvWfJD+ro= X-Received: by 2002:a25:b1a3:0:b0:bcb:c3d6:2b1d with SMTP id h35-20020a25b1a3000000b00bcbc3d62b1dmr480530ybj.34.1687170968717; Mon, 19 Jun 2023 03:36:08 -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:35:32 +0200 Message-ID: Subject: Re: Support for rockpi-s (rockchip rk3308) To: Sulev-Madis Silber Cc: titus , "freebsd-arm@freebsd.org" Content-Type: multipart/related; boundary="00000000000044316405fe791a94" X-Rspamd-Queue-Id: 4Ql5lZ2J0Vz4kqF 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 --00000000000044316405fe791a94 Content-Type: multipart/alternative; boundary="00000000000044316205fe791a93" --00000000000044316205fe791a93 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I don't care at all about the world of smartphones. I care about me,what I like and what my FreeBSD lovers like to have and to do. For sure we want a mobile phone powered by FreeBSD. So,as I have already explained,maybe not enough,the project would start as an internal hobby. No one understood this,maybe. But I'm working on some kind of solution. I'm exploring what the other users are doing and so on. Some years ago I bought the blackberry passport because I like the form factor,with the goal of hacking it one day [image: :)],installing Linux on it. But years have passed and no one has been able to do that. So,some days ago I got an idea : what about removing all the internal components of my blackberry passport and replacing them with new hardware components,freebsd compatible ? Personally I prefer a physical keyboard,like the blackberry one. I think the most brutal work is to find a proper hardware with the driver supported by freebsd,because I don't think we can do something if we are forced to hire a lot of developers to write the drivers. We should be smart. What still misses is a GSM / CDMA / HSPA / EVDO / LTE module for placing phone calls,sms and internet with the relative freebsd driver. And a good GPU integrated in a compatible mobo. This is my preferite hobby : dirty your hands with u-boot fixes, EGL, kernel patches. My preferite hobby is not to deal with the business model or paying the developers. I'm very poor and inexperienced in this area. My idea is to start this hobby trying to find the most hardware and software already present on the market and call some developers to make minor fixes. Not much more than this. For sure I don't want the project to turn into thousands of dollars right away. Someone will in the future. Not me. For sure not at the beginning. And not in the near future. If Linux is not ready yet for mobile,how can it be FreeBSD ? Furthermore on the FreeBSD forums I found a very hot welcome and experienced people who helped me a lot for free. So I thought that kind of project might catch on. I must have done something wrong. They probably help if it doesn't take up too much time. But they didn't understand that such a project shouldn't take away their time, because it's so complicated that it has to be carried out slowly. Too bad they didn't understand this. And then I think they are too realistic and they stopped dreaming. And maybe they think too much about money. On Mon, Jun 19, 2023 at 12:18=E2=80=AFPM Sulev-Madis Silber wrote: > 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 emm= c > 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 jus= t > 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. > >> >> > >> >> > >> > > > > > -- > > Mario. > > --=20 Mario. --00000000000044316205fe791a93 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't care at all about the world of smartphone= s. I care about me,what I=20 like and what my FreeBSD lovers like to have and to do. For sure we=20 want a mobile phone powered by FreeBSD. So,as I have already=20 explained,maybe not enough,the project would start as an internal hobby. No one understood this,maybe. But I'm working on some kind of solution= . I'm exploring what the other users are doing and so on.

Some years ago I bought the blackberry passport=20 because I like the form factor,with the goal of hacking it one day 3D":)",installing Linux on it. But years have passed and no one has been able to do that. So,some days ago I got an idea : what about removing all the=20 internal components of my blackberry passport and replacing them with new= =20 hardware components,freebsd compatible ? Personally I prefer a physical=20 keyboard,like the blackberry one. I think the most brutal work is to=20 find a proper hardware with the driver supported by freebsd,because I=20 don't think we can do something if we are forced to hire a lot of=20 developers to write the drivers. We should be smart. What still misses=20 is a GSM / CDMA / HSPA / EVDO / LTE module for placing phone calls,sms and internet with the relative freebsd driver. And a good GPU integrated in a compatible mobo.

This is my preferite hobby : dirty your hands with u-boot fixes, EGL,=20 kernel patches. My preferite hobby is not to deal with the business=20 model or paying the developers. I'm very poor and inexperienced in this= =20 area. My idea is to start this hobby trying to find the most hardware=20 and software already present on the market and call some developers to=20 make minor fixes. Not much more than this. For sure I don't want the pr= oject to turn into thousands of dollars right away. Someone will in the future. Not me.

For sure not at the beginning. And not in the near future. If Linux is=20 not ready yet for mobile,how can it be FreeBSD ? Furthermore on the=20 FreeBSD forums I found a very hot welcome and experienced people who=20 helped me a lot for free. So I thought that kind of project might catch=20 on. I must have done something wrong. They probably help if it doesn't= =20 take up too much time. But they didn't understand that such a project= =20 shouldn't take away their time, because it's so complicated that it= has=20 to be carried out slowly. Too bad they didn't understand this. And then= I think they are too realistic and they stopped dreaming. And maybe they=20 think too much about money.

On Mon, Jun 19, 2023 at 12:18=E2=80=AFPM S= ulev-Madis Silber <madis555@hot.ee> wrote:
i w= ish i could use fbsd phone. but that's like pipe dream. for any moder p= hone that is. some people have tried hacking it on pinephone iirc?

a= s for rk3308, that's built for smart speakers, hence the 8 channel micr= ophone 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 <
marietto2008@gmail.com> wrote:
= > I like what you have got. I'm interested in building a custom phon= e,powered by FreeBSD. Most of the components have been found by you. What&#= 39;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 drive= r supported by freebsd. I don't know if it's easier to use a physic= al keyboard or a touch screen with the driver attached freebsd compatible. = What still misses is a GSM / CDMA / HSPA / EVDO / LTE module for place phon= e calls.sms and internet. What about the GPU ? Does your rockchip rk3308 ha= ve a good GPU module integrated with the mobo ?
>
> On Mon, Jun= 19, 2023 at 8:26=E2=80=AFAM Sulev-Madis Silber <madis555@hot.ee> 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 expe= nsive. 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 si= zes
>>
>> On Monday, June 19, 2023, titus <titus@edc.ro> wrote:
>&= gt; > 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 <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 c= ore1 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 any= one is curious
>> >
>> > On Thursday, June 15, 2023= , titus <titus@edc.ro<= /a>> wrote:
>> >> Hello,
>> >> I hacked so= me crude support for rockpi-s.
>> >> SD card works
>&g= t; >> USB works
>> >> UART works
>> >> = Ethernet works (no media autodetect but works).
>> >>
>= ;> >> I added support rk3308-cru (clock), rk3308-pinctrl, rk3308-g= mac mostly by
>> >> looking at the linux and openbsd code>> >>
>> >>
https://forums.freebsd.org/threads/adding-support-for-the-rockpi-s.80= 956/#post-613952
>> >> dmesg attached
>> >&g= t;
>> >> --
>> >>
>> >> ------= ---------------------------------------------------------------
>>= >> How an engineer writes a program: Starts by debugging an empty fi= le...
>> >> =C2=A0Titus Manea=C2=A0 <titus@edc.ro>=C2=A0 =C2=A0 =C2=A0 =C2= =A0|=C2=A0 Eastern Digital Inc.
>> >>
>> >>>> >
>
> --
> Mario.
>


--
Mario.
--00000000000044316205fe791a93-- --00000000000044316405fe791a94 Content-Type: image/gif; name="image.gif" Content-Disposition: inline; filename="image.gif" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: ii_lj2pxn9i0 R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 --00000000000044316405fe791a94--