From nobody Thu Jul 14 15:10:12 2022 X-Original-To: dev-commits-src-main@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 4LkHwy2kmHz2pLxP for ; Thu, 14 Jul 2022 15:10:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-21.consmr.mail.gq1.yahoo.com (sonic301-21.consmr.mail.gq1.yahoo.com [98.137.64.147]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LkHwr4Zn5z4Cg0 for ; Thu, 14 Jul 2022 15:10:20 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657811417; bh=XXKnncG1MLrFaPxMenU15/Xp+A5Uu7n2NjipI10goj0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Ps6KTBsJUXJBrSjpl4vpV8UTT9hY+OR1IaaFnVnx58TGTscuvWiiHGz94LXBtZFdM5A3hTE0Ug07RhFYLakTALAeHxu9nhWnEiFyN0DLs878TKTMVRCoMNrRaOgO+BnDq9iC6Zx4HJF0Kp9zJs59fNo2pGBBX4YksFLShEz8Cx2nYKnqJDuTpxpp3pCpVV4SfqqZESgI88OSxgKyMv+YMpYcTdZiCdqjRiYO4ydbi2N7O8r5PIMiDCOtIr/PTCatJa2BkrGU7/Kx62NcbVlY64GzB0eGc0KB/M4VOmQZMrM/qlcn5wCqUGikmRfsDCuVhyncZzEcl/yEofzwFR+dFQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657811417; bh=UJhtviiFGcr1Lyrfi7ohbgb6kaFuBor89gcwy6+QD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XsxDXAJ6j3ZLRs07zom_Y3nQMr6GiFsei68TQOlXbnx3D1gkSmjVaPa6OzIdFoX7 F_6B3fr8MSnH9ls2bzzGIBi7M7O1PKJd9avlU1VwllL18qpF0Et.Ffw82RDCvc8VNnUyASgfNpaT Cq9ufXiQtynEIbVIUTfc.ROwK5fMZ7B4xvcsfxvyCqqQ0Pwq1LVZISuqSLoK7yDwcYpfGjmw9E2y A_SMAJFEDbYFV_yzPyc_jmjqoUM6NajqpHE48aqEcLbuL_Zfkn.3_lbryRsvLCCfw5FZisR9jZXL f2Kw_SmrXa.UJuypBT0.2MSI6n8LTZQa.tQHwIq1Dp1U0YvH2oFz3lxs4lS1MrpvHsW9EhICGWIS lRzvN9sonkVdKNbrMjzcIoZllvxmO2uBINEg2PZfI7slb.eWlQVGdCOI0RLx8nRrA95e9HFs.Ble _q2vucCTcQYPEz9c4vK.cpKXUCXd7jst84CCaNI_TCyaM1O9NKMz5lax7KvnaTPS2qhOKNKJRBhC H.nTjutCrn9cmQ1IDvmKs4urehuqeCEPSc7aQ9q.HkU8eP5vkvzmWZXUXGSaa1EuM.gPfIGOuhVr aVI8- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.gq1.yahoo.com with HTTP; Thu, 14 Jul 2022 15:10:17 +0000 Received: by hermes--production-gq1-56bb98dbc7-zm5x7 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID fbf8509612d15bf3bdfc19cbb9b8bafc; Thu, 14 Jul 2022 15:10:13 +0000 (UTC) Content-Type: text/plain; charset=us-ascii List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: git: 1dfcff294e44 - main - release: increase IMAGE_SIZE for arm, arm64, riscv From: Mark Millard In-Reply-To: <8A02A4A4-9F3A-47F2-9985-EA2151043BB7@yahoo.com> Date: Thu, 14 Jul 2022 08:10:12 -0700 Cc: dev-commits-src-main@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <4D903E5A-58FB-4516-AC53-AEDFF48564A7@yahoo.com> References: <84410D65-6F86-44E5-8B14-8A523C9919C7.ref@yahoo.com> <84410D65-6F86-44E5-8B14-8A523C9919C7@yahoo.com> <20220713201327.GY30607@FreeBSD.org> <7F4F9683-B4DE-4F65-BBD7-027039A0C270@yahoo.com> <20220713204227.GA30607@FreeBSD.org> <8A02A4A4-9F3A-47F2-9985-EA2151043BB7@yahoo.com> To: Glen Barber X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4LkHwr4Zn5z4Cg0 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Ps6KTBsJ; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.64.147 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-1.56 / 15.00]; NEURAL_HAM_SHORT(-1.00)[-0.999]; NEURAL_HAM_LONG(-0.99)[-0.987]; NEURAL_SPAM_MEDIUM(0.93)[0.928]; MV_CASE(0.50)[]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MIME_GOOD(-0.10)[text/plain]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; BLOCKLISTDE_FAIL(0.00)[98.137.64.147:query timed out]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US]; RCVD_IN_DNSWL_NONE(0.00)[98.137.64.147:from]; RCVD_COUNT_THREE(0.00)[3]; FREEMAIL_FROM(0.00)[yahoo.com]; TO_DN_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; FROM_EQ_ENVFROM(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[dev-commits-src-main] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-13, at 13:52, Mark Millard wrote: >>>>> . . . >>>>> QUOTE >>>>> I tried what it looks to me the /usr/src/release/ >>>>> code would do initially for arm64/RPI.conf (but with >>>>> my file naming and an explicit -u0 style of use): >>>>>=20 >>>>> # truncate -s3072m mmjnk.test >>>>> # mdconfig -u0 -fmmjnk.test -x63 -y255 >>>>> # gpart create -sMBR md0 >>>>> md0 created >>>>> # gpart show md0 >>>>> =3D> 63 6291393 md0 MBR (3.0G) >>>>> 63 6291393 - free - (3.0G) >>>>> # gpart add -t'!12' -a512k -s50m -b1m md0 >>>>> md0s1 added >>>>> # gpart show md0 >>>>> =3D> 63 6291393 md0 MBR (3.0G) >>>>> 63 1985 - free - (993K) >>>>> 2048 102400 1 fat32lba (50M) >>>>> 104448 6187008 - free - (3.0G) Note that 2048 is nicely aligned for microsd cards. >>>>> I tried the same sequence in a chroot into a 13.0-RELEASE-p11 >>>>> tree on an aarch64 main [so: 14] machine. I got the same result. >>>>>=20 >>>>> But such is not what the 13.1-RELEASE build produced, for >>>>> example: >>>>>=20 >>>>> # mdconfig -u0 -fFreeBSD-13.1-RELEASE-arm64-aarch64-RPI.img -x63 = -y255 >>>>> # gpart show md0 >>>>> =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) Note that 2079 is not nicely aligned for microsd cards. (So the 2016 is larger than appropriate for alignment.) >>>>> (There are no 13.1-STABLE snapshots available to download >>>>> and look at.) >>>>>=20 >>>>> Looking at the recent 14.0-CURRENT snapshot: >>>>>=20 >>>>> # mdconfig -u0 = -fFreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20220708-a0b956f5ac5-256605.img = -x63 -y255 >>>>> # gpart show md0 >>>>> =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) Again, note that 2079 is not nicely aligned for microsd cards. >>>>> So, also not matching. >>>>> END QUOTE . . . The original message that I quoted from was from an exchange about the inefficient alignments in the existing .img files. But it does not appear that modern /usr/src/release/ by itself would produce the inefficient alignments unless the mdconfig and gpart combination used did something odd overall that did not happen in my example sequence. Here, I'm just using the mismatch to indicate that the snapshot and release builds do not seem to match what /usr/src/release/ is set up to do. I've not managed to reproduce the alignment that the snapshot and release .img files have in them by following the /usr/src/release steps for the example Small Board Computer that I'm using to illustrate the issue. It suggests something odd is going on for the official image builds that makes the difference. What, I've no clue. =3D=3D=3D Mark Millard marklmi at yahoo.com