Date: Thu, 11 Jun 2020 12:51:51 -0700 From: Mark Millard <marklmi@yahoo.com> To: =?utf-8?Q?Klaus_K=C3=BCchemann?= <maciphone2@googlemail.com> Cc: myfreeweb <greg@unrelenting.technology>, freebsd-arm@freebsd.org Subject: Re: Unrelenting testplan D25219 Message-ID: <876E685B-B3AC-4821-A88F-702ABA3D9812@yahoo.com> In-Reply-To: <C7D9957A-5C58-48FF-9601-7DD13DE9D89B@googlemail.com> References: <5FE76178-4255-46B0-9A0D-F7640EFCBBE4@googlemail.com> <F1DC2AFB-0CC7-407D-A6C0-4E109590612E@unrelenting.technology> <C7D9957A-5C58-48FF-9601-7DD13DE9D89B@googlemail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2020-Jun-11, at 06:59, Klaus K=C3=BCchemann via freebsd-arm = <freebsd-arm at freebsd.org> wrote: >=20 >> . . . > loader.efi-thing maybe fixed in rS362008.. hope so.. >=20 > . . . For the RPi4 UEFI/ACPI based boot context . . . I grabbed a loader.efi from: = https://artifact.ci.freebsd.org/snapshot/head/r362017/arm64/aarch64/base.t= xz (the closest to -r362008 that was available for aarch64). Substituting it as EFI/BOOT/BOOTAA64.EFI into what I'd been attempting boots with and got (no other updates, so not expecting a complete boot): Consoles: serial port =20 Reading loader env vars from /efi/freebsd/loader.env Setting currdev to disk1p3: FreeBSD/arm64 EFI loader, Revision 1.1 (Wed Jun 10 20:35:29 UTC 2020 = root@FreeBSD-head-aarch64-build.jail.ci.FreeBSD.org) Command line arguments: loader.efi Image base: 0x33830000 EFI version: 2.70 EFI Firmware: https://github.com/pftf/RPi4 (rev 1.00) Console: comconsole (0) Load Path: \EFI\BOOT\BOOTAA64.EFI Load Device: = PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)/HD(3,GPT,#..#,0x19300= 800,0x32000) BootCurrent: 0003 BootOrder: 0002 0000 0001 0003[*] BootInfo Path: PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0) Ignoring Boot0003: Only one DP found Trying ESP: = PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)/HD(3,GPT,#...#,0x1930= 0800,0x32000) Setting currdev to disk1p3: Trying: = PcieRoot(0x0)/Pci(0x0,0x0)/Pci(0x0,0x0)/USB(0x1,0x0)/HD(1,GPT,#...#,0x800,= 0x18A00000) Setting currdev to disk1p1: Loading /boot/defaults/loader.conf Loading /boot/device.hints Loading /boot/loader.conf Loading /boot/loader.conf.local Loading kernel... /boot/kernel/kernel text=3D0xa5b074 data=3D0x190ed8 data=3D0x0+0x3017a6 = syms=3D[0x8+0x10caa0+0x8+0x132a1c] Loading configured modules... /boot/kernel/umodem.ko text=3D0x2180 text=3D0x1430 data=3D0x6f0+0x10 = syms=3D[0x8+0xf78+0x8+0xb8d] /boot/kernel/ucom.ko text=3D0x21bf text=3D0x3700 data=3D0x888+0x858 = syms=3D[0x8+0x1188+0x8+0xb1b] /boot/entropy size=3D0x1000 /etc/hostid size=3D0x25 Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... =20 No valid device tree blob found! WARNING! Trying to fire up the kernel, but no device tree blob found! EFI framebuffer information: addr, size 0x3e402000, 0x7f8000 dimensions 1920 x 1080 stride 1920 masks 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 ---<<BOOT>>--- KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2020 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.0-CURRENT #2 r360311M: Sat Apr 25 10:39:37 PDT 2020 = markmi@FBSDFHUGE:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarc= h64/sys/GENERIC-NODBG arm64 FreeBSD clang version 10.0.0 (git@github.com:llvm/llvm-project.git = llvmorg-10.0.0-0-gd32170dbd5b) VT(efifb): resolution 1920x1080 module firmware already present! 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 1d0000 mode 2 pages 32 MAP 33930000 mode 2 pages 80 MAP 33a10000 mode 2 pages 128 MAP 33ab0000 mode 2 pages 128 MAP 37000000 mode 2 pages 400 MAP 37190000 mode 2 pages 592 WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD = 13.0. kbd0 at kbdmux0 WARNING: Device "openfirm" is Giant locked and may be deleted before = FreeBSD 13.0. acpi0: <RPIFDN RPI4> acpi0: Power Button (fixed) acpi0: Could not update all GPEs: AE_NOT_CONFIGURED psci0: <ARM Power State Co-ordination Interface Driver> on acpi0 gic0: <ARM Generic Interrupt Controller> iomem = 0xff841000-0xff841fff,0xff842000-0xff842fff on acpi0 gic0: pn 0x2, arch 0x2, rev 0x1, implementer 0x43b irqs 256 generic_timer0: <ARM Generic Timer> irq 15,16,17 on acpi0 Timecounter "ARM MPCore Timecounter" frequency 54000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 54000000 Hz quality 1000 efirtc0: <EFI Realtime Clock> efirtc0: registered as a time-of-day clock, resolution 0.000001s acpi_syscontainer0: <System Container> on acpi0 cpu0: <ACPI CPU> on acpi0 acpi_syscontainer1: <System Container> on acpi0 xhci0: <Generic USB 3.0 controller> iomem 0x600000000-0x600000fff irq 0 = on acpi0 panic: Misaligned access from kernel space! cpuid =3D 0 time =3D 1 KDB: stack backtrace: db_trace_self() at db_trace_self_wrapper+0x28 pc =3D 0xffff000000823608 lr =3D 0xffff00000010c1dc sp =3D 0xffff000000010280 fp =3D 0xffff000000010480 db_trace_self_wrapper() at vpanic+0x194 pc =3D 0xffff00000010c1dc lr =3D 0xffff000000473934 sp =3D 0xffff000000010490 fp =3D 0xffff0000000104e0 vpanic() at panic+0x44 pc =3D 0xffff000000473934 lr =3D 0xffff00000047379c sp =3D 0xffff0000000104f0 fp =3D 0xffff000000010590 panic() at align_abort+0x7c pc =3D 0xffff00000047379c lr =3D 0xffff000000842ac8 sp =3D 0xffff0000000105a0 fp =3D 0xffff000000010610 align_abort() at do_el1h_sync+0x144 pc =3D 0xffff000000842ac8 lr =3D 0xffff000000841b84 sp =3D 0xffff000000010620 fp =3D 0xffff000000010630 do_el1h_sync() at handle_el1h_sync+0x78 pc =3D 0xffff000000841b84 lr =3D 0xffff000000826078 sp =3D 0xffff000000010640 fp =3D 0xffff000000010780 handle_el1h_sync() at xhci_init+0x1bc pc =3D 0xffff000000826078 lr =3D 0xffff0000002a6954 sp =3D 0xffff000000010790 fp =3D 0xffff000000010810 xhci_init() at generic_xhci_attach+0x1cc pc =3D 0xffff0000002a6954 lr =3D 0xffff00000087105c sp =3D 0xffff000000010820 fp =3D 0xffff000000010850 generic_xhci_attach() at device_attach+0x3f0 pc =3D 0xffff00000087105c lr =3D 0xffff0000004b4b9c sp =3D 0xffff000000010860 fp =3D 0xffff0000000108b0 device_attach() at bus_generic_new_pass+0x11c pc =3D 0xffff0000004b4b9c lr =3D 0xffff0000004b6b64 sp =3D 0xffff0000000108c0 fp =3D 0xffff000000010910 bus_generic_new_pass() at bus_generic_new_pass+0xac pc =3D 0xffff0000004b6b64 lr =3D 0xffff0000004b6af4 sp =3D 0xffff000000010920 fp =3D 0xffff000000010950 bus_generic_new_pass() at bus_generic_new_pass+0xac pc =3D 0xffff0000004b6af4 lr =3D 0xffff0000004b6af4 sp =3D 0xffff000000010960 fp =3D 0xffff000000010990 bus_generic_new_pass() at root_bus_configure+0x40 pc =3D 0xffff0000004b6af4 lr =3D 0xffff0000004b8c48 sp =3D 0xffff0000000109a0 fp =3D 0xffff0000000109d0 root_bus_configure() at mi_startup+0x22c pc =3D 0xffff0000004b8c48 lr =3D 0xffff0000003f23dc sp =3D 0xffff0000000109e0 fp =3D 0xffff000000010a20 mi_startup() at virtdone+0x5c pc =3D 0xffff0000003f23dc lr =3D 0xffff00000000108c sp =3D 0xffff000000010a30 fp =3D 0x0000000000000000 KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at generic_bs_r_4: ldr w0, [x1, x2] db>=20 Looks like loader.efi vintage problems were what previously stopped the boot much earlier (no loader output back then). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?876E685B-B3AC-4821-A88F-702ABA3D9812>