Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2023 16:56:44 +0800
From:      ykla <yklaxds@gmail.com>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        FreeBSD ARM List <freebsd-arm@freebsd.org>
Subject:   Re: How to Boot FreeBSD Using pftf/RPi4 UEFI
Message-ID:  <CA%2BPGaYDg3QGrZmzdfP=_YrhB32uM5URJePasL-qxZ2nVhRQYoQ@mail.gmail.com>
In-Reply-To: <A3A36C5F-1EFA-4F94-AD5C-374C01C3ED68@yahoo.com>
References:  <CA%2BPGaYCCNOXPy_b-N=OvcAoQnN1WyhiLLe-a0cj9g=-3r0QCDw@mail.gmail.com> <A3A36C5F-1EFA-4F94-AD5C-374C01C3ED68@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000834f030605daacf2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

After making some adjustments, I can now correctly output content through
the serial port, but it gets stuck at 'armv8crypto0: CPU lacks AES
instructions'.

-----------------------------------------------
Consoles: EFI console
    Reading loader env vars from /efi/freebsd/loader.env
Setting currdev to disk0p1:
FreeBSD/arm64 EFI loader, Revision 1.1

   Command line arguments: loader.efi
   Image base: 0x3378e000
   EFI version: 2.70
   EFI Firmware: https://github.com/pftf/RPi4 (rev 1.00)
   Console: efi (0x1000)
   Load Path: \EFI\BOOT\BOOTAA64.EFI
   Load Device:
PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)/HD(1,GPT,A3
D6A4C4-53AA-11EE-A7BA-002590EC5BF2,0x3,0x10418)
   BootCurrent: 0001
   BootOrder: 0000 0001[*] 0002 0003 0004 0005 0006 0007
   BootInfo Path: PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)
Ignoring Boot0001: Only one DP found
Trying ESP:
PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)/HD(1,GPT,A3D6A4
C4-53AA-11EE-A7BA-002590EC5BF2,0x3,0x10418)
Setting currdev to disk0p1:
Trying:
PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)/HD(2,GPT,A3D6A4CC-5
3AA-11EE-A7BA-002590EC5BF2,0x1041B,0x21ED00)
Setting currdev to disk0p2:
Loading /boot/defaults/loader.conf
Loading /boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/loader.conf
Loading /boot/loader.conf.local
?c\
   ______               ____   _____ _____
  |  ____|             |  _ \ / ____|  __ \
  | |___ _ __ ___  ___ | |_) | (___ | |  | |
  |  ___| '__/ _ \/ _ \|  _ < \___ \| |  | |
  | |   | | |  __/  __/| |_) |____) | |__| |
  | |   | | |    |    ||     |      |      |
  |_|   |_|  \___|\___||____/|_____/|_____/      ```
 `
                                                s` `.....---.......--.```
-/
 /---------- Welcome to FreeBSD -----------\    +o   .--`         /y:`
 +.
 |                                         |     yo`:.            :o
 `+-
 |  1. Boot Installer [Enter]              |      y/               -/`   -o=
/
 |  2. Boot Single user                    |     .-
 ::/sy+:.
 |  3. Escape to loader prompt             |     /                     `--
 /
 |  4. Reboot                              |    `:
 :`
 |  5. Cons: Serial                        |    `:
 :`
 |                                         |     /
 /
 |  Options:                               |     .-
 -.
 |  6. Kernel: default/kernel (1 of 1)     |      --                      -=
.
 |  7. Boot Options                        |       `:`                  `:`
 |                                         |         .--             `--.
 |                                         |            .---.....----.
 \-----------------------------------------/
   Autoboot in 8 seconds. [Space] to pause

Loading kernel...
/boot/kernel/kernel text=3D0x2a8 text=3D0x9b1d90 text=3D0x25c134 data=3D0x1=
4cb38
data=3D0x
0+0x2c5000 0x8+0x14b770+0x8+0x173d94
Loading configured modules...
can't find '/boot/entropy'
can't find '/etc/hostid'
Using DTB provided by EFI at 0x35a21000.
EFI framebuffer information:
addr, size     0x3e91b000, 0x1d4c00
dimensions     800 x 600
stride         800
masks          0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
---<<BOOT>>---
WARNING: Cannot find freebsd,dts-version property, cannot check DTB
compliance
Copyright (c) 1992-2023 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 14.0-BETA2 #0 releng/14.0-n265096-dfd44f2f0143: Fri Sep 15 05:43:00
UTC 2023
    root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC
arm64
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git
llvmorg-16.0.6-0-g7cbf1a259152)
VT(efifb): resolution 800x600
module scmi already present!
real memory  =3D 8439750656 (8048 MB)
avail memory =3D 8200716288 (7820 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
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
clk_fixed2: <Fixed clock> on ofwbus0
clk_fixed3: <Fixed clock> on ofwbus0
simplebus1: <Flattened device tree simple bus> on ofwbus0
simplebus2: <Flattened device tree simple bus> on ofwbus0
regfix0: <Fixed Regulator> on ofwbus0
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
regfix1: <Fixed Regulator> on ofwbus0
regfix2: <Fixed Regulator> on ofwbus0
regfix3: <Fixed Regulator> on ofwbus0
regfix4: <Fixed Regulator> on ofwbus0
simplebus3: <Flattened device tree simple bus> on ofwbus0
simple_mfd0: <Simple MFD (Multi-Functions Device)> mem
0x7d5d2000-0x7d5d2eff on simplebus0
bcm2835_firmware0: <BCM2835 Firmware> on simplebus0
ofw_clkbus1: <OFW clocks bus> on bcm2835_firmware0
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
gic0: <ARM Generic Interrupt Controller> mem
0x40041000-0x40041fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x4004600=
0-0x40047fff
irq 30 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 14,15
on simplebus0
gpiobus0: <OFW GPIO bus> on gpio0
gpio1: <Raspberry Pi Firmware GPIO controller> on bcm2835_firmware0
gpiobus1: <GPIO bus> on gpio1
regfix0: Cannot configure GPIO pin: 5
REGNODE_INIT failed: 6
regfix0: Cannot register regulator.
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
regfix2: Cannot set GPIO pin: 6
REGNODE_INIT failed: 6
regfix2: Cannot register regulator.
mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 13 on
simplebus0
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
gpioregulator0: <GPIO controlled regulator> on ofwbus0
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
generic_timer0: <ARMv8 Generic Timer> irq 4,5,6,7 on ofwbus0
Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000
Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007aff irq
31,32,33,34,35,36,37,38,39,40,41 on simplebus0
usb_nop_xceiv0: <USB NOP PHY> on ofwbus0
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
efirtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day clock, resolution 1.000000s
bcm2835_clkman0: <BCM283x Clock Manager> mem 0x7e101000-0x7e102fff on
simplebus0
gpioc0: <GPIO controller> on gpio0
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e2011ff irq 16 on
simplebus0
uart0: console (115200,n,8,1)
uart1: <BCM2835 Mini-UART> mem 0x7e215040-0x7e21507f irq 21 on simplebus0
bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem
0x7e980000-0x7e98ffff,0x7e00b200-0x7e00b3ff irq 28,29 on simplebus0
usbus1 on bcm283x_dwcotg0
bcmwd0: <BCM2708/2835 Watchdog> mem
0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on
simplebus0
bcmrng0: <Broadcom BCM2835/BCM2838 RNG> mem 0x7e104000-0x7e104027 on
simplebus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq
73 on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0
gpioc1: <GPIO controller> on gpio1
fb0: <BCM2835 VT framebuffer driver> disabled 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: 800x600(800x600@0,0) 32bpp
fb0: fbswap: 0, pitch 3200, base 0x3e91b000, screen_size 1945600
sdhci_bcm1: <Broadcom 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq
79 on simplebus1
mmc1: <MMC/SD bus> on sdhci_bcm1
pmu0: <Performance Monitoring Unit> irq 0,1,2,3 on ofwbus0
cpulist0: <Open Firmware CPU Group> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
bcm2835_cpufreq0: <CPU Frequency Control> on cpu0
pcib0: <BCM2838-compatible PCI-express controller> mem
0x7d500000-0x7d50930f irq 80,81 on simplebus2
pcib0: hardware identifies as revision 0x304.
pci0: <OFW PCI bus> on pcib0
pcib1: <PCI-PCI bridge> irq 91 at device 0.0 on pci0
pci1: <PCI bus> on pcib1
bcm_xhci0: <VL805 USB 3.0 controller (on the Raspberry Pi 4b)> irq 92 at
device 0.0 on pci1
bcm_xhci0: 32 bytes context size, 64-bit DMA
usbus2 on bcm_xhci0
genet0: <RPi4 Gigabit Ethernet> mem 0x7d580000-0x7d58ffff irq 82,83 on
simplebus2
genet0: GENET version 5.0 phy 0x0000
miibus0: <MII bus> on genet0
brgphy0: <BCM54213PE 1000BASE-T media interface> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT,
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
genet0: Ethernet address: d8:3a:dd:27:a8:b3
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
gpioled0: <GPIO LEDs> on ofwbus0
armv8crypto0: CPU lacks AES instructions

Mark Millard <marklmi@yahoo.com> =E4=BA=8E2023=E5=B9=B49=E6=9C=8821=E6=97=
=A5=E5=91=A8=E5=9B=9B 16:11=E5=86=99=E9=81=93=EF=BC=9A

> On Sep 20, 2023, at 22:45, ykla <yklaxds@gmail.com> wrote:
>
> > HI,
>
> Hello.
>
> > How to Boot FreeBSD Using pftf/RPi4 UEFI?
> >
> > I downloaded FreeBSD-14.0-BETA2-arm64-aarch64-disc1.iso and Raspberry P=
i
> 4 UEFI Firmware v1.35 and wrote them to my device. However, when I enable
> ACPI, my Raspberry Pi 4 automatically restarts after loading. If I disabl=
e
> ACPI and use the device tree, the screen goes black after loading for a
> while, and nothing is displayed. In both of these cases, there is no outp=
ut
> on the serial port. Does anyone know how to configure the serial port for
> UEFI Firmware? I've used the serial port before with the regular
> installation method and it worked for output, but with UEFI Firmware, the=
re
> is no output on the serial port.
>
> As I remember, pftf/RPi4 defaults to graphical, not serial.
> There is a place in the EDK2 UI to switch it to graphical.
> This status can be saved, which actually updates a data area
> inside its RPI_EFI.fd file so that future boots automatically
> are serial based for the adjusted RPI_EFI.fd .
>
> I've not tried pftf/RPi4 in some time. It was v1.34
> back then.
>
> I've never tried running the installer ( *-disc1.iso ).
> I've used older variants of what is now (MBR):
>
>
> http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/15.0/FreeBSD-15.=
0-CURRENT-arm64-aarch64-RPI-20230921-febba4622b60-265435.img.xz
>
> or (GPT, again: older variant last I tried):
>
>
> http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/15.0/FreeBSD-15.=
0-CURRENT-arm64-aarch64-ROCK64-20230921-febba4622b60-265435.img.xz
>
> and substituted or added the pftf/RPi4 materials inside the
> msdosfs involved for the USB3 media that I used, leaving
> the FreeBSD UEFI loader materials in place.
>
> Use of the ROCK64 image means there is no RPi* firmware,
> armstub8* , or boot.bin materials to replace: I just added
> the pftf/RPi4 materials. (So: Simpler.)
>
> May be I could experiment with more modern materials this
> weekend.
>
> =3D=3D=3D
> Mark Millard
> marklmi at yahoo.com
>
>

--000000000000834f030605daacf2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>After making some adjustments, I can now correctly ou=
tput content through the serial port, but it gets stuck at &#39;armv8crypto=
0: CPU lacks AES instructions&#39;.<br><br>--------------------------------=
---------------<br>Consoles: EFI console =C2=A0<br>=C2=A0 =C2=A0 Reading lo=
ader env vars from /efi/freebsd/loader.env<br>Setting currdev to disk0p1:<b=
r>FreeBSD/arm64 EFI loader, Revision 1.1<br><br>=C2=A0 =C2=A0Command line a=
rguments: loader.efi<br>=C2=A0 =C2=A0Image base: 0x3378e000<br>=C2=A0 =C2=
=A0EFI version: 2.70<br>=C2=A0 =C2=A0EFI Firmware: <a href=3D"https://githu=
b.com/pftf/RPi4">https://github.com/pftf/RPi4</a>; (rev 1.00)<br>=C2=A0 =C2=
=A0Console: efi (0x1000)<br>=C2=A0 =C2=A0Load Path: \EFI\BOOT\BOOTAA64.EFI<=
br>=C2=A0 =C2=A0Load Device: PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x=
1,0x0)/HD(1,GPT,A3<br>D6A4C4-53AA-11EE-A7BA-002590EC5BF2,0x3,0x10418)<br>=
=C2=A0 =C2=A0BootCurrent: 0001<br>=C2=A0 =C2=A0BootOrder: 0000 0001[*] 0002=
 0003 0004 0005 0006 0007<br>=C2=A0 =C2=A0BootInfo Path: PcieRoot(0x0)/Pci(=
0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)<br>Ignoring Boot0001: Only one DP found<=
br>Trying ESP: PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)/HD(1,GP=
T,A3D6A4<br>C4-53AA-11EE-A7BA-002590EC5BF2,0x3,0x10418)<br>Setting currdev =
to disk0p1:<br>Trying: PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)=
/HD(2,GPT,A3D6A4CC-5<br>3AA-11EE-A7BA-002590EC5BF2,0x1041B,0x21ED00)<br>Set=
ting currdev to disk0p2:<br>Loading /boot/defaults/loader.conf<br>Loading /=
boot/defaults/loader.conf<br>Loading /boot/device.hints<br>Loading /boot/lo=
ader.conf<br>Loading /boot/loader.conf.local<br>?c\<br>=C2=A0 =C2=A0______ =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ____ =C2=A0 _____ _____ =
=C2=A0<br>=C2=A0 | =C2=A0____| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =
=C2=A0_ \ / ____| =C2=A0__ \ <br>=C2=A0 | |___ _ __ ___ =C2=A0___ | |_) | (=
___ | | =C2=A0| |<br>=C2=A0 | =C2=A0___| &#39;__/ _ \/ _ \| =C2=A0_ &lt; \_=
__ \| | =C2=A0| |<br>=C2=A0 | | =C2=A0 | | | =C2=A0__/ =C2=A0__/| |_) |____=
) | |__| |<br>=C2=A0 | | =C2=A0 | | | =C2=A0 =C2=A0| =C2=A0 =C2=A0|| =C2=A0=
 =C2=A0 | =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0|<br>=C2=A0 |_| =C2=A0 =
|_| =C2=A0\___|\___||____/|_____/|_____/ =C2=A0 =C2=A0 =C2=A0``` =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0`<=
br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 s` `.....---.......--.``` =C2=A0 -/<br>=C2=A0/----=
------ Welcome to FreeBSD -----------\ =C2=A0 =C2=A0+o =C2=A0 .--` =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 /y:` =C2=A0 =C2=A0 =C2=A0+.<br>=C2=A0| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 yo`:. =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:o =C2=A0 =C2=A0 =C2=A0`+-<br>=C2=
=A0| =C2=A01. Boot Installer [Enter] =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0y/ =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 -/` =C2=A0 -o/<br>=C2=A0| =C2=A02. Boot Single user =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =
.- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0::/sy+:.<b=
r>=C2=A0| =C2=A03. Escape to loader prompt =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 | =C2=A0 =C2=A0 / =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 `-- =C2=A0/<br>=C2=A0| =C2=A04. Reboot =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0`: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:`<br>=C2=A0| =C2=A0=
5. Cons: Serial =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0`: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:`<br>=C2=A0| =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0=
 =C2=A0 / =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0/<br>=C2=A0| =C2=A0Options: =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 | =C2=A0 =C2=A0 .- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-.<br>=C2=A0| =C2=A06. Kernel: defaul=
t/kernel (1 of 1) =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0-- =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-.<br>=C2=A0| =
=C2=A07. Boot Options =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 `:` =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0`:`<br>=C2=A0| =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0=
 =C2=A0 .-- =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 `--.<br>=C2=A0| =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0.---.....----.<br>=C2=A0\-------------------=
----------------------/<br>=C2=A0 =C2=A0Autoboot in 8 seconds. [Space] to p=
ause =C2=A0<br><br>Loading kernel...<br>/boot/kernel/kernel text=3D0x2a8 te=
xt=3D0x9b1d90 text=3D0x25c134 data=3D0x14cb38 data=3D0x<br>0+0x2c5000 0x8+0=
x14b770+0x8+0x173d94<br>Loading configured modules...<br>can&#39;t find &#3=
9;/boot/entropy&#39;<br>can&#39;t find &#39;/etc/hostid&#39;<br>Using DTB p=
rovided by EFI at 0x35a21000.<br>EFI framebuffer information:<br>addr, size=
 =C2=A0 =C2=A0 0x3e91b000, 0x1d4c00<br>dimensions =C2=A0 =C2=A0 800 x 600<b=
r>stride =C2=A0 =C2=A0 =C2=A0 =C2=A0 800<br>masks =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A00x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000<br>---&lt;&lt;BOOT=
&gt;&gt;---<br>WARNING: Cannot find freebsd,dts-version property, cannot ch=
eck DTB compliance<br>Copyright (c) 1992-2023 The FreeBSD Project.<br>Copyr=
ight (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994<br>	The=
 Regents of the University of California. All rights reserved.<br>FreeBSD i=
s a registered trademark of The FreeBSD Foundation.<br>FreeBSD 14.0-BETA2 #=
0 releng/14.0-n265096-dfd44f2f0143: Fri Sep 15 05:43:00 UTC 2023<br>=C2=A0 =
=C2=A0 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENE=
RIC arm64<br>FreeBSD clang version 16.0.6 (<a href=3D"https://github.com/ll=
vm/llvm-project.git">https://github.com/llvm/llvm-project.git</a>; llvmorg-1=
6.0.6-0-g7cbf1a259152)<br>VT(efifb): resolution 800x600<br>module scmi alre=
ady present!<br>real memory =C2=A0=3D 8439750656 (8048 MB)<br>avail memory =
=3D 8200716288 (7820 MB)<br>Starting CPU 1 (1)<br>Starting CPU 2 (2)<br>Sta=
rting CPU 3 (3)<br>FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs<br>r=
andom: unblocking device.<br>random: entropy device external interface<br>k=
bd0 at kbdmux0<br>ofwbus0: &lt;Open Firmware Device Tree&gt;<br>simplebus0:=
 &lt;Flattened device tree simple bus&gt; on ofwbus0<br>ofw_clkbus0: &lt;OF=
W clocks bus&gt; on ofwbus0<br>clk_fixed0: &lt;Fixed clock&gt; on ofw_clkbu=
s0<br>clk_fixed1: &lt;Fixed clock&gt; on ofw_clkbus0<br>clk_fixed2: &lt;Fix=
ed clock&gt; on ofwbus0<br>clk_fixed3: &lt;Fixed clock&gt; on ofwbus0<br>si=
mplebus1: &lt;Flattened device tree simple bus&gt; on ofwbus0<br>simplebus2=
: &lt;Flattened device tree simple bus&gt; on ofwbus0<br>regfix0: &lt;Fixed=
 Regulator&gt; on ofwbus0<br>clk_fixed4: &lt;Fixed clock&gt; disabled on of=
wbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 at=
tach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>c=
lk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach retur=
ned 6<br>regfix1: &lt;Fixed Regulator&gt; on ofwbus0<br>regfix2: &lt;Fixed =
Regulator&gt; on ofwbus0<br>regfix3: &lt;Fixed Regulator&gt; on ofwbus0<br>=
regfix4: &lt;Fixed Regulator&gt; on ofwbus0<br>simplebus3: &lt;Flattened de=
vice tree simple bus&gt; on ofwbus0<br>simple_mfd0: &lt;Simple MFD (Multi-F=
unctions Device)&gt; mem 0x7d5d2000-0x7d5d2eff on simplebus0<br>bcm2835_fir=
mware0: &lt;BCM2835 Firmware&gt; on simplebus0<br>ofw_clkbus1: &lt;OFW cloc=
ks bus&gt; on bcm2835_firmware0<br>clk_fixed4: &lt;Fixed clock&gt; disabled=
 on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fix=
ed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus=
0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach=
 returned 6<br>psci0: &lt;ARM Power State Co-ordination Interface Driver&gt=
; on ofwbus0<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_=
fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach returned=
 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Ca=
nnot FDT parameters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_=
fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT p=
arameters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &l=
t;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.=
<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed cl=
ock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device=
_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; di=
sabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: c=
lk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on =
ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 =
attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br=
>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach ret=
urned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed=
4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach returned 6<br=
>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot =
FDT parameters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed=
4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parame=
ters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fix=
ed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>d=
evice_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&g=
t; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_atta=
ch: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disable=
d on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fi=
xed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbu=
s0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attac=
h returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_=
fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach returned=
 6<br>gic0: &lt;ARM Generic Interrupt Controller&gt; mem 0x40041000-0x40041=
fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x40046000-0x40047fff irq 3=
0 on simplebus0<br>gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs =
256<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: C=
annot FDT parameters.<br>device_attach: clk_fixed4 attach returned 6<br>clk=
_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT =
parameters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &=
lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters=
.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed c=
lock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>devic=
e_attach: clk_fixed4 attach returned 6<br>gpio0: &lt;BCM2708/2835 GPIO cont=
roller&gt; mem 0x7e200000-0x7e2000b3 irq 14,15 on simplebus0<br>gpiobus0: &=
lt;OFW GPIO bus&gt; on gpio0<br>gpio1: &lt;Raspberry Pi Firmware GPIO contr=
oller&gt; on bcm2835_firmware0<br>gpiobus1: &lt;GPIO bus&gt; on gpio1<br>re=
gfix0: Cannot configure GPIO pin: 5<br>REGNODE_INIT failed: 6<br>regfix0: C=
annot register regulator.<br>clk_fixed4: &lt;Fixed clock&gt; disabled on of=
wbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 at=
tach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>c=
lk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach retur=
ned 6<br>regfix2: Cannot set GPIO pin: 6<br>REGNODE_INIT failed: 6<br>regfi=
x2: Cannot register regulator.<br>mbox0: &lt;BCM2835 VideoCore Mailbox&gt; =
mem 0x7e00b880-0x7e00b8bf irq 13 on simplebus0<br>clk_fixed4: &lt;Fixed clo=
ck&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_=
attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; dis=
abled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: cl=
k_fixed4 attach returned 6<br>gpioregulator0: &lt;GPIO controlled regulator=
&gt; on ofwbus0<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>c=
lk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach retur=
ned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4:=
 Cannot FDT parameters.<br>device_attach: clk_fixed4 attach returned 6<br>c=
lk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FD=
T parameters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4:=
 &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT paramete=
rs.<br>device_attach: clk_fixed4 attach returned 6<br>generic_timer0: &lt;A=
RMv8 Generic Timer&gt; irq 4,5,6,7 on ofwbus0<br>Timecounter &quot;ARM MPCo=
re Timecounter&quot; frequency 54000000 Hz quality 1000<br>Event timer &quo=
t;ARM MPCore Eventtimer&quot; frequency 54000000 Hz quality 1000<br>clk_fix=
ed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT para=
meters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;F=
ixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br=
>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock=
&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_at=
tach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disab=
led on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_=
fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofw=
bus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 att=
ach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>cl=
k_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach return=
ed 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: =
Cannot FDT parameters.<br>device_attach: clk_fixed4 attach returned 6<br>cl=
k_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT=
 parameters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: =
&lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameter=
s.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed =
clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>devi=
ce_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; =
disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach:=
 clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled o=
n ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed=
4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<=
br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach r=
eturned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fix=
ed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach returned 6<=
br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Canno=
t FDT parameters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fix=
ed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT para=
meters.<br>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;F=
ixed clock&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br=
>device_attach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock=
&gt; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_at=
tach: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disab=
led on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_=
fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofw=
bus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 att=
ach returned 6<br>bcm_dma0: &lt;BCM2835 DMA Controller&gt; mem 0x7e007000-0=
x7e007aff irq 31,32,33,34,35,36,37,38,39,40,41 on simplebus0<br>usb_nop_xce=
iv0: &lt;USB NOP PHY&gt; on ofwbus0<br>clk_fixed4: &lt;Fixed clock&gt; disa=
bled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk=
_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on of=
wbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 at=
tach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>c=
lk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fixed4 attach retur=
ned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled on ofwbus0<br>clk_fixed4:=
 Cannot FDT parameters.<br>device_attach: clk_fixed4 attach returned 6<br>e=
firtc0: &lt;EFI Realtime Clock&gt;<br>efirtc0: registered as a time-of-day =
clock, resolution 1.000000s<br>bcm2835_clkman0: &lt;BCM283x Clock Manager&g=
t; mem 0x7e101000-0x7e102fff on simplebus0<br>gpioc0: &lt;GPIO controller&g=
t; on gpio0<br>uart0: &lt;PrimeCell UART (PL011)&gt; mem 0x7e201000-0x7e201=
1ff irq 16 on simplebus0<br>uart0: console (115200,n,8,1)<br>uart1: &lt;BCM=
2835 Mini-UART&gt; mem 0x7e215040-0x7e21507f irq 21 on simplebus0<br>bcm283=
x_dwcotg0: &lt;DWC OTG 2.0 integrated USB controller (bcm283x)&gt; mem 0x7e=
980000-0x7e98ffff,0x7e00b200-0x7e00b3ff irq 28,29 on simplebus0<br>usbus1 o=
n bcm283x_dwcotg0<br>bcmwd0: &lt;BCM2708/2835 Watchdog&gt; mem 0x7e100000-0=
x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0<br>bcmr=
ng0: &lt;Broadcom BCM2835/BCM2838 RNG&gt; mem 0x7e104000-0x7e104027 on simp=
lebus0<br>sdhci_bcm0: &lt;Broadcom 2708 SDHCI controller&gt; mem 0x7e300000=
-0x7e3000ff irq 73 on simplebus0<br>mmc0: &lt;MMC/SD bus&gt; on sdhci_bcm0<=
br>gpioc1: &lt;GPIO controller&gt; on gpio1<br>fb0: &lt;BCM2835 VT framebuf=
fer driver&gt; disabled on simplebus0<br>fb0: keeping existing fb bpp of 32=
<br>fbd0 on fb0<br>WARNING: Device &quot;fb&quot; is Giant locked and may b=
e deleted before FreeBSD 14.0.<br>VT: Replacing driver &quot;efifb&quot; wi=
th new &quot;fb&quot;.<br>fb0: 800x600(800x600@0,0) 32bpp<br>fb0: fbswap: 0=
, pitch 3200, base 0x3e91b000, screen_size 1945600<br>sdhci_bcm1: &lt;Broad=
com 2708 SDHCI controller&gt; mem 0x7e340000-0x7e3400ff irq 79 on simplebus=
1<br>mmc1: &lt;MMC/SD bus&gt; on sdhci_bcm1<br>pmu0: &lt;Performance Monito=
ring Unit&gt; irq 0,1,2,3 on ofwbus0<br>cpulist0: &lt;Open Firmware CPU Gro=
up&gt; on ofwbus0<br>cpu0: &lt;Open Firmware CPU&gt; on cpulist0<br>bcm2835=
_cpufreq0: &lt;CPU Frequency Control&gt; on cpu0<br>pcib0: &lt;BCM2838-comp=
atible PCI-express controller&gt; mem 0x7d500000-0x7d50930f irq 80,81 on si=
mplebus2<br>pcib0: hardware identifies as revision 0x304.<br>pci0: &lt;OFW =
PCI bus&gt; on pcib0<br>pcib1: &lt;PCI-PCI bridge&gt; irq 91 at device 0.0 =
on pci0<br>pci1: &lt;PCI bus&gt; on pcib1<br>bcm_xhci0: &lt;VL805 USB 3.0 c=
ontroller (on the Raspberry Pi 4b)&gt; irq 92 at device 0.0 on pci1<br>bcm_=
xhci0: 32 bytes context size, 64-bit DMA<br>usbus2 on bcm_xhci0<br>genet0: =
&lt;RPi4 Gigabit Ethernet&gt; mem 0x7d580000-0x7d58ffff irq 82,83 on simple=
bus2<br>genet0: GENET version 5.0 phy 0x0000<br>miibus0: &lt;MII bus&gt; on=
 genet0<br>brgphy0: &lt;BCM54213PE 1000BASE-T media interface&gt; PHY 1 on =
miibus0<br>brgphy0: =C2=A010baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1=
000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto<br>ge=
net0: Ethernet address: d8:3a:dd:27:a8:b3<br>clk_fixed4: &lt;Fixed clock&gt=
; disabled on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attac=
h: clk_fixed4 attach returned 6<br>clk_fixed4: &lt;Fixed clock&gt; disabled=
 on ofwbus0<br>clk_fixed4: Cannot FDT parameters.<br>device_attach: clk_fix=
ed4 attach returned 6<br>gpioled0: &lt;GPIO LEDs&gt; on ofwbus0<br>armv8cry=
pto0: CPU lacks AES instructions<span style=3D"color:rgb(55,65,81);font-fam=
ily:S=C3=B6hne,ui-sans-serif,system-ui,-apple-system,&quot;Segoe UI&quot;,R=
oboto,Ubuntu,Cantarell,&quot;Noto Sans&quot;,sans-serif,&quot;Helvetica Neu=
e&quot;,Arial,&quot;Apple Color Emoji&quot;,&quot;Segoe UI Emoji&quot;,&quo=
t;Segoe UI Symbol&quot;,&quot;Noto Color Emoji&quot;;font-size:16px;backgro=
und-color:rgb(247,247,248)"><br></span></div></div><br><div class=3D"gmail_=
quote"><div dir=3D"ltr" class=3D"gmail_attr">Mark Millard &lt;<a href=3D"ma=
ilto:marklmi@yahoo.com">marklmi@yahoo.com</a>&gt; =E4=BA=8E2023=E5=B9=B49=
=E6=9C=8821=E6=97=A5=E5=91=A8=E5=9B=9B 16:11=E5=86=99=E9=81=93=EF=BC=9A<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">On Sep 20, 2023, at=
 22:45, ykla &lt;<a href=3D"mailto:yklaxds@gmail.com" target=3D"_blank">ykl=
axds@gmail.com</a>&gt; wrote:<br>
<br>
&gt; HI,<br>
<br>
Hello.<br>
<br>
&gt; How to Boot FreeBSD Using pftf/RPi4 UEFI?<br>
&gt; <br>
&gt; I downloaded FreeBSD-14.0-BETA2-arm64-aarch64-disc1.iso and Raspberry =
Pi 4 UEFI Firmware v1.35 and wrote them to my device. However, when I enabl=
e ACPI, my Raspberry Pi 4 automatically restarts after loading. If I disabl=
e ACPI and use the device tree, the screen goes black after loading for a w=
hile, and nothing is displayed. In both of these cases, there is no output =
on the serial port. Does anyone know how to configure the serial port for U=
EFI Firmware? I&#39;ve used the serial port before with the regular install=
ation method and it worked for output, but with UEFI Firmware, there is no =
output on the serial port.<br>
<br>
As I remember, pftf/RPi4 defaults to graphical, not serial.<br>
There is a place in the EDK2 UI to switch it to graphical.<br>
This status can be saved, which actually updates a data area<br>
inside its RPI_EFI.fd file so that future boots automatically<br>
are serial based for the adjusted RPI_EFI.fd .<br>
<br>
I&#39;ve not tried pftf/RPi4 in some time. It was v1.34<br>
back then.<br>
<br>
I&#39;ve never tried running the installer ( *-disc1.iso ).<br>
I&#39;ve used older variants of what is now (MBR):<br>
<br>
<a href=3D"http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/15.0/Fr=
eeBSD-15.0-CURRENT-arm64-aarch64-RPI-20230921-febba4622b60-265435.img.xz" r=
el=3D"noreferrer" target=3D"_blank">http://ftp3.freebsd.org/pub/FreeBSD/sna=
pshots/ISO-IMAGES/15.0/FreeBSD-15.0-CURRENT-arm64-aarch64-RPI-20230921-febb=
a4622b60-265435.img.xz</a><br>
<br>
or (GPT, again: older variant last I tried):<br>
<br>
<a href=3D"http://ftp3.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/15.0/Fr=
eeBSD-15.0-CURRENT-arm64-aarch64-ROCK64-20230921-febba4622b60-265435.img.xz=
" rel=3D"noreferrer" target=3D"_blank">http://ftp3.freebsd.org/pub/FreeBSD/=
snapshots/ISO-IMAGES/15.0/FreeBSD-15.0-CURRENT-arm64-aarch64-ROCK64-2023092=
1-febba4622b60-265435.img.xz</a><br>
<br>
and substituted or added the pftf/RPi4 materials inside the<br>
msdosfs involved for the USB3 media that I used, leaving<br>
the FreeBSD UEFI loader materials in place.<br>
<br>
Use of the ROCK64 image means there is no RPi* firmware,<br>
armstub8* , or boot.bin materials to replace: I just added<br>
the pftf/RPi4 materials. (So: Simpler.)<br>
<br>
May be I could experiment with more modern materials this<br>
weekend.<br>
<br>
=3D=3D=3D<br>
Mark Millard<br>
marklmi at <a href=3D"http://yahoo.com" rel=3D"noreferrer" target=3D"_blank=
">yahoo.com</a><br>
<br>
</blockquote></div>

--000000000000834f030605daacf2--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BPGaYDg3QGrZmzdfP=_YrhB32uM5URJePasL-qxZ2nVhRQYoQ>