您尚未登录。

楼主 # 2023-11-10 17:30:48

上邪
会员
注册时间: 2022-02-15
已发帖子: 26
积分: 66

T113-S3支持W25N02KVZEIR SPI NAND

成功让T113-S3支持W25N02KVZEIR,先来个启动成功日志

[28]HELLO! BOOT0 is starting!
[31]BOOT0 commit : adaf1174cc
[34]set pll start
[40]periph0 has been enabled
[43]set pll end
[44][pmu]: bus read error
[47]board init ok
[49]ZQ value = 0x31
[51]get_pmu_exist() = -1
[53]DRAM BOOT DRIVE INFO: V0.33
[56]DRAM CLK = 936 MHz
[58]DRAM Type = 3 (2:DDR2,3:DDR3)
[61]DRAMC read ODT  off.
[64]DRAM ODT value: 0x42.
[66]ddr_efuse_type: 0xa
[69]DRAM SIZE =128 M
[71]dram_tpr4:0x0
[73]PLL_DDR_CTRL_REG:0xf8004d00
[76]DRAM_CLK_REG:0xc0000000
[79][TIMING DEBUG] MR2= 0x20
[86]DRAM simple test OK.
[88]rtc standby flag is 0x0, super standby flag is 0x0
[93]dram size =128
[96]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
[101]block from 8 to 32
[227]Check is correct.
[229]dma 0x29c9c int is not used yet
[233]dma 0x29c9c int is free, you do not need to free it again
[238]Entry_name        = u-boot
[245]Entry_name        = optee
[249]Entry_name        = dtb
[252]Jump to second Boot.
M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm


U-Boot 2018.05-g2a1965a-dirty (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology

[00.305]CPU:   Allwinner Family
[00.308]Model: sun8iw20
[00.310]DRAM:  128 MiB
[00.314]Relocation Offset is: 04ebc000
[00.339]secure enable bit: 0
[00.342]smc_tee_inform_fdt failed with: -65526[00.346]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
[00.352]gic: sec monitor mode
[00.355]flash init start
[00.357]workmode = 0,storage type = 0

device nand0 <nand>, # parts = 4
 #: name		size		offset		mask_flags
 0: boot0               0x00100000	0x00000000	1
 1: uboot               0x00300000	0x00100000	1
 2: secure_storage      0x00100000	0x00400000	1
 3: sys                 0x0fb00000	0x00500000	0

active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000

defaults:
mtdids  : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[00.512]ubi0: attaching mtd4
[00.937]ubi0: scanning is finished
[00.947]ubi0: attached mtd4 (name "sys", size 251 MiB)
[00.951]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[00.958]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[00.964]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[00.970]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
[00.976]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[00.982]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[00.990]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
[00.998]sunxi flash init ok
[01.001]line:703 init_clocks
[01.004]drv_disp_init
request pwm success, pwm7:pwm7:0x2000c00.
fdt get node offset faill: hdmi
[01.020]unable to map hdmi registers
[01.023]drv_disp_init finish
[01.215]Loading Environment from SUNXI_FLASH... OK
[01.249]boot_gui_init:start
[01.252]set disp.dev2_output_type fail. using defval=0
[01.258]boot_gui_init:finish
partno erro : can't find partition bootloader
54 bytes read in 0 ms
[01.288]bmp_name=bootlogo.bmp size 38454
38454 bytes read in 5 ms (7.3 MiB/s)
[01.303]Item0 (Map) magic is bad
[01.306]out of usb burn from boot: not need burn key
List file under ULI/factory
** Unrecognized filesystem type **
[01.338]update bootcmd
[01.361]change working_fdt 0x43e7be70 to 0x43e5be70
[01.378]update dts
Hit any key to stop autoboot:  1 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL
sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
[01.448]LCD open finish                                                                                                                         0 
[02.839]no vendor_boot partition is found
Android's image name: t113-mq_r
[02.850]Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (sy@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #18 SMP PREEMPT Fri Nov 10 09:00:47 UTC 2023
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 4 MiB at 0x47c00000
[    0.000000] On node 0 totalpages: 32768
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 32768 pages, LIFO batch:7
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.0
[    0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440
[    0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32512
[    0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/ubiblock0_5 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-resource@ubi0_1:env@ubi0_2:env-redund@ubi0_3:boot@ubi0_4:rootfs@ubi0_5:private@ubi0_6:rootfs_data@ubi0_7:UDISK@ubi0_8: cma=4M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-g2a1965a-dirty(07/10/2022-02:50:57) mbr_offset=1032192 disp_reserve=1536000,0x43f18000 aw-ubi-spinand.ubootblks=24 androidboot.dramsize=128 
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 106048K/131072K available (6144K kernel code, 306K rwdata, 1616K rodata, 1024K init, 1171K bss, 20928K reserved, 4096K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] 	Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000] random: get_random_bytes called from start_kernel+0x26c/0x3ec with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
[    0.000005] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[    0.008007] Switching to timer-based delay loop, resolution 41ns
[    0.014186] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[    0.023870] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.034219] pid_max: default: 32768 minimum: 301
[    0.038953] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.046294] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.054624] CPU: Testing write buffer coherency: ok
[    0.059831] /cpus/cpu@0 missing clock-frequency property
[    0.065157] /cpus/cpu@1 missing clock-frequency property
[    0.070497] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.076652] Setting up static identity map for 0x40100000 - 0x40100060
[    0.083298] rcu: Hierarchical SRCU implementation.
[    0.088494] smp: Bringing up secondary CPUs ...
[    0.094123] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.094241] smp: Brought up 1 node, 2 CPUs
[    0.104071] SMP: Total of 2 processors activated (96.00 BogoMIPS).
[    0.110257] CPU: All CPU(s) started in SVC mode.
[    0.115341] devtmpfs: initialized
[    0.130027] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.138168] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.148285] pinctrl core: initialized pinctrl subsystem
[    0.154458] NET: Registered protocol family 16
[    0.160458] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.195760] rtc_ccu: sunxi ccu init OK
[    0.201924] ccu: sunxi ccu init OK
[    0.205768] r_ccu: sunxi ccu init OK
[    0.228838] iommu: Default domain type: Translated 
[    0.233924] sunxi iommu: irq = 24
[    0.238094] SCSI subsystem initialized
[    0.241991] usbcore: registered new interface driver usbfs
[    0.247539] usbcore: registered new interface driver hub
[    0.252932] usbcore: registered new device driver usb
[    0.258739] Advanced Linux Sound Architecture Driver Initialized.
[    0.265544] Bluetooth: Core ver 2.22
[    0.269176] NET: Registered protocol family 31
[    0.273631] Bluetooth: HCI device and connection manager initialized
[    0.280019] Bluetooth: HCI socket layer initialized
[    0.284893] Bluetooth: L2CAP socket layer initialized
[    0.289960] Bluetooth: SCO socket layer initialized
[    0.295076] pwm module init!
[    0.299179] g2d 5410000.g2d: Adding to iommu group 0
[    0.304464] G2D: rcq version initialized.major:252
[    0.310101] clocksource: Switched to clocksource arch_sys_counter
[    0.324718] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver
[    0.333944] NET: Registered protocol family 2
[    0.338863] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.347297] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.355030] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.362103] TCP: Hash tables configured (established 1024 bind 1024)
[    0.368551] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.375123] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.382300] NET: Registered protocol family 1
[    0.387602] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator
[    0.397917] spi spi0: spi0 supply spi not found, using dummy regulator
[    0.404634] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE
[    0.410782] sunxi_spi_resource_get()2154 - Failed to get sample mode
[    0.417135] sunxi_spi_resource_get()2159 - Failed to get sample delay
[    0.423581] sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921
[    0.431990] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000
[    0.438248] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base c881f000, irq 39
[    0.447867] workingset: timestamp_bits=30 max_order=15 bucket_order=0
[    0.459300] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.465337] ntfs: driver 2.1.32 [Flags: R/W].
[    0.498561] io scheduler mq-deadline registered
[    0.503126] io scheduler kyber registered
[    0.508148] [DISP]disp_module_init
[    0.512111] disp 5000000.disp: Adding to iommu group 0
[    0.517746] [DISP] parser_disp_init_para,line:1430:
[    0.517749] of_property_read fb0_width fail
[    0.526859] [DISP] disp_init,line:2386:
[    0.526863] smooth display screen:0 type:1 mode:4
[    0.551497] display_fb_request,fb_id:0
[    0.557619] Freeing logo buffer memory: 1500K
[    0.562504] disp_al_manager_apply ouput_type:1
[    0.567152] sunxi_pwm_enable_dual: can't parse pwm device
[    0.570409] [DISP]disp_module_init finish
[    0.577586] sunxi_sid_init()551 - insmod ok
[    0.582752] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator
[    0.592956] uart uart0: uart0 supply uart not found, using dummy regulator
[    0.600163] uart0: ttyS0 at MMIO 0x2500000 (irq = 34, base_baud = 1500000) is a SUNXI
[    0.608024] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n
[    0.616016] printk: console [ttyS0] enabled
[    0.616016] printk: console [ttyS0] enabled
[    0.624923] printk: bootconsole [earlycon0] disabled
[    0.624923] printk: bootconsole [earlycon0] disabled
[    0.636271] misc dump reg init
[    0.640857] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator
[    0.652090] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9
[    0.659312] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed
[    0.666656] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed
[    0.674090] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1)
[    0.680629] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power.
[    0.687576] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1)
[    0.695316] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1
[    0.703161] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1
[    0.711273] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled
[    0.718877] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power.
[    0.725627] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1)
[    0.733166] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0
[    0.741141] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11
[    0.748275] [ADDR_MGT] addr_mgt_probe: success.
[    0.753665] dma-buf: Running sanitycheck
[    0.758059] dma-buf: Running dma_fence
[    0.762306] sizeof(dma_fence)=48
[    0.766019] dma-buf: Running dma_fence/sanitycheck
[    0.771427] dma-buf: Running dma_fence/test_signaling
[    0.777077] dma-buf: Running dma_fence/test_add_callback
[    0.783068] dma-buf: Running dma_fence/test_late_add_callback
[    0.789510] dma-buf: Running dma_fence/test_rm_callback
[    0.795368] dma-buf: Running dma_fence/test_late_rm_callback
[    0.801750] dma-buf: Running dma_fence/test_status
[    0.807119] dma-buf: Running dma_fence/test_error
[    0.812391] dma-buf: Running dma_fence/test_wait
[    0.817562] dma-buf: Running dma_fence/test_wait_timeout
[    0.860111] dma-buf: Running dma_fence/test_stub
[    0.865288] dma-buf: Running dma_fence/race_signal_callback
[    0.940109] thread_signal_callback[0] completed 36376 passes, 78 misses
[    0.947545] thread_signal_callback[1] completed 36361 passes, 64 misses
[    1.020113] thread_signal_callback[0] completed 41547 passes, 41547 misses
[    1.027827] thread_signal_callback[1] completed 41544 passes, 41543 misses
[    1.036051] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223
[    1.043328] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306
[    1.051184] sunxi-spinand-phy: not detect any munufacture from id table
[    1.058592] sunxi-spinand-phy: get spi-nand Model from fdt fail
[    1.065237] sunxi-spinand-phy: get phy info from fdt fail
[    1.071291] sunxi-spinand-phy: not detect munufacture from fdt
[    1.077922] sunxi-spinand-phy: detect munufacture from id table: Winbond
[    1.085437] sunxi-spinand-phy: detect spinand id: ff22aaef ffffffff
[    1.092508] sunxi-spinand-phy: ========== arch info ==========
[    1.099038] sunxi-spinand-phy: Model:               W25N02KVZEIR
[    1.105777] sunxi-spinand-phy: Munufacture:         Winbond
[    1.112025] sunxi-spinand-phy: DieCntPerChip:       1
[    1.117680] sunxi-spinand-phy: BlkCntPerDie:        2048
[    1.123639] sunxi-spinand-phy: PageCntPerBlk:       64
[    1.129383] sunxi-spinand-phy: SectCntPerPage:      4
[    1.135047] sunxi-spinand-phy: OobSizePerPage:      64
[    1.140808] sunxi-spinand-phy: BadBlockFlag:        0x0
[    1.146650] sunxi-spinand-phy: OperationOpt:        0x7
[    1.152509] sunxi-spinand-phy: MaxEraseTimes:       65000
[    1.158551] sunxi-spinand-phy: EccFlag:             0x0
[    1.164394] sunxi-spinand-phy: EccType:             2
[    1.170047] sunxi-spinand-phy: EccProtectedType:    3
[    1.175709] sunxi-spinand-phy: ========================================
[    1.183127] sunxi-spinand-phy: 
[    1.186633] sunxi-spinand-phy: ========== physical info ==========
[    1.193562] sunxi-spinand-phy: TotalSize:    256 M
[    1.198924] sunxi-spinand-phy: SectorSize:   512 B
[    1.204285] sunxi-spinand-phy: PageSize:     2 K
[    1.209447] sunxi-spinand-phy: BlockSize:    128 K
[    1.214819] sunxi-spinand-phy: OOBSize:      64 B
[    1.220075] sunxi-spinand-phy: ========================================
[    1.227483] sunxi-spinand-phy: 
[    1.231006] sunxi-spinand-phy: ========== logical info ==========
[    1.237816] sunxi-spinand-phy: TotalSize:    256 M
[    1.243182] sunxi-spinand-phy: SectorSize:   512 B
[    1.248543] sunxi-spinand-phy: PageSize:     4 K
[    1.253711] sunxi-spinand-phy: BlockSize:    256 K
[    1.259067] sunxi-spinand-phy: OOBSize:      128 B
[    1.264443] sunxi-spinand-phy: ========================================
[    1.271849] sunxi-spinand-phy: W25N02KVZEIR reset rx bit width to 1
[    1.278853] sunxi-spinand-phy: W25N02KVZEIR reset tx bit width to 1
[    1.285975] sunxi-spinand-phy: block lock register: 0x00
[    1.292064] sunxi-spinand-phy: feature register: 0x19
[    1.297724] sunxi-spinand-phy: sunxi physic nand init end
[    1.304224] Creating 4 MTD partitions on "sunxi_mtd_nand":
[    1.310397] 0x000000000000-0x000000100000 : "boot0"
[    1.321039] 0x000000100000-0x000000400000 : "uboot"
[    1.328671] random: fast init done
[    1.341005] 0x000000400000-0x000000500000 : "secure_storage"
[    1.350985] 0x000000500000-0x000010000000 : "sys"
[    1.552980] random: crng init done
[    1.601222] usbcore: registered new interface driver cdc_ether
[    1.607771] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.615121] sunxi-ehci: EHCI SUNXI driver
[    1.620069] get ehci1-controller wakeup-source is fail.
[    1.626044] sunxi ehci1-controller don't init wakeup source
[    1.632311] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b68708, 0x:c8837000, irq_no:3a
[    1.644312] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator
[    1.656810] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator
[    1.668963] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller
[    1.676243] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1
[    1.686239] sunxi-ehci 4200000.ehci1-controller: irq 58, io mem 0x04200000
[    1.720126] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00
[    1.727925] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect
[    1.736926] hub 1-0:1.0: USB hub found
[    1.741184] hub 1-0:1.0: 1 port detected
[    1.746137] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.753102] sunxi-ohci: OHCI SUNXI driver
[    1.758047] get ohci1-controller wakeup-source is fail.
[    1.764030] sunxi ohci1-controller don't init wakeup source
[    1.770281] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b68998
[    1.779943] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator
[    1.792439] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator
[    1.804611] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller
[    1.811864] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2
[    1.821734] sunxi-ohci 4200400.ohci1-controller: irq 59, io mem 0x04200400
[    1.894924] hub 2-0:1.0: USB hub found
[    1.899159] hub 2-0:1.0: 1 port detected
[    1.904226] usbcore: registered new interface driver usb-storage
[    1.911091] usbcore: registered new interface driver usbserial_generic
[    1.918412] usbserial: USB Serial support registered for generic
[    1.925194] usbcore: registered new interface driver option
[    1.931470] usbserial: USB Serial support registered for GSM modem (1-port)
[    1.939483] i2c /dev entries driver
[    1.943487] sunxi cedar version 1.1
[    1.947571] sunxi-cedar 1c0e000.ve: Adding to iommu group 0
[    1.953888] VE: sunxi_cedar_probe power-domain init!!!
[    1.959643] VE: install start!!!
[    1.959643] 
[    1.965218] VE: cedar-ve the get irq is 40
[    1.965218] 
[    1.971672] VE: ve_debug_proc_info:acb8994d, data:fce0f3b7, lock:faca84cc
[    1.971672] 
[    1.980944] VE: install end!!!
[    1.980944] 
[    1.986005] VE: sunxi_cedar_probe
[    1.989968] Bluetooth: HCI UART driver ver 2.3
[    1.994960] Bluetooth: HCI UART protocol H4 registered
[    2.000717] Bluetooth: HCI UART protocol BCSP registered
[    2.006660] Bluetooth: HCI UART protocol (null) registered
[    2.012815] Bluetooth: HCI Realtek H5 protocol initialized
[    2.021109] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
[    2.031089] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8
[    2.037263] sunxi-mmc 4020000.sdmmc: No vmmc regulator found
[    2.043775] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found
[    2.050247] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found
[    2.056682] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found
[    2.063228] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found
[    2.069753] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found
[    2.076297] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found
[    2.083284] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[    2.088806] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.099979] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator
[    2.110130] usb 1-1: new high-speed USB device number 2 using sunxi-ehci
[    2.120126] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.143058] sunxi-mmc 4020000.sdmmc: detmode:gpio irq
[    2.143099] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.160389] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40)
[    2.170368] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8
[    2.176544] sunxi-mmc 4021000.sdmmc: No vmmc regulator found
[    2.182949] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found
[    2.189389] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found
[    2.195870] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found
[    2.202426] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found
[    2.208946] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found
[    2.215481] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found
[    2.222046] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed
[    2.231410] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.242580] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    2.262720] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.286944] sunxi-mmc 4021000.sdmmc: detmode:manually by software
[    2.294520] exFAT: Version 1.3.0
[    2.294622] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    2.305786] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    2.306614] sun8iw20-pinctrl 2000000.pinctrl: pin PG18 already requested by 2000000.pinctrl:210; cannot claim for 2036000.spdif
[    2.314897] option 1-1:1.0: GSM modem (1-port) converter detected
[    2.325519] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.332766] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[    2.344045] sun8iw20-pinctrl 2000000.pinctrl: pin-210 (2036000.spdif) status -22
[    2.352300] option 1-1:1.1: GSM modem (1-port) converter detected
[    2.359847] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 210 (PG18) from group PG18  on device 2000000.pinctrl
[    2.367037] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[    2.378950] sunxi-spdif 2036000.spdif: Error applying setting, reverse things back
[    2.387289] option 1-1:1.2: GSM modem (1-port) converter detected
[    2.395054] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    2.402207] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[    2.413474] sunxi-spdif: probe of 2036000.spdif failed with error -22
[    2.414106] [AUDIOCODEC][sunxi_codec_parse_params][2412]:digital_vol:0, lineout_vol:26, mic1gain:31, mic2gain:31 pa_msleep:120, pa_level:1, pa_pwr_level:1
[    2.414106] 
[    2.421941] option 1-1:1.3: GSM modem (1-port) converter detected
[    2.428427] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0
[    2.445845] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[    2.452744] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished
[    2.463241] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.471745] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present!
[    2.479822] option 1-1:1.4: GSM modem (1-port) converter detected
[    2.485805] [SNDCODEC][sunxi_card_init][583]:card init finished
[    2.495491] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.495887] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB4
[    2.508977] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.515748] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    2.515779] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[    2.524177] option 1-1:1.5: GSM modem (1-port) converter detected
[    2.530420] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok
[    2.537227] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB5
[    2.549018] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0
[    2.555567] option 1-1:1.6: GSM modem (1-port) converter detected
[    2.565268] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished
[    2.583910] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB6
[    2.590618] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch
[    2.598920] option 1-1:1.7: GSM modem (1-port) converter detected
[    2.620395] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB7
[    2.620545] NET: Registered protocol family 10
[    2.633972] Segment Routing with IPv6
[    2.638199] NET: Registered protocol family 17
[    2.643366] Bluetooth: RFCOMM TTY layer initialized
[    2.648876] Bluetooth: RFCOMM socket layer initialized
[    2.654702] Bluetooth: RFCOMM ver 1.11
[    2.659503] Registering SWP/SWPB emulation handler
[    2.679336] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator
[    2.689177] sunxi-i2c sunxi-i2c2: probe success
[    2.695310] sun8iw20-pinctrl 2000000.pinctrl: pin PG18 already requested by 2000000.pinctrl:210; cannot claim for 2036000.spdif
[    2.708233] sun8iw20-pinctrl 2000000.pinctrl: pin-210 (2036000.spdif) status -22
[    2.716546] sun8iw20-pinctrl 2000000.pinctrl: could not request pin 210 (PG18) from group PG18  on device 2000000.pinctrl
[    2.728834] sunxi-spdif 2036000.spdif: Error applying setting, reverse things back
[    2.737341] sunxi-spdif: probe of 2036000.spdif failed with error -22
[    2.745109] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator
[    2.757633] get ehci0-controller wakeup-source is fail.
[    2.763623] sunxi ehci0-controller don't init wakeup source
[    2.769877] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b681e8, 0x:c8899000, irq_no:38
[    2.781853] [sunxi-ehci0]: Not init ehci0
[    2.786676] get ohci0-controller wakeup-source is fail.
[    2.792635] sunxi ohci0-controller don't init wakeup source
[    2.798866] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b68478
[    2.808548] [sunxi-ohci0]: Not init ohci0
[    2.814301] ubi0: attaching mtd3
[    3.562043] ubi0: scanning is finished
[    3.578908] ubi0: attached mtd3 (name "sys", size 251 MiB)
[    3.585089] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[    3.592799] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[    3.600416] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    3.608194] ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
[    3.615021] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128
[    3.623118] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[    3.632483] ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
[    3.642929] ubi0: background thread "ubi_bgt0d" started, PID 75
[    3.650756] block ubiblock0_5: created from ubi0:5(rootfs)
[    3.657305] get usb_detect_mode is fail, -22
[    3.662130] get det_vbus is fail, -84
[    3.666233] get id is fail, -84
[    3.672328] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.682032] cfg80211: failed to load regulatory.db
[    3.682049] clk: Not disabling unused clocks
[    3.692196] ALSA device list:
[    3.695511]   #0: audiocodec
[    3.698742] alloc_fd: slot 0 not NULL!
[    3.706560] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[    3.716563] devtmpfs: mounted
[    3.721812] Freeing unused kernel memory: 1024K
[    3.740248] Run /pseudo_init as init process
mount: mounting none on /dev failed: Resource busy
[    3.980014] UBIFS (ubi0:7): Mounting in unauthenticated mode
[    3.986549] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 103
[    4.080224] UBIFS (ubi0:7): recovery needed
[    4.191793] UBIFS (ubi0:7): recovery completed
[    4.197007] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data"
[    4.205803] UBIFS (ubi0:7): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[    4.216961] UBIFS (ubi0:7): FS size: 23224320 bytes (22 MiB, 90 LEBs), journal size 2064385 bytes (1 MiB, 6 LEBs)
[    4.228482] UBIFS (ubi0:7): reserved for root: 1096942 bytes (1071 KiB)
[    4.235915] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID F054F81B-2A0E-456D-8072-6A1C43F98397, small LPT model
Cannot get MTD information for /dev/by-name/env
Cannot get MTD information for /dev/by-name/env-redund
can't run '/etc/preinit': No such file or directory
mount: mounting proc on /proc failed: Resource busy
mount: mounting tmpfs on /run failed: No such file or directory
hostname: can't open '/etc/hostname': No such file or directory
------run rc.preboot file-----
[    4.362328] UBIFS (ubi0:8): Mounting in unauthenticated mode
[    4.368809] UBIFS (ubi0:8): background thread "ubifs_bgt0_8" started, PID 133
[    4.515899] UBIFS (ubi0:8): UBIFS: mounted UBI device 0, volume 8, name "UDISK"
[    4.524130] UBIFS (ubi0:8): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[    4.535247] UBIFS (ubi0:8): FS size: 157925376 bytes (150 MiB, 612 LEBs), journal size 7999488 bytes (7 MiB, 31 LEBs)
[    4.547151] UBIFS (ubi0:8): reserved for root: 4952683 bytes (4836 KiB)
[    4.554578] UBIFS (ubi0:8): media format: w5/r0 (latest is w5/r0), UUID 8305F167-DAEA-4E47-8DB5-2DD41E311A2F, small LPT model
------run rc.modules file-----
insmod: can't insert '/lib/modules/5.4.61/usb-storage.ko': No such file or directory
[    4.598906] sunxi_gpadc_init,2151, success
[    4.603857] sunxi_gpadc_setup: get channel scan data failed
[    4.610497] input: sunxi-gpadc0 as /devices/virtual/input/input1
[    4.622818] get ctp_power is fail, -22
[    4.627024] get ctp_power_ldo_vol is fail, -22
[    4.632046] sunxi_ctp_startup: ctp_power_io is invalid.
[    4.637928] get ctp_gesture_wakeup fail, no gesture wakeup
[    4.644094] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator
[    4.690114] 
[    4.690114] insmod_device_driver
[    4.690114] 
[    4.697296] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator
[    4.709387] device_chose finished 142!
[    4.825405] sunxi-i2c sunxi-i2c2: Bus error
[    4.830170] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    4.837755] sunxi-i2c sunxi-i2c2: STOP failed!
[    4.842751] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    4.855658] sunxi-i2c sunxi-i2c2: Bus error
[    4.860418] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    4.868003] sunxi-i2c sunxi-i2c2: STOP failed!
[    4.872995] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    4.885899] sunxi-i2c sunxi-i2c2: Bus error
[    4.890659] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    4.898244] sunxi-i2c sunxi-i2c2: STOP failed!
[    4.903240] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    4.916101] sunxi-i2c sunxi-i2c2: Bus error
[    4.920863] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    4.928451] sunxi-i2c sunxi-i2c2: STOP failed!
[    4.933441] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    4.946282] sunxi-i2c sunxi-i2c2: Bus error
[    4.951043] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    4.958629] sunxi-i2c sunxi-i2c2: STOP failed!
[    4.963620] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    4.971228] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[    5.140105] <<-GTP-ERROR->> GTP i2c test failed time 1.
[    5.175447] sunxi-i2c sunxi-i2c2: Bus error
[    5.180200] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.187802] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.192787] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.205720] sunxi-i2c sunxi-i2c2: Bus error
[    5.210474] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.218074] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.223057] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.235975] sunxi-i2c sunxi-i2c2: Bus error
[    5.240729] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.248328] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.253308] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.266195] sunxi-i2c sunxi-i2c2: Bus error
[    5.270956] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.278542] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.283534] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.296364] sunxi-i2c sunxi-i2c2: Bus error
[    5.301118] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.308723] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.313713] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.321320] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[    5.490105] <<-GTP-ERROR->> GTP i2c test failed time 2.
[    5.525472] sunxi-i2c sunxi-i2c2: Bus error
[    5.530234] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.537825] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.542817] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.555774] sunxi-i2c sunxi-i2c2: Bus error
[    5.560535] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.568121] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.573109] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.586069] sunxi-i2c sunxi-i2c2: Bus error
[    5.590820] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.598419] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.603401] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.616286] sunxi-i2c sunxi-i2c2: Bus error
[    5.621036] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.628644] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.633625] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.646536] sunxi-i2c sunxi-i2c2: Bus error
[    5.651286] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.658890] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.663871] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.671480] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[    5.840105] <<-GTP-ERROR->> GTP i2c test failed time 3.
[    5.875481] sunxi-i2c sunxi-i2c2: Bus error
[    5.880241] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.887827] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.892819] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.905790] sunxi-i2c sunxi-i2c2: Bus error
[    5.910550] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.918142] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.923132] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.936004] sunxi-i2c sunxi-i2c2: Bus error
[    5.940759] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.948364] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.953347] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.966301] sunxi-i2c sunxi-i2c2: Bus error
[    5.971051] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    5.978653] sunxi-i2c sunxi-i2c2: STOP failed!
[    5.983632] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    5.996561] sunxi-i2c sunxi-i2c2: Bus error
[    6.001315] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    6.008918] sunxi-i2c sunxi-i2c2: STOP failed!
[    6.013903] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    6.021514] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[    6.190105] <<-GTP-ERROR->> GTP i2c test failed time 4.
[    6.225495] sunxi-i2c sunxi-i2c2: Bus error
[    6.230259] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    6.237847] sunxi-i2c sunxi-i2c2: STOP failed!
[    6.242842] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    6.255754] sunxi-i2c sunxi-i2c2: Bus error
[    6.260517] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    6.268107] sunxi-i2c sunxi-i2c2: STOP failed!
[    6.273097] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    6.286014] sunxi-i2c sunxi-i2c2: Bus error
[    6.290776] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    6.298366] sunxi-i2c sunxi-i2c2: STOP failed!
[    6.303358] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    6.316308] sunxi-i2c sunxi-i2c2: Bus error
[    6.321071] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    6.328666] sunxi-i2c sunxi-i2c2: STOP failed!
[    6.333654] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    6.346610] sunxi-i2c sunxi-i2c2: Bus error
[    6.351374] sunxi-i2c sunxi-i2c2: engine-mode: bus state: 0x0, isn't idle
[    6.358964] sunxi-i2c sunxi-i2c2: STOP failed!
[    6.363957] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14)
[    6.371563] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset.
[    6.540105] <<-GTP-ERROR->> GTP i2c test failed time 5.
[    6.570105] I2C communication ERROR!
[    6.570129] regulator-dummy: Underflow of regulator enable count
[    6.581031] gt9xxnew_ts: probe of 2-0014 failed with error -1
[    6.663029] Error: Driver 'gt9xxnew_ts' is already registered, aborting...
insmod: can't insert '/lib/modules/5.4.61/gt9xxnew_ts.ko': Operation not permitted
[    6.962771] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success
[    7.069899] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1
[    7.076198] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.087829] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator
[    7.107998] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.132025] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    7.139681] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[    7.146522] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.161087] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[    7.174825] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    7.182356] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    7.189884] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    7.197416] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[    7.204164] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
Successfully initialized wpa_supplicant
Could not read interface wlan0 flags: No such device
nl80211: Driver does not support authentication/association or connect commands
nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Could not read interface wlan0 flags: No such device
wlan0: Failed to initialize driver interface
------run rc.final file-----
mount: mounting /dev/mmcblk0p1 on /mnt/extsd failed: No such file or directory


BusyBox v1.27.2 () built-in shell (ash)

------run profile file-----
 _____  _              __     _
|_   _||_| ___  _ _   |  |   |_| ___  _ _  _ _
  | |   _ |   ||   |  |  |__ | ||   || | ||_'_|
  | |  | || | || _ |  |_____||_||_|_||___||_,_|
  |_|  |_||_|_||_|_|  Tina is Based on OpenWrt!
 ----------------------------------------------
 Tina Linux (Neptune, 5C1C9C53)
 ----------------------------------------------
Trying to connect to SWUpdate...
nodev	debugfs
root@TinaLinux:/# swu_param: ####
swu_software: ####

离线

楼主 #1 2023-11-10 17:36:00

上邪
会员
注册时间: 2022-02-15
已发帖子: 26
积分: 66

Re: T113-S3支持W25N02KVZEIR SPI NAND

识别起来步骤比较简单,更改u-boot和Linux的源码就可以了;都是在id.c里面更改

具体更改的地方

struct aw_spinand_phy_info winbond[] =
{
	{
		.Model		= "W25N01GVZEIG",
		.NandID		= {0xef, 0xaa, 0x21, 0xff, 0xff, 0xff, 0xff, 0xff},
		.DieCntPerChip  = 1,
		.SectCntPerPage = 4,
		.PageCntPerBlk  = 64,
		.BlkCntPerDie	= 1024,
		.OobSizePerPage = 64,
		.OperationOpt	= SPINAND_QUAD_READ | SPINAND_QUAD_PROGRAM |
			SPINAND_DUAL_READ,
		.MaxEraseTimes  = 65000,
		.EccType	= BIT2_LIMIT1_ERR2,
		.EccProtectedType = SIZE16_OFF4_LEN4_OFF8,
		.BadBlockFlag = BAD_BLK_FLAG_FRIST_1_PAGE,
	},
	{
		.Model		= "W25N02KVZEIR",
		.NandID		= {0xef, 0xaa, 0x22, 0xff, 0xff, 0xff, 0xff, 0xff},
		.DieCntPerChip  = 1,
		.SectCntPerPage = 4,
		.PageCntPerBlk  = 64,
		.BlkCntPerDie	= 2048,
		.OobSizePerPage = 64,
		.OperationOpt	= SPINAND_QUAD_READ | SPINAND_QUAD_PROGRAM |
			SPINAND_DUAL_READ,
		.MaxEraseTimes  = 65000,
		.EccType	= BIT2_LIMIT1_ERR2,
		.EccProtectedType = SIZE16_OFF4_LEN4_OFF8,
		.BadBlockFlag = BAD_BLK_FLAG_FRIST_1_PAGE,
	},
};

离线

楼主 #2 2023-11-10 17:44:19

上邪
会员
注册时间: 2022-02-15
已发帖子: 26
积分: 66

Re: T113-S3支持W25N02KVZEIR SPI NAND

更改完后,理论上就能识别了,然后参照启动介质切换的帖子,更改成SPI NAND启动

离线

楼主 #3 2023-11-10 17:49:14

上邪
会员
注册时间: 2022-02-15
已发帖子: 26
积分: 66

Re: T113-S3支持W25N02KVZEIR SPI NAND

另外,在调试的时候发现了一个奇怪的问题。
1、vcc-dram 1.8V也能启动。按照手册上的数据是1.5V。在启动时序图上,看到的电压是1.35/1.5/1.8.
2、用电脑下载固件到flash的时候,usb不能正常识别,然后看到其他帖子说要把avcc接上。我接上果然可以了。这个为啥。我看手册上的usb电压是vcc-io上的

离线

#4 2023-11-15 11:41:46

NaClH2O
会员
注册时间: 2023-11-15
已发帖子: 6
积分: 16

Re: T113-S3支持W25N02KVZEIR SPI NAND

Flash内部控制器会升压,相比较读,写Flash需要耗电更多 ,连接AVCC提供额外的电流。

离线

#5 2023-12-03 09:30:09

ueiia
会员
注册时间: 2021-04-30
已发帖子: 29
积分: 12

Re: T113-S3支持W25N02KVZEIR SPI NAND

研究了TINA里面的W25N02KV的驱动,发现uboot里面只要改id.c就能完美识别,内核里面还需要改一些ecc.c和physic.h的内容才能完美支持,原因就是uboot和kernel里面的驱动版本不一样

离线

#6 2024-03-16 18:00:34

ktouch
会员
注册时间: 2023-11-27
已发帖子: 18
积分: 13

Re: T113-S3支持W25N02KVZEIR SPI NAND

楼主可以分享一下ecc.c和physic.h怎么修改的么?万分感谢

离线

#7 2024-03-16 18:37:09

ktouch
会员
注册时间: 2023-11-27
已发帖子: 18
积分: 13

Re: T113-S3支持W25N02KVZEIR SPI NAND

ueiia 说:

研究了TINA里面的W25N02KV的驱动,发现uboot里面只要改id.c就能完美识别,内核里面还需要改一些ecc.c和physic.h的内容才能完美支持,原因就是uboot和kernel里面的驱动版本不一样

可以分享一下ecc.c和physic.h怎么修改的么?万分感谢

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn