解析一下这个开机流程:
Ver:20230302-T40XP
adc:1955 -1 3300, EV:38, SEC_EV:-1, is night:0, pwm duty:-1, led mode:close
[ 0.000000] Linux version 4.4.94 (root@LAPTOP-7UK6Q288) (gcc version 7.2.0 (Ingenic Linux-Release5.1.1.a-Default(xburst2(fp64)+glibc2.29) 2022.03-01 09:37:14) ) #8 SMP PREEMPT Fri Sep 5 16:03:30 CST 2025
[ 0.000000] CPU0 RESET ERROR PC:FFFFFFCB
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00132100 (Ingenic XBurst@II)
[ 0.000000] FPU revision is: 00f32100
[ 0.000000] MIPS: machine is ingenic,shark
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 00613000 @ 00010000 (usable)
[ 0.000000] memory: 0003d000 @ 00623000 (usable after init)
[ 0.000000] User-defined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initial ramdisk at: 0x80800000 (8073728 bytes)
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[ 0.000000] [SMP] Slave CPU(s) 1 available.
[ 0.000000] Primary instruction cache 32kB, VIPT, 8-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
[ 0.000000] =======found ...... ingenic sc cache ops ...!, found: 1
[ 0.000000]
[ 0.000000] Unified secondary cache 128kB 8-way, linesize 64 bytes.
[ 0.000000] PERCPU: Embedded 10 pages/cpu @81117000 s8432 r8192 d24336 u40960
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyS1,115200n8 mem=128M@0x0 rmem=96M@0x8000000 nmem=32M@0xE000000 root=/dev/ram0 rw rdinit=/linuxrc mtdparts=jz_sfc:256K(boot),288K(tag),3584k(kernel),3584k(rootfs),3584K(recovery),4576K(system),512K(config),16M@0(all) lpj=11968512 senv;[HW];init_vw=1936;init_vh=1280;nrvbs=2;mode=0;sensor_num=1;debug;eenv; lzo_size=3373666 rd_start=0x80800000 rd_size=0x7b3200
[ 0.000000] ir_switch_parse mode: 2 threshold min:2000 max:2500
[ 0.000000] ir_switch_parse width:1936 height:1280 nrvbs:2
[ 0.000000] ir_switch_parse hight framerate mode change num:5
[ 0.000000] ir_switch_parse dayEv:0 nightEv:0 coeff:0 wbr:0 wbb:0
[ 0.000000] Sensor Calibration Mode:0
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Memory: 115180K/131072K available (4996K kernel code, 444K rwdata, 772K rodata, 244K init, 172K bss, 15892K reserved, 0K cma-reserved)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:419
[ 0.000000] parse cpu-intc-iomap, intc define in dt is too large!
[ 0.000000] core irq setup finished
[ 0.000000] percpu irq inited.
[ 0.000000] t40 Clock Power Management Unit init!
[ 0.000000] =========== t40 clocks: =============
[ 0.000000] apll = 900000000 , mpll = 1200000000
[ 0.000000] cpu_clk = 900000000 , l2c_clk = 450000000
[ 0.000000] ahb0_clk = 200000000 , ahb2_clk = 200000000
[ 0.000000] apb_clk = 100000000 , ext_clk = 24000000
[ 0.000000]
[ 0.000000] parse cpu-ost-iomap, ost number define in dt is too large!
[ 0.000000] percpu cpu_num:0 timerevent init
[ 0.000000] clockevents_config_and_register success.
[ 0.000000] clocksource: jz_clocksource: mask: 0x7fffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000000] sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000094] ERROR epc 0xffffffcb
[ 0.003318] Calibrating delay loop (skipped) preset value.. 2393.70 BogoMIPS (lpj=11968512)
[ 0.011756] pid_max: default: 32768 minimum: 301
[ 0.016528] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.023162] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.030842] [SMP] Prepare 2 cores., cpu: 0
[ 0.041753] [SMP] Booting CPU1 ...
[ 0.045154] CPU1 RESET ERROR PC:FFFBFFEE
[ 0.045170] Primary instruction cache 32kB, VIPT, 8-way, linesize 32 bytes.
[ 0.045175] Primary data cache 32kB, 8-way, VIPT, no aliases, linesize 32 bytes
[ 0.045179] =======found ...... ingenic sc cache ops ...!, found: 1
[ 0.045179]
[ 0.045182] Unified secondary cache 128kB 8-way, linesize 64 bytes.
[ 0.045237] #### now starting init for cpu : 1
[ 0.045244] percpu irq inited.
[ 0.045247] percpu cpu_num:1 timerevent init
[ 0.045260] clockevents_config_and_register success.
[ 0.045266] CPU1 revision is: 00132100 (Ingenic XBurst@II)
[ 0.045268] FPU revision is: 00f32100
[ 0.045357] Brought up 2 CPUs
[ 0.045852] [SMP] slave cpu1 start up finished.
[ 0.112181] devtmpfs: initialized
[ 0.120871] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.130859] futex hash table entries: 512 (order: 2, 16384 bytes)
[ 0.137078] pinctrl core: initialized pinctrl subsystem
[ 0.142715] NET: Registered protocol family 16
[ 0.152317] ingenic pinctrl 10010000.pinctrl: 4 gpio chip add success, pins 128
[ 0.160387] ingenic pinctrl 10010000.pinctrl: ingenic pinctrl probe success
[ 0.177605] dmmu_init 807 PTRS_PER_PTE = 1024
[ 0.181975] Can't analyze schedule() prologue at 804ec944
[ 0.189841] ingenic-i2c 10050000.i2c: register i2c0 success.
[ 0.196028] ingenic-i2c 10051000.i2c: register i2c1 success.
[ 0.202354] ingenic-i2c 10052000.i2c: register i2c2 success.
[ 0.208518] ingenic-i2c 10053000.i2c: register i2c3 success.
[ 0.239265] ingenic-dma 13420000.dma: INGENIC SoC DMA initialized
[ 0.246630] usbcore: registered new interface driver usbfs
[ 0.252350] usbcore: registered new interface driver hub
[ 0.257911] usbcore: registered new device driver usb
[ 0.263179] inno phy probe success
[ 0.266993] media: Linux media interface: v0.10
[ 0.271690] Linux video capture interface: v2.00
[ 0.276467] t40 set isp clk is 300000000
[ 0.280426] AE Para ADDR = a3700000
[ 0.283913] Tuning mode is:0
[ 0.289291] @@@@ tx-isp-probe ok (version H20221213a), compiler date: Mar 14 2023 15:44:53 @@@@@
[ 0.298350] The apll was not found!
[ 0.301905] fast_wdr_mode = 0
[ 0.301905] main_user_wdr = 0
[ 0.307888] Main sensor name = isr2006 i2c = 0x60
[ 0.313226] probe ok ------->isr2006 build:Sep 5 2025 16:03:15
[ 0.319280] set sensor mclk(1) gpio
[ 0.322787] isr2006 chip found @ 0x60 (i2c1)
[ 0.327104] sensor driver version H20211019a
[ 0.331672] Create framechan0 OK!
[ 0.335444] Create framechan1 OK!
[ 0.339218] Create framechan2 OK!
[ 0.342942] Calibration ADDR = a3810000
[ 0.352061] Calibration len = 204800
[ 0.355684] Calibration len = 204800
[ 0.359267] Load Sensor Setting DATE:calibration mode 0 MD5:calibration crc 3473617380
[ 0.367296] Calibration len = 204800
[ 0.372307] *********** fliker print **********************
[ 0.377911] para1 = 5
[ 0.380197] para2 = 14
[ 0.382572] thr_fliker = 20
[ 0.385399] thr_energe_value = 30
[ 0.585785] Main sensor NCU: size = 5407744 paddr = 0x8000000
[ 0.591680] fs0 start ev is 38
[ 0.594998] isr2006 stream on
[ 0.597986] TTFF frame_channel_fast_start 261 W:1936 H:1280 N:2
[ 0.603941] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 0 Start:1215
[ 0.611659] buf_id = 0 buf_ptr = 8529000 buf_len = 3717120
[ 0.617400] buf_id = 1 buf_ptr = 88b4800 buf_len = 3717120
[ 0.619409] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 1 Start:1230
[ 0.633483] clocksource: Switched to clocksource jz_clocksource
[ 0.639553] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 2 Start:1250
[ 0.649619] NET: Registered protocol family 2
[ 0.654594] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.661615] TCP bind hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.661686] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 3 Start:1273
[ 0.662033] TTFF frame_channel_buffer_done:255 Chn:0 Buf:0 Write Done:1273
[ 0.681678] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 4 Start:1293
[ 0.682014] TTFF frame_channel_buffer_done:255 Chn:0 Buf:1 Write Done:1293
[ 0.697449] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.701363] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 5 Start:1312
[ 0.711564] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.717490] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.718873] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 6 Start:1330
[ 0.731623] NET: Registered protocol family 1
[ 0.737406] RPC: Registered named UNIX socket transport module.
[ 0.739216] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 7 Start:1350
[ 0.751092] RPC: Registered udp transport module.
[ 0.755823] RPC: Registered tcp transport module.
[ 0.760561] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.760636] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 8 Start:1372
[ 0.774963] Trying to unpack rootfs image as initramfs...
[ 0.780372] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 9 Start:1391
[ 0.797146] TTFF isp_vic_interrupt_service_routine0:1301 Chn:0 Frame 10 Start:1408
[ 0.832436] Freeing initrd memory: 7884K
[ 0.862486] jitterentropy: Initialization failed with host not compliant with requirements: 2
[ 0.871917] io scheduler noop registered
[ 0.875892] io scheduler deadline registered
[ 0.880197] io scheduler cfq registered (default)
[ 0.885666] vs021xrm display-dsi:panel_VS021XRM@0: invalid gpio backlight.gpio: -2
[ 0.893307] registered panel driver(vs021xrm) to mipi-dsi driver.
[ 0.905366] vsync_skip_ratio = 9
[ 0.908561] vsync_skip_map = 0x000003ff
[ 0.912497] dsi->video_config->h_total_pixels: 1650
[ 0.917452] dsi->video_config->v_total_lines: 1500
[ 0.922315] jzfb_pdata.modes->refresh: 50
[ 0.926393] jzfb_pdata.bpp: 24
[ 0.929444] dsi->video_config->no_of_lanes: 4
[ 0.933900] ---dsi->video_config->byte_clock: 0
[ 0.938613] +++++++++++++warning: DATALANE_BPS is over lcd max_bps allowed ,auto set it lcd max_bps 92812
[ 0.948407] jzdsi_init, 1102 byte_clock 92812 KHz, pixel_clock:123762 KHz
[ 0.955594] dsi phy address = 0xb0004000
[ 0.959500] init_dsi_phy,497 step0 do nothing now.
[ 0.964489] init_dsi_phy,511 reg write error. Step1
[ 0.969382] reg:0x03, value:0x1
[ 0.972560] init_dsi_phy,526 reg write error. Step2
[ 0.977620] reg:0x04, value:0x8c
[ 0.980819] reg:0x01, value:0xe4
[ 0.984131] reg:0x00, value:0x7d
[ 0.987351] reg:0x01, value:0xe0
[ 1.013544] reg:0x20, value:0x1e
[ 1.016809] reg:0x20, value:0x1f
[ 1.033538] init_dsi_phy,642 dsi phy init over now...
[ 1.038733] before setting dsi phy: pll_clk_sel: 0xc0, set_pll_clk_sel: 0x2
[ 1.045818] after setting dsi phy: pll_clk_sel: 0x2, output_freq: 742496000
[ 1.052807] configure master-phy is ok
[ 1.543891] ingenic-fb 13050000.dpu: uboot is not display logo!
[ 1.551430] JZ DBOX probe ok!!!!
[ 1.556952] 10031000.serial: ttyS1 at MMIO 0x10031000 (irq = 58, base_baud = 6250000) is a uart1
[ 1.566047] console [ttyS1] enabled
[ 1.566047] console [ttyS1] enabled
[ 1.573187] bootconsole [early0] disabled
[ 1.573187] bootconsole [early0] disabled
[ 1.581880] 10032000.serial: ttyS2 at MMIO 0x10032000 (irq = 57, base_baud = 6250000) is a uart2
[ 1.604496] brd: module loaded
[ 1.610458] loop: module loaded
[ 1.615556] zram: Added device: zram0
[ 1.620091] zram: Added device: zram1
[ 1.626314] ingenic SADC driver registeres over!
[ 1.631649] ingenic sadc aux probe success
[ 1.636330] ingenic sadc aux probe success
[ 1.640891] ingenic sadc aux probe success
[ 1.645510] ingenic sadc aux probe success
[ 1.650091] ingenic sadc aux probe success
[ 1.654740] ingenic sadc aux probe success
[ 1.661035] ingenic-tcu 10002000.tcu: Ingenic TCU driver register completed ret = 0
[ 1.683542] Bus Mode Reg after reset: 0x00020101, cnt=0
[ 1.693298] libphy: ingenic_mii_bus: probed
[ 1.698419] dwc-mac 134b0000.mac: Ingenic on-chip Ethernet MAC driver, Version 1.0
[ 1.723881] dwc2 13500000.otg: Configuration mismatch. Forcing host mode
[ 1.730981] OTG CLK 1c1e5f80
[ 1.734846] CPCCR CLK 1580
[ 1.937218] dwc2 13500000.otg: DWC OTG Controller
[ 1.942181] dwc2 13500000.otg: new USB bus registered, assigned bus number 1
[ 1.949618] dwc2 13500000.otg: irq 29, io mem 0x00000000
[ 1.956134] hub 1-0:1.0: USB hub found
[ 1.960124] hub 1-0:1.0: 1 port detected
[ 1.964867] ingenic,watchdog 10002000.watchdog: Failed to get mfd cell
[ 1.971711] ingenic,watchdog: probe of 10002000.watchdog failed with error -12
[ 1.980189] Netfilter messages via NETLINK v0.30.
[ 1.985245] ip_set: protocol 6
[ 1.988595] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 1.994307] NET: Registered protocol family 17
[ 2.000401] run=0, wait=0
[ 2.005302] Freeing unused kernel memory: 244K
[ 2.107666] Enter 'CDT' mode.
[ 2.110776] Enter 'DMA Descriptor chain' mode.
[ 2.115649] the id code = ef4018, the flash name is WIN25Q128
[ 2.130653] ingenic-sfc 13440000.sfc: nor flash quad mode is set, now use quad mode!
[ 2.138851] 8 cmdlinepart partitions found on MTD device jz_sfc
[ 2.145076] Creating 8 MTD partitions on "jz_sfc":
[ 2.150101] 0x000000000000-0x000000040000 : "boot"
[ 2.157440] 0x000000040000-0x000000088000 : "tag"
[ 2.168286] 0x000000088000-0x000000408000 : "kernel"
[ 2.179364] 0x000000408000-0x000000788000 : "rootfs"
[ 2.189351] 0x000000788000-0x000000b08000 : "recovery"
[ 2.202104] 0x000000b08000-0x000000f80000 : "system"
[ 2.212722] 0x000000f80000-0x000001000000 : "config"
[ 2.223105] 0x000000000000-0x000001000000 : "all"
[ 2.232190] ingenic-sfc 13440000.sfc: SPI NOR MTD LOAD OK
[ 2.253111] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 2.267513] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 2.281396] jffs2: notice: (608) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[ 2.306282] zram0: detected capacity change from 0 to 16777216
Setting up swapspace version 1, size = 16773120 bytes
UUID=f09220ba-239e-458e-98cf-d[ 2.319858] Adding 16380k swap on /dev/zram0. Priority:-1 extents:1 across:16380k SS
cf2b749d9c5
[ 2.336618] Bus Mode Reg after reset: 0x00020101, cnt=0
[ 2.349153] Bus Mode Reg after reset: 0x00020101, cnt=0
/
sh: write error: Invalid argument
[ 2.421576] jz_pwm_probe[328] d_name = ingenic,tcu_chn3
[ 2.427821] jz_pwm_probe[328] d_name = ingenic,tcu_chn4
[ 2.433888] jz_pwm_probe[328] d_name = ingenic,tcu_chn5
[ 2.444752] The version of PWM driver is H20210412a
[ 2.460654] request pwm channel 3 successfully
[ 2.465502] request pwm channel 4 successfully
[ 2.470126] request pwm channel 5 successfully
[ 2.475180] pwm-jz pwm-jz: jz_pwm_probe register ok !
Zeratul login: [ 3.047453] RTW: module init start
[ 3.051013] RTW: rtl8188eu v5.15.11-0-g96e5f190c.20231003
[ 3.056698] RTW: build time: Sep 1 2025 15:53:12
[ 3.061670] RTW: rtw_inetaddr_notifier_register
[ 3.066635] usbcore: registered new interface driver rtl8188eu
[ 3.072714] RTW: module init ret=0
[ 3.098832] sdhci: Secure Digital Host Controller Interface driver
[ 3.105303] sdhci: Copyright(c) Pierre Ossman
[ 3.113665] mmc gpio ingenic,cd-gpios num:122 en-level: 0
[ 3.119498] ingenic,sdhci 13060000.msc: allocated mmc-pwrseq
[ 3.163531] mmc0: SDHCI controller on ingenic-sdhci [13060000.msc] using ADMA
[ 3.171270] mmc0: card removed
[ 3.213551] mmc1: SDHCI controller on ingenic-sdhci [13070000.msc] using ADMA
[ 4.693728] dwc-mac 134b0000.mac eth0: Link is Up - 100Mbps/Full - flow control rx/tx
TF card is not mount, please mount tf card at first !
root
Jan 1 00:00:11 login[625]: root login on 'console'
Hello Zeratul!
[root@Zeratul:~]# lsmod
ingenic_sdhci_sdio 8544 - - Live 0xc0965000
sdhci 23856 - - Live 0xc0956000
mmc_block 25136 - - Live 0xc0941000
mmc_core 79088 - - Live 0xc091e000
8188eu 1867280 - - Live 0xc072e000 (O)
sample_pwm_hal 3296 - - Live 0xc042d000 (O)
sample_pwm_core 2400 - - Live 0xc0425000 (O)
squashfs 23920 - - Live 0xc03e3000
jffs2 113504 - - Live 0xc036a000
zlib_deflate 18192 - - Live 0xc0336000
jz_sfc 22288 - - Live 0xc0326000
[root@Zeratul:~]# [ 14.649909] random: nonblocking pool is initialized
ls
bin dev linuxrc opt root sys usr
config etc media proc run system var
config_bak lib mnt re.sh sbin tmp
[root@Zeratul:~]#