硬件设备及镜像 主板为:Yuzuki Lizard V851S开发板 宿主机环境:ubuntu 22.04 SDK版本:Yuzukilizard的github上的Docker镜像 img为:github上Yuzukilizard释放的镜像:[01]v851s_linux_lizard_uart0_2022_12_29.img v851s_linux_lizard_uart0_2022_12_29.img
问题现象简述:
- sdc0报错:
sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !!
sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
- sdc1报错:
sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
- /dev下无sdc0的mmcblock设备TF卡故障,但是sdc1的WiFi部分工作正常
- 已确认此TF卡可在其他设备上正常读取,TF卡分为两个分区:第一分区FAT32——2GB,第二分区EXT4——2GB
已尝试过的方法
- 用Yuzukilizard的github上的Docker直接编译镜像,烧录后故障仍存在。❌
- 更换过Yuzukilizard在github上直接释放的不同镜像,均无效。❌
- 尝试按照Tina SDK文档更改board.dts、uboot-board.dts、sys_config.fex的sdc0和card0部分以及make menuconfig和make kernel_menuconfig,编译烧录无效。❌
- 尝试在board.dts中追加vmmc regulator等配置,编译烧录后无效。❌
- 更换不同的TF卡,和不同的文件系统尝试过FAT32和EXT4均为2GB,故障依旧。❌
- 尝试更换不同的SDK和Ubuntu版本,无效。❌
- 用示波器测试TF卡的CMD信号脚,信号正常发出。
系统启动日志
代码语言:javascript复制[24]HELLO! BOOT0 is starting!
[27]BOOT0 commit : 4b419f21ba
[114][pmu]: bus read error
[117]set pll start
[119]periph0 has been enabled
[122]set pll end
[123]board init ok
[125]rtc[0] value = 0x80000001
[128]DRAM use internal ZQ!!
[131]ZQ value = 0x2e
[133]chip id check OK
[135]POWER SETTING ERROR!
[138]DRAM BOOT DRIVE INFO: V0.16
[141]DRAM CLK = 528 MHz
[143]DRAM Type = 2 (2:DDR2,3:DDR3)
[146]DRAMC read ODT off.
[149]DRAM ODT off.
[151]DRAM SIZE =64 M
[153]dram_tpr4:0x0
[161]DRAM simple test OK.
[163]rtc standby flag is 0x0, super standby flag is 0x0
[169]dram size =64
[172]audio:avcc calibration
[174]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
[179]block from 8 to 32
[561]Check is correct.
[563]Entry_name = optee
[566]Entry_name = u-boot
[574]Entry_name = dtb
[578]Jump to second Boot.
M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm
E/TC:0 0 platform_standby_fdt_parse:133 no pmu node
E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node
U-Boot 2018.05-g3a34d5f (Jul 08 2022 - 07:00:11 0000) Allwinner Technology
[00.657]CPU: Allwinner Family
[00.660]Model: sun8iw21
I2C: [I2C-ERROR]:twi_send_clk_9pulse() 147 SDA is still Stuck Low, failed.
ready
[00.720]DRAM: 64 MiB
[00.724]Relocation Offset is: 00ed0000
[00.757]secure enable bit: 0
E/TC:0 tee_read_fdt:433 fine node /firmware/optee failed with FDT_ERR_NOTFOUND
[00.772]smc_tee_inform_fdt failed with: ffff0000
[I2C-ERROR]:twi_stop() 339 STOP can't sendout!
[00.782]pmu_axp2101_probe pmic_bus_read fail
[I2C-ERROR]:twi_stop() 339 STOP can't sendout!
[00.790]bmu_axp2101_probe pmic_bus_read fail
[00.794]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz
[00.800]gic: sec monitor mode
sunxi flash map init
[00.805]flash init start
[00.807]workmode = 0,storage type = 0
[00.815]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:18
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 0x07b00000 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.933]ubi0: attaching mtd4
[01.163]ubi0: scanning is finished
[01.173]ubi0: attached mtd4 (name "sys", size 123 MiB)
[01.177]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[01.183]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[01.190]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[01.196]ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[01.201]ubi0: user volume: 6, internal volumes: 1, max. volumes count: 128
[01.208]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[01.216]ubi0: available PEBs: 0, total reserved PEBs: 492, PEBs reserved for bad PEB handling: 20
[01.224]sunxi flash init ok
[01.227]line:724 init_clocks
[01.230]drv_disp_init
request pwm success, pwm6:pwm6:0x2000c00.
[01.244]drv_disp_init finish
[01.387]Loading Environment from SUNXI_FLASH... OK
[01.425]boot_gui_init:start
[01.428]set disp.dev2_output_type fail. using defval=0
[01.433]LCD open finish
[01.436]boot_gui_init:finish
partno erro : can't find partition bootloader
partno erro : can't find partition boot-resource
[01.493]Get bootloader and boot-resource partition number fail!
[01.501]Item0 (Map) magic is bad
[01.504]out of usb burn from boot: not need burn key
[01.532]update bootcmd
[01.558]change working_fdt 0x41e8fe70 to 0x41e6fe70
[01.569]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
[01.578]update dts
Hit any key to stop autoboot: 0
input addr exceed dram scope
[03.504]no vendor_boot partition is found
Android's image name: sun8i_arm
[03.568]Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.191 (yuzuki@YuzukiOMEN) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #2 PREEMPT Mon Dec 12 15:04:54 CST 2022
[ 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: sun8iw21
[ 0.000000] disp reserve base 0x41f13000 ,size 0x177000
[ 0.000000] Reserved memory: created DMA memory pool at 0x47000000, size 0 MiB
[ 0.000000] OF: reserved mem: initialized node vdev0buffer@47000000, compatible id shared-dma-pool
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 16384
[ 0.000000] free_area_init_node: node 0, pgdat c0a454e8, node_mem_map c3f78000
[ 0.000000] Normal zone: 128 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 16384 pages, LIFO batch:3
[ 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] CPU: All CPU(s) started in SVC mode.
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256
[ 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_4 rootfstype=squashfs init=/init partitions=mbr@ubi0_0:boot-res@ubi0_1:env@ubi0_2:boot@ubi0_3:rootfs@ubi0_4:UDISK@ubi0_5: cma= snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw21p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05-g3a34d5f(07/08/2022-07:00:11) mbr_offset=1032192 disp_reserve=1536000,0x41f13000 bootreason=button aw-ubi-spinand.ubootblks=24 androidboot.dramsize=64
[ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)
[ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Memory: 53248K/65536K available (6144K kernel code, 280K rwdata, 1408K rodata, 1024K init, 168K bss, 12288K reserved, 0K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB)
[ 0.000000] .data : 0xc0a00000 - 0xc0a463a8 ( 281 kB)
[ 0.000000] .bss : 0xc0a463a8 - 0xc0a70454 ( 169 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000000] arm_arch_timer: Architected 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
[ 0.000020] Switching to timer-based delay loop, resolution 41ns
[ 0.000208] Console: colour dummy device 80x30
[ 0.000239] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.000253] pid_max: default: 32768 minimum: 301
[ 0.000450] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000463] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001044] CPU: Testing write buffer coherency: ok
[ 0.001673] Setting up static identity map for 0x40100000 - 0x40100058
[ 0.003419] devtmpfs: initialized
[ 0.036187] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.036770] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.036795] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.036943] atomic64_test: passed
[ 0.036957] pinctrl core: initialized pinctrl subsystem
[ 0.038100] NET: Registered protocol family 16
[ 0.038871] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.040337] dump_class_init,857, success
[ 0.069569] cpuidle: using governor menu
[ 0.070933] platform 2010000.iommu: iova_base: 0x48400000
[ 0.071525] sunxi iommu: irq = 22
[ 0.092595] sun8iw21p1-pinctrl pio: initialized sunXi PIO driver
[ 0.095671] iommu: Adding device npu to group 0
[ 0.097783] iommu: Adding device 1c0e000.ve to group 0
[ 0.111222] iommu: Adding device 5410000.g2d to group 0
[ 0.112083] iommu: Adding device 5000000.disp to group 0
[ 0.123650] iommu: Adding device 5908000.tdm to group 0
[ 0.124546] iommu: Adding device 5900000.isp to group 0
[ 0.125494] iommu: Adding device 58ffffc.isp to group 0
[ 0.126432] iommu: Adding device 58ffff8.isp to group 0
[ 0.127160] iommu: Adding device 58ffff4.isp to group 0
[ 0.127822] iommu: Adding device 5800800.vind:isp@4 to group 0
[ 0.128564] iommu: Adding device 5910000.scaler to group 0
[ 0.129271] iommu: Adding device 590fffc.scaler to group 0
[ 0.130254] iommu: Adding device 590fff8.scaler to group 0
[ 0.130794] iommu: Adding device 590fff4.scaler to group 0
[ 0.131519] iommu: Adding device 5910400.scaler to group 0
[ 0.132203] iommu: Adding device 59103fc.scaler to group 0
[ 0.132699] iommu: Adding device 59103f8.scaler to group 0
[ 0.133433] iommu: Adding device 59103f4.scaler to group 0
[ 0.134149] iommu: Adding device 5910800.scaler to group 0
[ 0.134846] iommu: Adding device 59107fc.scaler to group 0
[ 0.135319] iommu: Adding device 59107f8.scaler to group 0
[ 0.135973] iommu: Adding device 59107f4.scaler to group 0
[ 0.136718] iommu: Adding device 5910c00.scaler to group 0
[ 0.137423] iommu: Adding device 5910bfc.scaler to group 0
[ 0.137882] iommu: Adding device 5910bf8.scaler to group 0
[ 0.138556] iommu: Adding device 5910bf4.scaler to group 0
[ 0.139624] iommu: Adding device vinc0 to group 0
[ 0.140851] iommu: Adding device vinc4 to group 0
[ 0.141891] iommu: Adding device vinc8 to group 0
[ 0.142788] iommu: Adding device vinc12 to group 0
[ 0.148519] iommu: Adding device e907_rproc@0 to group 0
[ 0.148960] iommu: Adding device rpbuf_controller@0 to group 0
[ 0.190315] pwm module init!
[ 0.194887] sunxi-pm debug v3.10
[ 0.195971] SCSI subsystem initialized
[ 0.196368] usbcore: registered new interface driver usbfs
[ 0.196462] usbcore: registered new interface driver hub
[ 0.200718] usbcore: registered new device driver usb
[ 0.201106] sunxi_i2c_adap_init()2754 - init
[ 0.201645] sunxi_i2c_probe()2449 - [i2c1] twi_drv_used = 0
[ 0.201663] sunxi_i2c_probe()2456 - [i2c1] twi_pkt_interval = 0
[ 0.201733] twi_regulator_request()653 - [i2c1] regulator not found(isn't configured in dts)!
[ 0.201743] twi_request_gpio()469 - [i2c1] init name: (null)
[ 0.202824] sunxi_i2c_probe()2449 - [i2c2] twi_drv_used = 0
[ 0.202844] sunxi_i2c_probe()2456 - [i2c2] twi_pkt_interval = 0
[ 0.202919] twi_regulator_request()653 - [i2c2] regulator not found(isn't configured in dts)!
[ 0.202929] twi_request_gpio()469 - [i2c2] init name: (null)
[ 0.204529] media: Linux media interface: v0.10
[ 0.204742] Linux video capture interface: v2.00
[ 0.207113] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000
[ 0.207514] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000
[ 0.209184] Advanced Linux Sound Architecture Driver Initialized.
[ 0.210746] Bluetooth: Core ver 2.22
[ 0.210948] NET: Registered protocol family 31
[ 0.210962] Bluetooth: HCI device and connection manager initialized
[ 0.210989] Bluetooth: HCI socket layer initialized
[ 0.211004] Bluetooth: L2CAP socket layer initialized
[ 0.211071] Bluetooth: SCO socket layer initialized
[ 0.214416] G2D: rcq version initialized.major:251
[ 0.215564] clocksource: Switched to clocksource arch_sys_counter
[ 0.248368] get androidboot.mode fail
[ 0.250644] NET: Registered protocol family 2
[ 0.265948] TCP established hash table entries: 16 (order: -6, 64 bytes)
[ 0.265972] TCP bind hash table entries: 16 (order: -6, 64 bytes)
[ 0.265982] TCP: Hash tables configured (established 16 bind 16)
[ 0.266061] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.266080] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.266321] NET: Registered protocol family 1
[ 0.266665] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC0
[ 0.266685] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC1
[ 0.266701] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC2
[ 0.266715] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC3
[ 0.266730] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC4
[ 0.266744] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC5
[ 0.267017] sunxi_spi_probe()2250 - [spi0] SPI DBI INTERFACE
[ 0.267030] sunxi_spi_probe()2259 - [spi0] SPI MASTER MODE
[ 0.267131] sunxi_spi_resource_get()1917 - sample_mode:1 sample_delay:18
[ 0.267158] spi0 supply spi not found, using dummy regulator
[ 0.267249] sunxi_spi_request_gpio()1883 - [spi0] Pinctrl init spi0
[ 0.267342] sunxi_spi_clk_init()1954 - [spi0] mclk 100000000
[ 0.268441] sunxi_spi_probe()2339 - [spi0]: driver probe succeed, base c486a000, irq 294
[ 0.272600] workingset: timestamp_bits=29 max_order=14 bucket_order=0
[ 0.290083] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.290724] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 0.293251] io scheduler noop registered
[ 0.293271] io scheduler deadline registered
[ 0.293606] io scheduler cfq registered (default)
[ 0.294924] [DISP]disp_module_init
[ 0.297099] [DISP] disp_init,line:2340:
[ 0.297120] smooth display screen:0 type:1 mode:4
[ 0.330547] lcd 0, driver_name d310t9362v1, panel_name default_lcd
[ 0.330568] lcd 0, driver_name d310t9362v1, panel_name d310t9362v1
[ 0.330587] lcd 0, driver_name d310t9362v1, panel_name super_lcd_driver
[ 0.330784] display_fb_request,fb_id:0
[ 0.337574] rotation hw function is configed as no used
[ 0.338094] [DISP] de_fcm_set_para,line:491:
[ 0.338105] fcm lut 0 not find, auto retry after init
[ 0.339485] [DISP]disp_module_init finish
[ 0.342308] uart0 supply uart not found, using dummy regulator
[ 0.342588] uart0: ttyS0 at MMIO 0x2500000 (irq = 289, base_baud = 1500000) is a SUNXI
[ 0.342624] sw_console_setup()2050 - console setup baud 115200 parity n bits 8, flow n
[ 0.347898] [DISP] de_fcm_set_para,line:491:
[ 0.347899] fcm lut 0 not find, auto retry after init
[ 0.347920] [DISP] de_fcm_set_para,line:491:
[ 0.347921] fcm lut 0 not find, auto retry after init
[ 0.348003] [DISP] lcd_clk_config,line:702:
[ 0.348004] disp 0, clk: pll(204000000),clk(204000000),dclk(34000000) dsi_rate(34000000)
[ 0.348004] clk real:pll(288000000),clk(288000000),dclk(72000000) dsi_rate(150000000)
[ 1.525496] console [ttyS0] enabled
[ 1.530480] misc dump reg init
[ 1.534619] npu[1][1] vipcore, platform driver device=0xc3a15010
[ 1.541711] npu[1][1] vipcore irq number is 290.
[ 1.546968] gckvip_drv_adjust_param 232 SUCCESS
[ 1.552092] the freq of pll_npux4 clk is fixed
[ 1.557188] Want set pclk rate(348000000) support(1392000000) real(1392000000)
[ 1.565295] Want set mclk rate(348000000) support(348000000) real(348000000)
[ 1.573283] npu[1][1] This device support 64bits DMA
[ 1.579481] npu[1][1] core_0, request irqline=290, name=vipcore_0
[ 1.586637] npu[1][1] =======vipcore parameter=====
[ 1.592103] npu[1][1] registerMemBase 0x03050000,
[ 1.597931] npu[1][1] registerMemSize 0x00020000,
[ 1.603686] npu[1][1] irqLine 0x00000122,
[ 1.609473] npu[1][1] contiguousSize 0x02000000
[ 1.615027] npu[1][1] contiguousBase 0x30000000
[ 1.620669] npu[1][1] vipContiguousBase 0x0
[ 1.625542] npu[1][1] drvType 0x00000000
[ 1.631129] npu[1][1] AXISramSize 0x00000000
[ 1.636711] npu[1][1] AXISramBaseAddress 0x00000000
[ 1.642268] npu[1][1] VIPSramSize 0x00020000
[ 1.647834] npu[1][1] VIPSramBaseAddress 0x00400000
[ 1.653384] npu[1][1] sysHeapSize 0x00200000
[ 1.658944] npu[1][1] ===============================
[ 1.664699] npu[1][1] VIPLite driver version 1.8.0.0-AW-2022-04-21
[ 1.672919] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1)
[ 1.679451] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (-1)
[ 1.686158] sunxi-wlan soc@03000000:wlan@0: Missing wlan_io_regulator.
[ 1.693464] sunxi-wlan soc@03000000:wlan@0: io_regulator_name ((null))
[ 1.700823] sunxi-wlan soc@03000000:wlan@0: request pincrtl handle for device [soc@03000000:wlan@0] failed
[ 1.711769] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=134 mul-sel=1 pull=1 drv_level=2 data=0
[ 1.722371] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed
[ 1.729448] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=135 mul-sel=14 pull=1 drv_level=2 data=0
[ 1.740487] sunxi-wlan soc@03000000:wlan@0: clk_name ()
[ 1.748534] sunxi-spinand: AW SPINand MTD Layer Version: 2.4 20220106
[ 1.756264] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211125
[ 1.764134] sunxi-spinand-phy: detect munufacture from id table: Foresee
[ 1.771715] sunxi-spinand-phy: detect spinand id: ff7171cd ffffffff
[ 1.778769] sunxi-spinand-phy: ========== arch info ==========
[ 1.785293] sunxi-spinand-phy: Model: FS35SQA001G
[ 1.792036] sunxi-spinand-phy: Munufacture: Foresee
[ 1.798313] sunxi-spinand-phy: DieCntPerChip: 1
[ 1.803955] sunxi-spinand-phy: BlkCntPerDie: 1024
[ 1.809921] sunxi-spinand-phy: PageCntPerBlk: 64
[ 1.815685] sunxi-spinand-phy: SectCntPerPage: 4
[ 1.821335] sunxi-spinand-phy: OobSizePerPage: 64
[ 1.827091] sunxi-spinand-phy: BadBlockFlag: 0x0
[ 1.832938] sunxi-spinand-phy: OperationOpt: 0x7
[ 1.838791] sunxi-spinand-phy: MaxEraseTimes: 50000
[ 1.844827] sunxi-spinand-phy: EccFlag: 0x0
[ 1.850679] sunxi-spinand-phy: EccType: 2
[ 1.856340] sunxi-spinand-phy: EccProtectedType: 1
[ 1.861998] sunxi-spinand-phy: ========================================
[ 1.869405] sunxi-spinand-phy:
[ 1.872912] sunxi-spinand-phy: ========== physical info ==========
[ 1.879835] sunxi-spinand-phy: TotalSize: 128 M
[ 1.885193] sunxi-spinand-phy: SectorSize: 512 B
[ 1.890559] sunxi-spinand-phy: PageSize: 2 K
[ 1.895734] sunxi-spinand-phy: BlockSize: 128 K
[ 1.901089] sunxi-spinand-phy: OOBSize: 64 B
[ 1.906359] sunxi-spinand-phy: ========================================
[ 1.913758] sunxi-spinand-phy:
[ 1.917277] sunxi-spinand-phy: ========== logical info ==========
[ 1.924090] sunxi-spinand-phy: TotalSize: 128 M
[ 1.929458] sunxi-spinand-phy: SectorSize: 512 B
[ 1.934815] sunxi-spinand-phy: PageSize: 4 K
[ 1.939986] sunxi-spinand-phy: BlockSize: 256 K
[ 1.945340] sunxi-spinand-phy: OOBSize: 128 B
[ 1.950706] sunxi-spinand-phy: ========================================
[ 1.958207] sunxi-spinand-phy: block lock register: 0x00
[ 1.964270] sunxi-spinand-phy: feature register: 0x11
[ 1.969948] sunxi-spinand-phy: sunxi physic nand init end
[ 1.976450] Creating 4 MTD partitions on "sunxi_mtd_nand":
[ 1.982615] 0x000000000000-0x000000100000 : "boot0"
[ 1.990871] 0x000000100000-0x000000400000 : "uboot"
[ 2.000708] 0x000000400000-0x000000500000 : "secure_storage"
[ 2.010224] 0x000000500000-0x000008000000 : "sys"
[ 2.017248] random: fast init done
[ 2.174822] libphy: Fixed MDIO Bus: probed
[ 2.180500] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.188444] get ehci0-controller, regulator_io is no nocare
[ 2.194688] get ehci0-controller wakeup-source is fail.
[ 2.200810] sunxi ehci0-controller don't init wakeup source
[ 2.207244] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0a65ac0, 0x:c4877000, irq_no:131
[ 2.219376] [sunxi-ehci0]: Not init ehci0
[ 2.224349] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.231926] get ohci0-controller, regulator_io is no nocare
[ 2.238258] get ohci0-controller wakeup-source is fail.
[ 2.244273] sunxi ohci0-controller don't init wakeup source
[ 2.250675] [sunxi-ohci0]: probe, pdev->name: 4101000.ohci0-controller, sunxi_ohci: 0xc0a65ce4
[ 2.260405] [sunxi-ohci0]: Not init ohci0
[ 2.265653] usbcore: registered new interface driver uas
[ 2.272052] usbcore: registered new interface driver usb-storage
[ 2.279055] usbcore: registered new interface driver ums-alauda
[ 2.286019] usbcore: registered new interface driver ums-cypress
[ 2.293031] usbcore: registered new interface driver ums-datafab
[ 2.300111] usbcore: registered new interface driver ums_eneub6250
[ 2.307445] usbcore: registered new interface driver ums-freecom
[ 2.314457] usbcore: registered new interface driver ums-isd200
[ 2.321365] usbcore: registered new interface driver ums-jumpshot
[ 2.328521] usbcore: registered new interface driver ums-karma
[ 2.335334] usbcore: registered new interface driver ums-onetouch
[ 2.342510] usbcore: registered new interface driver ums-realtek
[ 2.349648] usbcore: registered new interface driver ums-sddr09
[ 2.356627] usbcore: registered new interface driver ums-sddr55
[ 2.363534] usbcore: registered new interface driver ums-usbat
[ 2.370277] usb_serial_number:20080411
[ 2.405587] [DISP] fb_free_reserve_mem,line:2487:
[ 2.410666] [DISP] fb_free_reserve_mem wait for sync timeout
[ 2.417570] Freeing logo buffer memory: 1500K
[ 2.705760] sunxi_i2c_do_xfer()1974 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x38)
[ 2.715121] ft6236 2-0038: failed to read from controller: -70
[ 2.721727] ft6236: probe of 2-0038 failed with error -70
[ 2.728706] sunxi_gpadc_init,1949, success
[ 2.733735] sunxi_gpadc_setup: get channel scan data failed
[ 2.741548] input: sunxi-gpadc0 as /devices/virtual/input/input0
[ 2.750917] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0
[ 2.758196] sunxi-rtc rtc: RTC enabled
[ 2.762498] fix to hot reboot, save boot reason
[ 2.768176] i2c /dev entries driver
[ 2.773205] sunxi cedar version 0.1
[ 2.777687] VE: install start!!!
[ 2.777687]
[ 2.783141] VE: cedar-ve the get irq is 291
[ 2.788079] VE: regs_csi = c48b1000
[ 2.792678] VE: ve_debug_proc_info:c0a68a78, data:c3b00000, lock:c0a68b00, flag: 1
[ 2.792678]
[ 2.803135] VE: install end!!!
[ 2.803135]
[ 2.808828] google_vp9: sunxi google vp9 version 0.1
[ 2.817632] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0)
[ 2.827528] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903
[ 2.834866] Bluetooth: HCI UART protocol H4 registered
[ 2.840873] Bluetooth: HCI H4 protocol initialized
[ 2.846621] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07
[ 2.854571] bt_fdi debugfs_init
[ 2.860281] cpufreq: cpufreq_online: CPU0: Running at unlisted freq: 900000 KHz
[ 2.895675] cpufreq: cpufreq_online: CPU0: Unlisted initial frequency changed to: 912000 KHz
[ 2.906029] cpuidle: enable-method property 'psci' found operations
[ 2.916148] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40)
[ 2.925130] sunxi-mmc sdc0: ***ctl-spec-caps*** 408
[ 2.930954] sunxi-mmc sdc0: No vmmc regulator found
[ 2.936559] sunxi-mmc sdc0: No vqmmc regulator found
[ 2.942124] sunxi-mmc sdc0: No vdmmc regulator found
[ 2.947761] sunxi-mmc sdc0: No vd33sw regulator found
[ 2.953419] sunxi-mmc sdc0: No vd18sw regulator found
[ 2.959116] sunxi-mmc sdc0: No vq33sw regulator found
[ 2.964773] sunxi-mmc sdc0: No vq18sw regulator found
[ 2.970995] sunxi-mmc sdc0: set host busy
[ 2.975622] mmc:failed to get gpios
[ 2.979921] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 2.990467] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[ 3.025667] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.065597] sunxi-mmc sdc0: detmode:data3
[ 3.070383] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3
[ 3.079888] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3
[ 3.089275] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3
[ 3.098645] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3
[ 3.108013] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3
[ 3.117380] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3
[ 3.127076] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40)
[ 3.136091] sunxi-mmc sdc1: ***ctl-spec-caps*** 8
[ 3.141409] sunxi-mmc sdc1: No vmmc regulator found
[ 3.146913] sunxi-mmc sdc1: No vqmmc regulator found
[ 3.152472] sunxi-mmc sdc1: No vdmmc regulator found
[ 3.158048] sunxi-mmc sdc1: No vd33sw regulator found
[ 3.163702] sunxi-mmc sdc1: No vd18sw regulator found
[ 3.169370] sunxi-mmc sdc1: No vq33sw regulator found
[ 3.175025] sunxi-mmc sdc1: No vq18sw regulator found
[ 3.181298] sunxi-mmc sdc1: set host busy
[ 3.185930] mmc:failed to get gpios
[ 3.190244] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.200709] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[ 3.235606] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.275648] sunxi-mmc sdc1: detmode:manually by software
[ 3.281640] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[ 3.287644] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[ 3.287673] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.295743] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.307553] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.318300] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.324170] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.330048] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.330104] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 3.331190] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.331259] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[ 3.363483] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.382834] usbcore: registered new interface driver usbhid
[ 3.389530] usbhid: USB HID core driver
[ 3.393846] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[ 3.399884] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[ 3.399930] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.408119] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.419967] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.430830] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.436807] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.442698] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.442727] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 3.443822] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.443903] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[ 3.466321] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.495721] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.506476] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[ 3.508165] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[ 3.508228] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.511188] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.513945] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.514402] [sound 1158][DAUDIO snd_sunxi_regulator_init] regulator missing or invalid
[ 3.515641] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.516472] sunxi-snd-mach soc@03000000:codec_mach: sunxi-snd-codec <-> soc@03000000:codec_plat mapping ok
[ 3.517333] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.518985] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.519032] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 3.520149] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.520254] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[ 3.521140] sunxi-snd-mach soc@03000000:daudio0_mach: snd-soc-dummy-dai <-> 2032000.daudio0_plat mapping ok
[ 3.531139] NET: Registered protocol family 10
[ 3.533294] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.534665] NET: Registered protocol family 17
[ 3.534708] NET: Registered protocol family 15
[ 3.535038] Bluetooth: RFCOMM TTY layer initialized
[ 3.535060] Bluetooth: RFCOMM socket layer initialized
[ 3.535088] Bluetooth: RFCOMM ver 1.11
[ 3.536796] Registering SWP/SWPB emulation handler
[ 3.553905] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.588574] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[ 3.594483] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !!
[ 3.594512] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.607583] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.614594] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.620489] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.630749] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.641056] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !!
[ 3.641096] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 3.782891] ubi0: attaching mtd3
[ 3.787727] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.799801] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !!
[ 3.805858] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 3.811873] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 3.817859] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 3.823872] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 3.823901] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 3.824913] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.824938] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[ 3.851533] sunxi-mmc sdc0: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.875679] sunxi-mmc sdc0: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.890105] sunxi-mmc sdc0: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.903980] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !!
[ 3.911031] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 3.918139] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 3.925192] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 3.932331] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 3.938350] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 3.949784] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 3.960264] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[ 3.995618] sunxi-mmc sdc0: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 4.035618] sunxi-mmc sdc0: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 4.050111] sunxi-mmc sdc0: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 4.064496] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !!
[ 4.070965] random: crng init done
[ 4.074789] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 4.082448] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 4.090090] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 4.097722] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 4.103703] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 4.115230] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 4.125922] sunxi-mmc sdc0: no vqmmc,Check if there is regulator
[ 4.155606] sunxi-mmc sdc0: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 4.195616] sunxi-mmc sdc0: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 4.210809] sunxi-mmc sdc0: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 4.226793] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !!
[ 4.235977] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 4.245188] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 4.254451] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 4.263696] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !!
[ 4.269704] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B
[ 4.343097] ubi0: scanning is finished
[ 4.358147] ubi0: attached mtd3 (name "sys", size 123 MiB)
[ 4.364318] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[ 4.372115] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[ 4.379838] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 4.387773] ubi0: good PEBs: 492, bad PEBs: 0, corrupted PEBs: 0
[ 4.394510] ubi0: user volume: 6, internal volumes: 1, max. volumes count: 128
[ 4.402645] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[ 4.412028] ubi0: available PEBs: 10, total reserved PEBs: 482, PEBs reserved for bad PEB handling: 10
[ 4.422469] ubi0: background thread "ubi_bgt0d" started, PID 715
[ 4.430903] block ubiblock0_4: created from ubi0:4(rootfs)
[ 4.431430] get det_vbus is fail, 84
[ 4.431435] get id is fail, 84
[ 4.432601] sunxi-rtc rtc: setting system clock to 1970-01-01 00:01:01 UTC (61)
[ 4.433750] clk: Not disabling unused clocks
[ 4.433761] ALSA device list:
[ 4.433767] #0: audiocodec
[ 4.433770] #1: snddaudio0
[ 4.473914] VFS: Mounted root (squashfs filesystem) readonly on device 254:0.
[ 4.486843] devtmpfs: mounted
[ 4.492294] Freeing unused kernel memory: 1024K
[ 4.497598] will run init ...
mount: mounting none on /dev failed: Resource busy
[ 4.877673] UBIFS (ubi0:5): background thread "ubifs_bgt0_5" started, PID 742
[ 4.945354] UBIFS (ubi0:5): recovery needed
[ 5.069390] UBIFS (ubi0:5): recovery completed
[ 5.075001] UBIFS (ubi0:5): UBIFS: mounted UBI device 0, volume 5, name "UDISK"
[ 5.083330] UBIFS (ubi0:5): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes
[ 5.094464] UBIFS (ubi0:5): FS size: 46964736 bytes (44 MiB, 182 LEBs), journal size 2322432 bytes (2 MiB, 9 LEBs)
[ 5.106071] UBIFS (ubi0:5): reserved for root: 2218259 bytes (2166 KiB)
[ 5.113478] UBIFS (ubi0:5): media format: w4/r0 (latest is w4/r0), UUID 4B453BE2-8ADD-40C9-B945-563D851BBE2C, small LPT model
Error locking file /var/lock/fw_printenv.lock
starting pid 758, tty '': '/etc/preinit'
can't run '/etc/preinit': No such file or directory
starting pid 759, tty '': '/bin/mount -t proc proc /proc'
mount: mounting proc on /proc failed: Resource busy
starting pid 760, tty '': '/bin/mount -t tmpfs tmpfs /run'
starting pid 761, tty '': '/bin/mount -o remount,rw /'
starting pid 762, tty '': '/bin/mkdir -p /dev/pts'
starting pid 763, tty '': '/bin/mkdir -p /dev/shm'
starting pid 764, tty '': '/bin/mount -a'
starting pid 765, tty '': '/bin/hostname -F /etc/hostname'
hostname: can't open '/etc/hostname': No such file or directory
starting pid 766, tty '': '/etc/init.d/rcS boot'
------run rc.preboot file-----
/etc/init.d/rcS: line 23: mkfs.ubifs: not found
------run rc.modules file-----
[ 5.445729]
[ 5.445729] insmod_device_driver
[ 5.445729]
[ 5.453334] device_chose finished 122!
[ 5.508056] ======== XRADIO WIFI OPEN ========
[ 5.513057] [XRADIO] Driver Label:XR_V02.16.91 _HT40_01.33 Dec 12 2022 14:57:23
[ 5.521592] [XRADIO] Allocated hw_priv @ c3bf6c80
[ 5.527210] [XRADIO_ERR] Access_file failed, path:/data/misc/wifi/xr_wifi.conf!
[ 5.536438] sunxi-wlan soc@03000000:wlan@0: bus_index: 1
[ 5.652486] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 5.662741] [XRADIO] Detect SDIO card 1
[ 5.677632] sunxi-mmc sdc1: no vqmmc,Check if there is regulator
[ 5.705616] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 5.746239] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 5.759454] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
[ 5.780581] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 5.791315] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
[ 5.802331] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
[ 5.814142] mmc1: new high speed SDIO card at address 0001
[ 5.821132] [SBUS] XRadio Device:sdio clk=50000000
[ 5.828178] [XRADIO] XRADIO_HW_REV 1.0 detected.
[ 5.955988] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000.
[ 6.054808] [XRADIO] Bootloader complete
[ 6.144159] [XRADIO] Firmware completed.
[ 6.150005] [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09
[ 6.167437] [XRADIO] Firmware Startup Done.
[ 6.172437] [XRADIO_WRN] enable Multi-Rx!
[ 6.189379] ieee80211 phy0: Failed to initialize wep: -2
[ 6.195425] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
------run rc.final file-----
Load mpp modules
[ 6.344970] [VIN_WARN]sensor_helper_probe: cannot get sensor0_cameravdd supply, setting it to NULL!
[ 6.355627] [VIN_WARN]sensor_helper_probe: cannot get sensor0_iovdd supply, setting it to NULL!
[ 6.365386] [VIN_WARN]sensor_helper_probe: cannot get sensor0_avdd supply, setting it to NULL!
[ 6.375078] [VIN_WARN]sensor_helper_probe: cannot get sensor0_dvdd supply, setting it to NULL!
[ 6.454928] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.464515] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.474043] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.483571] [VIN_DEV_I2C]gc2053_mipi sensor read retry = 2
[ 6.709942] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.719487] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.729073] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.738534] [VIN_DEV_I2C]gc2053_mipi sensor read retry = 2
[ 6.964863] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.974400] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.983974] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 6.993344] [VIN_DEV_I2C]gc2053_mipi sensor read retry = 2
[ 7.219733] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 7.229308] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 7.238834] sunxi_i2c_do_xfer()1974 - [i2c1] incomplete xfer (status: 0x20, dev addr: 0x37)
[ 7.248199] [VIN_DEV_I2C]gc2053_mipi sensor read retry = 2
[ 7.254337] [gc2053_mipi] error, chip found is not an target chip.
[ 7.273806] [VIN_ERR]registering gc2053_mipi, No such device!
insmod: can't insert '/lib/modules/4.9.191/sunxi_aio.ko': No such file or directory
insmod: can't insert '/lib/modules/4.9.191/sunxi_eise.ko': No such file or directory
insmod: can't insert '/lib/modules/4.9.191/nna_sunxi.ko': No such file or directory
Starting logging: start-stop-daemon: unrecognized option: exec
start-stop-daemon: unrecognized option: exec
OK
Initializing random number generator... done.
cat: can't open '/sys/class/sunxi_info/sys_info': No such file or directory
Starting network: Failed to connect to ubus
/sbin/ifup: line 43: /sbin/wifi: not found
FAIL
ifconfig: invalid hw-addr 00:
udhcpc: SIOCGIFINDEX: No such device
Starting telnetd: OK
enable android usb
[ 7.847081] file system registered
[ 7.864442] configfs-gadget 4100000.udc-controller: failed to start g1: -19
sh: write error: No such device
Starting wifi_daemon....: [ 7.938763] read descriptors
[ 7.942041] read strings
1970-01-01 00:01:05:085: WMG_INFO [wifi_daemon.c:main:817]: debug log level is: 3
1970-01-01 00:01:05:086: WMG_INFO [wifi_daemon.c:main:819]: now set to debug level: 6
[ACT D][ring_buff_init,27]enter
[ACT D][ring_buff_start,173]ring buffer start enter
[ACT D][ring_buff_start,187]ring buffer start quit
1970-01-01 00:01:07:113: WMG_DEBUG [wifi_daemon.c:cmd_handle_thread:702]: get cmd: o sta
1970-01-01 00:01:07:113: WMG_DEBUG [wifi_daemon.c:cmd_handle_o:49]: cmd handle o: sta
1970-01-01 00:01:07:113: WMG_INFO [wifi_daemon.c:cmd_handle_o:51]: open sta mode
1970-01-01 00:01:07:113: WMG_INFO [src/wmg_sta.c:sta_mode_init:363]: sta mode init now
1970-01-01 00:01:07:113: WMG_INFO [src/os/linux/linux_wpa.c:linux_supplicant_init:1355]: linux supplicant init now
1970-01-01 00:01:07:113: WMG_INFO [src/wmg_ap.c:ap_mode_init:216]: ap mode init now
1970-01-01 00:01:07:113: WMG_INFO [src/os/linux/linux_hapd.c:linux_ap_hapd_init:754]: linux hostapd init now
1970-01-01 00:01:07:114: WMG_INFO [src/wmg_monitor.c:monitor_mode_init:206]: monitor mode init now
1970-01-01 00:01:07:114: WMG_INFO [src/os/linux/linux_nl.c:linux_monitor_nl_init:250]: linux monitor nl init now
1970-01-01 00:01:07:114: WMG_DEBUG [src/os/linux/linux_nl.c:linux_monitor_nl_init:255]: nl80211 init success
1970-01-01 00:01:07:115: WMG_DEBUG [src/wmg_common.c:wifimg_init:143]: wifi_manager initialize, version: 2.0.1
Copyright (c) 2019-2025 Allwinner Technology Co., Ltd. ALL rights reserved
1970-01-01 00:01:07:115: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:256]: switch wifi mode from current_mode 'unknown' to new_mode 'station'
1970-01-01 00:01:07:115: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:260]: switch_mode_bitmap:0x1
1970-01-01 00:01:07:115: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:261]: current_mode_bitmap:0x0
1970-01-01 00:01:07:115: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:264]: disable_mode_bitmap:0x0
1970-01-01 00:01:07:115: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:294]: enable_mode_bitmap:0x1
1970-01-01 00:01:07:115: WMG_DUMP [src/wmg_sta.c:sta_mode_enable:412]: wifi station enabling...
mount: mounting /dev/mmcblk0p1 on /mnt/extsd failed: No such file or directory
starting pid 954, tty '/dev/console': '-/bin/sh'
BusyBox v1.33.2 (2022-07-08 07:13:49 UTC) built-in shell (ash)
------run profile file-----
_____ _ __ _
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
| | _ | || | | |__ | || || | ||_'_|
| | | || | || _ | |_____||_||_|_||___||_,_|
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
----------------------------------------------
Tina Linux (5.0, r0-7277fac)
----------------------------------------------
1970-01-01 00:01:07:156: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_exist:32]: hostapd not exist
root@TinaLinux:/# 1970-01-01 00:01:07:196: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_exist:32]: wpa_supplicant not exist
1970-01-01 00:01:07:196: WMG_DEBUG [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1429]: wpa_supplicant is not running, need to start it
Successfully initialized wpa_supplicant
[ 10.569745] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=50:49:09:80:19:96
[ 10.578114] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=50:49:09:80:19:96
[ 10.591506] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined.
[ 10.609909] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
1970-01-01 00:01:08:220: WMG_EXCESSIVE [src/os/linux/utils.c:check_process_is_exist:29]: wpa_supplicant exist
1970-01-01 00:01:08:220: WMG_DEBUG [src/os/linux/linux_wpa.c:start_supplicant:359]: start wpa_supplicant times 1 success
1970-01-01 00:01:08:220: WMG_EXCESSIVE [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1436]: start wpa_supplicant success
1970-01-01 00:01:08:221: WMG_EXCESSIVE [src/os/linux/linux_wpa.c:wifi_connect_on_socket_path:160]: connect to wpa_supplicant ok!
1970-01-01 00:01:08:222: WMG_DUMP [src/os/linux/linux_wpa.c:linux_connect_to_supplicant:1471]: create linux sta event handle thread success
1970-01-01 00:01:08:222: WMG_DUMP [src/wmg_sta.c:sta_mode_enable:420]: start wpa_supplicant success
1970-01-01 00:01:08:222: WMG_DUMP [src/wmg_sta.c:sta_mode_enable:424]: wifi station enable success
1970-01-01 00:01:08:222: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:300]: wifi sta mode enable success
1970-01-01 00:01:08:222: WMG_DEBUG [src/wmg_common.c:wifimg_switch_mode:320]: switch after current_mode_bitmap:0x1
1970-01-01 00:01:08:222: WMG_DEBUG [src/wifimg.c:__wifi_on:31]: switch wifi mode success
1970-01-01 00:01:08:222: WMG_INFO [wifi_daemon.c:cmd_handle_o:55]: wifi on sta mode success
root@TinaLinux:/# cd dev
root@TinaLinux:/dev# ls
by-name sunxi-reg tty41 usb-ffs
cedar_dev sunxi-wlan tty42 v4l-subdev0
console tty tty43 v4l-subdev1
cpu_dma_latency tty0 tty44 v4l-subdev10
disp tty1 tty45 v4l-subdev11
fb0 tty10 tty46 v4l-subdev12
full tty11 tty47 v4l-subdev13
g2d tty12 tty48 v4l-subdev14
gpiochip0 tty13 tty49 v4l-subdev15
i2c-1 tty14 tty5 v4l-subdev16
i2c-2 tty15 tty50 v4l-subdev17
input tty16 tty51 v4l-subdev18
ion tty17 tty52 v4l-subdev19
kmsg tty18 tty53 v4l-subdev2
media0 tty19 tty54 v4l-subdev20
memory_bandwidth tty2 tty55 v4l-subdev21
mtd0 tty20 tty56 v4l-subdev22
mtd0ro tty21 tty57 v4l-subdev23
mtd1 tty22 tty58 v4l-subdev24
mtd1ro tty23 tty59 v4l-subdev25
mtd2 tty24 tty6 v4l-subdev26
mtd2ro tty25 tty60 v4l-subdev27
mtd3 tty26 tty61 v4l-subdev28
mtd3ro tty27 tty62 v4l-subdev29
mtdblock0 tty28 tty63 v4l-subdev3
mtdblock1 tty29 tty7 v4l-subdev4
mtdblock2 tty3 tty8 v4l-subdev5
mtdblock3 tty30 tty9 v4l-subdev6
network_latency tty31 ttyS0 v4l-subdev7
network_throughput tty32 ubi0 v4l-subdev8
null tty33 ubi0_0 v4l-subdev9
ptmx tty34 ubi0_1 vcs
pts tty35 ubi0_2 vcs1
random tty36 ubi0_3 vcsa
rfkill tty37 ubi0_4 vcsa1
rtc0 tty38 ubi0_5 vipcore
shm tty39 ubi_ctrl watchdog
sid_efuse tty4 ubiblock0_4 watchdog0
snd tty40 urandom zero
root@TinaLinux:/dev# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 44.0M 44.0M 0 100% /rom
devtmpfs 26.0M 0 26.0M 0% /dev
tmpfs 27.2M 0 27.2M 0% /tmp
/dev/by-name/UDISK 40.7M 32.0K 38.6M 0% /mnt/UDISK
overlayfs:/mnt/UDISK/overlay
40.7M 32.0K 38.6M 0% /
tmpfs 27.2M 0 27.2M 0% /run
root@TinaLinux:/dev#
问题分析思路:
- 检查一下这个img镜像是否开启了TF卡的读写功能?
- 确定一下这个问题出现在哪一个方面,①设备树配置问题?②SDK工具和环境问题?③硬件问题? . github上释放的镜像并没有开启TF卡的读写功能!需要自行更改board.dts并编译打包烧录!
解决方法 4. 修改board.dts如下位置
代码语言:javascript复制sdc0_pins_a: sdc0@0 {
allwinner,pins = "PF0", "PF1", "PF2",
"PF3", "PF4", "PF5";
allwinner,function = "sdc0";
allwinner,muxsel = <2>;
- allwinner,drive = <1>;
allwinner,drive = <3>;
- allwinner,pull = <0>;
allwinner,pull = <1>;
};
&sdc0 {
- /*cd-gpios = <&pio PF 6 6 1 3 0xffffffff>;*/
cd-gpios = <&pio PF 6 6 1 3 0xffffffff>;
- /*cd-used-24M;*/
cd-used-24M;
};
- 检查Kernel Configuration是否设置正确,这些选项已在docker镜像中默认配置好 i. 确认Device Drivers的设置下的MMC/SD/SDIO card support设置为开启 ii. 设置 MMC/SD/SDIO card support ——> Number of minors per block device 为 8 iii. 确认MMC/SD/SDIO card support ——> MMC block device driver 和 Allwinner sunxi SD/MMC Host Controller support设置为开启 iv. 确认File systems下开启对ext4文件系统和VFAT文件系统的支持
三. 仍存在问题
- tf卡不支持热插拔,一但拔出需要重启系统
- sdc1仍然报错,但是wifi部分正常
- tf卡时不时就报以下错误
[ 45.129171] sunxi-mmc sdc0: smc 0 p0 err, cmd 24, WR EBE !!
[ 45.135471] sunxi-mmc sdc0: retry:start
[ 45.139819] sunxi-mmc sdc0: retry:stop
[ 45.144066] sunxi-mmc sdc0: retry:stop recover
[ 45.149076] sunxi-mmc sdc0: send manual stop command failed 100
[ 45.155839] sunxi-mmc sdc0: REG_DRV_DL: 0x00030000
[ 45.161253] sunxi-mmc sdc0: REG_SD_NTSR: 0x81710110
[ 45.166717] sunxi-mmc sdc0: REG_NTDL_HS400: 0x20000110
[ 45.172514] sunxi-mmc sdc0: *****retry:re-send cmd*****
[ 45.178362] 1,end
原贴链接:https://bbs.aw-ol.com/topic/3819/