我尝试了楼主的补丁,发现烧写到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) ]---