From nobody Mon Nov 25 15:12:23 2024 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 4Xxq2D0y1Kz5dljk for ; Mon, 25 Nov 2024 15:12:36 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pg1-x534.google.com (mail-pg1-x534.google.com [IPv6:2607:f8b0:4864:20::534]) (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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xxq2C6J3xz42dd for ; Mon, 25 Nov 2024 15:12:35 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pg1-x534.google.com with SMTP id 41be03b00d2f7-7fbc29b3145so2804592a12.0 for ; Mon, 25 Nov 2024 07:12:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1732547554; x=1733152354; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=RaUMgUYsPyIeeXQAHvYS7WEEJkfr7dAytOKrHjrhMls=; b=H0osVIAEmmGReQe2xfQVG1YpfDAd7M3czicUZKRZrJ1s9U0BgFAmbbAjHWxBT0vxG/ hHLGC/RGcOOAZa/4GNLGAbXrDbnuqW0k5Nud1phX9rrbdA55lTW2he78bpC4QqFFScZ/ JLuoFNVIxJ8ebi26W8Dbb+bQOZPchziBnZcZkuIHQfx9QKL9RDy6rz89817MKoJ+BAoO TISK6axu5iAA6NOaBnPc/AxzMLh4NucYPXywPFpN2/kTMkBczlTCVhOFyQag4JRB05ME 9RK0DVodgRNf0cpgrFCUkua1y/LG3SKX+gpeWC1xlp3+esW98m+F1Lq0vWAsVpMPdwco sbpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732547554; x=1733152354; 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=RaUMgUYsPyIeeXQAHvYS7WEEJkfr7dAytOKrHjrhMls=; b=nseH/oUrU0QYX3bEjDsEeVzT6b3p/nRh7QcKMEqU0B+bzUhG7M7AbuWUDKAjvtunQk kK3RZ9iOjGUjSCqWlSjGcXJCtChECx14TUZR5RxSTjavLDIbcc4PV0w0mJ6uzmiizXNm ijKFO/BrYPcXDyj5Kav8EZpNCgKmtMvOTAGn8hqypus9rRBHxP3NO77aZZqQ/jxzGScZ cakkZ7D3and2uf56Kno7s92TYa3FezLdGkjQ5ytMjkouKJ0x7wDH3A0FQppxVy+yKsxO 8XX6zk/SDbCdL2DWqsaYFSDZ2oZH7il1jkpd9w+ay1HcqPQz7WSH3rVbLhgSc5TMrZ5x 7Nrg== X-Forwarded-Encrypted: i=1; AJvYcCVwIuKCO2DLbBBVTwfJ4vsehyEl/HK6InnhRcW/2MD3Huj9U/wuMgE9vHtDjKA9lkOLDHD+ajrgi20PMA==@freebsd.org X-Gm-Message-State: AOJu0Yx0xolLM9acbZvYZqClBgxvh37wbxpnX+j9GjUS1PMp55PCN/dl w+yiGY8bJe0WrkEx5NlH/jtlPZDDsmTskrxEDFpjKPg2IRk5y22300c8vbFwlXBnbynTm3rvUYJ 2RjZNmOsSkalRWAgg6dRoCYo+Mum31gi3yv8swQ== X-Gm-Gg: ASbGncuIYpzkmrSvqIvjE5kUbaUmkmSZgM1Sjycq+TV5PngwLSkLE7J9O2+IKpnaG4z 4wyuNmaHbv6n/wUwERTnCn1laRz0BdeU= X-Google-Smtp-Source: AGHT+IHJ0EHYiYUdUpWZ/M2JA4Zty3yXSPGqsosCrvwVt3IKRSjoGfz+tKn6ej2OLCr0g2vDV5mo9v1kOjsGdD/yMoI= X-Received: by 2002:a17:90b:2784:b0:2ea:4e67:5649 with SMTP id 98e67ed59e1d1-2eb0cb9b84bmr20701579a91.14.1732547554327; Mon, 25 Nov 2024 07:12:34 -0800 (PST) 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: <9211C7C9-FB09-4EB0-A315-BB86865EE9BC@yahoo.com> In-Reply-To: From: Warner Losh Date: Mon, 25 Nov 2024 08:12:23 -0700 Message-ID: Subject: Re: Radxa Zero and FreeBSD : happy marriage ? To: Ganbold Tsagaankhuu Cc: Mario Marietto , Mark Millard , freebsd-arm Content-Type: multipart/alternative; boundary="000000000000885d6e0627be29ac" X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated 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-Queue-Id: 4Xxq2C6J3xz42dd X-Spamd-Bar: ---- --000000000000885d6e0627be29ac Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I was gifted a Radxa many years ago... And it looked like a lot of work to bring things up on it, not least because the boot loader was weird to even get started with uboot, and the uboot you needed was a fork of an ancient branch of upstream uboot. Tha AmLogic datasheets at the time were unobtanium, but have since become findable (I'm told by someone I chatted about the Radxa at I think BSDcan over beers before covid). I gave up due to the large amount of work it would have been to translate everything from just the Linux sources. Warner On Mon, Nov 25, 2024 at 8:03=E2=80=AFAM Ganbold Tsagaankhuu wrote: > Amlogic is not supported in FreeBSD at all and nobody is working on this > SoC, so if I were you I wouldn't buy it. > > On Mon, Nov 25, 2024, 10:49=E2=80=AFPM Mario Marietto > wrote: > >> Thanks. I see more development with this model : >> >> http://radxa.com/products/zeros/zero3e/#techspec >> >> according to this thread : >> >> https://forum.radxa.com/t/zero-3e-freebsd/20661 >> >> Unfortunately this soc is not slender as the previous one. And anyway,a >> lot of functions don't work on FreeBSD. >> >> >> On Mon, Nov 25, 2024 at 3:32=E2=80=AFPM Mark Millard = wrote: >> >>> On Nov 25, 2024, at 03:02, Mario Marietto >>> wrote: >>> >>> > I'm planning to buy this soc : >>> > Radxa Zero >>> > =E2=80=A2 Specifications: >>> > =E2=80=A2 CPU: Amlogic S905Y2 quad-core Cortex-A53 >>> > =E2=80=A2 RAM: Up to 4GB LPDDR4 (4GB option available) >>> > =E2=80=A2 Ports: >>> > =E2=80=A2 Mini HDMI >>> > =E2=80=A2 Micro USB OTG >>> > =E2=80=A2 Micro USB power >>> > =E2=80=A2 Wireless: Wi-Fi 802.11 b/g/n/ac, Bluetooth 5.0 >>> > >>> > because I'm trying to assemble a mobile phone powered by FreeBSD. Thi= s >>> soc seems to be the only option available given its performances and >>> slenderness. >>> > But what I want to know is how compatible it is with FreeBSD. Are >>> there some huge unfixed bugs ? Problems with HDMI or whatever ? thanks. >>> >>> It does not appear to have a FreeBSD U-Boot port, making it >>> seem unlikely that the kernel work has been done to support >>> the soc. >>> >>> For reference: >>> >>> # ls -dC1 /usr/ports/sysutils/u-boot-*/ >>> /usr/ports/sysutils/u-boot-a13-olinuxino/ >>> /usr/ports/sysutils/u-boot-a64-olinuxino/ >>> /usr/ports/sysutils/u-boot-bananapi/ >>> /usr/ports/sysutils/u-boot-bananapim2/ >>> /usr/ports/sysutils/u-boot-beaglebone/ >>> /usr/ports/sysutils/u-boot-bhyve-arm64/ >>> /usr/ports/sysutils/u-boot-bhyve-riscv/ >>> /usr/ports/sysutils/u-boot-chip/ >>> /usr/ports/sysutils/u-boot-clearfog/ >>> /usr/ports/sysutils/u-boot-cubieboard/ >>> /usr/ports/sysutils/u-boot-cubieboard2/ >>> /usr/ports/sysutils/u-boot-cubox-hummingboard/ >>> /usr/ports/sysutils/u-boot-firefly-rk3399/ >>> /usr/ports/sysutils/u-boot-imx-serial-loader/ >>> /usr/ports/sysutils/u-boot-master/ >>> /usr/ports/sysutils/u-boot-nanopi-a64/ >>> /usr/ports/sysutils/u-boot-nanopi-m1plus/ >>> /usr/ports/sysutils/u-boot-nanopi-neo-air/ >>> /usr/ports/sysutils/u-boot-nanopi-neo/ >>> /usr/ports/sysutils/u-boot-nanopi-neo2/ >>> /usr/ports/sysutils/u-boot-nanopi-r2s/ >>> /usr/ports/sysutils/u-boot-nanopi-r4s/ >>> /usr/ports/sysutils/u-boot-nanopi-r5s/ >>> /usr/ports/sysutils/u-boot-olimex-a20-som-evb/ >>> /usr/ports/sysutils/u-boot-olinuxino-lime/ >>> /usr/ports/sysutils/u-boot-olinuxino-lime2-emmc/ >>> /usr/ports/sysutils/u-boot-olinuxino-lime2/ >>> /usr/ports/sysutils/u-boot-orangepi-one/ >>> /usr/ports/sysutils/u-boot-orangepi-pc-plus/ >>> /usr/ports/sysutils/u-boot-orangepi-pc/ >>> /usr/ports/sysutils/u-boot-orangepi-pc2/ >>> /usr/ports/sysutils/u-boot-orangepi-plus-2e/ >>> /usr/ports/sysutils/u-boot-orangepi-r1/ >>> /usr/ports/sysutils/u-boot-orangepi-zero-plus/ >>> /usr/ports/sysutils/u-boot-orangepi-zero/ >>> /usr/ports/sysutils/u-boot-pandaboard/ >>> /usr/ports/sysutils/u-boot-pcduino3/ >>> /usr/ports/sysutils/u-boot-pine-h64/ >>> /usr/ports/sysutils/u-boot-pine64-lts/ >>> /usr/ports/sysutils/u-boot-pine64/ >>> /usr/ports/sysutils/u-boot-pinebook/ >>> /usr/ports/sysutils/u-boot-pinebookpro/ >>> /usr/ports/sysutils/u-boot-qemu-arm/ >>> /usr/ports/sysutils/u-boot-qemu-arm64/ >>> /usr/ports/sysutils/u-boot-qemu-riscv64/ >>> /usr/ports/sysutils/u-boot-quartz64-a/ >>> /usr/ports/sysutils/u-boot-quartz64-b/ >>> /usr/ports/sysutils/u-boot-riotboard/ >>> /usr/ports/sysutils/u-boot-rock-pi-4/ >>> /usr/ports/sysutils/u-boot-rock64/ >>> /usr/ports/sysutils/u-boot-rockpro64/ >>> /usr/ports/sysutils/u-boot-rpi-0-w/ >>> /usr/ports/sysutils/u-boot-rpi-arm64/ >>> /usr/ports/sysutils/u-boot-rpi/ >>> /usr/ports/sysutils/u-boot-rpi2/ >>> /usr/ports/sysutils/u-boot-rpi3-32/ >>> /usr/ports/sysutils/u-boot-rpi3/ >>> /usr/ports/sysutils/u-boot-rpi4/ >>> /usr/ports/sysutils/u-boot-sifive-fu540/ >>> /usr/ports/sysutils/u-boot-sifive-fu740/ >>> /usr/ports/sysutils/u-boot-sinovoip-bpi-m3/ >>> /usr/ports/sysutils/u-boot-sopine-spi/ >>> /usr/ports/sysutils/u-boot-sopine/ >>> /usr/ports/sysutils/u-boot-starfive-visionfive2/ >>> /usr/ports/sysutils/u-boot-tools/ >>> /usr/ports/sysutils/u-boot-wandboard/ >>> >>> >>> =3D=3D=3D >>> Mark Millard >>> marklmi at yahoo.com >>> >>> >> >> -- >> Mario. >> > --000000000000885d6e0627be29ac Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I was gifted=C2=A0a Radxa many years ago...=C2=A0 And it l= ooked like a lot of work to bring things up on it, not least because the bo= ot loader was weird to even get started with uboot, and the uboot you neede= d was a fork of an ancient branch of upstream uboot. Tha AmLogic datasheets= at the time were unobtanium, but have since become findable (I'm told = by someone I chatted about the Radxa=C2=A0at I think BSDcan over beers befo= re covid). I gave up due to the large=C2=A0amount of work it would have bee= n to translate everything from just the Linux sources.

W= arner

On Mon, Nov 25, 2024 at 8:03=E2=80=AFAM Ganbold Tsagaankhuu <= ganbold@gmail.com> wrote:

Amlogi= c is not supported in FreeBSD at all and nobody is working on this SoC, so = if I were you I wouldn't buy it.


On Mon= , Nov 25, 2024, 10:49=E2=80=AFPM Mario Marietto <marietto2008@gmail.com> wrote:<= br>
Thanks. I see more development with this model :
=


according to this threa= d :


Unfortunately this soc= is not slender as the previous one. And anyway,a lot of functions don'= t work on FreeBSD.


On Mon, Nov 25, 2024 at 3= :32=E2=80=AFPM Mark Millard <marklmi@yahoo.com> wrote:
On Nov 25, 2024, at 03:02, = Mario Marietto <marietto2008@gmail.com> wrote:

> I'm planning to buy this soc :
> Radxa Zero
>=C2=A0 =C2=A0 =C2=A0=E2=80=A2 Specifications:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 CPU: Amlogic S905Y2 quad-co= re Cortex-A53
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 RAM: Up to 4GB LPDDR4 (4GB = option available)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 Ports:
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 Mini HDMI
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 Micro USB OTG=
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 Micro USB pow= er
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E2=80=A2 Wireless: Wi-Fi 802.11 b/g/= n/ac, Bluetooth 5.0
>
> because I'm trying to assemble a mobile phone powered by FreeBSD. = This soc seems to be the only option available given its performances and s= lenderness.
> But what I want to know is how compatible it is with FreeBSD. Are ther= e some huge unfixed bugs ? Problems with HDMI or whatever ? thanks.

It does not appear to have a FreeBSD U-Boot port, making it
seem unlikely that the kernel work has been done to support
the soc.

For reference:

# ls -dC1 /usr/ports/sysutils/u-boot-*/
/usr/ports/sysutils/u-boot-a13-olinuxino/
/usr/ports/sysutils/u-boot-a64-olinuxino/
/usr/ports/sysutils/u-boot-bananapi/
/usr/ports/sysutils/u-boot-bananapim2/
/usr/ports/sysutils/u-boot-beaglebone/
/usr/ports/sysutils/u-boot-bhyve-arm64/
/usr/ports/sysutils/u-boot-bhyve-riscv/
/usr/ports/sysutils/u-boot-chip/
/usr/ports/sysutils/u-boot-clearfog/
/usr/ports/sysutils/u-boot-cubieboard/
/usr/ports/sysutils/u-boot-cubieboard2/
/usr/ports/sysutils/u-boot-cubox-hummingboard/
/usr/ports/sysutils/u-boot-firefly-rk3399/
/usr/ports/sysutils/u-boot-imx-serial-loader/
/usr/ports/sysutils/u-boot-master/
/usr/ports/sysutils/u-boot-nanopi-a64/
/usr/ports/sysutils/u-boot-nanopi-m1plus/
/usr/ports/sysutils/u-boot-nanopi-neo-air/
/usr/ports/sysutils/u-boot-nanopi-neo/
/usr/ports/sysutils/u-boot-nanopi-neo2/
/usr/ports/sysutils/u-boot-nanopi-r2s/
/usr/ports/sysutils/u-boot-nanopi-r4s/
/usr/ports/sysutils/u-boot-nanopi-r5s/
/usr/ports/sysutils/u-boot-olimex-a20-som-evb/
/usr/ports/sysutils/u-boot-olinuxino-lime/
/usr/ports/sysutils/u-boot-olinuxino-lime2-emmc/
/usr/ports/sysutils/u-boot-olinuxino-lime2/
/usr/ports/sysutils/u-boot-orangepi-one/
/usr/ports/sysutils/u-boot-orangepi-pc-plus/
/usr/ports/sysutils/u-boot-orangepi-pc/
/usr/ports/sysutils/u-boot-orangepi-pc2/
/usr/ports/sysutils/u-boot-orangepi-plus-2e/
/usr/ports/sysutils/u-boot-orangepi-r1/
/usr/ports/sysutils/u-boot-orangepi-zero-plus/
/usr/ports/sysutils/u-boot-orangepi-zero/
/usr/ports/sysutils/u-boot-pandaboard/
/usr/ports/sysutils/u-boot-pcduino3/
/usr/ports/sysutils/u-boot-pine-h64/
/usr/ports/sysutils/u-boot-pine64-lts/
/usr/ports/sysutils/u-boot-pine64/
/usr/ports/sysutils/u-boot-pinebook/
/usr/ports/sysutils/u-boot-pinebookpro/
/usr/ports/sysutils/u-boot-qemu-arm/
/usr/ports/sysutils/u-boot-qemu-arm64/
/usr/ports/sysutils/u-boot-qemu-riscv64/
/usr/ports/sysutils/u-boot-quartz64-a/
/usr/ports/sysutils/u-boot-quartz64-b/
/usr/ports/sysutils/u-boot-riotboard/
/usr/ports/sysutils/u-boot-rock-pi-4/
/usr/ports/sysutils/u-boot-rock64/
/usr/ports/sysutils/u-boot-rockpro64/
/usr/ports/sysutils/u-boot-rpi-0-w/
/usr/ports/sysutils/u-boot-rpi-arm64/
/usr/ports/sysutils/u-boot-rpi/
/usr/ports/sysutils/u-boot-rpi2/
/usr/ports/sysutils/u-boot-rpi3-32/
/usr/ports/sysutils/u-boot-rpi3/
/usr/ports/sysutils/u-boot-rpi4/
/usr/ports/sysutils/u-boot-sifive-fu540/
/usr/ports/sysutils/u-boot-sifive-fu740/
/usr/ports/sysutils/u-boot-sinovoip-bpi-m3/
/usr/ports/sysutils/u-boot-sopine-spi/
/usr/ports/sysutils/u-boot-sopine/
/usr/ports/sysutils/u-boot-starfive-visionfive2/
/usr/ports/sysutils/u-boot-tools/
/usr/ports/sysutils/u-boot-wandboard/


=3D=3D=3D
Mark Millard
marklmi at yahoo.com



--
Ma= rio.
--000000000000885d6e0627be29ac--