Re: RPi3 usb boot hang on stable/13

From: Mark Millard <marklmi_at_yahoo.com>
Date: Sun, 03 Jul 2022 02:42:43 UTC

On 2022-Jul-2, at 18:38, Mark Millard <marklmi@yahoo.com> wrote:

> On 2022-Jul-2, at 15:21, bob prohaska <fbsd@www.zefox.net> wrote:
> 
>> On Sat, Jul 02, 2022 at 12:00:02PM -0700, Mark Millard wrote:
>>> On 2022-Jul-2, at 10:34, Mark Millard <marklmi@yahoo.com> wrote:
>>>>> 
>>>>> Device 0: 
>>>> 
>>>> 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.
>>> 
>>> 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.)
>>> 
>>> 
>>> There is the difference (yours then mine):
>>> 
>>> MMC:   mmc@7e300000: 1
>>> vs.
>>> MMC:   mmc@7e300000: 2
>>> 
>>> I wonder it if is some sort of clue about something.
>>> 
>> 
>> 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)
> 
> The above is what you are using when you use the microsd
> card. See later.
> 
>> and a second on the FAT partition of the USB disk, which reports
>> U-Boot 2020.10 (Apr 09 2021 - 03:55:54 +0000)
> 
> You are not using the above one when you use the microsd card.
> 
> You are using the above one if it gets to U-Boot without a
> microsd card present.
> 
>> Just tried removing the microSD card and issuing shutdown -r now.
>> The console got to "Resetting system..." and stopped. 
>> 
>> 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.
> 
> No: See later.
> 
>> The USB boot OTP was set IIRC, haven't checked lately.
>> Maybe it's time to reformat and start over.....
>> 
>> What follows is a fairly typical startup session:
>> 
>> Resetting system ... 
>> 
>> 
>> Raspberry Pi Bootcode
>> 
>> Found SD card, config.txt = 1, start.elf = 1, recovery.elf = 0, timeout = 0
>> Read File: config.txt, 178 (bytes)
>> 
>> 
>> 
>> 
>> 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
> 
> /mfs/sd/ is the microsd card in your context.
> 

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.
> 
>> 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
> 
> The above is config.txt (again!) being loaded from the microsd card.
> 
>> 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
> 
> The above is armstub8.bin being loaded from the microsd card.
> 
>> 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
> 
> The above is u-boot.bin being loaded from the microsd card.
> 
>> 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
> 
> The above is bcm2710-rpi-3-b.dtb being loaded from the microsd card.
> 
>> 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
> 
> The above is config.txt (again!) being loaded from the microsd card.
> 
>> MESS:00:00:01.897876:0: dtparam: audio=on
>> MESS:00:00:01.919689:0: dtparam: i2c_arm=on
>> MESS:00:00:01.938056:0: dtparam: spi=on
>> 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
> 
> The above is overlays/mmc.dtbo being loaded from the microsd card.
> 
>> 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
> 
> The above is overlays/pwm.dtbo being loaded from the microsd card.
> 
>> 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
> 
> The above is overlays/pi3-disable-bt.dtbo being loaded from the microsd card.
> 
>> 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
> 
> There is missing text from U-Boot here.
> 
> 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 . . . ?
> 
>> 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 
>> 
>> 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
>> 
>> [saveenv results in "saving to FAT failed"]
>> 
>> 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> 
>> 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  
>> 
>> Device 0: Vendor: SABRENT  Rev: 1214 Prod: 
>>           Type: Hard Disk
>>           Capacity: 953869.7 MB = 931.5 GB (1953525168 x 512)
>> ... is now current device
>> Scanning usb 0:1...
>> Found EFI removable media binary efi/boot/bootaa64.efi
> 
> 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.
> 
>> 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
>> 
>> [whitespace omitted]
> 
> The below is from one of the FreeBSD loaders.
> 
>> Consoles: EFI console  
>>   Reading loader env vars from /efi/freebsd/loader.env
>> Setting currdev to disk1p1:
>> FreeBSD/arm64 EFI loader, Revision 1.1
>> 
>>  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)/UsbClass(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)/UsbClass(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)/UsbClass(0x152d,0x583,0x0,0x0,0x0)/HD(2,MBR,0x76573018,0x197c7,0x746ed5e9)
>> Setting currdev to disk1p2:
> 
> "disk1p2:" is from the USB drive (based on the long line before it).
> 
> I expect that this means that the FreeBSD loader was also from
> the USB drive.
> 
>> 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=0x2a8 text=0x89ef40 text=0x1fb30c data=0x1a9358 data=0x0+0x2a8000 syms=[0x8+0x121740+0x8+0x1454aa]
>> Loading configured modules...
>> /boot/kernel/filemon.ko text=0x1574 text=0x272c data=0x500+0x20 syms=[0x8+0xcd8+0x8+0x7c5]
>> /boot/kernel/umodem.ko text=0x2160 text=0x1400 data=0x6e8+0x10 syms=[0x8+0xf48+0x8+0xb75]
>> loading required module 'ucom'
>> /boot/kernel/ucom.ko text=0x249f text=0x3360 data=0x8a0+0x858 syms=[0x8+0x1188+0x8+0xb19]
>> /boot/entropy size=0x1000
>> /etc/hostid size=0x25
>> 
>> Hit [Enter] to boot immediately, or any other key for command prompt.
>> Booting [/boot/kernel/kernel]...               
>> 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
>> ---<<BOOT>>---
> 
> This is about where the kernel output starts.
> 
>> WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance
> 
> The dtb files used do not have freebsd specific content. As I
> understand, for RPi*'s, the above is expected.
> 
>> 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  = 993988608 (947 MB)
>> avail memory = 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: <Open Firmware Device Tree>
>> simplebus0: <Flattened device tree simple bus> on ofwbus0
>> ofw_clkbus0: <OFW clocks bus> on ofwbus0
>> clk_fixed0: <Fixed clock> on ofw_clkbus0
>> clk_fixed1: <Fixed clock> on ofw_clkbus0
>> regfix0: <Fixed Regulator> on ofwbus0
>> regfix1: <Fixed Regulator> on ofwbus0
>> bcm2835_firmware0: <BCM2835 Firmware> on simplebus0
>> psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
>> lintc0: <BCM2836 Interrupt Controller> mem 0x40000000-0x400000ff on simplebus0
>> intc0: <BCM2835 Interrupt Controller> mem 0x7e00b200-0x7e00b3ff irq 20 on simplebus0
>> gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 22,23 on simplebus0
>> gpiobus0: <OFW GPIO bus> on gpio0
>> mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 21 on simplebus0
>> generic_timer0: <ARMv7 Generic Timer> 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: <USB NOP PHY> on ofwbus0
>> bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007eff irq 4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 on simplebus0
>> bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100027 on simplebus0
>> bcm2835_clkman0: <BCM283x Clock Manager> mem 0x7e101000-0x7e102fff on simplebus0
>> bcmrng0: <Broadcom BCM2835/BCM2838 RNG> mem 0x7e104000-0x7e10400f on simplebus0
>> gpioc0: <GPIO controller> on gpio0
>> uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e201fff irq 24 on simplebus0
>> uart0: console (115200,n,8,1)
>> spi0: <BCM2708/2835 SPI controller> mem 0x7e204000-0x7e204fff irq 26 on simplebus0
>> spibus0: <OFW SPI bus> on spi0
>> spibus0: <unknown card> at cs 0 mode 0
>> spibus0: <unknown card> at cs 1 mode 0
>> iichb0: <BCM2708/2835 BSC controller> mem 0x7e804000-0x7e804fff irq 37 on simplebus0
>> bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 43,44 on simplebus0
>> usbus1 on bcm283x_dwcotg0
>> sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 46 on simplebus0
>> mmc0: <MMC/SD bus> on sdhci_bcm0
>> fb0: <BCM2835 VT framebuffer driver> 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: <Performance Monitoring Unit> irq 50 on simplebus0
>> cpulist0: <Open Firmware CPU Group> on ofwbus0
>> cpu0: <Open Firmware CPU> on cpulist0
>> bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
>> cpu1: <Open Firmware CPU> on cpulist0
>> cpu2: <Open Firmware CPU> on cpulist0
>> cpu3: <Open Firmware CPU> on cpulist0
>> gpioled0: <GPIO LEDs> on ofwbus0
>> gpioled0: <led0> failed to map pin
>> gpioled0: <led1> failed to map pin
>> armv8crypto0: CPU lacks AES instructions
>> Timecounters tick every 1.000 msec
>> iicbus0: <OFW I2C bus> on iichb0
>> iic0: <I2C generic I/O> on iicbus0
>> usbus1: 480Mbps High Speed USB v2.0
>> ugen1.1: <DWCOTG OTG Root HUB> at usbus1
>> uhub0 on usbus1
>> uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
>> mmcsd0: 32GB <SDHC SE32G 8.0 SN 29ED3EF6 MFG 09/2015 by 3 SD> 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 = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG>
>> Instruction Set Attributes 0 = <CRC32>
>> Instruction Set Attributes 1 = <>
>>        Processor Features 0 = <AdvSIMD,FP,EL3 32,EL2 32,EL1 32,EL0 32>
>>        Processor Features 1 = <>
>>     Memory Model Features 0 = <TGran4,TGran64,SNSMem,BigEnd,16bit ASID,1TB PA>
>> Trying to mount root from ufs:/dev/da0s2a [rw]...
>>     Memory Model Features 1 = <8bit VMID>
>>     Memory Model Features 2 = <32bit CCIDX,48bit VA>
>>            Debug Features 0 = <DoubleLock,2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8>
>>            Debug Features 1 = <>
>>        Auxiliary Features 0 = <>
>>        Auxiliary Features 1 = <>
>> AArch32 Instruction Set Attributes 5 = <CRC32,SEVL>
>> AArch32 Media and VFP Features 0 = <FPRound,FPSqrt,FPDivide,DP VFPv3+v4,SP VFPv3+v4,AdvSIMD>
>> AArch32 Media and VFP Features 1 = <SIMDFMAC,FPHP DP Conv,SIMDHP SP Conv,SIMDSP,SIMDInt,SIMDLS,FPDNaN,FPFtZ>
>> 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: <vendor 0x0424 product 0x9514> at usbus1
>> uhub1 on uhub0
>> uhub1: <vendor 0x0424 product 0x9514, class 9/0, rev 2.00/2.00, addr 2> on usbus1
>> uhub1: MTT enabled
>> Root mount waiting for: usbus1 CAM
>> uhub1: 5 ports with 4 removable, self powered
>> ugen1.3: <vendor 0x0424 product 0xec00> at usbus1
>> smsc0 on uhub1
>> smsc0: <vendor 0x0424 product 0xec00, rev 2.00/2.00, addr 3> on usbus1
>> smsc0: chip 0xec00, rev. 0002
>> miibus0: <MII bus> on smsc0
>> smscphy0: <SMC LAN8700 10/100 interface> PHY 1 on miibus0
>> smscphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>> ue0: <USB Ethernet> on smsc0
>> ue0: Ethernet address: b8:27:eb:71:46:4e
>> Root mount waiting for: usbus1 CAM
>> ugen1.4: <GenesysLogic USB2.1 Hub> at usbus1
>> uhub2 on uhub1
>> uhub2: <GenesysLogic USB2.1 Hub, class 9/0, rev 2.10/6.55, addr 4> 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: <JMicron SABRENT> at usbus1
>> umass0 on uhub2
>> umass0: <JMicron SABRENT, class 0/0, rev 2.10/12.14, addr 5> on usbus1
>> umass0:  SCSI over Bulk-Only; quirks = 0x8100
>> umass0:0:0: Attached to scbus0
>> ugen1.6: <FTDI FT232R USB UART> 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: <SABRENT  1214> Fixed Direct Access SPC-4 SCSI device
>> da0: Serial Number 000000000000A
>> da0: 40.000MB/s transfers
>> da0: 953869MB (1953525168 512 byte sectors)
>> da0: quirks=0x2<NO_6_BYTE>
>> 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)
> 
> /dev/da0s2a vs. /dev/da0s2d ? But both seem to have worked.
> 
>> 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,ATTACH,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=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>>       options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
>>       inet6 ::1 prefixlen 128
>>       inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
>>       inet 127.0.0.1 netmask 0xff000000
>>       groups: lo
>>       nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
>> ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
>>       options=80009<RXCSUM,VLAN_MTU,LINKSTATE>
>>       ether b8:27:eb:71:46:4e
>>       inet 50.1.20.24 netmask 0xffffff00 broadcast 50.1.20.255
>>       media: Ethernet autoselect (100baseTX <full-duplex>)
>>       status: active
>>       nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>> Starting devd.
>> Autoloading module: uftdi.ko
>> uftdi0 on uhub1
>> uftdi0: <FT232R USB UART> 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.
>> 
>> Sat Jul  2 15:05:44 PDT 
>> FreeBSD/arm64 (pelorus.zefox.org) (ttyu0)
>> 
>> login:
> 


===
Mark Millard
marklmi at yahoo.com