From nobody Wed Nov 27 13:52:52 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 4Xz19b2lLnz5fF53 for ; Wed, 27 Nov 2024 13:53:07 +0000 (UTC) (envelope-from stanislav.silnicki@mailgate.us) Received: from mailgate.us (mailgate.us [208.81.129.235]) by mx1.freebsd.org (Postfix) with ESMTP id 4Xz19Z12Xsz4SRR for ; Wed, 27 Nov 2024 13:53:06 +0000 (UTC) (envelope-from stanislav.silnicki@mailgate.us) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mailgate.us header.s=mail header.b=hYfmaPqa; spf=pass (mx1.freebsd.org: domain of stanislav.silnicki@mailgate.us designates 208.81.129.235 as permitted sender) smtp.mailfrom=stanislav.silnicki@mailgate.us; dmarc=none Received: from [192.168.8.108] (unknown [192.168.202.1]) by mailgate.us (Postfix) with ESMTPSA id B103A59B53 for ; Wed, 27 Nov 2024 16:52:56 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailgate.us; s=mail; t=1732715578; bh=1MwBtrkvo7G0AwrphWPQP5mnNXW8vOv37wvhGgD13iA=; h=Date:Subject:To:References:From:In-Reply-To; b=hYfmaPqa4FpQ8PuK1ld/yZwyKyEqct4GTLj+01Vy521ImfuJqAWeRQ5Lxjt6yPL+l rGBZTqfVa9hPA7lULDq9ASzbDmtwZjPb4M/HfFhbFuiV61C1QPoidNYqbWWMK4AdoC zVtajXlKKyXqcZ6/TMOT+IfF7kVb6xYEfDgRLkVo= Content-Type: multipart/alternative; boundary="------------bH7Hv6Yvbp4LbD0mFsytQzeT" Message-ID: <581f2cf5-64cf-4cd6-8045-ed0c7ed756f7@mailgate.us> Date: Wed, 27 Nov 2024 15:52:52 +0200 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 User-Agent: Mozilla Thunderbird Subject: Re: Radxa Zero and FreeBSD : happy marriage ? To: freebsd-arm@freebsd.org References: <9211C7C9-FB09-4EB0-A315-BB86865EE9BC@yahoo.com> <3D376BD7-AA62-427E-99C0-8C91941E9763@ketas.si.pri.ee> Content-Language: en-US From: Stanislav Silnicki In-Reply-To: <3D376BD7-AA62-427E-99C0-8C91941E9763@ketas.si.pri.ee> X-Spamd-Result: default: False [-1.28 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_BASE64_TEXT_BOGUS(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.991]; R_SPF_ALLOW(-0.20)[+a]; R_DKIM_ALLOW(-0.20)[mailgate.us:s=mail]; MIME_BASE64_TEXT(0.10)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_NO_TLS_LAST(0.10)[]; XM_UA_NO_VERSION(0.01)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[mailgate.us]; DKIM_TRACE(0.00)[mailgate.us:+]; RCVD_COUNT_ONE(0.00)[1]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_NONE(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-arm@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; MIME_TRACE(0.00)[0:+,1:+,2:~] X-Rspamd-Queue-Id: 4Xz19Z12Xsz4SRR X-Spamd-Bar: - This is a multi-part message in MIME format. --------------bH7Hv6Yvbp4LbD0mFsytQzeT Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Enc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: quoted-printable

from my point of view, 32bit platfor= m is not a big problem.

My roadmap of similar project is to port fbsd to stm32mp1 (booting is done, while mounting root requires SD driver, which I decided to leave in secure TZ, rewriting fsbl for that reason) and expose SD to the kernel as a trivial char device (may be some kernel glue).

As for the video, I chosen DSI interface, but have not tested custom screen I ordered for it yet. At least I hope to create kind of "suppported" hardware environment to be able to boot FBDS, Linux, etc.

So, I see no problems using 32bit as= playground. Familiarizing myself with some aspects of fsbl/tz/power management and then go further to stm32mp2, which may become a 10+ years old smartphone with FBSD targeted towards security, modularity, openness.

On 11/25/24 18:17, Sulev-Madis Silber wrote:
i see that you have chicken =
and egg problem here. you want to build a phone on fbsd. that could be ma=
ybe some high security device designed for governments at first, general =
public later. that could bring lot of development onto fbsd, resulting in=
 higher popularity, funding too, all related to battery powered embedded =
devices. more security research (and malware :() too. the problem is that=
 fbsd doesn't really support any of that. there is embedded and it's used=
 even commercially but so much of work needs to be done that it would req=
uire a lot. i did read briefly that you even ended up having fights with =
people seemingly on who will do this work. i bet someone will, provided s=
omeone gives them food. that could come from people who buy this. hell, t=
his needs whole team. there are big companies contributing, if you watch =
commit logs, but they focus on amd64 only. sorry to see this fizzling out=
 as idea is super cool. perhaps you could build basically working prototy=
pe on something existing. i have h3 here which works well except it's 32b=
it so it's going out soon and video is hard if not impossible. (my projec=
t will not require video nor battery). but you know all that i see. this =
is not first time. i think openmoko freerunner poorly ran fbsd too, my fr=
iend had that working i recall. how you're going to pull it off i have no=
 idea. i'm not good in any of those fields either. happy to test somethin=
g tho. have a good luck with this masterpiece

--------------bH7Hv6Yvbp4LbD0mFsytQzeT--