Skip to content

Instantly share code, notes, and snippets.

@acmeplus
Last active May 14, 2024 00:32
Show Gist options
  • Save acmeplus/706bb886e490136e66614e03d41ddb09 to your computer and use it in GitHub Desktop.
Save acmeplus/706bb886e490136e66614e03d41ddb09 to your computer and use it in GitHub Desktop.
TrimUI Smart Pro boot
[92609]HELLO! BOOT0 is starting!
[92612]BOOT0 commit : 01e601494d
[92615]set pll start
[92617]periph0 has been enabled
[92620]set pll end
[92622]PL gpio voltage : 1.8V
[92625][pmu]: bus read error
[92628]unknow PMU
[92630][pmu]: bus read error
[92633]PMU: AXP2202
[92636]TCS: TCS4838
[92645]vaild para:1 select dram para0
[92649]board init ok, set sys_vol to 940mv!
[92674]DRAM BOOT DRIVE INFO: V0.696
[92677]the chip id is 0x8000
[92680]the chip id is 0x8000
[92683]the chip id is 0x8000
[92686]the chip id is 0x8000
[92689]the chip id is 0x8000
[92692]chip id check OK
[92695]DRAM_VCC set to 1100 mv
[92719][AUTO DEBUG]32bit,1 ranks training success!
[92760][AUTO DEBUG]default config,dram_clk=792 ,mtest fail
[92865][AUTO DEBUG]default config,dram_clk=696 ,mtest pass
[93245][AUTO DEBUG]14-37,23,0x19 7-28,21,0x11 13-33,20,0x17 16-40,24,0x1c
[AUTO DEBUG]5-28,23,0x10 6-27,21,0x10 7-29,22,0x12 5-29,24,0x11
[93360][AUTO DEBUG]after escan,dram_tpr11 = 1c171119,dram_tpr12 = 11121010
[93810][AUTO DEBUG]16-34,18,0x19 10-25,15,0x11 15-30,15,0x16 18-36,18,0x1b
[AUTO DEBUG]9-28,19,0x12 11-27,16,0x13 12-29,17,0x14 10-29,19,0x13
[93921][AUTO DEBUG]after escan,dram_tpr11 = 1b161119,dram_tpr12 = 13141312
[93928]DRAM CLK =792 MHZ
[93931]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[93941]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, tpr13 = 7521
[93953]DRAM simple test OK.
[93955]dram size =1024
[93958]chipid = 54408000
[93960]nsi init ok 2020-4-7
[93964]card no is 2
[93966]sdcard 2 line count 8
[93969][mmc]: mmc driver ver 2020-05-25 09:40-202007019516
[93980][mmc]: Wrong media type 0x0
[93983][mmc]: ***Try SD card 2***
[93987][mmc]: mmc 2 cmd 8 timeout, err 100
[93992][mmc]: mmc 2 cmd 8 err 100
[93995][mmc]: mmc 2 send if cond failed
[94000][mmc]: mmc 2 cmd 55 timeout, err 100
[94004][mmc]: mmc 2 cmd 55 err 100
[94007][mmc]: mmc 2 send app cmd failed
[94011][mmc]: ***Try MMC card 2***
[94036][mmc]: RMCA OK!
[94038][mmc]: bias 0
[94040][mmc]: mmc 2 bias 0
[94044][mmc]: MMC 5.1
[94046][mmc]: HSSDR52/SDR25 8 bit
[94049][mmc]: 50000000 Hz
[94052][mmc]: 7456 MB
[94054][mmc]: ***SD/MMC 2 init OK!!!***
[94115]Loading boot-pkg Succeed(index=0).
[94119]Entry_name = u-boot
[94127]Entry_name = monitor
[94131]Entry_name = scp
[94134]set arisc reset to assert state
[94143]set arisc reset to de-assert state
[94147]Entry_name = dtb
[94151]tunning data addr:0x4a0003e8
[94155]Jump to second Boot.
NOTICE: BL3-1: v1.0(debug):406d5ac
NOTICE: BL3-1: Built : 11:27:22, 2022-05-07
NOTICE: BL3-1 commit: 8
NOTICE: info v0.0
NOTICE: cpuidle init version V2.0
ERROR: Error initializing runtime service tspd_fast
NOTICE: BL3-1: Preparing for EL3 exit to normal world
NOTICE: BL3-1: Next image address = 0x4a000000
NOTICE: BL3-1: Next image spsr = 0x1d3
U-Boot 2018.05 (Mar 17 2024 - 12:17:06 +0800) Allwinner Technology
[94.242]CPU: Allwinner Family
[94.244]Model: sun50iw10
I2C: ready
[94.370]DRAM: 1 GiB
[94.373]Relocation Offset is: 357f8000
[94.417]secure enable bit: 0
[94.419]PMU: AXP2202
[94.421]PMU: pmu_axp2202 found
[94.424]BMU: AXP2202
[94.426]BMU: bmu_axp2202 found
FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
[94.445]gpio_bias, pc_bias: 1800, pc_supply: not set
[94.451]gpio_bias, pl_bias: 3300, pl_supply: aldo3_vol
[94.458]dcdc1_vol = 940, onoff=1
[94.462]aldo1_vol = 1800, onoff=1
[94.467]aldo2_vol = 3300, onoff=1
[94.471]aldo3_vol need to wait stable!
[94.494]GPIOL change bias done!
[94.497]aldo3_vol = 3300, onoff=1
[94.502]aldo4_vol = 1800, onoff=1
[94.506]bldo1_vol = 0, onoff=0
[94.510]bldo2_vol = 1800, onoff=1
[94.515]bldo3_vol = 3300, onoff=1
[94.519]bldo4_vol = 1800, onoff=1
[94.524]cldo1_vol = 1800, onoff=1
[94.528]cldo3_vol = 3300, onoff=1
[94.533]cldo4_vol = 3300, onoff=1
[94.538]cpusldo_vol = 900, onoff=1
bias_name:pc_bias bias_vol:1800
bias_name:pl_bias bias_vol:3300
[94.551]bat_vol=997, ratio=0
[94.553]safe_vol=3500, safe_ratio=1
[94.556]TCS: TCS_probe
[94.559]TCS: TCS4838
[94.562]PTCS4838:reg0:df
[94.564]PTCS4838:reg0:df
[94.567]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=400Mhz
[94.577]gic: sec monitor mode
[94.579]sunxi flash type@2 not support fast burn key
[94.584]flash init start
[94.586]workmode = 0,storage type = 2
[94.589][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00
[94.596][mmc]: get sdc_type fail and use default host:tm4.
[94.608][mmc]: SUNXI SDMMC Controller Version:0x50300
[94.633][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
[94.639]sunxi flash init ok
[94.642]non secure, do not need update backup boot0 to toc0
[94.648]init_clocks:finish
[94.650]drv_disp_init
[94.686]get flash lcd idx 0
request pwm success, pwm0:pwm0:0x300a000.
[94.698]drv_disp_init finish
[94.700]boot_gui_init:start
[94.704]set disp.dev2_output_type fail. using defval=0
[94.709]disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(150000000)
clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
[94.734]enable power cldo4, ret=0
[94.747]enable power cldo1, ret=0
[94.964]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[94.972]boot_gui_init:finishuboot->>>OTM1289A:lcd panel init
check_lcd_module
0x04=61, len=1 [61 00 00 00]
0xDA=61, len=1 [61 00 00 00]
0xDB=00, len=1 [00 00 00 00]
0xDC=00, len=1 [00 00 00 00]
LCD module otm1289a
[95.035]enable power cldo4, ret=0
[95.048]enable power cldo1, ret=0
TRIMUI boot reason=usb
54 bytes read in 0 ms
[95.449]bmp_name=bootlogo.bmp size 104600
104600 bytes read in 2 ms (49.9 MiB/s)
[95.503]soc ic_ver:0x6, qa_val:0x0, markid:0x8000 dclk[0-9999] display_cfg_flag:0
[95.563]LCD open finish
[95.642]Loading Environment from SUNXI_FLASH... OK
[95.652]no secure os for keybox operation
[95.655]try to burn key
[95.659]read item0 copy0
[95.669]Item0 (Map) magic is bad
[95.672]the secure storage item0 copy0 magic is bad
[95.685]Item0 (Map) magic is bad
[95.688]the secure storage item0 copy1 magic is bad
[95.693]Item0 (Map) magic is bad
[95.696]the secure storage map is empty
[95.699]no item name key_burned_flag in the map
[95.703]sunxi secure storage has no flag
[95.707]usb burn from boot
delay time 0
weak:otg_phy_config
[95.717]usb prepare ok
[96.085]usb sof ok
[96.087]usb probe ok
[96.089]usb setup ok
set address 0x4
set address 0x4 ok
[99.096]do_burn_from_boot usb : have no handshake
[99.100][ARISC] :arisc initialize
[99.105][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [7f89bbd0, 7f89bee8]
[99.117][ARISC] :arisc para ok
[SCP] :sunxi-arisc driver begin startup 2
[SCP] :0x1
[SCP] :arisc version: []
[SCP] :arisc startup ready
[SCP] :arisc startup notify message feedback
[SCP] :send hard sync feedback message: 0x900200
[SCP] :sunxi-arisc driver v1.10 is starting
[99.143][ARISC] :sunxi-arisc driver startup succeeded
List file under ULI/factory
** Unrecognized filesystem type **
[99.153]no item name rootwait init in the map
[99.157]no item name rdinit in the map
[99.161]no item name rotpk_status in the map
[99.165]no item name pstore_blk.blkdev in the map
[99.169]no item name pstore.update_ms in the map
root_partition is rootfs
blkoops_partition is pstore
set root to /dev/mmcblk0p5
set blkoops_blkdev to /dev/mmcblk0p9
[99.184]update part info
[99.188]key 0
[99.189]no misc partition is found
[99.192]update bootcmd
[99.194]serial num is: 1c000c3157404952199
[99.200][mmc]: delete mmc-hs400-1_8v from dtb
[99.204][mmc]: delete mmc-hs200-1_8v from dtb
[99.208][mmc]: get max-frequency ok 50000000 Hz
[99.215](weak)update dtb dram start
[99.237]update dtb dram end
[99.244]update dts
sunxi_key_read_one
g_lradc_value=0
Hit any key to stop autoboot: 0
[99.258]partinfo: name boot, start 0xcc00, size 0x7800
[99.402]no vendor_boot partition is found
[99.406]in boot normal mode,pass normal para to cmdline
[99.413]android.hardware = sun50iw10p1
Android's image name: a133-aw3
[99.500]Starting kernel ...
[99.503][mmc]: mmc exit start
[99.522][mmc]: mmc 2 exit ok
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.191 (TRIMUIDEV@nuc) (gcc version 7.4.1 (OpenWrt/Linaro GCC 7.4-2019.02 2019-02) ) #372 SMP PREEMPT Mon Apr 1 13:11:45 UTC 2024
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] disp reserve base 0x7b823480 ,size 0x384000
[ 0.000000] cma: Reserved 64 MiB at 0x000000007c000000
[ 0.000000] On node 0 totalpages: 262144
[ 0.000000] DMA zone: 4096 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 262144 pages, LIFO batch:31
[ 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: Trusted OS migration not required
[ 0.000000] psci: SMC Calling Convention v1.0
[ 0.000000] percpu: Embedded 21 pages/cpu s46488 r8192 d31336 u86016
[ 0.000000] pcpu-alloc: s46488 r8192 d31336 u86016 alloc=21*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: enabling workaround for ARM erratum 845719
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 258048
[ 0.000000] Kernel command line: console=ttyS0,115200 root=/dev/mmcblk0p5 rootwait init=/sbin/init rdinit=/rdinit loglevel=8 earlyprintk=sunxi-uart,0x05000000 initcall_debug=0
[ 0.000000] get lcd model:otm1289a
[ 0.000000] log_buf_len individual max cpu contribution: 4096 bytes
[ 0.000000] log_buf_len total cpu_extra contributions: 12288 bytes
[ 0.000000] log_buf_len min size: 16384 bytes
[ 0.000000] log_buf_len: 32768 bytes
[ 0.000000] early log buf free: 14076(85%)
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Memory: 931832K/1048576K available (7294K kernel code, 1342K rwdata, 2436K rodata, 448K init, 367K bss, 51208K reserved, 65536K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] modules : 0xffffff8000000000 - 0xffffff8008000000 ( 128 MB)
[ 0.000000] vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000 ( 250 GB)
[ 0.000000] .text : 0xffffff8008080000 - 0xffffff80087a0000 ( 7296 KB)
[ 0.000000] .rodata : 0xffffff80087a0000 - 0xffffff8008a10000 ( 2496 KB)
[ 0.000000] .init : 0xffffff8008a10000 - 0xffffff8008a80000 ( 448 KB)
[ 0.000000] .data : 0xffffff8008a80000 - 0xffffff8008bcf808 ( 1343 KB)
[ 0.000000] .bss : 0xffffff8008bcf808 - 0xffffff8008c2b4fc ( 368 KB)
[ 0.000000] fixed : 0xffffffbefe7fb000 - 0xffffffbefec00000 ( 4116 KB)
[ 0.000000] PCI I/O : 0xffffffbefee00000 - 0xffffffbeffe00000 ( 16 MB)
[ 0.000000] vmemmap : 0xffffffbf00000000 - 0xffffffc000000000 ( 4 GB maximum)
[ 0.000000] 0xffffffbf00000000 - 0xffffffbf01000000 ( 16 MB actual)
[ 0.000000] memory : 0xffffffc000000000 - 0xffffffc040000000 ( 1024 MB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 64.
[ 0.000000] NR_IRQS:64 nr_irqs:64 0
[ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (virt).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[ 0.000004] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008247] Console: colour dummy device 80x25
[ 0.012413] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.022618] pid_max: default: 32768 minimum: 301
[ 0.027681] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.033896] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment