Skip to content

Instantly share code, notes, and snippets.

@acmeplus
Created March 29, 2024 12:46
Show Gist options
  • Save acmeplus/980c5f6f5e31cdc4ffab0d800ca47f94 to your computer and use it in GitHub Desktop.
Save acmeplus/980c5f6f5e31cdc4ffab0d800ca47f94 to your computer and use it in GitHub Desktop.
TrimUI Smart Pro boot
[141]HELLO! BOOT0 is starting!
[144]BOOT0 commit : 01e601494d
[148]set pll start
[150]periph0 has been enabled
[153]set pll end
[154]PL gpio voltage : 1.8V
[157][pmu]: bus read error
[160]unknow PMU
[162][pmu]: bus read error
[164]PMU: AXP2202
[168]TCS: TCS4838
[176]vaild para:1 select dram para0
[180]board init ok, set sys_vol to 940mv!
[205]DRAM BOOT DRIVE INFO: V0.696
[208]the chip id is 0x8000
[211]the chip id is 0x8000
[213]the chip id is 0x8000
[216]the chip id is 0x8000
[218]the chip id is 0x8000
[221]chip id check OK
[225]DRAM_VCC set to 1100 mv
[228]DRAM CLK =792 MHZ
[230]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[240]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, tpr13 = 7521
[252]DRAM simple test OK.
[254]dram size =1024
[256]chipid = 54408000
[258]nsi init ok 2020-4-7
[262]card no is 2
[264]sdcard 2 line count 8
[266][mmc]: mmc driver ver 2020-05-25 09:40-202007019516
[277][mmc]: Wrong media type 0x0
[281][mmc]: ***Try SD card 2***
[285][mmc]: mmc 2 cmd 8 timeout, err 100
[289][mmc]: mmc 2 cmd 8 err 100
[292][mmc]: mmc 2 send if cond failed
[296][mmc]: mmc 2 cmd 55 timeout, err 100
[300][mmc]: mmc 2 cmd 55 err 100
[303][mmc]: mmc 2 send app cmd failed
[307][mmc]: ***Try MMC card 2***
[332][mmc]: RMCA OK!
[334][mmc]: bias 0
[336][mmc]: mmc 2 bias 0
[339][mmc]: MMC 5.1
[341][mmc]: HSSDR52/SDR25 8 bit
[344][mmc]: 50000000 Hz
[346][mmc]: 7456 MB
[348][mmc]: ***SD/MMC 2 init OK!!!***
[410]Loading boot-pkg Succeed(index=0).
[413]Entry_name = u-boot
[421]Entry_name = monitor
[424]Entry_name = scp
[428]set arisc reset to assert state
[437]set arisc reset to de-assert state
[441]Entry_name = dtb
[444]tunning data addr:0x4a0003e8
[448]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 (Oct 16 2023 - 22:35:10 +0800) Allwinner Technology
[00.534]CPU: Allwinner Family
[00.537]Model: sun50iw10
I2C: ready
[00.662]DRAM: 1 GiB
[00.666]Relocation Offset is: 357fa000
[00.704]secure enable bit: 0
[00.707]PMU: AXP2202
[00.709]PMU: pmu_axp2202 found
[00.711]BMU: AXP2202
[00.713]BMU: bmu_axp2202 found
FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
[00.732]gpio_bias, pc_bias: 1800, pc_supply: not set
[00.738]gpio_bias, pl_bias: 3300, pl_supply: aldo3_vol
[00.745]dcdc1_vol = 940, onoff=1
[00.749]aldo1_vol = 1800, onoff=1
[00.754]aldo2_vol = 3300, onoff=1
[00.758]aldo3_vol need to wait stable!
[00.782]GPIOL change bias done!
[00.784]aldo3_vol = 3300, onoff=1
[00.789]aldo4_vol = 1800, onoff=1
[00.793]bldo1_vol = 0, onoff=0
[00.798]bldo2_vol = 1800, onoff=1
[00.802]bldo3_vol = 3300, onoff=1
[00.807]bldo4_vol = 1800, onoff=1
[00.811]cldo1_vol = 1800, onoff=1
[00.816]cldo3_vol = 3300, onoff=1
[00.820]cldo4_vol = 3300, onoff=1
[00.825]cpusldo_vol = 900, onoff=1
bias_name:pc_bias bias_vol:1800
bias_name:pl_bias bias_vol:3300
[00.838]bat_vol=16383, ratio=100
[00.841]safe_vol=3400, safe_ratio=1
[00.844]TCS: TCS_probe
[00.846]TCS: TCS4838
[00.849]PTCS4838:reg0:df
[00.852]PTCS4838:reg0:df
[00.855]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=400Mhz
[00.864]gic: sec monitor mode
[00.867]sunxi flash type@2 not support fast burn key
[00.871]flash init start
[00.874]workmode = 0,storage type = 2
[00.877][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00
[00.883][mmc]: get sdc_type fail and use default host:tm4.
[00.895][mmc]: SUNXI SDMMC Controller Version:0x50300
[00.921][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
[00.927]sunxi flash init ok
[00.930]non secure, do not need update backup boot0 to toc0
[00.936]init_clocks:finish
[00.938]drv_disp_init
[00.974]get flash lcd idx 0
request pwm success, pwm0:pwm0:0x300a000.
[00.986]drv_disp_init finish
[00.988]boot_gui_init:start
[00.992]set disp.dev2_output_type fail. using defval=0
[00.997]disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(150000000)
clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
[01.022]enable power cldo4, ret=0
[01.035]enable power cldo1, ret=0
[01.392]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[01.400]boot_gui_init:finishuboot->>>OTM1289A:lcd panel init
TRIMUI boot reason=usb
54 bytes read in 0 ms
[01.588]bmp_name=bootlogo.bmp size 104600
104600 bytes read in 1 ms (99.8 MiB/s)
[01.642]soc ic_ver:0x6, qa_val:0x0, markid:0x8000 dclk[0-9999] display_cfg_flag:0
[01.702]LCD open finish
[01.780]Loading Environment from SUNXI_FLASH... OK
[01.790]no secure os for keybox operation
[01.794]try to burn key
[01.797]read item0 copy0
[01.799]Item0 (Map) magic is bad
[01.802]the secure storage item0 copy0 magic is bad
[01.807]Item0 (Map) magic is bad
[01.810]the secure storage item0 copy1 magic is bad
[01.814]Item0 (Map) magic is bad
[01.817]the secure storage map is empty
[01.821]no item name key_burned_flag in the map
[01.825]sunxi secure storage has no flag
[01.829]usb burn from boot
delay time 0
weak:otg_phy_config
[01.839]usb prepare ok
[02.073]usb sof ok
[02.074]usb probe ok
[02.076]usb setup ok
set address 0x4
set address 0x4 ok
[05.083]do_burn_from_boot usb : have no handshake
[05.087][ARISC] :arisc initialize
[05.092][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [7f89bd48, 7f89c060]
[05.104][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
[05.130][ARISC] :sunxi-arisc driver startup succeeded
List file under ULI/factory
** Unrecognized filesystem type **
[05.141]no item name rootwait init in the map
[05.145]no item name rdinit in the map
[05.148]no item name rotpk_status in the map
[05.152]no item name pstore_blk.blkdev in the map
[05.157]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
[05.172]update part info
[05.175]key 0
[05.177]no misc partition is found
[05.180]update bootcmd
[05.182]serial num is: 1c000c3157404952199
[05.188][mmc]: delete mmc-hs400-1_8v from dtb
[05.192][mmc]: delete mmc-hs200-1_8v from dtb
[05.196][mmc]: get max-frequency ok 50000000 Hz
[05.202](weak)update dtb dram start
[05.224]update dtb dram end
[05.231]update dts
sunxi_key_read_one
g_lradc_value=0
Hit any key to stop autoboot: 0
[05.245]partinfo: name boot, start 0xcc00, size 0x7800
[05.389]no vendor_boot partition is found
[05.392]in boot normal mode,pass normal para to cmdline
[05.399]android.hardware = sun50iw10p1
Android's image name: a133-aw3
[05.484]Starting kernel ...
[05.487][mmc]: mmc exit start
[05.506][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) ) #573 SMP PREEMPT Sat Dec 9 08:36:02 UTC 2023
[ 0.000000] Boot CPU: AArch64 Processor [410fd034]
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] disp reserve base 0x7b825480 ,size 0x384000
[ 0.000000] cma: Reserved 32 MiB at 0x000000007e000000
[ 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 loglevel=8 partitions=bootloader@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:
[ 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: 14128(86%)
[ 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: 964608K/1048576K available (7294K kernel code, 1332K rwdata, 2436K rodata, 448K init, 369K bss, 51200K reserved, 32768K 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 - 0xffffff8008bcd008 ( 1333 KB)
[ 0.000000] .bss : 0xffffff8008bcd008 - 0xffffff8008c294fc ( 370 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.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.008239] Console: colour dummy device 80x25
[ 0.012414] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[ 0.022617] pid_max: default: 32768 minimum: 301
[ 0.027675] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.033897] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.044149] sched-energy: CPU device node has no sched-energy-costs
[ 0.047282] Invalid sched_group_energy for CPU0
[ 0.051748] CPU0: update cpu_capacity 1024
[ 0.067892] ASID allocator initialised with 32768 entries
[ 0.124126] Detected VIPT I-cache on CPU1
[ 0.124179] Invalid sched_group_energy for CPU1
[ 0.124182] CPU1: update cpu_capacity 1024
[ 0.124185] CPU1: Booted secondary processor [410fd034]
[ 0.152179] Detected VIPT I-cache on CPU2
[ 0.152210] Invalid sched_group_energy for CPU2
[ 0.152213] CPU2: update cpu_capacity 1024
[ 0.152216] CPU2: Booted secondary processor [410fd034]
[ 0.180254] Detected VIPT I-cache on CPU3
[ 0.180280] Invalid sched_group_energy for CPU3
[ 0.180283] CPU3: update cpu_capacity 1024
[ 0.180285] CPU3: Booted secondary processor [410fd034]
[ 0.180362] Brought up 4 CPUs
[ 0.230997] SMP: Total of 4 processors activated.
[ 0.235686] CPU features: detected feature: 32-bit EL0 Support
[ 0.241492] CPU features: detected feature: Kernel page table isolation (KPTI)
[ 0.251631] CPU: All CPU(s) started at EL1
[ 0.252772] alternatives: patching kernel code
[ 0.257672] Invalid sched_group_energy for CPU3
[ 0.261690] Invalid sched_group_energy for Cluster3
[ 0.266538] Invalid sched_group_energy for CPU2
[ 0.271045] Invalid sched_group_energy for Cluster2
[ 0.275897] Invalid sched_group_energy for CPU1
[ 0.280405] Invalid sched_group_energy for Cluster1
[ 0.285257] Invalid sched_group_energy for CPU0
[ 0.289765] Invalid sched_group_energy for Cluster0
[ 0.295799] devtmpfs: initialized
[ 0.609268] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.613396] futex hash table entries: 1024 (order: 5, 131072 bytes)
[ 0.621001] atomic64_test: passed
[ 0.622899] pinctrl core: initialized pinctrl subsystem
[ 0.633717] NET: Registered protocol family 16
[ 0.636849] dump_class_init,857, success
[ 0.653785] cpuidle: using governor menu
[ 0.656469] sunxi iommu: irq = 7
[ 0.657423] vdso: 2 pages (1 code @ ffffff80087a6000, 1 data @ ffffff8008a84000)
[ 0.663960] DMA: preallocated 256 KiB pool for atomic allocations
[ 0.681523] sun50iw10p1-r-pinctrl r_pio: initialized sunXi PIO driver
[ 0.762065] sun50iw10p1-pinctrl pio: initialized sunXi PIO driver
[ 0.776020] iommu: Adding device 1c0e000.ve to group 0
[ 0.800477] iommu: Adding device soc@03000000:disp1@1 to group 0
[ 0.802980] iommu: Adding device 6000000.disp to group 0
[ 0.807498] iommu: Adding device 6400000.eink to group 0
[ 0.815522] iommu: Adding device 6480000.g2d to group 0
[ 0.931682] pwm module init!
[ 0.944424] sunxi-pm debug v3.10
[ 0.950156] SCSI subsystem initialized
[ 0.951699] usbcore: registered new interface driver usbfs
[ 0.954097] usbcore: registered new interface driver hub
[ 0.959307] usbcore: registered new device driver usb
[ 0.964994] sunxi_i2c_adap_init()2649 - init
[ 0.969473] sunxi_i2c_probe()2372 - [i2c6] twi_drv_used = 0
[ 0.973863] sunxi_i2c_probe()2379 - [i2c6] twi_pkt_interval = 0
[ 0.979758] twi6 supply twi not found, using dummy regulator
[ 0.985637] twi_request_gpio()458 - [i2c6] init name: (null)
[ 0.999697] axp20x-i2c 6-0034: AXP20x variant AXP2202 found
[ 1.020862] axp2101-regulator axp2101-regulator.0: Setting DCDC frequency for unsupported AXP variant
[ 1.024459] axp2101-regulator axp2101-regulator.0: Error setting dcdc frequency: -22
[ 1.040304] random: fast init done
[ 1.111274] axp20x-i2c 6-0034: AXP20X driver loaded
[ 1.112601] sunxi_i2c_probe()2372 - [i2c0] twi_drv_used = 0
[ 1.116068] sunxi_i2c_probe()2379 - [i2c0] twi_pkt_interval = 0
[ 1.122019] twi0 supply twi not found, using dummy regulator
[ 1.127860] twi_request_gpio()458 - [i2c0] init name: (null)
[ 1.135301] sunxi_i2c_probe()2372 - [i2c2] twi_drv_used = 0
[ 1.138801] sunxi_i2c_probe()2379 - [i2c2] twi_pkt_interval = 0
[ 1.145373] twi_request_gpio()458 - [i2c2] init name: (null)
[ 1.151702] media: Linux media interface: v0.10
[ 1.155085] Linux video capture interface: v2.00
[ 1.161629] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[ 1.166936] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[ 1.173310] ion_parse_dt_heap_common: id 6 type 6 name secure align 1000
[ 1.180336] ion_heap_create: Invalid heap type 6
[ 1.185011] Advanced Linux Sound Architecture Driver Initialized.
[ 1.193473] Bluetooth: Core ver 2.22
[ 1.193674] NET: Registered protocol family 31
[ 1.197991] Bluetooth: HCI device and connection manager initialized
[ 1.204340] Bluetooth: HCI socket layer initialized
[ 1.209190] Bluetooth: L2CAP socket layer initialized
[ 1.214303] Bluetooth: SCO socket layer initialized
[ 1.223781] input: sunxi-keyboard as /devices/virtual/input/input0
[ 1.226350] clocksource: Switched to clocksource arch_sys_counter
[ 1.287844] udc_init,0
[ 1.292110] NET: Registered protocol family 2
[ 1.318870] TCP established hash table entries: 16 (order: -5, 128 bytes)
[ 1.320033] TCP bind hash table entries: 16 (order: -4, 256 bytes)
[ 1.326201] TCP: Hash tables configured (established 16 bind 16)
[ 1.332301] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 1.337992] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 1.344927] NET: Registered protocol family 1
[ 1.350121] Trying to unpack rootfs image as initramfs...
[ 1.354873] rootfs image is not initramfs (junk in compressed archive); looks like an initrd
[ 1.371125] workingset: timestamp_bits=61 max_order=18 bucket_order=0
[ 1.469244] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.471411] exFAT: file-system version 5.8-2arter97
[ 1.476269] ntfs: driver 2.1.32 [Flags: R/W].
[ 1.483480] fuse init (API version 7.26)
[ 1.490875] io scheduler noop registered
[ 1.490920] io scheduler deadline registered
[ 1.495460] io scheduler cfq registered (default)
[ 1.506215] misc dump reg init
[ 1.509463] G2D: Module initialized.major:249
[ 1.510097] sunxi_led_probe()2833 - start
[ 1.512284] sunxi_get_str_of_property()1562 - failed to get the string of propname led_regulator!
[ 1.569263] sunxi_led_probe()2937 - finish
[ 1.569827] [DISP]disp_module_init
[ 1.572632] disp soc@03000000:disp1@1: unable to map de registers
[ 1.577662] disp: probe of soc@03000000:disp1@1 failed with error -22
[ 1.584905] [DISP] disp_init,line:2227:
[ 1.587294] smooth display screen:0 type:1 mode:4
[ 1.625841] display_fb_request,fb_id:0
[ 1.632195] TRIMUI disp rotate:3
[ 1.640947] [DISP] lcd_clk_config,line:663:
[ 1.640991] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000)
[ 1.640991] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
[ 1.643586] [DISP]disp_module_init finish
[ 1.683672] uart uart0: get regulator failed
[ 1.684572] uart uart0: uart0 error to get fifo size property
[ 1.688251] uart0: ttyS0 at MMIO 0x5000000 (irq = 348, base_baud = 1500000) is a SUNXI
[ 1.695953] sw_console_?[ 1.703937] console [ttyS0] enabled
[ 1.703937] console [ttyS0] enabled
[ 1.707942] bootconsole [earlycon0] disabled
[ 1.707942] bootconsole [earlycon0] disabled
[ 1.718530] uart uart1: get regulator failed
[ 1.725232] uart1 supply uart not found, using dummy regulator
[ 1.732232] uart uart1: uart1 error to get fifo size property
[ 1.738891] uart1: ttyS1 at MMIO 0x5000400 (irq = 349, base_baud = 1500000) is a SUNXI
[ 1.749783] uart uart3: get regulator failed
[ 1.754644] uart3 supply uart not found, using dummy regulator
[ 1.761620] uart uart3: uart3 error to get fifo size property
[ 1.768261] uart3: ttyS3 at MMIO 0x5000c00 (irq = 350, base_baud = 1500000) is a SUNXI
[ 1.779156] uart uart4: get regulator failed
[ 1.784016] uart4 supply uart not found, using dummy regulator
[ 1.790997] uart uart4: uart4 error to get fifo size property
[ 1.797653] uart4: ttyS4 at MMIO 0x5001000 (irq = 351, base_baud = 1500000) is a SUNXI
[ 1.810337] [drm] Initialized
[ 1.814574] Unable to detect cache hierarchy for CPU 0
[ 1.872187] brd: module loaded
[ 1.909124] loop: module loaded
[ 1.912995] [NAND][NE] Not found valid nand node on dts
[ 1.919384] sunxi-bt soc@03000000:bt@0: bt_power_num (1)
[ 1.925464] sunxi-bt soc@03000000:bt@0: bt io voltage (3300000)
[ 1.932160] sunxi-bt soc@03000000:bt@0: bt_power_name (axp2202-bldo1)
[ 1.939438] sunxi-bt soc@03000000:bt@0: io_regulator_name (axp2202-aldo3)
[ 1.947133] sunxi-bt soc@03000000:bt@0: request pincrtl handle for device [soc@03000000:bt@0] failed
[ 1.957486] sunxi-bt soc@03000000:bt@0: bt_rst gpio=354 mul-sel=1 pull=-1 drv_level=-1 data=0
[ 1.967529] sunxi-bt soc@03000000:bt@0: clk_name ()
[ 1.973103] sunxi-bt soc@03000000:bt@0: clk not config
[ 1.980639] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
[ 1.986927] sunxi-wlan soc@03000000:wlan@0: wlan io voltage (3300000)
[ 1.994191] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (1)
[ 2.000789] sunxi-wlan soc@03000000:wlan@0: wlan_power_name (axp2202-bldo1)
[ 2.008647] sunxi-wlan soc@03000000:wlan@0: io_regulator_name (axp2202-aldo3)
[ 2.016816] sunxi-wlan soc@03000000:wlan@0: request pincrtl handle for device [soc@03000000:wlan@0] failed
[ 2.027746] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=357 mul-sel=1 pull=-1 drv_level=-1 data=0
[ 2.038560] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
[ 2.045634] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=358 mul-sel=6 pull=-1 drv_level=-1 data=0
[ 2.056731] sunxi-wlan soc@03000000:wlan@0: wakeup source is disabled!
[ 2.064098] sunxi-wlan soc@03000000:wlan@0: clk_name ()
[ 2.074264] libphy: Fixed MDIO Bus: probed
[ 2.079067] tun: Universal TUN/TAP device driver, 1.6
[ 2.084763] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[ 2.093161] PPP generic driver version 2.4.2
[ 2.098912] PPP BSD Compression module registered
[ 2.104236] PPP Deflate Compression module registered
[ 2.109952] PPP MPPE Compression module registered
[ 2.115356] NET: Registered protocol family 24
[ 2.120686] usbcore: registered new interface driver rtl8150
[ 2.127411] usbcore: registered new interface driver r8152
[ 2.133833] usbcore: registered new interface driver lan78xx
[ 2.140440] usbcore: registered new interface driver ipheth
[ 2.146718] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.154571] get ehci0-controller, regulator_io is no nocare
[ 2.160848] get ehci0-controller wakeup-source is fail.
[ 2.167138] sunxi ehci0-controller don't init wakeup source
[ 2.173425] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xffffff8008c145f0, 0x:ffffff8008c3b000, irq_no:164
[ 2.187128] [sunxi-ehci0]: Not init ehci0
[ 2.191896] get ehci1-controller, regulator_io is no nocare
[ 2.198174] get ehci1-controller wakeup-source is fail.
[ 2.204246] sunxi ehci1-controller don't init wakeup source
[ 2.210528] [sunxi-ehci1]: probe, pdev->name: 5200000.ehci1-controller, sunxi_ehci: 0xffffff8008c14d10, 0x:ffffff8008d15000, irq_no:166
[ 2.225741] sunxi-ehci 5200000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.236013] sunxi-ehci 5200000.ehci1-controller: new USB bus registered, assigned bus number 1
[ 2.246466] sunxi-ehci 5200000.ehci1-controller: irq 358, io mem 0x00000000
[ 2.266373] sunxi-ehci 5200000.ehci1-controller: USB 0.0 started, EHCI 1.00
[ 2.278070] hub 1-0:1.0: USB hub found
[ 2.282416] hub 1-0:1.0: 1 port detected
[ 2.289560] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.297082] get ohci0-controller, regulator_io is no nocare
[ 2.303381] get ohci0-controller wakeup-source is fail.
[ 2.309661] sunxi ohci0-controller don't init wakeup source
[ 2.316026] ohci0-controller get usb clk_hosc failed.
[ 2.321742] ohci0-controller get usb clk_losc clk failed.
[ 2.327827] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xffffff8008c14980
[ 2.338308] [sunxi-ohci0]: Not init ohci0
[ 2.343051] get ohci1-controller, regulator_io is no nocare
[ 2.349336] get ohci1-controller wakeup-source is fail.
[ 2.355432] sunxi ohci1-controller don't init wakeup source
[ 2.361871] [sunxi-ohci1]: probe, pdev->name: 5200000.ohci1-controller, sunxi_ohci: 0xffffff8008c150a0
[ 2.372718] sunxi-ohci 5200000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[ 2.382582] sunxi-ohci 5200000.ohci1-controller: new USB bus registered, assigned bus number 2
[ 2.392563] sunxi-ohci 5200000.ohci1-controller: irq 359, io mem 0x00000000
[ 2.466091] hub 2-0:1.0: USB hub found
[ 2.470441] hub 2-0:1.0: 1 port detected
[ 2.477684] usbcore: registered new interface driver uas
[ 2.484070] usbcore: registered new interface driver usb-storage
[ 2.491038] usbcore: registered new interface driver ums-alauda
[ 2.497888] usbcore: registered new interface driver ums-cypress
[ 2.504875] usbcore: registered new interface driver ums-datafab
[ 2.511829] usbcore: registered new interface driver ums_eneub6250
[ 2.518970] usbcore: registered new interface driver ums-freecom
[ 2.525927] usbcore: registered new interface driver ums-isd200
[ 2.532800] usbcore: registered new interface driver ums-jumpshot
[ 2.539870] usbcore: registered new interface driver ums-karma
[ 2.546626] usbcore: registered new interface driver ums-onetouch
[ 2.553806] usbcore: registered new interface driver ums-realtek
[ 2.560774] usbcore: registered new interface driver ums-sddr09
[ 2.567630] usbcore: registered new interface driver ums-sddr55
[ 2.574503] usbcore: registered new interface driver ums-usbat
[ 2.581805] usbcore: registered new interface dr?
@acmeplus
Copy link
Author

Boot into u-boot from SDCARD

[202]BOOT0 commit : 01e601494d
[205]set pll start
[207]periph0 has been enabled
[210]set pll end
[212]PL gpio voltage : 1.8V 
[214][pmu]: bus read error
[217]unknow PMU
[219][pmu]: bus read error
[222]PMU: AXP2202
[225]TCS: TCS4838
[234]vaild para:1  select dram para0
[237]board init ok, set sys_vol to 940mv!
[262]DRAM BOOT DRIVE INFO: V0.696
[265]the chip id is 0x8000
[268]the chip id is 0x8000
[270]the chip id is 0x8000
[273]the chip id is 0x8000
[276]the chip id is 0x8000
[278]chip id check OK
[282]DRAM_VCC set to 1100 mv
[305][AUTO DEBUG]32bit,1 ranks training success!
[346][AUTO DEBUG]default config,dram_clk=792 ,mtest fail
[451][AUTO DEBUG]default config,dram_clk=696 ,mtest pass
[843][AUTO DEBUG]13-37,24,0x19 7-28,21,0x11 13-33,20,0x17 16-40,24,0x1c
       [AUTO DEBUG]4-28,24,0x10 5-27,22,0x10 6-29,23,0x11 4-29,25,0x10
[957][AUTO DEBUG]after escan,dram_tpr11 = 1c171119,dram_tpr12 = 10111010 
[1433][AUTO DEBUG]16-34,18,0x19 10-26,16,0x12 15-30,15,0x16 18-37,19,0x1b
       [AUTO DEBUG]9-27,18,0x12 10-27,17,0x12 11-29,18,0x14 9-29,20,0x13
[1543][AUTO DEBUG]after escan,dram_tpr11 = 1b161219,dram_tpr12 = 13141212 
[1550]DRAM CLK =792 MHZ
[1553]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[1563]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, tpr13 = 7521
[1575]DRAM simple test OK.
[1577]dram size =1024
[1580]chipid = 54408000
[1582]nsi init ok 2020-4-7
[1586]card no is 0
[1587]sdcard 0 line count 4
[1590][mmc]: mmc driver ver 2020-05-25 09:40-202007019516
[1601][mmc]: Wrong media type 0x0
[1604][mmc]: ***Try SD card 0***
[1624]mmc_read_info 748:region magic is not right, retry more time 0
[1642]mmc_read_info 748:region magic is not right, retry more time 0
[1659]mmc_read_info 748:region magic is not right, retry more time 0
[1676]mmc_read_info 748:region magic is not right, go err 0
[1682]dump info registers:[1685]
0x2df4c : [1686]0 [1687]0 [1688]0 [1689]0 [1689]
[1690][mmc]: RMCA FAIL!
[1692][mmc]: mmc read timing info fail
[1696][mmc]: sdc0 spd mode error, 2
[1700][mmc]: force 25m
[1702][mmc]: bias 0
[1704][mmc]: mmc 0 bias 0
[1708][mmc]: HSSDR52/SDR25 4 bit
[1711][mmc]: 25000000 Hz
[1713][mmc]: 488960 MB
[1716][mmc]: ***SD/MMC 0 init OK!!!***
[1843]Loading boot-pkg Succeed(index=0).
[1847]Entry_name        = u-boot
[1855]Entry_name        = monitor
[1858]Entry_name        = scp
[1862]set arisc reset to assert state
[1871]set arisc reset to de-assert state
[1875]Entry_name        = dtb
[1879]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 (Oct 16 2023 - 22:35:10 +0800) Allwinner Technology

[01.965]CPU:   Allwinner Family
[01.968]Model: sun50iw10
I2C:   ready
[02.094]DRAM:  1 GiB
[02.097]Relocation Offset is: 357fa000
[02.135]secure enable bit: 0
[02.138]PMU: AXP2202
[02.140]PMU: pmu_axp2202 found
[02.143]BMU: AXP2202
[02.145]BMU: bmu_axp2202 found
FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
[02.164]gpio_bias, pc_bias: 1800, pc_supply: not set  
[02.169]gpio_bias, pl_bias: 3300, pl_supply: aldo3_vol
[02.176]dcdc1_vol = 940, onoff=1
[02.181]aldo1_vol = 1800, onoff=1
[02.185]aldo2_vol = 3300, onoff=1
[02.190]aldo3_vol need to wait stable!
[02.213]GPIOL change bias done!
[02.216]aldo3_vol = 3300, onoff=1
[02.220]aldo4_vol = 1800, onoff=1
[02.225]bldo1_vol = 0, onoff=0
[02.229]bldo2_vol = 1800, onoff=1
[02.233]bldo3_vol = 3300, onoff=1
[02.238]bldo4_vol = 1800, onoff=1
[02.243]cldo1_vol = 1800, onoff=1
[02.247]cldo3_vol = 3300, onoff=1
[02.252]cldo4_vol = 3300, onoff=1
[02.256]cpusldo_vol = 900, onoff=1
bias_name:pc_bias        bias_vol:1800
bias_name:pl_bias        bias_vol:3300
[02.269]bat_vol=10, ratio=0
[02.272]safe_vol=3400, safe_ratio=1
[02.275]TCS: TCS_probe
[02.277]TCS: TCS4838
[02.280]PTCS4838:reg0:df
[02.283]PTCS4838:reg0:df
[02.286]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[02.295]gic: sec monitor mode
[02.298]sunxi flash type@1 not support fast burn key
[02.302]flash init start
[02.305]workmode = 0,storage type = 1
[02.308][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00
[02.314][mmc]: get sdc_type fail and use default host:tm1.
[02.326][mmc]: Using default timing para
[02.329][mmc]: SUNXI SDMMC Controller Version:0x50300
[02.347][mmc]: card_caps:0x3000000a
[02.350][mmc]: host_caps:0x3000003f
[02.354]sunxi flash init ok
[02.356]non secure, do not need update backup boot0 to toc0
[02.362]init_clocks:finish
[02.364]drv_disp_init
[02.400]get flash lcd idx 0
request pwm success, pwm0:pwm0:0x300a000.
[02.412]drv_disp_init finish
[02.415]boot_gui_init:start
[02.418]set disp.dev2_output_type fail. using defval=0
[02.423]disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(150000000)
     clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
[02.448]enable power cldo4, ret=0
[02.461]enable power cldo1, ret=0
[02.818]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[02.826]boot_gui_init:finishuboot->>>OTM1289A:lcd panel init

TRIMUI boot reason=usb
partno erro : can't find partition bootloader
54 bytes read in 1 ms (52.7 KiB/s)
[03.038]bmp_name=bootlogo.bmp size 921738
[03.068]soc ic_ver:0x6, qa_val:0x0, markid:0x8000 dclk[0-9999] display_cfg_flag:0
921738 bytes read in 42 ms (20.9 MiB/s)
[03.128]LCD open finish
[03.276]Loading Environment from SUNXI_FLASH... Can't find env-redund partition
*** Warning - no device, using default environment

Failed (-19)
[03.296]no secure os for keybox operation
[03.300]try to burn key
[03.303]read item0 copy0
[03.306]Item0 (Map) magic is bad
[03.308]the secure storage item0 copy0 magic is bad
[03.313]Item0 (Map) magic is bad
[03.316]the secure storage item0 copy1 magic is bad
[03.321]Item0 (Map) magic is bad
[03.324]the secure storage map is empty
[03.327]no item name key_burned_flag in the map
[03.331]sunxi secure storage has no flag
[03.335]usb burn from boot
delay time 0
weak:otg_phy_config
[03.346]usb prepare ok
[03.729]usb sof ok
[03.731]usb probe ok
[03.733]usb setup ok
set address 0x4
set address 0x4 ok
[06.740]do_burn_from_boot usb : have no handshake
[06.744][ARISC] :arisc initialize
[06.749][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [7f89bd48, 7f89c060]
[06.761][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
[06.787][ARISC] :sunxi-arisc driver startup succeeded
cann't get the boot_base from the env
partno erro : can't find partition private
[06.803]update part info
[06.806]key 0
[06.809]no misc partition is found
[06.812]update bootcmd
[06.814]serial num is: 1c000c3157404952199
[06.821](weak)update dtb dram start
[06.843]update dtb dram  end
[06.850]update dts
sunxi_key_read_one
g_lradc_value=0
Hit any key to stop autoboot:  0 
## Error: "distro_bootcmd

@acmeplus
Copy link
Author

Boot with kernel

[242]BOOT0 commit : 01e601494d
[245]set pll start
[247]periph0 has been enabled
[251]set pll end
[252]PL gpio voltage : 1.8V 
[255][pmu]: bus read error
[258]unknow PMU
[260][pmu]: bus read error
[262]PMU: AXP2202
[266]TCS: TCS4838
[274]vaild para:1  select dram para0
[278]board init ok, set sys_vol to 940mv!
[303]DRAM BOOT DRIVE INFO: V0.696
[306]the chip id is 0x8000
[308]the chip id is 0x8000
[311]the chip id is 0x8000
[314]the chip id is 0x8000
[316]the chip id is 0x8000
[319]chip id check OK
[323]DRAM_VCC set to 1100 mv
[346][AUTO DEBUG]32bit,1 ranks training success!
[386][AUTO DEBUG]default config,dram_clk=792 ,mtest fail
[492][AUTO DEBUG]default config,dram_clk=696 ,mtest pass
[883][AUTO DEBUG]13-37,24,0x19 7-28,21,0x11 12-33,21,0x16 16-40,24,0x1c
       [AUTO DEBUG]4-28,24,0x10 5-27,22,0x10 6-29,23,0x11 4-29,25,0x10
[997][AUTO DEBUG]after escan,dram_tpr11 = 1c161119,dram_tpr12 = 10111010 
[1479][AUTO DEBUG]16-34,18,0x19 10-26,16,0x12 15-30,15,0x16 18-37,19,0x1b
       [AUTO DEBUG]9-27,18,0x12 10-27,17,0x12 11-29,18,0x14 9-29,20,0x13
[1589][AUTO DEBUG]after escan,dram_tpr11 = 1b161219,dram_tpr12 = 13141212 
[1596]DRAM CLK =792 MHZ
[1599]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[1609]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, tpr13 = 7521
[1621]DRAM simple test OK.
[1623]dram size =1024
[1625]chipid = 54408000
[1628]nsi init ok 2020-4-7
[1631]card no is 0
[1633]sdcard 0 line count 4
[1636][mmc]: mmc driver ver 2020-05-25 09:40-202007019516
[1647][mmc]: Wrong media type 0x0
[1650][mmc]: ***Try SD card 0***
[1670]mmc_read_info 748:region magic is not right, retry more time 0
[1687]mmc_read_info 748:region magic is not right, retry more time 0
[1705]mmc_read_info 748:region magic is not right, retry more time 0
[1722]mmc_read_info 748:region magic is not right, go err 0
[1728]dump info registers:[1730]
0x2df4c : [1732]0 [1733]0 [1734]0 [1734]0 [1735]
[1736][mmc]: RMCA FAIL!
[1738][mmc]: mmc read timing info fail
[1742][mmc]: sdc0 spd mode error, 2
[1746][mmc]: force 25m
[1748][mmc]: bias 0
[1750][mmc]: mmc 0 bias 0
[1754][mmc]: HSSDR52/SDR25 4 bit
[1757][mmc]: 25000000 Hz
[1759][mmc]: 488960 MB
[1762][mmc]: ***SD/MMC 0 init OK!!!***
[1889]Loading boot-pkg Succeed(index=0).
[1893]Entry_name        = u-boot
[1901]Entry_name        = monitor
[1904]Entry_name        = scp
[1908]set arisc reset to assert state
[1917]set arisc reset to de-assert state
[1921]Entry_name        = dtb
[1925]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 (Oct 16 2023 - 22:35:10 +0800) Allwinner Technology

[02.011]CPU:   Allwinner Family
[02.014]Model: sun50iw10
I2C:   ready
[02.140]DRAM:  1 GiB
[02.143]Relocation Offset is: 357fa000
[02.181]secure enable bit: 0
[02.184]PMU: AXP2202
[02.186]PMU: pmu_axp2202 found
[02.189]BMU: AXP2202
[02.191]BMU: bmu_axp2202 found
FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
[02.210]gpio_bias, pc_bias: 1800, pc_supply: not set  
[02.215]gpio_bias, pl_bias: 3300, pl_supply: aldo3_vol
[02.222]dcdc1_vol = 940, onoff=1
[02.227]aldo1_vol = 1800, onoff=1
[02.231]aldo2_vol = 3300, onoff=1
[02.235]aldo3_vol need to wait stable!
[02.259]GPIOL change bias done!
[02.262]aldo3_vol = 3300, onoff=1
[02.266]aldo4_vol = 1800, onoff=1
[02.271]bldo1_vol = 0, onoff=0
[02.275]bldo2_vol = 1800, onoff=1
[02.279]bldo3_vol = 3300, onoff=1
[02.284]bldo4_vol = 1800, onoff=1
[02.289]cldo1_vol = 1800, onoff=1
[02.293]cldo3_vol = 3300, onoff=1
[02.298]cldo4_vol = 3300, onoff=1
[02.302]cpusldo_vol = 900, onoff=1
bias_name:pc_bias        bias_vol:1800
bias_name:pl_bias        bias_vol:3300
[02.315]bat_vol=379, ratio=0
[02.318]safe_vol=3400, safe_ratio=1
[02.321]TCS: TCS_probe
[02.323]TCS: TCS4838
[02.326]PTCS4838:reg0:df
[02.329]PTCS4838:reg0:df
[02.332]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[02.341]gic: sec monitor mode
[02.344]sunxi flash type@1 not support fast burn key
[02.348]flash init start
[02.351]workmode = 0,storage type = 1
[02.354][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00
[02.360][mmc]: get sdc_type fail and use default host:tm1.
[02.372][mmc]: Using default timing para
[02.375][mmc]: SUNXI SDMMC Controller Version:0x50300
[02.393][mmc]: card_caps:0x3000000a
[02.396][mmc]: host_caps:0x3000003f
[02.400]sunxi flash init ok
[02.402]non secure, do not need update backup boot0 to toc0
[02.408]init_clocks:finish
[02.410]drv_disp_init
[02.446]get flash lcd idx 0
request pwm success, pwm0:pwm0:0x300a000.
[02.458]drv_disp_init finish
[02.461]boot_gui_init:start
[02.464]set disp.dev2_output_type fail. using defval=0
[02.469]disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(150000000)
     clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
[02.494]enable power cldo4, ret=0
[02.507]enable power cldo1, ret=0
[02.864]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[02.872]boot_gui_init:finishuboot->>>OTM1289A:lcd panel init

TRIMUI boot reason=usb
partno erro : can't find partition bootloader
54 bytes read in 2 ms (26.4 KiB/s)
[03.085]bmp_name=bootlogo.bmp size 2073738
[03.114]soc ic_ver:0x6, qa_val:0x0, markid:0x8000 dclk[0-9999] display_cfg_flag:0
[03.174]LCD open finish
2073738 bytes read in 92 ms (21.5 MiB/s)
[03.372]Loading Environment from SUNXI_FLASH... Can't find env-redund partition
*** Warning - no device, using default environment

Failed (-19)
[03.392]no secure os for keybox operation
[03.396]try to burn key
[03.399]read item0 copy0
[03.402]Item0 (Map) magic is bad
[03.405]the secure storage item0 copy0 magic is bad
[03.410]Item0 (Map) magic is bad
[03.413]the secure storage item0 copy1 magic is bad
[03.417]Item0 (Map) magic is bad
[03.420]the secure storage map is empty
[03.424]no item name key_burned_flag in the map
[03.428]sunxi secure storage has no flag
[03.431]usb burn from boot
delay time 0
weak:otg_phy_config
[03.442]usb prepare ok
[03.853]usb sof ok
[03.855]usb probe ok
[03.857]usb setup ok
set address 0x4
set address 0x4 ok
[06.864]do_burn_from_boot usb : have no handshake
[06.868][ARISC] :arisc initialize
[06.873][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [7f89bd48, 7f89c060]
[06.885][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
[06.911][ARISC] :sunxi-arisc driver startup succeeded
cann't get the boot_base from the env
partno erro : can't find partition private
[06.927]update part info
[06.930]key 0
[06.934]no misc partition is found
[06.936]update bootcmd
[06.939]serial num is: 1c000c3157404952199
[06.946](weak)update dtb dram start
[06.967]update dtb dram  end
[06.974]update dts
sunxi_key_read_one
g_lradc_value=0
Hit any key to stop autoboot:  0 
## Error: "distro_bootcmd" not defined
=> setenv bootargs earlycon earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=0 console=tty0 console=ttyS0,115200 rootwait root=/dev/mmcblk0p3 init=/st
=> sunxi_flash read 45000000 boot;bootm 45000000
[12.622]partinfo: name boot, start 0x12000, size 0xa000
[13.253]no vendor_boot partition is found
[13.259]android.hardware = sun50iw10p1
Android's image name: sun50i_arm64
[13.347]Starting kernel ...

[13.350][mmc]: MMC Device 2 not found
[13.353][mmc]: mmc 2 not find, so not exit
[    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) ) #505 SMP PREEMPT Thu Nov 16 07:34:243
[    0.000000] Boot CPU: AArch64 Processor [410fd034]
[    0.000000] Unknown earlyprintk arguments: ttyS0,115200
[    0.000000] disp reserve base 0x7b8252c0 ,size 0x384000
[    0.000000] Unknown earlyprintk arguments: ttyS0,115200
[    0.000000] cma: Reserved 16 MiB at 0x000000007f000000
[    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: earlycon earlyprintk=ttyS0,115200 loglevel=8 initcall_debug=0 console=tty0 console=ttyS0,115200 rootwait root=/dev/t
[    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: 14236(86%)
[    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: 977988K/1048576K available (7166K kernel code, 1330K rwdata, 2412K rodata, 448K init, 363K bss, 54204K reserved, 16384K cma-rese)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     modules : 0xffffff8000000000 - 0xffffff8008000000   (   128 MB)
[    0.000000]     vmalloc : 0xffffff8008000000 - 0xffffffbebfff0000   (   250 GB)
[    0.000000]       .text : 0xffffff8008080000 - 0xffffff8008780000   (  7168 KB)
[    0.000000]     .rodata : 0xffffff8008780000 - 0xffffff80089e0000   (  2432 KB)
[    0.000000]       .init : 0xffffff80089e0000 - 0xffffff8008a50000   (   448 KB)
[    0.000000]       .data : 0xffffff8008a50000 - 0xffffff8008b9c808   (  1331 KB)
[    0.000000]        .bss : 0xffffff8008b9c808 - 0xffffff8008bf76fc   (   364 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.000240] Console: colour dummy device 80x25
[    0.001582] console [tty0] enabled
[    0.001616] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
[    0.001668] pid_max: default: 32768 minimum: 301
[    0.002158] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.002190] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.005440] sched-energy: CPU device node has no sched-energy-costs
[    0.005491] Invalid sched_group_energy for CPU0
[    0.005520] CPU0: update cpu_capacity 1024
[    0.015128] ASID allocator initialised with 32768 entries
[    0.071361] Detected VIPT I-cache on CPU1
[    0.071416] Invalid sched_group_energy for CPU1
[    0.071418] CPU1: update cpu_capacity 1024
[    0.071421] CPU1: Booted secondary processor [410fd034]
[    0.099410] Detected VIPT I-cache on CPU2
[    0.099440] Invalid sched_group_energy for CPU2
[    0.099442] CPU2: update cpu_capacity 1024
[    0.099445] CPU2: Booted secondary processor [410fd034]
[    0.127482] Detected VIPT I-cache on CPU3
[    0.127507] Invalid sched_group_energy for CPU3
[    0.127510] CPU3: update cpu_capacity 1024
[    0.127513] CPU3: Booted secondary processor [410fd034]
[    0.127587] Brought up 4 CPUs
[    0.127898] SMP: Total of 4 processors activated.
[    0.127930] CPU features: detected feature: 32-bit EL0 Support
[    0.127961] CPU features: detected feature: Kernel page table isolation (KPTI)
[    0.131007] CPU: All CPU(s) started at EL1
[    0.131049] alternatives: patching kernel code
[    0.131599] Invalid sched_group_energy for CPU3
[    0.131632] Invalid sched_group_energy for Cluster3
[    0.131661] Invalid sched_group_energy for CPU2
[    0.131690] Invalid sched_group_energy for Cluster2
[    0.131719] Invalid sched_group_energy for CPU1
[    0.131748] Invalid sched_group_energy for Cluster1
[    0.131777] Invalid sched_group_energy for CPU0
[    0.131806] Invalid sched_group_energy for Cluster0
[    0.133024] devtmpfs: initialized
[    0.442342] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.442417] futex hash table entries: 1024 (order: 5, 131072 bytes)
[    0.443326] atomic64_test: passed
[    0.443361] pinctrl core: initialized pinctrl subsystem
[    0.448916] NET: Registered protocol family 16
[    0.451931] dump_class_init,857, success
[    0.468984] cpuidle: using governor menu
[    0.471615] sunxi iommu: irq = 7
[    0.472612] vdso: 2 pages (1 code @ ffffff8008786000, 1 data @ ffffff8008a54000)
[    0.473957] DMA: preallocated 256 KiB pool for atomic allocations
[    0.486806] sun50iw10p1-r-pinctrl r_pio: initialized sunXi PIO driver
[    0.566334] sun50iw10p1-pinctrl pio: initialized sunXi PIO driver
[    0.579901] iommu: Adding device 1c0e000.ve to group 0
[    0.603283] iommu: Adding device soc@03000000:disp1@1 to group 0
[    0.605428] iommu: Adding device 6000000.disp to group 0
[    0.606829] iommu: Adding device 6400000.eink to group 0
[    0.610955] iommu: Adding device 6480000.g2d to group 0
[    0.729034] pwm module init!
[    0.741667] sunxi-pm debug v3.10
[    0.747360] SCSI subsystem initialized
[    0.748912] usbcore: registered new interface driver usbfs
[    0.749289] usbcore: registered new interface driver hub
[    0.749592] usbcore: registered new device driver usb
[    0.750510] sunxi_i2c_adap_init()2649 - init
[    0.751766] sunxi_i2c_probe()2372 - [i2c6] twi_drv_used = 0
[    0.751804] sunxi_i2c_probe()2379 - [i2c6] twi_pkt_interval = 0
[    0.751848] twi6 supply twi not found, using dummy regulator
[    0.752134] twi_request_gpio()458 - [i2c6] init name: (null)
[    0.760908] axp20x-i2c 6-0034: AXP20x variant AXP2202 found
[    0.782079] axp2101-regulator axp2101-regulator.0: Setting DCDC frequency for unsupported AXP variant
[    0.782144] axp2101-regulator axp2101-regulator.0: Error setting dcdc frequency: -22
[    0.796742] random: fast init done
[    0.888076] axp20x-i2c 6-0034: AXP20X driver loaded
[    0.889403] sunxi_i2c_probe()2372 - [i2c0] twi_drv_used = 0
[    0.889446] sunxi_i2c_probe()2379 - [i2c0] twi_pkt_interval = 0
[    0.889523] twi0 supply twi not found, using dummy regulator
[    0.889797] twi_request_gpio()458 - [i2c0] init name: (null)
[    0.891856] sunxi_i2c_probe()2372 - [i2c2] twi_drv_used = 0
[    0.891896] sunxi_i2c_probe()2379 - [i2c2] twi_pkt_interval = 0
[    0.892578] twi_request_gpio()458 - [i2c2] init name: (null)
[    0.893967] media: Linux media interface: v0.10
[    0.894265] Linux video capture interface: v2.00
[    0.896554] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[    0.897301] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[    0.897975] ion_parse_dt_heap_common: id 6 type 6 name secure align 1000
[    0.898978] ion_heap_create: Invalid heap type 6
[    0.900027] Advanced Linux Sound Architecture Driver Initialized.
[    0.903286] Bluetooth: Core ver 2.22
[    0.903467] NET: Registered protocol family 31
[    0.903498] Bluetooth: HCI device and connection manager initialized
[    0.903564] Bluetooth: HCI socket layer initialized
[    0.903624] Bluetooth: L2CAP socket layer initialized
[    0.903793] Bluetooth: SCO socket layer initialized
[    0.908545] input: sunxi-keyboard as /devices/virtual/input/input0
[    0.909829] clocksource: Switched to clocksource arch_sys_counter
[    0.967066] get androidboot.mode fail
[    0.971328] NET: Registered protocol family 2
[    0.998381] TCP established hash table entries: 16 (order: -5, 128 bytes)
[    0.998439] TCP bind hash table entries: 16 (order: -4, 256 bytes)
[    0.998473] TCP: Hash tables configured (established 16 bind 16)
[    0.998637] UDP hash table entries: 256 (order: 1, 8192 bytes)
[    0.998681] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[    0.999463] NET: Registered protocol family 1
[    1.001037] Unpacking initramfs...
[    1.001128] Initramfs unpacking failed: junk in compressed archive
[    1.003105] Freeing initrd memory: 3204K
[    1.011667] workingset: timestamp_bits=61 max_order=18 bucket_order=0
[    1.108509] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.110515] exFAT: file-system version 5.8-2arter97
[    1.112513] ntfs: driver 2.1.32 [Flags: R/W].
[    1.117371] fuse init (API version 7.26)
[    1.124689] io scheduler noop registered
[    1.124731] io scheduler deadline registered
[    1.126779] io scheduler cfq registered (default)
[    1.135081] misc dump reg init
[    1.138134] G2D: Module initialized.major:249
[    1.138837] sunxi_led_probe()2833 - start
[    1.138930] sunxi_get_str_of_property()1562 - failed to get the string of propname led_regulator!
[    1.187348] sunxi_led_probe()2937 - finish
[    1.187914] [DISP]disp_module_init
[    1.189232] disp soc@03000000:disp1@1: unable to map de registers
[    1.189301] disp: probe of soc@03000000:disp1@1 failed with error -22
[    1.190610] [DISP] disp_init,line:2227:
[    1.190626] smooth display screen:0 type:1 mode:4
[    1.222962] display_fb_request,fb_id:0
[    1.232217] TRIMUI disp rotate:3
[    1.240868] [DISP] lcd_clk_config,line:663:
[    1.240891] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000)
[    1.240891]      clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
[    1.244020] [DISP]disp_module_init finish
[    1.283266] uart uart0: get regulator failed
[    1.284178] uart uart0: uart0 error to get fifo size property
[    1.284395] uart0: ttyS0 at MMIO 0x5000000 (irq = 348, base_baud = 1500000) is a SUNXI
[    1.284460] sw_console_setup()2047 - console setup baud 115200 parity n bits 8, flow n
[    2.463178] console [ttyS0] enabled
[    2.469450] uart uart1: get regulator failed
[    2.474436] uart1 supply uart not found, using dummy regulator
[    2.481559] uart uart1: uart1 error to get fifo size property
[    2.488271] uart1: ttyS1 at MMIO 0x5000400 (irq = 349, base_baud = 1500000) is a SUNXI
[    2.499156] uart uart3: get regulator failed
[    2.504056] uart3 supply uart not found, using dummy regulator
[    2.511094] uart uart3: uart3 error to get fifo size property
[    2.517772] uart3: ttyS3 at MMIO 0x5000c00 (irq = 350, base_baud = 1500000) is a SUNXI
[    2.528621] uart uart4: get regulator failed
[    2.533534] uart4 supply uart not found, using dummy regulator
[    2.540545] uart uart4: uart4 error to get fifo size property
[    2.547227] uart4: ttyS4 at MMIO 0x5001000 (irq = 351, base_baud = 1500000) is a SUNXI
[    2.559880] [drm] Initialized
[    2.564090] Unable to detect cache hierarchy for CPU 0
[    2.570107] [NAND][NE] Not found valid nand node on dts
[    2.576494] sunxi-bt soc@03000000:bt@0: bt_power_num (1)
[    2.582508] sunxi-bt soc@03000000:bt@0: bt io voltage (3300000)
[    2.589248] sunxi-bt soc@03000000:bt@0: bt_power_name (axp2202-bldo1)
[    2.596539] sunxi-bt soc@03000000:bt@0: io_regulator_name (axp2202-aldo3)
[    2.604270] sunxi-bt soc@03000000:bt@0: request pincrtl handle for device [soc@03000000:bt@0] failed
[    2.614651] sunxi-bt soc@03000000:bt@0: bt_rst gpio=354  mul-sel=1  pull=-1  drv_level=-1  data=0
[    2.624748] sunxi-bt soc@03000000:bt@0: clk_name ()
[    2.630345] sunxi-bt soc@03000000:bt@0: clk not config
[    2.637835] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
[    2.644158] sunxi-wlan soc@03000000:wlan@0: wlan io voltage (3300000)
[    2.651450] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (1)
[    2.658065] sunxi-wlan soc@03000000:wlan@0: wlan_power_name (axp2202-bldo1)
[    2.665946] sunxi-wlan soc@03000000:wlan@0: io_regulator_name (axp2202-aldo3)
[    2.674172] sunxi-wlan soc@03000000:wlan@0: request pincrtl handle for device [soc@03000000:wlan@0] failed
[    2.685141] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=357  mul-sel=1  pull=-1  drv_level=-1  data=0
[    2.696001] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
[    2.703124] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=358  mul-sel=6  pull=-1  drv_level=-1  data=0
[    2.714268] sunxi-wlan soc@03000000:wlan@0: wakeup source is disabled!
[    2.721665] sunxi-wlan soc@03000000:wlan@0: clk_name ()
[    2.731848] libphy: Fixed MDIO Bus: probed
[    2.736716] tun: Universal TUN/TAP device driver, 1.6
[    2.742437] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[    2.750920] PPP generic driver version 2.4.2
[    2.756723] PPP BSD Compression module registered
[    2.762069] PPP Deflate Compression module registered
[    2.767829] PPP MPPE Compression module registered
[    2.773255] NET: Registered protocol family 24
[    2.778637] usbcore: registered new interface driver rtl8150
[    2.785413] usbcore: registered new interface driver r8152
[    2.791864] usbcore: registered new interface driver lan78xx
[    2.798501] usbcore: registered new interface driver ipheth
[    2.804823] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.812707] get ehci0-controller, regulator_io is no nocare
[    2.819017] get ehci0-controller wakeup-source is fail.
[    2.825337] sunxi ehci0-controller don't init wakeup source
[    2.831655] [sunxi-ehci0]: probe, pdev->name: 5101000.ehci0-controller, sunxi_ehci: 0xffffff8008be3588, 0x:ffffff8008fd0000, irq_no:164
[    2.845414] [sunxi-ehci0]: Not init ehci0
[    2.850211] get ehci1-controller, regulator_io is no nocare
[    2.856524] get ehci1-controller wakeup-source is fail.
[    2.862630] sunxi ehci1-controller don't init wakeup source
[    2.868947] [sunxi-ehci1]: probe, pdev->name: 5200000.ehci1-controller, sunxi_ehci: 0xffffff8008be3ca8, 0x:ffffff8008fd8000, irq_no:166
[    2.884179] sunxi-ehci 5200000.ehci1-controller: SW USB2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.894517] sunxi-ehci 5200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    2.905054] sunxi-ehci 5200000.ehci1-controller: irq 358, io mem 0x00000000
[    2.925851] sunxi-ehci 5200000.ehci1-controller: USB 0.0 started, EHCI 1.00
[    2.937682] hub 1-0:1.0: USB hub found
[    2.942045] hub 1-0:1.0: 1 port detected
[    2.949189] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    2.956715] get ohci0-controller, regulator_io is no nocare
[    2.963042] get ohci0-controller wakeup-source is fail.
[    2.969372] sunxi ohci0-controller don't init wakeup source
[    2.975760] ohci0-controller get usb clk_hosc failed.
[    2.981518] ohci0-controller get usb clk_losc clk failed.
[    2.987637] [sunxi-ohci0]: probe, pdev->name: 5101000.ohci0-controller, sunxi_ohci: 0xffffff8008be3918
[    2.998168] [sunxi-ohci0]: Not init ohci0
[    3.002957] get ohci1-controller, regulator_io is no nocare
[    3.009258] get ohci1-controller wakeup-source is fail.
[    3.015375] sunxi ohci1-controller don't init wakeup source
[    3.021833] [sunxi-ohci1]: probe, pdev->name: 5200000.ohci1-controller, sunxi_ohci: 0xffffff8008be4038
[    3.032764] sunxi-ohci 5200000.ohci1-controller: SW USB2.0 'Open' Host Controller (OHCI) Driver
[    3.042688] sunxi-ohci 5200000.ohci1-controller: new USB bus registered, assigned bus number 2
[    3.053246] sunxi-ohci 5200000.ohci1-controller: irq 359, io mem 0x00000000
[    3.125706] hub 2-0:1.0: USB hub found
[    3.130071] hub 2-0:1.0: 1 port detected
[    3.137398] usbcore: registered new interface driver uas
[    3.143837] usbcore: registered new interface driver usb-storage
[    3.150863] usbcore: registered new interface driver ums-alauda
[    3.157760] usbcore: registered new interface driver ums-cypress
[    3.164764] usbcore: registered new interface driver ums-datafab
[    3.171749] usbcore: registered new interface driver ums_eneub6250
[    3.178941] usbcore: registered new interface driver ums-freecom
[    3.185952] usbcore: registered new interface driver ums-isd200
[    3.192843] usbcore: registered new interface driver ums-jumpshot
[    3.199937] usbcore: registered new interface driver ums-karma
[    3.206734] usbcore: registered new interface driver ums-onetouch
[    3.213997] usbcore: registered new interface driver ums-realtek
[    3.220991] usbcore: registered new interface driver ums-sddr09
[    3.227877] usbcore: registered new interface driver ums-sddr55
[    3.234787] usbcore: registered new interface driver ums-usbat
[    3.242145] usbcore: registered new interface driver usbserial
[    3.248958] usbcore: registered new interface driver usbserial_generic
[    3.256544] usbserial: USB Serial support registered for generic
[    3.263596] usbcore: registered new interface driver ch341
[    3.270026] usbserial: USB Serial support registered for ch341-uart
[    3.277318] usbcore: registered new interface driver cp210x
[    3.283846] usbserial: USB Serial support registered for cp210x
[    3.290775] usbcore: registered new interface driver cypress_m8
[    3.297688] usbserial: USB Serial support registered for DeLorme Earthmate USB
[    3.306063] usbserial: USB Serial support registered for HID->COM RS232 Adapter
[    3.314573] usbserial: USB Serial support registered for Nokia CA-42 V2 Adapter
[    3.323059] usbcore: registered new interface driver ftdi_sio
[    3.329763] usbserial: USB Serial support registered for FTDI USB Serial Device
[    3.338318] usbcore: registered new interface driver pl2303
[    3.344859] usbserial: USB Serial support registered for pl2303
[    3.351784] usbcore: registered new interface driver ti_usb_3410_5052
[    3.359273] usbserial: USB Serial support registered for TI USB 3410 1 port adapter
[    3.368169] usbserial: USB Serial support registered for TI USB 5052 2 port adapter
[    3.377012] usb_serial_number:20080411
[    3.383640] usbcore: registered new interface driver xpad
[    3.401392] input: axp2202-pek as /devices/platform/soc/twi6/i2c-6/6-0034/axp2101-pek.0/input/input1
[    3.413679] sunxi_gpadc_init,1891, success
[    3.421040] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[    3.428184] sunxi-rtc rtc: RTC enabled
[    3.432576] fix to cold boot, save boot reason
[    3.438650] i2c /dev entries driver
[    3.449294] serial: 0000004F7A
[    3.470098] usbcore: registered new interface driver uvcvideo
[    3.476600] USB Video Class driver (1.1.1)
[    3.481243] sunxi cedar version 0.1
[    3.485496] VE: install start!!!
[    3.485496] 
[    3.491097] VE: cedar-ve the get irq is 346
[    3.497112] VE: get debugfs_mpp_root is NULL, please check mpp
[    3.497112] 
[    3.505389] VE: sunxi ve debug register driver failed, maybe ok, please check
[    3.505389] 
[    3.515150] VE: install end!!!
[    3.515150] 
[    4.665055] axp2202_gpio_power: axp2202-gpio device is not configed
[    4.665055] 
[    4.680030] sunxi-wdt 30090a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[    4.689428] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903
[    4.696814] Bluetooth: HCI UART protocol H4 registered
[    4.702626] Bluetooth: HCI H4 protocol initialized
[    4.708090] Bluetooth: HCI UART protocol LL registered
[    4.713905] Bluetooth: HCI UART protocol Three-wire (H5) registered
[    4.721366] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07
[    4.729078] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1
[    4.735537] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1
[    4.742160] [XR_BT_LPM] bluesleep_probe: uart_index(1)
[    4.748408] bt_fdi debugfs_init
[    4.761671] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    4.771148] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    4.780605] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    4.790055] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    4.799509] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:uart0
[    4.808959] sun50iw10p1-pinctrl pio: expect_func as:uart0_jtag, but muxsel(3) is func:jtag0
[    4.819180] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.53 2021-05-31 11:18)
[    4.828394] sunxi-mmc sdc0: ***ctl-spec-caps*** 8
[    4.835219] sunxi-mmc sdc0: No vqmmc regulator found
[    4.840884] sunxi-mmc sdc0: No vdmmc regulator found
[    4.847599] sunxi-mmc sdc0: set host busy
[    4.852251] sunxi-mmc sdc0: Got CD GPIO
[    4.857588] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 23 width 1 timing LEGACY(SDR12) dt B
[    4.867947] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[    4.893853] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 23 width 1 timing LEGACY(SDR12) dt B
[    4.922374] sunxi-mmc sdc0: detmode:gpio irq
[    4.922401] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 23 width 1 timing LEGACY(SDR12) dt B
[    4.929357] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 23 width 1 timing LEGACY(SDR12) dt B
[    4.952408] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 23 width 1 timing LEGACY(SDR12) dt B
[    4.962808] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.53 2021-05-31 11:18)
[    4.962960] sunxi-mmc sdc1: ***ctl-spec-caps*** 8
[    4.963145] sunxi-mmc sdc1: No vmmc regulator found
[    4.963150] sunxi-mmc sdc1: No vqmmc regulator found
[    4.963155] sunxi-mmc sdc1: No vdmmc regulator found
[    4.963159] sunxi-mmc sdc1: No vd33sw regulator found
[    4.963164] sunxi-mmc sdc1: No vd18sw regulator found
[    4.963169] sunxi-mmc sdc1: No vq33sw regulator found
[    4.963173] sunxi-mmc sdc1: No vq18sw regulator found
[    4.964269] sunxi-mmc sdc1: set host busy
[    4.964376] mmc:failed to get gpios
[    4.965218] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    4.965242] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[    4.981855] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    5.001862] sunxi-mmc sdc1: detmode:manually by software
[    5.015427] hidraw: raw HID events driver (C) Jiri Kosina
[    5.017424] usbcore: registered new interface driver usbhid
[    5.017427] usbhid: USB HID core driver
[    5.020881] usbcore: registered new interface driver snd-usb-audio
[    5.024556] sunxi_internal_codec_probe  speaker:0
[    5.028166] sunxi-internal-codec codec: dac digital volume get failed
[    5.028180] sunxi-internal-codec codec: pa_power_always_on get failed and set it off.
[    5.028321] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished.
[    5.030421] [sunxi_card_init] card init finished.
[    5.032838] sunxi-codec-machine sndcodec: sun50iw10codec <-> 5096000.cpudai-controller mapping ok
[    5.039422] input: audiocodec sunxi Audio Jack as /devices/platform/soc/sndcodec/sound/card0/input2
[    5.041946] [audio] hp_detect_case: 0
[    5.042480] sunxi-codec-machine sndcodec: [sunxi_card_dev_probe] register card finished.
[    5.043103] u32 classifier
[    5.043106]     Actions configured
[    5.043112] Netfilter messages via NETLINK v0.30.
[    5.044260] nf_conntrack version 0.5.0 (8192 buckets, 32768 max)
[    5.045567] ctnetlink v0.93: registering with nfnetlink.
[    5.083386] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.088557] Initializing XFRM netlink socket
[    5.094930] NET: Registered protocol family 10
[    5.101366] NET: Registered protocol family 17
[    5.102771] Bluetooth: RFCOMM TTY layer initialized
[    5.102810] Bluetooth: RFCOMM socket layer initialized
[    5.102862] Bluetooth: RFCOMM ver 1.11
[    5.102900] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[    5.102903] Bluetooth: BNEP filters: protocol multicast
[    5.102940] Bluetooth: BNEP socket layer initialized
[    5.102944] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[    5.102978] Bluetooth: HIDP socket layer initialized
[    5.102982] 8021q: 802.1Q VLAN Support v1.8
[    5.146651] sun50i_cpufreq_nvmem: using table: c0
[    5.152184] core: _opp_supported_by_regulators: OPP minuV: 0 maxuV: 0, not supported by regulator
[    5.152195] cpu cpu0: _opp_add: OPP not supported by regulators (1320000000)
[    5.152996] core: _opp_supported_by_regulators: OPP minuV: 0 maxuV: 0, not supported by regulator
[    5.153002] cpu cpu0: _opp_add: OPP not supported by regulators (1464000000)
[    5.153400] core: _opp_supported_by_regulators: OPP minuV: 0 maxuV: 0, not supported by regulator
[    5.153406] cpu cpu0: _opp_add: OPP not supported by regulators (1512000000)
[    5.154298] cpu cpu1: opp_list_debug_create_link: Failed to create link
[    5.154304] cpu cpu1: _add_opp_dev: Failed to register opp debugfs (-12)
[    5.154365] cpu cpu2: opp_list_debug_create_link: Failed to create link
[    5.154370] cpu cpu2: _add_opp_dev: Failed to register opp debugfs (-12)
[    5.154425] cpu cpu3: opp_list_debug_create_link: Failed to create link
[    5.154431] cpu cpu3: _add_opp_dev: Failed to register opp debugfs (-12)
[    5.156800] get usb_detect_mode is fail, 22
[    5.159928] sunxi-rtc rtc: setting system clock to 1970-01-01 00:00:15 UTC (15)
[    5.163055] tcs4838-dcdc1: disabling
[    5.163949] axp2202-dcdc4: disabling
[    5.164836] axp2202-aldo1: disabling
[    5.166069] axp2202-bldo4: disabling
[    5.167277] axp2202-vmid: disabling
[    5.168163] ALSA device list:
[    5.168166]   #0: audiocodec
[    5.391720] Waiting for root device /dev/mmcblk0p3...
[    5.393766] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 23 width 1 timing LEGACY(SDR12) dt B
[    5.415787] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm ON vdd 23 width 1 timing LEGACY(SDR12) dt B
[    5.426055] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[    5.449830] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 23 width 1 timing LEGACY(SDR12) dt B
[    5.468117] mmc0: host does not support reading read-only switch, assuming write-enable
[    5.477784] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 23 width 4 timing LEGACY(SDR12) dt B
[    5.489372] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 23 width 4 timing UHS-SDR104 dt B
[    5.499870] sunxi-mmc sdc0: sdc set ios:clk 150000000Hz bm PP pm ON vdd 23 width 4 timing UHS-SDR104 dt B
[    5.510797] mmc0: new ultra high speed SDR104 SDXC card at address 59b4
[    5.519497] mmcblk0: mmc0:59b4 GF8S5 478 GiB 
[    5.529238]  mmcblk0: p1 p2 p3 p4
[    5.625639] VFS: Mounted root (vfat filesystem) readonly on device 179:3.
[    5.633353] devtmpfs: error mounting -2
[    5.637911] Freeing unused kernel memory: 448K
[    5.643034] Kernel panic - not syncing: Requested init /sbin/init failed (error -2).
[    5.651722] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.9.191 #505
[    5.658644] Hardware name: sun50iw10 (DT)
[    5.663134] Call trace:
[    5.665884] [<ffffff8008087754>] dump_backtrace+0x0/0x204
[    5.671935] [<ffffff800808796c>] show_stack+0x14/0x1c
[    5.677598] [<ffffff800829dee0>] dump_stack+0x88/0xb0
[    5.683261] [<ffffff80081106b8>] panic+0x124/0x35c
[    5.688629] [<ffffff8008767840>] kernel_init+0x8c/0xf8
[    5.694386] [<ffffff8008083180>] ret_from_fork+0x10/0x50
[    5.700337] SMP: stopping secondary CPUs
[    5.704877] Kernel Offset: disabled
[    5.708807] Memory Limit: none

@acmeplus
Copy link
Author

acmeplus commented Apr 2, 2024

Firmware update

[201]HELLO! BOOT0 is starting!
[204]BOOT0 commit : 01e601494d
[207]set pll start
[209]periph0 has been enabled
[212]set pll end
[214]PL gpio voltage : 1.8V 
[217][pmu]: bus read error
[219]unknow PMU
[221][pmu]: bus read error
[224]PMU: AXP2202
[227]TCS: TCS4838
[236]vaild para:1  select dram para0
[239]board init ok, set sys_vol to 940mv!
[254]key pressed value=0x29
[266]key pressed value=0x29
[279]key pressed value=0x29
[293]key pressed value=0x29
[306]key pressed value=0x29
[319]key pressed value=0x29
[332]key pressed value=0x29
[345]key pressed value=0x29
[358]key pressed value=0x29
[371]key pressed value=0x29
[384]key pressed value=0x29
[397]key pressed value=0x29
[411]key pressed value=0x29
[424]key pressed value=0x29
[437]key pressed value=0x29
[450]key pressed value=0x29
[463]key pressed value=0x29
[476]key pressed value=0x29
[489]key pressed value=0x29
[502]key pressed value=0x29
[515]key pressed value=0x29
[528]key pressed value=0x29
[541]key pressed value=0x29
[555]key pressed value=0x29
[568]key pressed value=0x29
[581]key pressed value=0x29
[594]key pressed value=0x29
[607]key pressed value=0x29
[620]key pressed value=0x29
[633]key pressed value=0x29
[646]key pressed value=0x29
[659]key pressed value=0x29
[672]key pressed value=0x29
[686]key pressed value=0x29
[699]key pressed value=0x29
[712]key pressed value=0x29
[725]key pressed value=0x29
[738]key pressed value=0x29
[751]key pressed value=0x29
[764]key pressed value=0x29
[777]key pressed value=0x29
[790]key pressed value=0x29
[804]key pressed value=0x29
[817]key pressed value=0x29
[830]key pressed value=0x29
[843]key pressed value=0x29
[856]key pressed value=0x29
[869]key pressed value=0x29
[882]key pressed value=0x29
[895]key pressed value=0x29
[908]key pressed value=0x29
[921]key pressed value=0x29
[935]key pressed value=0x29
[948]key pressed value=0x29
[961]key pressed value=0x29
[974]key pressed value=0x29
[987]key pressed value=0x29
[1000]key pressed value=0x29
[1013]key pressed value=0x29
[1026]key pressed value=0x29
[1040]key pressed value=0x29
[1053]key pressed value=0x29
[1066]key pressed value=0x29
[1079]key pressed value=0x29
[1092]key pressed value=0x29
[1106]key pressed value=0x29
[1119]key pressed value=0x29
[1132]key pressed value=0x29
[1145]key pressed value=0x29
[1158]key pressed value=0x29
[1172]key pressed value=0x29
[1185]key pressed value=0x29
[1198]key pressed value=0x29
[1211]key pressed value=0x29
[1224]key pressed value=0x29
[1237]key pressed value=0x29
[1251]key pressed value=0x29
[1264]key pressed value=0x29
[1277]key pressed value=0x29
[1290]key pressed value=0x29
[1303]key pressed value=0x29
[1317]key pressed value=0x29
[1330]key pressed value=0x29
[1343]key pressed value=0x29
[1356]key pressed value=0x29
[1369]key pressed value=0x29
[1383]key pressed value=0x29
[1396]key pressed value=0x29
[1409]key pressed value=0x29
[1422]key pressed value=0x29
[1435]key pressed value=0x29
[1449]key pressed value=0x29
[1462]key pressed value=0x29
[1475]key pressed value=0x29
[1488]key pressed value=0x29
[1501]key pressed value=0x29
[1515]key pressed value=0x29
[1528]key pressed value=0x29
[1541]key pressed value=0x29
[1554]key pressed value=0x29
[1567]key pressed value=0x29
[1581]key pressed value=0x29
[1594]key pressed value=0x29
[1607]key pressed value=0x29
[1620]key pressed value=0x29
[1634]key pressed value=0x29
[1647]key pressed value=0x29
[1660]key pressed value=0x29
[1673]key pressed value=0x29
[1686]key pressed value=0x29
[1700]key pressed value=0x29
[1713]key pressed value=0x29
[1726]key pressed value=0x29
[1739]key pressed value=0x29
[1752]key pressed value=0x29
[1766]key pressed value=0x29
[1779]key pressed value=0x29
[1792]key pressed value=0x29
[1805]key pressed value=0x29
[1818]key pressed value=0x29
[1832]key pressed value=0x29
[1845]key pressed value=0x29
[1858]key pressed value=0x29
[1871]key pressed value=0x29
[1884]key pressed value=0x29
[1898]key pressed value=0x29
[1911]key pressed value=0x29
[1924]key pressed value=0x29
[1937]key pressed value=0x29
[1950]key pressed value=0x29
[1964]key pressed value=0x29
[1977]key pressed value=0x29
[1990]key pressed value=0x29
[2003]key pressed value=0x29
[2016]key pressed value=0x29
[2030]key pressed value=0x29
[2043]key pressed value=0x29
[2056]key pressed value=0x29
[2069]key pressed value=0x29
[2082]key pressed value=0x29
[2096]key pressed value=0x29
[2109]key pressed value=0x29
[2122]key pressed value=0x29
[2135]key pressed value=0x29
[2148]key pressed value=0x29
[2162]key pressed value=0x29
[2175]key pressed value=0x29
[2188]key pressed value=0x29
[2201]key pressed value=0x29
[2214]key pressed value=0x29
[2228]key pressed value=0x29
[2241]key pressed value=0x29
[2254]key pressed value=0x29
[2267]key pressed value=0x29
[2280]key pressed value=0x29
[2294]key pressed value=0x29
[2307]key pressed value=0x29
[2320]key pressed value=0x29
[2333]key pressed value=0x29
[2346]key pressed value=0x29
[2360]key pressed value=0x29
[2373]key pressed value=0x29
[2386]key pressed value=0x29
[2399]key pressed value=0x29
[2412]key pressed value=0x29
[2426]key pressed value=0x29
[2439]key pressed value=0x29
[2452]key pressed value=0x29
[2465]key pressed value=0x29
[2478]key pressed value=0x29
[2492]key pressed value=0x29
[2505]key pressed value=0x29
[2518]key pressed value=0x29
[2531]key pressed value=0x29
[2544]key pressed value=0x29
[2558]key pressed value=0x29
[2571]key pressed value=0x29
[2584]key pressed value=0x29
[2597]key pressed value=0x29
[2610]key pressed value=0x29
[2624]key pressed value=0x29
[2637]key pressed value=0x29
[2650]key pressed value=0x29
[2663]key pressed value=0x29
[2676]key pressed value=0x29
[2690]key pressed value=0x29
[2703]key pressed value=0x29
[2716]key pressed value=0x29
[2729]key pressed value=0x29
[2743]key pressed value=0x29
[2756]key pressed value=0x29
[2769]key pressed value=0x29
[2782]key pressed value=0x29
[2795]key pressed value=0x29
[2809]key pressed value=0x29
[2822]key pressed value=0x29
[2835]key pressed value=0x29
[2848]key pressed value=0x29
[2861]key pressed value=0x29
[2875]key pressed value=0x29
[2888]key pressed value=0x29
[2901]key pressed value=0x29
[2914]key pressed value=0x29
[2927]key pressed value=0x29
[2941]key pressed value=0x29
[2954]key pressed value=0x29
[2967]key pressed value=0x29
[2980]key pressed value=0x29
[2993]key pressed value=0x29
[3007]key pressed value=0x29
[3020]key pressed value=0x29
[3033]key pressed value=0x29
[3046]key pressed value=0x29
[3059]key pressed value=0x29
[3073]key pressed value=0x29
[3086]key pressed value=0x29
[3099]key pressed value=0x29
[3112]key pressed value=0x29
[3125]key pressed value=0x29
[3139]key pressed value=0x29
[3152]key pressed value=0x29
[3165]key pressed value=0x29
[3178]key pressed value=0x29
[3191]key pressed value=0x29
[3205]key pressed value=0x29
[3218]key pressed value=0x29
[3231]key pressed value=0x29
[3244]key pressed value=0x29
[3248]DRAM BOOT DRIVE INFO: V0.696
[3251]the chip id is 0x8000
[3254]the chip id is 0x8000
[3257]the chip id is 0x8000
[3260]the chip id is 0x8000
[3262]the chip id is 0x8000
[3265]chip id check OK
[3269]DRAM_VCC set to 1100 mv
[3272]DRAM CLK =792 MHZ
[3274]DRAM Type =8 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[3284]DRAM SIZE =1024 MBytes, para1 = 30fa, para2 = 4000000, tpr13 = 7521
[3296]DRAM simple test OK.
[3299]dram size =1024
[3301]chipid = 54408000
[3303]nsi init ok 2020-4-7
[3307]card no is 2
[3309]sdcard 2 line count 8
[3311][mmc]: mmc driver ver 2020-05-25 09:40-202007019516
[3322][mmc]: Wrong media type 0x0
[3326][mmc]: ***Try SD card 2***
[3330][mmc]: mmc 2 cmd 8 timeout, err 100
[3334][mmc]: mmc 2 cmd 8 err 100
[3337][mmc]: mmc 2 send if cond failed
[3342][mmc]: mmc 2 cmd 55 timeout, err 100
[3346][mmc]: mmc 2 cmd 55 err 100
[3349][mmc]: mmc 2 send app cmd failed
[3353][mmc]: ***Try MMC card 2***
[3378][mmc]: RMCA OK!
[3380][mmc]: bias 0
[3382][mmc]: mmc 2 bias 0
[3385][mmc]: MMC 5.1
[3387][mmc]: HSSDR52/SDR25 8 bit
[3390][mmc]: 50000000 Hz
[3393][mmc]: 7456 MB
[3395][mmc]: ***SD/MMC 2 init OK!!!***
[3456]Loading boot-pkg Succeed(index=0).
[3460]Entry_name        = u-boot
[3468]Entry_name        = monitor
[3471]Entry_name        = scp
[3475]set arisc reset to assert state
[3484]set arisc reset to de-assert state
[3488]Entry_name        = dtb
[3492]tunning data addr:0x4a0003e8
[3495]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 (Oct 16 2023 - 22:35:10 +0800) Allwinner Technology

[03.582]CPU:   Allwinner Family
[03.584]Model: sun50iw10
I2C:   ready
[03.710]DRAM:  1 GiB
[03.713]Relocation Offset is: 357fa000
[03.751]secure enable bit: 0
[03.754]PMU: AXP2202
[03.756]PMU: pmu_axp2202 found
[03.759]BMU: AXP2202
[03.761]BMU: bmu_axp2202 found
FDT ERROR:fdt_get_regulator_name:get property handle twi-supply error:FDT_ERR_INTERNAL
[03.780]gpio_bias, pc_bias: 1800, pc_supply: not set  
[03.786]gpio_bias, pl_bias: 3300, pl_supply: aldo3_vol
[03.792]dcdc1_vol = 940, onoff=1
[03.797]aldo1_vol = 1800, onoff=1
[03.801]aldo2_vol = 3300, onoff=1
[03.806]aldo3_vol need to wait stable!
[03.829]GPIOL change bias done!
[03.832]aldo3_vol = 3300, onoff=1
[03.836]aldo4_vol = 1800, onoff=1
[03.841]bldo1_vol = 0, onoff=0
[03.845]bldo2_vol = 1800, onoff=1
[03.850]bldo3_vol = 3300, onoff=1
[03.854]bldo4_vol = 1800, onoff=1
[03.859]cldo1_vol = 1800, onoff=1
[03.863]cldo3_vol = 3300, onoff=1
[03.868]cldo4_vol = 3300, onoff=1
[03.872]cpusldo_vol = 900, onoff=1
bias_name:pc_bias        bias_vol:1800
bias_name:pl_bias        bias_vol:3300
[03.885]bat_vol=3609, ratio=18
[03.888]safe_vol=3400, safe_ratio=1
[03.891]TCS: TCS_probe
[03.893]TCS: TCS4838
[03.897]PTCS4838:reg0:df
[03.899]PTCS4838:reg0:df
[03.902]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=400Mhz
[03.911]gic: sec monitor mode
[03.914]sunxi flash type@2 not support fast burn key
[03.919]flash init start
[03.921]workmode = 0,storage type = 2
[03.924][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00
[03.931][mmc]: get sdc_type fail and use default host:tm4.
[03.942][mmc]: SUNXI SDMMC Controller Version:0x50300
[03.968][mmc]: Best spd md: 2-HSDDR52/DDR50, freq: 2-50000000, Bus width: 8
[03.974]sunxi flash init ok
[03.977]non secure, do not need update backup boot0 to toc0
[03.982]init_clocks:finish
[03.985]drv_disp_init
[04.020]get flash lcd idx 0
request pwm success, pwm0:pwm0:0x300a000.
[04.033]drv_disp_init finish
[04.035]boot_gui_init:start
[04.039]set disp.dev2_output_type fail. using defval=0
[04.044]disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(150000000)
     clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000)
[04.068]enable power cldo4, ret=0
[04.081]enable power cldo1, ret=0
[04.439]switch device: sel=0, type=1, mode=4, format=0, bits=0, eotf=4, cs=260
[04.446]boot_gui_init:finishuboot->>>OTM1289A:lcd panel init

TRIMUI boot reason=button
54 bytes read in 0 ms
[04.635]bmp_name=bootlogo.bmp size 104600
104600 bytes read in 1 ms (99.8 MiB/s)
[04.689]soc ic_ver:0x6, qa_val:0x0, markid:0x8000 dclk[0-9999] display_cfg_flag:0
[04.749]LCD open finish
[04.827]Loading Environment from SUNXI_FLASH... OK
[04.838]no secure os for keybox operation
[04.841]try to burn key
[04.844]read item0 copy0
[04.847]Item0 (Map) magic is bad
[04.850]the secure storage item0 copy0 magic is bad
[04.854]Item0 (Map) magic is bad
[04.857]the secure storage item0 copy1 magic is bad
[04.862]Item0 (Map) magic is bad
[04.865]the secure storage map is empty
[04.868]no item name key_burned_flag in the map
[04.872]sunxi secure storage has no flag
[04.876]usb burn from boot
delay time 0
weak:otg_phy_config
[04.887]usb prepare ok
[05.313]usb sof ok
[05.315]usb probe ok
[05.317]usb setup ok
set address 0x3
set address 0x3 ok
[08.324]do_burn_from_boot usb : have no handshake
[08.328][ARISC] :arisc initialize
[08.333][ARISC ERROR] :get [allwinner,sunxi-hwspinlock] device node error
CACHE: Misaligned operation at range [7f89bd48, 7f89c060]
[08.345][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
[08.371][ARISC] :sunxi-arisc driver startup succeeded
List file under ULI/factory
** Unrecognized filesystem type **
[08.381]no item name rootwait init in the map
[08.385]no item name rdinit in the map
[08.389]no item name rotpk_status in the map
[08.393]no item name pstore_blk.blkdev in the map
[08.397]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
[08.412]update part info
[08.418]key 41
[08.422]recovery key high 14, low 11
[08.427]fastboot key high 43, low 39
[08.430]key found, android fastboot
[08.433]no misc partition is found
[08.436]bootmode[1]:0x5f
[08.439]update bootcmd
[08.441]serial num is: 1c000c3157404952199
[08.447][mmc]: delete mmc-hs400-1_8v from dtb
[08.451][mmc]: delete mmc-hs200-1_8v from dtb
[08.455][mmc]: get max-frequency ok 50000000 Hz
[08.461](weak)update dtb dram start
[08.483]update dtb dram  end
[08.490]update dts
sunxi_key_read_one
key pressed value=0x29
g_lradc_value=41
Unknown command 'usb' - try 'help'
[08.500][mmc]: mmc driver ver uboot2018:2021-07-19 14:09:00
[08.506][mmc]: get sdc_type fail and use default host:tm1.
[08.518][mmc]: Using default timing para
[08.521][mmc]: SUNXI SDMMC Controller Version:0x50300
[08.526][mmc]:  (eMMC)[08.528][mmc]: , [08.542][mmc]: card_caps:0x3000000a
[08.545][mmc]: host_caps:0x3000003f
curr_device:0
Device: SUNXI SD/MMC
Manufacturer ID: 27
OEM: 5048
Name: SD64G 
Bus Speed: 50000000
Mode : SD High Speed (50MHz)
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 58 GiB
Bus Width: 4-bit
Erase Group Size: 512 Bytes

Partition Map for MMC device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors     UUID            Type
  1     32768           121503744       00000000-01     0b
[08.585]sunxi update begin
bar x1: 320 y1: 320
bar x2: 960 y2: 400
** Unable to read file font32.sft **
sunxi ui_char info error : unable to open font file font32.sft
ui_char_info.word_size is 32
boot_ui_char: open font failed
1024 bytes read in 2 ms (500 KiB/s)
38912 bytes read in 4 ms (9.3 MiB/s)
[09.267]fetch download map
16384 bytes read in 5 ms (3.1 MiB/s)
*************DOWNLOAD MAP DUMP************
total download part 6

download part[0] name          :bootloader
download part[0] download file :BOOT-RESOURCE_FE
download part[0] verify file   :VBOOT-RESOURCE_F
download part[0] lenlo         :0x2000
download part[0] addrlo        :0x400
download part[0] encrypt       :0x0
download part[0] verify        :0x1

download part[1] name          :env
download part[1] download file :ENV_FEX000000000
download part[1] verify file   :VENV_FEX00000000
download part[1] lenlo         :0x400
download part[1] addrlo        :0x2400
download part[1] encrypt       :0x0
download part[1] verify        :0x1

download part[2] name          :env-redund
download part[2] download file :ENV_FEX000000000
download part[2] verify file   :VENV_FEX00000000
download part[2] lenlo         :0x400
download part[2] addrlo        :0x2800
download part[2] encrypt       :0x0
download part[2] verify        :0x1

download part[3] name          :boot
download part[3] download file :BOOT_FEX00000000
download part[3] verify file   :VBOOT_FEX0000000
download part[3] lenlo         :0x7800
download part[3] addrlo        :0x2c00
download part[3] encrypt       :0x0
download part[3] verify        :0x1

download part[4] name          :rootfs
download part[4] download file :ROOTFS_FEX000000
download part[4] verify file   :VROOTFS_FEX00000
download part[4] lenlo         :0xc8000
download part[4] addrlo        :0xa400
download part[4] encrypt       :0x0
download part[4] verify        :0x1

download part[5] name          :recovery
download part[5] download file :RECOVERY_FEX0000
download part[5] verify file   :VRECOVERY_FEX000
download part[5] lenlo         :0x8000
download part[5] addrlo        :0x152800
download part[5] encrypt       :0x0
download part[5] verify        :0x1

[09.438]fetch mbr
65536 bytes read in 6 ms (10.4 MiB/s)
the 0 mbr table is ok
the 1 mbr table is ok
the 2 mbr table is ok
the 3 mbr table is ok
*************MBR DUMP***************
total mbr part 10

part[0] name      :bootloader
part[0] classname :DISK
part[0] addrlo    :0x400
part[0] lenlo     :0x2000
part[0] user_type :32768
part[0] keydata   :0
part[0] ro        :0

part[1] name      :env
part[1] classname :DISK
part[1] addrlo    :0x2400
part[1] lenlo     :0x400
part[1] user_type :32768
part[1] keydata   :0
part[1] ro        :0

part[2] name      :env-redund
part[2] classname :DISK
part[2] addrlo    :0x2800
part[2] lenlo     :0x400
part[2] user_type :32768
part[2] keydata   :0
part[2] ro        :0

part[3] name      :boot
part[3] classname :DISK
part[3] addrlo    :0x2c00
part[3] lenlo     :0x7800
part[3] user_type :32768
part[3] keydata   :0
part[3] ro        :0

part[4] name      :rootfs
part[4] classname :DISK
part[4] addrlo    :0xa400
part[4] lenlo     :0xc8000
part[4] user_type :32768
part[4] keydata   :0
part[4] ro        :0

part[5] name      :rootfs_data
part[5] classname :DISK
part[5] addrlo    :0xd2400
part[5] lenlo     :0x80000
part[5] user_type :32768
part[5] keydata   :0
part[5] ro        :0

part[6] name      :private
part[6] classname :DISK
part[6] addrlo    :0x152400
part[6] lenlo     :0x400
part[6] user_type :32768
part[6] keydata   :0
part[6] ro        :0

part[7] name      :recovery
part[7] classname :DISK
part[7] addrlo    :0x152800
part[7] lenlo     :0x8000
part[7] user_type :32768
part[7] keydata   :0
part[7] ro        :0

part[8] name      :pstore
part[8] classname :DISK
part[8] addrlo    :0x15a800
part[8] lenlo     :0x400
part[8] user_type :32768
part[8] keydata   :0
part[8] ro        :0

part[9] name      :UDISK
part[9] classname :DISK
part[9] addrlo    :0x15ac00
part[9] lenlo     :0x0
part[9] user_type :33024
part[9] keydata   :0
part[9] ro        :0

[09.619]begin to erase flash
force one part
total part: 1
all 0, 0, 8000
[09.625]nand_get_mbr finish
[09.628]erase all part start
need erase flash: 1
private part exist
GPT:bootloader  : a400          c3ff        
GPT:env         : c400          c7ff        
GPT:env-redund  : c800          cbff        
GPT:boot        : cc00          143ff       
GPT:rootfs      : 14400         9b3ff       
GPT:rootfs_data : 9b400         11b3ff      
GPT:private     : 11b400        11b7ff      
GPT:recovery    : 11b800        1237ff      
GPT:pstore      : 123800        123bff      
GPT:UDISK       : 123c00        e8ffde      
begin to store data
part 0 name bootloader
keydata = 0x0
part 1 name env
keydata = 0x0
part 2 name env-redund
keydata = 0x0
part 3 name boot
keydata = 0x0
part 4 name rootfs
keydata = 0x0
part 5 name rootfs_data
keydata = 0x0
part 6 name private
keydata = 0x0
find keypart private
keypart read start: 0x111400, sectors 0x400
keypart part private read  0x111400, sectors 0x400
part 7 name recovery
keydata = 0x0
part 8 name pstore
keydata = 0x0
part 9 name UDISK
keydata = 0x0
begin to erase
[09.734]erase all part start
card2 erase boot0 
erase env part
[09.744][mmc]: erase from: 50176, to: 51199, cnt: 1024, erase_group: 1024
[09.752][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x2 ms 
erase env-redund part
[09.760][mmc]: erase from: 51200, to: 52223, cnt: 1024, erase_group: 1024
[09.768][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x1 ms 
erase boot part
[09.776][mmc]: erase from: 52224, to: 82943, cnt: 30720, erase_group: 1024
[09.786][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x3 ms 
erase rootfs part
[09.794][mmc]: erase from: 82944, to: 902143, cnt: 819200, erase_group: 1024
[09.839][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x26 ms 
erase rootfs_data part
[09.848][mmc]: erase from: 902144, to: 1426431, cnt: 524288, erase_group: 1024
[09.866][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0xb ms 
erase private part
[09.874][mmc]: erase from: 1426432, to: 1427455, cnt: 1024, erase_group: 1024
[09.881][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x0 ms 
erase recovery part
[09.890][mmc]: erase from: 1427456, to: 1460223, cnt: 32768, erase_group: 1024
[09.898][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x1 ms 
erase pstore part
[09.906][mmc]: erase from: 1460224, to: 1461247, cnt: 1024, erase_group: 1024
[09.915][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x2 ms 
erase UDISK part
sunxi_flash_mmc_phyerase: @nr is 0, erase from @from to end
[09.928][mmc]: erase from: 1461248, to: 15268863, cnt: 13807616, erase_group: 1024
[09.985][mmc]: sunxi_mmc_do_send_cmd_common: cmd 38 wait rsp busy 0x32 ms 
[09.991][mmc]: mmc_mmc_erase: some sectors in emmc are ignored!
[09.997][mmc]: --0: from15268864  nr1023 
card erase all
finish erase
rewrite
write primary GPT success
write Backup GPT success
[10.024]update partition map
keypart write start: 0x152400, sectors 0x400
flash exit
[10.058]successed in erasing flash
write primary GPT success
write Backup GPT success
[10.068]update partition map
[10.234]begin to download part
[10.237]begin to download part bootloader
partdata hi 0x0
partdata lo 0x24400
148480 bytes read in 9 ms (15.7 MiB/s)
sparse: bad magic
[10.264]successed in writting part bootloader
1024 bytes read in 3 ms (333 KiB/s)
origin_verify value = 1c542bea, active_verify value = 1c542bea
[10.284]successed in verify part bootloader
[10.288]successed in download part bootloader
[10.292]begin to download part env
partdata hi 0x0
partdata lo 0x20000
131072 bytes read in 9 ms (13.9 MiB/s)
sparse: bad magic
[10.318]successed in writting part env
1024 bytes read in 3 ms (333 KiB/s)
origin_verify value = 7140325a, active_verify value = 7140325a
[10.338]successed in verify part env
[10.341]successed in download part env
[10.345]begin to download part env-redund
partdata hi 0x0
partdata lo 0x20000
131072 bytes read in 8 ms (15.6 MiB/s)
sparse: bad magic
[10.371]successed in writting part env-redund
1024 bytes read in 3 ms (333 KiB/s)
origin_verify value = 7140325a, active_verify value = 7140325a
[10.391]successed in verify part env-redund
[10.395]successed in download part env-redund
[10.399]begin to download part boot
partdata hi 0x0
partdata lo 0xb51000
11866112 bytes read in 495 ms (22.9 MiB/s)
sparse: bad magic
[11.168]successed in writting part boot
1024 bytes read in 3 ms (333 KiB/s)
origin_verify value = 7e3fde8e, active_verify value = 7e3fde8e
[11.338]successed in verify part boot
[11.342]successed in download part boot
[11.345]begin to download part rootfs
partdata hi 0x0
partdata lo 0x18000000
16777216 bytes read in 699 ms (22.9 MiB/s)
sparse: bad magic
16777216 bytes read in 699 ms (22.9 MiB/s)
16777216 bytes read in 698 ms (22.9 MiB/s)
16777216 bytes read in 700 ms (22.9 MiB/s)
16777216 bytes read in 699 ms (22.9 MiB/s)
16777216 bytes read in 700 ms (22.9 MiB/s)
16777216 bytes read in 700 ms (22.9 MiB/s)
16777216 bytes read in 700 ms (22.9 MiB/s)
16777216 bytes read in 700 ms (22.9 MiB/s)
16777216 bytes read in 700 ms (22.9 MiB/s)
16777216 bytes read in 701 ms (22.8 MiB/s)
16777216 bytes read in 701 ms (22.8 MiB/s)
16777216 bytes read in 702 ms (22.8 MiB/s)
16777216 bytes read in 702 ms (22.8 MiB/s)
16777216 bytes read in 701 ms (22.8 MiB/s)
16777216 bytes read in 702 ms (22.8 MiB/s)
16777216 bytes read in 702 ms (22.8 MiB/s)
16777216 bytes read in 702 ms (22.8 MiB/s)
16777216 bytes read in 702 ms (22.8 MiB/s)
16777216 bytes read in 703 ms (22.8 MiB/s)
16777216 bytes read in 703 ms (22.8 MiB/s)
16777216 bytes read in 703 ms (22.8 MiB/s)
16777216 bytes read in 704 ms (22.7 MiB/s)
16777216 bytes read in 704 ms (22.7 MiB/s)
[37.303]successed in writting part rootfs
1024 bytes read in 9 ms (110.4 KiB/s)
origin_verify value = 59c0f7bb, active_verify value = 59c0f7bb
[42.482]successed in verify part rootfs
[42.486]successed in download part rootfs
[42.489]begin to download part recovery
partdata hi 0x0
partdata lo 0x18
512 bytes read in 9 ms (54.7 KiB/s)
sparse: bad magic
[42.511]successed in writting part recovery
1024 bytes read in 8 ms (125 KiB/s)
origin_verify value = 483be055, active_verify value = 483be055
[42.535]successed in verify part recovery
[42.539]successed in download part recovery
[42.547]successed in downloading part
1081344 bytes read in 48 ms (21.5 MiB/s)
uboot size = 0x108000
storage type = 2
sunxi_sprite_deal_uboot ok
[42.820]successed in downloading uboot
65536 bytes read in 7 ms (8.9 MiB/s)
[42.995][mmc]: write mmc 2 info ok
skip memcpy dram para for work_mode: 0 
dram para[0] = 318
dram para[1] = 8
dram para[2] = 7070707
dram para[3] = d0d0d0d
dram para[4] = e0e
dram para[5] = d0a050c
dram para[6] = 30ea
dram para[7] = 1000
dram para[8] = 0
dram para[9] = 34
dram para[10] = 1b
dram para[11] = 33
dram para[12] = 3
dram para[13] = 0
dram para[14] = 0
dram para[15] = 4
dram para[16] = 72
dram para[17] = 0
dram para[18] = 7
dram para[19] = 0
dram para[20] = 0
dram para[21] = 26
dram para[22] = 6060606
dram para[23] = 4040404
dram para[24] = 0
dram para[25] = 0
dram para[26] = 48010101
dram para[27] = 273333
dram para[28] = 241f1923
dram para[29] = 14151313
dram para[30] = 81d20
dram para[31] = 2023211f
storage type = 2
[43.065]sunxi_flash_mmc_download_spl: write back spl done
[43.071]sunxi_flash_mmc_download_spl: write main spl done
[43.076]successed in downloading boot0
Fail in getting glyph of unicode 43. Because face is invalid
Fail in getting glyph of unicode 61. Because face is invalid
Fail in getting glyph of unicode 72. Because face is invalid
Fail in getting glyph of unicode 64. Because face is invalid
Fail in getting glyph of unicode 20. Because face is invalid
Fail in getting glyph of unicode 4f. Because face is invalid
Fail in getting glyph of unicode 4b. Because face is invalid
boot ui char: not enough space to printf
[43.279]update firmware success 
resetting ...
[46.333][mmc]: mmc exit start
[46.352][mmc]: mmc 2 exit ok

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment