Date: Wed, 22 Jan 2025 14:47:47 +0900 From: FUKAUMI Naoki <naoki@radxa.com> To: freebsd-arm@freebsd.org Cc: Andrew Turner <andrew@fubar.geek.nz>, Warner Losh <imp@bsdimp.com>, Mark Millard <marklmi@yahoo.com> Subject: Re: Radxa Orion O6 Message-ID: <77D55F7BE57B9E43%2B9557bea2-4356-4525-bb9e-c4ea885895f5@radxa.com> In-Reply-To: <289A1E5B1EB26246%2B02035adf-93b2-432e-aac7-8b9135ff600e@radxa.com> References: <EDDF572D3560B2F6%2Bc4a27a6d-9a19-40df-9eef-42bbb4e9aa39@radxa.com> <087C4A9F-288B-40EA-BE1B-ACFD32C86DF2@yahoo.com> <C7599FF0E0B3381D%2Be0606559-357c-435c-8534-7353a2055749@radxa.com> <9B90ADE3-9E1E-448A-B592-509B0E61B197@yahoo.com> <C7C5CBC3CFEF3079%2B0371ac55-6f32-4017-8916-4e3fbb971ad7@radxa.com> <1B4F62E3-A269-4611-B9ED-1A72298FFC85@yahoo.com> <6591E59D-4E91-4325-8A77-46E182303927@yahoo.com> <9581F4025795F7C5%2B10590950-836c-4d9c-9c05-43b25b880e08@radxa.com> <9EDB5AF9-B11B-474E-8541-6C10098574CE@yahoo.com> <CANCZdfobczXAct-C9Vvffe2mmj0Y5kpj-W-ywVbMQg_O5cctNg@mail.gmail.com> <289A1E5B1EB26246%2B02035adf-93b2-432e-aac7-8b9135ff600e@radxa.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/22/25 12:02, FUKAUMI Naoki wrote: > Btw, I found the key to enable the SPCR table in EDK2. I rebuilt the > UEFI and the SPCR table started to appear. But on FreeBSD things got > worse, I lost output on both serial and HDMI... ^It was wrong. SPCR is working! Both serial and HDMI works. I forgot to change Cons setting ;) | 5. Cons: Dual (Serial primary) | / `-- / ---<<BOOT>>--- GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb Type Physical Virtual #Pages Attr Reserved 000080000000 000000000000 00002500 WC WT WB RuntimeServicesData 000082500000 000082500000 00001f00 WC WT WB RUNTIME BootServicesData 000084400000 000000000000 00000200 WC WT WB ConventionalMemory 000085000000 000000000000 0001b000 WC WT WB Reserved 0000a0000000 000000000000 00008000 WC WT WB ConventionalMemory 0000a8000000 000000000000 00057fc0 WC WT WB RuntimeServicesData 0000fffc0000 0000fffc0000 00000020 WC WT WB RUNTIME ACPIMemoryNVS 0000fffe0000 000000000000 00000010 WC WT WB ConventionalMemory 0000ffff0000 000000000000 0000000e WC WT WB Reserved 0000ffffe000 000000000000 00000002 WC WT WB ConventionalMemory 000100000000 000000000000 00080000 WC WT WB BootServicesCode 000180000000 000000000000 00000025 WC WT WB ConventionalMemory 000180025000 000000000000 002f1402 WC WT WB LoaderCode 000471427000 000000000000 00004000 WC WT WB LoaderData 000475427000 000000000000 000047e9 WC WT WB ACPIReclaimMemory 000479c10000 000000000000 00000030 WC WT WB ConventionalMemory 000479c40000 000000000000 0000000b WC WT WB LoaderData 000479c4b000 000000000000 00000001 WC WT WB ConventionalMemory 000479c4c000 000000000000 00000f2f WC WT WB LoaderCode 00047ab7b000 000000000000 000000d1 WC WT WB ConventionalMemory 00047ac4c000 000000000000 00000d02 WC WT WB BootServicesData 00047b94e000 000000000000 000025c6 WC WT WB ConventionalMemory 00047df14000 000000000000 00000164 WC WT WB BootServicesCode 00047e078000 000000000000 00000478 WC WT WB RuntimeServicesCode 00047e4f0000 00047e4f0000 000004b0 WC WT WB RUNTIME RuntimeServicesData 00047e9a0000 00047e9a0000 00000450 WC WT WB RUNTIME ConventionalMemory 00047edf0000 000000000000 00000005 WC WT WB BootServicesData 00047edf5000 000000000000 00000001 WC WT WB BootServicesCode 00047edf6000 000000000000 00000038 WC WT WB BootServicesData 00047ee2e000 000000000000 000011d2 WC WT WB MemoryMappedIO 000004070000 000004070000 00000001 UC RUNTIME MemoryMappedIO 000004120000 000004120000 00000040 UC RUNTIME MemoryMappedIO 000004170000 000004170000 00000010 UC RUNTIME MemoryMappedIO 000016004000 000016004000 00000004 UC RUNTIME Reserved 000084800000 000000000000 00000800 Physical memory chunk(s): 0x82500000 - 0x845fffff, 33 MB ( 8448 pages) 0x85000000 - 0x9fffffff, 432 MB ( 110592 pages) 0xa8000000 - 0xfffdffff, 1407 MB ( 360416 pages) 0xffff0000 - 0xffffdfff, 0 MB ( 14 pages) 0x100000000 - 0x47fffffff, 14336 MB (3670016 pages) Excluded memory regions: 0x82500000 - 0x843fffff, 31 MB ( 7936 pages) NoAlloc 0x84800000 - 0x84fe8fff, 7 MB ( 2025 pages) NoAlloc 0xfffc0000 - 0xfffdffff, 0 MB ( 32 pages) NoAlloc 0x471600000 - 0x4732aefff, 28 MB ( 7343 pages) NoAlloc 0x479c10000 - 0x479c3ffff, 0 MB ( 48 pages) NoAlloc 0x47e4f0000 - 0x47edeffff, 9 MB ( 2304 pages) NoAlloc Found 12 CPUs in the ACPI tables Copyright (c) 1992-2025 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 15.0-CURRENT #0 main-n274861-c75d5bdf9818: Tue Jan 21 05:40:01 JST 2025 root@orion-o6:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 1920x1080 Preloaded elf kernel "/boot/kernel/kernel" at 0xffff000001a6d000. Preloaded elf module "/boot/kernel/zfs.ko" at 0xffff000001a766a8. Preloaded hostuuid "/etc/hostid" at 0xffff000001a76f80. Preloaded boot_entropy_cache "/boot/entropy" at 0xffff000001a76fd0. Preloaded TSLOG data "TSLOG" at 0xffff000001a77028. module scmi already present! real memory = 16996294656 (16208 MB) Physical memory chunk(s): 0x00000084400000 - 0x000000845fffff, 2097152 bytes (512 pages) 0x00000085000000 - 0x0000009fffffff, 452984832 bytes (110592 pages) 0x000000a8000000 - 0x000000fffbffff, 1476132864 bytes (360384 pages) 0x000000ffff0000 - 0x000000ffffdfff, 57344 bytes (14 pages) 0x00000100000000 - 0x0000045823afff, 14363635712 bytes (3506747 pages) 0x000004732af000 - 0x00000479c0ffff, 110497792 bytes (26977 pages) 0x00000479c40000 - 0x0000047e4effff, 76218368 bytes (18608 pages) 0x0000047edf0000 - 0x0000047fffffff, 18939904 bytes (4624 pages) avail memory = 16495140864 (15730 MB) Starting CPU 1 (0) Starting CPU 2 (100) Starting CPU 3 (200) Starting CPU 4 (300) Starting CPU 5 (400) Starting CPU 6 (500) Starting CPU 7 (600) Starting CPU 8 (700) Starting CPU 9 (800) Starting CPU 10 (900) Starting CPU 11 (b00) FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs Enabling IDC ICache sync Enabling LSE atomics in the kernel Enabling BTI random: read 4096 bytes from preloaded cache random: no platform bootloader entropy random: unblocking device. VIMAGE (virtualized network stack) enabled hostuuid: using 8ffcdd88-11db-4128-a57d-64bbe656c1ac ULE: setup cpu 0 ULE: setup cpu 1 ULE: setup cpu 2 ULE: setup cpu 3 ULE: setup cpu 4 ULE: setup cpu 5 ULE: setup cpu 6 ULE: setup cpu 7 ULE: setup cpu 8 ULE: setup cpu 9 ULE: setup cpu 10 ULE: setup cpu 11 random: entropy device external interface ACPI: IORT: Dropping unhandled type 6 firmware: 'tegra210_xusb_fw' version 0: 132608 bytes loaded at 0xffff000000b3d738 MAP 82500000 mode 2 pages 7936 MAP fffc0000 mode 2 pages 32 MAP 47e4f0000 mode 2 pages 1200 MAP 47e9a0000 mode 2 pages 1104 MAP 4070000 mode 4 pages 1 MAP 4120000 mode 4 pages 64 MAP 4170000 mode 4 pages 16 MAP 16004000 mode 4 pages 4 kbd0 at kbdmux0 mem: <memory> null: <full device, null device, zero device> openfirm: <Open Firmware control device> sound_global_init: snd_unit=-1 snd_maxautovchans=16 latency=2 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25 tcp_log: tcp_log device crypto: <crypto core> ACPI: RSDP 0x0000000479C30018 000024 (v02 CIXTEK) ACPI: XSDT 0x0000000479C3FE98 00007C (v01 CIXTEK SKY1EDK2 01000101 01000013) ACPI: FACP 0x0000000479C3FC98 00010C (v05 CIXTEK SKY1EDK2 01000101 CIX 00000001) ACPI: DSDT 0x0000000479C10018 012C20 (v05 CIXTEK SKY1EDK2 00000001 INTL 20200925) ACPI: SSDT 0x0000000479C37518 002FCA (v05 CIXTEK SKY1EDK2 00000001 INTL 20200925) ACPI: CSRT 0x0000000479C3FA98 00008C (v00 CIXTEK SKY1EDK2 01000101 CIX 00000001) ACPI: DBG2 0x0000000479C3FB98 00005C (v00 CIXTEK SKY1EDK2 01000101 CIX 00000001) ACPI: GTDT 0x0000000479C3E998 000084 (v03 CIXTEK SKY1EDK2 01000101 CIX 00000001) ACPI: IORT 0x0000000479C3BD18 000AD8 (v05 CIXTEK SKY1EDK2 01000101 CIX 00000001) ACPI: SDEI 0x0000000479C3FE18 000024 (v01 CIXTEK SKY1EDK2 01000101 CIX 00000001) ACPI: SPCR 0x0000000479C3FF98 000050 (v02 CIXTEK SKY1EDK2 01000101 CIX 00000001) ACPI: APIC 0x0000000479C3EA98 000428 (v05 CIXTEK SKY1EDK2 01000101 CIX 00000001) ACPI: SSDT 0x0000000479C3CE18 0011FC (v02 CIXTEK SKY1EDK2 01000101 CIX 00000001) ACPI: MCFG 0x0000000479C3F918 00005C (v01 CIXTEK SKY1EDK2 01000101 CIX 00000001) acpi0: <CIXTEK SKY1EDK2> ACPI: 3 ACPI AML tables successfully acquired and loaded acpi0: Power Button (fixed) acpi0: Sleep Button (fixed) acpi0: Could not update all GPEs: AE_NOT_CONFIGURED psci0: <ARM Power State Co-ordination Interface Driver> on acpi0 psci0: PSCI version 0.2 compatible Found SMCCC version 1.2 smccc0: <ARM SMCCC v1.2> on psci0 gic0: <ARM Generic Interrupt Controller v3.0> iomem 0xe010000-0xe01ffff,0xe090000-0xe38ffff on acpi0 gic0: SPIs: 544, IDs: 65535 gic0: Start searching for Re-Distributor gic0: CPU0 Re-Distributor has been found gic0: CPU0 Re-Distributor woke up gic0: CPU0 enabled CPU interface via system registers its0: <ARM GIC Interrupt Translation Service> mem 0xe050000-0xe06ffff on gic0 its0: Unhandled table type 2 gic0: using PENDBASE of 0x458210000 on cpu 0 generic_timer0: <ARM Generic Timer> irq 127,128,129,130 on acpi0 generic_timer0: allocated irq for 'sec-phys' generic_timer0: allocated irq for 'phys' generic_timer0: allocated irq for 'virt' generic_timer0: allocated irq for 'hyp-phys' generic_timer0: could not allocate irq for optional interrupt 'hyp-virt' Timecounter "ARM MPCore Timecounter" frequency 1000000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 1000000000 Hz quality 1000 EFI rt_gettime call faulted, error 14 efirtc0: cannot read EFI realtime clock, error 14 ram0: reserving memory region: 84400000-84600000 ram0: reserving memory region: 85000000-a0000000 panic: ram_attach: resource 1 failed to attach cpuid = 0 time = 1 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x38 vpanic() at vpanic+0x1a0 panic() at panic+0x48 ram_attach() at ram_attach+0xec device_attach() at device_attach+0x4c0 bus_generic_new_pass() at bus_generic_new_pass+0x130 bus_generic_new_pass() at bus_generic_new_pass+0xc0 root_bus_configure() at root_bus_configure+0x44 mi_startup() at mi_startup+0x1f4 virtdone() at virtdone+0x6c KDB: enter: panic [ thread pid 0 tid 100000 ] Stopped at kdb_enter+0x48: str xzr, [x19, #2048] db> -- FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77D55F7BE57B9E43%2B9557bea2-4356-4525-bb9e-c4ea885895f5>