From nobody Thu May 18 10:32:59 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 UTF8SMTP id 4QMRBt1mtvz4BPtZ for ; Thu, 18 May 2023 10:33:10 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Received: from cm0.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with UTF8SMTPS id 4QMRBs1Cc8z3pcX for ; Thu, 18 May 2023 10:33:08 +0000 (UTC) (envelope-from freebsd-arm@dino.sk) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of freebsd-arm@dino.sk designates 84.245.65.72 as permitted sender) smtp.mailfrom=freebsd-arm@dino.sk; dmarc=none Received: from zeta.dino.sk ([84.245.95.254]) (AUTH: LOGIN milan, TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by cm0.netlabit.sk with ESMTPSA id 00000000009567EB.000000006465FEDC.000106C0; Thu, 18 May 2023 12:33:00 +0200 Date: Thu, 18 May 2023 12:32:59 +0200 From: Milan Obuch To: freebsd-arm@freebsd.org Subject: Re: FreeBSD on the pinephone : considerations Message-ID: <20230518123259.55acf1fc@zeta.dino.sk> In-Reply-To: References: X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; amd64-portbld-freebsd13.1) 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 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-3.25 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.976]; NEURAL_HAM_MEDIUM(-0.98)[-0.975]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-arm@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:5578, ipnet:84.245.64.0/18, country:SK]; MID_RHS_MATCH_FROMTLD(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[dino.sk]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-Rspamd-Queue-Id: 4QMRBs1Cc8z3pcX X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N On Thu, 18 May 2023 12:08:04 +0200 Mario Marietto wrote: > Hello. > > some days ago on the FreeBSD forum someone posted this tutorial: > > https://research.exoticsilicon.com/series/pinephone_openbsd/part_1 > > A lot of work has been done to port NetBSD on the pinephone, even if > the battery will not work as stated. I would like to know if this > tutorial can be taken as a solid base to port FreeBSD instead of > NetBSD. In other words, is FreeBSD so different from NetBSD that the > whole procedure can't be useful at all or some part of it can be > re-adapted easily? How much efforts and work is needed to adapt it? > Hi, at a glance, this tutorial is worth reading as it contains good overview of the whole process. The basics are there. Note it is using *OpenBSD*, not *NetBSD* as you wrote, but this is just oversight I think. For FreeBSD, you should probably try first running from microSD card, not installing to internal eMMC (SD card image for arm64/aarch64 architecture should be a good start, needs just adding correct U-Boot binary). Regards, Milan