rk3308_linux5.10_release_v1.4.0_20240422 --- 开机 log 分析
DDR V2.07 6ede97a868 wesley.yao 22/11/29-19:27:02 08 REG2C: 0x00000034, 0x00000034 In 589MHz DDR3 Col=10 Bank=3 Row=15 Size=512MB OUT: sdram_init finish. Boot1 Release Time: Aug 15 2022 10:55:28, version: 1.39 ROM VER:0x56323030, 19 chip_id:330800,0 ChipType = 0x13, 508 DPLL = 1300 MHz ...nandc_flash_init enter... No.1 FLASH ID:ff ff ff ff ff ff DPLL = 1300 MHz sfc nor id: ff ff ff DPLL = 1300 MHz sfc_nand id: ff ff ff NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz DPLL = 1300 MHz NeedKHz=18000KHz,clock=650000KHz DPLL = 1300 MHz NeedKHz=48000KHz,clock=650000KHz mmc2:cmd19,100 SdmmcInit=2 0 BootCapSize=2000 UserCapSize=7456MB FwPartOffset=2000 , 2000 NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz NeedKHz=200KHz,clock=12000KHz mmc0:cmd5,20 DPLL = 1300 MHz NeedKHz=24000KHz,clock=650000KHz DPLL = 1300 MHz NeedKHz=40000KHz,clock=650000KHz SdmmcInit=0 0 BootCapSize=0 UserCapSize=30436MB FwPartOffset=0 , 0 StorageInit ok = 201046 SecureMode = 0 Secure read PBA: 0x4 Secure read PBA: 0x404 Secure read PBA: 0x804 Secure read PBA: 0xc04 Secure read PBA: 0x1004 SecureInit ret = 0, SecureMode = 0 atags_set_bootdev: ret:(0)
// 分区情况 GPT part: 0, name: uboot, start:0x2000, size:0x1000 // size 的单位是 sector(512 bytes) GPT part: 1, name: trust, start:0x3000, size:0x1000 GPT part: 2, name: misc, start:0x4000, size:0x800 GPT part: 3, name: recovery, start:0x4800, size:0xa000 GPT part: 4, name: boot, start:0xe800, size:0x4000 GPT part: 5, name: rootfs, start:0x12800, size:0x14000 GPT part: 6, name: oem, start:0x26800, size:0x8000 GPT part: 7, name: userdata, start:0x2e800, size:0xe617df
// 从分区找到 uboot find part:uboot OK. first_lba:0x2000. find part:trust OK. first_lba:0x3000. LoadTrust Addr:0x3000 No find bl30.bin No find bl32.bin Load uboot, ReadLba = 2000 Load OK, addr=0x600000, size=0xb6810 // uboot 大小和编译出来的 u-boot.bin 一样 RunBL31 0x40000 @ 242056 us INFO: Preloader serial: 4 NOTICE: BL31: v1.3(release):0252d5c8f NOTICE: BL31: Built : 07:51:11, Sep 28 2022 INFO: Lastlog: last=0x100000, realtime=0x102000, size=0x2000 INFO: ARM GICv2 driver initialized INFO: Using opteed sec cpu_context! INFO: boot cpu mask: 1 INFO: plat_rockchip_pmu_init: pd status 0xe b 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 = 0x600000 // 执行 uboot INFO: SPSR = 0x3c9
// 以上是 ddr bin + Miniloader + TRUST 的打印消息 U-Boot 2017.09-231011 #chenjinhe (May 28 2024 - 11:48:24 +0800) Model: Rockchip RK3308 EVB // uboot 使用的设备树名 MPIDR: 0x80000000 PreSerial: 4, raw, 0xff0e0000 DRAM: 510 MiB Sysmem: init Relocation Offset: 1f7fc000 // uboot 重定位地址 Relocation fdt: 1f3f1100 - 1f3f2cf4 // CR: M/C/I Using default environment DM: v1 dwmmc@ff490000: 0 Bootdev(atags): mmc 0 MMC0: High Speed, 52Mhz PartType: EFI boot mode: None RESC: 'boot', blk@0x000110ec DTB: rk-kernel.dtb HASH(c): OK vdd_core init 1015000 uV io-domain: OK Model: Rockchip RK3308b evb analog mic v10 board // kernel 使用的设备树名 MPIDR: 0x80000000 CLK: (sync kernel. arm: enter 816000 KHz, init 816000 KHz, kernel 0N/A) apll 816000 KHz dpll 1300000 KHz vpll0 1179647 KHz vpll1 903167 KHz aclk_bus 185714 KHz hclk_bus 100000 KHz pclk_bus 100000 KHz aclk_peri 185714 KHz hclk_peri 100000 KHz pclk_peri 100000 KHz hclk_audio 98303 KHz pclk_audio 98303 KHz Net: No ethernet found. Hit key to stop autoboot('CTRL+C'): 0 ANDROID: reboot reason: "(none)" Booting LZ4 kernel at 0x02480000(Uncompress to 0x00280000) with fdt at 0x01f00000... // kernel 加载地址 和解压地址 Fdt Ramdisk skip relocation ## Booting Android Image at 0x0247f800 ... Kernel: 0x00280000 - 0x0079ca9a (5235 KiB) ## Flattened Device Tree blob at 0x01f00000 Booting using the fdt blob at 0x01f00000 Uncompressing LZ4 Kernel Image from 0x02480000 to 0x00280000 ... with 00b4f808 bytes OK // 在 uboot 解压 kernel,size 和 /kernel/arch/arm64/boot/Image 一样 kernel loaded at 0x00280000, end = 0x00dcf808 Using Device Tree in place at 0000000001f00000, end 0000000001f10d3b WARNING: could not set reg FDT_ERR_BADOFFSET. Adding bank: 0x00200000 - 0x20000000 (size: 0x1fe00000) == DO RELOCATE == Kernel from 0x00280000 to 0x00200000 Total: 527.790/837.913 ms Starting kernel ... // uboot 打印完这句就执行 kernel [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd042] [ 0.000000] Linux version 5.10.198 (chenjinhe@chenjinhe-virtual-machine) (aarch64-none-linux-gnu-gcc (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 10.3.1 20210621, GNU ld (GNU Toolchain for the A-profile Architecture 10.3-2021.07 (arm-10.29)) 2.36.1.20210621) #1 SMP PREEMPT Mon May 27 11:52:06 CST 2024 [ 0.000000] Machine model: Rockchip RK3308b evb analog mic v10 board [ 0.000000] earlycon: uart8250 at MMIO32 0x00000000ff0e0000 (options '') [ 0.000000] printk: bootconsole [uart8250] enabled [ 0.000000] OF: fdt: Reserved memory: failed to reserve memory for node 'drm-logo@00000000': base 0x0000000000000000, size 0 MiB [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x0000000000200000-0x000000001fffffff] [ 0.000000] DMA32 empty [ 0.000000] Normal empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000200000-0x000000001fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x000000001fffffff] [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 21 pages/cpu s49048 r8192 d28776 u86016 [ 0.000000] Detected VIPT I-cache on CPU0 [ 0.000000] CPU features: kernel page table isolation disabled by kernel configuration [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 128520 [ 0.000000] Kernel command line: storagemedia=emmc androidboot.storagemedia=emmc androidboot.mode=normal androidboot.serialno=c3d9b8674f4b94f6 rootwait earlycon=uart8250,mmio32,0xff0e0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=squashfs snd_aloop.index=7 snd_aloop.use_raw_jiffies=1 #che-05/28/2024 androidboot.fwver=uboot-31011 [ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes, linear) [ 0.000000] Inode-cache hash table entries: 32768 (order: 6, 262144 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 499388K/522240K available (6718K kernel code, 1406K rwdata, 2132K rodata, 1280K init, 481K bss, 22852K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU event tracing is enabled. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies. [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0 [ 0.000000] GIC: Using split EOI/Deactivate mode [ 0.000000] rockchip_clk_register_branches: failed to register clock dclk_vop_frac: -17 [ 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.000008] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.001998] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000) [ 0.002982] pid_max: default: 32768 minimum: 301 [ 0.003646] Mount-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.004346] Mountpoint-cache hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.007465] rcu: Hierarchical SRCU implementation. [ 0.009218] smp: Bringing up secondary CPUs ... [ 0.010634] Detected VIPT I-cache on CPU1 [ 0.010757] CPU1: Booted secondary processor 0x0000000001 [0x410fd042] [ 0.011812] Detected VIPT I-cache on CPU2 [ 0.011916] CPU2: Booted secondary processor 0x0000000002 [0x410fd042] [ 0.013004] Detected VIPT I-cache on CPU3 [ 0.013104] CPU3: Booted secondary processor 0x0000000003 [0x410fd042] [ 0.013266] smp: Brought up 1 node, 4 CPUs [ 0.016581] SMP: Total of 4 processors activated. [ 0.017073] CPU features: detected: 32-bit EL0 Support [ 0.017555] CPU features: detected: CRC32 instructions [ 0.019116] CPU: All CPU(s) started at EL2 [ 0.019534] alternatives: patching kernel code [ 0.021177] devtmpfs: initialized [ 0.043041] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.043989] futex hash table entries: 1024 (order: 4, 65536 bytes, linear) [ 0.044820] pinctrl core: initialized pinctrl subsystem [ 0.047270] NET: Registered protocol family 16 [ 0.048935] DMA: preallocated 128 KiB GFP_KERNEL pool for atomic allocations [ 0.049639] DMA: preallocated 128 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations [ 0.051195] Registered FIQ tty driver [ 0.052004] thermal_sys: Registered thermal governor 'step_wise' [ 0.052014] thermal_sys: Registered thermal governor 'user_space' [ 0.053555] cpuidle: using governor menu [ 0.054972] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers. [ 0.055758] ASID allocator initialised with 65536 entries [ 0.057579] ramoops ramoops: failed to locate DT /reserved-memory resource [ 0.058268] ramoops: probe of ramoops failed with error -22 [ 0.090652] rockchip-gpio ff220000.gpio0: probed /pinctrl/gpio0@ff220000 [ 0.092308] rockchip-gpio ff230000.gpio1: probed /pinctrl/gpio1@ff230000 [ 0.093944] rockchip-gpio ff240000.gpio2: probed /pinctrl/gpio2@ff240000 [ 0.095526] rockchip-gpio ff250000.gpio3: probed /pinctrl/gpio3@ff250000 [ 0.097121] rockchip-gpio ff260000.gpio4: probed /pinctrl/gpio4@ff260000 [ 0.097959] rockchip-pinctrl pinctrl: probed pinctrl [ 0.124894] fiq_debugger fiq_debugger.0: IRQ fiq not found [ 0.125440] fiq_debugger fiq_debugger.0: IRQ wakeup not found [ 0.125999] fiq_debugger_probe: could not install nmi irq handler [ [ 0.126716] printk: console [ttyFIQ0] enabled 0.126716] printk: console [ttyFIQ0] enabled [ 0.127529] printk: bootconsole [uart8250] disabled [ 0.127529] printk: bootconsole [uart8250] disabled [ 0.128379] Registered fiq debugger ttyFIQ0 [ 0.130672] vcc_1v8: supplied by vcc_io [ 0.131264] vcc_1v8_codec: supplied by vcc_io [ 0.134700] mc: Linux media interface: v0.10 [ 0.134794] videodev: Linux video capture interface: v2.00 [ 0.134896] pps_core: LinuxPPS API ver. 1 registered [ 0.134912] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 0.134957] PTP clock support registered [ 0.136670] Advanced Linux Sound Architecture Driver Initialized. [ 0.137537] Bluetooth: Core ver 2.22 [ 0.137622] NET: Registered protocol family 31 [ 0.137636] Bluetooth: HCI device and connection manager initialized [ 0.137661] Bluetooth: HCI socket layer initialized [ 0.137680] Bluetooth: L2CAP socket layer initialized [ 0.137735] Bluetooth: SCO socket layer initialized [ 0.138627] rockchip-cpuinfo cpuinfo: SoC : 33080001 [ 0.138658] rockchip-cpuinfo cpuinfo: Serial : 0380a04ec76c862a [ 0.139726] clocksource: Switched to clocksource arch_sys_counter [ 0.140615] rockchip-iodomain ff000000.grf:io-domains: vccio0(3300000 uV) supplied by vcc_io // 实际电压 [ 0.140776] rockchip-iodomain ff000000.grf:io-domains: vccio1(3300000 uV) supplied by vcc_io [ 0.141015] rockchip-iodomain ff000000.grf:io-domains: vccio2(1800000 uV) supplied by vcc_1v8 [ 0.141272] rockchip-iodomain ff000000.grf:io-domains: vccio3(1800000 uV) supplied by vccio_flash [ 0.141373] rockchip-iodomain ff000000.grf:io-domains: vccio4(3300000 uV) supplied by vcc_io [ 0.141474] rockchip-iodomain ff000000.grf:io-domains: vccio5(1800000 uV) supplied by vcc_1v8 [ 0.144066] NET: Registered protocol family 2 [ 0.144339] IP idents hash table entries: 8192 (order: 4, 65536 bytes, linear) [ 0.145811] tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) [ 0.145933] TCP established hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.146004] TCP bind hash table entries: 4096 (order: 4, 65536 bytes, linear) [ 0.146097] TCP: Hash tables configured (established 4096 bind 4096) [ 0.146289] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.146330] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.146571] NET: Registered protocol family 1 [ 0.150011] rockchip-thermal ff1f0000.tsadc: tsadc is probed successfully! [ 0.151743] hw perfevents: enabled with armv8_cortex_a35 PMU driver, 7 counters available [ 0.159849] Initialise system trusted keyrings [ 0.160185] workingset: timestamp_bits=62 max_order=17 bucket_order=0 [ 0.166978] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.234348] Key type asymmetric registered [ 0.234388] Asymmetric key parser 'x509' registered [ 0.234426] io scheduler mq-deadline registered [ 0.234442] io scheduler kyber registered [ 0.235106] rockchip-usb2phy ff008000.syscon:usb2phy@100: IRQ index 0 not found [ 0.243569] dma-pl330 ff2c0000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.243626] dma-pl330 ff2c0000.dma-controller: DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12 [ 0.246504] dma-pl330 ff2d0000.dma-controller: Loaded driver for PL330 DMAC-241330 [ 0.246549] dma-pl330 ff2d0000.dma-controller: DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16 [ 0.248438] vdd_core: supplied by regulator-dummy [ 0.249611] Serial: 8250/16550 driver, 5 ports, IRQ sharing disabled [ 0.250792] ff0a0000.serial: ttyS0 at MMIO 0xff0a0000 (irq = 21, base_baud = 5078125) is a 16550A [ 0.253945] random: crng init done [ 0.254904] no ATF memory for init [ 0.262786] dwc2 ff400000.usb: supply vusb_d not found, using dummy regulator [ 0.263051] dwc2 ff400000.usb: supply vusb_a not found, using dummy regulator [ 0.265516] dwc2 ff400000.usb: Configuration mismatch. dr_mode forced to device [ 0.265601] dwc2 ff400000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1 [ 0.265621] dwc2 ff400000.usb: dwc2_check_params: Invalid parameter besl=1 [ 0.265640] dwc2 ff400000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1 [ 0.265701] dwc2 ff400000.usb: EPs: 10, dedicated fifos, 972 entries in SPRAM [ 0.267814] i2c /dev entries driver [ 0.270923] Bluetooth: HCI UART driver ver 2.3 [ 0.270969] Bluetooth: HCI UART protocol H4 registered [ 0.273172] cpu cpu0: failed to register system monitor [ 0.275290] Synopsys Designware Multimedia Card Interface Driver [ 0.276154] dwmmc_rockchip ff490000.mmc: IDMAC supports 32-bit address mode. [ 0.276241] is31fl32xx 1-003f: register write to 0x4F failed (error -6) [ 0.276254] dwmmc_rockchip ff490000.mmc: Using internal DMA controller. [ 0.276268] dwmmc_rockchip ff490000.mmc: Version ID is 270a [ 0.276366] dwmmc_rockchip ff490000.mmc: DW MMC controller at irq 36,32 bit host data width,256 deep fifo [ 0.276440] dwmmc_rockchip ff480000.mmc: No normal pinctrl state [ 0.276457] dwmmc_rockchip ff480000.mmc: No idle pinctrl state [ 0.276602] dwmmc_rockchip ff480000.mmc: IDMAC supports 32-bit address mode. [ 0.276652] dwmmc_rockchip ff480000.mmc: Using internal DMA controller. [ 0.276672] dwmmc_rockchip ff480000.mmc: Version ID is 270a [ 0.276693] mmc_host mmc0: card is non-removable. [ 0.276800] dwmmc_rockchip ff480000.mmc: DW MMC controller at irq 35,32 bit host data width,256 deep fifo [ 0.276982] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node [ 0.277252] dwmmc_rockchip ff480000.mmc: allocated mmc-pwrseq [ 0.277272] mmc_host mmc1: card is non-removable. [ 0.277630] rockchip-dmc: probe of dmc failed with error -95 [ 0.280177] rknandc_base v1.1 2017-01-11 [ 0.280602] rknandc ff4b0000.nandc: rknandc_probe clk rate = 147456000 [ 0.280690] rkflash_dev_init enter [ 0.280736] ...nandc_flash_init enter... [ 0.280769] rkflash[0] is invalid [ 0.280961] rksfc_base v1.1 2016-01-08 [ 0.281261] rksfc ff4c0000.spi: rksfc_probe clk rate = 100000000 [ 0.281326] rkflash_dev_init enter [ 0.281348] sfc nor id: ff ff ff [ 0.281359] rkflash[1] is invalid [ 0.281366] rkflash_dev_init enter [ 0.281386] sfc_nand id: ff ff ff [ 0.281396] rkflash[2] is invalid [ 0.286013] The acodec version is: b [ 0.286325] rk3308-acodec ff560000.acodec: Don't need pa-drv gpio [ 0.286342] rk3308-acodec ff560000.acodec: De-pop as much as possible [ 0.286450] rk3308-acodec ff560000.acodec: Don't need micbias-en gpio [ 0.286495] rk3308-acodec ff560000.acodec: no vmicbias regulator found [ 0.286509] rk3308-acodec ff560000.acodec: Check ext_micbias: 0 [ 0.289679] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 0.290099] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0) [ 0.292189] rk-multicodecs bluetooth-sound: card: 0 has not been locked, re-probe again [ 0.292214] rk-multicodecs bluetooth-sound: check_lock_card failed: -517 [ 0.292451] rk-multicodecs vad-acodec-sound: Failed to get ADC channel [ 0.292774] rk-multicodecs vad-acodec-sound: ASoC: Property 'rockchip,audio-routing' does not exist or its length is not even [ 0.325883] mmc_host mmc1: Bus speed (slot 0) = 300000Hz (slot req 300000Hz, actual 300000HZ div = 0) [ 0.336062] mmc_host mmc0: Bus speed (slot 0) = 50176000Hz (slot req 52000000Hz, actual 50176000HZ div = 0) [ 0.336173] mmc_host mmc0: Bus speed (slot 0) = 147456000Hz (slot req 150000000Hz, actual 147456000HZ div = 0) [ 0.363345] mmc_host mmc1: Bus speed (slot 0) = 200000Hz (slot req 200000Hz, actual 200000HZ div = 0) [ 0.366311] rk3308-acodec ff560000.acodec: rk3308_codec_set_jack: Request detect hp jack once [ 0.368300] input: rockchip,rk3308-vad Headset as /devices/platform/vad-acodec-sound/sound/card0/input0 [ 0.370010] NET: Registered protocol family 10 [ 0.371257] Segment Routing with IPv6 [ 0.371372] NET: Registered protocol family 17 [ 0.371407] NET: Registered protocol family 15 [ 0.371609] Bluetooth: RFCOMM TTY layer initialized [ 0.371634] Bluetooth: RFCOMM socket layer initialized [ 0.371686] Bluetooth: RFCOMM ver 1.11 [ 0.371752] Bluetooth: HIDP (Human Interface Emulation) ver 1.2 [ 0.371773] Bluetooth: HIDP socket layer initialized [ 0.371785] [BT_RFKILL]: Enter rfkill_rk_init [ 0.371795] [WLAN_RFKILL]: Enter rfkill_wlan_init [ 0.372392] [WLAN_RFKILL]: Enter rfkill_wlan_probe [ 0.372475] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi_chip_type = ap6255 [ 0.372488] [WLAN_RFKILL]: wlan_platdata_parse_dt: enable wifi power control. [ 0.372500] [WLAN_RFKILL]: wlan_platdata_parse_dt: wifi power controled by gpio. [ 0.372575] [WLAN_RFKILL]: wlan_platdata_parse_dt: WIFI,host_wake_irq = 76, flags = 0. [ 0.372597] [WLAN_RFKILL]: wlan_platdata_parse_dt: The ref_wifi_clk not found ! [ 0.372609] [WLAN_RFKILL]: rfkill_wlan_probe: init gpio [ 0.372623] [WLAN_RFKILL]: rfkill_set_wifi_bt_power: 1 [ 0.372635] [WLAN_RFKILL]: Exit rfkill_wlan_probe [ 0.373482] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: uart_rts_gpios = 67. [ 0.373529] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,power_gpio = 70. [ 0.373582] [BT_RFKILL]: bluetooth_platdata_parse_dt: get property: BT,wake_host_irq = 72. [ 0.373601] [BT_RFKILL]: bluetooth_platdata_parse_dt: clk_get failed!!!. [ 0.373696] [BT_RFKILL]: Request irq for bt wakeup host [ 0.373891] [BT_RFKILL]: ** disable irq [ 0.374192] [BT_RFKILL]: bt_default device registered. [ 0.374535] flash vendor_init_thread! [ 0.374554] flash vendor storage:20170308 ret = -1 [ 0.375252] Loading compiled-in X.509 certificates [ 0.376793] rk3308-acodec ff560000.acodec: Don't need to change dac_output: 0 [ 0.402538] rockchip-dmc dmc: failed to get the count of devfreq-event in /dmc node [ 0.402635] debugfs: Directory 'dmc-center' with parent 'vdd_log' already present! [ 0.402779] rockchip-dmc: probe of dmc failed with error -95 [ 0.403895] mmc_host mmc1: Bus speed (slot 0) = 100000Hz (slot req 100000Hz, actual 100000HZ div = 0) [ 0.405288] input: adc-keys as /devices/platform/adc-keys/input/input1 [ 0.406485] rk-multicodecs bluetooth-sound: Failed to get ADC channel [ 0.406778] rk-multicodecs bluetooth-sound: ASoC: Property 'rockchip,audio-routing' does not exist or its length is not even [ 0.407156] rk-multicodecs bluetooth-sound: Don't need to map headset detect gpio to irq [ 0.410391] input: gpio-keys as /devices/platform/gpio-keys/input/input2 [ 0.411491] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 0.413977] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 0.414162] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 0.414178] cfg80211: failed to load regulatory.db WARNING: suspend_mode_handler: Not support call: 0x4 [ 0.416487] rockchip-suspend not set sleep-mode-config for mem-lite [ 0.416521] rockchip-suspend not set wakeup-config for mem-lite [ 0.416537] rockchip-suspend not set sleep-mode-config for mem-ultra [ 0.416546] rockchip-suspend not set wakeup-config for mem-ultra [ 0.417335] ALSA device list: [ 0.417351] #0: rockchip,rk3308-vad [ 0.417361] #1: rockchip,rk3308-pcm [ 0.417371] #7: Loopback 1 [ 0.417638] Waiting for root device PARTUUID=614e0000-0000... [ 0.473210] dwmmc_rockchip ff490000.mmc: Successfully tuned phase to 4 [ 0.473437] mmc0: new HS200 MMC card at address 0001 [ 0.475472] mmcblk0: mmc0:0001 8GTF4R 7.28 GiB [ 0.476407] mmcblk0boot0: mmc0:0001 8GTF4R partition 1 4.00 MiB [ 0.477304] mmcblk0boot1: mmc0:0001 8GTF4R partition 2 4.00 MiB [ 0.477893] mmcblk0rpmb: mmc0:0001 8GTF4R partition 3 512 KiB, chardev (246:0) [ 0.485206] mmcblk0: p1 p2 p3 p4 p5 p6 p7 p8 [ 0.506629] VFS: Mounted root (squashfs filesystem) readonly on device 179:6. [ 0.508570] devtmpfs: mounted [ 0.509819] Freeing unused kernel memory: 1280K [ 0.517889] Run /sbin/init as init process // 运行 sbin/init,init进程读取配置文件 inittab 执行指定操作 [ 0.976776] EXT2-fs (mmcblk0p7): warning: mounting unchecked fs, running e2fsck is recommended [ 0.980884] EXT2-fs (mmcblk0p8): warning: mounting unchecked fs, running e2fsck is recommended Start mounting all internal partitions in /etc/fstab Log saved to /var/log/mount-all.log Note: Create /.skip_fsck to skip fsck - The check might take a while if didn't shutdown properly! [0]: Handling /dev/mmcblk0p6 / auto rw,noauto 1 [1]: Handling /dev/mmcblk0p7 /oem ext2 defaults 2 [2]: Handling /dev/mmcblk0p8 /userdata ext2 defaults 2 [0]: Running fsck on a random fs is dangerous [1]: Checking /dev/mmcblk0p7(ext2) [2]: Checking /dev/mmcblk0p8(ext2) [0]: No fsck for auto [0]: No resize for auto e2fsck 1.46.5 (30-Dec-2021) e2fsck 1.46.5 (30-Dec-2021) oem was not cleanly unmounted, check forced. Pass 1: Checking inodes, blocks, and sizes userdata was not cleanly unmounted, check forced. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information oem: 12/4096 files (0.0% non-contiguous), 1173/16384 blocks [1]: Mounting /dev/mmcblk0p7(ext2) on /oem with -o defaults [1]: Already resized /dev/mmcblk0p7(ext2) Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information userdata: 33/471424 files (0.0% non-contiguous), 33762/1884923 blocks [2]: Mounting /dev/mmcblk0p8(ext2) on /userdata with -o defaults [2]: Already resized /dev/mmcblk0p8(ext2) Starting syslogd: OK Starting klogd: OK Running sysctl: OK Populating /dev using udev: [ 3.343345] udevd[262]: starting version 3.2.10 [ 3.377390] udevd[267]: starting eudev-3.2.10 done Starting irqbalance: OK Saving random seed: SKIP (read-only file system detected) Starting system message bus: done Starting bluetoothd: OK Starting network: Failed to detect Wi-Fi/BT chip! ln: failed to create symbolic link '': No such file or directory OK Starting dhcpcd... dhcpcd-9.4.1 starting DHCPCD_ARGS: interface not found dhcpcd exited Starting ntpd: OK No persistent location to store SSH host keys. New keys will be generated at each boot. Are you sure this is what you want to do? Starting dropbear sshd: OK Starting pulseaudio: OK Starting dnsmasq: OK /bin/list-iodomain.sh version: V1.0.1 W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified). W: [pulseaudio] main.c: Compiled with DEPRECATED libsamplerate support! Starting input-event-daemon: done Get CHIP ID: rk3308 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXX PLEASE CHECK IO-DOMAIN !!!!!!!!!!!!!!! XXXXXXXXXX 请务必检查IO电源域配置 !!!!!!!!!!!!!!! XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Get IO DOMAIN VALUE: root@rk3308b-buildroot:/# vccio5_vsel: 1.8V vccio4_vsel: 3.3V vccio3_vsel: 1.8V vccio2_vsel: 1.8V vccio1_vsel: 3.3V vccio0_vsel: 3.3V XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX [ 5.299425] file system registered E: [pulseaudio] module-rescue-streams.c: module-rescue-stream is obsolete and should no longer be loaded. Please remove it from your configuration. E: [pulseaudio] module-console-kit.c: GetSessionsForUnixUser() call failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files E: [pulseaudio] module.c: Failed to load module "module-console-kit" (argument: ""): initialization failed. E: [pulseaudio] main.c: Sink alsa_output.platform-vad-sound.stereo-fallback does not exist. E: [pulseaudio] main.c: Source alsa_input.platform-vad-sound.multichannel-input does not exist. E: [pulseaudio] main.c: Source alsa_input.platform-vad-acodec-sound.multichannel-input does not exist. W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead [ 5.500996] read descriptors [ 5.501060] read strings [ 5.576777] dwc2 ff400000.usb: bound driver configfs-gadget [ 5.735483] dwc2 ff400000.usb: new device is high-speed [ 5.769193] dwc2 ff400000.usb: new address 15 [ 5.786869] android_work: sent uevent USB_STATE=CONNECTED [ 6.013589] android_work: sent uevent USB_STATE=DISCONNECTED [ 6.064408] dwc2 ff400000.usb: new device is high-speed [ 6.097505] dwc2 ff400000.usb: new address 16 [ 6.110934] android_work: sent uevent USB_STATE=CONNECTED [ 6.131344] android_work: sent uevent USB_STATE=CONFIGURED root@rk3308b-buildroot:/# root@rk3308b-buildroot:/#