From nobody Thu Sep 21 08:56:44 2023 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 4Rrq5j04w5z4tp7G for ; Thu, 21 Sep 2023 08:56:57 +0000 (UTC) (envelope-from yklaxds@gmail.com) Received: from mail-ua1-x931.google.com (mail-ua1-x931.google.com [IPv6:2607:f8b0:4864:20::931]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rrq5h5JwMz4RNg for ; Thu, 21 Sep 2023 08:56:56 +0000 (UTC) (envelope-from yklaxds@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-ua1-x931.google.com with SMTP id a1e0cc1a2514c-791b8525b59so279927241.1 for ; Thu, 21 Sep 2023 01:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695286616; x=1695891416; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=/OZ26ZCDBORpWaCgffhLOBO7FsM4iLsCcImdvD0KsV4=; b=CxDABadxuJ9kGy4zc8jQSaGErjx7oRHP/5Qn8s8ZuGp8FwSJZFpVbvNYYS9+9OG2Gs yDRSq06Wzjka1EgzWQua4TkucHfKJAHZgznOi8fI2/8Xmcos37f3Z4peAqZxMO6gQFEF Qs8LTAYXfqpj+TbNS9LtDx447Ubpgf5tv7newxo5kDfiewwYeT4t14p7+jVfEFLLUePw BFPPBHHFyWah0wf7jkDmKIDst4IHYlAjvrXvY9VlAis3/Wh8zACs7cjkWPZh+aLXh2WP AlJ0bKFD9Y2KDcsKzkU8hJN8hJj2pAXrAZekdcEGVSj4KkFW0NzLd2x1+iWKXrMt9/fF Igew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695286616; x=1695891416; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=/OZ26ZCDBORpWaCgffhLOBO7FsM4iLsCcImdvD0KsV4=; b=ceKXU6ozv9cXlRyrvNeVUMXevq0vZWKpjNrfhJw1/IxZIX+oZjxlbCk94amWT0MUMT upOq+N2XUhjq+0msMR1bBUtmGf94oU5MG3vBs6qzDcGsel9SpDybA5PHp5yFBfCUrNWI aRc8fYj/QkthMSWAiuRItfJcFBsw2KJb2te4lvKaP46pWhtO8EsBxj2nVa2pLfZwR/yL GVHN0iQUXKWp1OmRjCo5Hgb+p7vr3B8pUEy02AF2eIxyTWXL3+Eq5CHAfw876vrbUcC6 4REkSzQXeM11cA1HxAtrZN3sVX7stbclONwErQvAqWBilCZBIibcXWzbFqmXS6A68jyF rkIw== X-Gm-Message-State: AOJu0Yw6aPoalXMhlgUZypV8F28SNkcg97WrS0xSfvecT9SrJ9nFqGsw aFm06HPhtmQAvqb5H+yj09u6Ve6CaMiNXjXTjcmX1cXnK9BL0xzk X-Google-Smtp-Source: AGHT+IFgjvNJc2u6hvvCpSkHNUIU2R0uPMZxHklGnzjYv3kNhgWI4mf0/E5eahD1yoL6HBg4H0RzyfIm1I1PI3tgNjM= X-Received: by 2002:a05:6122:16a1:b0:48f:895f:45da with SMTP id 33-20020a05612216a100b0048f895f45damr6208821vkl.14.1695286615558; Thu, 21 Sep 2023 01:56:55 -0700 (PDT) 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 References: In-Reply-To: From: ykla Date: Thu, 21 Sep 2023 16:56:44 +0800 Message-ID: Subject: Re: How to Boot FreeBSD Using pftf/RPi4 UEFI To: Mark Millard Cc: FreeBSD ARM List Content-Type: multipart/alternative; boundary="000000000000834f030605daacf2" X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4Rrq5h5JwMz4RNg --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 ---<>--- 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: simplebus0: on ofwbus0 ofw_clkbus0: on ofwbus0 clk_fixed0: on ofw_clkbus0 clk_fixed1: on ofw_clkbus0 clk_fixed2: on ofwbus0 clk_fixed3: on ofwbus0 simplebus1: on ofwbus0 simplebus2: on ofwbus0 regfix0: on ofwbus0 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 regfix1: on ofwbus0 regfix2: on ofwbus0 regfix3: on ofwbus0 regfix4: on ofwbus0 simplebus3: on ofwbus0 simple_mfd0: mem 0x7d5d2000-0x7d5d2eff on simplebus0 bcm2835_firmware0: on simplebus0 ofw_clkbus1: on bcm2835_firmware0 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 psci0: on ofwbus0 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 gic0: 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: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 gpio0: mem 0x7e200000-0x7e2000b3 irq 14,15 on simplebus0 gpiobus0: on gpio0 gpio1: on bcm2835_firmware0 gpiobus1: on gpio1 regfix0: Cannot configure GPIO pin: 5 REGNODE_INIT failed: 6 regfix0: Cannot register regulator. clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: 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: mem 0x7e00b880-0x7e00b8bf irq 13 on simplebus0 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 gpioregulator0: on ofwbus0 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 generic_timer0: 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: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 bcm_dma0: mem 0x7e007000-0x7e007aff irq 31,32,33,34,35,36,37,38,39,40,41 on simplebus0 usb_nop_xceiv0: on ofwbus0 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 efirtc0: efirtc0: registered as a time-of-day clock, resolution 1.000000s bcm2835_clkman0: mem 0x7e101000-0x7e102fff on simplebus0 gpioc0: on gpio0 uart0: mem 0x7e201000-0x7e2011ff irq 16 on simplebus0 uart0: console (115200,n,8,1) uart1: mem 0x7e215040-0x7e21507f irq 21 on simplebus0 bcm283x_dwcotg0: mem 0x7e980000-0x7e98ffff,0x7e00b200-0x7e00b3ff irq 28,29 on simplebus0 usbus1 on bcm283x_dwcotg0 bcmwd0: mem 0x7e100000-0x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0 bcmrng0: mem 0x7e104000-0x7e104027 on simplebus0 sdhci_bcm0: mem 0x7e300000-0x7e3000ff irq 73 on simplebus0 mmc0: on sdhci_bcm0 gpioc1: on gpio1 fb0: 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: mem 0x7e340000-0x7e3400ff irq 79 on simplebus1 mmc1: on sdhci_bcm1 pmu0: irq 0,1,2,3 on ofwbus0 cpulist0: on ofwbus0 cpu0: on cpulist0 bcm2835_cpufreq0: on cpu0 pcib0: mem 0x7d500000-0x7d50930f irq 80,81 on simplebus2 pcib0: hardware identifies as revision 0x304. pci0: on pcib0 pcib1: irq 91 at device 0.0 on pci0 pci1: on pcib1 bcm_xhci0: irq 92 at device 0.0 on pci1 bcm_xhci0: 32 bytes context size, 64-bit DMA usbus2 on bcm_xhci0 genet0: mem 0x7d580000-0x7d58ffff irq 82,83 on simplebus2 genet0: GENET version 5.0 phy 0x0000 miibus0: on genet0 brgphy0: 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: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 clk_fixed4: disabled on ofwbus0 clk_fixed4: Cannot FDT parameters. device_attach: clk_fixed4 attach returned 6 gpioled0: on ofwbus0 armv8crypto0: CPU lacks AES instructions Mark Millard =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 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
After making some adjustments, I can now correctly ou= tput content through the serial port, but it gets stuck at 'armv8crypto= 0: CPU lacks AES instructions'.

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

=C2=A0 =C2=A0Command line a= rguments: loader.efi
=C2=A0 =C2=A0Image base: 0x3378e000
=C2=A0 =C2= =A0EFI version: 2.70
=C2=A0 =C2=A0EFI Firmware: https://github.com/pftf/RPi4 (rev 1.00)
=C2=A0 =C2= =A0Console: efi (0x1000)
=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
D6A4C4-53AA-11EE-A7BA-002590EC5BF2,0x3,0x10418)
= =C2=A0 =C2=A0BootCurrent: 0001
=C2=A0 =C2=A0BootOrder: 0000 0001[*] 0002= 0003 0004 0005 0006 0007
=C2=A0 =C2=A0BootInfo Path: PcieRoot(0x0)/Pci(= 0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)
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
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)
Set= ting currdev to disk0p2:
Loading /boot/defaults/loader.conf
Loading /= boot/defaults/loader.conf
Loading /boot/device.hints
Loading /boot/lo= ader.conf
Loading /boot/loader.conf.local
?c\
=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| =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 s` `.....---.......--.``` =C2=A0 -/
=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+.
=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`+-
=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/
=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+:.=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/
=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:`
=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:`
=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/
=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-.
=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-.
=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`:`
=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 =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=A0Autoboot in 8 seconds. [Space] to p= ause =C2=A0

Loading kernel...
/boot/kernel/kernel text=3D0x2a8 te= xt=3D0x9b1d90 text=3D0x25c134 data=3D0x14cb38 data=3D0x
0+0x2c5000 0x8+0= x14b770+0x8+0x173d94
Loading configured modules...
can't find = 9;/boot/entropy'
can't find '/etc/hostid'
Using DTB p= rovided by EFI at 0x35a21000.
EFI framebuffer information:
addr, size= =C2=A0 =C2=A0 0x3e91b000, 0x1d4c00
dimensions =C2=A0 =C2=A0 800 x 600stride =C2=A0 =C2=A0 =C2=A0 =C2=A0 800
masks =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A00x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000
---<<BOOT= >>---
WARNING: Cannot find freebsd,dts-version property, cannot ch= eck DTB compliance
Copyright (c) 1992-2023 The FreeBSD Project.
Copyr= ight (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The= Regents of the University of California. All rights reserved.
FreeBSD i= s 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
=C2=A0 = =C2=A0 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENE= RIC arm64
FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-1= 6.0.6-0-g7cbf1a259152)
VT(efifb): resolution 800x600
module scmi alre= ady present!
real memory =C2=A0=3D 8439750656 (8048 MB)
avail memory = =3D 8200716288 (7820 MB)
Starting CPU 1 (1)
Starting CPU 2 (2)
Sta= rting CPU 3 (3)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
r= andom: unblocking device.
random: entropy device external interface
k= bd0 at kbdmux0
ofwbus0: <Open Firmware Device Tree>
simplebus0:= <Flattened device tree simple bus> on ofwbus0
ofw_clkbus0: <OF= W clocks bus> on ofwbus0
clk_fixed0: <Fixed clock> on ofw_clkbu= s0
clk_fixed1: <Fixed clock> on ofw_clkbus0
clk_fixed2: <Fix= ed clock> on ofwbus0
clk_fixed3: <Fixed clock> on ofwbus0
si= mplebus1: <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 of= wbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 at= tach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
c= lk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach retur= ned 6
regfix1: <Fixed Regulator> on ofwbus0
regfix2: <Fixed = Regulator> on ofwbus0
regfix3: <Fixed Regulator> on ofwbus0
= regfix4: <Fixed Regulator> on ofwbus0
simplebus3: <Flattened de= vice tree simple bus> on ofwbus0
simple_mfd0: <Simple MFD (Multi-F= unctions Device)> mem 0x7d5d2000-0x7d5d2eff on simplebus0
bcm2835_fir= mware0: <BCM2835 Firmware> on simplebus0
ofw_clkbus1: <OFW cloc= ks bus> on bcm2835_firmware0
clk_fixed4: <Fixed clock> disabled= on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fix= ed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus= 0
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: Ca= nnot FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_= fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT p= arameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: &l= t;Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.=
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed cl= ock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device= _attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> di= sabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: c= lk_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 ofwbus0clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach ret= urned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed= 4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot = FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed= 4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parame= ters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fix= ed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
d= evice_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock&g= t; disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_atta= ch: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disable= d on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fi= xed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbu= s0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attac= h 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-0x40041= fff,0x40042000-0x40043fff,0x40044000-0x40045fff,0x40046000-0x40047fff irq 3= 0 on simplebus0
gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs = 256
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: C= annot 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: &= lt;Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters= .
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed c= lock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
devic= e_attach: clk_fixed4 attach returned 6
gpio0: <BCM2708/2835 GPIO cont= roller> mem 0x7e200000-0x7e2000b3 irq 14,15 on simplebus0
gpiobus0: &= lt;OFW GPIO bus> on gpio0
gpio1: <Raspberry Pi Firmware GPIO contr= oller> on bcm2835_firmware0
gpiobus1: <GPIO bus> on gpio1
re= gfix0: Cannot configure GPIO pin: 5
REGNODE_INIT failed: 6
regfix0: C= annot register regulator.
clk_fixed4: <Fixed clock> disabled on of= wbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 at= tach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
c= lk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach retur= ned 6
regfix2: Cannot set GPIO pin: 6
REGNODE_INIT failed: 6
regfi= x2: Cannot register regulator.
mbox0: <BCM2835 VideoCore Mailbox> = mem 0x7e00b880-0x7e00b8bf irq 13 on simplebus0
clk_fixed4: <Fixed clo= ck> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_= attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> dis= abled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: cl= k_fixed4 attach returned 6
gpioregulator0: <GPIO controlled regulator= > on ofwbus0
clk_fixed4: <Fixed clock> disabled on ofwbus0
c= lk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach retur= ned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4:= Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
c= lk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FD= T parameters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4:= <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT paramete= rs.
device_attach: clk_fixed4 attach returned 6
generic_timer0: <A= RMv8 Generic Timer> irq 4,5,6,7 on ofwbus0
Timecounter "ARM MPCo= re Timecounter" frequency 54000000 Hz quality 1000
Event timer &quo= t;ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000
clk_fix= ed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT para= meters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <F= ixed 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_at= tach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disab= led on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_= fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofw= bus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 att= ach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
cl= k_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach return= ed 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: = Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
cl= k_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 parameter= s.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed = clock> disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
devi= ce_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 o= n ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed= 4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0<= br>clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach r= eturned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fix= ed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6<= br>clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Canno= t FDT parameters.
device_attach: clk_fixed4 attach returned 6
clk_fix= ed4: <Fixed clock> disabled on ofwbus0
clk_fixed4: Cannot FDT para= meters.
device_attach: clk_fixed4 attach returned 6
clk_fixed4: <F= ixed 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_at= tach: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disab= led on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_= fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on ofw= bus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 att= ach returned 6
bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0= x7e007aff irq 31,32,33,34,35,36,37,38,39,40,41 on simplebus0
usb_nop_xce= iv0: <USB NOP PHY> on ofwbus0
clk_fixed4: <Fixed clock> disa= bled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk= _fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled on of= wbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 at= tach returned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
c= lk_fixed4: Cannot FDT parameters.
device_attach: clk_fixed4 attach retur= ned 6
clk_fixed4: <Fixed clock> disabled on ofwbus0
clk_fixed4:= Cannot FDT parameters.
device_attach: clk_fixed4 attach returned 6
e= firtc0: <EFI Realtime Clock>
efirtc0: registered as a time-of-day = clock, resolution 1.000000s
bcm2835_clkman0: <BCM283x Clock Manager&g= t; mem 0x7e101000-0x7e102fff on simplebus0
gpioc0: <GPIO controller&g= t; on gpio0
uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e201= 1ff irq 16 on simplebus0
uart0: console (115200,n,8,1)
uart1: <BCM= 2835 Mini-UART> mem 0x7e215040-0x7e21507f irq 21 on simplebus0
bcm283= x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem 0x7e= 980000-0x7e98ffff,0x7e00b200-0x7e00b3ff irq 28,29 on simplebus0
usbus1 o= n bcm283x_dwcotg0
bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0= x7e100113,0x7e00a000-0x7e00a023,0x7ec11000-0x7ec1101f on simplebus0
bcmr= ng0: <Broadcom BCM2835/BCM2838 RNG> mem 0x7e104000-0x7e104027 on simp= lebus0
sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000= -0x7e3000ff irq 73 on simplebus0
mmc0: <MMC/SD bus> on sdhci_bcm0<= br>gpioc1: <GPIO controller> on gpio1
fb0: <BCM2835 VT framebuf= fer driver> disabled on simplebus0
fb0: keeping existing fb bpp of 32=
fbd0 on fb0
WARNING: Device "fb" is Giant locked and may b= e deleted before FreeBSD 14.0.
VT: Replacing driver "efifb" wi= th new "fb".
fb0: 800x600(800x600@0,0) 32bpp
fb0: fbswap: 0= , pitch 3200, base 0x3e91b000, screen_size 1945600
sdhci_bcm1: <Broad= com 2708 SDHCI controller> mem 0x7e340000-0x7e3400ff irq 79 on simplebus= 1
mmc1: <MMC/SD bus> on sdhci_bcm1
pmu0: <Performance Monito= ring Unit> irq 0,1,2,3 on ofwbus0
cpulist0: <Open Firmware CPU Gro= up> on ofwbus0
cpu0: <Open Firmware CPU> on cpulist0
bcm2835= _cpufreq0: <CPU Frequency Control> on cpu0
pcib0: <BCM2838-comp= atible PCI-express controller> mem 0x7d500000-0x7d50930f irq 80,81 on si= mplebus2
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 c= ontroller (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 simple= bus2
genet0: GENET version 5.0 phy 0x0000
miibus0: <MII bus> on= genet0
brgphy0: <BCM54213PE 1000BASE-T media interface> PHY 1 on = miibus0
brgphy0: =C2=A010baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1= 000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
ge= net0: Ethernet address: d8:3a:dd:27:a8:b3
clk_fixed4: <Fixed clock>= ; disabled on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attac= h: clk_fixed4 attach returned 6
clk_fixed4: <Fixed clock> disabled= on ofwbus0
clk_fixed4: Cannot FDT parameters.
device_attach: clk_fix= ed4 attach returned 6
gpioled0: <GPIO LEDs> on ofwbus0
armv8cry= pto0: 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 <ykl= axds@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 = 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'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.

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/sna= pshots/ISO-IMAGES/15.0/FreeBSD-15.0-CURRENT-arm64-aarch64-RPI-20230921-febb= a4622b60-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-2023092= 1-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--