From nobody Sun Jul 3 02:42:43 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 479968730FA for ; Sun, 3 Jul 2022 02:42:58 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic312-25.consmr.mail.gq1.yahoo.com (sonic312-25.consmr.mail.gq1.yahoo.com [98.137.69.206]) (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 4LbCsY0YqZz3hn6 for ; Sun, 3 Jul 2022 02:42:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656816168; bh=6KSZKqK/vhsUNmyax00gUwh9Jbe/mvLv20g3rwCnXss=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=l2/g0/II6v5Q9+QuG/mLtgshHO1p0X3IXDqlkOFdYUxK28X/VrxGgmkFeGVxzDrumjMSjKKnTliZ24HZQNLzjb+JEqkxij7PuQKZ9M4EIKxI+kEVxCuoSa1ko/gvtxqDg5jnaYKD3ZmTI2Vi1AYKOEtSjOiRZEQTH27+gfdAFmYiEGboEmB5rqut8eYLycyRadvhh87osN4fa3HdGPOgVzGyj/zl3E5I3/xnCytv7sVMFmfWYVFEDPjCCYgdQ8g1VeAgxPSL+/Mo6S8dQ1AmfwHjQ618dtdwUfhYWr16KkLxxvmhOnYPWQNqrXMqR3qcXmOqMmiIC+i1sgBQ0OsSUQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656816168; bh=hnzMuUAsGB2W+Nl1TlrWSiDCWZnFyLWGGed05GD4uUs=; h=X-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TAVsbvZTKL.hTic3l0jIi20fZ11Lj3nT4MvTRmBSXyQctm MGyplC9nijmD7.8OFPT7qVlTJzGdy1kflLroPOcV9TLF9QYe9Hk1vt8Q7IV84MwRjpAV5.hQ70DB QuJtXaUQvbO5nUqe4EVaqnHew9gmGnXACIa4.ILMAc0l2vydWwfSblREBc1Z8WXKU2ncGxOzC0Bc PxsED6qgb92XU6q_QGezFmGCmOs84VkVyxIDHFSA7M_3Kw7PwX0kmAlwN2qPEU8t82Z1XherY9lm XiT3c7mVWWrg0fXwDLD7gc8IX2qLgd5pO8RTXxN0VuL0mGPz8cEs0o7m6gin43.55H5lnK5eN9KS goU99RWBrZ863J4vCej4YQWgKrJqhnDrGWXLIJr1geFrAxOvZbu6Rmdx4D_A7fFIBagsCWf6nJxC Pkom75..0at30tAVQJjMGo23cRfNMDsnXxzclOML78zO30QKoApe4WI7DME4xVIuRHE5zH4tVdZg LG_eVgwahBLn.RiO0mFr_ioaRszQ4WvmAt0fi7yNGaxuuwH6r5iXrRaP9qTPm8zSekS8UpXyjoYI Mwg-- X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic312.consmr.mail.gq1.yahoo.com with HTTP; Sun, 3 Jul 2022 02:42:48 +0000 Received: by hermes--production-ne1-7864dcfd54-kgsw5 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 989f70e7b3dea65a4282082d1e658344; Sun, 03 Jul 2022 02:42:44 +0000 (UTC) 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 14.0 \(3654.120.0.1.13\)) Subject: Re: RPi3 usb boot hang on stable/13 From: Mark Millard In-Reply-To: Date: Sat, 2 Jul 2022 19:42:43 -0700 Cc: Free BSD Content-Transfer-Encoding: quoted-printable Message-Id: <8C389C8E-3F44-4F25-BDF4-44313026E2F8@yahoo.com> References: <20220702165800.GA10701@www.zefox.net> <3BDD64A4-8BC3-4E14-B17C-1958F6CBB87F@yahoo.com> <24D669B0-728D-4910-884A-B2230AE442F9@yahoo.com> <20220702222139.GB10701@www.zefox.net> To: bob prohaska X-Mailer: Apple Mail (2.3654.120.0.1.13) X-Rspamd-Queue-Id: 4LbCsY0YqZz3hn6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b="l2/g0/II"; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.69.206 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-2.18 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yahoo.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; 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)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; SH_EMAIL_DBL_DONT_QUERY_IPS(0.00)[0.0.0.0:email]; NEURAL_SPAM_SHORT(0.31)[0.315]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DBL_PROHIBIT(0.00)[0.0.0.0:email]; RCVD_IN_DNSWL_NONE(0.00)[98.137.69.206:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-2, at 18:38, Mark Millard wrote: > On 2022-Jul-2, at 15:21, bob prohaska wrote: >=20 >> On Sat, Jul 02, 2022 at 12:00:02PM -0700, Mark Millard wrote: >>> On 2022-Jul-2, at 10:34, Mark Millard wrote: >>>>>=20 >>>>> Device 0:=20 >>>>=20 >>>> That is U-Boot output. Looks like the output stopped before >>>> the load of even the FreeBSD loader: FreeBSD is not involved >>>> yet so it is not a FreeBSD problem. >>>=20 >>> Hmm. I looked at an old RPI3 boot-session log I have around and >>> it shows more text than you report. Is your serial connection >>> having problems? An example that is missing is the line >>> "U-Boot . . ." that identifies the version and build time >>> of U-Boot. That is rather generic material to be missing. >>> (I did not have a microsd card present. Such could be an >>> example of expected differences.) >>>=20 >>>=20 >>> There is the difference (yours then mine): >>>=20 >>> MMC: mmc@7e300000: 1 >>> vs. >>> MMC: mmc@7e300000: 2 >>>=20 >>> I wonder it if is some sort of clue about something. >>>=20 >>=20 >> It just dawned there are two u-boot instances: One on the microSD, >> which I think is the "special USB boot" version, which reports >> U-Boot 2019.10 (Mar 17 2020 - 22:01:14 -0700) >=20 > The above is what you are using when you use the microsd > card. See later. >=20 >> and a second on the FAT partition of the USB disk, which reports >> U-Boot 2020.10 (Apr 09 2021 - 03:55:54 +0000) >=20 > You are not using the above one when you use the microsd card. >=20 > You are using the above one if it gets to U-Boot without a > microsd card present. >=20 >> Just tried removing the microSD card and issuing shutdown -r now. >> The console got to "Resetting system..." and stopped.=20 >>=20 >> Put the microSD back in and tried again from the beginning. It looks >> like the machine starts from microSD and transfers control to u-boot >> on the USB drive. >=20 > No: See later. >=20 >> The USB boot OTP was set IIRC, haven't checked lately. >> Maybe it's time to reformat and start over..... >>=20 >> What follows is a fairly typical startup session: >>=20 >> Resetting system ...=20 >>=20 >>=20 >> Raspberry Pi Bootcode >>=20 >> Found SD card, config.txt =3D 1, start.elf =3D 1, recovery.elf =3D 0, = timeout =3D 0 >> Read File: config.txt, 178 (bytes) >>=20 >>=20 >>=20 >>=20 >> Raspberry Pi Bootcode >> Read File: config.txt, 178 >> Read File: start.elf, 2835780 (bytes) >> Read File: fixup.dat, 6639 (bytes) >> MESS:00:00:01.108743:0: brfs: File read: /mfs/sd/config.txt >=20 > /mfs/sd/ is the microsd card in your context. >=20 Note: The above was based on your reporting that the microsd card was used. If no microsd card was present and USB was being used, it would still say: /mfs/sd/ as the path prefix. That notation in the RPi* firmware output just means the boot media used by the RPi* firmware. Other than the "just bootcode on the microsd card" alternative, the RPi* firmware picks one place and gets everything that it loads from there. Any accesses to other partitions or media are not by RPi* firmware once the RPi* firmware has made its pick. > The above is config.txt being loaded from the microsd card. >=20 >> MESS:00:00:01.112989:0: brfs: File read: 178 bytes >> MESS:00:00:01.126707:0: HDMI:EDID error reading EDID block 0 attempt = 0 >> MESS:00:00:01.132784:0: HDMI:EDID error reading EDID block 0 attempt = 1 >> MESS:00:00:01.139029:0: HDMI:EDID error reading EDID block 0 attempt = 2 >> MESS:00:00:01.145279:0: HDMI:EDID error reading EDID block 0 attempt = 3 >> MESS:00:00:01.151529:0: HDMI:EDID error reading EDID block 0 attempt = 4 >> MESS:00:00:01.157779:0: HDMI:EDID error reading EDID block 0 attempt = 5 >> MESS:00:00:01.164029:0: HDMI:EDID error reading EDID block 0 attempt = 6 >> MESS:00:00:01.170279:0: HDMI:EDID error reading EDID block 0 attempt = 7 >> MESS:00:00:01.176529:0: HDMI:EDID error reading EDID block 0 attempt = 8 >> MESS:00:00:01.182779:0: HDMI:EDID error reading EDID block 0 attempt = 9 >> MESS:00:00:01.188792:0: HDMI:EDID giving up on reading EDID block 0 >> MESS:00:00:01.206550:0: brfs: File read: /mfs/sd/config.txt >=20 > The above is config.txt (again!) being loaded from the microsd card. >=20 >> MESS:00:00:01.210671:0: HDMI:Setting property pixel encoding to = Default >> MESS:00:00:01.216761:0: HDMI:Setting property pixel clock type to PAL >> MESS:00:00:01.222920:0: HDMI:Setting property content type flag to No = data >> MESS:00:00:01.229520:0: HDMI:Setting property fuzzy format match to = enabled >> MESS:00:00:01.236297:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK = not defined >> MESS:00:00:01.439246:0: gpioman: gpioman_get_pin_num: pin LEDS_PWR_OK = not defined >> MESS:00:00:01.445328:0: hdmi: HDMI:hdmi_get_state is deprecated, use = hdmi_get_display_state instead >> MESS:00:00:01.453811:0: hdmi: HDMI:>>>>>>>>>>>>>Rx sensed, reading = EDID<<<<<<<<<<<<< >> MESS:00:00:01.461557:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 0 >> MESS:00:00:01.469289:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 1 >> MESS:00:00:01.476056:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 2 >> MESS:00:00:01.482826:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 3 >> MESS:00:00:01.489597:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 4 >> MESS:00:00:01.496368:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 5 >> MESS:00:00:01.503138:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 6 >> MESS:00:00:01.509910:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 7 >> MESS:00:00:01.516681:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 8 >> MESS:00:00:01.523451:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 9 >> MESS:00:00:01.529985:0: hdmi: HDMI:EDID giving up on reading EDID = block 0 >> MESS:00:00:01.535499:0: hdmi: HDMI: No lookup table for resolution = group 0 >> MESS:00:00:01.542084:0: hdmi: HDMI: hotplug attached with DVI support >> MESS:00:00:01.548262:0: hdmi: HDMI:hdmi_get_state is deprecated, use = hdmi_get_display_state instead >> MESS:00:00:01.557298:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 0 >> MESS:00:00:01.565030:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 1 >> MESS:00:00:01.571802:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 2 >> MESS:00:00:01.578573:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 3 >> MESS:00:00:01.585343:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 4 >> MESS:00:00:01.592115:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 5 >> MESS:00:00:01.598886:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 6 >> MESS:00:00:01.605656:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 7 >> MESS:00:00:01.612427:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 8 >> MESS:00:00:01.619198:0: hdmi: HDMI:EDID error reading EDID block 0 = attempt 9 >> MESS:00:00:01.625732:0: hdmi: HDMI:EDID giving up on reading EDID = block 0 >> MESS:00:00:01.631505:0: hdmi: HDMI: hotplug deassert >> MESS:00:00:01.635919:0: hdmi: HDMI: HDMI is currently off >> MESS:00:00:01.641039:0: hdmi: HDMI: changing mode to unplugged >> MESS:00:00:01.646605:0: hdmi: HDMI:hdmi_get_state is deprecated, use = hdmi_get_display_state instead >> MESS:00:00:01.656008:0: *** Restart logging >> MESS:00:00:01.659280:0: brfs: File read: 178 bytes >> MESS:00:00:01.665054:0: Failed to open command line file = 'cmdline.txt' >> MESS:00:00:01.672773:0: brfs: File read: /mfs/sd/armstub8.bin >=20 > The above is armstub8.bin being loaded from the microsd card. >=20 >> MESS:00:00:01.676824:0: Loading 'armstub8.bin' to 0x0 size 0x1700 >> MESS:00:00:01.682667:0: brfs: File read: 5888 bytes >> MESS:00:00:01.718268:0: brfs: File read: /mfs/sd/u-boot.bin >=20 > The above is u-boot.bin being loaded from the microsd card. >=20 >> MESS:00:00:01.722146:0: Loading 'u-boot.bin' to 0x80000 size 0x7a2d8 >> MESS:00:00:01.731830:0: No kernel trailer - assuming DT-capable >> MESS:00:00:01.736078:0: brfs: File read: 500440 bytes >> MESS:00:00:01.743877:0: brfs: File read: /mfs/sd/bcm2710-rpi-3-b.dtb >=20 > The above is bcm2710-rpi-3-b.dtb being loaded from the microsd card. >=20 >> MESS:00:00:01.748535:0: Loading 'bcm2710-rpi-3-b.dtb' to 0xfa2d8 size = 0x5f12 >> MESS:00:00:01.889271:0: brfs: File read: 24338 bytes >> MESS:00:00:01.892986:0: brfs: File read: /mfs/sd/config.txt >=20 > The above is config.txt (again!) being loaded from the microsd card. >=20 >> MESS:00:00:01.897876:0: dtparam: audio=3Don >> MESS:00:00:01.919689:0: dtparam: i2c_arm=3Don >> MESS:00:00:01.938056:0: dtparam: spi=3Don >> MESS:00:00:01.954303:0: brfs: File read: 178 bytes >> MESS:00:00:01.959758:0: brfs: File read: /mfs/sd/overlays/mmc.dtbo >=20 > The above is overlays/mmc.dtbo being loaded from the microsd card. >=20 >> MESS:00:00:01.981176:0: Loaded overlay 'mmc' >> MESS:00:00:02.030370:0: brfs: File read: 1099 bytes >> MESS:00:00:02.034426:0: brfs: File read: /mfs/sd/overlays/pwm.dtbo >=20 > The above is overlays/pwm.dtbo being loaded from the microsd card. >=20 >> MESS:00:00:02.051824:0: Loaded overlay 'pwm' >> MESS:00:00:02.087719:0: brfs: File read: 946 bytes >> MESS:00:00:02.091725:0: brfs: File read: = /mfs/sd/overlays/pi3-disable-bt.dtbo >=20 > The above is overlays/pi3-disable-bt.dtbo being loaded from the = microsd card. >=20 >> MESS:00:00:02.115336:0: Loaded overlay 'pi3-disable-bt' >> MESS:00:00:03.175615:0: gpioman: gpioman_get_pin_num: pin EMMC_ENABLE = not defined >> MESS:00:00:03.287931:0: Device tree loaded to 0x4000 (size 0x63cd) >> MESS:00:00:03.293589:0: uart: Set PL011 baud rate to 103448.300000 Hz >> MESS:00:00:03.300125:0: uart: Baud rate change done... >> MESS:00:00:03.303554:0: uart: Baud rate change done... >> MESS:00:00:03.309236:0: gpioman: gpioman_get_pin_num: pin = SDCARD_CONTROL_POWER not defined >=20 > There is missing text from U-Boot here. >=20 > But the below is from the U-Boot on the microsd card. > Try renaming it, copying an alternative version, > and seeing what it does? Repeat . . . ? >=20 >> MMC: mmc@7e300000: 1 >> Loading Environment from FAT... OK >> In: serial >> Out: vidconsole >> Err: vidconsole >> Net: No ethernet found. >> starting USB... >> Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB = Device(s) found >> scanning usb for storage devices... 0 Storage Device(s) found >> Hit any key to stop autoboot: 0=20 >>=20 >> Device 0: unknown device >> U-Boot> usb reset >> resetting USB... >> Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB = Device(s) found >> scanning usb for storage devices... 0 Storage Device(s) found >> U-Boot> usb reset >> resetting USB... >> Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB = Device(s) found >> scanning usb for storage devices... 0 Storage Device(s) found >> U-Boot> usb reset >> resetting USB... >> Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB = Device(s) found >> scanning usb for storage devices... 0 Storage Device(s) found >> U-Boot> power-cycled hub >> Unknown command 'power-cycled' - try 'help' >> U-Boot> usb reset >> resetting USB... >> Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB = Device(s) found >> scanning usb for storage devices... 0 Storage Device(s) found >> U-Boot> usb reset >> resetting USB... >> Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB = Device(s) found >> scanning usb for storage devices... 0 Storage Device(s) found >> U-Boot> editenv usb_pgood_delay >> edit: 3200 >> U-Boot> editenv usb_pgood_delay >> edit: 19000 >>=20 >> [saveenv results in "saving to FAT failed"] >>=20 >> U-Boot> usb reset >> resetting USB... >> Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB = Device(s) found >> scanning usb for storage devices... 0 Storage Device(s) found >> U-Boot>=20 >> resetting USB... >> Bus usb@7e980000: scanning bus usb@7e980000 for devices... 6 USB = Device(s) found >> scanning usb for storage devices... 1 Storage Device(s) found >> U-Boot> boot =20 >>=20 >> Device 0: Vendor: SABRENT Rev: 1214 Prod:=20 >> Type: Hard Disk >> Capacity: 953869.7 MB =3D 931.5 GB (1953525168 x 512) >> ... is now current device >> Scanning usb 0:1... >> Found EFI removable media binary efi/boot/bootaa64.efi >=20 > The path is not explicit enough to directly indicate the > microsd card vs. the USB drive. But the above is one > of the (possibly) 2 FreeBSD loaders you have in your > environment. >=20 >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >> Scanning disk mmc@7e300000.blk... >> Scanning disk usb_mass_storage.lun0... >> Found 5 disks >> BootOrder not defined >> EFI boot manager: Cannot load any image >> 1259212 bytes read in 676 ms (1.8 MiB/s) >> libfdt fdt_check_header(): FDT_ERR_BADMAGIC >>=20 >> [whitespace omitted] >=20 > The below is from one of the FreeBSD loaders. >=20 >> Consoles: EFI console =20 >> Reading loader env vars from /efi/freebsd/loader.env >> Setting currdev to disk1p1: >> FreeBSD/arm64 EFI loader, Revision 1.1 >>=20 >> Command line arguments: loader.efi >> Image base: 0x39e06000 >> EFI version: 2.80 >> EFI Firmware: Das U-Boot (rev 8217.4096) >> Console: comconsole (0) >> Load Path: /efi\boot\bootaa64.efi >> Load Device: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x0)= /UsbClass(0x424,0x9514,0x9,0x0,0x2)/UsbClass(0x5e3,0x610,0x9,0x0,0x1)/UsbC= lass(0x152d,0x583,0x0,0x0,0x0)/HD(1,MBR,0x76573018,0x81f,0x18fa8) >> Trying ESP: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x0)= /UsbClass(0x424,0x9514,0x9,0x0,0x2)/UsbClass(0x5e3,0x610,0x9,0x0,0x1)/UsbC= lass(0x152d,0x583,0x0,0x0,0x0)/HD(1,MBR,0x76573018,0x81f,0x18fa8) >> Setting currdev to disk1p1: >> Trying: = /VenHw(e61d73b9-a384-4acc-aeab-82e828f3628b)/UsbClass(0x0,0x0,0x9,0x0,0x0)= /UsbClass(0x424,0x9514,0x9,0x0,0x2)/UsbClass(0x5e3,0x610,0x9,0x0,0x1)/UsbC= lass(0x152d,0x583,0x0,0x0,0x0)/HD(2,MBR,0x76573018,0x197c7,0x746ed5e9) >> Setting currdev to disk1p2: >=20 > "disk1p2:" is from the USB drive (based on the long line before it). >=20 > I expect that this means that the FreeBSD loader was also from > the USB drive. >=20 >> Loading /boot/defaults/loader.conf >> Loading /boot/defaults/loader.conf >> Loading /boot/device.hints >> Loading /boot/loader.conf >> Loading /boot/loader.conf.local >> Loading kernel... >> /boot/kernel/kernel text=3D0x2a8 text=3D0x89ef40 text=3D0x1fb30c = data=3D0x1a9358 data=3D0x0+0x2a8000 syms=3D[0x8+0x121740+0x8+0x1454aa] >> Loading configured modules... >> /boot/kernel/filemon.ko text=3D0x1574 text=3D0x272c data=3D0x500+0x20 = syms=3D[0x8+0xcd8+0x8+0x7c5] >> /boot/kernel/umodem.ko text=3D0x2160 text=3D0x1400 data=3D0x6e8+0x10 = syms=3D[0x8+0xf48+0x8+0xb75] >> loading required module 'ucom' >> /boot/kernel/ucom.ko text=3D0x249f text=3D0x3360 data=3D0x8a0+0x858 = syms=3D[0x8+0x1188+0x8+0xb19] >> /boot/entropy size=3D0x1000 >> /etc/hostid size=3D0x25 >>=20 >> Hit [Enter] to boot immediately, or any other key for command prompt. >> Booting [/boot/kernel/kernel]... =20 >> Using DTB provided by EFI at 0x7ef6000. >> EFI framebuffer information: >> addr, size 0x3eaf0000, 0x10a800 >> dimensions 656 x 416 >> stride 656 >> masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 >> ---<>--- >=20 > This is about where the kernel output starts. >=20 >> WARNING: Cannot find freebsd,dts-version property, cannot check DTB = compliance >=20 > The dtb files used do not have freebsd specific content. As I > understand, for RPi*'s, the above is expected. >=20 >> Copyright (c) 1992-2021 The FreeBSD Project. >> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, = 1994 >> The Regents of the University of California. All rights = reserved. >> FreeBSD is a registered trademark of The FreeBSD Foundation. >> FreeBSD 13.1-STABLE #5 stable/13-n251597-7c500f98b8d: Fri Jul 1 = 21:52:12 PDT 2022 >> bob@pelorus.zefox.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC = arm64 >> FreeBSD clang version 14.0.5 = (https://github.com/llvm/llvm-project.git = llvmorg-14.0.5-0-gc12386ae247c) >> VT(efifb): resolution 656x416 >> module firmware already present! >> real memory =3D 993988608 (947 MB) >> avail memory =3D 947646464 (903 MB) >> Starting CPU 1 (1) >> Starting CPU 2 (2) >> Starting CPU 3 (3) >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> random: unblocking device. >> random: entropy device external interface >> MAP 39f42000 mode 2 pages 1 >> MAP 39f4d000 mode 2 pages 1 >> MAP 3b350000 mode 2 pages 16 >> MAP 3f100000 mode 0 pages 1 >> kbd0 at kbdmux0 >> ofwbus0: >> simplebus0: on ofwbus0 >> ofw_clkbus0: on ofwbus0 >> clk_fixed0: on ofw_clkbus0 >> clk_fixed1: on ofw_clkbus0 >> regfix0: on ofwbus0 >> regfix1: on ofwbus0 >> bcm2835_firmware0: on simplebus0 >> psci0: on ofwbus0 >> lintc0: mem 0x40000000-0x400000ff on = simplebus0 >> intc0: mem 0x7e00b200-0x7e00b3ff irq = 20 on simplebus0 >> gpio0: mem 0x7e200000-0x7e2000b3 irq = 22,23 on simplebus0 >> gpiobus0: on gpio0 >> mbox0: mem 0x7e00b880-0x7e00b8bf irq 21 = on simplebus0 >> generic_timer0: irq 0,1,2,3 on ofwbus0 >> Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality = 1000 >> Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality = 1000 >> usb_nop_xceiv0: on ofwbus0 >> bcm_dma0: mem 0x7e007000-0x7e007eff irq = 4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 on simplebus0 >> bcmwd0: mem 0x7e100000-0x7e100027 on = simplebus0 >> bcm2835_clkman0: mem 0x7e101000-0x7e102fff on = simplebus0 >> bcmrng0: mem 0x7e104000-0x7e10400f on = simplebus0 >> gpioc0: on gpio0 >> uart0: mem 0x7e201000-0x7e201fff irq 24 on = simplebus0 >> uart0: console (115200,n,8,1) >> spi0: mem 0x7e204000-0x7e204fff irq 26 = on simplebus0 >> spibus0: on spi0 >> spibus0: at cs 0 mode 0 >> spibus0: at cs 1 mode 0 >> iichb0: mem 0x7e804000-0x7e804fff irq = 37 on simplebus0 >> bcm283x_dwcotg0: = mem 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 43,44 on simplebus0 >> usbus1 on bcm283x_dwcotg0 >> sdhci_bcm0: mem = 0x7e300000-0x7e3000ff irq 46 on simplebus0 >> mmc0: on sdhci_bcm0 >> fb0: on simplebus0 >> fb0: keeping existing fb bpp of 32 >> fbd0 on fb0 >> WARNING: Device "fb" is Giant locked and may be deleted before = FreeBSD 14.0. >> VT: Replacing driver "efifb" with new "fb". >> fb0: 656x416(656x416@0,0) 32bpp >> fb0: fbswap: 1, pitch 2624, base 0x3eaf0000, screen_size 1091584 >> pmu0: irq 50 on simplebus0 >> cpulist0: on ofwbus0 >> cpu0: on cpulist0 >> bcm2835_cpufreq0: on cpu0 >> cpu1: on cpulist0 >> cpu2: on cpulist0 >> cpu3: on cpulist0 >> gpioled0: on ofwbus0 >> gpioled0: failed to map pin >> gpioled0: failed to map pin >> armv8crypto0: CPU lacks AES instructions >> Timecounters tick every 1.000 msec >> iicbus0: on iichb0 >> iic0: on iicbus0 >> usbus1: 480Mbps High Speed USB v2.0 >> ugen1.1: at usbus1 >> uhub0 on usbus1 >> uhub0: on = usbus1 >> mmcsd0: 32GB at mmc0 = 50.0MHz/4bit/65535-block >> bcm2835_cpufreq0: ARM 600MHz, Core 250MHz, SDRAM 400MHz, Turbo OFF >> CPU 0: ARM Cortex-A53 r0p4 affinity: 0 >> Cache Type =3D <64 byte D-cacheline,64 byte = I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> >> Instruction Set Attributes 0 =3D >> Instruction Set Attributes 1 =3D <> >> Processor Features 0 =3D >> Processor Features 1 =3D <> >> Memory Model Features 0 =3D >> Trying to mount root from ufs:/dev/da0s2a [rw]... >> Memory Model Features 1 =3D <8bit VMID> >> Memory Model Features 2 =3D <32bit CCIDX,48bit VA> >> Debug Features 0 =3D >> Debug Features 1 =3D <> >> Auxiliary Features 0 =3D <> >> Auxiliary Features 1 =3D <> >> AArch32 Instruction Set Attributes 5 =3D >> AArch32 Media and VFP Features 0 =3D >> AArch32 Media and VFP Features 1 =3D >> CPU 1: ARM Cortex-A53 r0p4 affinity: 1 >> CPU 2: ARM Cortex-A53 r0p4 affinity: 2 >> CPU 3: ARM Cortex-A53 r0p4 affinity: 3 >> Release APs...done >> uhub0: 1 port with 1 removable, self powered >> ugen1.2: at usbus1 >> uhub1 on uhub0 >> uhub1: on usbus1 >> uhub1: MTT enabled >> Root mount waiting for: usbus1 CAM >> uhub1: 5 ports with 4 removable, self powered >> ugen1.3: at usbus1 >> smsc0 on uhub1 >> smsc0: on = usbus1 >> smsc0: chip 0xec00, rev. 0002 >> miibus0: on smsc0 >> smscphy0: PHY 1 on miibus0 >> smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto >> ue0: on smsc0 >> ue0: Ethernet address: b8:27:eb:71:46:4e >> Root mount waiting for: usbus1 CAM >> ugen1.4: at usbus1 >> uhub2 on uhub1 >> uhub2: on = usbus1 >> uhub2: 4 ports with 4 removable, self powered >> Root mount waiting for: usbus1 CAM >> usb_msc_auto_quirk: UQ_MSC_NO_GETMAXLUN set for USB mass storage = device JMicron SABRENT (0x152d:0x0583) >> usb_msc_auto_quirk: UQ_MSC_NO_PREVENT_ALLOW set for USB mass storage = device JMicron SABRENT (0x152d:0x0583) >> Root mount waiting for: usbus1 CAM >> ugen1.5: at usbus1 >> umass0 on uhub2 >> umass0: on = usbus1 >> umass0: SCSI over Bulk-Only; quirks =3D 0x8100 >> umass0:0:0: Attached to scbus0 >> ugen1.6: at usbus1 >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> Root mount waiting for: CAM >> da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 >> da0: Fixed Direct Access SPC-4 SCSI device >> da0: Serial Number 000000000000A >> da0: 40.000MB/s transfers >> da0: 953869MB (1953525168 512 byte sectors) >> da0: quirks=3D0x2 >> Warning: no time-of-day clock registered, system time will not be set = accurately >> Dual Console: Serial Primary, Video Secondary >> Setting hostuuid: 30303030-3030-3030-3064-626136386435. >> Setting hostid: 0x5cd40a6a. >> Starting file system checks: >> /dev/da0s2a: FILE SYSTEM CLEAN; SKIPPING CHECKS >> /dev/da0s2a: clean, 291525 free (4757 frags, 35846 blocks, 0.6% = fragmentation) >> /dev/da0s2d: FILE SYSTEM CLEAN; SKIPPING CHECKS >> /dev/da0s2d: clean, 225584444 free (104508 frags, 28184992 blocks, = 0.0% fragmentation) >=20 > /dev/da0s2a vs. /dev/da0s2d ? But both seem to have worked. >=20 >> Mounting local filesystems:. >> ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib = /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg = /usr/local/lib/perl5/5.32/mach/CORE >> Setting hostname: pelorus.zefox.org. >> Setting up harvesting: = [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,[NET_ETHER],NET_TUN,MOUSE,KEYBOARD,A= TTACH,CACHED >> Feeding entropy: . >> lo0: link state changed to UP >> smsc0: chip 0xec00, rev. 0002 >> ue0: link state changed to DOWN >> ue0: link state changed to UP >> Starting Network: lo0 ue0. >> lo0: flags=3D8049 metric 0 mtu 16384 >> options=3D680003= >> inet6 ::1 prefixlen 128 >> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 >> inet 127.0.0.1 netmask 0xff000000 >> groups: lo >> nd6 options=3D21 >> ue0: flags=3D8843 metric 0 = mtu 1500 >> options=3D80009 >> ether b8:27:eb:71:46:4e >> inet 50.1.20.24 netmask 0xffffff00 broadcast 50.1.20.255 >> media: Ethernet autoselect (100baseTX ) >> status: active >> nd6 options=3D29 >> Starting devd. >> Autoloading module: uftdi.ko >> uftdi0 on uhub1 >> uftdi0: on usbus1 >> add host 127.0.0.1: gateway lo0 fib 0: route already in table >> add net default: gateway 50.1.20.1 >> add host ::1: gateway lo0 fib 0: route already in table >> add net fe80::: gateway ::1 >> add net ff02::: gateway ::1 >> add net ::ffff:0.0.0.0: gateway ::1 >> add net ::0.0.0.0: gateway ::1 >> Clearing /tmp (X related). >> Updating /var/run/os-release done. >> Creating and/or trimming log files. >> Updating motd:. >> Starting syslogd. >> Setting date via ntp. >> 2 Jul 15:05:36 ntpdate[805]: step time server 212.7.1.131 offset = +1584.319871 sec >> Starting powerd. >> Mounting late filesystems:. >> Starting sendmail. >> Starting sendmail_msp_queue. >> Starting cron. >> Configuring vt: blanktime. >> Performing sanity check on sshd configuration. >> Starting sshd. >> Starting background file system checks in 60 seconds. >>=20 >> Sat Jul 2 15:05:44 PDT=20 >> FreeBSD/arm64 (pelorus.zefox.org) (ttyu0) >>=20 >> login: >=20 =3D=3D=3D Mark Millard marklmi at yahoo.com