Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Radxa Orion O6



Hi,

On 1/19/25 14:16, FUKAUMI Naoki wrote:
I'm trying to boot NetBSD/evbarm-aarch64 on a Radxa Orion O6.

So far I've taken some screenshots of the display output.

No tweak:
 https://drive.google.com/file/d/1wVBIDpObjyuX3s1hGHuIYc17MrGiY-4_/ view?usp=drive_link

+noefirt:
 https://drive.google.com/file/d/1WkjCxHyJBv7eju0NgwgTAODEVCo0fj3Y/ view?usp=sharing

+noefirt -xhci:
 https://drive.google.com/file/d/1wz2UsY6BkgXSgqveB2U3I9TSSP1BByFL/ view?usp=sharing

+noefirt -xhci -cpu[1-9a-b]:
 https://drive.google.com/file/d/1CC9tczH9u-1FmmvdR_3W1kd5_bVaBGLg/ view?usp=sharing

Could you please give me some advice?

I forgot to say,

UEFI has a "O/S Hardware Description Selection" menu where I can choose "Device Tree" or "ACPI". "ACPI" allows me to boot a mainline Linux kernel.

So far my talk has been in ACPI mode. In Device Tree mode I have serial console and get the following dmesg:

  \\-__,------,___.
   \\        __,---`  NetBSD/evbarm efiboot (arm64)
    \\       `---,_.  Revision 2.15 (Fri Jan 17 10:40:09 UTC 2025)
     \\-,_____,.---`
      \\
       \\
        \\

Press return to boot now, any other key for boot prompt
booting netbsd - starting in 0 seconds.
> acpi off
> boot onetbsd noefirt
8789424+3845432+4290404+1740004 [613862+980088+730049]=0x15f8608
[   1.0000000] NetBSD/evbarm (fdt) booting ...
I/TC: Secondary CPU 0 initializing
I/TC: Secondary CPU 0 switching to normal world boot
I/TC: Secondary CPU 1 initializing
I/TC: Secondary CPU 1 switching to normal world boot
I/TC: Secondary CPU 2 initializing
I/TC: Secondary CPU 2 switching to normal world boot
I/TC: Secondary CPU 3 initializing
I/TC: Secondary CPU 3 switching to normal world boot
I/TC: Secondary CPU 4 initializing
I/TC: Secondary CPU 4 switching to normal world boot
I/TC: Secondary CPU 5 initializing
I/TC: Secondary CPU 5 switching to normal world boot
I/TC: Secondary CPU 6 initializing
I/TC: Secondary CPU 6 switching to normal world boot
I/TC: Secondary CPU 7 initializing
I/TC: Secondary CPU 7 switching to normal world boot
I/TC: Secondary CPU 8 initializing
I/TC: Secondary CPU 8 switching to normal world boot
I/TC: Secondary CPU 9 initializing
I/TC: Secondary CPU 9 switching to normal world boot
I/TC: Secondary CPU 11 initializing
I/TC: Secondary CPU 11 switching to normal world boot
[   1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
[ 1.0000000] 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, [ 1.0000000] 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023,
[   1.0000000]     2024, 2025
[   1.0000000]     The NetBSD Foundation, Inc.  All rights reserved.
[   1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.

[   1.0000000] NetBSD 10.99.12 (GENERIC64) #0: Fri Jan 17 10:40:09 UTC 2025
[ 1.0000000] mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/evbarm/compile/GENERIC64
[   1.0000000] total memory = 15419 MB
[   1.0000000] avail memory = 14861 MB
[   1.0000000] armfdt0 (root)
[   1.0000000] simplebus0 at armfdt0: Radxa Orion O6
[   1.0000000] cpus0 at simplebus0
[   1.0000000] simplebus1 at simplebus0
[   1.0000000] psci0 at simplebus0: PSCI 1.1
[   1.0000000] simplebus2 at simplebus0
[   1.0000000] simplebus3 at simplebus0
[   1.0000000] cpu0 at cpus0: unknown CPU (ID = 0x410fd811), id 0x0
[   1.0000000] cpu0: package 0, core 10, smt 0, numa 0
[   1.0000000] cpu1 at cpus0: unknown CPU (ID = 0x410fd801), id 0x100
[   1.0000000] cpu1: package 0, core 0, smt 0, numa 0
[   1.0000000] cpu2 at cpus0: unknown CPU (ID = 0x410fd801), id 0x200
[   1.0000000] cpu2: package 0, core 1, smt 0, numa 0
[   1.0000000] cpu3 at cpus0: unknown CPU (ID = 0x410fd801), id 0x300
[   1.0000000] cpu3: package 0, core 2, smt 0, numa 0
[   1.0000000] cpu4 at cpus0: unknown CPU (ID = 0x410fd801), id 0x400
[   1.0000000] cpu4: package 0, core 3, smt 0, numa 0
[   1.0000000] cpu5 at cpus0: unknown CPU (ID = 0x410fd811), id 0x500
[   1.0000000] cpu5: package 0, core 4, smt 0, numa 0
[   1.0000000] cpu6 at cpus0: unknown CPU (ID = 0x410fd811), id 0x600
[   1.0000000] cpu6: package 0, core 5, smt 0, numa 0
[   1.0000000] cpu7 at cpus0: unknown CPU (ID = 0x410fd811), id 0x700
[   1.0000000] cpu7: package 0, core 6, smt 0, numa 0
[   1.0000000] cpu8 at cpus0: unknown CPU (ID = 0x410fd811), id 0x800
[   1.0000000] cpu8: package 0, core 7, smt 0, numa 0
[   1.0000000] cpu9 at cpus0: unknown CPU (ID = 0x410fd811), id 0x900
[   1.0000000] cpu9: package 0, core 8, smt 0, numa 0
[   1.0000000] cpu10 at cpus0: unknown CPU (ID = 0x410fd811), id 0xa00
[   1.0000000] cpu10: package 0, core 9, smt 0, numa 0
[   1.0000000] cpu11 at cpus0: unknown CPU (ID = 0x410fd811), id 0xb00
[   1.0000000] cpu11: package 0, core 11, smt 0, numa 0
[   1.0000000] syscon0 at simplebus0: System Controller Registers
[   1.0000000] gicvthree0 at simplebus1: GICv3
[ 1.0000000] gicvthree0: ITS command table @ 0x868d0000/0x1000, Cacheable WA WB, Inner shareable [ 1.0000000] gicvthree0: ITS [#0] Devices table @ 0x868d1000/0x1000, Cacheable WA WB, Inner shareable, indirect [ 1.0000000] gicvthree0: ITS [#1] Collections table @ 0x868d2000/0x1000, Cacheable WA WB, Inner shareable
[   1.0000000] syscon1 at simplebus1: System Controller Registers
[   1.0000000] syscon2 at simplebus1: System Controller Registers
[   1.0000000] syscon3 at simplebus1: System Controller Registers
[   1.0000000] syscon4 at simplebus1: System Controller Registers
[   1.0000000] syscon5 at simplebus1: System Controller Registers
[   1.0000000] gtmr0 at simplebus0: Generic Timer
[   1.0000000] gtmr0: interrupting on GICv3 irq 27
[   1.0000000] armgtmr0 at gtmr0: Generic Timer (1000 MHz, virtual)
[   1.0000040] fregulator0 at simplebus0: cam_power_en
[   1.0000040] fregulator1 at simplebus0: vgfx_power
[   1.0000040] fregulator2 at simplebus0: vdd_3v3_pcie
[   1.0000040] fregulator3 at simplebus0: gbe1_power_3v3
[   1.0000040] fregulator4 at simplebus0: gbe2_power_3v3
[   1.0000040] fregulator5 at simplebus0: usb20f_5v
[   1.0000040] plcom0 at simplebus1: failed to decode interrupt
[   1.0000040] /soc@0/disp-controller@14010000 at simplebus1 not configured
[   1.0000040] /soc@0/disp-controller@14080000 at simplebus1 not configured
[   1.0000040] /soc@0/disp-controller@140f0000 at simplebus1 not configured
[   1.0000040] /soc@0/disp-controller@14160000 at simplebus1 not configured
[   1.0000040] /soc@0/disp-controller@141d0000 at simplebus1 not configured
[   1.0000040] /soc@0/pinctrl_sky1 at simplebus1 not configured
[   1.0000040] /soc@0/gpio-controller@4130000 at simplebus1 not configured
[   1.0000040] /soc@0/i2c@04010000 at simplebus1 not configured
[   1.0000040] /soc@0/armcb_isp@14340000 at simplebus1 not configured
[   1.0000040] /soc@0/gpio-controller@16004000 at simplebus1 not configured
[   1.0000040] /soc@0/usb@9000000 at simplebus1 not configured
[   1.0000040] /soc@0/usb-phy@9030000 at simplebus1 not configured
[   1.0000040] /soc@0/usb@90e0000 at simplebus1 not configured
[   1.0000040] /soc@0/usb-phy@9110000 at simplebus1 not configured
[   1.0000040] /soc@0/gpio-controller@4140000 at simplebus1 not configured
[   1.0000040] /soc@0/pinctrl_s5_sky1 at simplebus1 not configured
[   1.0000040] /soc@0/i2c@04070000 at simplebus1 not configured
[   1.0000040] /soc@0/dma-controller@4190000 at simplebus1 not configured
[   1.0000040] /mailbox@5060000 at simplebus0 not configured
[   1.0000040] /mailbox@5070000 at simplebus0 not configured
[   1.0000040] /mailbox@6590000 at simplebus0 not configured
[   1.0000040] /mailbox@65a0000 at simplebus0 not configured
[ 1.0000040] /soc@0/system-controller@07110000/reset-controller at syscon3 not configured [ 1.0000040] /soc@0/system-controller@07110000/clock-controller at syscon3 not configured
[   1.0000040] /soc@0/mailbox@70f0000 at simplebus1 not configured
[   1.0000040] /soc@0/mailbox@7100000 at simplebus1 not configured
[   1.0000040] /soc@0/dma-controller@07010000 at simplebus1 not configured
[   1.0000040] /soc@0/gpio-controller@4150000 at simplebus1 not configured
[   1.0000040] /mailbox@80a0000 at simplebus0 not configured
[   1.0000040] /mailbox@8090000 at simplebus0 not configured
[   1.0000040] /soc@0/i2c@04020000 at simplebus1 not configured
[   1.0000040] /soc@0/usb-phy@92a0000 at simplebus1 not configured
[   1.0000040] /soc@0/usb-phy@9300000 at simplebus1 not configured
[   1.0000040] /soc@0/usb-phy@9210000 at simplebus1 not configured
[   1.0000040] /soc@0/pcie_phy@0a020000 at simplebus1 not configured
[   1.0000040] /soc@0/pcie_phy@0a080000 at simplebus1 not configured
[   1.0000040] /soc@0/pcie_phy@0a0f0000 at simplebus1 not configured
[   1.0000040] /iommu@0b1b0000 at simplebus0 not configured
[   1.0000040] /soc@0/dp@14060000 at simplebus1 not configured
[   1.0000040] /soc@0/dp@140d0000 at simplebus1 not configured
[   1.0000040] /soc@0/dp@14140000 at simplebus1 not configured
[   1.0000040] /soc@0/dp@141b0000 at simplebus1 not configured
[   1.0000040] /soc@0/dp@14220000 at simplebus1 not configured
[   1.0000040] /soc@0/usb-phy@90A0000 at simplebus1 not configured
[   1.0000040] /panel_edp0 at simplebus0 not configured
[   1.0000040] /soc@0/usb-phy@9180000 at simplebus1 not configured
[ 1.0000040] /soc@0/physical-memory-group-manager at simplebus1 not configured [ 1.0000040] /soc@0/protected-memory-allocator at simplebus1 not configured
[   1.0000040] /soc@0/nvmem_fw at simplebus1 not configured
[   1.0000040] /ap2pm-shmem@0 at simplebus0 not configured
[   1.0000040] /pm2pm-shmem@0 at simplebus0 not configured
[   1.0000040] /ap2tf-shmem@1 at simplebus0 not configured
[   1.0000040] /soc@0/gpu@15010000 at simplebus1 not configured
[   1.0000040] /soc@0/ipb-hda@070c0000 at simplebus1 not configured
[   1.0000040] /alc256_codec at simplebus0 not configured
[   1.0000040] /sound at simplebus0 not configured
[   1.0000040] /soc@0/i2s@07070000 at simplebus1 not configured
[   1.0000040] /soc@0/i2s@07080000 at simplebus1 not configured
[   1.0000040] /soc@0/i2s@070a0000 at simplebus1 not configured
[   1.0000040] /soc@0/i2s@070b0000 at simplebus1 not configured
[   1.0000040] /soc@0/pwm0@04111000 at simplebus1 not configured
[   1.0000040] pwmbacklight0 at simplebus0: couldn't acquire pwm
[   1.0000040] /soc@0/gpio-controller@16005000 at simplebus1 not configured
[   1.0000040] /soc@0/gpio-controller@16006000 at simplebus1 not configured
[   1.0000040] armpmu0 at simplebus0: Performance Monitor Unit
[   1.0000040] /spe_pmu at simplebus0 not configured
[   1.0000040] /armcb_config at simplebus0 not configured
[   1.0000040] /cix_vi_hw at simplebus0 not configured
[   1.0000040] /armcb_ispmem at simplebus0 not configured
[   1.0000040] /ddr_ctrl@0C010000 at simplebus0 not configured
[   1.0000040] /ddr_ctrl@0C030000 at simplebus0 not configured
[   1.0000040] /ddr_ctrl@0C050000 at simplebus0 not configured
[   1.0000040] /ddr_ctrl@0C070000 at simplebus0 not configured
[   1.0000040] /dsu_cache_exception at simplebus0 not configured
[   1.0000040] /cache_exception_core0 at simplebus0 not configured
[   1.0000040] /cache_exception_core1 at simplebus0 not configured
[   1.0000040] /cache_exception_core2 at simplebus0 not configured
[   1.0000040] /cache_exception_core3 at simplebus0 not configured
[   1.0000040] /cache_exception_core4 at simplebus0 not configured
[   1.0000040] /cache_exception_core5 at simplebus0 not configured
[   1.0000040] /cache_exception_core6 at simplebus0 not configured
[   1.0000040] /cache_exception_core7 at simplebus0 not configured
[   1.0000040] /cache_exception_core8 at simplebus0 not configured
[   1.0000040] /cache_exception_core9 at simplebus0 not configured
[   1.0000040] /cache_exception_core10 at simplebus0 not configured
[   1.0000040] /cache_exception_core11 at simplebus0 not configured
[   1.0000040] /wireless-bluetooth at simplebus0 not configured
[   1.0000040] gpioleds0 at simplebus0:
[   1.0000040] /soc@0/i2c@04030000 at simplebus1 not configured
[   1.0000040] /soc@0/i2c@04040000 at simplebus1 not configured
[   1.0000040] /soc@0/i2c@04050000 at simplebus1 not configured
[   1.0000040] /soc@0/i2c@04060000 at simplebus1 not configured
[   1.0000040] /soc@0/audio-dsp@07000000 at simplebus1 not configured
[   1.0000040] /soc@0/cix_se_pm_crash at simplebus1 not configured
[   1.0000040] /soc@0/usb@9070000 at simplebus1 not configured
[   1.0000040] /soc@0/usb@9150000 at simplebus1 not configured
[   1.0000040] /soc@0/usb@91c0300 at simplebus1 not configured
[   1.0000040] /soc@0/usb@91c0304 at simplebus1 not configured
[   1.0000040] /soc@0/usb@9250000 at simplebus1 not configured
[   1.0000040] /soc@0/usb@9280000 at simplebus1 not configured
[   1.0000040] /soc@0/usb@92b0000 at simplebus1 not configured
[   1.0000040] /soc@0/usb@92e0000 at simplebus1 not configured
[   1.0000040] /soc@0/pcie@0a010000 at simplebus1 not configured
[   1.0000040] /soc@0/pcie@0a070000 at simplebus1 not configured
[   1.0000040] /soc@0/pcie@0a0c0000 at simplebus1 not configured
[   1.0000040] /soc@0/pcie@0a0e0000 at simplebus1 not configured
[   1.0000040] /soc@0/pcie@0a0d0000 at simplebus1 not configured
[   1.0000040] /soc@0/dsu_pmu at simplebus1 not configured
[   1.0000040] /soc@0/cmn_pmu@10010000 at simplebus1 not configured
[   1.0000040] /soc@0/vpu@14230000 at simplebus1 not configured
[   1.0000040] /soc@0/aipu@14260000 at simplebus1 not configured
[   1.0000040] /soc@0/isp_fake1 at simplebus1 not configured
[   1.0000040] /soc@0/isp_fake2 at simplebus1 not configured
[   1.0000040] /soc@0/isp_fake3 at simplebus1 not configured
[   1.0000040] /soc@0/gpt_timer@04116000 at simplebus1 not configured
[   1.0000040] /soc@0/watchdog@16003000 at simplebus1 not configured
[   1.0000040] /soc@0/gpio-controller@4120000 at simplebus1 not configured
[   1.0000040] /soc@0/sky1_top at simplebus1 not configured
[   1.0000040] /cix_dst/exception_trace at simplebus2 not configured
[   1.0000040] /cix_dst/ap_adapter at simplebus2 not configured
[ 1.0000040] genfb0 at simplebus3: Simple Framebuffer (1920x1080 32-bpp @ 0x84800000) [ 1.0000040] wsdisplay0 at genfb0 kbdmux 1: console (default, vt100 emulation)
[   1.0000040] WARNING: system needs entropy for security; see entropy(7)
[  17.0089413] cpu0: found cpu1 heart stopped beating after 16 seconds
[  17.0089413] cpu2: found cpu3 heart stopped beating after 16 seconds
[ 17.0089413] panic: Trap: Data Abort (EL1): Translation Fault L0 with read access for 0000000000000080, PAN Set: pc ffffc000008535e4: ldxr x0, [x4]

[ 17.0089413] Reader / writer lock error: rw_vector_enter,298: assertion failed: !cpu_intr_p()

[  17.0089413] lock address : netbsd:vmspace0+0x8
[  17.0089413] current cpu  :                  2
[  17.0089413] current lwp  : 0xffff00047a95a280
[  17.0089413] cpu0: Begin traceback...
[ 17.0089413] owner/count : 000000000000000000 flags : 000000000000000000
[  17.0089413] trace fp ffffc0000121f3e0

[ 17.0089413] fp ffffc0000121f410 vpanic() at ffffc000005c4060 netbsd:vpanic+0x1a0 [ 17.0089413] fp ffffc0000121f470 panic() at ffffc000005c4144 netbsd:panic+0x44 [ 17.0089413] fp ffffc0000121f500 data_abort_handler() at ffffc000000bd5dc netbsd:data_abort_handler+0x1ec [ 17.0089413] tf ffffc0000121f570 el1_trap() at ffffc000000bef84 netbsd:el1_vectors+0x784 [ 17.0089413] ---- Data Abort (EL1): trapframe 0xffffc0000121f570 (304 bytes) ----
[  17.0089413]     pc=ffffc000008535e4,   spsr=0000000022400005
[  17.0089413]    esr=0000000096000004,    far=0000000000000080
[  17.0089413]     x0=0000000000000080,     x1=0000000000000000
[  17.0089413]     x2=ffffc0000121f928,     x3=ffffc00000e6fa80
[  17.0089413]     x4=0000000000000080,     x5=0000000000000006
[  17.0089413]     x6=0000000000000007,     x7=00000000007f7f7f
[  17.0089413]     x8=0000000000000000,     x9=ffffc00001340b48
[  17.0089413]    x10=0000000000000000,    x11=ffffc00000f3f8e0
[  17.0089413]    x12=0000000000000020,    x13=0000000000000000
[  17.0089413]    x14=0000000000000020,    x15=ffff00047a056830
[  17.0089413]    x16=ffffc000000054d0,    x17=00000000010851e8
[  17.0089413]    x18=000000007f730444,    x19=0000000000000088
[  17.0089413]    x20=ffffc0000121f928,    x21=0000000000000100
[  17.0089413]    x22=0000000000000004,    x23=0000000000000080
[  17.0089413]    x24=ffffc00000e70400,    x25=ffffc0000120f300
[  17.0089413]    x26=ffffc00040044000,    x27=00000000000005f6
[  17.0089413]    x28=000000047fffef00, fp=x29=ffffc0000121f8a0
[  17.0089413] lr=x30=ffffc000005b337c,     sp=ffffc0000121f8a0
[  17.0089413] ------------------------------------------------
[ 17.0089413] fp ffffc0000121f8a0 _atomic_cas_64() at ffffc000008535e4 netbsd:_atomic_cas_64+0x4 [ 17.0089413] fp ffffc0000121f8f0 defibrillate() at ffffc00000560c1c netbsd:defibrillate+0x6c [ 17.0089413] fp ffffc0000121f940 hardclock() at ffffc00000549444 netbsd:hardclock+0xc4 [ 17.0089413] fp ffffc0000121f990 gtmr_intr() at ffffc0000000a3f4 netbsd:gtmr_intr+0x1d4 [ 17.0089413] fp ffffc0000121f9f0 pic_dispatch() at ffffc0000000287c netbsd:pic_dispatch+0x4c [ 17.0089413] fp ffffc0000121fa40 gicv3_irq_handler() at ffffc00000006e70 netbsd:gicv3_irq_handler+0x12c [ 17.0089413] fp ffffc0000121faa0 cpu_irq() at ffffc000000bcaa8 netbsd:cpu_irq+0x48 [ 17.0089413] tf ffffc0000121fad0 el1_trap() at ffffc000000bef84 netbsd:el1_vectors+0x784
[  17.0089413] ---- Interrupt: trapframe 0xffffc0000121fad0 (304 bytes) ----
[  17.0089413]     pc=ffffc000000b3544,   spsr=0000000000400005
[  17.0089413]    esr=ffffffffffffffff,    far=0000000000000000
[  17.0089413]     x0=000000000000001a,     x1=0000000000000000
[  17.0089413]     x2=0000000000000000,     x3=0000000000000000
[  17.0089413]     x4=ffffc000011fd798,     x5=ffffc00000e6fa80
[  17.0089413]     x6=0000000000000005,     x7=0000000000000001
[  17.0089413]     x8=ffffc0000121fe20,     x9=00000000ffffffc8
[  17.0089413]    x10=ffffc0000121fe60,    x11=ffffc0000121fe60
[  17.0089413]    x12=fffffc0011e7af4e,    x13=fffffc0011e7af50
[  17.0089413]    x14=000000000000000f,    x15=ffff000479ebd436
[  17.0089413]    x16=ffffc000000054d0,    x17=00000000010851e8
[  17.0089413]    x18=000000007f730444,    x19=0000000000000002
[  17.0089413]    x20=0000000000000000,    x21=0000000000000001
[  17.0089413]    x22=ffffc000011fd780,    x23=ffffc000012173b0
[  17.0089413]    x24=0000000000000001,    x25=ffffc000011fd800
[  17.0089413]    x26=ffffc00001217000,    x27=000000047ac218ec
[  17.0089413]    x28=000000047fffef00, fp=x29=ffffc0000121fe00
[  17.0089413] lr=x30=ffffc000000b3550,     sp=ffffc0000121fe00
[  17.0089413] ------------------------------------------------
[ 17.0089413] fp ffffc0000121fe00 cpu_boot_secondary_processors() at ffffc000000b3544 netbsd:cpu_boot_secondary_processors+0xd4 [ 17.0089413] fp ffffc0000121fe60 main() at ffffc000008619b8 netbsd:main+0x358 [ 17.0089413] fp 0000000000000000 aarch64_start() at ffffc0000000189c netbsd:aarch64_start+0x109c
[  17.0089413] cpu0: End traceback...
Stopped in pid 0.0 (system) at netbsd:cpu_Debugger+0xc: ldp x29, x30
, [sp],#16
db{0}>


Home | Main Index | Thread Index | Old Index