@mangogeek Hi Mangogeek,如何在mq-r上适配RTL8723/RTL8189 Wifi Module?
K
kang2638729651 发布的帖子
-
回复: 【D1s & WIFI】简单测试下哪吒MQ的WiFi(后边补上移植记录)
-
回复: 一个补丁,让D1-H的SDK支持T113芯片
@yuzukitsuru 非常感谢您,我确实只在uboot中添加了nand flash相应的参数,未在kernel中添加nand flash的参数。
重新在kernel中添加GD NAND Flash GD5F1GQ4UBYIG的相关参数后,我的Mq-R已经可以正常启动了。
下面是添加的Nand Flash参数,需要同时在tina-d1-h/lichee/brandy-2.0/u-boot-2018/drivers/mtd/awnand/spinand/physic/id.c
和
tina-d1-h/lichee/linux-5.4/drivers/mtd/awnand/spinand/physic/id.c
添加下面的参数。
struct aw_spinand_phy_info gigadevice[] = { { .Model = "GD5F1GQ4UBYIG", .NandID = {0xc8, 0xf1, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}, .DieCntPerChip = 1, .SectCntPerPage = 4, .PageCntPerBlk = 64, .BlkCntPerDie = 1024, .OobSizePerPage = 64, .OperationOpt = SPINAND_QUAD_READ | SPINAND_QUAD_PROGRAM | SPINAND_DUAL_READ, .MaxEraseTimes = 50000, .EccFlag = HAS_EXT_ECC_SE01, .EccType = BIT4_LIMIT5_TO_7_ERR8_LIMIT_12, .EccProtectedType = SIZE16_OFF4_LEN8_OFF4, .BadBlockFlag = BAD_BLK_FLAG_FRIST_1_PAGE, }, ...... }
最后是我的启动日志
[158]HELLO! BOOT0 is starting! [161]BOOT0 commit : 88480af-dirty [164]set pll start [166]fix vccio detect value:0xc0 [174]periph0 has been enabled [177]set pll end [178][pmu]: bus read error [181]board init ok [183]ZQ value = 0x2e [185]get_pmu_exist() = -1 [187]DRAM BOOT DRIVE INFO: V0.33 [190]DRAM CLK = 936 MHz [192]DRAM Type = 3 (2:DDR2,3:DDR3) [196]DRAMC read ODT off. [198]DRAM ODT value: 0x42. [201]ddr_efuse_type: 0xa [204]DRAM SIZE =128 M [206]dram_tpr4:0x0 [208]PLL_DDR_CTRL_REG:0xf8004d00 [211]DRAM_CLK_REG:0xc0000000 [214][TIMING DEBUG] MR2= 0x20 [221]DRAM simple test OK. [223]rtc standby flag is 0x0, super standby flag is 0x0 [229]dram size =128 [232]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [237]block from 8 to 32 [338]Check is correct. [340]dma 0x29c0c int is not used yet [343]dma 0x29c0c int is free, you do not need to free it again [349]Entry_name = u-boot [355]Entry_name = optee [358]Entry_name = dtb [361]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.05-g24521d6-dirty (Sep 07 2022 - 11:48:59 +0800) Allwinner Technology [00.415]CPU: Allwinner Family [00.418]Model: sun8iw20 I2C: FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH ready [00.439]DRAM: 128 MiB [00.442]Relocation Offset is: 04f01000 [00.462]secure enable bit: 0 [00.464]smc_tee_inform_fdt failed with: -65526[00.469]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.475]gic: sec monitor mode [00.478]flash init start [00.480]workmode = 0,storage type = 0 sspi->base_addr = 0x4025000, the SPI control register: [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184 [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020 [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002 [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000 [BCC] 0x4025038 = 0x20000000, [DMA] 0x4025088 = 0x000000e5 [00.527]sunxi-spinand-phy: not detect any munufacture from id table [00.533]sunxi-spinand-phy: get spi-nand Model from fdt fail [00.538]sunxi-spinand-phy: get phy info from fdt fail 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.653]sunxi-spinand-phy: [SPINAND]: ecc err 0x8 [00.682]ubi0: attaching mtd4 [00.797]ubi0: scanning is finished [00.804]ubi0: attached mtd4 (name "sys", size 123 MiB) [00.809]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [00.815]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [00.821]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [00.827]ubi0: good PEBs: 426, bad PEBs: 66, corrupted PEBs: 0 [00.833]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128 [00.839]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [00.847]ubi0: available PEBs: 0, total reserved PEBs: 426, PEBs reserved for bad PEB handling: 0 [00.856]sunxi flash init ok [00.981]Loading Environment from SUNXI_FLASH... OK [01.005]Item0 (Map) magic is bad secure storage read widevine fail [01.011]secure storage read widevine fail with:-1 secure storage read ec_key fail [01.018]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [01.026]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [01.033]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [01.041]secure storage read ec_cert3 fail with:-1 secure storage read rsa_key fail [01.048]secure storage read rsa_key fail with:-1 secure storage read rsa_cert1 fail [01.055]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [01.063]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [01.071]secure storage read rsa_cert3 fail with:-1 [01.075]out of usb burn from boot: not need burn key [01.094]update bootcmd [01.109]change working_fdt 0x43ec0e70 to 0x43ea0e70 [01.127]update dts Hit any key to stop autoboot: 0 [02.398]no vendor_boot partition is found Android's image name: t113-nezha [02.408]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (kang@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #9 SMP PREEMPT Wed Sep 7 03:55:00 UTC 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: sun8iw20 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440 [ 0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,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:boot@ubi0_4:rootfs@ubi0_5:private@ubi0_6:rootfs_data@ubi0_7:UDISK@ubi0_8: cma=0M 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-g24521d6-dirty(09/07/2022-11:48:59) 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: 117844K/131072K available (6144K kernel code, 264K rwdata, 1504K rodata, 1024K init, 1164K bss, 13228K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x264/0x3e8 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.008017] Switching to timer-based delay loop, resolution 41ns [ 0.014198] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023901] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.034283] pid_max: default: 32768 minimum: 301 [ 0.039016] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046340] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054669] CPU: Testing write buffer coherency: ok [ 0.059878] /cpus/cpu@0 missing clock-frequency property [ 0.065228] /cpus/cpu@1 missing clock-frequency property [ 0.070558] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076698] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083353] rcu: Hierarchical SRCU implementation. [ 0.088561] smp: Bringing up secondary CPUs ... [ 0.094187] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094304] smp: Brought up 1 node, 2 CPUs [ 0.104133] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110311] CPU: All CPU(s) started in SVC mode. [ 0.115387] devtmpfs: initialized [ 0.129645] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.137781] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.147653] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.154603] pinctrl core: initialized pinctrl subsystem [ 0.160750] NET: Registered protocol family 16 [ 0.165802] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.201359] rtc_ccu: sunxi ccu init OK [ 0.207294] ccu: sunxi ccu init OK [ 0.211029] r_ccu: sunxi ccu init OK [ 0.236536] iommu: Default domain type: Translated [ 0.241597] sunxi iommu: irq = 24 [ 0.245771] SCSI subsystem initialized [ 0.249724] usbcore: registered new interface driver usbfs [ 0.255311] usbcore: registered new interface driver hub [ 0.260702] usbcore: registered new device driver usb [ 0.266545] Advanced Linux Sound Architecture Driver Initialized. [ 0.273170] Bluetooth: Core ver 2.22 [ 0.277021] NET: Registered protocol family 31 [ 0.281477] Bluetooth: HCI device and connection manager initialized [ 0.287866] Bluetooth: HCI socket layer initialized [ 0.292747] Bluetooth: L2CAP socket layer initialized [ 0.297842] Bluetooth: SCO socket layer initialized [ 0.303004] pwm module init! [ 0.307126] g2d 5410000.g2d: Adding to iommu group 0 [ 0.312394] G2D: rcq version initialized.major:252 [ 0.317990] clocksource: Switched to clocksource arch_sys_counter [ 0.332511] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.341801] NET: Registered protocol family 2 [ 0.346744] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.355163] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.362869] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.369948] TCP: Hash tables configured (established 1024 bind 1024) [ 0.376412] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.382998] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.390186] NET: Registered protocol family 1 [ 0.395495] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.405785] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.412518] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.418673] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.425044] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.431499] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.439916] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.446134] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8860000, irq 40 [ 0.455760] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.466378] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.472417] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.505191] io scheduler mq-deadline registered [ 0.509761] io scheduler kyber registered [ 0.515016] [DISP]disp_module_init [ 0.518925] disp 5000000.disp: Adding to iommu group 0 [ 0.524588] [DISP] parser_disp_init_para,line:1430: [ 0.524592] of_property_read fb0_width fail [ 0.550062] display_fb_request,fb_id:0 [ 0.556929] [DISP] Fb_copy_boot_fb,line:1443: [ 0.556932] no boot_fb0 [ 0.564316] disp_al_manager_apply ouput_type:0 [ 0.568208] [DISP]disp_module_init finish [ 0.569201] [DISP] lcd_clk_config,line:744: [ 0.569211] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) [ 0.569211] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) [ 0.573831] sunxi_sid_init()551 - insmod ok [ 0.598635] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 0.608831] uart uart3: get regulator failed [ 0.613106] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.620264] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.628121] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n ▒ 0.628533] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.645768] printk: console [ttyS3] enabled [ 0.645768] printk: console [ttyS3] enabled [ 0.654627] printk: bootconsole [earlycon0] disabled [ 0.654627] printk: bootconsole [earlycon0] disabled [ 0.665928] misc dump reg init [ 0.670485] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.681613] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 0.688812] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 0.696079] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 0.703452] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 0.709954] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 0.716838] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 0.724515] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 0.732312] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 0.740377] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 0.747951] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 0.754678] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 0.762165] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=141 assert=0 [ 0.769631] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.781282] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ 0.788426] [ADDR_MGT] addr_mgt_probe: success. [ 0.793716] dma-buf: Running sanitycheck [ 0.798137] dma-buf: Running dma_fence [ 0.802303] sizeof(dma_fence)=48 [ 0.805983] dma-buf: Running dma_fence/sanitycheck [ 0.811345] dma-buf: Running dma_fence/test_signaling [ 0.816963] dma-buf: Running dma_fence/test_add_callback [ 0.822909] dma-buf: Running dma_fence/test_late_add_callback [ 0.829316] dma-buf: Running dma_fence/test_rm_callback [ 0.835129] dma-buf: Running dma_fence/test_late_rm_callback [ 0.841434] dma-buf: Running dma_fence/test_status [ 0.846765] dma-buf: Running dma_fence/test_error [ 0.852011] dma-buf: Running dma_fence/test_wait [ 0.857151] dma-buf: Running dma_fence/test_wait_timeout [ 0.898008] dma-buf: Running dma_fence/test_stub [ 0.903174] dma-buf: Running dma_fence/race_signal_callback [ 0.928172] [DISP] disp_device_attached_and_enable,line:233: [ 0.928177] attached ok, mgr0<-->dev0 [ 0.947991] [DISP] disp_device_attached_and_enable,line:236: [ 0.947999] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 0.978029] thread_signal_callback[0] completed 22267 passes, 39 misses [ 0.985417] thread_signal_callback[1] completed 22251 passes, 25 misses [ 1.058028] thread_signal_callback[0] completed 40309 passes, 40308 misses [ 1.065697] thread_signal_callback[1] completed 40277 passes, 40277 misses [ 1.073863] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 1.081117] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.089004] sunxi-spinand-phy: not detect any munufacture from id table [ 1.096362] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.102969] sunxi-spinand-phy: get phy info from fdt fail [ 1.109029] sunxi-spinand-phy: not detect munufacture from fdt [ 1.115687] sunxi-spinand-phy: detect munufacture from id table: GD [ 1.122684] sunxi-spinand-phy: detect spinand id: fffff1c8 ffffffff [ 1.129672] sunxi-spinand-phy: ========== arch info ========== [ 1.136157] sunxi-spinand-phy: Model: GD5F1GQ4UBYIG [ 1.142938] sunxi-spinand-phy: Munufacture: GD [ 1.148661] sunxi-spinand-phy: DieCntPerChip: 1 [ 1.154282] sunxi-spinand-phy: BlkCntPerDie: 1024 [ 1.160197] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.165903] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.171533] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.177239] sunxi-spinand-phy: BadBlockFlag: 0x0 [ 1.183071] sunxi-spinand-phy: OperationOpt: 0x7 [ 1.188897] sunxi-spinand-phy: MaxEraseTimes: 50000 [ 1.194893] sunxi-spinand-phy: EccFlag: 0x1 [ 1.200713] sunxi-spinand-phy: EccType: 7 [ 1.206328] sunxi-spinand-phy: EccProtectedType: 4 [ 1.211950] sunxi-spinand-phy: ======================================== [ 1.219307] sunxi-spinand-phy: [ 1.222796] sunxi-spinand-phy: ========== physical info ========== [ 1.229674] sunxi-spinand-phy: TotalSize: 128 M [ 1.234998] sunxi-spinand-phy: SectorSize: 512 B [ 1.240328] sunxi-spinand-phy: PageSize: 2 K [ 1.245459] sunxi-spinand-phy: BlockSize: 128 K [ 1.250788] sunxi-spinand-phy: OOBSize: 64 B [ 1.256016] sunxi-spinand-phy: ======================================== [ 1.263371] sunxi-spinand-phy: [ 1.266860] sunxi-spinand-phy: ========== logical info ========== [ 1.273645] sunxi-spinand-phy: TotalSize: 128 M [ 1.278982] sunxi-spinand-phy: SectorSize: 512 B [ 1.284305] sunxi-spinand-phy: PageSize: 4 K [ 1.289447] sunxi-spinand-phy: BlockSize: 256 K [ 1.294769] sunxi-spinand-phy: OOBSize: 128 B [ 1.300103] sunxi-spinand-phy: ======================================== [ 1.307581] sunxi-spinand-phy: block lock register: 0x00 [ 1.313683] sunxi-spinand-phy: feature register: 0x11 [ 1.319319] sunxi-spinand-phy: sunxi physic nand init end [ 1.325764] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.331898] 0x000000000000-0x000000100000 : "boot0" [ 1.348905] 0x000000100000-0x000000400000 : "uboot" [ 1.357808] random: fast init done [ 1.368884] 0x000000400000-0x000000500000 : "secure_storage" [ 1.388839] 0x000000500000-0x000008000000 : "sys" [ 1.463764] sunxi-spinand-phy: phy blk 384 is bad [ 1.469225] sunxi-spinand-phy: phy blk 386 is bad [ 1.474650] sunxi-spinand-phy: phy blk 388 is bad [ 1.480089] sunxi-spinand-phy: phy blk 390 is bad [ 1.485522] sunxi-spinand-phy: phy blk 392 is bad [ 1.490961] sunxi-spinand-phy: phy blk 394 is bad [ 1.496387] sunxi-spinand-phy: phy blk 396 is bad [ 1.501833] sunxi-spinand-phy: phy blk 398 is bad [ 1.507257] sunxi-spinand-phy: phy blk 400 is bad [ 1.512693] sunxi-spinand-phy: phy blk 402 is bad [ 1.518107] sunxi-spinand-phy: phy blk 404 is bad [ 1.523531] sunxi-spinand-phy: phy blk 406 is bad [ 1.528967] sunxi-spinand-phy: phy blk 408 is bad [ 1.534397] sunxi-spinand-phy: phy blk 410 is bad [ 1.539838] sunxi-spinand-phy: phy blk 412 is bad [ 1.545258] sunxi-spinand-phy: phy blk 414 is bad [ 1.550702] sunxi-spinand-phy: phy blk 416 is bad [ 1.556124] sunxi-spinand-phy: phy blk 418 is bad [ 1.561558] sunxi-spinand-phy: phy blk 420 is bad [ 1.566985] sunxi-spinand-phy: phy blk 422 is bad [ 1.572418] sunxi-spinand-phy: phy blk 424 is bad [ 1.577838] sunxi-spinand-phy: phy blk 426 is bad [ 1.583286] sunxi-spinand-phy: phy blk 428 is bad [ 1.588732] sunxi-spinand-phy: phy blk 430 is bad [ 1.594156] sunxi-spinand-phy: phy blk 432 is bad [ 1.599601] sunxi-spinand-phy: phy blk 434 is bad [ 1.605024] sunxi-spinand-phy: phy blk 436 is bad [ 1.610464] sunxi-spinand-phy: phy blk 438 is bad [ 1.615895] sunxi-spinand-phy: phy blk 440 is bad [ 1.621341] sunxi-spinand-phy: phy blk 442 is bad [ 1.626765] sunxi-spinand-phy: phy blk 444 is bad [ 1.632210] sunxi-spinand-phy: phy blk 446 is bad [ 1.637636] sunxi-spinand-phy: phy blk 448 is bad [ 1.643073] sunxi-spinand-phy: phy blk 450 is bad [ 1.648526] sunxi-spinand-phy: phy blk 452 is bad [ 1.653951] sunxi-spinand-phy: phy blk 454 is bad [ 1.659390] sunxi-spinand-phy: phy blk 456 is bad [ 1.664818] sunxi-spinand-phy: phy blk 458 is bad [ 1.670257] sunxi-spinand-phy: phy blk 460 is bad [ 1.675681] sunxi-spinand-phy: phy blk 462 is bad [ 1.681126] sunxi-spinand-phy: phy blk 464 is bad [ 1.686552] sunxi-spinand-phy: phy blk 466 is bad [ 1.691989] sunxi-spinand-phy: phy blk 468 is bad [ 1.697420] sunxi-spinand-phy: phy blk 470 is bad [ 1.702856] sunxi-spinand-phy: phy blk 472 is bad [ 1.708295] sunxi-spinand-phy: phy blk 474 is bad [ 1.713723] sunxi-spinand-phy: phy blk 476 is bad [ 1.719168] sunxi-spinand-phy: phy blk 478 is bad [ 1.724593] sunxi-spinand-phy: phy blk 480 is bad [ 1.730037] sunxi-spinand-phy: phy blk 482 is bad [ 1.735461] sunxi-spinand-phy: phy blk 484 is bad [ 1.740900] sunxi-spinand-phy: phy blk 486 is bad [ 1.746330] sunxi-spinand-phy: phy blk 488 is bad [ 1.751767] sunxi-spinand-phy: phy blk 490 is bad [ 1.757191] sunxi-spinand-phy: phy blk 492 is bad [ 1.762640] sunxi-spinand-phy: phy blk 494 is bad [ 1.768076] sunxi-spinand-phy: phy blk 496 is bad [ 1.773499] sunxi-spinand-phy: phy blk 498 is bad [ 1.778944] sunxi-spinand-phy: phy blk 500 is bad [ 1.784367] sunxi-spinand-phy: phy blk 502 is bad [ 1.789803] sunxi-spinand-phy: phy blk 504 is bad [ 1.795236] sunxi-spinand-phy: phy blk 506 is bad [ 1.800674] sunxi-spinand-phy: phy blk 508 is bad [ 1.806099] sunxi-spinand-phy: phy blk 510 is bad [ 1.861461] sunxi-spinand-phy: ecc err 0x8 [ 1.866014] sunxi-spinand-phy: phy blk 768 is bad [ 1.920744] sunxi-spinand-phy: phy blk 1022 is bad [ 1.929292] libphy: Fixed MDIO Bus: probed [ 1.934583] sunxi gmac driver's version: 1.0.0 [ 1.939751] gmac-power0: NULL [ 1.943045] gmac-power1: NULL [ 1.946342] gmac-power2: NULL [ 1.950735] Failed to alloc md5 [ 1.954241] eth0: Use random mac address [ 1.958891] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.966154] sunxi-ehci: EHCI SUNXI driver [ 1.971073] get ehci1-controller wakeup-source is fail. [ 1.976982] sunxi ehci1-controller don't init wakeup source [ 1.983206] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b5e4e0, 0x:c8877000, irq_no:3c [ 1.995142] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 2.007532] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 2.019609] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 2.026816] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 2.036549] sunxi-ehci 4200000.ehci1-controller: irq 60, io mem 0x04200000 [ 2.068004] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 2.076538] hub 1-0:1.0: USB hub found [ 2.080776] hub 1-0:1.0: 1 port detected [ 2.085695] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.092646] sunxi-ohci: OHCI SUNXI driver [ 2.097593] get ohci1-controller wakeup-source is fail. [ 2.103534] sunxi ohci1-controller don't init wakeup source [ 2.109749] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b5e770 [ 2.119362] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 2.131778] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 2.143874] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 2.151084] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 2.160820] sunxi-ohci 4200400.ohci1-controller: irq 61, io mem 0x04200400 [ 2.242820] hub 2-0:1.0: USB hub found [ 2.247028] hub 2-0:1.0: 1 port detected [ 2.252099] i2c /dev entries driver [ 2.256055] sunxi cedar version 1.1 [ 2.260148] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 2.266382] VE: sunxi_cedar_probe power-domain init!!! [ 2.272119] VE: install start!!! [ 2.272119] [ 2.277581] VE: cedar-ve the get irq is 41 [ 2.277581] [ 2.284004] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 2.284004] [ 2.293224] VE: install end!!! [ 2.293224] [ 2.298272] VE: sunxi_cedar_probe [ 2.302209] Bluetooth: HCI UART driver ver 2.3 [ 2.307152] Bluetooth: HCI UART protocol H4 registered [ 2.312889] Bluetooth: HCI UART protocol BCSP registered [ 2.318808] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 2.327489] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.337388] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 2.343572] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 2.349884] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 2.356276] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 2.362694] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 2.369194] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 2.375682] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 2.382179] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 2.389105] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 2.394344] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 2.400955] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.412022] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 2.432115] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.456446] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 2.462106] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.473649] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 2.483557] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 2.489726] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 2.496030] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 2.502435] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 2.508861] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 2.515350] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 2.521854] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 2.528360] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 2.534858] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 2.544102] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.555191] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 2.575305] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.599450] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 2.607067] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.614141] sunxi_led_probe()1749 - start [ 2.618634] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 2.625453] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.637013] sunxi_get_str_of_property()1595 - failed to get the string of propname led_regulator! [ 2.646936] sunxi_register_led_classdev()1483 - led_classdev start [ 2.654823] sunxi_led_probe()1845 - finish [ 2.656838] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.659628] exFAT: Version 1.3.0 [ 2.673092] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.682136] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.682919] [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.682919] [ 2.689741] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.705909] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 2.713432] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 2.723848] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 2.730157] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.739138] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.759057] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.765964] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.776779] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 2.788620] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.796910] NET: Registered protocol family 10 [ 2.803001] Segment Routing with IPv6 [ 2.807165] NET: Registered protocol family 17 [ 2.812159] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.818193] Bluetooth: RFCOMM TTY layer initialized [ 2.824849] Bluetooth: RFCOMM socket layer initialized [ 2.830611] Bluetooth: RFCOMM ver 1.11 [ 2.835372] Registering SWP/SWPB emulation handler [ 2.857364] get ehci0-controller wakeup-source is fail. [ 2.863371] sunxi ehci0-controller don't init wakeup source [ 2.869636] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b5dfc0, 0x:c88fb000, irq_no:3a [ 2.881560] [sunxi-ehci0]: Not init ehci0 [ 2.886363] get ohci0-controller wakeup-source is fail. [ 2.892294] sunxi ohci0-controller don't init wakeup source [ 2.898515] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b5e250 [ 2.908121] [sunxi-ohci0]: Not init ohci0 [ 2.913117] ubi0: attaching mtd3 [ 3.069011] random: crng init done [ 3.171152] ubi0: scanning is finished [ 3.183587] ubi0 warning: ubi_eba_init: number of bad PEBs (66) is above the expected limit (20), not reserving any PEBs for bad PEB handling, will use available PEBs (if any) [ 3.202875] ubi0: attached mtd3 (name "sys", size 123 MiB) [ 3.209034] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 3.216679] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 3.224250] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 3.232012] ubi0: good PEBs: 426, bad PEBs: 66, corrupted PEBs: 0 [ 3.238800] ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128 [ 3.246835] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 3.256142] ubi0: available PEBs: 0, total reserved PEBs: 426, PEBs reserved for bad PEB handling: 0 [ 3.266337] ubi0: background thread "ubi_bgt0d" started, PID 73 [ 3.274103] block ubiblock0_5: created from ubi0:5(rootfs) [ 3.283026] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 3.292681] clk: Not disabling unused clocks [ 3.292696] ALSA device list: [ 3.297476] cfg80211: failed to load regulatory.db [ 3.300747] #0: audiocodec [ 3.300761] alloc_fd: slot 0 not NULL! [ 3.316945] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 3.327482] devtmpfs: mounted [ 3.332714] Freeing unused kernel memory: 1024K [ 3.358138] Run /pseudo_init as init process mount: mounting none on /dev failed: Resource busy [ 3.571498] UBIFS (ubi0:7): Mounting in unauthenticated mode [ 3.577950] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 104 [ 3.655167] UBIFS (ubi0:7): recovery needed [ 3.768630] UBIFS (ubi0:7): recovery completed [ 3.773745] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data" [ 3.782531] UBIFS (ubi0:7): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 3.793605] UBIFS (ubi0:7): FS size: 3096576 bytes (2 MiB, 12 LEBs), journal size 1806337 bytes (1 MiB, 5 LEBs) [ 3.804855] UBIFS (ubi0:7): reserved for root: 146258 bytes (142 KiB) [ 3.812048] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID 96E754AE-02DC-4851-B645-5F13A3BC8374, small LPT model can't run '/etc/preinit': No such file or directory mount: mounting proc on /proc failed: Resource busy hostname: can't open '/etc/hostname': No such file or directory ------run rc.preboot file----- [ 3.940809] UBIFS (ubi0:8): Mounting in unauthenticated mode [ 3.947254] UBIFS (ubi0:8): background thread "ubifs_bgt0_8" started, PID 132 [ 4.038025] UBIFS (ubi0:8): recovery needed [ 4.092902] UBIFS (ubi0:8): recovery completed [ 4.097965] UBIFS (ubi0:8): UBIFS: mounted UBI device 0, volume 8, name "UDISK" [ 4.106128] UBIFS (ubi0:8): LEB size: 258048 bytes (252 KiB), min./max. I/O unit sizes: 4096 bytes/4096 bytes [ 4.117187] UBIFS (ubi0:8): FS size: 42061824 bytes (40 MiB, 163 LEBs), journal size 2064385 bytes (1 MiB, 8 LEBs) [ 4.128753] UBIFS (ubi0:8): reserved for root: 1986683 bytes (1940 KiB) [ 4.136115] UBIFS (ubi0:8): media format: w5/r0 (latest is w5/r0), UUID 4C9944F6-4B29-438E-BC48-10B3FB168B63, small LPT model ------run rc.modules file----- [ 4.201265] sunxi_gpadc_init,2151, success [ 4.206125] sunxi_gpadc_setup: get channel scan data failed [ 4.212715] input: sunxi-gpadc0 as /devices/virtual/input/input1 [ 4.284130] ======== XRADIO WIFI OPEN ======== [ 4.289643] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 4.296390] [XRADIO] Allocated hw_priv @ e35a60c3 [ 4.302217] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 4.318501] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 4.525625] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.536668] [XRADIO] Detect SDIO card 1 [ 4.548083] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 4.568162] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.592983] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.607479] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.620662] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 4.639317] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 4.650813] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 4.662551] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 4.675046] mmc1: new high speed SDIO card at address 0001 [ 6.608058] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success [ 6.715281] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [ 6.722016] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [ 6.728735] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [ 6.728739] [XRADIO] Remove SDIO card 1 [ 6.738744] [SBUS_ERR] sdio probe timeout! [ 6.739730] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [ 6.744228] [XRADIO_ERR] sbus_sdio_init failed [ 6.751082] mmc1: card 0001 removed [ 6.756139] xradio_core_init failed (-110)! [ 6.759874] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 6.776819] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.787954] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 6.808013] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.832974] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 6.840580] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 6.847389] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.861884] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 6.875569] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 6.883082] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 6.890039] sunxi_usb_udc 4100000.udc-controller: 4100000.udc-controller supply udc not found, using dummy regulator [ 6.902620] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 6.910138] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 6.916857] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 6.926818] ======== XRADIO WIFI OPEN ======== [ 6.933414] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 6.940165] [XRADIO] Allocated hw_priv @ 2a227f9d [ 6.945956] sunxi-rfkill soc@3000000:rfkill@0: bus_index: 1 [ 6.962221] sunxi-rfkill soc@3000000:rfkill@0: wlan power on success [ 7.169360] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.180409] [XRADIO] Detect SDIO card 1 [ 7.188083] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 7.208161] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.232986] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.247475] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 7.260664] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 7.279327] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 7.290825] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 7.302560] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 7.315038] mmc1: new high speed SDIO card at address 0001 [ 9.248083] sunxi-rfkill soc@3000000:rfkill@0: wlan power off success [ 9.355285] [XRADIO] Remove SDIO card 1 [ 9.355296] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [ 9.366259] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [ 9.369562] [SBUS_ERR] sdio probe timeout! [ 9.377503] [XRADIO_ERR] sbus_sdio_init failed [ 9.377514] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [ 9.389156] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 7, RTO !! [ 9.396037] xradio_core_init failed (-110)! [ 9.396043] mmc1: card 0001 removed [ 9.396147] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 9.416999] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 9.428112] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 9.448006] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 9.472949] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 9.480551] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 9.487351] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 9.501880] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 9.515556] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 9.523061] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 9.530566] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 9.538073] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 9.544773] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B insmod: can't insert '/lib/modules/5.4.61/xr829.ko': Operation timed out Successfully initialized wpa_supplicant Could not read interface wlan0 flags: No such device nl80211: Driver does not support authentication/association or connect commands nl80211: deinit ifname=wlan0 disabled_11b_rates=0 Could not read interface wlan0 flags: No such device wlan0: Failed to initialize driver interface ------run rc.final file----- numid=30,iface=MIXER,name='Headphone Switch' ; type=BOOLEAN,access=rw------,values=1 : values=on ------light up RGB LED----- [ 9.968702] file system registered [ 9.986018] configfs-gadget 4100000.udc-controller: failed to start g1: -19 sh: write error: No such device [ 10.008322] read descriptors [ 10.011544] read strings [ 10.251059] android_work: sent uevent USB_STATE=CONNECTED [ 10.556293] configfs-gadget gadget: high-speed config #1: c [ 10.562568] android_work: sent uevent USB_STATE=CONFIGURED ------light up LED----- BusyBox v1.27.2 () built-in shell (ash) ------run profile file----- _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 61CC0487) ---------------------------------------------- Wed Jun 1 00:00:00 GMT 2022 nodev debugfs root@TinaLinux:/# df -sh df: unrecognized option: s root@TinaLinux:/# df -h Filesystem Size Used Available Use% Mounted on /dev/root 5.5M 5.5M 0 100% /rom devtmpfs 57.5M 0 57.5M 0% /dev tmpfs 58.0M 0 58.0M 0% /tmp /dev/by-name/rootfs_data 1.4M 28.0K 1.2M 2% /overlay overlayfs:/overlay 1.4M 28.0K 1.2M 2% / tmpfs 58.0M 0 58.0M 0% /run /dev/ubi0_8 36.3M 24.0K 34.4M 0% /mnt/UDISK root@TinaLinux:/# [ 33.808021] usb1-vbus: disabling
-
回复: 一个补丁,让D1-H的SDK支持T113芯片
我尝试了楼主的补丁,发现烧写到tf卡是可以正常启动的,但是烧写到spi nand也是挂载不了根文件系统,下面是出错的log,使用的芒果的mq-r开发板,spi nand flash型号为GD5F1GQ4UAYIG。
[30]HELLO! BOOT0 is starting! [32]BOOT0 commit : 88480af-dirty [36]set pll start [41]periph0 has been enabled [44]set pll end [46][pmu]: bus read error [48]board init ok [50]ZQ value = 0x2f [52]get_pmu_exist() = -1 [54]DRAM BOOT DRIVE INFO: V0.33 [57]DRAM CLK = 936 MHz [60]DRAM Type = 3 (2:DDR2,3:DDR3) [63]DRAMC read ODT off. [65]DRAM ODT value: 0x42. [68]ddr_efuse_type: 0xa [71]DRAM SIZE =128 M [73]dram_tpr4:0x0 [74]PLL_DDR_CTRL_REG:0xf8004d00 [77]DRAM_CLK_REG:0xc0000000 [80][TIMING DEBUG] MR2= 0x20 [87]DRAM simple test OK. [90]rtc standby flag is 0x0, super standby flag is 0x0 [95]dram size =128 [98]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [103]block from 8 to 32 [204]Check is correct. [206]dma 0x29c0c int is not used yet [209]dma 0x29c0c int is free, you do not need to free it again [215]Entry_name = u-boot [221]Entry_name = optee [225]Entry_name = dtb [228]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.05-g24521d6-dirty (Sep 07 2022 - 00:18:43 +0800) Allwinner Technology [00.281]CPU: Allwinner Family [00.284]Model: sun8iw20 I2C: FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH ready [00.305]DRAM: 128 MiB [00.308]Relocation Offset is: 04f01000 [00.328]secure enable bit: 0 [00.330]smc_tee_inform_fdt failed with: -65526[00.335]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.341]gic: sec monitor mode [00.344]flash init start [00.346]workmode = 0,storage type = 0 sspi->base_addr = 0x4025000, the SPI control register: [VER] 0x4025000 = 0x00010001, [GCR] 0x4025004 = 0x00000083, [TCR] 0x4025008 = 0x00000184 [ICR] 0x4025010 = 0x00000f00, [ISR] 0x4025014 = 0x00000032, [FCR] 0x4025018 = 0x00200020 [FSR] 0x402501c = 0x00000000, [WCR] 0x4025020 = 0x00000000, [CCR] 0x4025024 = 0x00000002 [SDC] 0x4025028 = 0x00002000, [BCR] 0x4025030 = 0x00000000, [TCR] 0x4025034 = 0x00000000 [BCC] 0x4025038 = 0x20000000, [DMA] 0x4025088 = 0x000000e5 [00.393]sunxi-spinand-phy: not detect any munufacture from id table [00.399]sunxi-spinand-phy: get spi-nand Model from fdt fail [00.404]sunxi-spinand-phy: get phy info from fdt fail 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.519]sunxi-spinand-phy: [SPINAND]: ecc err 0x8 [00.548]ubi0: attaching mtd4 [00.663]ubi0: scanning is finished [00.670]ubi0: attached mtd4 (name "sys", size 123 MiB) [00.675]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [00.681]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [00.687]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [00.693]ubi0: good PEBs: 426, bad PEBs: 66, corrupted PEBs: 0 [00.699]ubi0: user volume: 9, internal volumes: 1, max. volumes count: 128 [00.706]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [00.713]ubi0: available PEBs: 0, total reserved PEBs: 426, PEBs reserved for bad PEB handling: 0 [00.722]sunxi flash init ok [00.847]Loading Environment from SUNXI_FLASH... OK [00.871]Item0 (Map) magic is bad secure storage read widevine fail [00.877]secure storage read widevine fail with:-1 secure storage read ec_key fail [00.884]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [00.892]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [00.899]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [00.907]secure storage read ec_cert3 fail with:-1 secure storage read rsa_key fail [00.914]secure storage read rsa_key fail with:-1 secure storage read rsa_cert1 fail [00.921]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [00.929]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [00.937]secure storage read rsa_cert3 fail with:-1 [00.941]out of usb burn from boot: not need burn key [00.960]update bootcmd [00.975]change working_fdt 0x43ec0e70 to 0x43ea0e70 [00.993]update dts Hit any key to stop autoboot: 0 [02.264]no vendor_boot partition is found Android's image name: t113-nezha [02.275]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (kang@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #6 SMP PREEMPT Tue Sep 6 17:40:36 UTC 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: sun8iw20 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 15 pages/cpu s30348 r8192 d22900 u61440 [ 0.000000] pcpu-alloc: s30348 r8192 d22900 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: ubi.mtd=sys ubi.block=0,rootfs earlyprintk=sunxi-uart,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:boot@ubi0_4:rootfs@ubi0_5:private@ubi0_6:rootfs_data@ubi0_7:UDISK@ubi0_8: cma=0M 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-g24521d6-dirty(09/07/2022-00:18:43) 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: 117844K/131072K available (6144K kernel code, 264K rwdata, 1504K rodata, 1024K init, 1164K bss, 13228K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x264/0x3e8 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.008016] Switching to timer-based delay loop, resolution 41ns [ 0.014209] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.023915] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.034280] pid_max: default: 32768 minimum: 301 [ 0.039004] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.046318] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.054669] CPU: Testing write buffer coherency: ok [ 0.059869] /cpus/cpu@0 missing clock-frequency property [ 0.065202] /cpus/cpu@1 missing clock-frequency property [ 0.070540] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.076691] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.083348] rcu: Hierarchical SRCU implementation. [ 0.088563] smp: Bringing up secondary CPUs ... [ 0.094197] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.094315] smp: Brought up 1 node, 2 CPUs [ 0.104135] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.110313] CPU: All CPU(s) started in SVC mode. [ 0.115396] devtmpfs: initialized [ 0.129682] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.137802] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.147666] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.154574] pinctrl core: initialized pinctrl subsystem [ 0.160709] NET: Registered protocol family 16 [ 0.165764] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.201311] rtc_ccu: sunxi ccu init OK [ 0.207224] ccu: sunxi ccu init OK [ 0.210957] r_ccu: sunxi ccu init OK [ 0.236558] iommu: Default domain type: Translated [ 0.241617] sunxi iommu: irq = 24 [ 0.245796] SCSI subsystem initialized [ 0.249757] usbcore: registered new interface driver usbfs [ 0.255344] usbcore: registered new interface driver hub [ 0.260746] usbcore: registered new device driver usb [ 0.266565] Advanced Linux Sound Architecture Driver Initialized. [ 0.273197] Bluetooth: Core ver 2.22 [ 0.277070] NET: Registered protocol family 31 [ 0.281508] Bluetooth: HCI device and connection manager initialized [ 0.287905] Bluetooth: HCI socket layer initialized [ 0.292805] Bluetooth: L2CAP socket layer initialized [ 0.297882] Bluetooth: SCO socket layer initialized [ 0.303027] pwm module init! [ 0.307146] g2d 5410000.g2d: Adding to iommu group 0 [ 0.312430] G2D: rcq version initialized.major:252 [ 0.318025] clocksource: Switched to clocksource arch_sys_counter [ 0.332554] sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver [ 0.341805] NET: Registered protocol family 2 [ 0.346733] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.355147] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.362844] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 0.369931] TCP: Hash tables configured (established 1024 bind 1024) [ 0.376375] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.382963] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.390140] NET: Registered protocol family 1 [ 0.395435] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.405718] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.412443] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 0.418617] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 0.424987] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 0.431443] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.439861] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 0.446104] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8860000, irq 40 [ 0.455713] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 0.466332] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.472380] ntfs: driver 2.1.32 [Flags: R/W]. [ 0.507169] io scheduler mq-deadline registered [ 0.511734] io scheduler kyber registered [ 0.516992] [DISP]disp_module_init [ 0.520926] disp 5000000.disp: Adding to iommu group 0 [ 0.526565] [DISP] parser_disp_init_para,line:1430: [ 0.526568] of_property_read fb0_width fail [ 0.552043] display_fb_request,fb_id:0 [ 0.558967] [DISP] Fb_copy_boot_fb,line:1443: [ 0.558971] no boot_fb0 [ 0.566342] disp_al_manager_apply ouput_type:0 [ 0.568239] [DISP]disp_module_init finish [ 0.571333] [DISP] lcd_clk_config,line:744: [ 0.571344] disp 0, clk: pll(420000000),clk(420000000),dclk(70000000) dsi_rate(70000000) [ 0.571344] clk real:pll(420000000),clk(420000000),dclk(105000000) dsi_rate(150000000) [ 0.575810] sunxi_sid_init()551 - insmod ok [ 0.600677] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 0.610866] uart uart3: get regulator failed [ 0.615151] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.622318] uart3: ttyS3 at MMIO 0x2500c00 (irq = 34, base_baud = 1500000) is a SUNXI [ 0.630185] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n ?[ 0.638185] printk: console [ttyS3] enabled [ 0.638185] printk: console [ttyS3] enabled [ 0.647070] printk: bootconsole [earlycon0] disabled [ 0.647070] printk: bootconsole [earlycon0] disabled [ 0.648554] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.648554] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.679184] misc dump reg init [ 0.683687] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.694816] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 0.702014] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 0.709298] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 0.716657] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 0.723160] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 0.730069] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 0.737730] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 0.745540] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 0.753598] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 0.761181] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 0.767872] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 0.775370] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=141 assert=0 [ 0.782841] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.794489] [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ 0.801633] [ADDR_MGT] addr_mgt_probe: success. [ 0.806921] dma-buf: Running sanitycheck [ 0.811348] dma-buf: Running dma_fence [ 0.815514] sizeof(dma_fence)=48 [ 0.819212] dma-buf: Running dma_fence/sanitycheck [ 0.824555] dma-buf: Running dma_fence/test_signaling [ 0.830223] dma-buf: Running dma_fence/test_add_callback [ 0.836134] dma-buf: Running dma_fence/test_late_add_callback [ 0.842548] dma-buf: Running dma_fence/test_rm_callback [ 0.848370] dma-buf: Running dma_fence/test_late_rm_callback [ 0.854664] dma-buf: Running dma_fence/test_status [ 0.859999] dma-buf: Running dma_fence/test_error [ 0.865224] dma-buf: Running dma_fence/test_wait [ 0.870371] dma-buf: Running dma_fence/test_wait_timeout [ 0.908035] dma-buf: Running dma_fence/test_stub [ 0.913185] dma-buf: Running dma_fence/race_signal_callback [ 0.968202] [DISP] disp_device_attached_and_enable,line:233: [ 0.968208] attached ok, mgr0<-->dev0 [ 0.988028] [DISP] disp_device_attached_and_enable,line:236: [ 0.988036] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 1.003638] thread_signal_callback[0] completed 30889 passes, 31 misses [ 1.011040] thread_signal_callback[1] completed 38892 passes, 8033 misses [ 1.088048] thread_signal_callback[0] completed 43504 passes, 43503 misses [ 1.095723] thread_signal_callback[1] completed 43476 passes, 43475 misses [ 1.103886] sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 [ 1.111116] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 [ 1.118982] sunxi-spinand-phy: not detect any munufacture from id table [ 1.126343] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.132950] sunxi-spinand-phy: get phy info from fdt fail [ 1.138966] sunxi-spinand-phy: not detect munufacture from fdt [ 1.145595] sunxi-spinand-phy: detect munufacture from id table: GD [ 1.152591] sunxi-spinand-phy: get spi-nand Model from fdt fail [ 1.159229] sunxi-spinand-phy: get phy info from fdt fail [ 1.165231] sunxi-spinand-phy: not detect munufacture from fdt [ 1.171731] sunxi-spinand-phy: not match spinand: f1c8f1c8 f1c8f1c8 [ 1.179121] libphy: Fixed MDIO Bus: probed [ 1.184395] sunxi gmac driver's version: 1.0.0 [ 1.189513] gmac-power0: NULL [ 1.192809] gmac-power1: NULL [ 1.196103] gmac-power2: NULL [ 1.200503] Failed to alloc md5 [ 1.204006] eth0: Use random mac address [ 1.208662] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 1.215923] sunxi-ehci: EHCI SUNXI driver [ 1.220840] get ehci1-controller wakeup-source is fail. [ 1.226748] sunxi ehci1-controller don't init wakeup source [ 1.232968] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b5e4e0, 0x:c8877000, irq_no:3c [ 1.244907] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator [ 1.257319] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 1.269399] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 1.276592] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 1.286320] sunxi-ehci 4200000.ehci1-controller: irq 60, io mem 0x04200000 [ 1.318039] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 1.326587] hub 1-0:1.0: USB hub found [ 1.330828] hub 1-0:1.0: 1 port detected [ 1.335757] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 1.342699] sunxi-ohci: OHCI SUNXI driver [ 1.347636] get ohci1-controller wakeup-source is fail. [ 1.353573] sunxi ohci1-controller don't init wakeup source [ 1.359788] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b5e770 [ 1.369403] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator [ 1.381780] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 1.393893] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 1.401109] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 1.410844] sunxi-ohci 4200400.ohci1-controller: irq 61, io mem 0x04200400 [ 1.492821] hub 2-0:1.0: USB hub found [ 1.497029] hub 2-0:1.0: 1 port detected [ 1.502085] i2c /dev entries driver [ 1.506050] sunxi cedar version 1.1 [ 1.510140] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 1.516372] VE: sunxi_cedar_probe power-domain init!!! [ 1.522108] VE: install start!!! [ 1.522108] [ 1.527581] VE: cedar-ve the get irq is 41 [ 1.527581] [ 1.533984] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 1.533984] [ 1.543203] VE: install end!!! [ 1.543203] [ 1.548253] VE: sunxi_cedar_probe [ 1.552206] Bluetooth: HCI UART driver ver 2.3 [ 1.557151] Bluetooth: HCI UART protocol H4 registered [ 1.562889] Bluetooth: HCI UART protocol BCSP registered [ 1.568806] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 1.577432] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 1.587340] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 1.593517] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 1.599823] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 1.606214] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 1.612634] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 1.619137] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 1.625626] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 1.632122] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 1.639047] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 1.644282] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 1.650876] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.661952] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 1.682050] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.706387] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 1.712059] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 1.723594] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) [ 1.733488] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 1.739669] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 1.745967] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 1.752372] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 1.758780] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 1.765269] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 1.771775] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 1.778273] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 1.784771] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 1.794034] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.805144] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 1.825241] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.849389] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 1.857012] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 1.864059] sunxi_led_probe()1749 - start [ 1.868552] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 1.875370] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.886945] sunxi_get_str_of_property()1595 - failed to get the string of propname led_regulator! [ 1.889914] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 1.896844] sunxi_register_led_classdev()1483 - led_classdev start [ 1.910494] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 1.916171] sunxi_led_probe()1845 - finish [ 1.922743] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 1.926685] exFAT: Version 1.3.0 [ 1.933987] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 1.944365] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 1.945197] [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 [ 1.945197] [ 1.951172] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 1.968137] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 1.968585] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 1.999082] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 2.008864] [SNDCODEC][sunxi_card_init][583]:card init finished [ 2.015772] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 2.026587] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [ 2.038466] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 2.046779] NET: Registered protocol family 10 [ 2.052825] Segment Routing with IPv6 [ 2.056978] NET: Registered protocol family 17 [ 2.061974] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 2.068221] Bluetooth: RFCOMM TTY layer initialized [ 2.074665] Bluetooth: RFCOMM socket layer initialized [ 2.080451] Bluetooth: RFCOMM ver 1.11 [ 2.085195] Registering SWP/SWPB emulation handler [ 2.107250] get ehci0-controller wakeup-source is fail. [ 2.113280] sunxi ehci0-controller don't init wakeup source [ 2.119523] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b5dfc0, 0x:c88fb000, irq_no:3a [ 2.131461] [sunxi-ehci0]: Not init ehci0 [ 2.136259] get ohci0-controller wakeup-source is fail. [ 2.142191] sunxi ohci0-controller don't init wakeup source [ 2.148431] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b5e250 [ 2.158024] [sunxi-ohci0]: Not init ohci0 [ 2.163026] UBI error: cannot open mtd sys, error -2 [ 2.168600] UBI: block: can't open volume on ubi0_-1, err=-19 [ 2.177702] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 2.187348] cfg80211: failed to load regulatory.db [ 2.187355] clk: Not disabling unused clocks [ 2.197454] ALSA device list: [ 2.200763] #0: audiocodec [ 2.203970] alloc_fd: slot 0 not NULL! [ 2.208496] /dev/root: Can't open blockdev [ 2.213063] VFS: Cannot open root device "ubiblock0_5" or unknown-block(0,0): error -6 [ 2.221887] Please append a correct "root=" boot option; here are the available partitions: [ 2.231188] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 2.240389] CPU0: stopping [ 2.243404] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.61 #6 [ 2.249985] Hardware name: Generic DT based system [ 2.255337] [<c010de4c>] (unwind_backtrace) from [<c010a5f4>] (show_stack+0x10/0x14) [ 2.263954] [<c010a5f4>] (show_stack) from [<c061fb28>] (dump_stack+0x88/0xa4) [ 2.271997] [<c061fb28>] (dump_stack) from [<c010c234>] (handle_IPI+0xe4/0x180) [ 2.280132] [<c010c234>] (handle_IPI) from [<c02f13b4>] (gic_handle_irq+0x70/0x78) [ 2.288564] [<c02f13b4>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 2.296881] Exception stack(0xc0a01f40 to 0xc0a01f88) [ 2.302505] 1f40: 000006a8 c7ebd334 00000000 c0114740 00000001 c0a00000 c0a03de8 c0a03e24 [ 2.311600] 1f60: c0a43000 c7ffc580 c09270c0 00000000 c0b49748 c0a01f90 c0107f48 c0107f38 [ 2.320698] 1f80: 60000013 ffffffff [ 2.324583] [<c01021cc>] (__irq_svc) from [<c0107f38>] (arch_cpu_idle+0x1c/0x38) [ 2.332819] [<c0107f38>] (arch_cpu_idle) from [<c013d3dc>] (do_idle+0xd4/0x128) [ 2.340953] [<c013d3dc>] (do_idle) from [<c013d6c8>] (cpu_startup_entry+0x18/0x20) [ 2.349383] [<c013d6c8>] (cpu_startup_entry) from [<c0900c74>] (start_kernel+0x358/0x3e8) [ 2.358484] [<c0900c74>] (start_kernel) from [<00000000>] (0x0) [ 2.365079] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---