Thank you. I’ve downloaded and placed the image you shared on a new SD card.
It still gets stuck, here is the log of first boot:
[ 420.671781] rcu: 3-....: (104999 ticks this GP) idle=0ae/1/0x4000000000000002 softirq=6/6 fqs=52455
[ 420.681114] (t=105009 jiffies g=-1179 q=103)
[ 420.685522] Task dump for CPU 2:
[ 420.688781] kthreadd R running task 0 2 0 0x0000002a
[ 420.695916] Call trace:
[ 420.698391] __switch_to+0xc4/0x1e0
[ 420.701916] 0xffffff80faa4f728
[ 420.705087] Task dump for CPU 3:
[ 420.708350] kworker/u8:1 R running task 0 29 2 0x0000002a
[ 420.715489] Workqueue: events_unbound call_usermodehelper_exec_work
[ 420.721831] Call trace:
[ 420.724299] dump_backtrace+0x0/0x198
[ 420.728002] show_stack+0x14/0x20
[ 420.731355] sched_show_task+0x154/0x178
[ 420.735322] dump_cpu_task+0x40/0x4c
[ 420.738933] rcu_dump_cpu_stacks+0xa0/0xe0
[ 420.743076] rcu_sched_clock_irq+0x534/0x780
[ 420.747396] update_process_times+0x2c/0x68
[ 420.751630] tick_periodic+0x38/0xd0
[ 420.755244] tick_handle_periodic+0x30/0x98
[ 420.759473] arch_timer_handler_phys+0x2c/0x38
[ 420.763968] handle_percpu_devid_irq+0x80/0x140
[ 420.768553] generic_handle_irq+0x24/0x38
[ 420.772609] __handle_domain_irq+0x60/0xb8
[ 420.776752] gic_handle_irq+0xc0/0x158
[ 420.780539] el1_irq+0xb8/0x140
[ 420.783713] queued_spin_lock_slowpath+0x218/0x2d0
[ 420.788562] copy_process+0xe9c/0x1870
[ 420.792350] _do_fork+0x68/0x390
[ 420.795611] kernel_thread+0x40/0x48
[ 420.799227] call_usermodehelper_exec_work+0x9c/0xb8
[ 420.804252] process_one_work+0X1fc/0x390
[ 420.808309] worker_thread+0x48/0x4d0
[ 420.812014] kthread+0x120/0x128
[ 420.815278] ret_from_fork+0x10/0x1c
F0: 102B 0000
FA: 1042 0000
FA: 1042 0000 [0200]
F9: 1041 0000
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 380E 5012
F5: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 0600 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [3000]
MK: 0000 0000 [0000]
T0: 0000 01BF [0101]
Jump to BL
NOTICE: BL2: v2.9.0(release):v2.8-1889-g3f415d3fc-dirty
NOTICE: BL2: Built : 14:13:49, Apr 18 2024
INFO: BL2: Doing platform setup
NOTICE: WDT: Cold boot
NOTICE: WDT: disabled
INFO: PGD: disable PGD
INFO: PGD: disable GDU
INFO: ARMPLL_B_CON1 = 0x96000000
NOTICE: CPU: MT7988
NOTICE: EMI: Using DDR unknown settings
NOTICE: EMI: Detected DRAM size: 4096 MB
NOTICE: EMI: complex R/W mem test passed
INFO: WED: setup initial settings
INFO: MediaTek MMC/SD Card Controller ver 20211209, eco 0
INFO: Located partition 'fip/boot' at 0x100000, size 0xbf00000
INFO: BL2: Loading image id 3
INFO: Reading filename from bootcfg/bl31
WARNING: fat_file_open: failed opening bootcfg/bl31
WARNING: Failed to access image id=3 (-2)
INFO: BL2: Copying id=3 from: 0x23c99d to: 0x43001000 size: 0x4300c129
INFO: BL2: Loading image id 5
INFO: Reading filename from bootcfg/linux
INFO: Opening (/boot/Image)
INFO: Loading image id=5 at address 0x44000000
INFO: Image id=5 loaded: 0x44000000 - 0x45347200
INFO: BL2: Loading image id 22
INFO: Reading filename from bootcfg/initrd
INFO: Opening (/boot/initramfs-bpir.img)
INFO: Loading image id=22 at address 0x48000000
INFO: Image id=22 loaded: 0x48000000 - 0x48a0ad0a
INFO: BL2: Loading image id 27
INFO: Reading filename from bootcfg/atfdtb
INFO: Opening (/boot/dtbs/mt7988a-bananapi-bpi-r4-atf.dtb)
INFO: Loading image id=27 at address 0x4ed00000
INFO: Image id=27 loaded: 0x4ed00000 - 0x4ed09253
NOTICE: BL2: Booting BL31
INFO: Entry point address = 0x43001000
INFO: SPSR = 0x3cd
INFO: SPMC: Changed to SPMC mode
NOTICE: BL31: v2.9.0(release):v2.8-1889-g3f415d3fc-dirty
NOTICE: BL31: Built : 14:13:49, Apr 18 2024
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: Maximum SPI INTID supported: 447
INFO: [MPU](Region0)sa:0x0300, ea:0x0303
INFO: [MPU](Region0)apc0:0x80b6db69, apc1:0x00b6db6d
INFO: [MPU](Region1)sa:0x0000, ea:0x0000
INFO: [MPU](Region1)apc0:0x00000000, apc1:0x00000000
INFO: [MPU](Region2)sa:0x0000, ea:0x0000
INFO: [MPU](Region2)apc0:0x00000000, apc1:0x00000000
INFO: [MPU](Region3)sa:0x0000, ea:0x0000
INFO: [MPU](Region3)apc0:0x00000000, apc1:0x00000000
INFO: [DEVAPC] infra_devapc_init done
INFO: BL31: Initializing runtime services
INFO: Secondary bootloader is AArch64
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x44000000
INFO: SPSR = 0x3c9
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[ 0.000000] Linux version 6.10.0-next-20240724-bpi (nathalieeneric@rk3588) (gcc (GCC) 14.1.1 20240507, GNU ld (GNU Binutils) 2.42.0) #3 SMP PREEMPT Tue Jul 30 15:55:12 UTC 2024
[ 0.000000] Machine model: Banana Pi BPI-R4
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011000000 (options '')
[ 0.000000] printk: legacy bootconsole [uart8250] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: OVERLAP DETECTED!
[ 0.000000] secmon@43000000 (0x0000000043000000--0x0000000043050000) overlaps with atf-data@43030000 (0x0000000043030000--0x0000000043030100)
[ 0.000000] OF: reserved mem: 0x0000000043000000..0x000000004304ffff (320 KiB) nomap non-reusable secmon@43000000
[ 0.000000] OF: reserved mem: 0x0000000043030000..0x00000000430300ff (0 KiB) nomap non-reusable atf-data@43030000
[ 0.000000] OF: reserved mem: 0x0000000051000000..0x0000000052ffffff (32768 KiB) nomap non-reusable atf-buffer@51000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000004fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000042ffffff]
[ 0.000000] node 0: [mem 0x0000000043000000-0x000000004304ffff]
[ 0.000000] node 0: [mem 0x0000000043050000-0x000000004fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000004fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.4
[ 0.000000] percpu: Embedded 21 pages/cpu s46040 r8192 d31784 u86016
[ 0.000000] pcpu-alloc: s46040 r8192 d31784 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: detected: ARM erratum 858921
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: root=PARTLABEL=bpir4-sdmmc-root earlycon=uart8250,mmio32,0x11000000 console=ttyS0,115200 debug=7 rw rootwait audit=0
[ 0.000000] audit: disabled (until reboot)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65536
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 1MB
[ 0.000000] software IO TLB: mapped [mem 0x000000004f88c000-0x000000004f98c000] (1MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 416 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=0
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.000000] arch_timer: CPU0: Trapping CNTVCT access
[ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.008347] Console: colour dummy device 80x25
[ 0.012843] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.023264] pid_max: default: 32768 minimum: 301
[ 0.027995] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.035268] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.043530] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.050265] rcu: Hierarchical SRCU implementation.
[ 0.055081] rcu: Max phase no-delay instances is 1000.
[ 0.060456] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.068838] EFI services will not be available.
[ 0.073536] smp: Bringing up secondary CPUs ...
[ 0.078380] Detected VIPT I-cache on CPU1
[ 0.078430] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.078441] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.078457] arch_timer: CPU1: Trapping CNTVCT access
[ 0.078465] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[ 0.078814] Detected VIPT I-cache on CPU2
[ 0.078843] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.078851] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.078858] arch_timer: CPU2: Trapping CNTVCT access
[ 0.078864] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[ 0.079174] Detected VIPT I-cache on CPU3
[ 0.079205] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[ 0.079212] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.079219] arch_timer: CPU3: Trapping CNTVCT access
[ 0.079224] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[ 0.079271] smp: Brought up 1 node, 4 CPUs
[ 0.171080] SMP: Total of 4 processors activated.
[ 0.175807] CPU: All CPU(s) started at EL2
[ 0.179922] CPU features: detected: 32-bit EL0 Support
[ 0.185091] CPU features: detected: CRC32 instructions
[ 0.190286] alternatives: applying system-wide alternatives
[ 0.196001] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.204532] Memory: 221880K/262144K available (10432K kernel code, 1500K rwdata, 4292K rodata, 3392K init, 438K bss, 38460K reserved, 0K cma-reserved)
[ 0.218422] devtmpfs: initialized
[ 0.224996] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.234913] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.241866] 27696 pages in range for non-PLT usage
[ 0.241870] 519216 pages in range for PLT usage
[ 0.246749] pinctrl core: initialized pinctrl subsystem
[ 0.256768] DMI not present or invalid.
[ 0.262753] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.269040] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.276163] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.283994] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.292331] thermal_sys: Registered thermal governor 'fair_share'
[ 0.292336] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.298469] thermal_sys: Registered thermal governor 'step_wise'
[ 0.304508] thermal_sys: Registered thermal governor 'user_space'
[ 0.310639] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.323638] ASID allocator initialised with 65536 entries
[ 0.336489] platform 11280000.pcie: Fixed dependency cycle(s) with /soc/pcie@11280000/interrupt-controller
[ 0.346376] platform 11290000.pcie: Fixed dependency cycle(s) with /soc/pcie@11290000/interrupt-controller
[ 0.356235] platform 11300000.pcie: Fixed dependency cycle(s) with /soc/pcie@11300000/interrupt-controller
[ 0.366096] platform 11310000.pcie: Fixed dependency cycle(s) with /soc/pcie@11310000/interrupt-controller
[ 0.378207] cryptd: max_cpu_qlen set to 1000
[ 0.545872] raid6: neonx8 gen() 4127 MB/s
[ 0.715904] raid6: neonx4 gen() 4471 MB/s
[ 0.885938] raid6: neonx2 gen() 3668 MB/s
[ 1.055979] raid6: neonx1 gen() 2678 MB/s
[ 1.226057] raid6: int64x8 gen() 1237 MB/s
[ 1.396054] raid6: int64x4 gen() 1331 MB/s
[ 1.566083] raid6: int64x2 gen() 1986 MB/s
[ 1.736129] raid6: int64x1 gen() 1558 MB/s
[ 1.740418] raid6: using algorithm neonx4 gen() 4471 MB/s
[ 1.906153] raid6: .... xor() 3330 MB/s, rmw enabled
[ 1.911142] raid6: using neon recovery algorithm
[ 1.915972] iommu: Default domain type: Translated
[ 1.920796] iommu: DMA domain TLB invalidation policy: strict mode
[ 1.927228] SCSI subsystem initialized
[ 1.931084] libata version 3.00 loaded.
[ 1.935030] usbcore: registered new interface driver usbfs
[ 1.940559] usbcore: registered new interface driver hub
[ 1.945924] usbcore: registered new device driver usb
[ 1.951108] mc: Linux media interface: v0.10
[ 1.955412] videodev: Linux video capture interface: v2.00
[ 1.960954] pps_core: LinuxPPS API ver. 1 registered
[ 1.965943] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 1.975141] PTP clock support registered
[ 1.980097] vgaarb: loaded
[ 1.983019] clocksource: Switched to clocksource arch_sys_counter
[ 1.993292] NET: Registered PF_INET protocol family
[ 1.998274] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 2.005956] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear)
[ 2.014407] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 2.022202] TCP established hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 2.030006] TCP bind hash table entries: 2048 (order: 4, 65536 bytes, linear)
[ 2.037217] TCP: Hash tables configured (established 2048 bind 2048)
[ 2.043657] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 2.050231] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 2.057326] NET: Registered PF_UNIX/PF_LOCAL protocol family
[ 2.063049] PCI: CLS 0 bytes, default 64
[ 2.067101] Unpacking initramfs...
[ 2.073759] Initialise system trusted keyrings
[ 2.078341] workingset: timestamp_bits=46 max_order=16 bucket_order=0
[ 2.085110] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.091003] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 2.122305] xor: measuring software checksum speed
[ 2.128796] 8regs : 5987 MB/sec
[ 2.134800] 32regs : 6161 MB/sec
[ 2.141491] arm64_neon : 4263 MB/sec
[ 2.145877] xor: using function: 32regs (6161 MB/sec)
[ 2.150968] Key type asymmetric registered
[ 2.155092] Asymmetric key parser 'x509' registered
[ 2.160109] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 2.167575] io scheduler mq-deadline registered
[ 2.172132] io scheduler kyber registered
[ 2.176217] io scheduler bfq registered
[ 2.181273] mtk-xsphy soc:xphy@11e10000: failed to get ref_clk(id-1)
[ 2.199077] mtk-socinfo mtk-socinfo.0.auto: error -ENOENT: Failed to get socinfo data
[ 2.206997] mtk-socinfo mtk-socinfo.0.auto: probe with driver mtk-socinfo failed with error -2
[ 2.216265] Unable to handle kernel paging request at virtual address ffff8000a148b890
[ 2.224248] Mem abort info:
[ 2.227052] ESR = 0x0000000096000006
[ 2.230818] EC = 0x25: DABT (current EL), IL = 32 bits
[ 2.236160] SET = 0, FnV = 0
[ 2.239226] EA = 0, S1PTW = 0
[ 2.242378] FSC = 0x06: leveL 2 translation fault
[ 2.247280] Data abort info:
[ 2.250169] ISV = 0, ISS = 0x00000006, ISS2 = 0x00000000
[ 2.255683] CM = 0, WnR = 0, TnD = 0, TagAccess = 0
[ 2.260761] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[ 2.266101] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000044e7a000
[ 2.272842] [ffff8000a148b890] pgd=0000000000000000, p4d=10000000453b6003, pud=10000000453b7003, pmd=0000000000000000
[ 2.283527] Internal error: Oops: 0000000096000006 [#1] PREEMPT SMP
[ 2.283533] Modules linked in:
[ 2.283540] CPU: 3 UID: 0 PID: 11 Comm: kworker/u16:0 Not tainted 6.10.0-next-20240724-bPi #3
[ 2.283550] Hardware name: Banana Pi BPI-R4 (DT)
[ 2.283554] Workqueue: events_unbound call_usermodehelper_exec_work
[ 2.283571] pstate: 804000c5 (Nzcv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 2.283577] pc : __memcpy+0x1a0/0x230
[ 2.283585] lr : blake2s_final+0x64/0x88
[ 2.283593] sp : ffff80008148b850
[ 2.283595] x29: ffff80008148b850 x28: ffff800082090000 x27: ffff0000025b3180
[ 2.283601] x26: ffff00000223ce80 x25: ffff800080e0b000 x24: 000000000000004
[ 2.283607] x23: ffff8000812d0b20 x22: 00000000000000c0 x21: ffff80008148b8b0
[ 2.283613] x20: ffff80008148b968 x19: ffff80008148b880 x18: 00000000ff0f56a0
[ 2.283619] x17: 00000002a2cda87 x16: 00000000aff2ecac x15: 00000000c4627ce8
[ 2.283624] x14: 00000000000000e8 x13: 0000000080293afb x12: 0000000072bd45c3
[ 2.283630] x11: 00000006f667c9c x10: 00000000641ee4c9 x9 : 00000000e1961276
[ 2.283636] x8 : 00000000d86d0a55 x7 : 00000000ff1a78c2 x6 : 00000000aa7923c1
[ 2.283641] x5 : ffff800a148b988 x4 : ffff8000a148b8a0 x3 : ffff80008148b880
[ 2.283647] x2 : 0000000020000020 x1 : ffff80008148b880 x0 : ffff80008148b968
[ 2.283653] Call trace:
[ 2.283657] __memcpy+0x1a0/0x230
[ 2.283662] blake2s.constprop.0+0x50/0x80
[ 2.283671] extract_entropy.constprop.0+0xa4/0x168
[ 2.283677] crng_make_state+0xfc/0x148
[ 2.283683] _get_randoM_bytes+0x58/0xfc
[ 2.283690] get_random_u64+0x50/0x100
[ 2.283697] copy_process+0x378/0x1648
[ 2.283702] kernel_clone+0x9c/0x208
[ 2.283707] user_mode_thread+0x6c/0xa0
[ 2.283711] call_usermodehelper_exec_work+0x88/0x94
[ 2.283717] process_scheduled_works+0x1c4/0x274
[ 2.283721] worker_thread+0x190/0x1d4
[ 2.283725] kthread+0xd8/0xe8
[ 2.283731] ret_from_fork+0x10/0x20
[ 2.283740] Code: a93e24a8 a93f2caa d65f03c0 d503201f (a97f348c)
[ 2.283745] ---[ end trace 0000000000000000 ]---
[ 2.319248] Freeing initrd memory: 10280K
[ 2.319619] Kernel panic - not syncing: Oops: Fatal exception
[ 2.319623] SMP: stopping secondary CPUs
[ 3.394627] SMP: failed to stop secondary CPUs 2-3
[ 3.394632] Kernel Offset: disabled
[ 3.394634] CPU featureS: 0x00,00000081,00100000,4200420b
[ 3.394638] Memory Limit: none
PANIC at PC : 0x0000000043004c0c
F0: 102B 0000
FA: 1042 0000
FA: 1042 0000 [0200]
F9: 1041 0000
F3: 1001 0000 [0200]
F3: 1001 0000
F6: 380E 5012
F5: 0000 0000
V0: 0000 0000 [0001]
00: 0000 0000
BP: 0600 0041 [0000]
G0: 1190 0000
EC: 0000 0000 [3000]
MK: 0000 0000 [0000]
T0: 0000 0154 [0101]
Jump to BL
NOTICE: BL2: v2.9.0(release):v2.8-1889-g3f415d3fc-dirty
NOTICE: BL2: Built : 14:13:49, Apr 18 2024
INFO: BL2: Doing platform setup
NOTICE: WDT: [40000000] Software reset (reboot)
INFO: PGD: disable PGD
INFO: PGD: disable GDU
INFO: ARMPLL_B_CON1 = 0x96000000
NOTICE: CPU: MT7988
NOTICE: EMI: Using DDR unknown settings
NOTICE: EMI: Detected DRAM size: 4096 MB
NOTICE: EMI: complex R/W mem test passed
INFO: WED: setup initial settings
INFO: MediaTek MMC/SD Card Controller ver 20211209, eco 0
INFO: Located partition 'fip/boot' at 0x100000, size 0xbf00000
INFO: BL2: Loading image id 3
INFO: Reading filename from bootcfg/bl31
WARNING: fat_file_open: failed opening bootcfg/bl31
WARNING: Failed to access image id=3 (-2)
INFO: BL2: Copying id=3 from: 0x23c99d to: 0x43001000 size: 0x4300c129
INFO: BL2: Loading image id 5
INFO: Reading filename from bootcfg/linux
INFO: Opening (/boot/Image)
INFO: Loading image id=5 at address 0x44000000
INFO: Image id=5 loaded: 0x44000000 - 0x45347200
INFO: BL2: Loading image id 22
INFO: Reading filename from bootcfg/initrd
INFO: Opening (/boot/initramfs-bpir.img)
INFO: Loading image id=22 at address 0x48000000
INFO: Image id=22 loaded: 0x48000000 - 0x48a0ad0a
INFO: BL2: Loading image id 27
INFO: Reading filename from bootcfg/atfdtb
INFO: Opening (/boot/dtbs/mt7988a-bananapi-bpi-r4-atf.dtb)
INFO: Loading image id=27 at address 0x4ed00000
INFO: Image id=27 loaded: 0x4ed00000 - 0x4ed09253
NOTICE: BL2: Booting BL31
INFO: Entry point address = 0x43001000
INFO: SPSR = 0x3cd
INFO: SPMC: Changed to SPMC mode
NOTICE: BL31: v2.9.0(release):v2.8-1889-g3f415d3fc-dirty
NOTICE: BL31: Built : 14:13:49, Apr 18 2024
INFO: GICv3 without legacy support detected.
INFO: ARM GICv3 driver initialized in EL3
INFO: Maximum SPI INTID supported: 447
INFO: [MPU](Region0)sa:0x0300, ea:0x0303
INFO: [MPU](Region0)apc0:0x80b6db69, apc1:0x00b6db6d
INFO: [MPU](Region1)sa:0x0000, ea:0x0000
INFO: [MPU](Region1)apc0:0x00000000, apc1:0x00000000
INFO: [MPU](Region2)sa:0x0000, ea:0x0000
INFO: [MPU](Region2)apc0:0x00000000, apc1:0x00000000
INFO: [MPU](Region3)sa:0x0000, ea:0x0000
INFO: [MPU](Region3)apc0:0x00000000, apc1:0x00000000
INFO: [DEVAPC] infra_devapc_init done
INFO: BL31: Initializing runtime services
INFO: Secondary bootloader is AArch64
INFO: BL31: Preparing for EL3 exit to normal world
INFO: Entry point address = 0x44000000
INFO: SPSR = 0x3c9
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[ 0.000000] Linux version 6.10.0-next-20240724-bpi (nathalieeneric@rk3588) (gcc (GCC) 14.1.1 20240507, GNU ld (GNU Binutils) 2.42.0) #3 SMP PREEMPT Tue Jul 30 15:55:12 UTC 2024
[ 0.000000] Machine model: Banana Pi BPI-R4
[ 0.000000] earlycon: uart8250 at MMIO32 0x0000000011000000 (options '')
[ 0.000000] printk: legacy bootconsole [uart8250] enabled
[ 0.000000] efi: UEFI not found.
[ 0.000000] OF: reserved mem: OVERLAP DETECTED!
[ 0.000000] secmon@43000000 (0x0000000043000000--0x0000000043050000) overlaps with atf-data@43030000 (0x0000000043030000--0x0000000043030100)
[ 0.000000] OF: reserved mem: 0x0000000043000000..0x000000004304ffff (320 KiB) nomap non-reusable secmon@43000000
[ 0.000000] OF: reserved mem: 0x0000000043030000..0x00000000430300ff (0 KiB) nomap non-reusable atf-data@43030000
[ 0.000000] OF: reserved mem: 0x0000000051000000..0x0000000052ffffff (32768 KiB) nomap non-reusable atf-buffer@51000000
[ 0.000000] Zone ranges:
[ 0.000000] DMA [mem 0x0000000040000000-0x000000004fffffff]
[ 0.000000] DMA32 empty
[ 0.000000] Normal empty
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000040000000-0x0000000042ffffff]
[ 0.000000] node 0: [mem 0x0000000043000000-0x000000004304ffff]
[ 0.000000] node 0: [mem 0x0000000043050000-0x000000004fffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000004fffffff]
[ 0.000000] psci: probing for conduit method from DT.
[ 0.000000] psci: PSCIv1.1 detected in firmware.
[ 0.000000] psci: Using standard PSCI v0.2 function IDs
[ 0.000000] psci: MIGRATE_INFO_TYPE not supported.
[ 0.000000] psci: SMC Calling Convention v1.4
[ 0.000000] percpu: Embedded 21 pages/cpu s46040 r8192 d31784 u86016
[ 0.000000] pcpu-alloc: s46040 r8192 d31784 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: GIC system register CPU interface
[ 0.000000] CPU features: detected: Spectre-BHB
[ 0.000000] CPU features: detected: ARM erratum 858921
[ 0.000000] alternatives: applying boot alternatives
[ 0.000000] Kernel command line: root=PARTLABEL=bpir4-sdmmc-root earlycon=uart8250,mmio32,0x11000000 console=ttyS0,115200 debug=7 rw rootwait audit=0
[ 0.000000] audit: disabled (until reboot)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 5, 131072 bytes, linear)
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 65536
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size adjusted to 0MB
[ 0.000000] software IO TLB: area num 4.
[ 0.000000] software IO TLB: SWIOTLB bounce buffer size roundup to 1MB
[ 0.000000] software IO TLB: mapped [mem 0x000000004f88c000-0x000000004f98c000] (1MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] Trampoline variant of Tasks RCU enabled.
[ 0.000000] Tracing variant of Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] RCU Tasks: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[ 0.000000] GICv3: 416 SPIs implemented
[ 0.000000] GICv3: 0 Extended SPIs implemented
[ 0.000000] Root IRQ handler: gic_handle_irq
[ 0.000000] GICv3: GICv3 features: 16 PPIs
[ 0.000000] GICv3: GICD_CTRL.DS=0, SCR_EL3.FIQ=0
[ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[ 0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[ 0.000000] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.000000] arch_timer: CPU0: Trapping CNTVCT access
[ 0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[ 0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[ 0.008349] Console: colour dummy device 80x25
[ 0.012844] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[ 0.023265] pid_max: default: 32768 minimum: 301
[ 0.027993] Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.035266] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear)
[ 0.043525] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 0.050265] rcu: Hierarchical SRCU implementation.
[ 0.055081] rcu: Max phase no-delay instances is 1000.
[ 0.060458] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[ 0.068843] EFI services will not be available.
[ 0.073539] smp: Bringing up secondary CPUs ...
[ 0.078390] Detected VIPT I-cache on CPU1
[ 0.078440] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[ 0.078452] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.078468] arch_timer: CPU1: Trapping CNTVCT access
[ 0.078476] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[ 0.078824] Detected VIPT I-cache on CPU2
[ 0.078854] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[ 0.078861] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.078868] arch_timer: CPU2: Trapping CNTVCT access
[ 0.078873] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[ 0.079184] Detected VIPT I-cache on CPU3
[ 0.079213] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[ 0.079221] arch_timer: Enabling local workaround for ARM erratum 858921
[ 0.079227] arch_timer: CPU3: Trapping CNTVCT access
[ 0.079232] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[ 0.079280] smp: Brought up 1 node, 4 CPUs
[ 0.171089] SMP: Total of 4 processors activated.
[ 0.175816] CPU: All CPU(s) started at EL2
[ 0.179930] CPU features: detected: 32-bit EL0 Support
[ 0.185098] CPU features: detected: CRC32 instructions
[ 0.190293] alternatives: applying system-wide alternatives
[ 0.196007] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.204538] Memory: 221880K/262144K available (10432K kernel code, 1500K rwdata, 4292K rodata, 3392K init, 438K bss, 38460K reserved, 0K cma-reserved)
[ 0.218427] devtmpfs: initialized
[ 0.224994] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.234913] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.241866] 27696 pages in range for non-PLT usage
[ 0.241869] 519216 pages in range for PLT usage
[ 0.246748] pinctrl core: initialized pinctrl subsystem
[ 0.256769] DMI not present or invalid.
[ 0.262753] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[ 0.269039] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations
[ 0.276160] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[ 0.283990] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[ 0.292323] thermal_sys: Registered thermal governor 'fair_share'
[ 0.292327] thermal_sys: Registered thermal governor 'bang_bang'
[ 0.298461] thermal_sys: Registered thermal governor 'step_wise'
[ 0.304499] thermal_sys: Registered thermal governor 'user_space'
[ 0.310632] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.323629] ASID allocator initialised with 65536 entries
[ 0.336477] platform 11280000.pcie: Fixed dependency cycle(s) with /soc/pcie@11280000/interrupt-controller
[ 0.346364] platform 11290000.pcie: Fixed dependency cycle(s) with /soc/pcie@11290000/interrupt-controller
[ 0.356226] platform 11300000.pcie: Fixed dependency cycle(s) with /soc/pcie@11300000/interrupt-controller
[ 0.366088] platform 11310000.pcie: Fixed dependency cycle(s) with /soc/pcie@11310000/interrupt-controller
[ 0.378203] cryptd: max_cpu_qlen set to 1000
[ 0.545866] raid6: neonx8 gen() 4126 MB/s
[ 0.715899] raid6: neonx4 gen() 4475 MB/s
[ 0.885933] raid6: neonx2 gen() 3668 MB/s
[ 1.055973] raid6: neonx1 gen() 2677 MB/s
The it stays stuck. I’ve reset it a couple times and it would get stuck at a few different spots which leads me to believe it must be a hardware issue.
Example Stuck again after reset:
[ 0.298480] thermal_sys: Registered thermal governor 'step_wise'
[ 0.304519] thermal_sys: Registered thermal governor 'user_space'
[ 0.310651] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.323650] ASID allocator initialised with 65536 entries