root@rock-3a:~# reboot now [ 411.443656] watchdog: watchdog0: watchdog did not stop! [ 414.089824] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000b8 [ 414.090634] Mem abort info: [ 414.090892] ESR = 0x96000004 [ 414.091175] EC = 0x25: DABT (current EL), IL = 32 bits [ 414.091654] SET = 0, FnV = 0 [ 414.091935] EA = 0, S1PTW = 0 [ 414.092221] FSC = 0x04: level 0 translation fault [ 414.092662] Data abort info: [ 414.092926] ISV = 0, ISS = 0x00000004 [ 414.093275] CM = 0, WnR = 0 [ 414.093590] user pgtable: 4k pages, 48-bit VAs, pgdp=00000001f2510000 [ 414.094178] [00000000000000b8] pgd=0000000000000000, p4d=0000000000000000 [ 414.094803] Internal error: Oops: 96000004 [#1] PREEMPT SMP [ 414.095310] Modules linked in: rfkill snd_soc_simple_card snd_soc_simple_card_utils snd_soc_rockchip_i2s_tdm snd_soc_rk817 snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer snd soundcore panfrost gpu_sched cpufreq_dt zram sunrpc ip_tables x_tables autofs4 realtek dwmac_rk stmmac_platform stmmac pcs_xpcs [ 414.097784] CPU: 0 PID: 1 Comm: systemd-shutdow Not tainted 5.16.0-rockchip64 #trunk [ 414.098483] Hardware name: Radxa Rock3A (DT) [ 414.098872] pstate: 60400009 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 414.099501] pc : drm_atomic_helper_shutdown+0x34/0x130 [ 414.099983] lr : rockchip_drm_platform_shutdown+0x18/0x28 [ 414.100481] sp : ffff800011d8bba0 [ 414.100783] x29: ffff800011d8bba0 x28: ffff0001f0150000 x27: 0000000000000000 [ 414.101435] x26: ffff0001f0890c90 x25: ffff80001146b208 x24: 0000000000000008 [ 414.102086] x23: ffff800011cd4050 x22: ffff800011d491d8 x21: ffff8000114f0558 [ 414.102739] x20: ffff0001f1f00800 x19: ffff0001f0890c18 x18: 0000000000000000 [ 414.103389] x17: 0000000000000000 x16: 0000000000000000 x15: ffffffffffffffff [ 414.104039] x14: ffff8000114f0558 x13: ffff0001f153ea1c x12: ffff0001f153e2b8 [ 414.104688] x11: 0000000000000040 x10: ffff800011a59ae0 x9 : ffff800011a59ad8 [ 414.105338] x8 : ffff0001f0400028 x7 : ffff800011d8bbb0 x6 : 0000000000000001 [ 414.105988] x5 : 0000000000000001 x4 : 0000000000000002 x3 : 0000000000000002 [ 414.106636] x2 : 0000000000000001 x1 : 00000000f98be800 x0 : 8000000000000000 [ 414.107287] Call trace: [ 414.107513] drm_atomic_helper_shutdown+0x34/0x130 [ 414.107956] rockchip_drm_platform_shutdown+0x18/0x28 [ 414.108420] platform_shutdown+0x24/0x38 [ 414.108786] device_shutdown+0x148/0x358 [ 414.109152] kernel_restart_prepare+0x38/0x48 [ 414.109557] kernel_restart+0x18/0x68 [ 414.109897] __do_sys_reboot+0x1c8/0x248 [ 414.110260] __arm64_sys_reboot+0x24/0x30 [ 414.110632] invoke_syscall+0x44/0x108 [ 414.110983] el0_svc_common.constprop.3+0x94/0xf8 [ 414.111415] do_el0_svc+0x24/0x88 [ 414.111723] el0_svc+0x20/0x50 [ 414.112014] el0t_64_sync_handler+0x90/0xb8 [ 414.112397] el0t_64_sync+0x180/0x184 [ 414.112744] Code: f9003fe0 d2800000 b9406281 f9401a80 (b940b800) [ 414.113298] ---[ end trace 98e14e803e03fd46 ]--- [ 414.113762] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 414.114463] Kernel Offset: disabled [ 414.114783] CPU features: 0x2,00000203,46600e46 [ 414.115196] Memory Limit: none [ 414.115482] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b ]--- (1 or 2 minutes pass) DDR Version V1.10 20210810 In ddrconfig:7 LPDDR4X, 324MHz BW=32 Col=10 Bk=8 CS0 Row=16 CS1 Row=16 CS=2 Die BW=16 Size=4096MB tdqss: cs0 dqs0: 24ps, dqs1: -72ps, dqs2: -48ps, dqs3: -120ps, tdqss: cs1 dqs0: 24ps, dqs1: -96ps, dqs2: -48ps, dqs3: -144ps, change to: 324MHz PHY drv:clk:36,ca:36,DQ:29,odt:60 vrefinner:16%, vrefout:41% dram drv:40,odt:0 clk skew:0x62 change to: 528MHz PHY drv:clk:36,ca:36,DQ:29,odt:60 vrefinner:16%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 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 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:0x1c cs 0: the read training result: DQS0:0x36, DQS1:0x32, DQS2:0x38, DQS3:0x33, min :0x11 0x10 0x12 0xf 0x2 0x6 0xa 0x5 , 0x9 0x8 0x2 0x0 0x9 0x7 0x9 0x6 , 0x13 0x14 0xd 0xb 0x3 0x2 0x3 0x8 , 0xb 0x8 0x8 0x2 0xd 0xe 0xb 0xd , mid :0x2b 0x2b 0x2d 0x29 0x1d 0x21 0x23 0x20 ,0x23 0x21 0x1a 0x1c 0x24 0x22 0x24 0x21 , 0x2e 0x2f 0x27 0x26 0x1f 0x1e 0x1d 0x21 ,0x26 0x24 0x22 0x1e 0x28 0x28 0x26 0x28 , max :0x46 0x46 0x48 0x44 0x38 0x3d 0x3d 0x3b ,0x3d 0x3b 0x33 0x38 0x3f 0x3d 0x3f 0x3d , 0x49 0x4a 0x41 0x42 0x3b 0x3a 0x38 0x3b ,0x42 0x40 0x3c 0x3b 0x44 0x42 0x41 0x44 , range:0x35 0x36 0x36 0x35 0x36 0x37 0x33 0x36 ,0x34 0x33 0x31 0x38 0x36 0x36 0x36 0x37 , 0x36 0x36 0x34 0x37 0x38 0x38 0x35 0x33 ,0x37 0x38 0x34 0x39 0x37 0x34 0x36 0x37 , the write training result: DQS0:0x20, DQS1:0xe, DQS2:0x13, DQS3:0x5, min :0x6e 0x72 0x74 0x72 0x63 0x66 0x69 0x6b 0x6c ,0x55 0x58 0x4f 0x53 0x5c 0x59 0x58 0x58 0x54 , 0x5e 0x5d 0x5a 0x57 0x50 0x4e 0x4d 0x54 0x56 ,0x4b 0x4b 0x48 0x47 0x4f 0x4f 0x4d 0x54 0x4d , mid :0x89 0x8c 0x8e 0x8c 0x7c 0x7e 0x81 0x81 0x82 ,0x70 0x70 0x68 0x6c 0x74 0x71 0x71 0x6f 0x6e , 0x79 0x79 0x71 0x71 0x69 0x68 0x68 0x6d 0x70 ,0x66 0x64 0x61 0x5f 0x6a 0x6a 0x66 0x6c 0x64 , max :0xa5 0xa7 0xa8 0xa6 0x95 0x96 0x9a 0x98 0x99 ,0x8c 0x88 0x82 0x85 0x8d 0x8a 0x8a 0x87 0x88 , 0x94 0x95 0x89 0x8c 0x83 0x82 0x84 0x86 0x8b ,0x82 0x7d 0x7b 0x77 0x86 0x85 0x80 0x85 0x7c , range:0x37 0x35 0x34 0x34 0x32 0x30 0x31 0x2d 0x2d ,0x37 0x30 0x33 0x32 0x31 0x31 0x32 0x2f 0x34 , 0x36 0x38 0x2f 0x35 0x33 0x34 0x37 0x32 0x35 ,0x37 0x32 0x33 0x30 0x37 0x36 0x33 0x31 0x2f , cs 1: the read training result: DQS0:0x34, DQS1:0x32, DQS2:0x38, DQS3:0x32, min : 0xf 0xf 0x12 0xd 0x1 0x4 0x9 0x6 , 0x9 0x8 0x3 0x3 0xb 0x7 0xb 0x5 , 0x15 0x14 0xf 0xc 0x5 0x2 0x5 0x9 , 0xd 0x9 0x7 0x1 0xd 0xd 0xb 0xd , mid :0x27 0x28 0x2b 0x28 0x1b 0x1f 0x21 0x1e ,0x22 0x20 0x1a 0x1d 0x24 0x21 0x24 0x20 , 0x2f 0x30 0x28 0x27 0x20 0x1d 0x1f 0x22 ,0x28 0x24 0x22 0x1d 0x28 0x27 0x26 0x29 , max :0x40 0x42 0x45 0x44 0x35 0x3b 0x3a 0x37 ,0x3b 0x39 0x32 0x37 0x3d 0x3c 0x3e 0x3c , 0x4a 0x4c 0x42 0x43 0x3b 0x39 0x39 0x3b ,0x44 0x40 0x3d 0x3a 0x44 0x42 0x42 0x45 , range:0x31 0x33 0x33 0x37 0x34 0x37 0x31 0x31 ,0x32 0x31 0x2f 0x34 0x32 0x35 0x33 0x37 , 0x35 0x38 0x33 0x37 0x36 0x37 0x34 0x32 ,0x37 0x37 0x36 0x39 0x37 0x35 0x37 0x38 , the write training result: DQS0:0x20, DQS1:0xe, DQS2:0x13, DQS3:0x5, min :0x63 0x65 0x69 0x67 0x59 0x5c 0x5e 0x5e 0x5e ,0x47 0x47 0x3f 0x44 0x4b 0x4c 0x49 0x4b 0x47 , 0x5c 0x5b 0x59 0x55 0x4e 0x4e 0x4d 0x53 0x57 ,0x48 0x46 0x45 0x43 0x4d 0x4d 0x47 0x4f 0x49 , mid :0x7e 0x80 0x82 0x80 0x71 0x75 0x77 0x75 0x76 ,0x61 0x60 0x58 0x5c 0x64 0x62 0x61 0x60 0x5f , 0x77 0x77 0x71 0x70 0x68 0x65 0x67 0x6c 0x70 ,0x61 0x5f 0x5d 0x5a 0x67 0x67 0x60 0x64 0x62 , max :0x9a 0x9c 0x9b 0x99 0x8a 0x8e 0x90 0x8c 0x8e ,0x7b 0x79 0x71 0x74 0x7e 0x79 0x7a 0x76 0x77 , 0x93 0x94 0x89 0x8c 0x82 0x7d 0x82 0x86 0x8a ,0x7b 0x78 0x75 0x72 0x82 0x82 0x79 0x7a 0x7b , range:0x37 0x37 0x32 0x32 0x31 0x32 0x32 0x2e 0x30 ,0x34 0x32 0x32 0x30 0x33 0x2d 0x31 0x2b 0x30 , 0x37 0x39 0x30 0x37 0x34 0x2f 0x35 0x33 0x33 ,0x33 0x32 0x30 0x2f 0x35 0x35 0x32 0x2b 0x32 , CA Training result: cs:0 min :0x4a 0x45 0x3e 0x35 0x40 0x35 0x40 ,0x48 0x3d 0x3a 0x31 0x3a 0x30 0x40 , cs:0 mid :0x85 0x86 0x79 0x77 0x7b 0x76 0x71 ,0x83 0x7f 0x76 0x72 0x75 0x72 0x70 , cs:0 max :0xc0 0xc8 0xb4 0xba 0xb6 0xb7 0xa2 ,0xbf 0xc2 0xb3 0xb4 0xb1 0xb4 0xa1 , cs:0 range:0x76 0x83 0x76 0x85 0x76 0x82 0x62 ,0x77 0x85 0x79 0x83 0x77 0x84 0x61 , cs:1 min :0x45 0x47 0x3b 0x3b 0x3f 0x38 0x42 ,0x47 0x45 0x3a 0x3a 0x39 0x37 0x42 , cs:1 mid :0x85 0x85 0x7a 0x78 0x7d 0x75 0x75 ,0x86 0x82 0x7a 0x76 0x78 0x74 0x74 , cs:1 max :0xc5 0xc4 0xba 0xb5 0xbc 0xb3 0xa9 ,0xc6 0xc0 0xbb 0xb2 0xb8 0xb2 0xa6 , cs:1 range:0x80 0x7d 0x7f 0x7a 0x7d 0x7b 0x67 ,0x7f 0x7b 0x81 0x78 0x7f 0x7b 0x64 , out U-Boot SPL board init U-Boot SPL 2017.09-armbian (Jan 14 2022 - 19:48:03) unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 ## Verified-boot: 0 ## Checking atf-1 0x00040000 ... sha256(5938a9cdfc...) + OK ## Checking uboot 0x00a00000 ... sha256(eb42bdfc26...) + OK ## Checking fdt 0x00b2ea70 ... sha256(ed0e2abb0d...) + OK ## Checking atf-2 0x00068000 ... sha256(0965dc8022...) + OK ## Checking atf-3 0xfdcd0000 ... sha256(be991af043...) + OK ## Checking atf-4 0xfdcc9000 ... sha256(695349eb36...) + OK ## Checking atf-5 0x00066000 ... sha256(315a4195a9...) + OK Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000) Total: 229.175 ms INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-167-g81e0b993a-dirty:xsf NOTICE: BL31: Built : 11:20:08, Sep 6 2021 INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: pmu v1 is valid 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 2017.09-armbian (Jan 14 2022 - 19:48:03 +0000) Model: Radxa ROCK 3 Model A PreSerial: 2, raw, 0xfe660000 DRAM: 4 GiB Sysmem: init Relocation Offset: ed34a000 Relocation fdt: eb9f7740 - eb9fecd0 CR: M/C/I Using default environment PCIe-0 Link Fail no mmc device at slot 1 dwmmc@fe2b0000: 1 (SD), dwmmc@fe2c0000: 2, sdhci@fe310000: 0 Bootdev(atags): mmc 1 MMC1: Legacy, 52Mhz PartType: DOS No misc partition boot mode: None FIT: No boot partition No resource partition No resource partition Failed to load DTB, ret=-19 Failed to get kernel dtb, ret=-19 I2c0 speed: 100000Hz vsel-gpios- not found! Error: -2 vdd_cpu 1025000 uV PMIC: RK8090 (on=0x40, off=0x00) vdd_logic init 900000 uV vdd_gpu init 900000 uV vdd_npu init 900000 uV of_get_regulator: Get (vccio3-supply) regulator: 0 failed, ret=-19 of_get_regulator: Get (vccio5-supply) regulator: 0 failed, ret=-19 of_get_regulator: Get (vccio7-supply) regulator: 0 failed, ret=-19 io-domain: OK Model: Radxa ROCK 3 Model A rockchip_set_serialno: could not find efuse/otp device CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A) apll 816000 KHz dpll 780000 KHz gpll 1188000 KHz cpll 1000000 KHz npll 24000 KHz vpll 24000 KHz hpll 24000 KHz ppll 200000 KHz armclk 816000 KHz aclk_bus 150000 KHz pclk_bus 50000 KHz aclk_top_high 300000 KHz aclk_top_low 200000 KHz hclk_top 150000 KHz pclk_top 50000 KHz aclk_perimid 300000 KHz hclk_perimid 150000 KHz pclk_pmu 100000 KHz No misc partition Net: No ethernet found. Hit key to stop autoboot('CTRL+C'): 0 failed to find reset-gpios property Device 0: unknown device switch to partitions #0, OK mmc1 is current device Scanning mmc 1:1... Found U-Boot script /boot/boot.scr 3185 bytes read in 13 ms (239.3 KiB/s) ## Executing script at 00c00000 Boot script loaded from mmc 1 201 bytes read in 11 ms (17.6 KiB/s) 12571188 bytes read in 1071 ms (11.2 MiB/s) 30200320 bytes read in 2538 ms (11.3 MiB/s) 43586 bytes read in 57 ms (746.1 KiB/s) ** File not found /boot/dtb/rockchip/overlay/rk35xx-fixup.scr ** Fdt Ramdisk skip relocation No misc partition ## Loading init Ramdisk from Legacy Image at 0a200000 ... Image Name: uInitrd Image Type: AArch64 Linux RAMDisk Image (gzip compressed) Data Size: 12571124 Bytes = 12 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 0x0a100000 Booting using the fdt blob at 0x0a100000 reserving fdt memory region: addr=a100000 size=70000 Using Device Tree in place at 000000000a100000, end 000000000a172fff can't found rockchip,drm-logo, use rockchip,fb-logo WARNING: could not set reg FDT_ERR_BADOFFSET. failed to reserve fb-loader-logo memory Adding bank: 0x00200000 - 0xf0000000 (size: 0xefe00000) Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000) Total: 5031.624 ms Starting kernel ... Armbian 22.02.0-trunk Bullseye ttyS2 rock-3a login: