From owner-freebsd-arm@freebsd.org Thu Apr 15 21:02:17 2021 Return-Path: Delivered-To: freebsd-arm@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7657E5D78F1 for ; Thu, 15 Apr 2021 21:02:17 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-22.consmr.mail.ne1.yahoo.com (sonic304-22.consmr.mail.ne1.yahoo.com [66.163.191.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4FLsGw2TcXz4rf5 for ; Thu, 15 Apr 2021 21:02:15 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1618520534; bh=ksl+YlCTGVhI61wp9cjvRaYutZnRVI+emWu3p5qATqR=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=gqRzdTvSPrrYQpo5zA2uMmhwd7bvaQW2xdVh/TrnswZ2fWmgEVHuwKsD07J/ZrZVW2TvEv308jE8ekoXBA0/KWcsvADaFIAATUeHrvTErpMk9XXp7eo5HtW+C5gklOy8nZObt7DF5suzWrxDsRaeAYjDkYurDj6Ktl4uWZuwuiE8vDgcbJTJMIehQZ59UpZApudYhSQpbvb/B3qk5/NE2FDvELsjIjyXGVyTa/de73ggJxtxC516E9mUq9007zYmT9KPLMber5ORT1cYFwaFeZZEF5yip4NdTdkTu1mrz9TIunWGWIiVc+Fgbpi+kySC+xChP4xtODn8lDz1I5FggA== X-YMail-OSG: Ix4xZUAVM1mkIdNTd.Dr4nI393XI6cBvGlOw0D4tuB7naXUBFWF2_.BvZJ4ak.g cuzZr4z1cB1hGAdHHGNG3_qA3wsEVROHwkwyzGjSV2XfFkXRhprfYGebD.K6pkvf1KugolVIn_O2 DM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xobtjp7ESv2J4HTvCwLgYzZKdbaGMIlKcrOVafBtb7dMWSvOYCihpkG1rIJpuH 17FEU3BiV1gaxAhqjDRZqsff_ydlTajum5vlI0tiT_gnnptCjZ55P7nSlT.bmcbccf4q7vXXkGZB 7AZ_qnAak_orK6Zc00lOrOpR71xNf1uf1mgWyAhxRZbAD9wXvF7Qd1V8ubVaPhOs6HIxyzHyUFis W.Oohdbll.2K5x2oTwLqdtdrGGvtAm2RffACp4Nseve8c7elRn5g9JWFt15dlX_xQSwViNcdwQhb kcIlGNX4WmgtJHHNU3IkrgjqYFKmyJ25.ZoHSGJlkjpTsOwlEI2JPlpFkgpwtgWUc9j5LZ1KXqnG J5kOr5Vwpl1G7X4j5XR4_5HMSw.zz.5zapOFuZCqB6IYlzA50zHmBjQWcQrxtCoboaEtxMSGSWot 2khhzANz8oa1rRtMQAtPSLJcD97A1V_upZIFClSZTZQYHTgUggCzCaFnN5dE84DPfLVcN X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Thu, 15 Apr 2021 21:02:14 +0000 Received: by kubenode502.mail-prod1.omega.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID ef51b1547db4475d9ec9b66776b90042; Thu, 15 Apr 2021 21:02:11 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: why is armv7 GENERICSD in 13.0-RELEASE? From: Mark Millard In-Reply-To: <20210415222103.a21025d9fa4607a6e4ff0cf0@bidouilliste.com> Date: Thu, 15 Apr 2021 14:02:08 -0700 Cc: tech-lists , freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <502FE431-EA7F-4B68-A86E-305843AAD384@yahoo.com> References: <20210415222103.a21025d9fa4607a6e4ff0cf0@bidouilliste.com> To: Emmanuel Vadot X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4FLsGw2TcXz4rf5 X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.50 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; NEURAL_HAM_SHORT(-1.00)[-0.999]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.163.191.148:from]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; SUBJECT_ENDS_QUESTION(1.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[66.163.191.148:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[66.163.191.148:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[66.163.191.148:from]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-arm] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting FreeBSD to ARM processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Apr 2021 21:02:17 -0000 On 2021-Apr-15, at 13:21, Emmanuel Vadot = wrote: > On Thu, 15 Apr 2021 18:22:27 +0100 > tech-lists wrote: >=20 >> (not sure where else to post this, -arm seemed most appropiate at = first >> glance) >>=20 >> As per subject. I went looking for armv7-rpi2b images. I could find >> aarch64-rpi images and arm-armv6-rpb images but for some reason the >> armv7-rpi2b image is called armv7-GENERICSD[1]. The only way of = working >> out if it could be suitable for rpi2b was to download, unpack the = image >> and mount the msdos partition with mdconfig to see that among the = files >> there, there's bcm2709-rpi-2-b.dtb. There's lots of armv7 hardware = out >> there not rpi2b. There is only one armv6 image and that is labelled = as >> rpi-b. There is only one armv7 image and that's labelled as GENERICSD >> ?!?=20 >>=20 >> 1. why can't a naming convention be decided on and adhered to >=20 > I want to add a GENERICSD image for aarch64 for a long time, it wasn't > possible before because some boards where using GPT while most of the > others where using MBR. Now that Allwinner can be used with GPT a > GENERICSD can be made (and only RPI will be left with MBR, even if I > think that some of the RPI4 can boot from GPT) Just an FYI for those that might care for mostly-USB booting and use of GPT partitioning on that USB media: I boot a RPi2 v1.2 (so: Cortex-A53) and a RPi3B v1.2 (both 1 GiByte) via GPT partitioned USB SSD media, based on also using a microsd card with one file on it. (I put the microsd card in the already-booted Rock64 for the below.) # gpart show /dev/mmcsd1 =3D> 63 62333889 mmcsd1 MBR (30G) 63 8129 - free - (4.0M) 8192 62325760 1 fat32lba (30G) # find /mnt/ -print /mnt/ /mnt/bootcode.bin The microsd card that contains the bootcode.bin does need to be MBR partitioned. Then the (pre-RPi4) RPi* can find and load the bootcode.bin . With a modern bootcode.bin on that media, GPT partitions then work for booting, as does notation like [pi3] in config.txt . I've no access to a more modern RPi3 (such as a RPi3B+) but all the Cortext-A53 RPi*'s that put bootcode.bin to use would allow this sort of thing. (May be some would not require such a microsd card use, at least for the GPT aspect. The config.txt notation might have shown up even later, I'm not sure.) For the RPi4B's the 4 GiByte v1.1 ones and the RPi4B 8 GiByte v1.4 ones that I have access to all boot GPT partitioned USB3 SSD media without use of the microsd card slot. But, since all of them are rather early instances, that started after an EEPROM update for each. All involved now have the 2020-Sep-03 default/critical EEPROM update --but such might not well cover a CM4 or Pi400. (I've no access to those.) The RPi4's do not use bootcode.bin at all (and likely CM4's and Pi400's do not either?). >> 2. when naming convention changes, please make some sort of = announcement >> on the main freebsd website. >=20 > The commit was taggued with Relnotes, not sure why it wasn't added to > them. > = https://cgit.freebsd.org/src/commit/?id=3De6b9cee76b14d687fb7ee6e37f381349= b749401b >=20 >> [1] = https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.0/FreeBSD-13.0-REL= EASE-arm-armv7-GENERICSD.img.xz =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)