Re: Radxa Orion O6
FUKAUMI Naoki <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <[email protected]> |
# The quoted email appears to be blocked (moderated) The xhci issue and the cpu[1-9ab] issue are still there. # Btw both work on FreeBSD Best regards, -- FUKAUMI Naoki Radxa Computer (Shenzhen) Co., Ltd. On 1/22/25 15:06, FUKAUMI Naoki wrote: > On 1/22/25 12:12, FUKAUMI Naoki wrote: >> I found the key to enable the SPCR (Serial Port Console Redirection) >> table in EDK2. I rebuilt the UEFI and the SPCR table started to >> appear. But on NetBSD nothing changes, only the HDMI output is displayed. > > ^It was wrong. SPCR is working! : > [ 1.0000040] xhci0 at acpi0 (XHC0, PNP0D10-0): mem 0x9018000-0x901ffff > irq 294 > [ 1.0000040] xhci0: 64-bit DMA > [ 1.0000040] panic: trap_el1h_error > [ 1.0000040] cpu0: Begin traceback... > [ 1.0000040] trace fp ffffc0000121ed40 > [ 1.0000040] fp ffffc0000121ed70 vpanic() at ffffc000005c4060 > netbsd:vpanic+0x1a0 > [ 1.0000040] fp ffffc0000121edd0 panic() at ffffc000005c4144 > netbsd:panic+0x44 > [ 1.0000040] fp ffffc0000121ee60 trap_el1h_error() at ffffc000000bd12c > netbsd:trap_el1h_error+0xac > [ 1.0000040] tf ffffc0000121ee70 el1_trap() at ffffc000000bef84 > netbsd:el1_vectors+0x784 > [ 1.0000040] ---- SError Interrupt: trapframe 0xffffc0000121ee70 (304 > bytes) ---- > [ 1.0000040] pc=ffffc00000269fac, spsr=0000000020400005 > [ 1.0000040] esr=00000000be000011, far=0000000000000000 > [ 1.0000040] x0=ffff000479056c00, x1=000000000000ff6a > [ 1.0000040] x2=0000000000000002, x3=ffffc000000b0578 > [ 1.0000040] x4=ffffc00000a90048, x5=ffff000479afa400 > [ 1.0000040] x6=0000000000000004, x7=0000000000000000 > [ 1.0000040] x8=0000000000000002, x9=0000000000000006 > [ 1.0000040] x10=0000000000000040, x11=000000000000003f > [ 1.0000040] x12=fffffc0011e40fc8, x13=fffffc0011e40fcc > [ 1.0000040] x14=0000000000000042, x15=ffff00047937a820 > [ 1.0000040] x16=ffffc000000b0bcc, x17=07532af6648ed895 > [ 1.0000040] x18=c4606af8d7c7b3ce, x19=0000000000000000 > [ 1.0000040] x20=ffff00047a1cb000, x21=ffffc00000a8feb0 > [ 1.0000040] x22=ffffc0000121f5c0, x23=0000000000000080 > [ 1.0000040] x24=ffffc00000b4f840, x25=ffff00047937a7d0 > [ 1.0000040] x26=0000000000000001, x27=ffffc00000c243d8 > [ 1.0000040] x28=ffff00047a1cb000, fp=x29=ffffc0000121f1b0 > [ 1.0000040] lr=x30=ffffc00000269f94, sp=ffffc0000121f1a0 > [ 1.0000040] ------------------------------------------------ > [ 1.0000040] fp ffffc0000121f1b0 xhci_init() at ffffc00000269fac > netbsd:xhci_init+0xac > [ 1.0000040] fp ffffc0000121f2c0 xhci_acpi_attach() at > ffffc0000008b388 netbsd:xhci_acpi_attach+0x1d8 > [ 1.0000040] fp ffffc0000121f440 config_attach_internal() at > ffffc000005a2f04 netbsd:config_attach_internal+0x1c4 > [ 1.0000040] fp ffffc0000121f4a0 config_found_acquire() at > ffffc000005a30e4 netbsd:config_found_acquire+0x64 > [ 1.0000040] fp ffffc0000121f510 config_found() at ffffc000005a325c > netbsd:config_found+0x3c > [ 1.0000040] fp ffffc0000121f540 acpi_rescan_node() at > ffffc00000079b00 netbsd:acpi_rescan_node+0x150 > [ 1.0000040] fp ffffc0000121f600 acpi_rescan() at ffffc00000079d00 > netbsd:acpi_rescan+0x1dc > [ 1.0000040] fp ffffc0000121f6c0 acpi_attach() at ffffc0000007a470 > netbsd:acpi_attach+0x5b0 > [ 1.0000040] fp ffffc0000121f7c0 config_attach_internal() at > ffffc000005a2f04 netbsd:config_attach_internal+0x1c4 > [ 1.0000040] fp ffffc0000121f820 config_found_acquire() at > ffffc000005a30e4 netbsd:config_found_acquire+0x64 > [ 1.0000040] fp ffffc0000121f890 config_found() at ffffc000005a325c > netbsd:config_found+0x3c > [ 1.0000040] fp ffffc0000121f8c0 acpi_fdt_attach() at ffffc00000077eb0 > netbsd:acpi_fdt_attach+0xb0 > [ 1.0000040] fp ffffc0000121f940 config_attach_internal() at > ffffc000005a2f04 netbsd:config_attach_internal+0x1c4 > [ 1.0000040] fp ffffc0000121f9a0 config_attach() at ffffc000005a339c > netbsd:config_attach+0x5c > [ 1.0000040] fp ffffc0000121fa10 fdt_scan() at ffffc000006e01c0 > netbsd:fdt_scan+0x160 > [ 1.0000040] fp ffffc0000121fba0 fdt_rescan() at ffffc000006e06d0 > netbsd:fdt_rescan+0x50 > [ 1.0000040] fp ffffc0000121fbd0 config_attach_internal() at > ffffc000005a2f04 netbsd:config_attach_internal+0x1c4 > [ 1.0000040] fp ffffc0000121fc30 config_found_acquire() at > ffffc000005a30e4 netbsd:config_found_acquire+0x64 > [ 1.0000040] fp ffffc0000121fca0 config_found() at ffffc000005a325c > netbsd:config_found+0x3c > [ 1.0000040] fp ffffc0000121fcd0 arm_fdt_attach() at ffffc00000072784 > netbsd:arm_fdt_attach+0x94 > [ 1.0000040] fp ffffc0000121fd30 config_attach_internal() at > ffffc000005a2f04 netbsd:config_attach_internal+0x1c4 > [ 1.0000040] fp ffffc0000121fd90 config_attach() at ffffc000005a339c > netbsd:config_attach+0x5c > [ 1.0000040] fp ffffc0000121fe00 config_rootfound() at > ffffc000005a345c netbsd:config_rootfound+0x4c > [ 1.0000040] fp ffffc0000121fe30 cpu_configure() at ffffc0000006e28c > netbsd:cpu_configure+0x4c > [ 1.0000040] fp ffffc0000121fe60 main() at ffffc00000861920 > netbsd:main+0x2c0 > [ 1.0000040] fp 0000000000000000 aarch64_start() at ffffc0000000189c > netbsd:aarch64_start+0x109c > [ 1.0000040] cpu0: End traceback... > Stopped in pid 0.0 (system) at netbsd:cpu_Debugger+0xc: ldp x29, > x30 > , [sp],#16 : [ 1.0000040] cpu0 has 1 core siblings: cpu0 [ 1.0000040] cpu0 has 12 pkg siblings: cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 cpu8 cpu9 cpu10 cpu11 cpu0 [ 1.0000040] cpu0 has 1 1st siblings: cpu1 [ 1.0000040] cpu0 first in package: cpu1 [ 1.0000040] cpu1 has 1 core siblings: cpu1 [ 1.0000040] cpu1 has 12 pkg siblings: cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 cpu8 cpu9 cpu10 cpu11 cpu0 cpu1 [ 1.0000040] cpu1 has 1 1st siblings: cpu1 [ 1.0000040] cpu1 first in package: cpu1 [ 1.0000040] cpu2 has 1 core siblings: cpu2 [ 1.0000040] cpu2 has 12 pkg siblings: cpu3 cpu4 cpu5 cpu6 cpu7 cpu8 cpu9 cpu10 cpu11 cpu0 cpu1 cpu2 [ 1.0000040] cpu2 has 1 1st siblings: cpu1 [ 1.0000040] cpu2 first in package: cpu1 [ 1.0000040] cpu3 has 1 core siblings: cpu3 [ 1.0000040] cpu3 has 12 pkg siblings: cpu4 cpu5 cpu6 cpu7 cpu8 cpu9 cpu10 cpu11 cpu0 cpu1 cpu2 cpu3 [ 1.0000040] cpu3 has 1 1st siblings: cpu1 [ 1.0000040] cpu3 first in package: cpu1 [ 1.0000040] cpu4 has 1 core siblings: cpu4 [ 1.0000040] cpu4 has 12 pkg siblings: cpu5 cpu6 cpu7 cpu8 cpu9 cpu10 cpu11 cpu0 cpu1 cpu2 cpu3 cpu4 [ 1.0000040] cpu4 has 1 1st siblings: cpu1 [ 1.0000040] cpu4 first in package: cpu1 [ 1.0000040] cpu5 has 1 core siblings: cpu5 [ 1.0000040] cpu5 has 12 pkg siblings: cpu6 cpu7 cpu8 cpu9 cpu10 cpu11 cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 [ 1.0000040] cpu5 has 1 1st siblings: cpu1 [ 1.0000040] cpu5 first in package: cpu1 [ 1.0000040] cpu6 has 1 core siblings: cpu6 [ 1.0000040] cpu6 has 12 pkg siblings: cpu7 cpu8 cpu9 cpu10 cpu11 cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 [ 1.0000040] cpu6 has 1 1st siblings: cpu1 [ 1.0000040] cpu6 first in package: cpu1 [ 1.0000040] cpu7 has 1 core siblings: cpu7 [ 1.0000040] cpu7 has 12 pkg siblings: cpu8 cpu9 cpu10 cpu11 cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 [ 1.0000040] cpu7 has 1 1st siblings: cpu1 [ 1.0000040] cpu7 first in package: cpu1 [ 1.0000040] cpu8 has 1 core siblings: cpu8 [ 1.0000040] cpu8 has 12 pkg siblings: cpu9 cpu10 cpu11 cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 cpu8 [ 1.0000040] cpu8 has 1 1st siblings: cpu1 [ 1.0000040] cpu8 first in package: cpu1 [ 1.0000040] cpu9 has 1 core siblings: cpu9 [ 1.0000040] cpu9 has 12 pkg siblings: cpu10 cpu11 cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 cpu8 cpu9 [ 1.0000040] cpu9 has 1 1st siblings: cpu1 [ 1.0000040] cpu9 first in package: cpu1 [ 1.0000040] cpu10 has 1 core siblings: cpu10 [ 1.0000040] cpu10 has 12 pkg siblings: cpu11 cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 cpu8 cpu9 cpu10 [ 1.0000040] cpu10 has 1 1st siblings: cpu1 [ 1.0000040] cpu10 first in package: cpu1 [ 1.0000040] cpu11 has 1 core siblings: cpu11 [ 1.0000040] cpu11 has 12 pkg siblings: cpu0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 cpu8 cpu9 cpu10 cpu11 [ 1.0000040] cpu11 has 1 1st siblings: cpu1 [ 1.0000040] cpu11 first in package: cpu1 [ 1.0000040] timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0 [ 1.0000040] UVM: using package allocation scheme, 1 package(s) per bucket [ 17.0067160] cpu0: found cpu1 heart stopped beating after 16 seconds [ 17.0067160] panic: Trap: Data Abort (EL1): Translation Fault L0 with read access for 0000000000000080, PAN Set: pc ffffc000008535e4: ldxr x0, [x4] [ 17.0067160] cpu0: Begin traceback... [ 17.0067160] trace fp ffffc0000121f3e0 [ 17.0067160] fp ffffc0000121f410 vpanic() at ffffc000005c4060 netbsd:vpanic+0x1a0 [ 17.0067160] fp ffffc0000121f470 panic() at ffffc000005c4144 netbsd:panic+0x44 [ 17.0067160] fp ffffc0000121f500 data_abort_handler() at ffffc000000bd5dc netbsd:data_abort_handler+0x1ec [ 17.0067160] tf ffffc0000121f570 el1_trap() at ffffc000000bef84 netbsd:el1_vectors+0x784 [ 17.0067160] ---- Data Abort (EL1): trapframe 0xffffc0000121f570 (304 bytes) ---- [ 17.0067160] pc=ffffc000008535e4, spsr=0000000022400005 [ 17.0067160] esr=0000000096000004, far=0000000000000080 [ 17.0067160] x0=0000000000000080, x1=0000000000000000 [ 17.0067160] x2=ffffc0000121f928, x3=ffffc00000e6fa80 [ 17.0067160] x4=0000000000000080, x5=0000000000000006 [ 17.0067160] x6=0000000000000007, x7=00000000007f7f7f [ 17.0067160] x8=0000000000000000, x9=ffffc00001340b48 [ 17.0067160] x10=0000000000000000, x11=ffffc00000f3f8e0 [ 17.0067160] x12=0000000000000020, x13=0000000000000000 [ 17.0067160] x14=0000000000000020, x15=ffff000479037830 [ 17.0067160] x16=ffffc000000054d0, x17=00000000aa00e302 [ 17.0067160] x18=000000007f730444, x19=0000000000000088 [ 17.0067160] x20=ffffc0000121f928, x21=0000000000000100 [ 17.0067160] x22=0000000000000004, x23=0000000000000080 [ 17.0067160] x24=ffffc00000e70400, x25=ffffc0000120f300 [ 17.0067160] x26=ffffc00040882000, x27=000000000000063c [ 17.0067160] x28=000000047fffef00, fp=x29=ffffc0000121f8a0 [ 17.0067160] lr=x30=ffffc000005b337c, sp=ffffc0000121f8a0 [ 17.0067160] ------------------------------------------------ [ 17.0067160] fp ffffc0000121f8a0 _atomic_cas_64() at ffffc000008535e4 netbsd:_atomic_cas_64+0x4 [ 17.0067160] fp ffffc0000121f8f0 defibrillate() at ffffc00000560c1c netbsd:defibrillate+0x6c [ 17.0067160] fp ffffc0000121f940 hardclock() at ffffc00000549444 netbsd:hardclock+0xc4 [ 17.0067160] fp ffffc0000121f990 gtmr_intr() at ffffc0000000a3f4 netbsd:gtmr_intr+0x1d4 [ 17.0067160] fp ffffc0000121f9f0 pic_dispatch() at ffffc0000000287c netbsd:pic_dispatch+0x4c [ 17.0067160] fp ffffc0000121fa40 gicv3_irq_handler() at ffffc00000006e70 netbsd:gicv3_irq_handler+0x12c [ 17.0067160] fp ffffc0000121faa0 cpu_irq() at ffffc000000bcaa8 netbsd:cpu_irq+0x48 [ 17.0067160] tf ffffc0000121fad0 el1_trap() at ffffc000000bef84 netbsd:el1_vectors+0x784 [ 17.0067160] ---- Interrupt: trapframe 0xffffc0000121fad0 (304 bytes) ---- [ 17.0067160] pc=ffffc000000b3544, spsr=0000000000400005 [ 17.0067160] esr=ffffffffffffffff, far=0000000000000000 [ 17.0067160] x0=000000000000001e, x1=0000000000000000 [ 17.0067160] x2=0000000000000000, x3=0000000000000000 [ 17.0067160] x4=ffffc000011fd798, x5=0000000000000000 [ 17.0067160] x6=0000000000000007, x7=00000000007f7f7f [ 17.0067160] x8=0000000000000000, x9=ffffc00001340b48 [ 17.0067160] x10=0000000000000000, x11=ffffc00000f3f8e0 [ 17.0067160] x12=0000000000000020, x13=0000000000000000 [ 17.0067160] x14=0000000000000020, x15=ffff000479037830 [ 17.0067160] x16=ffffc000000054d0, x17=00000000aa00e302 [ 17.0067160] x18=000000007f730444, x19=0000000000000002 [ 17.0067160] x20=0000000000000000, x21=0000000000000001 [ 17.0067160] x22=ffffc000011fd780, x23=ffffc000012173b0 [ 17.0067160] x24=0000000000000001, x25=ffffc000011fd800 [ 17.0067160] x26=ffffc00001217000, x27=000000047ac218ec [ 17.0067160] x28=000000047fffef00, fp=x29=ffffc0000121fe00 [ 17.0067160] lr=x30=ffffc000000b3550, sp=ffffc0000121fe00 [ 17.0067160] ------------------------------------------------ [ 17.0067160] fp ffffc0000121fe00 cpu_boot_secondary_processors() at ffffc000000b3544 netbsd:cpu_boot_secondary_processors+0xd4 [ 17.0067160] fp ffffc0000121fe60 main() at ffffc000008619b8 netbsd:main+0x358 [ 17.0067160] fp 0000000000000000 aarch64_start() at ffffc0000000189c netbsd:aarch64_start+0x109c [ 17.0067160] cpu0: End traceback... Stopped in pid 0.0 (system) at netbsd:cpu_Debugger+0xc: ldp x29, x30 , [sp],#16