From owner-freebsd-arm@freebsd.org Fri Mar 12 05:56:54 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 7D23E56F045 for ; Fri, 12 Mar 2021 05:56:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-21.consmr.mail.gq1.yahoo.com (sonic314-21.consmr.mail.gq1.yahoo.com [98.137.69.84]) (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 4DxZnx1NcLz4r7g for ; Fri, 12 Mar 2021 05:56:52 +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=1615528611; bh=HiknBS+6I//S3b9wK6p+hVfGHH01atdWIgNX4CjCI0I=; h=X-Sonic-MF:Subject:From:Date:To:From:Subject; b=hXMrIuGFvB+c4ynXOaE3AYzxLSfUZcCQnyvtnGHKlfJlLFo6Sl9n4qqhSXT9E9hvhZcuvE6pshO6AaGhAxWpCcYIAPHYSbf9mmFsO55q4SUZ4uMLATVFc5m0ltSVkjSXSLctT2L36CdkVcAeB+9xp5heTryvU49JWUSfRyKV4S8yDCxAkkEDHq+n0Y4Q+aDDQvb2Jt/wkHvGBCIDaT9L9jWNal+5iMWZvGELtDUCY4o15ZZiv5LrI6SHNtcvGagOLhqMhb9G0ypy0ZMKaMWhTzlTb5XACfk2C5CgFxdYJKxgpBEgtcZkA54ZwXxx/oZt2bMVObX80Y0nZQJcStPsog== X-YMail-OSG: NGoGVaMVM1nUlgq4.Bwd6D5QjIfFEbB7g5o4Z5SCcgqf1LNegVWoFvdwPOWbabJ i6xLLhCSm513hg2zjQ1hZ7VADW57YKIXtQ.zHTHYrB6PDe04Ntsm4jldqoSeL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rQsGp8XvWH4e7k1m pVqXR4obHTKME9nCrRFbFxhBXolRywnyf91phmoXQwX4Xs9fdHCMDwQyfsO7SA3KavbekINkgR24 yz0PLVrgQJQjHLtPpkolgTIyIPtM3wdAqgabIBG8OL87OFllMqPS9cOmqtSrndM3vtqqOV5KGqUl XsfCGK9UxmS8lgagQ7YjqFq4XWCBz7Ljt1EkEWLLZ5ZJGHQGxtAlJ45IduQg_IUgIp9gWep1Bb7w c25SOQ.IS_LtnY6SQHthLNmC_5mTHmS5bhtuJmy3rO56QgMdGcNqR1cclyR_mt2Ou2lzGjRJu81O 0v48z5nw8KFvAldGL7dE- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.gq1.yahoo.com with HTTP; Fri, 12 Mar 2021 05:56:51 +0000 Received: by smtp411.mail.bf1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 85f0d2caeca29ae67809a44d08f27566; Fri, 12 Mar 2021 05:56:49 +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: rpi4b main-n245392-8423f5d4c12 won't boot due to microsd timeout From: Mark Millard In-Reply-To: Date: Thu, 11 Mar 2021 21:56:47 -0800 Cc: freebsd-arm@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: tech-lists X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4DxZnx1NcLz4r7g X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.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:+]; RCPT_COUNT_TWO(0.00)[2]; 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:36647, ipnet:98.137.64.0/20, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[98.137.69.84:from]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; SPAMHAUS_ZRD(0.00)[98.137.69.84:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.84:from]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.69.84: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: Fri, 12 Mar 2021 05:56:54 -0000 On 2021-Mar-11, at 21:49, Mark Millard wrote: > On 2021-Mar-11, at 17:59, tech-lists wrote: >=20 >> main-n245392-8423f5d4c12 built and installed fine. On reboot it seems >> the microsd card times out. Console log is here: >> = https://cloud.zyxst.net/~john/FreeBSD/main-n245392-8423f5d4c12-no-debug-fa= ilboot.txt >>=20 >> Booting kernel.old works fine. This one is from >> main-n244802-88db1cc9f19 (Feb 14th) >>=20 >> Nothing else has been changed configuration-wise, same msdos = partition, >> same config.txt. Only thing that has changed is /usr/src has been >> updated, built and installed as of main-n245392-8423f5d4c12 (March >> 11th). >>=20 >> Should I raise this in bugzilla? >=20 > Note: I use the official snapshot >=20 > = FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210311-15565e0a217-257277.img.xz >=20 > and its: >=20 > # strings /mnt/boot/kernel/kernel | grep 15565e0a217 > @(#)FreeBSD 14.0-CURRENT #0 main-n245383-15565e0a217: Thu Mar 11 = 08:02:52 UTC 2021 > FreeBSD 14.0-CURRENT #0 main-n245383-15565e0a217: Thu Mar 11 08:02:52 = UTC 2021 >=20 > For some comparisons to what you report about your > build. >=20 >=20 >=20 > Some oddities in your report that might need to be > addressed first to make things more comparable > are . . . >=20 > Your log file shows: >=20 > U-Boot 2020.07-rc3-00208-g88bd5b1793-dirty (Jun 06 2020 - 20:33:00 = +0100) >=20 > But = FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210311-15565e0a217-257277.img.xz > has: >=20 > # strings /mnt/u-boot.bin | grep 2020 > 2020.10 > U-Boot 2020.10 (Mar 11 2021 - 04:30:22 +0000) >=20 > This makes comparison of results messier. You might > want to copy the snapshot file over to your > media. >=20 >=20 > For reference the snapshot for 15565e0a217 > also has: >=20 > # strings /mnt/start4.elf | grep VC_BUILD_ID_ > VC_BUILD_ID_USER: dom > VC_BUILD_ID_TIME: 12:10:40 > VC_BUILD_ID_VARIANT: start > VC_BUILD_ID_TIME: Feb 25 2021 > VC_BUILD_ID_BRANCH: bcm2711_2 > VC_BUILD_ID_HOSTNAME: buildbot > VC_BUILD_ID_PLATFORM: raspberrypi_linux > VC_BUILD_ID_VERSION: 564e5f9b852b23a330b1764bcf0b2d022a20afd0 (clean) >=20 > The Feb 25 2021 start4.elf build is from the officially > tagged 1.20210303 rpi* material from: >=20 > https://github.com/raspberrypi/firmware/tree/1.20210303/boot/ > ( which is what a modern sysutils/rpi-firmware has in > part of /usr/local/share/rpi-firmware/ ) >=20 > Note: many files other than start*.elf are involved but > many do not have such nice, checkable version strings > to look at. >=20 > What vintage/variant was your experiment was based on? >=20 > You might want to copy the snapshot's material over to > your media if your media does not match. >=20 >=20 > Your log file shows: >=20 > FreeBSD/arm64 EFI loader, Revision 1.1 > (Thu Sep 17 07:58:43 UTC 2020 root@releng1.nyi.freebsd.org) >=20 > But = FreeBSD-14.0-CURRENT-arm64-aarch64-RPI-20210311-15565e0a217-257277.img.xz > has: >=20 > # strings /mnt/EFI/BOOT/bootaa64.efi | egrep '(FreeBSD/|root@)' > FreeBSD/arm64 EFI loader, Revision 1.1 > (Thu Mar 11 07:29:18 UTC 2021 root@releng1.nyi.freebsd.org) >=20 > I do not have sizes or content to compare to see if there > are actual differences. FYI: >=20 > # ls -Tld /mnt/EFI/BOOT/bootaa64.efi=20 > -rwxr-xr-x 1 root wheel 1258796 Mar 10 23:29:52 2021 = /mnt/EFI/BOOT/bootaa64.efi >=20 > You might want to copy the snapshot's material over to > your media if your media does not match. The suggestion might not be the best for EFI/BOOT/bootaa64.efi : Copying your build's /boot/loader.efi to EFI/BOOT/bootaa64.efi would likely be better so it is testing the version from your build instead. > With the deliberate matching of materials, re-running the > experiment and basing any report on the result with a > description of the context would avoid worries about the > mismatches contributing to the behaviorial issues. (I've > no clue if they actually matter or not.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)