1、SDK版本:rk356x_linux_release_v1.3.0b_20221213_split_dir 修改波特率115200 Loader: vi rkbin/tools/ddrbin_param.txt ./tools/ddrbin_tool tools/ddrbin_param.txt bin/rk35/rk3568_ddr_1560MHz_v1.13.bin UBoot:~\u-boot\configs\firefly-rk3568_defconfig CONFIG_BAUDRATE=115200 Kernel:~\kernel\arch\arm64\boot\dts\rockchip\rk3568_linux.dtsi figdebugger{} 文件系统:mkdir ubuntu_rootfs mv ubuntu-aarch64-rootfs.img ubuntu_rootfs/rk356x_ubuntu_rootfs.img 编译过程: sudo ./build.sh uboot sudo ./build.sh extboot sudo ./build.sh recovery sudo ./mkfirmware.sh sudo ./build.sh updateimg 生成的2.4G img文件 使用RKDevTool_Release_v2.84 下载更新 Upgrade Firmware ->Firmware ->Upgrade 系统可以正常启动 2、dtsi 修改部分: 【rk3568-firefly-aioj.dtsi】 &i2c0 { status = "disabled";//2023-0409 }; &i2c1 { status = "disabled";//2023-0409 }; #if 0 &spi0 { status = "okay";//2023-0409 }; &spi2 { status = "okay";//2023-0409 }; #endif &spi_wk2xxx { status = "disabled";//2023-0409 }; 【rk3568-firefly-port.dtsi】 &spi1 { status = "disabled"; max-freq = <48000000>; dev-port = <0>; pinctrl-0 = <&spi1m1_pins>; pinctrl-1 = <&spi1m1_pins_hs>; spi_wk2xxx: spi_wk2xxx@00{ status = "disabled"; compatible = "firefly,spi-wk2xxx"; reg = <0x00>; spi-max-frequency = <10000000>; power-gpio = <&pca9555 PCA_IO1_7 GPIO_ACTIVE_HIGH>; reset-gpio = <&pca9555 PCA_IO1_1 GPIO_ACTIVE_HIGH>; irq-gpio = <&gpio0 RK_PA6 IRQ_TYPE_EDGE_FALLING>; cs-gpio = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>; /* rk3399 driver support SPI_CPOL | SPI_CPHA | SPI_CS_HIGH */ //spi-cpha; /* SPI mode: CPHA=1 */ //spi-cpol; /* SPI mode: CPOL=1 */ //spi-cs-high; }; spidev1: spidev@00 { status = "okay"; compatible = "rockchip,spidev"; reg = <0x00>; spi-max-frequency = <4000000>; }; }; #if 0 &spi0 {//2023-0409 status = "disabled"; max-freq = <48000000>; dev-port = <0>; pinctrl-0 = <&spi0m0_pins>; pinctrl-1 = <&spi0m0_pins_hs>; spidev0: spidev@00 { status = "okay"; compatible = "rockchip,spidev"; reg = <0x00>; spi-max-frequency = <4000000>; }; }; &spi2 {//2023-0409 status = "disabled"; max-freq = <48000000>; dev-port = <0>; pinctrl-0 = <&spi2m1_pins>; pinctrl-1 = <&spi2m1_pins_hs>; spidev2: spidev@00 { status = "okay"; compatible = "rockchip,spidev"; reg = <0x00>; spi-max-frequency = <4000000>; }; }; #endif spi 0 spi2 多次试验中也编译过 修改完成后 执行 sudo ./build.sh extboot 编译无报错 开放spi0 spi2 编译也无报错 extboot.img使用RKDevTool_Release_v2.84 下载更新 Addr: 0x00008000 Boot 选项 更新完成后,自行启动正常,执行reboot指令也正常启动,可以在终端内查看到spidev1.0设备 按键Reset后启动失败、重新上电,启动失败 第二次在单独更新Boot选项,更新结束后自行启动失败 尝试将Loader、parameter-ubuntu-fit.txt、Uboot、Boot一起更新,更新结束后自行启动失败 Loader:0x00000000 Parameter-ubuntu-fit.txt : 0x00000000 Uboot:0x00004000 Boot:0x00008000 ---------------------------------------------------------------- 失败提示如下 ---------------------------------------------------------------- DDR Version V1.13 20220218 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: -120ps, dqs2: -96ps, dqs3: -192ps, tdqss: cs1 dqs0: -24ps, dqs1: -120ps, dqs2: -96ps, dqs3: -192ps, change to: 324MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, vrefout:41% dram drv:40,odt:0 clk skew:0x64 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 change to: 780MHz PHY drv:clk:36,ca:36,DQ:29,odt:0 vrefinner:24%, 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:0x35 cs 0: the read training result: DQS0:0x37, DQS1:0x35, DQS2:0x38, DQS3:0x33, min :0x14 0x14 0x14 0x10 0x2 0x6 0x9 0x4 , 0xc 0xc 0x2 0x2 0xe 0x8 0xb 0x5 , 0x16 0x15 0xf 0xe 0x5 0x1 0x2 0x4 ,0x12 0xd 0x8 0x2 0xf 0xd 0xc 0xe , mid :0x2f 0x2f 0x2f 0x2c 0x1e 0x21 0x24 0x1f ,0x28 0x27 0x1d 0x1c 0x29 0x24 0x26 0x21 , 0x30 0x30 0x29 0x28 0x1e 0x1a 0x1c 0x1e ,0x2b 0x26 0x23 0x1d 0x29 0x28 0x25 0x28 , max :0x4b 0x4a 0x4b 0x49 0x3a 0x3c 0x3f 0x3a ,0x44 0x43 0x39 0x37 0x44 0x40 0x42 0x3e , 0x4a 0x4b 0x43 0x42 0x37 0x33 0x36 0x38 ,0x45 0x3f 0x3f 0x38 0x44 0x44 0x3f 0x42 , range:0x37 0x36 0x37 0x39 0x38 0x36 0x36 0x36 ,0x38 0x37 0x37 0x35 0x36 0x38 0x37 0x39 , 0x34 0x36 0x34 0x34 0x32 0x32 0x34 0x34 ,0x33 0x32 0x37 0x36 0x35 0x37 0x33 0x34 , the write training result: DQS0:0x31, DQS1:0x1e, DQS2:0x22, DQS3:0xf, min :0x6d 0x70 0x70 0x6f 0x5d 0x62 0x65 0x67 0x64 ,0x52 0x50 0x48 0x4a 0x54 0x51 0x53 0x50 0x4b , 0x5f 0x5f 0x58 0x58 0x4e 0x4c 0x4f 0x53 0x53 ,0x47 0x44 0x3f 0x3d 0x4a 0x4a 0x45 0x4b 0x3f , mid :0x88 0x8a 0x8a 0x89 0x78 0x7d 0x80 0x81 0x7d ,0x6f 0x6d 0x64 0x66 0x71 0x6e 0x70 0x6d 0x68 , 0x79 0x79 0x72 0x73 0x6a 0x67 0x69 0x6d 0x6e ,0x62 0x5f 0x5a 0x58 0x65 0x65 0x61 0x66 0x59 , max :0xa3 0xa5 0xa4 0xa4 0x94 0x98 0x9b 0x9b 0x97 ,0x8c 0x8b 0x81 0x83 0x8f 0x8c 0x8d 0x8b 0x86 , 0x94 0x93 0x8d 0x8f 0x86 0x82 0x84 0x88 0x89 ,0x7e 0x7a 0x76 0x74 0x80 0x81 0x7d 0x82 0x74 , range:0x36 0x35 0x34 0x35 0x37 0x36 0x36 0x34 0x33 ,0x3a 0x3b 0x39 0x39 0x3b 0x3b 0x3a 0x3b 0x3b , 0x35 0x34 0x35 0x37 0x38 0x36 0x35 0x35 0x36 ,0x37 0x36 0x37 0x37 0x36 0x37 0x38 0x37 0x35 , cs 1: the read training result: DQS0:0x35, DQS1:0x33, DQS2:0x38, DQS3:0x31, min :0x12 0x13 0x13 0xf 0x2 0x7 0x8 0x4 , 0x9 0x9 0x1 0x1 0xb 0x5 0x8 0x4 , 0x18 0x16 0x10 0xf 0x7 0x2 0x2 0x4 ,0x10 0xe 0x7 0x1 0xe 0xd 0xc 0xe , mid :0x2c 0x2c 0x2d 0x2a 0x1d 0x20 0x23 0x1e ,0x25 0x23 0x1b 0x1b 0x26 0x21 0x23 0x1f , 0x31 0x31 0x2a 0x29 0x20 0x1c 0x1c 0x1e ,0x2a 0x26 0x21 0x1c 0x29 0x28 0x25 0x28 , max :0x46 0x46 0x47 0x46 0x38 0x39 0x3e 0x38 ,0x41 0x3e 0x36 0x36 0x41 0x3d 0x3e 0x3a , 0x4b 0x4c 0x44 0x43 0x3a 0x36 0x37 0x39 ,0x44 0x3f 0x3c 0x37 0x44 0x44 0x3f 0x42 , range:0x34 0x33 0x34 0x37 0x36 0x32 0x36 0x34 ,0x38 0x35 0x35 0x35 0x36 0x38 0x36 0x36 , 0x33 0x36 0x34 0x34 0x33 0x34 0x35 0x35 ,0x34 0x31 0x35 0x36 0x36 0x37 0x33 0x34 , the write training result: DQS0:0x31, DQS1:0x1e, DQS2:0x22, DQS3:0xf, min :0x6e 0x72 0x73 0x71 0x5f 0x63 0x67 0x68 0x65 ,0x57 0x54 0x4c 0x4c 0x58 0x55 0x56 0x54 0x4e , 0x5f 0x5f 0x5a 0x58 0x4e 0x4a 0x4d 0x53 0x50 ,0x48 0x42 0x3f 0x3d 0x49 0x49 0x44 0x4c 0x3e , mid :0x8b 0x8f 0x8f 0x8d 0x7c 0x7f 0x84 0x82 0x80 ,0x71 0x6f 0x67 0x67 0x73 0x70 0x71 0x6f 0x6a , 0x7b 0x7b 0x74 0x74 0x6b 0x67 0x69 0x6f 0x6c ,0x64 0x5f 0x5c 0x58 0x66 0x66 0x60 0x67 0x5b , max :0xa8 0xac 0xab 0xa9 0x99 0x9c 0xa1 0x9c 0x9b ,0x8c 0x8b 0x82 0x83 0x8f 0x8b 0x8d 0x8b 0x87 , 0x97 0x97 0x8f 0x91 0x88 0x84 0x86 0x8b 0x89 ,0x81 0x7c 0x79 0x74 0x83 0x84 0x7d 0x82 0x78 , range:0x3a 0x3a 0x38 0x38 0x3a 0x39 0x3a 0x34 0x36 ,0x35 0x37 0x36 0x37 0x37 0x36 0x37 0x37 0x39 , 0x38 0x38 0x35 0x39 0x3a 0x3a 0x39 0x38 0x39 ,0x39 0x3a 0x3a 0x37 0x3a 0x3b 0x39 0x36 0x3a , CA Training result: cs:0 min :0x5c 0x4f 0x4f 0x40 0x4f 0x3b 0x50 ,0x5a 0x4b 0x4e 0x3b 0x4c 0x3b 0x52 , cs:0 mid :0x93 0x94 0x86 0x85 0x85 0x81 0x7a ,0x91 0x8e 0x85 0x81 0x82 0x80 0x7b , cs:0 max :0xcb 0xda 0xbe 0xca 0xbb 0xc7 0xa5 ,0xc9 0xd1 0xbc 0xc7 0xb9 0xc6 0xa5 , cs:0 range:0x6f 0x8b 0x6f 0x8a 0x6c 0x8c 0x55 ,0x6f 0x86 0x6e 0x8c 0x6d 0x8b 0x53 , cs:1 min :0x56 0x54 0x4b 0x45 0x4c 0x40 0x4f ,0x59 0x4d 0x4d 0x42 0x4c 0x40 0x52 , cs:1 mid :0x92 0x94 0x84 0x84 0x85 0x80 0x7b ,0x94 0x8e 0x87 0x81 0x85 0x82 0x7c , cs:1 max :0xcf 0xd5 0xbe 0xc4 0xbf 0xc1 0xa8 ,0xcf 0xcf 0xc1 0xc1 0xbf 0xc4 0xa6 , cs:1 range:0x79 0x81 0x73 0x7f 0x73 0x81 0x59 ,0x76 0x82 0x74 0x7f 0x73 0x84 0x54 , out U-Boot SPL board init U-Boot SPL 2017.09(u-boot commit id: 5632bd78657087f957deb24cdd207cc70e813a99)(sdk version: rk356x_linux_release_20221015_v1.3.0b.xml)-g5632bd7865-dirty #root (Apr 07 2023 - 11:59:42) unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 Card did not respond to voltage select! mmc_init: -95, time 13 spl: mmc init failed with error: -95 Trying to boot from MMC1 SPL: A/B-slot: _a, successful: 0, tries-remain: 7 Trying fit image at 0x4000 sector ## Verified-boot: 0 ## Checking atf-1 0x00040000 ... sha256(6204b6f381...) + OK ## Checking uboot 0x00a00000 ... sha256(ecbc03f0f5...) + OK ## Checking fdt 0x00b2fae8 ... sha256(bf758d1c80...) + OK ## Checking atf-2 0xfdcc1000 ... sha256(5563d929da...) + OK ## Checking atf-3 0x0006a000 ... sha256(b04372ab0f...) + OK ## Checking atf-4 0xfdcd0000 ... sha256(b46eaa95b8...) + OK ## Checking atf-5 0xfdcce000 ... sha256(2f8839c803...) + OK ## Checking atf-6 0x00068000 ... sha256(6e9d32ba23...) + OK ## Checking optee 0x08400000 ... sha256(66bbd17352...) + OK Jumping to U-Boot(0x00a00000) via ARM Trusted Firmware(0x00040000) Total: 227.440 ms INFO: Preloader serial: 2 NOTICE: BL31: v2.3():v2.3-365-gae7c295ca:derrick.huang NOTICE: BL31: Built : 15:37:13, May 17 2022 INFO: GICv3 without legacy support detected. INFO: ARM GICv3 driver initialized in EL3 INFO: pmu v1 is valid 220114 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 INFO: BL31: Initializing BL32 I/TC: I/TC: OP-TEE version: 3.13.0-641-g4167319d3 #hisping.lin (gcc version 10.2.1 20201103 (GNU Toolchain for the A-profile Architecture 10.2-2020.11 (arm-10.16))) #8 Wed Mar 16 15:14:56 CST 2022 aarch64 I/TC: Primary CPU initializing I/TC: Primary CPU switching to normal world boot INFO: BL31: Preparing for EL3 exit to normal world INFO: Entry point address = 0xa00000 INFO: SPSR = 0x3c9 U-Boot 2017.09(u-boot commit id: 5632bd78657087f957deb24cdd207cc70e813a99)(sdk version: rk356x_linux_release_20221015_v1.3.0b.xml)-g5632bd7865-dirty #root (Apr 07 2023 - 11:59:42 -0700) Model: Firefly RK3568 Board PreSerial: 2, raw, 0xfe660000 DRAM: 4 GiB Sysmem: init Relocation Offset: ed349000 Relocation fdt: eb9f87c0 - eb9fecd8 CR: M/C/I Using default environment dwmmc@fe2b0000: 1, dwmmc@fe2c0000: 2, sdhci@fe310000: 0 Bootdev(atags): mmc 0 MMC0: HS200, 200Mhz PartType: EFI DM: v1 boot mode: None =================begin=================== 134625 bytes read in 10 ms (12.8 MiB/s) DTB(Distro): rk-kernel.dtb of_get_regulator: Get (pmuio1-supply) regulator: /i2c@fdd40000/pmic@20/regulators/LDO_REG6 failed, ret=-19 of_get_regulator: Get (pmuio2-supply) regulator: /i2c@fdd40000/pmic@20/regulators/LDO_REG6 failed, ret=-19 of_get_regulator: Get (vccio1-supply) regulator: /i2c@fdd40000/pmic@20/regulators/LDO_REG4 failed, ret=-19 of_get_regulator: Get (vccio3-supply) regulator: /i2c@fdd40000/pmic@20/regulators/LDO_REG5 failed, ret=-19 of_get_regulator: Get (vccio4-supply) regulator: /i2c@fdd40000/pmic@20/regulators/DCDC_REG5 failed, ret=-19 of_get_regulator: Get (vccio5-supply) regulator: /i2c@fdd40000/pmic@20/regulators/SWITCH_REG1 failed, ret=-19 of_get_regulator: Get (vccio6-supply) regulator: /i2c@fdd40000/pmic@20/regulators/DCDC_REG5 failed, ret=-19 of_get_regulator: Get (vccio7-supply) regulator: /i2c@fdd40000/pmic@20/regulators/SWITCH_REG1 failed, ret=-19 io-domain: OK Could not find baseparameter partition Model: AIO-3568J HDMI (Linux) No resource partition No file: logo.bmp =================begin=================== 512 bytes read in 6 ms (83 KiB/s) logo(Distro): logo.bmp =================begin=================== 127818 bytes read in 7 ms (17.4 MiB/s) logo(Distro): logo.bmp Rockchip UBOOT DRM driver version: v1.0.1 VOP have 1 active VP vp0 have layer nr:6[0 2 4 1 3 5 ], primary plane: 4 vp1 have layer nr:0[], primary plane: 0 vp2 have layer nr:0[], primary plane: 0 hdmi@fe0a0000 disconnected 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 1200000 KHz vpll 24000 KHz hpll 24000 KHz ppll 200000 KHz armclk 816000 KHz aclk_bus 150000 KHz pclk_bus 100000 KHz aclk_top_high 500000 KHz aclk_top_low 400000 KHz hclk_top 150000 KHz pclk_top 100000 KHz aclk_perimid 300000 KHz hclk_perimid 150000 KHz pclk_pmu 100000 KHz Net: eth1: ethernet@fe010000, eth0: ethernet@fe2a0000 Hit key to stop autoboot('CTRL+C'): 0 ANDROID: reboot reason: "(none)" optee api revision: 2.0 TEEC: Waring: Could not find security partition Not AVB images, AVB skip No valid android hdr Android image load failed Android boot failed, error -1. ## Booting FIT Image FIT: No fit blob FIT: No FIT image ## Booting Rockchip Format Image Could not find kernel partition, ret=-1 Card did not respond to voltage select! mmc_init: -95, time 13 switch to partitions #0, OK mmc0(part 0) is current device Scanning mmc 0:3... Found /extlinux/extlinux.conf Retrieving file: /extlinux/extlinux.conf =================begin=================== 104 bytes read in 7 ms (13.7 KiB/s) 1: rk-kernel.dtb linux-4.19.232 Retrieving file: /initrd-4.19.232 =================begin=================== 9239184 bytes read in 58 ms (151.9 MiB/s) Retrieving file: /Image-4.19.232 =================begin=================== 24678408 bytes read in 161 ms (146.2 MiB/s) Retrieving file: /rk-kernel.dtb =================begin=================== 134625 bytes read in 10 ms (12.8 MiB/s) Fdt Ramdisk skip relocation ## Flattened Device Tree blob at 0x0a100000 Booting using the fdt blob at 0x0a100000 'reserved-memory' ramoops@110000: addr=110000 size=f0000 Using Device Tree in place at 000000000a100000, end 000000000a123de0 No resource partition No file: logo_kernel.bmp =================begin=================== 512 bytes read in 6 ms (83 KiB/s) logo(Distro): logo.bmp =================begin=================== 127818 bytes read in 7 ms (17.4 MiB/s) logo(Distro): logo.bmp vp0, plane_mask:0x3f, primary-id:4, curser-id:-1 vp1, plane_mask:0x0, primary-id:0, curser-id:-1 vp2, plane_mask:0x0, primary-id:0, curser-id:-1 Adding bank: 0x00200000 - 0x08400000 (size: 0x08200000) Adding bank: 0x09400000 - 0xf0000000 (size: 0xe6c00000) Adding bank: 0x1f0000000 - 0x200000000 (size: 0x10000000) Total: 916.868 ms Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x412fd050] [ 0.000000] Linux version 4.19.232 (root@ubuntu) (firefly: de4cbd1026ad12db7a811180023b5ab6704f0dc8) (sdk version: rk356x_linux_release_20221015_v1.3.0b.xml) (gcc version 6.3.1 20170404 (Linaro GCC 6.3-2017.05), GNU ld (Linaro_Binutils-2017.05) 2.27.0.20161019) #1 SMP Fri Apr 7 12:04:55 PDT 2023 [ 0.000000] Machine model: AIO-3568J HDMI (Linux) [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000fe660000 (options '') [ 0.000000] bootconsole [uart8250] enabled [ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-cubic-lut@00000000': base 0x0000000000000000, size 0 MiB [ 0.000000] cma: Reserved 16 MiB at 0x00000000ef000000 [ 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: Trusted OS migration not required [ 0.000000] psci: SMC Calling Convention v1.2 [ 0.000000] percpu: Embedded 24 pages/cpu s60136 r8192 d29976 u98304 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: detected: Virtualization Host Extensions [ 0.000000] CPU features: detected: Speculative Store Bypassing Safe (SSBS) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 1027656 [ 0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal storagenode=/sdhci@fe310000 androidboot.verifiedbootstate=orange ro rootwait earlycon=uart8250,mmio32,0xfe660000 console=ttyFIQ0 root=PARTLABEL=rootfs rootfstype=ext4 overlayroot=device:dev=PARTLABEL=userdata,fstype=ext4,mkfs=1 coherent_pool=1m systemd.gpt_auto=0 cgroup_enable=memory swapaccount=1 swiotlb=0x10000 [ 0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) [ 0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] software IO TLB: mapped [mem 0xe5f00000-0xedf00000] (128MB) [ 0.000000] Memory: 3902592K/4175872K available (15166K kernel code, 1956K rwdata, 5328K rodata, 1600K init, 598K bss, 256896K reserved, 16384K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] ftrace: allocating 54469 entries in 213 pages [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4 [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GICv3: GIC: Using split EOI/Deactivate mode [ 0.000000] GICv3: Distributor has no Range Selector support [ 0.000000] GICv3: no VLPI support, no direct LPI support [ 0.000000] ITS [mem 0xfd440000-0xfd45ffff] [ 0.000000] ITS@0x00000000fd440000: allocated 8192 Devices @ee810000 (indirect, esz 8, psz 64K, shr 0) [ 0.000000] ITS@0x00000000fd440000: allocated 32768 Interrupt Collections @ee820000 (flat, esz 2, psz 64K, shr 0) [ 0.000000] ITS: using cache flushing for cmd queue [ 0.000000] GIC: using LPI property table @0x00000000ee830000 [ 0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fd460000 [ 0.000000] CPU0: using LPI pending table @0x00000000ee840000 [ 0.000000] GIC: using cache flushing for LPI property table [ 0.000000] random: random: get_random_bytes called from start_kernel+0x36c/0x514 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.010347] Console: colour dummy device 80x25 [ 0.015283] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=80000) [ 0.026568] pid_max: default: 32768 minimum: 301 [ 0.031790] Security Framework initialized [ 0.036310] AppArmor: AppArmor disabled by boot time parameter [ 0.042795] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.050185] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes) [ 0.060000] ASID allocator initialised with 32768 entries [ 0.066141] rcu: Hierarchical SRCU implementation. [ 0.074359] Platform MSI: interrupt-controller@fd440000 domain created [ 0.082111] PCI/MSI: /interrupt-controller@fd400000/interrupt-controller@fd440000 domain created [ 0.092647] smp: Bringing up secondary CPUs ... I/TC: Secondary CPU 1 initializing I/TC: Secondary CPU 1 switching to normal world boot I/TC: Secondary CPU 2 initializing I/TC: Secondary CPU 2 switching to normal world boot I/TC: Secondary CPU 3 initializing I/TC: Secondary CPU 3 switching to normal world boot [ 0.106237] Detected VIPT I-cache on CPU1 [ 0.106278] GICv3: CPU1: found redistributor 100 region 0:0x00000000fd480000 [ 0.106330] CPU1: using LPI pending table @0x00000000ee850000 [ 0.106389] CPU1: Booted secondary processor 0x0000000100 [0x412fd050] [ 0.115085] Detected VIPT I-cache on CPU2 [ 0.115120] GICv3: CPU2: found redistributor 200 region 0:0x00000000fd4a0000 [ 0.115174] CPU2: using LPI pending table @0x00000000ee860000 [ 0.115224] CPU2: Booted secondary processor 0x0000000200 [0x412fd050] [ 0.123871] Detected VIPT I-cache on CPU3 [ 0.123903] GICv3: CPU3: found redistributor 300 region 0:0x00000000fd4c0000 [ 0.123955] CPU3: using LPI pending table @0x00000000ee870000 [ 0.124002] CPU3: Booted secondary processor 0x0000000300 [0x412fd050] [ 0.124147] smp: Brought up 1 node, 4 CPUs [ 0.205527] SMP: Total of 4 processors activated. [ 0.210701] CPU features: detected: GIC system register CPU interface [ 0.217782] CPU features: detected: Privileged Access Never [ 0.223908] CPU features: detected: LSE atomic instructions [ 0.230033] CPU features: detected: User Access Override [ 0.235874] CPU features: detected: 32-bit EL0 Support [ 0.241523] CPU features: detected: RAS Extension Support [ 0.247648] CPU: All CPU(s) started at EL2 [ 0.252197] alternatives: patching kernel code [ 0.264144] devtmpfs: initialized [ 0.300000] Registered cp15_barrier emulation handler [ 0.305611] Registered setend emulation handler [ 0.310971] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6370867519511994 ns [ 0.321699] futex hash table entries: 1024 (order: 4, 65536 bytes) [ 0.329400] pinctrl core: initialized pinctrl subsystem [ 0.336346] NET: Registered protocol family 16 [ 0.342467] audit: initializing netlink subsys (disabled) [ 0.348694] audit: type=2000 audit(0.196:1): state=initialized audit_enabled=0 res=1 [ 0.357285] cpuidle: using governor menu [ 0.361639] Registered FIQ tty driver [ 0.366655] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.375671] DMA: preallocated 1024 KiB pool for atomic allocations [ 0.386007] persistent_ram: found existing invalid buffer, size 23953, start 23957 [ 0.395353] console [pstore-1] enabled [ 0.399484] pstore: Registered ramoops as persistent store backend [ 0.406281] ramoops: attached 0xf0000@0x110000, ecc: 0/0 [ 0.454176] rockchip-gpio fdd60000.gpio: probed gpio0 (fdd60000.gpio) [ 0.462048] rockchip-gpio fe740000.gpio: probed gpio1 (fe740000.gpio) [ 0.469888] rockchip-gpio fe750000.gpio: probed gpio2 (fe750000.gpio) [ 0.477686] rockchip-gpio fe760000.gpio: probed gpio3 (fe760000.gpio) [ 0.485503] rockchip-gpio fe770000.gpio: probed gpio4 (fe770000.gpio) [ 0.492715] rockchip-pinctrl pinctrl: probed pinctrl [ 0.517228] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages [ 0.524862] cryptd: max_cpu_qlen set to 1000 [[ 0.531596] console [ttyFIQ0] enabled 0.531596] console [ttyFIQ0] enabled [ 0.539318] bootconsole [uart8250] disabled [ 0.539318] bootconsole [uart8250] disabled [ 0.544206] Registered fiq debugger ttyFIQ0 [ 0.545319] vcc3v3_sys: supplied by dc_12v [ 0.545839] vcc5v0_sys: supplied by dc_12v [ 0.548160] vcc2v5-sys: supplied by vcc3v3_sys [ 0.548704] vcc3v3_vga: supplied by vcc3v3_sys [ 0.549183] pcie30_avdd0v9: supplied by vcc3v3_sys [ 0.549699] pcie30_avdd1v8: supplied by vcc3v3_sys [ 0.550204] vcc3v3_bu: supplied by vcc5v0_sys [ 0.565788] rockchip-pm-domain fdd90000.power-management:power-controller: failed to get ack on domain 'pd_npu', target_idle = 0, target_ack = 0, val=0x6 [ 0.565827] Kernel panic - not syncing: panic_on_set_idle set ... [ 0.565827] [ 0.606790] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.19.232 #1 [ 0.612877] Hardware name: AIO-3568J HDMI (Linux) (DT) [ 0.618011] Call trace: [ 0.620479] dump_backtrace+0x0/0x188 [ 0.624145] show_stack+0x24/0x30 [ 0.627463] dump_stack+0x8c/0xb4 [ 0.630780] panic+0x138/0x2b0 [ 0.633847] rockchip_pmu_set_idle_request+0x1b4/0x1cc [ 0.638983] rockchip_pd_power+0x294/0x2e8 [ 0.643082] rockchip_pd_power_on+0x2c/0x40 [ 0.647269] genpd_power_on.part.9+0x15c/0x1fc [ 0.651718] __genpd_dev_pm_attach+0x1a8/0x1fc [ 0.656167] genpd_dev_pm_attach+0x60/0x64 [ 0.660268] dev_pm_domain_attach+0x28/0x44 [ 0.664454] platform_drv_probe+0x40/0xa4 [ 0.668468] really_probe+0x2a8/0x3a4 [ 0.672132] driver_probe_device+0x124/0x134 [ 0.676411] device_driver_attach+0x50/0x7c [ 0.680595] __driver_attach+0x13c/0x140 [ 0.684523] bus_for_each_dev+0x8c/0xd4 [ 0.688367] driver_attach+0x30/0x3c [ 0.691947] bus_add_driver+0x1b4/0x1f8 [ 0.695790] driver_register+0xb8/0xf0 [ 0.699541] __platform_driver_register+0x58/0x64 [ 0.704245] rk_iommu_init+0x20/0x28 [ 0.707826] do_one_initcall+0xa0/0x1c0 [ 0.711672] kernel_init_freeable+0x330/0x334 [ 0.716036] kernel_init+0x18/0x108 [ 0.719531] ret_from_fork+0x10/0x18 [ 0.723114] SMP: stopping secondary CPUs [ 0.727047] PMU CRU: [ 0.729251] 00000000: 00006064 00001481 00000000 00000007 00007f00 00000000 00000000 00000000 [ 0.737776] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.746299] 00000040: 00002063 00001481 00000000 00000007 00007f00 00000000 00000000 00000000 [ 0.754833] 00000060: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.763356] 00000080: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.771879] 000000a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.780403] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.788925] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.797448] 00000100: 00000080 0040b71b 00000001 00000001 00000800 00000000 00000001 00000009 [ 0.805970] 00000120: 0000050f 00008bbb 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.814492] 00000140: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.823014] 00000160: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.831536] 00000180: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.840069] 000001a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.848590] 000001c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.857113] 000001e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.865636] 00000200: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.874158] 00000220: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.882674] 00000240: 00040020 00000000 [ 0.886514] CRU: [ 0.888364] 00000000: 00002044 00001441 00000000 00000007 00007f00 00000000 00000000 00000000 [ 0.896887] 00000020: 00004082 00001441 00000000 00000007 00007f00 00000000 00000000 00000000 [ 0.905409] 00000040: 00002063 00001441 00000000 00000007 00007f00 00000000 00000000 00000000 [ 0.913931] 00000060: 0000107d 00001443 00000000 00000007 00007f00 00000000 00000000 00000000 [ 0.922452] 00000080: 00002064 00001441 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.930975] 000000a0: 0000307d 00001442 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.939496] 000000c0: 00000455 00000000 00000000 00000000 00640064 00000000 00000000 00000103 [ 0.948028] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.956551] 00000100: 00000000 00000000 00000001 00000303 00000303 00000111 00004191 00000011 [ 0.965074] 00000120: 00000053 00000100 00000001 00008000 00040004 00008000 00040004 00008000 [ 0.973597] 00000140: 00040004 00008000 00040004 00008000 00040004 00008000 00040004 00004000 [ 0.982120] 00000160: 00040004 0000000b 00000000 00000010 00001031 00001c30 00000520 00000004 [ 0.990642] 00000180: 00000020 00000004 00000310 0000c001 0000c0c0 00003100 00000001 00000000 [ 0.999165] 000001a0: 00000001 00000003 00000103 00002100 00000203 00000003 00000000 00000103 [ 1.007687] 000001c0: 00000003 00000301 00000001 00001300 0000200b 00000000 0000200b 00000000 [ 1.016210] 000001e0: 0000200b 00000000 0000200b 00000000 0000200b 00000000 0000200b 00000000 [ 1.024732] 00000200: 0000200b 00000000 0000200b 00000000 0000200b 00000000 00000303 00000203 [ 1.033256] 00000220: 00001500 00000000 0000001f 00000302 00000705 00000f0b 0000013b 00000303 [ 1.041779] 00000240: 00000f07 00002713 00001f09 00008000 00040004 00003b2f 00000101 00000302 [ 1.050300] 00000260: 00000704 0000130f 00001f27 00000000 00000000 00000000 00000000 00000000 [ 1.058823] 00000280: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.067345] 000002a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.075876] 000002c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.084397] 000002e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.092929] 00000300: 00000000 00000000 00000000 00000000 00000000 00000000 00003333 0000c333 [ 1.101451] 00000320: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.109973] 00000340: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.118494] 00000360: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.127025] 00000380: 00000000 00000000 00004000 00000000 00000000 00000000 00000000 00000000 [ 1.135547] 000003a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.144078] 000003c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.152600] 000003e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.161122] 00000400: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.169654] 00000420: 00000000 00000000 00000002 00000002 00000002 00000000 00000000 00000000 [ 1.178177] 00000440: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.186700] 00000460: 00000000 00000000 00000400 00000000 000002a0 00000000 00000000 00000000 [ 1.195221] 00000480: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.203743] 000004a0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.212273] 000004c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.220795] 000004e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.229327] 00000500: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000 [ 1.237849] 00000520: 00040020 00000000 00040020 00000000 00040020 00000000 00040020 00000000 [ 1.246381] 00000540: 00040020 00000000 00040020 00000000 00000000 00000000 00000000 00000000 [ 1.254913] 00000560: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.263428] 00000580: 00000004 00000000 [ 1.267271] CPU0 online:0 [ 1.269904] EL2(NS) PC: <0xffffff8008095498> handle_IPI+0x23c/0x2a0 [ 1.276328] [ 1.277830] CPU1 online:0 [ 1.280461] EL2(NS) PC: <0xffffff8008095498> handle_IPI+0x23c/0x2a0 [ 1.286884] [ 1.288386] CPU2 online:0 [ 1.291016] EL2(NS) PC: <0xffffff8008095494> handle_IPI+0x238/0x2a0 [ 1.297439] [ 1.298941] CPU3 online:1 [ 1.301573] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.308799] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.316024] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.323249] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.330474] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.337700] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.344924] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.352150] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.359375] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.366602] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.373827] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.381054] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.388280] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.395505] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.402730] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.409956] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.417182] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.424408] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.431633] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.438859] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.446084] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.453312] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.460536] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.467763] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.474988] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.482214] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.489439] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.496666] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.503891] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.511118] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.518343] EL2(NS) PC: <0xffffff8008621220> rockchip_panic_notify+0x8c/0x244 [ 1.525570] EL2(NS) PC: <0xffffff800862121c> rockchip_panic_notify+0x88/0x244 [ 1.532787] [ 1.534289] PMU: [ 1.536142] 00000000: 03003566 00000e0c 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.544665] 00000020: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.553188] 00000040: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.561711] 00000060: 00000006 00000000 00000006 00000000 0000ffff 0000000f 00000000 00000000 [ 1.570234] 00000080: 00000000 00000000 00000000 00000002 00000000 00000000 00000001 00000000 [ 1.578757] 000000a0: 00000001 00000000 00000003 00000000 00000000 00000000 00000000 00000000 [ 1.587280] 000000c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.595804] 000000e0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.605708] ---[ end Kernel panic - not syncing: panic_on_set_idle set ... [ 1.605708] ]--- |
-
8.77 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1