From nobody Sun Jul 3 01:38:24 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 7FB658B34D2 for ; Sun, 3 Jul 2022 01:38:37 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic313-21.consmr.mail.gq1.yahoo.com (sonic313-21.consmr.mail.gq1.yahoo.com [98.137.65.84]) (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 4LbBRJ2Ys2z3MV3 for ; Sun, 3 Jul 2022 01:38:36 +0000 (UTC) (envelope-from marklmi@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656812309; bh=Eb+f+M7A0siamkRaZXrB9BzUYDGiWj2Kd2bqMEMO5RU=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=Aj9hhDd9I2aOWoeOjzp37wdj7uzb+busEgJ107lSsJhWR5H3h/i6acSTH6vlh4WbwG/rTeOmtaRSrT2diHDY3iODFiB/HpxMt+c9mQPQbWVOuFAIE5APMo6A5yhll9jNrDt8s6sQZ9+W2yLwK1mQ/SlhaCfn/9MK25RYxXZc3NypE9FzFDesxs80wuJvJldnyHyuP6FPCRBaEFzyVMdpqdNNxf4TMKw7kKGzApDlbvy6esPKF94LF6sBDoT/OEoS4IQgCNXRy6vDVD9rQ0TJb4J68NUPGxWfnQZZ+cLcuVTjfAWvhwosInan+vSl4WJh65/51sIBGzPIdXQBSZyNWg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1656812309; bh=b+rdsYVC9viUXdyz7MRO79Yh9UwtyXXcZ7jAg+35aaQ=; h=X-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noteE4z_Oh5.2ZwZh0Cuxyb6m8YLpBxjd86sJ7OwX1 QSFocxdTtVdRjR1anqOkRMlSQ7.BCr2Zksahi5FUufA6wnQ_A7MGA_z7cXN14R0miqmMNCdL82Rl NGah.ZXS9EcCIGsGDioGZ9AYQsIIdQdoXq8T_RiaMKkavC0IM41Qhz0WGe3OHUNhh5FC7dxgmljZ U_ezZKYQSZXShibqTHUFx._oU5DFIr3wN.CnYjTeKRFuAlV1j1w5r93JYLkjZUp4ccHey9TFEmUK 9r3Iv6RzVhAb6UTJx_aokb.V48JNNoMUpGrVysQ2DzOX1TIy7Owqn.Hj3DNMWv7d_WSSnY6BHAvU _f_kT6jL4tZHBgDbtFUw8smMqNNd8KIdVFUao7kMDE8aE5YbT9MIPt1hWyAOT8J4ZkBn3NmPDuCm WZJcs9cNrg.Y9G.Fnpf7r3nLTdx4m1UnVOPcluhwnovpEFfABUg7C.b2NSXNncXYq0yhraiG814c uqy5hHriHjubVOB1QBhkZAVFhsyaH6.ucRh0eX_aeP9hsvOJNyNUm6qhM8kW9JZxZ4IhhXvr8i8o - X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.gq1.yahoo.com with HTTP; Sun, 3 Jul 2022 01:38:29 +0000 Received: by hermes--production-gq1-56bb98dbc7-jzpzw (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 94c36636198973bd27e89819296413b9; Sun, 03 Jul 2022 01:38:25 +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: <20220702222139.GB10701@www.zefox.net> Date: Sat, 2 Jul 2022 18:38:24 -0700 Cc: Free BSD Content-Transfer-Encoding: quoted-printable Message-Id: 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: 4LbBRJ2Ys2z3MV3 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yahoo.com header.s=s2048 header.b=Aj9hhDd9; dmarc=pass (policy=reject) header.from=yahoo.com; spf=pass (mx1.freebsd.org: domain of marklmi@yahoo.com designates 98.137.65.84 as permitted sender) smtp.mailfrom=marklmi@yahoo.com X-Spamd-Result: default: False [-3.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]; NEURAL_HAM_SHORT(-0.68)[-0.679]; 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_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.65.84:from]; MLMMJ_DEST(0.00)[freebsd-arm]; RWL_MAILSPIKE_POSSIBLE(0.00)[98.137.65.84:from]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 2022-Jul-2, at 15:21, bob prohaska wrote: > 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) 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.=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. No: See later. > 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 /mfs/sd/ is the microsd card in your context. 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=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 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=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 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 >=20 > [whitespace omitted] The below is from one of the FreeBSD loaders. > 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: "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=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 > ---<>--- 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 =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) /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,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: =3D=3D=3D Mark Millard marklmi at yahoo.com