eselarm Posted December 18 Posted December 18 My goal is to use Radxa Rock3a with a large 3.5inch HDD as a first step. Works fine if I use a M.2 E-key adapter which connects on the PCIe2.0 x1 lane and provides SATA via a JMB 5-port chip (only 2 connectors, support is in U-boot default Armbian build 2024.10). Worked also if I use an overlay included in early 6.1.84-vendor-rk35xx builds that maps RK3568 SATA onto the PCIe2.0 M.2 connector traces/signals, but now the whole 6.1.84-vendor-rk35xx ends in panic. I have not looked at exact changes (it is from the beta channel), but it was working with trunk.x and now installed variant is from trunk.y. I might not be able to find exact numbers for x and y, but the kernel crash rings a bell. Earlier booting the Rock3A was also random problematic, I thought some PSU issue or anything unknown related to power. I need to mention that with 6.6.64 and 6.12.5 the board works fine, I also did trials with NMVE + HDD connected and that works. So If I only use mainline, goal is actually achieved as a concept. NVME is 1400MByte/s, HDD 200MByte/s. But vendor kernel working would be nice as that offers NPU and video transcoding and no JMB chip needed, so that is why I try it. When I have only SD-card inserted, serial console connected and a RaspberryPi (Pi5) 27W PSU, selecting 6.1.84-vendor-rk35xx gives the log below. It seems to fail on NPU powering, something I have seen before, but was then random and did not appear anymore for kernel 6.6.64 or later. I have looked into Rock3A schematics, that makes make think that I need to solder a USB-C connector to a 12V or so supply. Radxa also mentions 9V/2A, not 5V. But I doubt that this will prevent this kernel panic, but I will try as powering the whole setup from only 12V car battery would be great. I will first see what the setup does when I connect a 5TB WD Elements when RaspberryPi (Pi5) 27W PSU is used, so the on-board DC/DC can't do anything. So the log below is what I can share and know right now, I am not sure if the 6.1.84-vendor-rk35xx is meant to be run on Rock3A RK3568, at least main focus is likely RK3588 boards. So to be continued later on. DDR 2d653b3476 typ 24/01/20-15:04:19,fwver: v1.21 In LP4/4x derate en, other dram:1x trefi SRX ddrconfig:0 LPDDR4X, 324MHz BW=32 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=2048MB tdqss: cs0 dqs0: 72ps, dqs1: -24ps, dqs2: -72ps, dqs3: -144ps, change to: 324MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x61 rx vref: 24.4% tx vref: 40.0% change to: 528MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 rx vref: 28.4% tx vref: 36.0% change to: 780MHz PHY drv:clk:36,ca:36,DQ:29,odt:60 vrefinner:16%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 rx vref: 15.6% tx vref: 38.0% change to: 1560MHz(final freq) PHY drv:clk:36,ca:36,DQ:29,odt:60 vrefinner:16%, vrefout:22% dram drv:40,odt:80 vref_ca:00000071 clk skew:0x21 rx vref: 15.6% tx vref: 21.8% cs 0: the read training result: DQS0:0x33, DQS1:0x34, DQS2:0x35, DQS3:0x2e, min :0x11 0x10 0x12 0xf 0x1 0x5 0x9 0x5 , 0xc 0x8 0x3 0x4 0xc 0xb 0xa 0x8 , 0x14 0x12 0xc 0xa 0x3 0x2 0x1 0x6 , 0xb 0x8 0x5 0x2 0xd 0xe 0xa 0xc , mid :0x2b 0x2a 0x2c 0x29 0x1c 0x1f 0x24 0x20 ,0x25 0x23 0x1e 0x1f 0x27 0x24 0x24 0x23 , 0x2d 0x2c 0x26 0x24 0x1e 0x1c 0x1b 0x20 ,0x25 0x21 0x1e 0x1b 0x27 0x27 0x24 0x26 , max :0x45 0x44 0x47 0x44 0x38 0x3a 0x3f 0x3b ,0x3f 0x3f 0x39 0x3a 0x42 0x3d 0x3e 0x3f , 0x47 0x46 0x40 0x3f 0x39 0x37 0x36 0x3b ,0x3f 0x3b 0x38 0x35 0x41 0x41 0x3f 0x40 , range:0x34 0x34 0x35 0x35 0x37 0x35 0x36 0x36 ,0x33 0x37 0x36 0x36 0x36 0x32 0x34 0x37 , 0x33 0x34 0x34 0x35 0x36 0x35 0x35 0x35 ,0x34 0x33 0x33 0x33 0x34 0x33 0x35 0x34 , the write training result: DQS0:0x2f, DQS1:0x1d, DQS2:0x13, DQS3:0x5, min :0x7a 0x7e 0x83 0x79 0x6c 0x70 0x74 0x74 0x72 ,0x68 0x63 0x5f 0x5d 0x66 0x67 0x65 0x65 0x62 , 0x69 0x69 0x62 0x60 0x58 0x57 0x58 0x5b 0x5d ,0x5a 0x55 0x54 0x4f 0x59 0x5b 0x57 0x5d 0x52 , mid :0x96 0x98 0x9c 0x95 0x87 0x8a 0x8f 0x8d 0x8b ,0x80 0x7d 0x78 0x75 0x7f 0x7e 0x7d 0x7d 0x7a , 0x84 0x84 0x7c 0x7a 0x72 0x71 0x72 0x76 0x77 ,0x74 0x70 0x6e 0x69 0x74 0x74 0x70 0x76 0x6d , max :0xb2 0xb3 0xb6 0xb1 0xa2 0xa4 0xab 0xa7 0xa4 ,0x99 0x98 0x91 0x8e 0x99 0x95 0x96 0x96 0x92 , 0xa0 0x9f 0x96 0x95 0x8c 0x8b 0x8c 0x91 0x92 ,0x8e 0x8b 0x89 0x84 0x8f 0x8e 0x89 0x8f 0x88 , range:0x38 0x35 0x33 0x38 0x36 0x34 0x37 0x33 0x32 ,0x31 0x35 0x32 0x31 0x33 0x2e 0x31 0x31 0x30 , 0x37 0x36 0x34 0x35 0x34 0x34 0x34 0x36 0x35 ,0x34 0x36 0x35 0x35 0x36 0x33 0x32 0x32 0x36 , CA Training result: cs:0 min :0x4c 0x4c 0x43 0x3e 0x45 0x3c 0x4c ,0x4f 0x49 0x44 0x3c 0x41 0x3b 0x4d , cs:0 mid :0x8a 0x8a 0x7f 0x7e 0x80 0x7b 0x79 ,0x8b 0x88 0x7f 0x7c 0x7c 0x7b 0x79 , cs:0 max :0xc9 0xc9 0xbb 0xbf 0xbb 0xba 0xa6 ,0xc7 0xc7 0xbb 0xbd 0xb8 0xbb 0xa5 , cs:0 range:0x7d 0x7d 0x78 0x81 0x76 0x7e 0x5a ,0x78 0x7e 0x77 0x81 0x77 0x80 0x58 , out U-Boot SPL 2024.10-armbian-2024.10-Sf919-P35d0-Hba75-Vea36-Bdacf-R448a (Dec 09 2024 - 13:26:39 +0000) Trying to boot from SPI ## Checking hash(es) for config config-1 ... OK ## Checking hash(es) for Image atf-1 ... sha256+ OK ## Checking hash(es) for Image u-boot ... sha256+ OK ## Checking hash(es) for Image fdt-1 ... sha256+ OK ## Checking hash(es) for Image atf-2 ... sha256+ OK ## Checking hash(es) for Image atf-3 ... sha256+ OK ## Checking hash(es) for Image atf-4 ... sha256+ OK ## Checking hash(es) for Image atf-5 ... sha256+ OK ## Checking hash(es) for Image atf-6 ... sha256+ OK INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-645-g8cea6ab0b:cl, fwver: v1.44 NOTICE: BL31: Built : 16:36:43, Sep 19 2023 INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: pmu v1 is valid 220114 INFO: l3 cache partition cfg-0 INFO: dfs DDR fsp_param[0].freq_mhz= 1560MHz INFO: dfs DDR fsp_param[1].freq_mhz= 324MHz INFO: dfs DDR fsp_param[2].freq_mhz= 528MHz INFO: dfs DDR fsp_param[3].freq_mhz= 780MHz INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 0 INFO: BL31: Initializing runtime services WARNING: No OPTEE provided by BL2 boot loader, Booting device without OPTEE initialization. SMC`s destined for OPTEE will return SMC_UNK ERROR: Error initializing runtime service opteed_fast INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0xa00000 INFO: SPSR = 0x3c9 U-Boot 2024.10-armbian-2024.10-Sf919-P35d0-Hba75-Vea36-Bdacf-R448a (Dec 09 2024 - 13:26:39 +0000) Model: Radxa ROCK 3A DRAM: 2 GiB PMIC: RK809 (on=0x40, off=0x00) Core: 343 devices, 31 uclasses, devicetree: separate MMC: mmc@fe000000: 2, mmc@fe2b0000: 1, mmc@fe310000: 0 Loading Environment from nowhere... OK In: serial@fe660000 Out: serial@fe660000 Err: serial@fe660000 Model: Radxa ROCK 3A Net: eth0: ethernet@fe010000 Hit any key to stop autoboot: 0 Scanning for bootflows in all bootdevs Seq Method State Uclass Part Name Filename --- ----------- ------ -------- ---- ------------------------ ---------------- Scanning global bootmeth 'efi_mgr': Card did not respond to voltage select! : -110 Card did not respond to voltage select! : -110 No EFI system partition No EFI system partition Failed to persist EFI variables No EFI system partition Failed to persist EFI variables No EFI system partition Failed to persist EFI variables 0 efi_mgr ready (none) 0 <NULL> ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 1' failed EFI boot manager: Cannot load any image Boot failed (err=-14) Scanning bootdev 'mmc@fe2b0000.bootdev': 1 extlinux ready mmc 1 mmc@fe2b0000.bootdev.part /extlinux/extlinux.conf ** Booting bootflow 'mmc@fe2b0000.bootdev.part_1' with extlinux Select the boot mode 1: edge 2: current 3: vendor Enter choice: 3 3: vendor Retrieving file: /extlinux/6.1.84-vendor-rk35xx/Image Retrieving file: /extlinux/6.1.84-vendor-rk35xx/uInitrd append: root=/dev/mmcblk1p2 rootwait rw earlyprintk console=ttyS2,1500000 Retrieving file: /extlinux/6.1.84-vendor-rk35xx/rk3568-rock-3a.dtb ## Loading init Ramdisk from Legacy Image at 12180000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 18710148 Bytes = 17.8 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 12000000 Booting using the fdt blob at 0x12000000 Working FDT set to 12000000 Loading Ramdisk to 7bcc9000, end 7cea0e84 ... OK ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0) ERROR: reserving fdt memory region failed (addr=0 size=0 flags=0) Loading Device Tree to 000000007bc9a000, end 000000007bcc834d ... OK Working FDT set to 7bc9a000 Starting kernel ... [ 16.420184] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 16.420228] Linux version 6.1.84-vendor-rk35xx (build@armbian) (aarch64-linux-gnu-gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #1 SMP Sun Dec 15 09:25:38 UTC 2024 [ 16.427542] Machine model: Radxa ROCK3 Model A [ 16.427641] efi: UEFI not found. [ 16.427912] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@0': base 0x0000000000000000, size 0 MiB [ 16.427940] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@0': base 0x0000000000000000, size 0 MiB [ 16.428081] Reserved memory: created CMA memory pool at 0x000000005bc00000, size 512 MiB [ 16.428090] OF: reserved mem: initialized node rknpu, compatible id shared-dma-pool [ 16.504567] Zone ranges: [ 16.504579] DMA [mem 0x0000000000200000-0x000000007fffffff] [ 16.504598] DMA32 empty [ 16.504605] Normal empty [ 16.504612] Movable zone start for each node [ 16.504615] Early memory node ranges [ 16.504618] node 0: [mem 0x0000000000200000-0x000000007fffffff] [ 16.504633] Initmem setup node 0 [mem 0x0000000000200000-0x000000007fffffff] [ 16.520717] On node 0, zone DMA: 512 pages in unavailable ranges [ 16.520753] cma: Reserved 16 MiB at 0x000000005ac00000 [ 16.520904] psci: probing for conduit method from DT. [ 16.520919] psci: PSCIv1.1 detected in firmware. [ 16.520927] psci: Using standard PSCI v0.2 function IDs [ 16.520936] psci: MIGRATE_INFO_TYPE not supported. [ 16.520955] psci: SMC Calling Convention v1.2 [ 16.521467] percpu: Embedded 30 pages/cpu s82728 r8192 d31960 u122880 [ 16.521679] Detected VIPT I-cache on CPU0 [ 16.521761] CPU features: detected: GIC system register CPU interface [ 16.521768] CPU features: detected: Virtualization Host Extensions [ 16.521788] CPU features: kernel page table isolation forced ON by KASLR [ 16.521796] CPU features: detected: Kernel page table isolation (KPTI) [ 16.521806] CPU features: detected: Qualcomm erratum 1009, or ARM erratum 1286807, 2441009 [ 16.521811] CPU features: detected: ARM errata 1165522, 1319367, or 1530923 [ 16.521819] alternatives: applying boot alternatives [ 16.522419] Built 1 zonelists, mobility grouping on. Total pages: 515592 [ 16.522439] Kernel command line: root=/dev/mmcblk1p2 rootwait rw earlyprintk console=ttyS2,1500000 [ 16.522796] Unknown kernel command line parameters "earlyprintk", will be passed to user space. [ 16.523504] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes, linear) [ 16.523851] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes, linear) [ 16.523865] mem auto-init: stack:off, heap alloc:off, heap free:off [ 16.557699] Memory: 1455124K/2095104K available (18688K kernel code, 3956K rwdata, 7872K rodata, 8128K init, 703K bss, 99308K reserved, 540672K cma-reserved) [ 16.557948] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 16.558016] ftrace: allocating 71456 entries in 280 pages [ 16.752227] ftrace: allocated 280 pages with 3 groups [ 16.752489] trace event string verifier disabled [ 16.752842] rcu: Hierarchical RCU implementation. [ 16.752851] rcu: RCU event tracing is enabled. [ 16.752855] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 16.752865] Rude variant of Tasks RCU enabled. [ 16.752869] Tracing variant of Tasks RCU enabled. [ 16.752874] rcu: RCU calculated value of scheduler-enlistment delay is 30 jiffies. [ 16.752880] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 16.782486] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 16.785586] GICv3: GIC: Using split EOI/Deactivate mode [ 16.785601] GICv3: 320 SPIs implemented [ 16.785611] GICv3: 0 Extended SPIs implemented [ 16.785669] Root IRQ handler: gic_handle_irq [ 16.785694] GICv3: GICv3 features: 16 PPIs [ 16.785739] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000 [ 16.786570] ITS [mem 0xfd440000-0xfd45ffff] [ 16.786678] ITS@0x00000000fd440000: allocated 8192 Devices @660000 (indirect, esz 8, psz 64K, shr 0) [ 16.786740] ITS@0x00000000fd440000: allocated 32768 Interrupt Collections @670000 (flat, esz 2, psz 64K, shr 0) [ 16.786762] ITS: using cache flushing for cmd queue [ 16.787392] GICv3: using LPI property table @0x0000000000680000 [ 16.787561] GIC: using cache flushing for LPI property table [ 16.787570] GICv3: CPU0: using allocated LPI pending table @0x0000000000690000 [ 16.787684] rcu: srcu_init: Setting srcu_struct sizes based on contention. [ 16.837185] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 16.837218] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 16.837235] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 16.839358] Console: colour dummy device 80x25 [ 16.839425] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 16.839444] pid_max: default: 32768 minimum: 301 [ 16.839592] LSM: Security Framework initializing [ 16.839746] AppArmor: AppArmor initialized [ 16.839978] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 16.840004] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 16.841606] cacheinfo: Unable to detect cache hierarchy for CPU 0 [ 16.843257] cblist_init_generic: Setting adjustable number of callback queues. [ 16.843268] cblist_init_generic: Setting shift to 2 and lim to 1. [ 16.843472] cblist_init_generic: Setting adjustable number of callback queues. [ 16.843483] cblist_init_generic: Setting shift to 2 and lim to 1. [ 16.843936] rcu: Hierarchical SRCU implementation. [ 16.843944] rcu: Max phase no-delay instances is 1000. [ 16.846116] Platform MSI: interrupt-controller@fd440000 domain created [ 16.846975] PCI/MSI: /interrupt-controller@fd400000/interrupt-controller@fd440000 domain created [ 16.847567] EFI services will not be available. [ 16.848266] smp: Bringing up secondary CPUs ... [ 16.849524] Detected VIPT I-cache on CPU1 [ 16.849670] cacheinfo: Unable to detect cache hierarchy for CPU 1 [ 16.849692] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000 [ 16.849723] GICv3: CPU1: using allocated LPI pending table @0x00000000006a0000 [ 16.849794] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 16.851272] Detected VIPT I-cache on CPU2 [ 16.851411] cacheinfo: Unable to detect cache hierarchy for CPU 2 [ 16.851433] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000 [ 16.851461] GICv3: CPU2: using allocated LPI pending table @0x00000000006b0000 [ 16.851518] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 16.852870] Detected VIPT I-cache on CPU3 [ 16.853005] cacheinfo: Unable to detect cache hierarchy for CPU 3 [ 16.853026] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000 [ 16.853054] GICv3: CPU3: using allocated LPI pending table @0x00000000006c0000 [ 16.853109] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [ 16.853294] smp: Brought up 1 node, 4 CPUs [ 16.853309] SMP: Total of 4 processors activated. [ 16.853318] CPU features: detected: 32-bit EL0 Support [ 16.853322] CPU features: detected: 32-bit EL1 Support [ 16.853330] CPU features: detected: Data cache clean to the PoU not required for I/D coherence [ 16.853336] CPU features: detected: Common not Private translations [ 16.853341] CPU features: detected: CRC32 instructions [ 16.853349] CPU features: detected: RCpc load-acquire (LDAPR) [ 16.853354] CPU features: detected: Privileged Access Never [ 16.853358] CPU features: detected: RAS Extension Support [ 16.853367] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 16.853494] CPU: All CPU(s) started at EL2 [ 16.853501] alternatives: applying system-wide alternatives [ 16.855793] devtmpfs: initialized [ 16.899955] Registered cp15_barrier emulation handler [ 16.899983] Registered setend emulation handler [ 16.900305] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 16.900343] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 16.918075] pinctrl core: initialized pinctrl subsystem [ 16.919174] DMI not present or invalid. [ 16.920184] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 16.922429] DMA: preallocated 256 KiB GFP_KERNEL pool for atomic allocations [ 16.922953] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 16.923233] DMA: preallocated 256 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations [ 16.923325] audit: initializing netlink subsys (disabled) [ 16.923677] audit: type=2000 audit(0.083:1): state=initialized audit_enabled=0 res=1 [ 16.928669] Registered FIQ tty driver [ 16.929454] thermal_sys: Registered thermal governor 'fair_share' [ 16.929465] thermal_sys: Registered thermal governor 'step_wise' [ 16.929472] thermal_sys: Registered thermal governor 'user_space' [ 16.929478] thermal_sys: Registered thermal governor 'power_allocator' [ 16.929623] cpuidle: using governor menu [ 16.930110] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 16.930389] ASID allocator initialised with 32768 entries [ 16.934821] ramoops: dmesg-0 0x20000@0x0000000000110000 [ 16.934879] ramoops: console 0x80000@0x0000000000130000 [ 16.934912] ramoops: pmsg 0x50000@0x00000000001b0000 [ 16.935641] printk: console [ramoops-1] enabled [ 16.935657] pstore: Registered ramoops as persistent store backend [ 16.935670] ramoops: using 0xf0000@0x110000, ecc: 0 [ 16.967521] platform fe040000.vop: Fixed dependency cycle(s) with /hdmi@fe0a0000 [ 16.967676] platform fe0a0000.hdmi: Fixed dependency cycle(s) with /vop@fe040000 [ 17.004543] rockchip-gpio fdd60000.gpio: probed /pinctrl/gpio@fdd60000 [ 17.005634] rockchip-gpio fe740000.gpio: probed /pinctrl/gpio@fe740000 [ 17.006614] rockchip-gpio fe750000.gpio: probed /pinctrl/gpio@fe750000 [ 17.007721] rockchip-gpio fe760000.gpio: probed /pinctrl/gpio@fe760000 [ 17.008623] rockchip-gpio fe770000.gpio: probed /pinctrl/gpio@fe770000 [ 17.008867] rockchip-pinctrl pinctrl: probed pinctrl [ 17.024375] KASLR enabled [ 17.049281] HugeTLB: registered 1.00 GiB page size, pre-allocated 0 pages [ 17.049321] HugeTLB: 0 KiB vmemmap can be freed for a 1.00 GiB page [ 17.049337] HugeTLB: registered 32.0 MiB page size, pre-allocated 0 pages [ 17.049349] HugeTLB: 0 KiB vmemmap can be freed for a 32.0 MiB page [ 17.049363] HugeTLB: registered 2.00 MiB page size, pre-allocated 0 pages [ 17.049374] HugeTLB: 0 KiB vmemmap can be freed for a 2.00 MiB page [ 17.049387] HugeTLB: registered 64.0 KiB page size, pre-allocated 0 pages [ 17.049397] HugeTLB: 0 KiB vmemmap can be freed for a 64.0 KiB page [ 17.106803] raid6: neonx8 gen() 1372 MB/s [ 17.163677] raid6: neonx4 gen() 1408 MB/s [ 17.220568] raid6: neonx2 gen() 1290 MB/s [ 17.277430] raid6: neonx1 gen() 1051 MB/s [ 17.334305] raid6: int64x8 gen() 349 MB/s [ 17.391161] raid6: int64x4 gen() 440 MB/s [ 17.448025] raid6: int64x2 gen() 910 MB/s [ 17.504857] raid6: int64x1 gen() 638 MB/s [ 17.504876] raid6: using algorithm neonx4 gen() 1408 MB/s [ 17.561712] raid6: .... xor() 1069 MB/s, rmw enabled [ 17.561731] raid6: using neon recovery algorithm [ 17.563988] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ fiq not found [ 17.564038] fiq_debugger fiq_debugger.0: error -ENXIO: IRQ wakeup not found [ 17.564066] fiq_debugger_probe: could not install nmi irq handler [ 17.564828] printk: console [ttyFIQ0] enabled [ 17.565296] Registered fiq debugger ttyFIQ0 [ 17.573621] iommu: Default domain type: Translated [ 17.573657] iommu: DMA domain TLB invalidation policy: strict mode [ 17.574305] SCSI subsystem initialized [ 17.574732] usbcore: registered new interface driver usbfs [ 17.574830] usbcore: registered new interface driver hub [ 17.574905] usbcore: registered new device driver usb [ 17.575181] mc: Linux media interface: v0.10 [ 17.575274] videodev: Linux video capture interface: v2.00 [ 17.575535] pps_core: LinuxPPS API ver. 1 registered [ 17.575558] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 17.575602] PTP clock support registered [ 17.576623] arm-scmi firmware:scmi: Enabled polling mode TX channel - prot_id:16 [ 17.576863] arm-scmi firmware:scmi: SCMI Notifications - Core Enabled. [ 17.576956] arm-scmi firmware:scmi: SCMI Protocol v2.0 'rockchip:' Firmware version 0x0 [ 17.578664] Advanced Linux Sound Architecture Driver Initialized. [ 17.579800] Bluetooth: Core ver 2.22 [ 17.579898] NET: Registered PF_BLUETOOTH protocol family [ 17.579921] Bluetooth: HCI device and connection manager initialized [ 17.579947] Bluetooth: HCI socket layer initialized [ 17.579970] Bluetooth: L2CAP socket layer initialized [ 17.580017] Bluetooth: SCO socket layer initialized [ 17.580161] NetLabel: Initializing [ 17.580183] NetLabel: domain hash size = 128 [ 17.580198] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO [ 17.580315] NetLabel: unlabeled traffic allowed by default [ 17.580985] vgaarb: loaded [ 17.586279] clocksource: Switched to clocksource arch_sys_counter [ 17.586890] VFS: Disk quotas dquot_6.6.0 [ 17.586996] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes) [ 17.587859] AppArmor: AppArmor Filesystem Enabled [ 17.605177] NET: Registered PF_INET protocol family [ 17.605504] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 17.608879] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes, linear) [ 17.608964] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 17.609100] TCP established hash table entries: 16384 (order: 5, 131072 bytes, linear) [ 17.609265] TCP bind hash table entries: 16384 (order: 7, 524288 bytes, linear) [ 17.609830] TCP: Hash tables configured (established 16384 bind 16384) [ 17.610247] MPTCP token hash table entries: 2048 (order: 3, 49152 bytes, linear) [ 17.610376] UDP hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 17.610448] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 17.610776] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 17.611685] RPC: Registered named UNIX socket transport module. [ 17.611714] RPC: Registered udp transport module. [ 17.611730] RPC: Registered tcp transport module. [ 17.611746] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 17.613385] PCI: CLS 0 bytes, default 64 [ 17.614339] Trying to unpack rootfs image as initramfs... [ 17.635363] hw perfevents: enabled with armv8_cortex_a55 PMU driver, 7 counters available [ 17.637074] kvm [1]: IPA Size Limit: 40 bits [ 17.637150] kvm [1]: GICv3: no GICV resource entry [ 17.637171] kvm [1]: disabling GICv2 emulation [ 17.637187] kvm [1]: GIC system register CPU interface enabled [ 17.644292] kvm [1]: vgic interrupt IRQ9 [ 17.653955] kvm [1]: VHE mode initialized successfully [ 18.347733] Initialise system trusted keyrings [ 18.348246] workingset: timestamp_bits=46 max_order=19 bucket_order=0 [ 18.357334] zbud: loaded [ 18.360803] NFS: Registering the id_resolver key type [ 18.360918] Key type id_resolver registered [ 18.360941] Key type id_legacy registered [ 18.361110] nfs4filelayout_init: NFSv4 File Layout Driver Registering... [ 18.361138] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering... [ 18.416171] NET: Registered PF_ALG protocol family [ 18.416314] xor: measuring software checksum speed [ 18.422675] 8regs : 1565 MB/sec [ 18.427915] 32regs : 1911 MB/sec [ 18.434090] arm64_neon : 1621 MB/sec [ 18.434140] xor: using function: 32regs (1911 MB/sec) [ 18.434189] Key type asymmetric registered [ 18.434213] Asymmetric key parser 'x509' registered [ 18.434356] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 241) [ 18.434783] io scheduler mq-deadline registered [ 18.434817] io scheduler kyber registered [ 18.458305] rockchip-snps-pcie3-phy fe8c0000.phy: failed to find rockchip,pipe_grf regmap [ 18.462652] dw-pcie 3c0000000.pcie: invalid resource [ 18.462718] dw-pcie 3c0000000.pcie: Failed to initialize host [ 18.462800] dw-pcie: probe of 3c0000000.pcie failed with error -22 [ 18.463844] dw-pcie 3c0800000.pcie: invalid resource [ 18.463880] dw-pcie 3c0800000.pcie: Failed to initialize host [ 18.463947] dw-pcie: probe of 3c0800000.pcie failed with error -22 [ 18.465758] rk-pcie 3c0000000.pcie: invalid prsnt-gpios property in node [ 18.467148] rk-pcie 3c0800000.pcie: invalid prsnt-gpios property in node [ 18.467793] iep: Module initialized. [ 18.467922] rk-pcie 3c0000000.pcie: host bridge /pcie@fe260000 ranges: [ 18.468000] rk-pcie 3c0000000.pcie: IO 0x00f4100000..0x00f41fffff -> 0x00f4100000 [ 18.468055] rk-pcie 3c0000000.pcie: MEM 0x00f4200000..0x00f5ffffff -> 0x00f4200000 [ 18.468064] mpp_service mpp-srv: 90fcfbda8ad3 author: Nyanmisaka 2024-11-25 video: rockchip: mpp: rkvdec: suppress cru reset logs [ 18.468079] mpp_service mpp-srv: probe start [ 18.468099] rk-pcie 3c0000000.pcie: MEM 0x0300000000..0x033fffffff -> 0x0300000000 [ 18.468205] rk-pcie 3c0000000.pcie: iATU unroll: enabled [ 18.468228] rk-pcie 3c0000000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 8G [ 18.477196] snps pcie3phy FW update! size 8192 [ 18.491595] rk-pcie 3c0800000.pcie: host bridge /pcie@fe280000 ranges: [ 18.491695] rk-pcie 3c0800000.pcie: IO 0x00f0100000..0x00f01fffff -> 0x00f0100000 [ 18.491741] rk-pcie 3c0800000.pcie: MEM 0x00f0200000..0x00f1ffffff -> 0x00f0200000 [ 18.491776] rk-pcie 3c0800000.pcie: MEM 0x0380000000..0x03bfffffff -> 0x0380000000 [ 18.491873] rk-pcie 3c0800000.pcie: iATU unroll: enabled [ 18.491895] rk-pcie 3c0800000.pcie: iATU regions: 8 ob, 8 ib, align 64K, limit 8G [ 18.498973] mpp_service mpp-srv: probe success [ 18.508052] dma-pl330 fe530000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 18.508123] dma-pl330 fe530000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 18.512097] dma-pl330 fe550000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 18.512164] dma-pl330 fe550000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-32 Num_Events-16 [ 18.512904] rockchip-pvtm fde00000.pvtm: failed to retrieve pvtm_tz [ 18.513048] rockchip-pvtm fde00000.pvtm: pvtm@0 probed [ 18.513301] rockchip-pvtm fde80000.pvtm: failed to retrieve pvtm_tz [ 18.513411] rockchip-pvtm fde80000.pvtm: pvtm@1 probed [ 18.513607] rockchip-pvtm fde90000.pvtm: failed to retrieve pvtm_tz [ 18.513691] rockchip-pvtm fde90000.pvtm: pvtm@2 probed [ 18.515265] rockchip-system-monitor rockchip-system-monitor: system monitor probe [ 18.517094] arm-scmi firmware:scmi: Failed. SCMI protocol 22 not active. [ 18.517579] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 18.519235] fe650000.serial: ttyS1 at MMIO 0xfe650000 (irq = 38, base_baud = 1500000) is a 16550A [ 18.523678] led_vk2c21_init [ 18.523678] ============================================= [ 18.523878] random: crng init done [ 18.534941] rockchip-pm-domain fdd90000.power-management:power-controller: failed to get ack on domain 'npu', target_idle = 0, target_ack = 0, val=0x1ee [ 18.535006] Kernel panic - not syncing: panic_on_set_idle set ... [ 18.536736] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.84-vendor-rk35xx #1 [ 18.537384] Hardware name: Radxa ROCK3 Model A (DT) [ 18.537827] Call trace: [ 18.538061] dump_backtrace+0xe4/0x108 [ 18.538417] show_stack+0x20/0x30 [ 18.538727] dump_stack_lvl+0x7c/0xa0 [ 18.539077] dump_stack+0x18/0x34 [ 18.539386] panic+0x150/0x328 [ 18.539673] rockchip_pmu_set_idle_request+0x10c/0x1cc [ 18.540152] rockchip_pd_power+0x43c/0x494 [ 18.540532] rockchip_pd_power_on+0x24/0x38 [ 18.540923] _genpd_power_on+0x11c/0x150 [ 18.541295] genpd_power_on+0x5c/0x150 [ 18.541641] __genpd_dev_pm_attach+0x19c/0x26c [ 18.542056] genpd_dev_pm_attach+0x68/0x6c [ 18.542437] dev_pm_domain_attach+0x20/0x3c [ 18.542829] platform_probe+0x58/0xc0 [ 18.543177] really_probe+0x1cc/0x390 [ 18.543522] __driver_probe_device+0x140/0x158 [ 18.543937] driver_probe_device+0x48/0xd0 [ 18.544319] __driver_attach+0xbc/0x17c [ 18.544675] bus_for_each_dev+0x78/0xc4 [ 18.545030] driver_attach+0x2c/0x38 [ 18.545363] bus_add_driver+0xf8/0x20c [ 18.545707] driver_register+0xbc/0xf8 [ 18.546053] __platform_driver_register+0x30/0x3c [ 18.546493] rk_iommu_driver_init+0x24/0x30 [ 18.546888] do_one_initcall+0x94/0x1e4 [ 18.547246] kernel_init_freeable+0x2c0/0x2c8 [ 18.547649] kernel_init+0x30/0x138 [ 18.547975] ret_from_fork+0x10/0x20 [ 18.548313] SMP: stopping secondary CPUs [ 18.548681] CPU3: stopping [ 18.548681] CPU0: stopping [ 18.548681] CPU2: stopping [ 18.548702] CPU: 3 PID: 0 Comm: swapper/3 Not tainted 6.1.84-vendor-rk35xx #1 [ 18.548716] Hardware name: Radxa ROCK3 Model A (DT) [ 18.548722] Call trace: [ 18.548726] dump_backtrace+0xe4/0x108 [ 18.548747] show_stack+0x20/0x30 [ 18.548757] dump_stack_lvl+0x7c/0xa0 [ 18.548770] dump_stack+0x18/0x34 [ 18.548782] local_cpu_stop+0x4c/0x6c [ 18.548792] ipi_handler+0x188/0x1d0 [ 18.548801] handle_percpu_devid_irq+0x70/0x128 [ 18.548816] handle_irq_desc+0x28/0x40 [ 18.548830] generic_handle_domain_irq+0x24/0x30 [ 18.548845] gic_handle_irq+0x1ac/0x228 [ 18.548854] call_on_irq_stack+0x24/0x4c [ 18.548865] do_interrupt_handler+0xa4/0xc4 [ 18.548880] el1_interrupt+0x94/0xa4 [ 18.548893] el1h_64_irq_handler+0x18/0x24 [ 18.548905] el1h_64_irq+0x74/0x78 [ 18.548914] arch_cpu_idle+0x18/0x44 [ 18.548927] default_idle_call+0x58/0x78 [ 18.548939] do_idle+0x128/0x250 [ 18.548955] cpu_startup_entry+0x3c/0x40 [ 18.548968] __cpu_disable+0x0/0xc0 [ 18.548978] __secondary_switched+0xb0/0xb4 [ 18.548996] CPU: 2 PID: 48 Comm: kworker/u8:3 Not tainted 6.1.84-vendor-rk35xx #1 [ 18.549010] Hardware name: Radxa ROCK3 Model A (DT) [ 18.549018] Workqueue: events_unbound async_run_entry_fn [ 18.549042] Call trace: [ 18.549045] dump_backtrace+0xe4/0x108 [ 18.549058] show_stack+0x20/0x30 [ 18.549068] dump_stack_lvl+0x7c/0xa0 [ 18.549080] dump_stack+0x18/0x34 [ 18.549092] local_cpu_stop+0x4c/0x6c [ 18.549101] ipi_handler+0x188/0x1d0 [ 18.549111] handle_percpu_devid_irq+0x70/0x128 [ 18.549123] handle_irq_desc+0x28/0x40 [ 18.549137] generic_handle_domain_irq+0x24/0x30 [ 18.549151] gic_handle_irq+0x1ac/0x228 [ 18.549160] call_on_irq_stack+0x24/0x4c [ 18.549171] do_interrupt_handler+0xa4/0xc4 [ 18.549185] el1_interrupt+0x94/0xa4 [ 18.549197] el1h_64_irq_handler+0x18/0x24 [ 18.549210] el1h_64_irq+0x74/0x78 [ 18.549218] inflate_fast+0xb0/0x4a8 [ 18.549235] zlib_inflate+0x7ec/0xd5c [ 18.549248] __gunzip+0x28c/0x2f4 [ 18.549260] gunzip+0x1c/0x28 [ 18.549269] unpack_to_rootfs+0x1d0/0x28c [ 18.549281] do_populate_rootfs+0x88/0x174 [ 18.549293] async_run_entry_fn+0x6c/0x138 [ 18.549307] process_one_work+0x1c0/0x274 [ 18.549320] worker_thread+0x1dc/0x274 [ 18.549331] kthread+0xd4/0xe4 [ 18.549342] ret_from_fork+0x10/0x20 [ 18.549356] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.84-vendor-rk35xx #1 [ 18.549369] Hardware name: Radxa ROCK3 Model A (DT) [ 18.549374] Call trace: [ 18.549377] dump_backtrace+0xe4/0x108 [ 18.549393] show_stack+0x20/0x30 [ 18.549403] dump_stack_lvl+0x7c/0xa0 [ 18.549416] dump_stack+0x18/0x34 [ 18.549427] local_cpu_stop+0x4c/0x6c [ 18.549436] ipi_handler+0x188/0x1d0 [ 18.549444] handle_percpu_devid_irq+0x70/0x128 [ 18.549457] handle_irq_desc+0x28/0x40 [ 18.549470] generic_handle_domain_irq+0x24/0x30 [ 18.549484] gic_handle_irq+0x1ac/0x228 [ 18.549493] call_on_irq_stack+0x24/0x4c [ 18.549505] do_interrupt_handler+0xa4/0xc4 [ 18.549518] el1_interrupt+0x94/0xa4 [ 18.549530] el1h_64_irq_handler+0x18/0x24 [ 18.549542] el1h_64_irq+0x74/0x78 [ 18.549551] arch_cpu_idle+0x18/0x44 [ 18.549563] default_idle_call+0x58/0x78 [ 18.549575] do_idle+0x128/0x250 [ 18.549590] cpu_startup_entry+0x3c/0x40 [ 18.549605] kernel_init+0x0/0x138 [ 18.549619] arch_post_acpi_subsys_init+0x0/0x28 [ 18.549631] start_kernel+0x6f4/0x734 [ 18.549641] __primary_switched+0xbc/0xc4 [ 18.549660] PMU CRU: [ 18.578640] 00000000: 00006064 00001481 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.579409] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.580179] 00000040: 00002063 00001481 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.580946] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.581713] 00000080: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.582479] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.583246] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.584013] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.584780] 00000100: 00000080 0040b71b 00000001 00000001 00000800 00000000 00000001 00000009 [ 18.585549] 00000120: 0000050f 00008888 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.586316] 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.587083] 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.587850] 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.588617] 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.589384] 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.590150] 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.590917] 00000200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.591683] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.592443] 00000240: 00040020 00000000 [ 18.592794] CRU: [ 18.592975] 00000000: 00002044 00001441 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.593742] 00000020: 00004082 00001441 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.594508] 00000040: 00002063 00001441 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.595274] 00000060: 0000107d 00001443 00000000 00000007 00007f00 00000000 00000000 00000000 [ 18.596041] 00000080: 00001032 00001441 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.596807] 000000a0: 0000307d 00001442 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.597575] 000000c0: 00004455 00000000 00000000 00000000 00640064 00000000 00000000 00000103 [ 18.598342] 000000e0: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.599110] 00000100: 00000000 00000000 00000001 00000303 00000303 00000111 00004191 00000011 [ 18.599876] 00000120: 00000053 00000100 00000001 00008000 00040004 00008000 00040004 00008000 [ 18.600644] 00000140: 00040004 00008000 00040004 00008000 00040004 00008000 00040004 00004000 [ 18.601410] 00000160: 00040004 0000000b 00040004 00000010 00005000 00001c30 00000420 00000000 [ 18.602177] 00000180: 00000520 00000004 00000310 0000c001 0000c0c0 00003100 00000001 00000000 [ 18.602943] 000001a0: 00000001 00000003 00000103 00002100 00000203 00000003 00000000 00000103 [ 18.603709] 000001c0: 00000003 00000301 00000001 00001300 0000200b 00040004 0000200b 00040004 [ 18.604476] 000001e0: 0000200b 00040004 0000200b 00040004 0000200b 00040004 0000200b 00040004 [ 18.605244] 00000200: 0000200b 00040004 0000200b 00040004 0000200b 00040004 00000303 00000203 [ 18.606011] 00000220: 00001500 00000000 0000001f 00000302 00000705 00000f0b 0000013b 00000303 [ 18.606778] 00000240: 00000f07 00002713 00001f09 00008000 00040004 00003b2f 00000101 00000302 [ 18.607545] 00000260: 00000704 0000130f 00001f27 00000000 00000000 00000000 00000000 00000000 [ 18.608312] 00000280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.609079] 000002a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.609845] 000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.610611] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.611378] 00000300: 00000000 00000000 00000000 00000000 00000000 00000000 00003333 0000c333 [ 18.612144] 00000320: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.612909] 00000340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.613675] 00000360: 00000000 00000000 00000000 0000f000 00006666 00006666 00000000 00000000 [ 18.614442] 00000380: 00000000 00000000 00004000 00002000 00000000 00000000 00000000 00000000 [ 18.615208] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.615974] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.616740] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.617506] 00000400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.618272] 00000420: 00000000 00000000 00000000 00000002 00000000 00000000 00001000 00000000 [ 18.619037] 00000440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.619804] 00000460: 00000000 00000000 00000400 00000000 000000a0 00000000 00000000 00000000 [ 18.620570] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.621337] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.622104] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.622870] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.623636] 00000500: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000 [ 18.624402] 00000520: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000 [ 18.625167] 00000540: 00040020 00000000 00040020 00000000 00000000 00000000 00000000 00000000 [ 18.625936] 00000560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 18.626696] 00000580: 00000004 00000000 [ 18.627047] CPU0 online:0 [ 18.627295] EL2(NS) PC: <0xffffc453b2225934> local_cpu_stop+0x60/0x6c [ 18.628009] [ 18.628159] CPU1 online:1 [ 18.628406] EL2(NS) PC: <0xffffc453b297b130> readl+0x0/0x20 [ 18.629040] [ 18.629190] CPU2 online:0 [ 18.629438] EL2(NS) PC: <0xffffc453b2225934> local_cpu_stop+0x60/0x6c [ 18.630147] [ 18.630285] CPU3 online:0 [ 18.630532] EL2(NS) PC: <0xffffc453b2225934> local_cpu_stop+0x60/0x6c [ 18.631241] [ 18.631397] CPU0 CPU1 CPU2 CPU3 [ 18.631970] 9: 0 0 0 0 GICv3 25 Level vgic [ 18.632701] 11: 0 0 0 0 GICv3 30 Level kvm guest ptimer [ 18.633526] 12: 0 0 0 0 GICv3 27 Level kvm guest vtimer [ 18.634350] 13: 477 363 506 514 GICv3 26 Level arch_timer [ 18.635127] 14: 0 0 0 0 GICv3 141 Level rk_timer [ 18.635892] 15: 0 0 0 0 GICv3 65 Level (null) [ 18.636644] 16: 0 0 0 0 GICv3 66 Level (null) [ 18.637397] 17: 0 0 0 0 GICv3 67 Level (null) [ 18.638148] 18: 0 0 0 0 GICv3 68 Level (null) [ 18.638900] 19: 0 0 0 0 GICv3 69 Level (null) [ 18.639653] 20: 0 0 0 0 GICv3 284 Edge debug-signal [ 18.640440] 21: 0 0 0 0 GICv3 150 Level debug [ 18.641182] 22: 0 0 0 0 GICv3 260 Level arm-pmu [ 18.641934] 23: 0 0 0 0 GICv3 261 Level arm-pmu [ 18.642686] 24: 0 0 0 0 GICv3 262 Level arm-pmu [ 18.643439] 25: 0 0 0 0 GICv3 263 Level arm-pmu [ 18.644194] 26: 0 0 0 0 GICv3 167 Level rockchip_usb2phy [ 18.645018] 27: 0 0 0 0 GICv3 168 Level rockchip_usb2phy [ 18.645842] 30: 0 0 0 0 GICv3 107 Level pcie-sys [ 18.646605] 31: 0 0 0 0 GICv3 104 Level (null) [ 18.647358] 32: 0 0 0 0 GICv3 197 Level pcie-sys [ 18.648122] 33: 0 0 0 0 GICv3 194 Level (null) [ 18.648875] 34: 0 0 0 0 GICv3 46 Level fe530000.dma-controller [ 18.649746] 35: 0 0 0 0 GICv3 45 Level fe530000.dma-controller [ 18.650625] 36: 0 0 0 0 GICv3 48 Level fe550000.dma-controller [ 18.651496] 37: 0 0 0 0 GICv3 47 Level fe550000.dma-controller [ 19.652501] CPU0 CPU1 CPU2 CPU3 [ 19.653068] 9: 0 0 0 0 GICv3 25 Level vgic [ 19.653798] 11: 0 0 0 0 GICv3 30 Level kvm guest ptimer [ 19.654620] 12: 0 0 0 0 GICv3 27 Level kvm guest vtimer [ 19.655440] 13: 477 363 506 514 GICv3 26 Level arch_timer [ 19.656215] 14: 0 0 0 0 GICv3 141 Level rk_timer [ 19.656977] 15: 0 0 0 0 GICv3 65 Level (null) [ 19.657727] 16: 0 0 0 0 GICv3 66 Level (null) [ 19.658478] 17: 0 0 0 0 GICv3 67 Level (null) [ 19.659229] 18: 0 0 0 0 GICv3 68 Level (null) [ 19.659979] 19: 0 0 0 0 GICv3 69 Level (null) [ 19.660729] 20: 0 0 0 0 GICv3 284 Edge debug-signal [ 19.661514] 21: 0 0 0 0 GICv3 150 Level debug [ 19.662253] 22: 0 0 0 0 GICv3 260 Level arm-pmu [ 19.663004] 23: 0 0 0 0 GICv3 261 Level arm-pmu [ 19.663754] 24: 0 0 0 0 GICv3 262 Level arm-pmu [ 19.664507] 25: 0 0 0 0 GICv3 263 Level arm-pmu [ 19.665258] 26: 0 0 0 0 GICv3 167 Level rockchip_usb2phy [ 19.666079] 27: 0 0 0 0 GICv3 168 Level rockchip_usb2phy [ 19.666901] 30: 0 0 0 0 GICv3 107 Level pcie-sys [ 19.667662] 31: 0 0 0 0 GICv3 104 Level (null) [ 19.668413] 32: 0 0 0 0 GICv3 197 Level pcie-sys [ 19.669176] 33: 0 0 0 0 GICv3 194 Level (null) [ 19.669926] 34: 0 0 0 0 GICv3 46 Level fe530000.dma-controller [ 19.670805] 35: 0 0 0 0 GICv3 45 Level fe530000.dma-controller [ 19.671682] 36: 0 0 0 0 GICv3 48 Level fe550000.dma-controller [ 19.672560] 37: 0 0 0 0 GICv3 47 Level fe550000.dma-controller [ 19.673425] PMU: [ 19.673601] pwr 0x00a0: 0000007d 00000000 00000003 00000000 [ 19.674162] status 0x0098: 0000007d 00000000 0000007d 00000000 [ 19.674720] req 0x0050: 00000000 00000000 00000000 00000000 [ 19.675276] idle 0x0068: 000001ee 00000000 0000ffff 0000000f [ 19.675834] ack 0x0060: 000001ee 00000000 000001ee 00000000 [ 19.676392] Kernel Offset: 0x4453aa200000 from 0xffff800008000000 [ 19.676941] PHYS_OFFSET: 0xffffdb7f40000000 [ 19.677325] CPU features: 0x60000,001400a4,6200721b [ 19.677770] Memory Limit: none [ 19.681508] ---[ end Kernel panic - not syncing: panic_on_set_idle set ... ]--- 0 Quote
Solution eselarm Posted December 20 Author Solution Posted December 20 I found the reason for the crash: the 6.1.84-vendor-rk35xx doesn't work together with the 2024.10 mainline U-boot. Earlier the SPI-flash was empty and the Rock3a booted from SD-card, a U-boot version from 2017 (Armbian_24.11.1_Rock-3a_noble_current_6.6.62-kisak.img.xz). I put that image in 'beta' mode so I got the 6.1.84-vendor-rk35xx (+ rock-3a-sata.dtbo). That all still worked. I then put the 2024.10 mainline U-boot in SPI and wiped the sector range 34-32767 from the SD-card. Then I discovered that the 6.1.84-vendor-rk35xx always crashed, independent of SATA modules etc. I now disabled the SPI and took sector range 34-32767 from the official Radxa image (rock-3a_debian_bullseye_cli_b25.img.xz) and put that on the SD-card with the Armbian Noble (latest beta channel trunk.201) and rebooted. That does not crash and works same as with 6.12.6-edge-rockchip64 that I used before the reboot to write the sector range 34-32767. Version is: latest-2023.07.02-3-b1eb2bde-gb1eb2bde (Aug 29 2023 - 10:43:04 +0000) So I guess I need to look at differences in uboot configs and likely also uboot sources. The other thing is that If I want to be able to boot from a single SATA device with the Rockchip on-chip SATA, the uboot In the SPI-needs to default to SATA for M.2 E-key connector and not the default PCIe-2x1. Or wait till I got an extra NVME to put in the M.2 M-key connector and load rock-3a-sata.dtbo after uboot together with kernel. That is preferred I think looking at possible future use-cases. 0 Quote
eselarm Posted December 21 Author Posted December 21 I marked the method of using a vendor kernel with also a vendor provided U-boot as solution, at least for my current trials with the Rock3a board. I am learning more about the Rock3a, that is what I need, a certain level of confidence in the HW/board (and Radxa), so that eventually it can be a (backup) NAS. W.r.t. potential power supply issues, the Rock3a seems to be the first SBC I got that can power my WD Elements directly from its USB3 connector without any externally powered USB3 hub. I now have soldered a 12V wire pair to a USB-C connector (Aliexpress modules targeted for DIY) and connected the other end to a 12V old car battery. So now the on-board DC/DC chip does its work (fixed 5V out, max 8A). 0 Quote
eselarm Posted December 23 Author Posted December 23 Kernel 6.1.84-vendor-rk35xx shows I/O failures related to fstrim: [Dec23 01:15] mmc1: Card stuck being busy! __mmc_poll_for_busy [ +0.000058] I/O error, dev mmcblk1, sector 2030536 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.000354] mmc_erase: group start error -110, status 0x800 [ +0.500034] dwmmc_rockchip fe2b0000.mmc: Busy; trying anyway [ +0.500079] mmc_host mmc1: Timeout sending command (cmd 0x202000 arg 0x0 status 0x80202000) [ +0.014028] mmc_host mmc1: Bus speed (slot 0) = 375000Hz (slot req 400000Hz, actual 375000HZ div = 0) [ +1.341988] mmc1: card never left busy state [ +0.000084] mmc1: tried to HW reset card, got error -110 [ +0.000017] I/O error, dev mmcblk1, sector 3153376 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.001334] mmc_erase: group start error -110, status 0xff8000 [ +0.000044] I/O error, dev mmcblk1, sector 4546304 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.001342] mmc_erase: group start error -110, status 0xff8000 [ +0.000043] I/O error, dev mmcblk1, sector 6361032 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.001087] mmc_erase: group start error -110, status 0xff8000 [ +0.000015] I/O error, dev mmcblk1, sector 7495296 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.001046] mmc_erase: group start error -110, status 0xff8000 [ +0.000043] I/O error, dev mmcblk1, sector 8552448 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 2 [ +0.001234] mmc_erase: group start error -110, status 0xff8000 [ +0.000025] I/O error, dev mmcblk1, sector 9830400 op 0x3:(DISCARD) flags 0x800 phys_seg 1 prio class 2 [ +0.001102] mmc_erase: group start error -110, status 0xff8000 [ +0.000012] I/O error, dev mmcblk1, sector 11254816 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.001335] mmc_erase: group start error -110, status 0xff8000 [ +0.000049] I/O error, dev mmcblk1, sector 11698272 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.001170] mmc_erase: group start error -110, status 0xff8000 [ +0.000018] I/O error, dev mmcblk1, sector 12132840 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.000050] BTRFS warning (device mmcblk1p2): failed to trim 10 block group(s), last error -5 [ +0.000936] mmc_erase: group start error -110, status 0xff8000 [ +0.000035] BTRFS warning (device mmcblk1p2): failed to trim 1 device(s), last error -5 [ +0.005071] mmc_erase: group start error -110, status 0xff8000 [ +24.960198] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0) [ +0.087520] dwmmc_rockchip fe2b0000.mmc: Successfully tuned phase to 257 This one was triggered by fstrim.timer, but manual invocation of fstrim same errors. The filesystem scrubs OK though. The problem does not exist with mainline kernel 6.12.6 So a reason not use vendor kernel, although I tested transcoding HEVC->H264 and that went fine with about 62FPS. Regarding the main use-case (SATA HDD attached): I have no experience with creating DT overlays, but from what I understand and see is that in this case, rock-3a-sata.dtbo from vendor kernel should work with mainline. So I changed my [bootFAT]/extlinux/extlinux.conf to use that file for booting with 6.12 and that works. So again a reason less to use vendor kernel. So running is now (still the Radxa U-Boot from SD-card, SPI disabled): Operating System: Armbian 25.2.0-trunk.203 noble Kernel: Linux 6.12.6-edge-rockchip64 Then next step is remove jumper from SPI_CLK,GND and then start the board with the mainline U-boot and see if the SATA overlay still works. 0 Quote
eselarm Posted December 23 Author Posted December 23 Just now already I see also the DISCARD relted I/O error with 6.12.6: [ 141.741985] mmc1: Card stuck being busy! __mmc_poll_for_busy [ 141.742506] I/O error, dev mmcblk1, sector 2098136 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 0 So this needs more research. Maybe it is a card problem, but this SD-card has been working well in RaspberryPi4B, but tha is totally other HW+kernel ofcourse. 0 Quote
eselarm Posted December 23 Author Posted December 23 21 minutes ago, eselarm said: Then next step is remove jumper from SPI_CLK,GND and then start the board with the mainline U-boot and see if the SATA overlay still works. This works. 0 Quote
going Posted December 24 Posted December 24 12 часов назад, eselarm сказал: [ +0.000017] I/O error, dev mmcblk1, sector 3153376 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.001334] mmc_erase: group start error -110, status 0xff8000 [ +0.000044] I/O error, dev mmcblk1, sector 4546304 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 [ +0.001342] mmc_erase: group start error -110, status 0xff8000 [ +0.000043] I/O error, dev mmcblk1, sector 6361032 op 0x3:(DISCARD) flags 0x0 phys_seg 1 prio class 2 You can fix this using fsck. The errors will go away for a while. But with active I/O, they will return. This indicates that the SD card is very close to the end of its life cycle. 0 Quote
eselarm Posted December 24 Author Posted December 24 35 minutes ago, going said: You can fix this using fsck. The errors will go away for a while. But with active I/O, they will return. This indicates that the SD card is very close to the end of its life cycle. Yes thanks for mentioning this. I will need to keep an eye on this as my initial bring-up of the Rock3A also resulted in block errors after 2 days. Was another SD-card (new one). But I did many reboots/trials and 3 different U-Boot versions, 3 different kernel versions, also not to forget various powering options. So cannot really conclude anything from it. Note that I use Btrfs, so already the kernel detects block corruption. Usually that says enough. See also comments inside script: /usr/sbin/fsck.btrfs If a DISCARD command fails (I/O error), it should not corrupt used blocks, unless the SD-card internal firmware makes a total mess of things or due to some wrong administration in fstrim/kernel. I bought this Rock3A for its SPI flash and SATA, so I can put Btrfs+SATA enabled U-Boot in it, then the board itself can boot from Btrfs raid1 profile (SD-card+SATA-HDD), even with SD-card totally failing. So that I could use to detect issues with SD-card (anything, even A2 queing etc if that is the case, I haven't focused on it). And keep it running. But it is easier to raid1 an SD-card partition + an NBD image file on NAS (TFTP boot), I have done that before. Then no changes in default U-Boot needed. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.