From nobody Sun Jul 10 22:25:25 2022 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 316481D064CD for ; Sun, 10 Jul 2022 22:25:36 +0000 (UTC) (envelope-from freebsd-rj@cyclaero.com) Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.217]) (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 (2048 bits) client-digest SHA256) (Client CN "*.smtp.rzone.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lh1mt4S97z3CwW for ; Sun, 10 Jul 2022 22:25:34 +0000 (UTC) (envelope-from freebsd-rj@cyclaero.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1657491929; s=strato-dkim-0002; d=cyclaero.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject:Cc:Date: From:Subject:Sender; bh=E0RxV2jjWaRP1t8LxBQuvyWrMr32PoWxyuuiBFDPyVo=; b=YV/hDEM3AJf4gXLchwKO+Vam+PHBPrtbs0Rzsopw/oogeLFcGKaeI4S5GR/Hoh1cew 8X7Xxc1MClO4P6dB8pguVzhlpNoL7jgcHC1MHzsK/Mxt4o3fJAnnc4MNyL9o2wmC4P2Z 9zuW7LgkQMQg/lAxxzSEy/aJBJGdsxR73mhOxXGwJXo5JxkfW1LRMTSasOIIfLvXcu7y 5vzUwd+eUuRsDlZbJ2h5E8Y94ndvZIQBXHtffuBmqiWJ9nkhOOEecjWUIhet7MB45Ckx 8rE7tLYQiAQ8buYbUjDgw95YOcDz/aAiRawA7epSqgn4yQyXnZ8DCRSBpvWliFs/PUp0 iLcg== X-RZG-AUTH: ":O2kGeEG7b/pS1F2rRHW2isrKl4DV03XBEi+I6ZuztdvN9wS3wFGySS4Lw+ldTBio08NTPnK5bNCibgxfnBg=" X-RZG-CLASS-ID: mo00 Received: from mail.obsigna.com by smtp.strato.de (RZmta 47.46.1 AUTH) with ESMTPSA id kcd9d5y6AMPTd7F (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Mon, 11 Jul 2022 00:25:29 +0200 (CEST) Received: from rolf-mini.obsigna.com (unknown [177.95.254.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.obsigna.com (Postfix) with ESMTPSA id B484463935; Mon, 11 Jul 2022 00:25:28 +0200 (CEST) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 12.4 \(3445.104.15\)) Subject: Re: Partition layout of ARM SD card images From: "Dr. Rolf Jansen" In-Reply-To: <598CB7EE-BFF9-4E8F-89CE-B51F3D1B4338@yahoo.com> Date: Sun, 10 Jul 2022 19:25:25 -0300 Cc: freebsd-arm Content-Transfer-Encoding: quoted-printable Message-Id: References: <1F42EED0-B39F-4E33-986A-FB70A3AA4362@cyclaero.com> <45EC1E40-0615-4473-846F-8E9B5202FCC4@cyclaero.com> <598CB7EE-BFF9-4E8F-89CE-B51F3D1B4338@yahoo.com> To: Mark Millard X-Mailer: Apple Mail (2.3445.104.15) X-Rspamd-Queue-Id: 4Lh1mt4S97z3CwW X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cyclaero.com header.s=strato-dkim-0002 header.b="YV/hDEM3"; dmarc=none; spf=pass (mx1.freebsd.org: domain of freebsd-rj@cyclaero.com designates 81.169.146.217 as permitted sender) smtp.mailfrom=freebsd-rj@cyclaero.com X-Spamd-Result: default: False [-2.00 / 15.00]; FROM_NAME_HAS_TITLE(1.00)[dr]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; MV_CASE(0.50)[]; R_DKIM_ALLOW(-0.20)[cyclaero.com:s=strato-dkim-0002]; R_SPF_ALLOW(-0.20)[+ip4:81.169.146.128/25]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_TO(0.00)[yahoo.com]; MLMMJ_DEST(0.00)[freebsd-arm]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:6724, ipnet:81.169.144.0/22, country:DE]; MIME_TRACE(0.00)[0:+]; RCVD_IN_DNSWL_NONE(0.00)[81.169.146.217:from]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cyclaero.com:+]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[cyclaero.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > Am 10.07.2022 um 18:44 schrieb Mark Millard : >=20 > On 2022-Jul-10, at 14:02, Dr. Rolf Jansen = wrote: >=20 >> Well, I thought the arm64-RPi one is a general purpose layout becase = the armv7 one is identical: >=20 > So far as I'm aware, the RPi*'s are unique in having all the > content in a file system instead of having some content outside > any file system. This tends to make them generally unusual in > various respects as far a Small Board Computers go. >=20 > It is also why I can normally add a RPi* dual-boot configuration > adjustment to a configuration for another Small Board Computer > (such as the Rock64): no conflict is generated by the 2 U-Boots > or other such. >=20 >> mdconfig -a -u 0 -t vnode -f = diskimg/FreeBSD-13.1-RELEASE-arm-armv7-GENERICSD.img >> gpart show md0 md0s2 >>=20 >> =3D> 63 6291393 md0 MBR (3.0G) >> 63 2016 - free - (1.0M) >> 2079 102312 1 fat32lba [active] (50M) >> 104391 6187041 2 freebsd (3.0G) >> 6291432 24 - free - (12K) >>=20 >> =3D> 0 6187041 md0s2 BSD (3.0G) >> 0 57 - free - (29K) >> 57 6186880 1 freebsd-ufs (2.9G) >> 6186937 104 - free - (52K) >>=20 >> Must be something historical. >=20 > Just for reference for 32-bit (hard float) raspios: >=20 > = https://downloads.raspberrypi.org/raspios_lite_armhf/images/raspios_lite_a= rmhf-2022-04-07/2022-04-04-raspios-bullseye-armhf-lite.img.xz >=20 > # mdconfig -a -u 2 -t vnode -f = 2022-04-04-raspios-bullseye-armhf-lite.img=20 > # gpart show md2 > =3D> 63 3940289 md2 MBR (1.9G) > 63 8129 - free - (4.0M) > 8192 524288 1 fat32lba (256M) > 532480 3407872 2 linux-data (1.6G) >=20 > So the same use of 8192 and 256M these days for 32-bit > raspios. 2079 and 8192 are starting blocks of the fat32 partition, and 2079 vs. = 8192 is the difference between non-aligned and aligned. My concern is = not the size but whether the partitions are aligned. BTW, I use FreeBSD-13.1-RELEASE-arm-armv7-GENERICSD.img for the = BeagleBone Black's and for these I also changed the partitions so the = fat32 becomes 4k aligned.