From nobody Tue May 30 13:02:38 2023 X-Original-To: freebsd-current@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 4QVsyX272Gz4XSmH for ; Tue, 30 May 2023 13:03:16 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) (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 4QVsyX0VCpz4H5v for ; Tue, 30 May 2023 13:03:16 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-bb131cd7c4aso71289276.1 for ; Tue, 30 May 2023 06:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685451795; x=1688043795; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=CyAFwX8wvMr1kcNU/8gSfdGaq22szMxqPXJdxm4HAAU=; b=ABtMg0qk1ymMLPPonQeMvAJ8KYW5nGeNIiZmbc4lo4nK1s0EFmPSuiN9RrO2CJtBNz UHrIJrs1/p/GrlxnNV8jV3xAhrisC1KENqP+jM00hlElblqUxl8umKJhEkP5UB8Hyo3u 9meEtjK+NbJ9NuT0Iur7cHwdFUKwn9+VEOYU1q4QRC2vmqe4ajkKym6mWTmdVKSko72m Mrl9PYoe6pHmqqKbESXS1+61yLKmaYIYFk/UFo/8jmJmLLcTM06ofKzuGF7u6oenAWny bLeAZWV8xXWPcXPuoD3g2Ce3WYWNiRqnV5Q5yrAVo63/CLG7oSz2v0HSx6/z6bOa9RDj MKjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685451795; x=1688043795; 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=CyAFwX8wvMr1kcNU/8gSfdGaq22szMxqPXJdxm4HAAU=; b=kZoR8zDiJYbdarxBqs8KzfdnqStZ78VMoXQt5Z0xA8/LBi6blGiwK8/JL9awyx37NH 5A9cDjWQO/vuxqZjkP1Z3ejgCIYtPDF6phFx3DJOJoX+V4jTkVGD5/POLoajo1xOrihL ES+Zh9BoNrR88y2TR2D7tK7LnkjErtABQOkq1N/FxCUYIxDVk02b0yvQt2D9+OYV2wz3 OMF51tXzm7SnF35Lp5PcSJ9NiW7aPDmjOOytZLP1kN2vc5l8GIO68wVL2N7sFeUBojPo R3EikYxrjvxczz5uhhi9iqpMJxMHXAx7CkBOhAs/oFxdwvuAHhNXwn/WxXxiPwevvxtj /oOw== X-Gm-Message-State: AC+VfDzKCGfpW7c3ojUNIRomCvV1QfiBQ3qS2aOrIhE0qMl1kREWSGfF LIrHQM7leLvMtu2/xcHFv3sZvQtAtj8VkMRqeXvBGYtprCSs0A== X-Google-Smtp-Source: ACHHUZ60IFQlUKOz7oOh/qlC3MiJse9TZTaTQ37NrrQu7lNFKhn4vW3QaMtYkoSUHnZ9ED8PkVcfmOpBZSOr4G2E9F4= X-Received: by 2002:a81:494f:0:b0:55d:3e67:2c6f with SMTP id w76-20020a81494f000000b0055d3e672c6fmr2288459ywa.22.1685451795123; Tue, 30 May 2023 06:03:15 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 References: <86leh6ggfx.fsf@pcf00001.honeyguide.net> In-Reply-To: <86leh6ggfx.fsf@pcf00001.honeyguide.net> From: Mario Marietto Date: Tue, 30 May 2023 15:02:38 +0200 Message-ID: Subject: Re: PinePhone Pro Boots On CURRENT To: Stephan Lichtenauer Cc: Pete Wright , FreeBSD Current Content-Type: multipart/alternative; boundary="00000000000088d30b05fce8d37f" X-Rspamd-Queue-Id: 4QVsyX0VCpz4H5v 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 --00000000000088d30b05fce8d37f Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable That's interesting. As I have already said,I haven't bought the pinephone pro,because it is expensive for me. So I'm working on a parallel project. I've bought this phone,instead : https://www.hdblog.it/schede-tecniche/samsung-galaxy-a6_i3655/ That's cheaper. Between the specs I read that it has a mali gpu,too : Mali-T830MP2 so,eventually,I can use the Lima and the PanFrost driver even for my samsung galaxy A6 ? I've started planning to install FreeBSD on top of the Android Kernel,using a specific patch,but now I'm thinking that maybe,I can install FreeBSD there natively. Can someone tell me if it is doable,giving a look at the specs of that phone model ? thanks. On Tue, May 30, 2023 at 2:19=E2=80=AFPM Stephan Lichtenauer < sl-pub-lists@honeyguide.de> wrote: > Hi Pete, > > Pete Wright writes: > > > i've had this pinephone pro for a few months now and finally got > > around > > to attempting to boot FreeBSD on it.. Here's the phone: > > https://wiki.pine64.org/wiki/PinePhone_Pro > > > > I needed to get this serial console adapter which works > > flawlessly with "cu" > > (USB TTL Serial Adapter Converter Cable 3.3v/3v3 3.5mm Stereo > > Jack Cable): > > > https://www.amazon.com/dp/B00XSPECIA?psc=3D1&ref=3Dppx_yo2ov_dt_b_product= _details > > > > then i just downloaded the latest CURRENT snapshot and put it on > > a > > microsd card and it booted into multi-user mode.. here's the > > dmesg: > > https://www.nomadlogic.org/ppro-dmesg.txt > > > > That is excellent news! I am so happy about that, thank you very > much! > > > i am working on building a new image now to include the > > pinephone pro > > DTB file from Linux to see if that improves some of the hardware > > detection.. certainly a long way to go before this could be > > a useful > > mobile device, but i'm very encouraged that i can actually boot > > the thing. > > > > i suspect we'll need to use iwlwifi to get the AzureWave > > AW-CM256SM wifi > > and bluetooth card working... > > > > But, once i get the linux DTB for this guy into a disk image i'm > > going > > to see if i can get the display up next, but would love to hear > > any > > input or pointers from folks with more ARM porting experience > > than me. > > I am probably telling you something you already know, but afaik > the Pinephone Pro uses the Rockchip RK3399 which according to the > datasheet > ( > https://opensource.rock-chips.com/images/d/d7/Rockchip_RK3399_Datasheet_V= 2.1-20200323.pdf > page 16, 1.2.9 Graphics Engine) contains a Mali GPU. > > That means Ruslan Bukin's Panfrost article in the FreeBSD Journal > Jul/Aug 2021 at > > https://freebsdfoundation.org/wp-content/uploads/2021/08/The-Panfrost-Dri= ver.pdf > might be interesting regarding graphics. > > Looking forward to your updates! > > Best regards > > Stephan > > > > > thanks! > > -pete > > > > --=20 Mario. --00000000000088d30b05fce8d37f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That's interesting. As I have already said,I have= n't bought the pinephone pro,because it is expensive for me. So I'm= working on a parallel project. I've bought this phone,instead :
<= div>

That's cheaper. Between the specs I= read that it has a mali gpu,too :=C2=A0 Mali-T830MP2

<= div>so,eventually,I can use the Lima and the PanFrost driver even for my sa= msung galaxy A6 ? I've started planning to install FreeBSD on top of th= e Android Kernel,using a specific patch,but now I'm thinking that maybe= ,I can install FreeBSD there natively. Can someone tell me if it is doable,= giving a look at the specs of that phone model ? thanks.

=

On Tue, May 30, 2023 at 2:19=E2=80=AFPM Stephan Lichtenauer <sl-pub-lists@honeyguide.de>= wrote:
Hi Pete,=

Pete Wright <pe= te@nomadlogic.org> writes:

> i've had this pinephone pro for a few months now and finally got <= br> > around
> to attempting to boot FreeBSD on it..=C2=A0 Here's the phone:
> https://wiki.pine64.org/wiki/PinePhone_Pro
>
> I needed to get this serial console adapter which works
> flawlessly with "cu"
> (USB TTL Serial Adapter Converter Cable 3.3v/3v3 3.5mm Stereo
> Jack Cable):
> https://ww= w.amazon.com/dp/B00XSPECIA?psc=3D1&ref=3Dppx_yo2ov_dt_b_product_details=
>
> then i just downloaded the latest CURRENT snapshot and put it on
> a
> microsd card and it booted into multi-user mode..=C2=A0 here's the=
> dmesg:
> https://www.nomadlogic.org/ppro-dmesg.txt
>

That is excellent news! I am so happy about that, thank you very
much!

> i am working on building a new image now to include the
> pinephone pro
> DTB file from Linux to see if that improves some of the hardware
> detection..=C2=A0 certainly a long way to go before this could be
> a useful
> mobile device, but i'm very encouraged that i can actually boot > the thing.
>
> i suspect we'll need to use iwlwifi to get the AzureWave
> AW-CM256SM wifi
> and bluetooth card working...
>
> But, once i get the linux DTB for this guy into a disk image i'm <= br> > going
> to see if i can get the display up next, but would love to hear
> any
> input or pointers from folks with more ARM porting experience
> than me.

I am probably telling you something you already know, but afaik
the Pinephone Pro uses the Rockchip RK3399 which according to the
datasheet
(https://op= ensource.rock-chips.com/images/d/d7/Rockchip_RK3399_Datasheet_V2.1-20200323= .pdf
page 16, 1.2.9 Graphics Engine) contains a Mali GPU.

That means Ruslan Bukin's Panfrost article in the FreeBSD Journal
Jul/Aug 2021 at
https://freebsdfound= ation.org/wp-content/uploads/2021/08/The-Panfrost-Driver.pdf
might be interesting regarding graphics.

Looking forward to your updates!

Best regards

Stephan

>
> thanks!
> -pete





--
Mario.
--00000000000088d30b05fce8d37f--