@lhb882 通过百度网盘分享的文件:BingPi-M...
链接:https://pan.baidu.com/s/1k6-UFgxNTCeSczchy4QpHA?pwd=AZ33
提取码:AZ33
复制这段内容打开「百度网盘APP 即可获取」
qz_18732517808 发布的最佳帖子
-
回复: t113 sdk
qz_18732517808 发布的最新帖子
-
回复: T113和AXP202配合使用
@sixpi 最近研究了几天发现不用把他加进regular驱动里面,例如使用AXP202长按开机然后给t113供电,这样t113就可以运行起来,然后iic通信控制芯片或者读取电量就可以了,想关机可以iic发命令,也可以长按开关来使axp关机就行
-
回复: t113 sdk
@lhb882 通过百度网盘分享的文件:BingPi-M...
链接:https://pan.baidu.com/s/1k6-UFgxNTCeSczchy4QpHA?pwd=AZ33
提取码:AZ33
复制这段内容打开「百度网盘APP 即可获取」 -
回复: T113和AXP202配合使用
@whycanservice2 那个比这个贵了8块钱,暂时可以不考虑成本,具体实现方案可以直接通过Tina-linux的SDK直接进行配置使用吗
-
T113和AXP202配合使用
最近在做一款产品需要锂电池供电,并且要对其进行充放电,读取电量,虽然知道这个T113芯片不带电池管理,但是想利用外置电源管理实现上面方案,有没有大佬做过提供下思路
-
回复: 全志在线开源芯片 新 SDK 平台下载方法汇总
@whycanservice 通过百度网盘分享的文件:BingPi-M...
链接:https://pan.baidu.com/s/1k6-UFgxNTCeSczchy4QpHA?pwd=AZ33
提取码:AZ33
复制这段内容打开「百度网盘APP 即可获取」这里有一个t113的
-
回复: T113 fw_printenv工具使用不了
@awwin :[03.162]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (root@swan) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #239 SMP PREEMPT Fri Aug 30 06:57:05 UTC 2024 [ 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 s30860 r8192 d22388 u61440 [ 0.000000] pcpu-alloc: s30860 r8192 d22388 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,rootfsA earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,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:bootA@ubi0_4:rootfsA@ubi0_5:bootB@ubi0_6:rootfsB@ubi0_7:private@ubi0_8:rootfs_data@ubi0_9:UDISK@ubi0_10: 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-config-dirty(08/30/2024-15:57:30) mbr_offset=1032192 disp_reserve=1536000,0x43f19000 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: 103948K/131072K available (7168K kernel code, 344K rwdata, 1880K rodata, 1024K init, 1180K bss, 23028K 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 100 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.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.008008] Switching to timer-based delay loop, resolution 41ns [ 0.014195] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023904] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000) [ 0.034184] pid_max: default: 32768 minimum: 301 [ 0.038920] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046261] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054587] CPU: Testing write buffer coherency: ok [ 0.059803] /cpus/cpu@0 missing clock-frequency property [ 0.065154] /cpus/cpu@1 missing clock-frequency property [ 0.070490] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076669] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083319] rcu: Hierarchical SRCU implementation. [ 0.088552] smp: Bringing up secondary CPUs ... [ 0.094159] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094276] smp: Brought up 1 node, 2 CPUs [ 0.104075] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110283] CPU: All CPU(s) started in SVC mode. [ 0.115379] devtmpfs: initialized [ 0.130468] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.138574] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1911260446275000 ns [ 0.148574] pinctrl core: initialized pinctrl subsystem [ 0.154775] NET: Registered protocol family 16 [ 0.160942] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.197415] rtc_ccu: sunxi ccu init OK [ 0.203512] ccu: sunxi ccu init OK [ 0.207363] r_ccu: sunxi ccu init OK [ 0.233365] iommu: Default domain type: Translated [ 0.238437] sunxi iommu: irq = 24 [ 0.242650] SCSI subsystem initialized [ 0.246693] usbcore: registered new interface driver usbfs [ 0.252254] usbcore: registered new interface driver hub [ 0.257675] usbcore: registered new device driver usb [ 0.262791] mc: Linux media interface: v0.10 [ 0.267135] videodev: Linux video capture interface: v2.00 [ 0.273362] Advanced Linux Sound Architecture Driver Initialized. [ 0.280012] Bluetooth: Core ver 2.22 [ 0.283682] NET: Registered protocol family 31 [ 0.288160] Bluetooth: HCI device and connection manager initialized [ 0.294547] Bluetooth: HCI socket layer initialized [ 0.299475] Bluetooth: L2CAP socket layer initialized [ 0.304587] pwm module init! [ 0.308789] g2d 5410000.g2d: Adding to iommu group 0 [ 0.314103] G2D: rcq version initialized.major:251 [ 0.319863] clocksource: Switched to clocksource arch_sys_counter [ 0.334483] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.343766] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 0.354982] NET: Registered protocol family 2 [ 0.359948] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.368357] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.376052] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.383136] TCP: Hash tables configured (established 1024 bind 1024) [ 0.389623] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.396189] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.403372] NET: Registered protocol family 1 [ 0.408755] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.419063] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.425802] sunxi_spi_resource_get()2116 - [spi0] SPI MASTER MODE [ 0.431959] sunxi_spi_resource_get()2154 - Failed to get sample mode [ 0.438348] sunxi_spi_resource_get()2159 - Failed to get sample delay [ 0.444824] sunxi_spi_resource_get()2163 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.453247] sunxi_spi_clk_init()2205 - [spi0] mclk 100000000 [ 0.459550] sunxi_spi_probe()2623 - [spi0]: driver probe succeed, base c8821000, irq 42 [ 0.469442] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.480958] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.486961] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.520001] io scheduler mq-deadline registered [ 0.524557] io scheduler kyber registered [ 0.529699] [DISP]disp_module_init [ 0.533630] disp 5000000.disp: Adding to iommu group 0 [ 0.539343] [DISP] parser_disp_init_para,line:1430: [ 0.539347] of_property_read fb0_width fail [ 0.548485] [DISP] disp_init,line:2386: [ 0.548490] smooth display screen:0 type:1 mode:4 [ 0.574152] display_fb_request,fb_id:0 [ 0.581117] disp_al_manager_apply ouput_type:1 [ 0.585697] [DISP] lcd_clk_config,line:744: [ 0.585709] disp 0, clk: pll(198000000),clk(198000000),dclk(33000000) dsi_rate(198000000) [ 0.585709] clk real:pll(288000000),clk(288000000),dclk(48000000) dsi_rate(0) [ 0.585892] [DISP]disp_module_init finish [ 0.610740] sunxi_sid_init()551 - insmod ok [ 0.615968] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 0.626202] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.633379] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.641268] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n ▒[ 0.649292] printk: console [ttyS3] enabled [ 0.649292] printk: console [ttyS3] enabled [ 0.658237] printk: bootconsole [earlycon0] disabled [ 0.658237] printk: bootconsole [earlycon0] disabled [ 0.669415] uart uart4: uart4 supply uart not found, using dummy regulator [ 0.677430] uart4: ttyS4 at MMIO 0x2501000 (irq = 35, base_baud = 1500000) is a SUNXI [ 0.687105] misc dump reg init [ 0.691718] [ADDR_MGT] addr_mgt_probe: module version: v1.0.11 [ 0.698995] [ADDR_MGT] addr_mgt_probe: success. [ 0.704387] dma-buf: Running sanitycheck [ 0.708815] dma-buf: Running dma_fence [ 0.713036] sizeof(dma_fence)=48 [ 0.716784] dma-buf: Running dma_fence/sanitycheck [ 0.722190] dma-buf: Running dma_fence/test_signaling [ 0.727882] dma-buf: Running dma_fence/test_add_callback [ 0.733902] dma-buf: Running dma_fence/test_late_add_callback [ 0.733912] free logo buffer src_phy_addr=0x43f19000 fb_height=480 src_stride=3200 [ 0.740365] dma-buf: Running dma_fence/test_rm_callback [ 0.740372] dma-buf: Running dma_fence/test_late_rm_callback [ 0.749938] Freeing logo buffer memory: 1500K [ 0.754965] dma-buf: Running dma_fence/test_status [ 0.771584] dma-buf: Running dma_fence/test_error [ 0.776879] dma-buf: Running dma_fence/test_wait [ 0.782073] dma-buf: Running dma_fence/test_wait_timeout [ 0.791869] dma-buf: Running dma_fence/test_stub [ 0.797095] dma-buf: Running dma_fence/race_signal_callback [ 0.854885] thread_signal_callback[0] completed 27338 passes, 3128 misses [ 0.862538] thread_signal_callback[1] completed 27274 passes, 3065 misses [ 0.921870] thread_signal_callback[0] completed 31266 passes, 31264 misses [ 0.929629] thread_signal_callback[1] completed 31232 passes, 31227 misses [ 0.937924] sunxi-spinand: AW SPINand MTD Layer Version: 2.3 20211223 [ 0.945227] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 0.953143] sunxi-spinand-phy: not detect any munufacture from id table [ 0.960589] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 0.967241] sunxi-spinand-phy: get phy info from fdt fail [ 0.973307] sunxi-spinand-phy: not detect munufacture from fdt [ 0.979991] sunxi-spinand-phy: detect munufacture from id table: Micron [ 0.987491] sunxi-spinand-phy: detect spinand id: ffff242c ffffffff [ 0.994543] sunxi-spinand-phy: ========== arch info ========== [ 1.001097] sunxi-spinand-phy: Model: MT29F2G01ABAGDWB [ 1.008235] sunxi-spinand-phy: Munufacture: Micron [ 1.014395] sunxi-spinand-phy: DieCntPerChip: 1 [ 1.020071] sunxi-spinand-phy: BlkCntPerDie: 2048 [ 1.026035] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.031808] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.037488] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.043261] sunxi-spinand-phy: BadBlockFlag: 0x0 [ 1.049131] sunxi-spinand-phy: OperationOpt: 0x8f [ 1.055098] sunxi-spinand-phy: MaxEraseTimes: 65000 [ 1.061163] sunxi-spinand-phy: EccFlag: 0x0 [ 1.067032] sunxi-spinand-phy: EccType: 6 [ 1.072707] sunxi-spinand-phy: EccProtectedType: 5 [ 1.078379] sunxi-spinand-phy: ======================================== [ 1.085806] sunxi-spinand-phy: [ 1.089336] sunxi-spinand-phy: ========== physical info ========== [ 1.096278] sunxi-spinand-phy: TotalSize: 256 M [ 1.101663] sunxi-spinand-phy: SectorSize: 512 B [ 1.107055] sunxi-spinand-phy: PageSize: 2 K [ 1.112245] sunxi-spinand-phy: BlockSize: 128 K [ 1.117628] sunxi-spinand-phy: OOBSize: 64 B [ 1.122912] sunxi-spinand-phy: ======================================== [ 1.130341] sunxi-spinand-phy: [ 1.133871] sunxi-spinand-phy: ========== logical info ========== [ 1.140721] sunxi-spinand-phy: TotalSize: 256 M [ 1.146104] sunxi-spinand-phy: SectorSize: 512 B [ 1.151486] sunxi-spinand-phy: PageSize: 4 K [ 1.156673] sunxi-spinand-phy: BlockSize: 256 K [ 1.162055] sunxi-spinand-phy: OOBSize: 128 B [ 1.167438] sunxi-spinand-phy: ======================================== [ 1.174871] sunxi-spinand-phy: MT29F2G01ABAGDWB reset rx bit width to 1 [ 1.182302] sunxi-spinand-phy: MT29F2G01ABAGDWB reset tx bit width to 1 [ 1.189823] sunxi-spinand-phy: block lock register: 0x00 [ 1.195939] sunxi-spinand-phy: feature register: 0x10 [ 1.201625] sunxi-spinand-phy: sunxi physic nand init end [ 1.208170] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.214364] 0x000000000000-0x000000100000 : "boot0" [ 1.224718] 0x000000100000-0x000000400000 : "uboot" [ 1.231769] random: fast init done [ 1.242748] 0x000000400000-0x000000500000 : "secure_storage" [ 1.252747] 0x000000500000-0x000010000000 : "sys" [ 1.443185] random: crng init done [ 1.522178] libphy: Fixed MDIO Bus: probed [ 1.526922] vcan: Virtual CAN interface driver [ 1.531926] CAN device driver interface [ 1.537149] sunxi_can 2504400.can: device registered ( base=74534a0a, irq=36 ) [ 1.546224] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 1.557506] sunxi gmac driver's version: 1.0.0 [ 1.562684] gmac-power0: NULL [ 1.566035] gmac-power1: NULL [ 1.569374] gmac-power2: NULL [ 1.573801] Failed to alloc md5 [ 1.577359] eth0: Use random mac address [ 1.582060] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.589411] sunxi-ehci: EHCI SUNXI driver [ 1.594373] get ehci1-controller wakeup-source is fail. [ 1.600355] sunxi ehci1-controller don't init wakeup source [ 1.606629] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0d72a28, 0x:c8881000, irq_no:3b [ 1.618664] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 1.631181] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.643370] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.650645] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.660614] sunxi-ehci 4200000.ehci1-controller: irq 59, io mem 0x04200000 [ 1.674870] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.682710] sunxi-ehci 4200000.ehci1-controller: ehci_irq: highspeed device connect [ 1.691523] hub 1-0:1.0: USB hub found [ 1.695783] hub 1-0:1.0: 1 port detected [ 1.700775] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.707784] sunxi-ohci: OHCI SUNXI driver [ 1.712773] get ohci1-controller wakeup-source is fail. [ 1.718764] sunxi ohci1-controller don't init wakeup source [ 1.725040] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0d72cb8 [ 1.734738] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 1.747252] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.759443] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.766720] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.776631] sunxi-ohci 4200400.ohci1-controller: irq 60, io mem 0x04200400 [ 1.840665] hub 2-0:1.0: USB hub found [ 1.844932] hub 2-0:1.0: 1 port detected [ 1.850016] usbcore: registered new interface driver usb-storage [ 1.858721] ts probe start [ 1.859109] input: 2009c00.rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input0 [ 1.871500] ts probe success [ 1.872004] i2c /dev entries driver [ 1.880145] usbcore: registered new interface driver uvcvideo [ 1.886608] USB Video Class driver (1.1.1) [ 1.891210] gspca_main: v2.14.0 registered [ 1.895810] sunxi cedar version 1.1 [ 1.899901] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.906245] VE: sunxi_cedar_probe power-domain init!!! [ 1.912026] VE: install start!!! [ 1.912026] [ 1.917552] VE: cedar-ve the get irq is 43 [ 1.917552] [ 1.924045] VE: ve_debug_proc_info:571b7b89, data:61762a57, lock:f24a4b25 [ 1.924045] [ 1.933341] VE: install end!!! [ 1.933341] [ 1.938441] VE: sunxi_cedar_probe [ 1.942407] Bluetooth: HCI UART driver ver 2.3 [ 1.947421] Bluetooth: HCI UART protocol H4 registered [ 1.953210] Bluetooth: HCI UART protocol BCSP registered [ 1.961557] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.22 2021-12-20 15:40) [ 1.971696] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.977938] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 1.984313] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 1.990788] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 1.997257] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.003821] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.010377] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.016939] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.023525] usb 1-1: new high-speed USB device number 2 using sunxi-ehci [ 2.031580] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 2.037182] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.048360] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.068528] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.093085] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.098801] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.111227] exFAT: Version 1.3.0 [ 2.116573] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.129383] sunxi-spdif 2036000.spdif: Not using gpio-spdif gpio from dts [ 2.137744] [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.137744] [ 2.154947] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 8, RTO !! [ 2.161785] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !! [ 2.168658] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !! [ 2.175529] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !! [ 2.182396] sunxi-mmc 4020000.sdmmc: smc 0 p0 err, cmd 55, RTO !! [ 2.182423] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.189351] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.211833] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.221080] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.230948] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.238993] hub 1-1:1.0: USB hub found [ 2.243382] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.243399] hub 1-1:1.0: 4 ports detected [ 2.254275] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input1 [ 2.269798] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.278792] NET: Registered protocol family 10 [ 2.283843] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.292328] Segment Routing with IPv6 [ 2.296590] NET: Registered protocol family 17 [ 2.301673] can: controller area network core (rev 20170425 abi 9) [ 2.308707] NET: Registered protocol family 29 [ 2.313710] can: raw protocol (rev 20170425) [ 2.318519] can: broadcast manager protocol (rev 20170425 t) [ 2.324885] lib80211: common routines for IEEE802.11 drivers [ 2.331252] lib80211_crypt: registered algorithm 'NULL' [ 2.337125] lib80211_crypt: registered algorithm 'WEP' [ 2.342905] lib80211_crypt: registered algorithm 'CCMP' [ 2.348782] lib80211_crypt: registered algorithm 'TKIP' [ 2.355287] Registering SWP/SWPB emulation handler [ 2.376371] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 2.387880] sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator [ 2.397744] sunxi-i2c sunxi-i2c2: probe success [ 2.405520] sunxi-audio-card 203605c.soundspdif: use dummy codec for simple card. [ 2.414113] debugfs: Directory '2036000.spdif' with parent 'sndspdif' already present! [ 2.423467] sunxi-audio-card 203605c.soundspdif: snd-soc-dummy-dai <-> 2036000.spdif mapping ok [ 2.434370] get ehci0-controller wakeup-source is fail. [ 2.440406] sunxi ehci0-controller don't init wakeup source [ 2.446689] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0d72508, 0x:c88b5000, irq_no:39 [ 2.458716] [sunxi-ehci0]: Not init ehci0 [ 2.463561] get ohci0-controller wakeup-source is fail. [ 2.469651] sunxi ohci0-controller don't init wakeup source [ 2.475937] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0d72798 [ 2.485641] [sunxi-ohci0]: Not init ohci0 [ 2.491259] ubi0: attaching mtd3 [ 2.648889] usb 1-1.3: new high-speed USB device number 3 using sunxi-ehci [ 3.213948] ubi0: scanning is finished [ 3.230819] ubi0: attached mtd3 (name "sys", size 251 MiB) [ 3.237016] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 3.244756] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 3.252391] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 3.260215] ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0 [ 3.267070] ubi0: user volume: 11, internal volumes: 1, max. volumes count: 128 [ 3.275288] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 3.284697] ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40 [ 3.295174] ubi0: background thread "ubi_bgt0d" started, PID 77 [ 3.303084] block ubiblock0_5: created from ubi0:5(rootfsA) [ 3.311079] OF: fdt: not creating '/sys/firmware/fdt': CRC check failed [ 3.318681] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.328406] cfg80211: failed to load regulatory.db [ 3.328417] clk: Not disabling unused clocks [ 3.338630] ALSA device list: [ 3.341977] #0: audiocodec [ 3.345228] #1: sndspdif [ 3.348281] alloc_fd: slot 0 not NULL! [ 3.356557] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 3.368044] devtmpfs: mounted [ 3.373342] Freeing unused kernel memory: 1024K [ 3.378599] Run /pseudo_init as init process mount: mounting none on /dev failed: Resource busy [ 3.810246] UBI assert failed in ubi_io_read at 122 (pid 105) [ 3.816732] CPU: 1 PID: 105 Comm: fsck.ext4 Not tainted 5.4.61 #239 [ 3.823760] Hardware name: Generic DT based system [ 3.829155] [<c010df0c>] (unwind_backtrace) from [<c010a690>] (show_stack+0x10/0x14) [ 3.837848] [<c010a690>] (show_stack) from [<c0766350>] (dump_stack+0x88/0xa4) [ 3.845957] [<c0766350>] (dump_stack) from [<c041ed80>] (ubi_io_read+0x68/0x2c4) [ 3.854258] [<c041ed80>] (ubi_io_read) from [<c041d474>] (ubi_eba_read_leb+0x210/0x2e8) [ 3.863242] [<c041d474>] (ubi_eba_read_leb) from [<c041a9e4>] (vol_cdev_read+0x16c/0x2a4) [ 3.872422] [<c041a9e4>] (vol_cdev_read) from [<c01caddc>] (__vfs_read+0x30/0xe0) [ 3.880821] [<c01caddc>] (__vfs_read) from [<c01caf1c>] (vfs_read+0x90/0xac) [ 3.888733] [<c01caf1c>] (vfs_read) from [<c01cb26c>] (ksys_pread64+0x78/0xa4) [ 3.896839] [<c01cb26c>] (ksys_pread64) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 3.905621] Exception stack(0xc40affa8 to 0xc40afff0) [ 3.911288] ffa0: 02000000 00000000 00000003 b6ecf010 00000400 00000000 [ 3.920465] ffc0: 02000000 00000000 00ead818 000000b4 00000000 b6ee7e00 02000000 00000000 [ 3.929639] ffe0: bea628b0 bea628a0 b6fca130 b6fc9600 [ 3.935375] ubi0 warning: ubi_io_read: error -22 while reading 249856 bytes from PEB -958288888:12288, read only 0 bytes, retry [ 3.948294] ubi0 warning: ubi_io_read: error -22 while reading 249856 bytes from PEB -958288888:12288, read only 0 bytes, retry [ 3.961203] ubi0 warning: ubi_io_read: error -22 while reading 249856 bytes from PEB -958288888:12288, read only 0 bytes, retry [ 3.974105] ubi0 error: ubi_io_read: error -22 while reading 249856 bytes from PEB -958288888:12288, read 0 bytes [ 3.985636] CPU: 1 PID: 105 Comm: fsck.ext4 Not tainted 5.4.61 #239 [ 3.992663] Hardware name: Generic DT based system [ 3.998045] [<c010df0c>] (unwind_backtrace) from [<c010a690>] (show_stack+0x10/0x14) [ 4.006735] [<c010a690>] (show_stack) from [<c0766350>] (dump_stack+0x88/0xa4) [ 4.014841] [<c0766350>] (dump_stack) from [<c041ef14>] (ubi_io_read+0x1fc/0x2c4) [ 4.023239] [<c041ef14>] (ubi_io_read) from [<c041d474>] (ubi_eba_read_leb+0x210/0x2e8) [ 4.032222] [<c041d474>] (ubi_eba_read_leb) from [<c041a9e4>] (vol_cdev_read+0x16c/0x2a4) [ 4.041401] [<c041a9e4>] (vol_cdev_read) from [<c01caddc>] (__vfs_read+0x30/0xe0) [ 4.049800] [<c01caddc>] (__vfs_read) from [<c01caf1c>] (vfs_read+0x90/0xac) [ 4.057711] [<c01caf1c>] (vfs_read) from [<c01cb26c>] (ksys_pread64+0x78/0xa4) [ 4.065816] [<c01cb26c>] (ksys_pread64) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 4.074597] Exception stack(0xc40affa8 to 0xc40afff0) [ 4.080264] ffa0: 02000000 00000000 00000003 b6ecf010 00000400 00000000 [ 4.089440] ffc0: 02000000 00000000 00ead818 000000b4 00000000 b6ee7e00 02000000 00000000 [ 4.098613] ffe0: bea628b0 bea628a0 b6fca130 b6fc9600 [ 4.170257] UBI assert failed in ubi_io_read at 122 (pid 105) [ 4.176750] CPU: 1 PID: 105 Comm: fsck.ext4 Not tainted 5.4.61 #239 [ 4.183777] Hardware name: Generic DT based system [ 4.189171] [<c010df0c>] (unwind_backtrace) from [<c010a690>] (show_stack+0x10/0x14) [ 4.197864] [<c010a690>] (show_stack) from [<c0766350>] (dump_stack+0x88/0xa4) [ 4.205973] [<c0766350>] (dump_stack) from [<c041ed80>] (ubi_io_read+0x68/0x2c4) [ 4.214275] [<c041ed80>] (ubi_io_read) from [<c041d474>] (ubi_eba_read_leb+0x210/0x2e8) [ 4.223258] [<c041d474>] (ubi_eba_read_leb) from [<c041a9e4>] (vol_cdev_read+0x16c/0x2a4) [ 4.232438] [<c041a9e4>] (vol_cdev_read) from [<c01caddc>] (__vfs_read+0x30/0xe0) [ 4.240837] [<c01caddc>] (__vfs_read) from [<c01caf1c>] (vfs_read+0x90/0xac) [ 4.248749] [<c01caf1c>] (vfs_read) from [<c01cb26c>] (ksys_pread64+0x78/0xa4) [ 4.256855] [<c01cb26c>] (ksys_pread64) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 4.265637] Exception stack(0xc40affa8 to 0xc40afff0) [ 4.271304] ffa0: 80000000 00000000 00000003 b6ecf010 00000400 00000000 [ 4.280480] ffc0: 80000000 00000000 00ec9078 000000b4 00000000 b6ee7e00 80000000 00000000 [ 4.289653] ffe0: bea628b0 bea628a0 b6fca130 b6fc9600 [ 4.295361] ubi0 warning: ubi_io_read: error -22 while reading 249856 bytes from PEB -1141932036:12288, read only 0 bytes, retry [ 4.308364] ubi0 warning: ubi_io_read: error -22 while reading 249856 bytes from PEB -1141932036:12288, read only 0 bytes, retry [ 4.321362] ubi0 warning: ubi_io_read: error -22 while reading 249856 bytes from PEB -1141932036:12288, read only 0 bytes, retry [ 4.334360] ubi0 error: ubi_io_read: error -22 while reading 249856 bytes from PEB -1141932036:12288, read 0 bytes [ 4.345986] CPU: 1 PID: 105 Comm: fsck.ext4 Not tainted 5.4.61 #239 [ 4.353012] Hardware name: Generic DT based system [ 4.358391] [<c010df0c>] (unwind_backtrace) from [<c010a690>] (show_stack+0x10/0x14) [ 4.367081] [<c010a690>] (show_stack) from [<c0766350>] (dump_stack+0x88/0xa4) [ 4.375186] [<c0766350>] (dump_stack) from [<c041ef14>] (ubi_io_read+0x1fc/0x2c4) [ 4.383585] [<c041ef14>] (ubi_io_read) from [<c041d474>] (ubi_eba_read_leb+0x210/0x2e8) [ 4.392567] [<c041d474>] (ubi_eba_read_leb) from [<c041a9e4>] (vol_cdev_read+0x16c/0x2a4) [ 4.401745] [<c041a9e4>] (vol_cdev_read) from [<c01caddc>] (__vfs_read+0x30/0xe0) [ 4.410144] [<c01caddc>] (__vfs_read) from [<c01caf1c>] (vfs_read+0x90/0xac) [ 4.418055] [<c01caf1c>] (vfs_read) from [<c01cb26c>] (ksys_pread64+0x78/0xa4) [ 4.426160] [<c01cb26c>] (ksys_pread64) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 4.434941] Exception stack(0xc40affa8 to 0xc40afff0) [ 4.440607] ffa0: 80000000 00000000 00000003 b6ecf010 00000400 00000000 [ 4.449783] ffc0: 80000000 00000000 00ec9078 000000b4 00000000 b6ee7e00 80000000 00000000 [ 4.458957] ffe0: bea628b0 bea628a0 b6fca130 b6fc9600 [ 4.464884] UBI assert failed in ubi_io_read at 122 (pid 105) [ 4.471351] CPU: 1 PID: 105 Comm: fsck.ext4 Not tainted 5.4.61 #239 [ 4.478377] Hardware name: Generic DT based system [ 4.483761] [<c010df0c>] (unwind_backtrace) from [<c010a690>] (show_stack+0x10/0x14) [ 4.492451] [<c010a690>] (show_stack) from [<c0766350>] (dump_stack+0x88/0xa4) [ 4.500557] [<c0766350>] (dump_stack) from [<c041ed80>] (ubi_io_read+0x68/0x2c4) [ 4.508858] [<c041ed80>] (ubi_io_read) from [<c041d474>] (ubi_eba_read_leb+0x210/0x2e8) [ 4.517841] [<c041d474>] (ubi_eba_read_leb) from [<c041a9e4>] (vol_cdev_read+0x16c/0x2a4) [ 4.527019] [<c041a9e4>] (vol_cdev_read) from [<c01caddc>] (__vfs_read+0x30/0xe0) [ 4.535417] [<c01caddc>] (__vfs_read) from [<c01caf1c>] (vfs_read+0x90/0xac) [ 4.543328] [<c01caf1c>] (vfs_read) from [<c01cb26c>] (ksys_pread64+0x78/0xa4) [ 4.551434] [<c01cb26c>] (ksys_pread64) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 4.560214] Exception stack(0xc40affa8 to 0xc40afff0) [ 4.565880] ffa0: 00000000 00000002 00000003 b6ecf010 00000400 00000000 [ 4.575056] ffc0: 00000000 00000002 00ee5078 000000b4 00000000 b6ee7e00 00000000 00000002 [ 4.584229] ffe0: bea628b0 bea628a0 b6fca130 b6fc9600 [ 4.589928] ubi0 warning: ubi_io_read: error -22 while reading 225280 bytes from PEB -134217747:36864, read only 0 bytes, retry [ 4.602832] ubi0 warning: ubi_io_read: error -22 while reading 225280 bytes from PEB -134217747:36864, read only 0 bytes, retry [ 4.615733] ubi0 warning: ubi_io_read: error -22 while reading 225280 bytes from PEB -134217747:36864, read only 0 bytes, retry [ 4.628631] ubi0 error: ubi_io_read: error -22 while reading 225280 bytes from PEB -134217747:36864, read 0 bytes [ 4.640159] CPU: 1 PID: 105 Comm: fsck.ext4 Not tainted 5.4.61 #239 [ 4.647185] Hardware name: Generic DT based system [ 4.652564] [<c010df0c>] (unwind_backtrace) from [<c010a690>] (show_stack+0x10/0x14) [ 4.661254] [<c010a690>] (show_stack) from [<c0766350>] (dump_stack+0x88/0xa4) [ 4.669359] [<c0766350>] (dump_stack) from [<c041ef14>] (ubi_io_read+0x1fc/0x2c4) [ 4.677757] [<c041ef14>] (ubi_io_read) from [<c041d474>] (ubi_eba_read_leb+0x210/0x2e8) [ 4.686740] [<c041d474>] (ubi_eba_read_leb) from [<c041a9e4>] (vol_cdev_read+0x16c/0x2a4) [ 4.695918] [<c041a9e4>] (vol_cdev_read) from [<c01caddc>] (__vfs_read+0x30/0xe0) [ 4.704315] [<c01caddc>] (__vfs_read) from [<c01caf1c>] (vfs_read+0x90/0xac) [ 4.712226] [<c01caf1c>] (vfs_read) from [<c01cb26c>] (ksys_pread64+0x78/0xa4) [ 4.720332] [<c01cb26c>] (ksys_pread64) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 4.729113] Exception stack(0xc40affa8 to 0xc40afff0) [ 4.734778] ffa0: 00000000 00000002 00000003 b6ecf010 00000400 00000000 [ 4.743954] ffc0: 00000000 00000002 00ee5078 000000b4 00000000 b6ee7e00 00000000 00000002 [ 4.753127] ffe0: bea628b0 bea628a0 b6fca130 b6fc9600 [ 4.759100] UBI assert failed in ubi_io_read at 122 (pid 105) [ 4.765578] CPU: 1 PID: 105 Comm: fsck.ext4 Not tainted 5.4.61 #239 [ 4.772605] Hardware name: Generic DT based system [ 4.777987] [<c010df0c>] (unwind_backtrace) from [<c010a690>] (show_stack+0x10/0x14) [ 4.786678] [<c010a690>] (show_stack) from [<c0766350>] (dump_stack+0x88/0xa4) [ 4.794785] [<c0766350>] (dump_stack) from [<c041ed80>] (ubi_io_read+0x68/0x2c4) [ 4.803086] [<c041ed80>] (ubi_io_read) from [<c041d474>] (ubi_eba_read_leb+0x210/0x2e8) [ 4.812069] [<c041d474>] (ubi_eba_read_leb) from [<c041a9e4>] (vol_cdev_read+0x16c/0x2a4) [ 4.821247] [<c041a9e4>] (vol_cdev_read) from [<c01caddc>] (__vfs_read+0x30/0xe0) [ 4.829646] [<c01caddc>] (__vfs_read) from [<c01caf1c>] (vfs_read+0x90/0xac) [ 4.837557] [<c01caf1c>] (vfs_read) from [<c01cb26c>] (ksys_pread64+0x78/0xa4) [ 4.845662] [<c01cb26c>] (ksys_pread64) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 4.854444] Exception stack(0xc40affa8 to 0xc40afff0) [ 4.860110] ffa0: 00000000 00000008 00000003 b6ecf010 00000400 00000000 [ 4.869286] ffc0: 00000000 00000008 00f1d078 000000b4 00000000 b6ee7e00 00000000 00000008 [ 4.878459] ffe0: bea628b0 bea628a0 b6fca130 b6fc9600 [ 4.884205] ubi0 warning: ubi_io_read: error -22 while reading 126976 bytes from PEB -957756672:135168, read only 0 bytes, retry [ 4.897209] ubi0 warning: ubi_io_read: error -22 while reading 126976 bytes from PEB -957756672:135168, read only 0 bytes, retry [ 4.910207] ubi0 warning: ubi_io_read: error -22 while reading 126976 bytes from PEB -957756672:135168, read only 0 bytes, retry [ 4.923204] ubi0 error: ubi_io_read: error -22 while reading 126976 bytes from PEB -957756672:135168, read 0 bytes [ 4.934830] CPU: 1 PID: 105 Comm: fsck.ext4 Not tainted 5.4.61 #239 [ 4.941857] Hardware name: Generic DT based system [ 4.947237] [<c010df0c>] (unwind_backtrace) from [<c010a690>] (show_stack+0x10/0x14) [ 4.955927] [<c010a690>] (show_stack) from [<c0766350>] (dump_stack+0x88/0xa4) [ 4.964032] [<c0766350>] (dump_stack) from [<c041ef14>] (ubi_io_read+0x1fc/0x2c4) [ 4.972431] [<c041ef14>] (ubi_io_read) from [<c041d474>] (ubi_eba_read_leb+0x210/0x2e8) [ 4.981414] [<c041d474>] (ubi_eba_read_leb) from [<c041a9e4>] (vol_cdev_read+0x16c/0x2a4) [ 4.990592] [<c041a9e4>] (vol_cdev_read) from [<c01caddc>] (__vfs_read+0x30/0xe0) [ 4.998991] [<c01caddc>] (__vfs_read) from [<c01caf1c>] (vfs_read+0x90/0xac) [ 5.006902] [<c01caf1c>] (vfs_read) from [<c01cb26c>] (ksys_pread64+0x78/0xa4) [ 5.015007] [<c01cb26c>] (ksys_pread64) from [<c0101000>] (ret_fast_syscall+0x0/0x54) [ 5.023788] Exception stack(0xc40affa8 to 0xc40afff0) [ 5.029454] ffa0: 00000000 00000008 00000003 b6ecf010 00000400 00000000 [ 5.038630] ffc0: 00000000 00000008 00f1d078 000000b4 00000000 b6ee7e00 00000000 00000008 [ 5.047803] ffe0: bea628b0 bea628a0 b6fca130 b6fc9600 mount: mounting /dev/by-name/rootfs_data on /overlay failed: Block device required Mount Failed: formating /dev/by-name/rootfs_data to ext4 ... mke2fs 1.46.4 (18-Aug-2021) Warning: could not erase sector 2: Operation not permitted Warning: could not erase sector 0: Operation not permitted mkfs.ext4: Operation not permitted while zeroing block 24512 at end of filesystem ext2fs_update_bb_inode: Inode checksum does not match inode while setting bad block inode 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 [ 5.142238] UBIFS (ubi0:10): Mounting in unauthenticated mode [ 5.148914] UBIFS (ubi0:10): background thread "ubifs_bgt0_10" started, PID 126 [ 5.287691] UBIFS (ubi0:10): UBIFS: mounted UBI device 0, volume 10, name "UDISK" [ 5.296149] UBIFS (ubi0:10): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 5.307408] UBIFS (ubi0:10): FS size: 81801216 bytes (78 MiB, 317 LEBs), journal size 4128768 bytes (3 MiB, 16 LEBs) [ 5.319237] UBIFS (ubi0:10): reserved for root: 3863672 bytes (3773 KiB) [ 5.326779] UBIFS (ubi0:10): media format: w5/r0 (latest is w5/r0), UUID 1A305BD0-2D29-497C-B77F-D6A2CA278736, small LPT model ------run rc.modules file----- [ 5.369462] get ctp_power is fail, -22 [ 5.373711] get ctp_power_ldo_vol is fail, -22 [ 5.378721] sunxi_ctp_startup: ctp_power_io is invalid. [ 5.384632] get ctp_gesture_wakeup fail, no gesture wakeup [ 5.390818] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator [ 5.474926] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.483059] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.490736] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.498862] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.506532] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.514656] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.522327] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.530451] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.538120] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.546244] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.553877] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset. [ 5.638872] <<-GTP-ERROR->> GTP i2c test failed time 1. [ 5.655911] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.664035] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.671704] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.679827] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.687497] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.695620] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.703290] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.711413] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.719080] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.727204] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.734836] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset. [ 5.819871] <<-GTP-ERROR->> GTP i2c test failed time 2. [ 5.836910] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.845034] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.852703] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.860827] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.868496] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.876619] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.884289] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.892412] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.900104] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 5.908231] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 5.915865] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset. [ 6.000872] <<-GTP-ERROR->> GTP i2c test failed time 3. [ 6.017911] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.026035] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.033704] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.041828] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.049499] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.057622] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.065291] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.073415] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.081084] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.089207] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.096839] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset. [ 6.181871] <<-GTP-ERROR->> GTP i2c test failed time 4. [ 6.198911] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.207035] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.214702] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.222825] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.230495] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.238618] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.246287] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.254410] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.262079] sunxi-i2c sunxi-i2c2: SLA+W has been transmitted; ACK not received [ 6.270203] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x14) [ 6.277835] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -22! Process reset. [ 6.362872] <<-GTP-ERROR->> GTP i2c test failed time 5. [ 6.379870] I2C communication ERROR! [ 6.379898] regulator-dummy: Underflow of regulator enable count [ 6.390883] gt9xxnew_ts: probe of 2-0014 failed with error -1 [ 6.413844] Error: Driver 'gt9xxnew_ts' is already registered, aborting... insmod: can't insert '/lib/modules/5.4.61/gt9xxnew_ts.ko': Operation not permitted [ 6.736310] 8821cu: loading out-of-tree module taints kernel. [ 7.160470] usbcore: registered new interface driver rtl8821cu Successfully initialized wpa_supplicant [ 9.115395] start_addr=(0x8000), end_addr=(0x10000), buffer_size=(0x8000), smp_number_max=(4096) ioctl[SIOCSIWAP]: Operation not permitted udhcpc: started, v1.27.2 udhcpc: sending discover ioctl[SIOCGIWSCAN]: Resource temporarily unavailable wlan0: Trying to associate with 42:c6:0c:de:97:8d (SSID='HUWEI-123' freq=2462 MHz) Failed to add supported operating classes IE wlan0: Association request to the driver failed ioctl[SIOCGIWSCAN]: Resource temporarily unavailable wlan0: Associated with 42:c6:0c:de:97:8d wlan0: WPA: Key negotiation completed with 42:c6:0c:de:97:8d [PTK=CCMP GTK=CCMP][ 10.308319] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready wlan0: CTRL-EVENT-CONNECTED - Connection to 42:c6:0c:de:97:8d completed [id=0 id_str=] udhcpc: sending discover udhcpc: sending select for 192.168.2.8 udhcpc: lease of 192.168.2.8 obtained, lease time 86400 udhcpc: ifconfig wlan0 192.168.2.8 netmask 255.255.255.0 broadcast + udhcpc: setting default routers: 192.168.2.233 /usr/share/udhcpc/default.script: line 60: can't create /etc/resolv.conf: Read-only file system /usr/share/udhcpc/default.script: line 60: can't create /etc/resolv.conf: Read-only file system numid=30,iface=MIXER,name='Headphone Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on numid=17,iface=MIXER,name='Headphone volume' ; type=INTEGER,access=rw---R--,values=1,min=0,max=7,step=0 : values=7 | dBscale-min=-42.00dB,step=6.00dB,mute=0 [ 13.144615] libphy: 4500000.eth: probed [ 13.149223] sunxi-gmac 4500000.eth eth0: eth0: Type(7) PHY ID 02430c54 at 1 IRQ poll (4500000.eth-0:01) mount: mounting /dev/mmcblk0p1 on /mnt/SDCARD failed: No such file or directory mount: mounting /dev/sda1 on /mnt/exUDISK failed: No such file or directory BusyBox v1.27.2 () built-in shell (ash) Trying to connect to SWUpdate... _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 5C1C9C53) ---------------------------------------------- swu_param: #### swu_software: #### swu_mode: #### no swupdate_cmd to run, wait for next swupdate nodev debugfs root@TinaLinux:/# [ 13.332621] file system registered [ 13.350637] configfs-gadget 4100000.udc-controller: failed to start g1: -19 sh: write error: No such device [ 13.372827] read descriptors [ 13.376147] read strings [ 33.416897] usb1-vbus: disabling ^C
-
回复: T113 fw_printenv工具使用不了
@awwin 整体描诉下我的问题吧。我按照全志OTA在线升级方案,我修改了sys_partition.fex里面的文件
由[partition]
name = boot
size = 36864
downloadfile = "boot.fex"
user_type = 0x8000
[partition]
name = rootfsB
size = 4194304
downloadfile = "rootfs.fex"
user_type = 0x8000[partition]
name = bootA
size = 36864
downloadfile = "boot.fex"
user_type = 0x8000
改为
[partition]
name = bootB
size = 36864
;downloadfile = "boot.fex"
user_type = 0x8000[partition]
name = rootfsA
size = 4194304
downloadfile = "rootfs.fex"
user_type = 0x8000
[partition]
name = rootfsB
size = 4194304
;downloadfile = "rootfs.fex"
user_type = 0x8000
然后编译生成的固件就变成了了只读文件:
root@TinaLinux:/# mkdir axx
mkdir: can't create directory 'axx': Read-only file system
这个是最重要的点。其次就是升级的时候需要使用fw_printenv获取环境变量,就出现了最开始提的问题 -
回复: T113 fw_printenv工具使用不了
@awwin 在 T113 fw_printenv工具使用不了 中说:
echo "/dev/by-name/env 0x0000 0x20000" > /etc/fw_env.config echo "/dev/by-name/env-redund 0x0000 0x20000" >> /etc/fw_env.config
我用的是TF卡引导,修改配置文件如上,其中
root@TinaLinux:/# ls -lh /dev/by-name/env* lrwxrwxrwx 1 root root 14 Jan 1 00:00 /dev/by-name/env -> /dev/mmcblk0p2 lrwxrwxrwx 1 root root 14 Jan 1 00:00 /dev/by-name/env-redund -> /dev/mmcblk0p3
两个设备的软链接指向了/dev/mmcblk0p2 和 p3
这俩设备是uboot传递给内核的分区参数里的。root@TinaLinux:/# cat /proc/cmdline earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 rootdelay=2 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:private@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=4M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g2a1965a(07/10/2022-02:50:57) mbr_offset=1032192 disp_reserve=1536000,0x43f06000 androidboot.dramsize=128
-
回复: T113 fw_printenv工具使用不了
@awwin 这是我的打印信息:
root@TinaLinux:/# ls -lh /dev/by-name/env*
lrwxrwxrwx 1 root root 11 Jan 1 00:00 /dev/by-name/env -> /dev/ubi0_2
lrwxrwxrwx 1 root root 11 Jan 1 00:00 /dev/by-name/env-redund -> /dev/ubi0_3
root@TinaLinux:/# [ 33.417024] usb1-vbus: disablingroot@TinaLinux:/# cat /proc/cmdline
ubi.mtd=sys ubi.block=0,rootfsA earlyprintk=sunxi-uart,0x02500C00 clk_ignore_unused initcall_debug=0 console=ttyS3,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:bootA@ubi0_4:rootfsA@ubi0_5:bootB@ubi0_6:rootfsB@ubi0_7:private@ubi0_8:rootfs_data@ubi0_9:UDISK@ubi0_10: 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-config-dirty(08/30/2024-15:57:30) mbr_offset=1032192 disp_reserve=1536000,0x43f19000 aw-ubi-spinand.ubootblks=24 androidboot.dramsize=128
root@TinaLinux:/#