From owner-freebsd-arm@freebsd.org Fri Jul 17 22:04:26 2020 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 78E7E370051 for ; Fri, 17 Jul 2020 22:04:26 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (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 4B7lX93rDFz4bNW for ; Fri, 17 Jul 2020 22:04:25 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: VJbsL5UVM1krXhYiyoyuasFuX5SZorymkDUce9zAJ1z8lEvgNU3v199JOe6LwQf xgIG3VxR_sBOqZQGeNREMWbP39aN25pK7TJWUuCP7cFt9k1bAmlvK80ZuekKpKDnfsoxkP5VD8rS 9NpN.2iT7a9kPtGG9vwx0QRPVcaYhjCj76yKse26f1Jf.wXPmslzYm4.bnlJ.rEbzBePaha6ExQj fhafe3.TxU3g2gbxCRuYkzwQ44FBtju0QE33dkt6ZDg44lbGBuPoc9tZXwMvHExNlNgAsUqmqj3a i7SUvlgNOmN2B.nrQBPNoW8Dg_QuW0irYYRrfGdTlmzmPD..z3hb6829NZoqQV_lZmtjwS53oX28 1YLDCwaM5OLq9WDGx1TtmpNaSyOZQh7vdn.qioNOBPi87kpXrg6W0sXS0AhayBmh.TP07Yk6cmbR rkKkRVhlpWRETLd4xOzwaAxdht6GO6LNAXS_Yr3Hnk78S_l9ZxxQ7CgydXarsCty58eFBN7wirnn mGGf0rZhwBcizgmsX9U64wfoDSGd.pMFRE5wiIhw1wMAKi8gcoa78cpMCIdxE9beF9YvKv9y8j4q EsOg.e2HkdLHT.IX1jMqdIF_4BBNj24rmh2A8xhOHNLCmydJQnbWd10YT460KuuTHz_hxp9sJEEE 2o0MCN_8nKy8DfXg22GgbvpocOGDL5A8s0vac34Ylbwboy0AP55mTejPogZnKKB_7FfrY2b9NsEp 7yuNPfklsRn4.FP6okLDPMBRhJQ..J6kVKtMboMP6j8xZ4ktvv9z.PG_0Yt_hS74WmhyGL8Fj.sC nVeGvtAel8PcPgMZoZysNB_s4QY7oPgO5b5ToQ1RHFVPlnDKWlzoOOUolZwTcAS111jayk5FOn_1 XXNDO2p1vw9xg5Fhe8vbPjpd395Hs.KhVK7akZEExOwkMQpsiODvHsiZt8wnMEDCVQN2pysJrh86 bzJqv4.WdHbFCyrsrdDmHdmCIjHYlTHY2Y1An_hMFqHzIKq4OXQRgU2CkE5lHS1cBy3Upp9yXry_ NtBpaPj6SbDOxSmp2HVjzagYNnZRjHKAqRkNfXlkrw9BxlTr7eO6eRoYgi_UmwElQBktSDtIDUqr fCiY3TvI4.jDQkiR..boWfI0DJvE2WZC0By2ADBW1UTY9QriU1VqEaVaWOcyLzWWFXmuT_2e5LPN rmKwa0khRjuMX7zhl7a5zZkD2QLiaLSqh.lJuOSDnjOSVa29s3xurlIi30TkdavewfpIVcUKDEAb 2F3UXJ2agCP95Gf.MEdjt9CbbIrvDL_RRHnK2FJWHA4BEO8wAYgaXnltRYEKHOefegIvRWuFKE7r LYs0gBswjySCqahu7u_pkHN9RVViy4J6anHN6q6gnd2cGqkqykCOIMMYHGcVBQOrmbB0skvWPWxf glMpskUT34ZiZSXvbV3HvwOTsQMoa3Q3_W1CKAiZ6DtoO_5aGpXWjtXw- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Fri, 17 Jul 2020 22:04:18 +0000 Received: by smtp431.mail.ne1.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID af2867ed9d668ed2476cf32978a55690; Fri, 17 Jul 2020 22:04:16 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Pine64+2GB unable to boot after attempted update, failure very early: efipart_readwrite: rw=1, blk=... size=32 status=7; RPi3 has no problem Date: Fri, 17 Jul 2020 15:04:15 -0700 References: To: freebsd-arm , FreeBSD Current In-Reply-To: Message-Id: X-Mailer: Apple Mail (2.3608.80.23.2.2) X-Rspamd-Queue-Id: 4B7lX93rDFz4bNW X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.86 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.147:from]; FROM_HAS_DN(0.00)[]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; NEURAL_HAM_LONG(-0.98)[-0.975]; NEURAL_HAM_MEDIUM(-1.04)[-1.044]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[98.137.65.147:from]; NEURAL_HAM_SHORT(-0.34)[-0.344]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com:dkim] X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2020 22:04:26 -0000 On 2020-Jul-16, at 23:15, Mark Millard wrote: > [Trying again: I missed removing a type of character (escape) > beyond the [?25h removals. My choice of editor was not the > best for the context and it was not obvious that the > escapes were present.] >=20 > I'll mostly just send the text that has the > additional removals. The boot text with the error > messages then is: >=20 >=20 > U-Boot SPL 2020.07 (Jul 13 2020 - 12:12:14 +0000) > DRAM: 2048 MiB > Trying to boot from MMC1 > NOTICE: BL31: v2.3(): > NOTICE: BL31: Built : 23:56:54, Apr 26 2020 > NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689) > NOTICE: BL31: Found U-Boot DTB at 0x4092b68, model: Pine64+ > NOTICE: PSCI: System suspend is unavailable > alloc space exhausted >=20 >=20 > U-Boot 2020.07 (Jul 13 2020 - 12:12:14 +0000) Allwinner Technology >=20 > CPU: Allwinner A64 (SUN50I) > Model: Pine64+ > DRAM: 2 GiB > MMC: mmc@1c0f000: 0 > Loading Environment from FAT... *** Warning - bad CRC, using default = environment >=20 > In: serial > Out: serial > Err: serial > Net: phy interface7 > eth0: ethernet@1c30000 > starting USB... > Bus usb@1c1a000: USB EHCI 1.00 > Bus usb@1c1a400: USB OHCI 1.0 > Bus usb@1c1b000: USB EHCI 1.00 > Bus usb@1c1b400: USB OHCI 1.0 > scanning bus usb@1c1a000 for devices... 1 USB Device(s) found > scanning bus usb@1c1a400 for devices... 1 USB Device(s) found > scanning bus usb@1c1b000 for devices... 3 USB Device(s) found > scanning bus usb@1c1b400 for devices... 1 USB Device(s) found > scanning usb for storage devices... 1 Storage Device(s) found > Hit any key to stop autoboot: 2 =08=08=08 1 =08=08=08 0=20 > switch to partitions #0, OK > mmc0 is current device > Scanning mmc 0:1... > 38612 bytes read in 4 ms (9.2 MiB/s) > Found EFI removable media binary efi/boot/bootaa64.efi > Scanning disk mmc@1c0f000.blk... > ** Unrecognized filesystem type ** > Scanning disk usb_mass_storage.lun0... > ** Unrecognized filesystem type ** > ** Unrecognized filesystem type ** > ** Unrecognized filesystem type ** > Found 7 disks > 7[r[999;999H[6n8BootOrder not defined > EFI boot manager: Cannot load any image > 695648 bytes read in 33 ms (20.1 MiB/s) > [2J[1;1H[2J[1;1HConsoles: EFI console =20 >=20 >=20 > |/-\|/-\| Reading loader env vars from /efi/freebsd/loader.env >=20 >=20 > Setting currdev to disk0p1: >=20 >=20 > /-\|/-FreeBSD/arm64 EFI loader, Revision 1.1 >=20 >=20 >=20 >=20 >=20 > Command line arguments: loader.efi >=20 >=20 > Image base: 0xb8e63000 >=20 >=20 > EFI version: 2.80 >=20 >=20 > EFI Firmware: Das U-Boot (rev 8224.1792) >=20 >=20 > Console: comconsole (0) >=20 >=20 > Load Path: /efi\boot\bootaa64.efi >=20 >=20 > Load Device: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403= b,0x1ffe0) >=20 >=20 > Trying ESP: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(1,0x01,0,0x403= b,0x1ffe0) >=20 >=20 > Setting currdev to disk0p1: >=20 >=20 > \|/-\|/-\|/-Trying: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x244= 00,0xe600000) >=20 >=20 > Setting currdev to disk0p2: >=20 >=20 > \|/-\|efipart_readwrite: rw=3D1, blk=3D123244224 size=3D32 status=3D7 >=20 >=20 > /efipart_readwrite: rw=3D1, blk=3D148608 size=3D32 status=3D7 >=20 >=20 > -efipart_readwrite: rw=3D1, blk=3D148545 size=3D32 status=3D7 >=20 >=20 > efipart_readwrite: rw=3D1, blk=3D148545 size=3D32 status=3D7 >=20 >=20 > \efipart_readwrite: rw=3D1, blk=3D148608 size=3D32 status=3D7 >=20 >=20 > |efipart_readwrite: rw=3D1, blk=3D148545 size=3D32 status=3D7 >=20 >=20 > efipart_readwrite: rw=3D1, blk=3D148545 size=3D32 status=3D7 >=20 >=20 > /efipart_readwrite: rw=3D1, blk=3D148608 size=3D32 status=3D7 >=20 >=20 > -efipart_readwrite: rw=3D1, blk=3D148545 size=3D32 status=3D7 >=20 >=20 > efipart_readwrite: rw=3D1, blk=3D148545 size=3D32 status=3D7 >=20 >=20 > ERROR: cannot open /boot/lua/loader.lua: no such file or directory. >=20 >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Type '?' for a list of commands, 'help' for more detailed help. >=20 >=20 > OK=20 >=20 >=20 >=20 >=20 >=20 > The contrasting RPi3B text near the area with first errors above: >=20 >=20 >=20 > \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08Trying: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/SD(0)/SD(0)/HD(2,0x01,0,0x244= 00,0xe600000) >=20 >=20 > Setting currdev to disk0p2: >=20 >=20 > = \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08= -=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08= /=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08= |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08= \=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08|=08Lo= ading /boot/defaults/loader.conf >=20 >=20 > /=08-=08\=08|=08/=08-=08\=08Loading /boot/defaults/loader.conf >=20 >=20 > Loading /boot/device.hints >=20 >=20 > |=08/=08-=08\=08|=08/=08-=08\=08|=08/=08-=08\=08Loading = /boot/loader.conf >=20 >=20 > |=08/=08-=08\=08Loading /boot/loader.conf.local >=20 >=20 >=20 > (I'll not list more.) >=20 > For reference: >=20 > # gpart show -p > =3D> 63 249737153 mmcsd0 MBR (119G) > 63 16380 - free - (8.0M) > 16443 131040 mmcsd0s1 fat32lba [active] (64M) > 147483 997 - free - (499K) > 148480 241172480 mmcsd0s2 freebsd (115G) > 241320960 8416256 - free - (4.0G) >=20 > =3D> 0 241172480 mmcsd0s2 BSD (115G) > 0 230686720 mmcsd0s2a freebsd-ufs (110G) > 230686720 10485760 - free - (5.0G) >=20 > =3D> 40 468862048 da0 GPT (224G) > 40 2008 - free - (1.0M) > 2048 413138944 da0p1 freebsd-ufs (197G) > 413140992 6291456 da0p2 freebsd-swap (3.0G) > 419432448 6291456 da0p4 freebsd-swap (3.0G) > 425723904 43138184 - free - (21G) >=20 > # find /boot/efi/ -print | sort | more > /boot/efi/ > /boot/efi/COPYING.linux > /boot/efi/EFI > /boot/efi/EFI/BOOT > /boot/efi/EFI/BOOT/bootaa64.efi > /boot/efi/LICENCE.broadcom > /boot/efi/System Volume Information > /boot/efi/System Volume Information/WPSettings.dat > /boot/efi/armstub8.bin > /boot/efi/bcm2710-rpi-2-b.dtb > /boot/efi/bcm2710-rpi-3-b-plus.dtb > /boot/efi/bcm2710-rpi-3-b.dtb > /boot/efi/bcm2710-rpi-cm3.dtb > /boot/efi/bootcode.bin > /boot/efi/config.txt > /boot/efi/dtb > /boot/efi/dtb/allwinner > /boot/efi/dtb/allwinner/sun50i-a64-pine64-lts.dtb > /boot/efi/dtb/allwinner/sun50i-a64-pine64-plus.dtb > /boot/efi/dtb/allwinner/sun50i-a64-pine64.dtb > /boot/efi/dtb/allwinner/sun50i-a64-pinebook.dtb > /boot/efi/dtb/allwinner/sun50i-a64-sopine-baseboard.dtb > /boot/efi/dtb/overlays > /boot/efi/dtb/overlays/spigen-rpi3.dtbo > /boot/efi/dtb/overlays/sun50i-a64-opp.dtbo > /boot/efi/dtb/overlays/sun50i-a64-pwm.dtbo > /boot/efi/dtb/overlays/sun50i-a64-rpwm.dtbo > /boot/efi/dtb/overlays/sun50i-a64-spi0-spigen.dtbo > /boot/efi/dtb/overlays/sun50i-a64-timer.dtbo > /boot/efi/fixup.dat > /boot/efi/overlays > /boot/efi/overlays/disable-bt.dtbo > /boot/efi/overlays/mmc.dtbo > /boot/efi/overlays/pwm.dtbo > /boot/efi/start.elf > /boot/efi/u-boot.bin >=20 > (Where /boot/efi refers to /dev/mmcsd0s1 .) >=20 > I forgot to indicate: that the context is based > on head -r363123 FreeBSD and -r542111 ports. >=20 Well, I've had back-to-back boot attempts go from fails to works, same media. It may just be the old Pine64+2GB is no longer reliable (in one or more ways). Outside the Pine64+2GB context, I've no evidence of the microsd card being problematical. I've some past evidence of USB failing on occasion on the Pine64+2GB. Difficult to tell if such hardware problems are the overall issue. The timing of the the recent boot failure failures starting also might point at the updated sysutils/u-boot-pine64 material. (FreeBSD had been updated previous to the u-boot update.) Using the RPi3B I'd moved where mmcsd0s2 started on the microsd card after the prior reports, but that had made no difference in the behavior for a time and so is not likely to be related to the boot attempt that worked. For now I'm going to ignore such Pine64+2GB boot failures relative to list reporting. (That still leaves me with Rock64 booting being broken buy head -r363122 / -r363213 . powerpc64 and 32-bit powerpc are still untested for head -r363123. Given problems with 32-bit powerpc having the kernel zero-out pages of user-process memory [known problem], I'm not so sure it will get any testing.) =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)