From nobody Mon Mar 20 20:28:47 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 4PgRCR6r38z40C6W for ; Mon, 20 Mar 2023 20:28:51 +0000 (UTC) (envelope-from gjb@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PgRCR6Kqsz3P6L; Mon, 20 Mar 2023 20:28:51 +0000 (UTC) (envelope-from gjb@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679344131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7fqEoVfeGptCgZSf0MPr21xGLDcvoz+vMe3X47uBlQQ=; b=aSNhsbm+CZcUeiyqkGVrATbpflsKQwtzh1wxdQar487sNlB6P7DFJd1wrHTWV106CJe/kJ kFduSNd5Mc1L/zH3K4PMJ/x/UdlPCbvWrMD8OoU5w1yPdEJl02oOLCpVOhSiXg3uUDmOkU gcoalBVbfnDfILxdF86vA+QC2bf8Yj+iLYLyDUM/asJy942XL8KoYzQ3snMj5gng1nrHE8 IguDoMGm20AoONxrM79i5O+WGMTbnsAYF0+RfCD1/ER6UZj2lVJ8EApnGAVhhjvX92G4pL gmaai3ZdUo8RB1h+lGdjj1A6NV1uChK0C5iHcPhKDOdirZxZmN4m+1dm7lIR5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679344131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7fqEoVfeGptCgZSf0MPr21xGLDcvoz+vMe3X47uBlQQ=; b=Yn/Wx91Ge6W5KIJdADUi8kQ6Ez0TZjj4D3BTVx+O9gir52Uw5AB7l4SmTmE77O0Ew9iUwT UpkMWg0opa4RRGQbb00GhIU7htC8pM8W3pui5paCXj0eox/VYdiDqKftqBWjl/ycrdpN7T 1vwbk78rV7LdadQnGbYqfZPxCeDPiAB+zkgWEcmXcrlGeWNOfSSusWL325NlDnO6fCUVL1 99P42OGA+gRDgZsBd5lYG46RgYsOhxL4iRzjUchyuKXlaa7cMseUsP/RsUECFK+reWfcMk paXKyMKOOtMvThDIqWdahdmud2KS84eOiTmegAdO8tQqXMV0/8mRPsRmwC5HSw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679344131; a=rsa-sha256; cv=none; b=cSdClIfae0E8oNaipvkFsJ7WXY/BQsxEacOf7fexVuHl1WUGrdJhFKvPUq4v3/A1b3AJxi GzfJipSrMaJYLH2fTymjhzNNchqLqI728n9sgh50+HPzVTfjxJevTvRP9PS0dGYqkzZ6yi gVGRw7SW6ghU8hPhO7zKVhwPHkzMoctzlehcPO+7cbUJcT1k39aBecLtI4mTBk+SplUUdz ArK3oSsO5e1k60vDPyVNiBHlMI7EmS0oZfmSXfterdhwsSgbn8HKekF77pAxx3dZZ/D0x0 C3OM4DIovy/4jZTdm+9RjBmOBXGUJktSJUUTQoSxRcNhsrgRGPqi8GIee7letw== Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 769741FE3; Mon, 20 Mar 2023 20:28:51 +0000 (UTC) (envelope-from gjb@freebsd.org) Date: Mon, 20 Mar 2023 20:28:47 +0000 From: Glen Barber To: Warner Losh Cc: "freebsd-arm@freebsd.org" Subject: Re: Poudriere friendly armv7 relases Message-ID: <20230320202847.GW2347@FreeBSD.org> References: 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: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nKvJs6ze6az+4fwY" Content-Disposition: inline In-Reply-To: X-ThisMailContainsUnwantedMimeParts: N --nKvJs6ze6az+4fwY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 20, 2023 at 02:06:50PM -0600, Warner Losh wrote: > Greetings, >=20 > Since it looks like we're going to retain at least armv7 for FreeBSD 14 > (armv6 has been nominated for deprecation, but if it isn't deprecated, all > this applies to it). >=20 > I'd like to start making at least the base.tgz, etc available for armv7. > This would allow us to create armv7 poduriere jails without building from > source. >=20 > Is there some reason we're not doing this today? I know ISOs don't make a > lot of sense in the arm ecosystem, but having these artifacts would enable > poudriere binary install support. >=20 > Comments? >=20 Several. :) I have looked into this in the past, and mhorne@ had even added some environment knobs to the way armv7 is built, however I later realized that it was not 1:1 compatible with how base.txz, etc., are generated for other architectures. 1) For other architectures, base.txz is result of the 'ftp' target in /usr/src/release. 2) armv7 does not have an 'ftp' target. (Well, it does not *disallow* it, and probably should at the immediate moment, but it does blow up.) 3) Most importantly, and the reason I stopped looking further into this, we cannot run native armv7 binaries on an amd64 system (at least, last I was aware). Particularly, we can only actually use what is listed in kern.supported_archs, at least without falling back to some sort of emulation or wrapper support (such as qemu or the like). Back when armv6 and armv7 support was added using shell scripts instead of hooking into release/Makefile, having a base.txz did not make much sense because there were different environment variables that were passed into the resulting output, some of which affected the loader output, etc., specifically with regard to u-boot. I am not sure if this is still an issue or a concern, however. That said, I can take a look and see if we can package base.txz for armv7, however I would like to do some archaeology work here to be sure that the resultant output is not going to have unexpected behavior because of the userland not matching 100% the target SoC. Glen --nKvJs6ze6az+4fwY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmQYwfoACgkQAxRYpUeP 4pMCAg//TF2TPj6eopV92pUr60s7zVyaFu7Q4uZt2BbiL9n+T8y7N8BHpRFATV6v IuXc8VkJvxf3OxO7LWT88EYuPiKjCXuyjfAf33YIg4luLooO7pJ9cvPCD0YZulXT xk5NeN+FUEDQjzUhhf28M8NDo0bhTC4j6xcV2KulwJyMShJH5lapBIsX4jBNEaOW dcCXwV56d7CFTW8op3oEs3662MLlfME2i5l4WPymPCsOgT4yjcoBeu1Ijm8y5anW suUEonFd4KH03yCsWiicWAG2dlQYT+jxczjbkxuSHDzcX9oEBTQhoM597BKvj0J1 iNL90Bimn40PYNPzyPL/BvlP+lb+Y5etPGLj/M/cmiD/HYOMKs9TJBSurhgTjopT lZwCdBSamauZrZEQqRAyIYO4q18K9HVG+YschlwOtbjPYjVqClZWMW144uH2KmUa cimhr4ZQ1y9OiAAmroUsRedhTy27wyJiLPJaw0ksJlo6gFJKip4WFq3UZaCVs5PC iwkuRs7k0773sjhqSPdePM4hS7VOb4BFUH7yn5bIEVywWSBipJ5H9vYPZLBQO42f RECz/Pqw9wxG5IRiKCPeEQu4UaaQODMbAmKhevHRTHXFdelQvUMaor/qxJS/oDyg AzaOTA7uvG0WipF4P1kmOA8Ct8irj/HzHXmy+D1rSNU6sk1pTWs= =74uP -----END PGP SIGNATURE----- --nKvJs6ze6az+4fwY--