@jasonzhang 好的,谢谢,可以了
daMing123 发布的帖子
-
Tina5.0 T113 编写makefile 编译驱动模块,都是提示不对,各位大请指教一下
请教一下各位大神,全志的T113,编译 自已写的 驱动模块 时候,makefile ,应该如何写,有没有例子?
我写了,老是提示有问题
问题如下:lin@ubuntu:~/mydata2/T113_Tina5.0/usrdriver/focaltech_touch$ make make ARCH=arm -I/home/lin/mydata2/T113_Tina5.0/T113-Tina5.0-V1.2/out/t113/kernel/build/ CROSS_COMPILE=/home/lin/mydata2/T113_Tina5.0/T113-Tina5.0-V1.2/out/toolchain/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi- -C /home/lin/mydata2/T113_Tina5.0/T113-Tina5.0-V1.2/kernel/linux-5.4/ M=/home/lin/mydata2/T113_Tina5.0/usrdriver/focaltech_touch modules make[1]: 进入目录“/home/lin/mydata2/T113_Tina5.0/T113-Tina5.0-V1.2/kernel/linux-5.4” awk: 致命错误: 无法以读模式打开文件“include/generated/asm-offsets.h”(没有那个文件或目录) awk: 致命错误: 无法以读模式打开文件“include/generated/asm-offsets.h”(没有那个文件或目录) CC [M] /home/lin/mydata2/T113_Tina5.0/usrdriver/focaltech_touch/focaltech_core.o cc1: error: cannot load plugin ./scripts/gcc-plugins/arm_ssp_per_task_plugin.so ./scripts/gcc-plugins/arm_ssp_per_task_plugin.so: cannot open shared object file: No such file or directory scripts/Makefile.build:286: recipe for target '/home/lin/mydata2/T113_Tina5.0/usrdriver/focaltech_touch/focaltech_core.o' failed make[2]: *** [/home/lin/mydata2/T113_Tina5.0/usrdriver/focaltech_touch/focaltech_core.o] Error 1 Makefile:1810: recipe for target '/home/lin/mydata2/T113_Tina5.0/usrdriver/focaltech_touch' failed make[1]: *** [/home/lin/mydata2/T113_Tina5.0/usrdriver/focaltech_touch] Error 2 make[1]: 离开目录“/home/lin/mydata2/T113_Tina5.0/T113-Tina5.0-V1.2/kernel/linux-5.4” Makefile:36: recipe for target 'kernel_modules' failed make: *** [kernel_modules] Error 2
makefile 如下:
TINA_SDK_ROOT = /home/lin/mydata2/T113_Tina5.0/T113-Tina5.0 KERNELDIR := $(TINA_SDK_ROOT)/kernel/linux-5.4/ CURRENT_PATH := $(shell pwd) STAGING_DIR := $(TINA_SDK_ROOT)/out/t113/100ask_nand/openwrt/staging_dir/target obj-m := ft5446.o ft5446-objs += focaltech_core.o focaltech_ex_fun.o focaltech_ex_mode.o ft5446-objs += focaltech_gesture.o focaltech_esdcheck.o focaltech_i2c.o focaltech_point_report_check.o ARCH := arm CROSS_COMPILE := $(TINA_SDK_ROOT)/out/toolchain/gcc-linaro-5.3.1-2016.05-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi- #CROSS_COMPILE = ${TINA_SDK_ROOT}/prebuilt/rootfsbuilt/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/bin/arm-none-linux-gnueabihf- CFLAGS += -I$(TINA_SDK_ROOT)/out/t113/kernel/build/ build: kernel_modules kernel_modules: $(MAKE) ARCH=$(ARCH) $(CFLAGS) $(LCOMPILELIBAll) CROSS_COMPILE=$(CROSS_COMPILE) -C $(KERNELDIR) M=$(CURRENT_PATH) modules clean: $(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) clean
-
回复: 小麻雀直接驱动树莓派的DSI屏
@didiao
改下设备树试下lcd_hbp = <55>; lcd_ht = <1056>; lcd_hspw = <20>; lcd_vbp = <35>; lcd_vt = <525>; lcd_vspw = <10>; lcd_x = <800>; lcd_y = <480>; lcd_width = <52>; lcd_height = <52>; lcd_dclk_freq = <33>;
-
回复: Tina Linux 存储介质切换:eMMC,SPI NAND,SPI NOR,SD Card,SD NAND
大神,帮我看看,这是什么问题,用的是V851S芯片 ,SDK是论坛下载的tina-v851-release,谢谢!
[01.540]boot_gui_init:start partno erro : can't find partition Reserve0 [01.569]Get Reserve0 partition number fail! [01.576]boot_gui_init:finish partno erro : can't find partition bootloader partno erro : can't find partition boot-resource [01.632]Get bootloader and boot-resource partition number fail! [01.639]Item0 (Map) magic is bad [01.641]out of usb burn from boot: not need burn key [01.669]update bootcmd [01.694]change working_fdt 0x41e8fe70 to 0x41e6fe70 [01.706]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND [01.715]update dts Hit any key to stop autoboot: 0 input addr exceed dram scope [03.151]no vendor_boot partition is found Android's image name: v851s-youmu [03.213]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.191 (lin@lin-VirtualBox) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #94 PREEMPT Wed Dec 27 00:37:33 UTC 2023 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: sun8iw21 [ 0.000000] disp reserve base 0x41f12000 ,size 0x384000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat c0a4f4c8, node_mem_map c3f78000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: ubi.mtd=sys earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/ubiblock0_4 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-res@ubi0_1:env@ubi0_2:boot@ubi0_3:rootfs@ubi0_4:rootfs_data@ubi0_5:UDISK@ubi0_6: cma= snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw21p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05(12/26/2023-21:05:24) mbr_offset=1032192 disp_reserve=3686400,0x41f12000 bootreason=button aw-ubi-spinand.ubootblks=24 androidboot.dramsize=64 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 51108K/65536K available (6144K kernel code, 320K rwdata, 1324K rodata, 1024K init, 169K bss, 14428K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB) [ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB) [ 0.000000] .data : 0xc0a00000 - 0xc0a50368 ( 321 kB) [ 0.000000] .bss : 0xc0a50368 - 0xc0a7a9c8 ( 170 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] sunxi_parse_sdm_info failed: -1 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000022] Switching to timer-based delay loop, resolution 41ns [ 0.000202] Console: colour dummy device 80x30 [ 0.000233] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000248] pid_max: default: 32768 minimum: 301 [ 0.000447] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000460] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001047] CPU: Testing write buffer coherency: ok [ 0.001675] Setting up static identity map for 0x40100000 - 0x40100058 [ 0.003421] devtmpfs: initialized [ 0.036861] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.037441] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.037468] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.037613] atomic64_test: passed [ 0.037627] pinctrl core: initialized pinctrl subsystem [ 0.038758] NET: Registered protocol family 16 [ 0.039647] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.041022] dump_class_init,857, success [ 0.069514] cpuidle: using governor menu [ 0.070890] platform 2010000.iommu: iova_base: 0x48400000 [ 0.071465] sunxi iommu: irq = 22 [ 0.092475] sun8iw21p1-pinctrl pio: initialized sunXi PIO driver [ 0.095590] iommu: Adding device npu to group 0 [ 0.097722] iommu: Adding device 1c0e000.ve to group 0 [ 0.109501] iommu: Adding device 5410000.g2d to group 0 [ 0.110712] iommu: Adding device 5000000.disp to group 0 [ 0.121704] iommu: Adding device 5908000.tdm to group 0 [ 0.122424] iommu: Adding device 5900000.isp to group 0 [ 0.123158] iommu: Adding device 58ffffc.isp to group 0 [ 0.124178] iommu: Adding device 58ffff8.isp to group 0 [ 0.125163] iommu: Adding device 58ffff4.isp to group 0 [ 0.125640] iommu: Adding device 5800800.vind:isp@4 to group 0 [ 0.126542] iommu: Adding device 5910000.scaler to group 0 [ 0.127035] iommu: Adding device 590fffc.scaler to group 0 [ 0.127643] iommu: Adding device 590fff8.scaler to group 0 [ 0.128268] iommu: Adding device 590fff4.scaler to group 0 [ 0.129006] iommu: Adding device 5910400.scaler to group 0 [ 0.130237] iommu: Adding device 59103fc.scaler to group 0 [ 0.130908] iommu: Adding device 59103f8.scaler to group 0 [ 0.131387] iommu: Adding device 59103f4.scaler to group 0 [ 0.132141] iommu: Adding device 5910800.scaler to group 0 [ 0.132790] iommu: Adding device 59107fc.scaler to group 0 [ 0.133281] iommu: Adding device 59107f8.scaler to group 0 [ 0.134003] iommu: Adding device 59107f4.scaler to group 0 [ 0.134750] iommu: Adding device 5910c00.scaler to group 0 [ 0.135436] iommu: Adding device 5910bfc.scaler to group 0 [ 0.135938] iommu: Adding device 5910bf8.scaler to group 0 [ 0.136603] iommu: Adding device 5910bf4.scaler to group 0 [ 0.137665] iommu: Adding device vinc0 to group 0 [ 0.138633] iommu: Adding device vinc4 to group 0 [ 0.140078] iommu: Adding device vinc8 to group 0 [ 0.140870] iommu: Adding device vinc12 to group 0 [ 0.188901] pwm module init! [ 0.197629] sunxi-pm debug v3.10 [ 0.199846] SCSI subsystem initialized [ 0.201314] usbcore: registered new interface driver usbfs [ 0.201508] usbcore: registered new interface driver hub [ 0.201702] usbcore: registered new device driver usb [ 0.202049] sunxi_i2c_adap_init()2748 - init [ 0.202586] sunxi_i2c_probe()2443 - [i2c1] twi_drv_used = 0 [ 0.202605] sunxi_i2c_probe()2450 - [i2c1] twi_pkt_interval = 0 [ 0.202672] twi_regulator_request()647 - [i2c1] regulator not found(isn't configured in dts)! [ 0.202681] twi_request_gpio()463 - [i2c1] init name: (null) [ 0.204623] media: Linux media interface: v0.10 [ 0.205196] Linux video capture interface: v2.00 [ 0.207429] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.207808] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.209383] Advanced Linux Sound Architecture Driver Initialized. [ 0.210803] Bluetooth: Core ver 2.22 [ 0.211000] NET: Registered protocol family 31 [ 0.211011] Bluetooth: HCI device and connection manager initialized [ 0.211037] Bluetooth: HCI socket layer initialized [ 0.211051] Bluetooth: L2CAP socket layer initialized [ 0.211115] Bluetooth: SCO socket layer initialized [ 0.214589] G2D: rcq version initialized.major:251 [ 0.215779] clocksource: Switched to clocksource arch_sys_counter [ 0.248413] get androidboot.mode fail [ 0.250192] NET: Registered protocol family 2 [ 0.266166] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.266188] TCP bind hash table entries: 16 (order: -6, 64 bytes) [ 0.266199] TCP: Hash tables configured (established 16 bind 16) [ 0.266280] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.266300] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.266536] NET: Registered protocol family 1 [ 0.267203] sunxi_spi_probe()2250 - [spi0] SPI DBI INTERFACE [ 0.267219] sunxi_spi_probe()2259 - [spi0] SPI MASTER MODE [ 0.267297] sunxi_spi_resource_get()1917 - sample_mode:1 sample_delay:16 [ 0.267321] spi0 supply spi not found, using dummy regulator [ 0.267410] sunxi_spi_request_gpio()1883 - [spi0] Pinctrl init spi0 [ 0.267503] sunxi_spi_clk_init()1954 - [spi0] mclk 100000000 [ 0.268679] sunxi_spi_probe()2339 - [spi0]: driver probe succeed, base c4868000, irq 294 [ 0.273206] sunxi_sid_driver_init+0x0/0x10 complete comp. [ 0.274599] workingset: timestamp_bits=29 max_order=14 bucket_order=0 [ 0.289787] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.291795] io scheduler noop registered [ 0.291815] io scheduler deadline registered [ 0.292103] io scheduler cfq registered (default) [ 0.293353] [DISP]disp_module_init [ 0.294963] [DISP] parser_disp_init_para,line:1306: [ 0.294980] of_property_read disp_init.disp_init_enable fail [ 0.295534] lcd 0, driver_name , panel_name default_lcd [ 0.295551] lcd 0, driver_name , panel_name he0801a068 [ 0.295559] lcd 0, driver_name , panel_name inet_dsi_panel [ 0.295566] lcd 0, driver_name , panel_name lq101r1sx03 [ 0.295574] lcd 0, driver_name , panel_name WilliamLcd [ 0.295581] lcd 0, driver_name , panel_name bp101wx1 [ 0.295589] lcd 0, driver_name , panel_name k101im2qa04 [ 0.295596] lcd 0, driver_name , panel_name t050k589 [ 0.295603] lcd 0, driver_name , panel_name kd080d24 [ 0.295611] lcd 0, driver_name , panel_name super_lcd_driver [ 0.297390] [DISP]disp_module_init finish [ 0.300747] uart0 supply uart not found, using dummy regulator [ 0.301045] uart0: ttyS0 at MMIO 0x2500000 (irq = 289, base_baud = 1500000) is a SUNXI [ 0.301081] sw_console_setup()2050 - console setup baud 115200 parity n bits 8, flow n [ 1.363657] console [ttyS0] enabled [ 1.368603] misc dump reg init [ 1.372770] npu[1][1] vipcore, platform driver device=0xc396de10 [ 1.379899] npu[1][1] vipcore irq number is 290. [ 1.385091] gckvip_drv_adjust_param 232 SUCCESS [ 1.390313] the freq of pll_npux4 clk is fixed [ 1.395313] Want set pclk rate(348000000) support(1392000000) real(1392000000) [ 1.403560] Want set mclk rate(348000000) support(348000000) real(348000000) [ 1.411572] npu[1][1] This device support 64bits DMA [ 1.417746] npu[1][1] core_0, request irqline=290, name=vipcore_0 [ 1.424678] npu[1][1] =======vipcore parameter===== [ 1.430398] npu[1][1] registerMemBase 0x03050000, [ 1.436239] npu[1][1] registerMemSize 0x00020000, [ 1.442014] npu[1][1] irqLine 0x00000122, [ 1.447825] npu[1][1] contiguousSize 0x00100000 [ 1.453402] npu[1][1] contiguousBase 0x30000000 [ 1.459057] npu[1][1] vipContiguousBase 0x0 [ 1.463950] npu[1][1] drvType 0x00000000 [ 1.469559] npu[1][1] AXISramSize 0x00000000 [ 1.475135] npu[1][1] AXISramBaseAddress 0x00000000 [ 1.480736] npu[1][1] VIPSramSize 0x00020000 [ 1.486326] npu[1][1] VIPSramBaseAddress 0x00400000 [ 1.491902] npu[1][1] sysHeapSize 0x00200000 [ 1.497488] npu[1][1] =============================== [ 1.503249] npu[1][1] VIPLite driver version 1.8.1.0-AW-2022-07-26 [ 1.511431] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1) [ 1.517976] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (-1) [ 1.524632] sunxi-wlan soc@03000000:wlan@0: Missing wlan_io_regulator. [ 1.532035] sunxi-wlan soc@03000000:wlan@0: io_regulator_name ((null)) [ 1.539421] sunxi-wlan soc@03000000:wlan@0: request pincrtl handle for device [soc@03000000:wlan@0] failed [ 1.550411] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=134 mul-sel=1 pull=1 drv_level=2 data=0 [ 1.561055] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed [ 1.568163] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=135 mul-sel=14 pull=1 drv_level=2 data=0 [ 1.579249] sunxi-wlan soc@03000000:wlan@0: clk_name () [ 1.586775] sunxi-spinand: AW SPINand MTD Layer Version: 2.4 20220106 [ 1.594027] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211125 [ 1.602386] sunxi-spinand-phy: detect munufacture from id table: Winbond [ 1.609991] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [ 1.617067] sunxi-spinand-phy: ========== arch info ========== [ 1.623618] sunxi-spinand-phy: Model: W25N01GVZEIG [ 1.630479] sunxi-spinand-phy: Munufacture: Winbond [ 1.636776] sunxi-spinand-phy: DieCntPerChip: 1 [ 1.642449] sunxi-spinand-phy: BlkCntPerDie: 1024 [ 1.648440] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.654209] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.659892] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.665661] sunxi-spinand-phy: BadBlockFlag: 0x0 [ 1.671537] sunxi-spinand-phy: OperationOpt: 0x7 [ 1.677412] sunxi-spinand-phy: MaxEraseTimes: 65000 [ 1.683474] sunxi-spinand-phy: EccFlag: 0x0 [ 1.689350] sunxi-spinand-phy: EccType: 2 [ 1.695022] sunxi-spinand-phy: EccProtectedType: 3 [ 1.700702] sunxi-spinand-phy: ======================================== [ 1.708140] sunxi-spinand-phy: [ 1.711663] sunxi-spinand-phy: ========== physical info ========== [ 1.718615] sunxi-spinand-phy: TotalSize: 128 M [ 1.723993] sunxi-spinand-phy: SectorSize: 512 B [ 1.729381] sunxi-spinand-phy: PageSize: 2 K [ 1.734564] sunxi-spinand-phy: BlockSize: 128 K [ 1.739952] sunxi-spinand-phy: OOBSize: 64 B [ 1.745232] sunxi-spinand-phy: ======================================== [ 1.752669] sunxi-spinand-phy: [ 1.756202] sunxi-spinand-phy: ========== logical info ========== [ 1.763045] sunxi-spinand-phy: TotalSize: 128 M [ 1.768433] sunxi-spinand-phy: SectorSize: 512 B [ 1.773811] sunxi-spinand-phy: PageSize: 4 K [ 1.779004] sunxi-spinand-phy: BlockSize: 256 K [ 1.784383] sunxi-spinand-phy: OOBSize: 128 B [ 1.789770] sunxi-spinand-phy: ======================================== [ 1.797296] sunxi-spinand-phy: block lock register: 0x00 [ 1.803353] sunxi-spinand-phy: feature register: 0x19 [ 1.809051] sunxi-spinand-phy: sunxi physic nand init end [ 1.817339] sunxipart: failed to parse sunxi_gpt! [ 1.822650] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.828877] 0x000000000000-0x000000100000 : "boot0" [ 1.837295] 0x000000100000-0x000000400000 : "uboot" [ 1.847207] 0x000000400000-0x000000500000 : "secure_storage" [ 1.856820] 0x000000500000-0x000008000000 : "sys" [ 1.862741] random: fast init done [ 1.962810] sunxi-spinand-phy: phy blk 684 is bad [ 1.968397] sunxi-spinand-phy: phy blk 687 is bad [ 1.985167] sunxi-spinand-phy: phy blk 764 is bad [ 1.990769] sunxi-spinand-phy: phy blk 767 is bad [ 2.014825] sunxi-spinand-phy: phy blk 893 is bad [ 2.020579] sunxi-spinand-phy: phy blk 896 is bad [ 2.047536] libphy: Fixed MDIO Bus: probed [ 2.053183] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.061040] get ehci0-controller, regulator_io is no nocare [ 2.067392] get ehci0-controller wakeup-source is fail. [ 2.073449] sunxi ehci0-controller don't init wakeup source [ 2.079909] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0a6ff38, 0x:c4873000, irq_no:12e [ 2.092076] [sunxi-ehci0]: Not init ehci0 [ 2.097091] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.104495] get ohci0-controller, regulator_io is no nocare [ 2.110976] get ohci0-controller wakeup-source is fail. [ 2.117110] sunxi ohci0-controller don't init wakeup source [ 2.123465] [sunxi-ohci0]: probe, pdev->name: 4101000.ohci0-controller, sunxi_ohci: 0xc0a7015c [ 2.133225] [sunxi-ohci0]: Not init ohci0 [ 2.138449] usbcore: registered new interface driver uas [ 2.144846] usbcore: registered new interface driver usb-storage [ 2.151890] usbcore: registered new interface driver ums-alauda [ 2.158898] usbcore: registered new interface driver ums-cypress [ 2.166069] usbcore: registered new interface driver ums-datafab [ 2.173001] usbcore: registered new interface driver ums_eneub6250 [ 2.180289] usbcore: registered new interface driver ums-freecom [ 2.187392] usbcore: registered new interface driver ums-isd200 [ 2.194343] usbcore: registered new interface driver ums-jumpshot [ 2.201546] usbcore: registered new interface driver ums-karma [ 2.208513] usbcore: registered new interface driver ums-onetouch [ 2.215683] usbcore: registered new interface driver ums-realtek [ 2.222700] usbcore: registered new interface driver ums-sddr09 [ 2.229688] usbcore: registered new interface driver ums-sddr55 [ 2.236762] usbcore: registered new interface driver ums-usbat [ 2.243441] usb_serial_number:20080411 [ 2.248774] sunxi_gpadc_init,1949, success [ 2.253816] sunxi_gpadc_setup: get channel scan data failed [ 2.261726] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 2.271084] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 2.278402] sunxi-rtc rtc: RTC enabled [ 2.282694] fix to hot reboot, save boot reason [ 2.288381] i2c /dev entries driver [ 2.293072] sunxi cedar version 0.1 [ 2.297535] VE: install start!!! [ 2.297535] [ 2.303010] VE: cedar-ve the get irq is 291 [ 2.307985] VE: regs_csi = c48ad000 [ 2.312620] VE: ve_proc_mgr: flag = 1 [ 2.312620] [ 2.318707] VE: install end!!! [ 2.318707] [ 2.324295] google_vp9: sunxi google vp9 version 0.1 [ 2.333482] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 2.343306] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903 [ 2.350942] Bluetooth: HCI UART protocol H4 registered [ 2.356853] Bluetooth: HCI H4 protocol initialized [ 2.362497] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07 [ 2.370400] bt_fdi debugfs_init [ 2.378663] cpuidle: enable-method property 'psci' found operations [ 2.389927] usbcore: registered new interface driver usbhid [ 2.396681] usbhid: USB HID core driver [ 2.404921] [sound 1158][DAUDIO snd_sunxi_regulator_init] regulator missing or invalid [ 2.416374] sunxi-snd-mach soc@03000000:codec_mach: sunxi-snd-codec <-> soc@03000000:codec_plat mapping ok [ 2.430628] sunxi-snd-mach soc@03000000:daudio0_mach: snd-soc-dummy-dai <-> 2032000.daudio0_plat mapping ok [ 2.445622] NET: Registered protocol family 10 [ 2.452908] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 2.461150] NET: Registered protocol family 17 [ 2.466684] NET: Registered protocol family 15 [ 2.471847] Bluetooth: RFCOMM TTY layer initialized [ 2.477531] Bluetooth: RFCOMM socket layer initialized [ 2.483343] Bluetooth: RFCOMM ver 1.11 [ 2.489026] Registering SWP/SWPB emulation handler [ 2.504110] ubi0: attaching mtd3 [ 2.604128] random: crng init done [ 2.737414] ubi0: scanning is finished [ 2.752614] ubi0: attached mtd3 (name "sys", size 123 MiB) [ 2.758905] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 2.766679] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 2.774312] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 2.782277] ubi0: good PEBs: 486, bad PEBs: 6, corrupted PEBs: 0 [ 2.789079] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [ 2.797308] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 2.806725] ubi0: available PEBs: 10, total reserved PEBs: 476, PEBs reserved for bad PEB handling: 4 [ 2.817110] ubi0: background thread "ubi_bgt0d" started, PID 686 [ 2.824452] get det_vbus is fail, 84 [ 2.828683] get id is fail, 84 [ 2.833245] sunxi-rtc rtc: setting system clock to 1970-01-01 00:51:37 UTC (3097) [ 2.842846] clk: Not disabling unused clocks [ 2.847865] ALSA device list: [ 2.851213] #0: audiocodec [ 2.854450] #1: snddaudio0 [ 2.858250] VFS: Cannot open root device "ubiblock0_4" or unknown-block(0,0): error -6 [ 2.867287] Please append a correct "root=" boot option; here are the available partitions: [ 2.876744] 1f00 1024 mtdblock0 (driver?) [ 2.882436] 1f01 3072 mtdblock1 (driver?) [ 2.888162] 1f02 1024 mtdblock2 (driver?) [ 2.893848] 1f03 125952 mtdblock3 (driver?) [ 2.899630] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 2.908920] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.191 #94 [ 2.915567] Hardware name: sun8iw21 [ 2.919516] [<c010d3cc>] (unwind_backtrace) from [<c010a51c>] (show_stack+0x10/0x14) [ 2.928227] [<c010a51c>] (show_stack) from [<c016ff58>] (panic+0xac/0x2b0) [ 2.935962] [<c016ff58>] (panic) from [<c0901270>] (mount_block_root+0x208/0x2f4) [ 2.944380] [<c0901270>] (mount_block_root) from [<c0901504>] (prepare_namespace+0x138/0x178) [ 2.953967] [<c0901504>] (prepare_namespace) from [<c0900e80>] (kernel_init_freeable+0x11c/0x178) [ 2.963942] [<c0900e80>] (kernel_init_freeable) from [<c06098d0>] (kernel_init+0x8/0x108) [ 2.973138] [<c06098d0>] (kernel_init) from [<c0106ca8>] (ret_from_fork+0x14/0x2c) [ 2.981649] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 2.991809] sunxi dump enabled [ 2.995234] dump regs done [ 2.998304] flush cache done [ 3.001555] crashdump enter
-
V851s使用spi nand启动不了 VFS: Cannot open root device "ubi0_4" or unknown-block(0,0): error -2
U-Boot 2018.05 (Dec 25 2023 - 20:25:31 +0800) Allwinner Technology [08.114]CPU: Allwinner Family [08.117]Model: sun8iw21 I2C: [I2C-ERROR]:twi_send_clk_9pulse() 147 SDA is still Stuck Low, failed. ready [08.177]DRAM: 64 MiB [08.181]Relocation Offset is: 00ed0000 [08.213]secure enable bit: 0 [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [08.220]pmu_axp2101_probe pmic_bus_read fail [08.224]PMU: no found [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [08.230]bmu_axp2101_probe pmic_bus_read fail [08.234]BMU: no found [08.236]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [08.242]gic: normal mode sunxi flash map init [08.247]flash init start [08.249]workmode = 16,storage type = 0 try card 2 set card number 2 get card number 2 [08.257][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [08.262][mmc]: get sdc_type fail and use default host:tm4. [08.269][mmc]: Is not Boot mode! [08.272][mmc]: SUNXI SDMMC Controller Version:0x50400 [08.283][mmc]: ************Try SD card 2************ [08.288][mmc]: mmc 2 cmd timeout 100 status 100 [08.292][mmc]: smc 2 err, cmd 8, RTO [08.296][mmc]: mmc 2 close bus gating and reset [08.301][mmc]: mmc 2 cmd timeout 100 status 100 [08.305][mmc]: smc 2 err, cmd 55, RTO [08.308][mmc]: mmc 2 close bus gating and reset [08.313][mmc]: ************Try MMC card 2************ [08.322][mmc]: mmc 2 cmd timeout 100 status 100 [08.326][mmc]: smc 2 err, cmd 1, RTO [08.329][mmc]: mmc 2 close bus gating and reset [08.333][mmc]: Card did not respond to voltage select! [08.338][mmc]: ************SD/MMC 2 init error!************ [08.343][mmc]: mmc init product failed MMC init failed try emmc fail [08.350]sunxi-spinand: AW SPINand MTD Layer Version: 1.8 20220106 [08.356]sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211217 [08.364]sunxi-spinand-phy: request spi0 gpio ok [08.368]sunxi-spinand-phy: request general tx dma channel ok! [08.374]sunxi-spinand-phy: request general rx dma channel ok! [08.379]sunxi-spinand-phy: set spic0 clk to 20 Mhz [08.384]sunxi-spinand-phy: init spic0 clk ok [08.388]sunxi-spinand-phy: detect munufacture from id table: Winbond [08.394]sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [08.399]sunxi-spinand-phy: ========== arch info ========== [08.405]sunxi-spinand-phy: Model: W25N01GVZEIG [08.410]sunxi-spinand-phy: Munufacture: Winbond [08.415]sunxi-spinand-phy: DieCntPerChip: 1 [08.419]sunxi-spinand-phy: BlkCntPerDie: 1024 [08.424]sunxi-spinand-phy: PageCntPerBlk: 64 [08.429]sunxi-spinand-phy: SectCntPerPage: 4 [08.433]sunxi-spinand-phy: OobSizePerPage: 64 [08.437]sunxi-spinand-phy: BadBlockFlag: 0x0 [08.442]sunxi-spinand-phy: OperationOpt: 0x7 [08.447]sunxi-spinand-phy: MaxEraseTimes: 65000 [08.451]sunxi-spinand-phy: EccFlag: 0x0 [08.456]sunxi-spinand-phy: EccType: 2 [08.460]sunxi-spinand-phy: EccProtectedType: 3 [08.465]sunxi-spinand-phy: ======================================== [08.471]sunxi-spinand-phy: [08.473]sunxi-spinand-phy: ========== physical info ========== [08.479]sunxi-spinand-phy: TotalSize: 128 M [08.483]sunxi-spinand-phy: SectorSize: 512 B [08.487]sunxi-spinand-phy: PageSize: 2 K [08.491]sunxi-spinand-phy: BlockSize: 128 K [08.495]sunxi-spinand-phy: OOBSize: 64 B [08.499]sunxi-spinand-phy: ======================================== [08.505]sunxi-spinand-phy: [08.508]sunxi-spinand-phy: ========== logical info ========== [08.513]sunxi-spinand-phy: TotalSize: 128 M [08.518]sunxi-spinand-phy: SectorSize: 512 B [08.522]sunxi-spinand-phy: PageSize: 4 K [08.526]sunxi-spinand-phy: BlockSize: 256 K [08.530]sunxi-spinand-phy: OOBSize: 128 B [08.534]sunxi-spinand-phy: ======================================== [08.540]sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1 [08.546]sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1 [08.552]sunxi-spinand-phy: block lock register: 0x00 [08.556]sunxi-spinand-phy: feature register: 0x19 [08.561]sunxi-spinand-phy: sunxi physic nand init end [08.973]sunxi-spinand-phy: set spic0 clk to 100 Mhz [10.092]sunxi-spinand-phy: Sample mode:1 min_delay:3840 max_delay:13480 right_delay:16) [10.258]line:724 init_clocks [10.261]init_clocks:finish [10.263]Loading Environment from SUNXI_FLASH... OK [10.268]try to burn key [10.270]out of usb burn from boot: not need burn key Hit any key to stop autoboot: 0 sunxi work mode=0x10 run usb efex delay time 2500 weak:otg_phy_config usb init ok set address 0x2e set address 0x2e ok SUNXI_EFEX_ERASE_TAG erase_flag = 0x1 origin_erase_flag = 0x1 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 the 0 mbr table is ok the 1 mbr table is ok the 2 mbr table is ok the 3 mbr table is ok *************MBR DUMP*************** total mbr part 6 part[0] name :boot-res part[0] classname :DISK part[0] addrlo :0x2000 part[0] lenlo :0x400 part[0] user_type :32768 part[0] keydata :0 part[0] ro :0 part[1] name :env part[1] classname :DISK part[1] addrlo :0x2400 part[1] lenlo :0x200 part[1] user_type :32768 part[1] keydata :0 part[1] ro :0 part[2] name :boot part[2] classname :DISK part[2] addrlo :0x2600 part[2] lenlo :0x3000 part[2] user_type :32768 part[2] keydata :0 part[2] ro :0 part[3] name :rootfs part[3] classname :DISK part[3] addrlo :0x5600 part[3] lenlo :0x48d8 part[3] user_type :32768 part[3] keydata :0 part[3] ro :0 part[4] name :rootfs_data part[4] classname :DISK part[4] addrlo :0x9ed8 part[4] lenlo :0x19000 part[4] user_type :32768 part[4] keydata :0 part[4] ro :0 part[5] name :UDISK part[5] classname :DISK part[5] addrlo :0x22ed8 part[5] lenlo :0x0 part[5] user_type :33024 part[5] keydata :0 part[5] ro :0 total part: 7 mbr 0, 2000, 8000 boot-res 1, 400, 8000 env 2, 200, 8000 boot 3, 3000, 8000 rootfs 4, 48d8, 8000 rootfs_data 5, 19000, 8000 UDISK 6, 0, 8100 [13.201]erase blk 0 to blk 32 [13.204]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [13.210]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [13.216]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [13.222]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [13.228]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [13.234]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 [13.240]sunxi-spinand-phy: [SPINAND]: ecc error 0x2 need erase flash: 1 [13.279]mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys) 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) [13.329]MTD info (4) [13.331]pagesize: 0x1000 [13.333]blksize: 0x40000 [13.336]num offset bytes name [13.339]0 0x00000000 0x00100000 boot0 [13.343]1 0x00100000 0x00300000 uboot [13.346]2 0x00400000 0x00100000 secure_storage [13.351]3 0x00500000 0x07b00000 sys [13.354]ubi attach the last part of mtd device: NO.3 [13.425]ubi0: attaching mtd4 [13.648]ubi0: scanning is finished [13.657]ubi0: attached mtd4 (name "sys", size 123 MiB) [13.662]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [13.668]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [13.674]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [13.681]ubi0: good PEBs: 486, bad PEBs: 6, corrupted PEBs: 0 [13.686]ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [13.693]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [13.700]ubi0: available PEBs: 0, total reserved PEBs: 486, PEBs reserved for bad PEB handling: 14 no part need to protect user data [13.712]erase blk 0 to blk 32 [13.731]erase blk 40 to blk 1024 [14.164]blk 684 is bad, skip to erase [14.168]blk 687 is bad, skip to erase [14.219]blk 764 is bad, skip to erase [14.223]blk 767 is bad, skip to erase [14.290]blk 893 is bad, skip to erase [14.295]blk 896 is bad, skip to erase SUNXI_EFEX_MBR_TAG mbr size = 0x10000 force mbr 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) [14.409]MTD info (4) [14.410]pagesize: 0x1000 [14.413]blksize: 0x40000 [14.415]num offset bytes name [14.418]0 0x00000000 0x00100000 boot0 [14.422]1 0x00100000 0x00300000 uboot [14.426]2 0x00400000 0x00100000 secure_storage [14.430]3 0x00500000 0x07b00000 sys [14.434]MBR info (unalign): [14.436]partno addr sects type name [14.441]0 0x00000000 0x00002000 0x00000001 mbr [14.446]1 0x00002000 0x00000400 0x00008000 boot-res [14.451]2 0x00002400 0x00000200 0x00008000 env [14.456]3 0x00002600 0x00003000 0x00008000 boot [14.461]4 0x00005600 0x000048d8 0x00008000 rootfs [14.466]5 0x00009ed8 0x00019000 0x00008000 rootfs_data [14.471]6 0x00022ed8 0x00000000 0x00008100 UDISK [14.476]ubi attach the last part of mtd device: NO.3 [14.481]MBR info (align): [14.483]partno addr sects type name [14.488]0 0x00002800 0x00002178 0x00000001 mbr [14.493]1 0x00004978 0x000005e8 0x00008000 boot-res [14.498]2 0x00004f60 0x000003f0 0x00008000 env [14.503]3 0x00005350 0x00003138 0x00008000 boot [14.508]4 0x00008488 0x000048d8 0x00008000 rootfs [14.513]5 0x0000cd60 0x000191a0 0x00008000 rootfs_data [14.518]6 0x00025f00 0x00000000 0x00008100 UDISK [14.523]ubi attach the last part of mtd device: NO.3 [14.528]ubi attatch mtd, name: sys [14.531]ubi0: detaching mtd4 [14.534]ubi0: mtd4 is detached [14.536]ubi0: attaching mtd4 [14.649]ubi0: scanning is finished [14.652]ubi0: empty MTD device detected [14.672]ubi0: attached mtd4 (name "sys", size 123 MiB) [14.677]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [14.683]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [14.689]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [14.696]ubi0: good PEBs: 486, bad PEBs: 6, corrupted PEBs: 0 [14.701]ubi0: user volume: 0, internal volumes: 1, max. volumes count: 128 [14.708]ubi0: max/mean erase counter: 0/0, WL threshold: 4096, image sequence number: 0 [14.715]ubi0: available PEBs: 468, total reserved PEBs: 18, PEBs reserved for bad PEB handling: 14 Creating static volume mbr of size 4386816 Creating dynamic volume boot-res of size 774144 Creating dynamic volume env of size 516096 Creating dynamic volume boot of size 6451200 Creating dynamic volume rootfs of size 9547776 Creating dynamic volume rootfs_data of size 52641792 No size specified -> Using max size (46448640) [15.591]reset last volume size to 0x16260 Creating dynamic volume UDISK of size 46448640 [15.618]existed volume UDISK size is 90720(sects) , inside ubi part size is 0(sects),existed volume size to update inside ubi part size [15.629]existed volume UDISK size is 90720(sects) , inside ubi part size is 0(sects),existed volume size to update inside ubi part size [15.661]fill gap start: volume mbr sects 0x1f80 [17.197]fill gap end: volume mbr [17.200]update partition map [17.202]logical area info: 468 258048 last_lba: 235871 [17.214]logical area info: 468 258048 last_lba: 235871 [17.227]logical area info: 468 258048 last_lba: 235871 [17.239]logical area info: 468 258048 last_lba: 235871 [17.251]logical area info: 468 258048 last_lba: 235871 [17.263]logical area info: 468 258048 last_lba: 235871 [17.276]logical area info: 468 258048 last_lba: 235871 [17.288]logical area info: 468 258048 last_lba: 235871 [17.300]logical area info: 468 258048 last_lba: 235871 [17.312]logical area info: 468 258048 last_lba: 235871 [17.324]logical area info: 468 258048 last_lba: 235871 [17.337]logical area info: 468 258048 last_lba: 235871 [17.349]logical area info: 468 258048 last_lba: 235871 [17.361]logical area info: 468 258048 last_lba: 235871 [17.373]logical area info: 468 258048 last_lba: 235871 [17.385]logical area info: 468 258048 last_lba: 235871 [17.398]logical area info: 468 258048 last_lba: 235871 [17.410]logical area info: 468 258048 last_lba: 235871 [17.422]logical area info: 468 258048 last_lba: 235871 [17.434]logical area info: 468 258048 last_lba: 235871 [17.446]logical area info: 468 258048 last_lba: 235871 [17.458]logical area info: 468 258048 last_lba: 235871 FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 [17.494]fill gap start: volume boot-res sects 0x360 [17.582]fill gap end: volume boot-res FEX_CMD_fes_verify_value, start 0x2000, size high 0x0:low 0x14000 FEX_CMD_fes_verify_value 0xe6f75b5c [17.630]fill gap start: volume env sects 0x100 [17.716]fill gap end: volume env FEX_CMD_fes_verify_value, start 0x2400, size high 0x0:low 0x20000 FEX_CMD_fes_verify_value 0x48b74a16 [18.686]fill gap start: volume boot sects 0x1478 [18.796]fill gap end: volume boot FEX_CMD_fes_verify_value, start 0x2600, size high 0x0:low 0x371000 FEX_CMD_fes_verify_value 0x2989c711 [20.932]fill gap start: volume rootfs sects 0x17d8 [21.044]fill gap end: volume rootfs FEX_CMD_fes_verify_value, start 0x5600, size high 0x0:low 0x620000 FEX_CMD_fes_verify_value 0x767cafec bootfile_mode=4 SUNXI_EFEX_BOOT1_TAG boot1 size = 0x108000, max size = 0x200000 uboot size = 0x108000 storage type = 0 [21.825]uboot blk range [8-32) [21.828]download uboot to block 8 (9 blocks) len 1056K [22.104]download uboot to block 17 (9 blocks) len 1056K FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 bootfile_mode=4 SUNXI_EFEX_BOOT0_TAG boot0 size = 0xb000 dram para[0] = 210 dram para[1] = 2 dram para[2] = 7b7bf9 dram para[3] = 0 dram para[4] = d2 dram para[5] = 400000 dram para[6] = e73 dram para[7] = 2 dram para[8] = 0 dram para[9] = 0 dram para[10] = 471992 dram para[11] = 131a10c dram para[12] = 57041 dram para[13] = b4787896 dram para[14] = 0 dram para[15] = 48484848 dram para[16] = 48 dram para[17] = 1621121e dram para[18] = 0 dram para[19] = 0 dram para[20] = 0 dram para[21] = 22 dram para[22] = 77 dram para[23] = b4006103 dram para[24] = 0 dram para[25] = 0 dram para[26] = 0 dram para[27] = 0 dram para[28] = 0 dram para[29] = 0 dram para[30] = 0 dram para[31] = 0 storage type = 0 [22.451]download boot0 to block 0 len 44K [22.466]download boot0 to block 1 len 44K [22.482]download boot0 to block 2 len 44K [22.497]download boot0 to block 3 len 44K [22.512]download boot0 to block 4 len 44K [22.528]download boot0 to block 5 len 44K [22.543]download boot0 to block 6 len 44K [22.558]download boot0 to block 7 len 44K FEX_CMD_fes_verify_status FEX_CMD_fes_verify last err=0 sunxi_efex_next_action=2 exit usb next work 2 ]HELLO! BOOT0 is starting!EBOOT [27]BOOT0 commit : 4b419f21ba [114][pmu]: bus read error [117]set pll start [119]periph0 has been enabled [122]set pll end [123]board init ok [125]rtc[0] value = 0x80000002 [128]DRAM use internal ZQ!! [131]ZQ value = 0x2e [133]chip id check OK [135]POWER SETTING ERROR! [138]DRAM BOOT DRIVE INFO: V0.16 [141]DRAM CLK = 528 MHz [143]DRAM Type = 2 (2:DDR2,3:DDR3) [146]DRAMC read ODT off. [149]DRAM ODT off. [151]DRAM SIZE =64 M [153]dram_tpr4:0x0 [161]DRAM simple test OK. [163]rtc standby flag is 0x0, super standby flag is 0x0 [168]dram size =64 [171]audio:avcc calibration [174]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [179]block from 8 to 32 [557]Check is correct. [559]Entry_name = optee [562]Entry_name = u-boot [571]Entry_name = dtb [574]Jump to second Boot. M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm E/TC:0 0 platform_standby_fdt_parse:133 no pmu node E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node U-Boot 2018.05 (Dec 25 2023 - 20:25:31 +0800) Allwinner Technology [00.651]CPU: Allwinner Family [00.654]Model: sun8iw21 I2C: [I2C-ERROR]:twi_send_clk_9pulse() 147 SDA is still Stuck Low, failed. ready [00.713]DRAM: 64 MiB [00.717]Relocation Offset is: 00ed0000 [00.750]secure enable bit: 0 E/TC:0 tee_read_fdt:433 fine node /firmware/optee failed with FDT_ERR_NOTFOUND [00.764]smc_tee_inform_fdt failed with: ffff0000 [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [00.774]pmu_axp2101_probe pmic_bus_read fail [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [00.782]bmu_axp2101_probe pmic_bus_read fail [00.787]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [00.793]gic: sec monitor mode sunxi flash map init [00.798]flash init start [00.800]workmode = 0,storage type = 0 [00.807]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:16 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.921]ubi0: attaching mtd4 [01.144]ubi0: scanning is finished [01.153]ubi0: attached mtd4 (name "sys", size 123 MiB) [01.158]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [01.164]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [01.170]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [01.176]ubi0: good PEBs: 486, bad PEBs: 6, corrupted PEBs: 0 [01.182]ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [01.188]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [01.196]ubi0: available PEBs: 0, total reserved PEBs: 486, PEBs reserved for bad PEB handling: 14 [01.205]sunxi flash init ok [01.207]line:724 init_clocks [01.210]drv_disp_init [01.220]drv_disp_init finish [01.383]Loading Environment from SUNXI_FLASH... backup env check CRC fail Now update backup env Saving Environment to SUNXI_FLASH... Writing to env... OK OK [01.536]boot_gui_init:start partno erro : can't find partition Reserve0 [01.565]Get Reserve0 partition number fail! [01.572]boot_gui_init:finish partno erro : can't find partition bootloader partno erro : can't find partition boot-resource [01.628]Get bootloader and boot-resource partition number fail! [01.635]Item0 (Map) magic is bad [01.638]out of usb burn from boot: not need burn key [01.665]update bootcmd [01.691]change working_fdt 0x41e8fe70 to 0x41e6fe70 [01.702]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND [01.711]update dts Hit any key to stop autoboot: 0 input addr exceed dram scope [03.149]no vendor_boot partition is found Android's image name: v851s-youmu [03.211]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.191 (lin@lin-VirtualBox) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #57 PREEMPT Tue Dec 26 02:04:15 UTC 2023 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: sun8iw21 [ 0.000000] disp reserve base 0x41f12000 ,size 0x384000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat c0a50508, node_mem_map c3f78000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: ubi.mtd=sys earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=ubi0_4 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-res@ubi0_1:env@ubi0_2:boot@ubi0_3:rootfs@ubi0_4:rootfs_data@ubi0_5:UDISK@ubi0_6: cma= snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw21p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05(12/25/2023-20:25:31) mbr_offset=1032192 disp_reserve=3686400,0x41f12000 bootreason=button aw-ubi-spinand.ubootblks=24 androidboot.dramsize=64 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 51108K/65536K available (6144K kernel code, 324K rwdata, 1332K rodata, 1024K init, 167K bss, 14428K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB) [ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB) [ 0.000000] .data : 0xc0a00000 - 0xc0a513a8 ( 325 kB) [ 0.000000] .bss : 0xc0a513a8 - 0xc0a7b2c8 ( 168 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] sunxi_parse_sdm_info failed: -1 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000021] Switching to timer-based delay loop, resolution 41ns [ 0.000202] Console: colour dummy device 80x30 [ 0.000235] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000250] pid_max: default: 32768 minimum: 301 [ 0.000451] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000465] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001053] CPU: Testing write buffer coherency: ok [ 0.001695] Setting up static identity map for 0x40100000 - 0x40100058 [ 0.003451] devtmpfs: initialized [ 0.037885] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.038480] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.038508] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.038655] atomic64_test: passed [ 0.038668] pinctrl core: initialized pinctrl subsystem [ 0.039900] NET: Registered protocol family 16 [ 0.040721] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.042082] dump_class_init,857, success [ 0.069529] cpuidle: using governor menu [ 0.070908] platform 2010000.iommu: iova_base: 0x48400000 [ 0.071500] sunxi iommu: irq = 22 [ 0.092617] sun8iw21p1-pinctrl pio: initialized sunXi PIO driver [ 0.095744] iommu: Adding device npu to group 0 [ 0.097916] iommu: Adding device 1c0e000.ve to group 0 [ 0.111055] iommu: Adding device 5410000.g2d to group 0 [ 0.112103] iommu: Adding device 5000000.disp to group 0 [ 0.124730] iommu: Adding device 5908000.tdm to group 0 [ 0.125664] iommu: Adding device 5900000.isp to group 0 [ 0.126559] iommu: Adding device 58ffffc.isp to group 0 [ 0.127536] iommu: Adding device 58ffff8.isp to group 0 [ 0.128294] iommu: Adding device 58ffff4.isp to group 0 [ 0.128949] iommu: Adding device 5800800.vind:isp@4 to group 0 [ 0.130231] iommu: Adding device 5910000.scaler to group 0 [ 0.130791] iommu: Adding device 590fffc.scaler to group 0 [ 0.131406] iommu: Adding device 590fff8.scaler to group 0 [ 0.131894] iommu: Adding device 590fff4.scaler to group 0 [ 0.132650] iommu: Adding device 5910400.scaler to group 0 [ 0.133423] iommu: Adding device 59103fc.scaler to group 0 [ 0.134183] iommu: Adding device 59103f8.scaler to group 0 [ 0.134664] iommu: Adding device 59103f4.scaler to group 0 [ 0.135524] iommu: Adding device 5910800.scaler to group 0 [ 0.136029] iommu: Adding device 59107fc.scaler to group 0 [ 0.136471] iommu: Adding device 59107f8.scaler to group 0 [ 0.137175] iommu: Adding device 59107f4.scaler to group 0 [ 0.137920] iommu: Adding device 5910c00.scaler to group 0 [ 0.138697] iommu: Adding device 5910bfc.scaler to group 0 [ 0.139383] iommu: Adding device 5910bf8.scaler to group 0 [ 0.140141] iommu: Adding device 5910bf4.scaler to group 0 [ 0.141420] iommu: Adding device vinc0 to group 0 [ 0.142189] iommu: Adding device vinc4 to group 0 [ 0.143246] iommu: Adding device vinc8 to group 0 [ 0.144228] iommu: Adding device vinc12 to group 0 [ 0.192804] pwm module init! [ 0.197507] sunxi-pm debug v3.10 [ 0.198582] SCSI subsystem initialized [ 0.198985] usbcore: registered new interface driver usbfs [ 0.199077] usbcore: registered new interface driver hub [ 0.203323] usbcore: registered new device driver usb [ 0.203698] sunxi_i2c_adap_init()2748 - init [ 0.204237] sunxi_i2c_probe()2443 - [i2c1] twi_drv_used = 0 [ 0.204253] sunxi_i2c_probe()2450 - [i2c1] twi_pkt_interval = 0 [ 0.204324] twi_regulator_request()647 - [i2c1] regulator not found(isn't configured in dts)! [ 0.204335] twi_request_gpio()463 - [i2c1] init name: (null) [ 0.205396] media: Linux media interface: v0.10 [ 0.205615] Linux video capture interface: v2.00 [ 0.207781] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.209089] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.210492] Advanced Linux Sound Architecture Driver Initialized. [ 0.211541] Bluetooth: Core ver 2.22 [ 0.211746] NET: Registered protocol family 31 [ 0.211759] Bluetooth: HCI device and connection manager initialized [ 0.211785] Bluetooth: HCI socket layer initialized [ 0.211801] Bluetooth: L2CAP socket layer initialized [ 0.211864] Bluetooth: SCO socket layer initialized [ 0.215356] G2D: rcq version initialized.major:251 [ 0.216800] clocksource: Switched to clocksource arch_sys_counter [ 0.250852] get androidboot.mode fail [ 0.253281] NET: Registered protocol family 2 [ 0.267227] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.267250] TCP bind hash table entries: 16 (order: -6, 64 bytes) [ 0.267261] TCP: Hash tables configured (established 16 bind 16) [ 0.267339] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.267363] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.267606] NET: Registered protocol family 1 [ 0.267949] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC0 [ 0.267969] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC1 [ 0.267984] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC2 [ 0.267998] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC3 [ 0.268012] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC4 [ 0.268027] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC5 [ 0.268306] sunxi_spi_probe()2250 - [spi0] SPI DBI INTERFACE [ 0.268320] sunxi_spi_probe()2259 - [spi0] SPI MASTER MODE [ 0.268406] sunxi_spi_resource_get()1917 - sample_mode:1 sample_delay:16 [ 0.268431] spi0 supply spi not found, using dummy regulator [ 0.268522] sunxi_spi_request_gpio()1883 - [spi0] Pinctrl init spi0 [ 0.268618] sunxi_spi_clk_init()1954 - [spi0] mclk 100000000 [ 0.269843] sunxi_spi_probe()2339 - [spi0]: driver probe succeed, base c4868000, irq 294 [ 0.274431] sunxi_sid_driver_init+0x0/0x10 complete comp. [ 0.275774] workingset: timestamp_bits=29 max_order=14 bucket_order=0 [ 0.291556] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.293686] io scheduler noop registered [ 0.293704] io scheduler deadline registered [ 0.293989] io scheduler cfq registered (default) [ 0.295256] [DISP]disp_module_init [ 0.297340] [DISP] parser_disp_init_para,line:1306: [ 0.297356] of_property_read disp_init.disp_init_enable fail [ 0.297909] lcd 0, driver_name , panel_name default_lcd [ 0.297926] lcd 0, driver_name , panel_name he0801a068 [ 0.297934] lcd 0, driver_name , panel_name inet_dsi_panel [ 0.297942] lcd 0, driver_name , panel_name lq101r1sx03 [ 0.297949] lcd 0, driver_name , panel_name WilliamLcd [ 0.297957] lcd 0, driver_name , panel_name bp101wx1 [ 0.297964] lcd 0, driver_name , panel_name k101im2qa04 [ 0.297971] lcd 0, driver_name , panel_name t050k589 [ 0.297979] lcd 0, driver_name , panel_name kd080d24 [ 0.297986] lcd 0, driver_name , panel_name super_lcd_driver [ 0.299412] [DISP]disp_module_init finish [ 0.303120] uart0 supply uart not found, using dummy regulator [ 0.303400] uart0: ttyS0 at MMIO 0x2500000 (irq = 289, base_baud = 1500000) is a SUNXI [ 0.303437] sw_console_setup()2050 - console setup baud 115200 parity n bits 8, flow n [ 1.405594] console [ttyS0] enabled [ 1.410561] misc dump reg init [ 1.414733] npu[1][1] vipcore, platform driver device=0xc396de10 [ 1.421841] npu[1][1] vipcore irq number is 290. [ 1.427098] gckvip_drv_adjust_param 232 SUCCESS [ 1.432222] the freq of pll_npux4 clk is fixed [ 1.437323] Want set pclk rate(348000000) support(1392000000) real(1392000000) [ 1.445430] Want set mclk rate(348000000) support(348000000) real(348000000) [ 1.453415] npu[1][1] This device support 64bits DMA [ 1.459563] npu[1][1] core_0, request irqline=290, name=vipcore_0 [ 1.466479] npu[1][1] =======vipcore parameter===== [ 1.472198] npu[1][1] registerMemBase 0x03050000, [ 1.478021] npu[1][1] registerMemSize 0x00020000, [ 1.483775] npu[1][1] irqLine 0x00000122, [ 1.489568] npu[1][1] contiguousSize 0x00100000 [ 1.495128] npu[1][1] contiguousBase 0x30000000 [ 1.500768] npu[1][1] vipContiguousBase 0x0 [ 1.505648] npu[1][1] drvType 0x00000000 [ 1.511246] npu[1][1] AXISramSize 0x00000000 [ 1.516831] npu[1][1] AXISramBaseAddress 0x00000000 [ 1.522391] npu[1][1] VIPSramSize 0x00020000 [ 1.527963] npu[1][1] VIPSramBaseAddress 0x00400000 [ 1.533523] npu[1][1] sysHeapSize 0x00200000 [ 1.539092] npu[1][1] =============================== [ 1.544841] npu[1][1] VIPLite driver version 1.8.1.0-AW-2022-07-26 [ 1.553044] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1) [ 1.559579] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (-1) [ 1.566218] sunxi-wlan soc@03000000:wlan@0: Missing wlan_io_regulator. [ 1.573607] sunxi-wlan soc@03000000:wlan@0: io_regulator_name ((null)) [ 1.580978] sunxi-wlan soc@03000000:wlan@0: request pincrtl handle for device [soc@03000000:wlan@0] failed [ 1.591947] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=134 mul-sel=1 pull=1 drv_level=2 data=0 [ 1.602559] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed [ 1.609648] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=135 mul-sel=14 pull=1 drv_level=2 data=0 [ 1.620699] sunxi-wlan soc@03000000:wlan@0: clk_name () [ 1.628777] sunxi-spinand: AW SPINand MTD Layer Version: 2.4 20220106 [ 1.636010] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211125 [ 1.644414] sunxi-spinand-phy: detect munufacture from id table: Winbond [ 1.652002] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [ 1.659058] sunxi-spinand-phy: ========== arch info ========== [ 1.665590] sunxi-spinand-phy: Model: W25N01GVZEIG [ 1.672446] sunxi-spinand-phy: Munufacture: Winbond [ 1.678731] sunxi-spinand-phy: DieCntPerChip: 1 [ 1.684385] sunxi-spinand-phy: BlkCntPerDie: 1024 [ 1.690365] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.696119] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.701785] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.707547] sunxi-spinand-phy: BadBlockFlag: 0x0 [ 1.713397] sunxi-spinand-phy: OperationOpt: 0x7 [ 1.719257] sunxi-spinand-phy: MaxEraseTimes: 65000 [ 1.725303] sunxi-spinand-phy: EccFlag: 0x0 [ 1.731161] sunxi-spinand-phy: EccType: 2 [ 1.736826] sunxi-spinand-phy: EccProtectedType: 3 [ 1.742477] sunxi-spinand-phy: ======================================== [ 1.749894] sunxi-spinand-phy: [ 1.753406] sunxi-spinand-phy: ========== physical info ========== [ 1.760335] sunxi-spinand-phy: TotalSize: 128 M [ 1.765696] sunxi-spinand-phy: SectorSize: 512 B [ 1.771070] sunxi-spinand-phy: PageSize: 2 K [ 1.776236] sunxi-spinand-phy: BlockSize: 128 K [ 1.781613] sunxi-spinand-phy: OOBSize: 64 B [ 1.786887] sunxi-spinand-phy: ======================================== [ 1.794294] sunxi-spinand-phy: [ 1.797816] sunxi-spinand-phy: ========== logical info ========== [ 1.804642] sunxi-spinand-phy: TotalSize: 128 M [ 1.810016] sunxi-spinand-phy: SectorSize: 512 B [ 1.815380] sunxi-spinand-phy: PageSize: 4 K [ 1.820558] sunxi-spinand-phy: BlockSize: 256 K [ 1.825921] sunxi-spinand-phy: OOBSize: 128 B [ 1.831292] sunxi-spinand-phy: ======================================== [ 1.838800] sunxi-spinand-phy: block lock register: 0x00 [ 1.844843] sunxi-spinand-phy: feature register: 0x19 [ 1.850525] sunxi-spinand-phy: sunxi physic nand init end [ 1.857113] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.863273] 0x000000000000-0x000000100000 : "boot0" [ 1.871658] 0x000000100000-0x000000400000 : "uboot" [ 1.881636] 0x000000400000-0x000000500000 : "secure_storage" [ 1.891308] 0x000000500000-0x000008000000 : "sys" [ 1.898355] random: fast init done [ 2.000046] sunxi-spinand-phy: phy blk 684 is bad [ 2.005606] sunxi-spinand-phy: phy blk 687 is bad [ 2.022680] sunxi-spinand-phy: phy blk 764 is bad [ 2.028238] sunxi-spinand-phy: phy blk 767 is bad [ 2.052807] sunxi-spinand-phy: phy blk 893 is bad [ 2.058528] sunxi-spinand-phy: phy blk 896 is bad [ 2.085954] libphy: Fixed MDIO Bus: probed [ 2.091475] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD1 [ 2.098912] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD2 [ 2.106232] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD3 [ 2.113600] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD4 [ 2.121059] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD5 [ 2.128426] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD6 [ 2.135743] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD7 [ 2.143100] sun8iw21p1-pinctrl pio: expect_func as:rmii, but muxsel(4) is func:ephy_25m [ 2.152088] sun8iw21p1-pinctrl pio: expect_func as:rmii, but muxsel(4) is func:mdc [ 2.160588] sun8iw21p1-pinctrl pio: expect_func as:rmii, but muxsel(4) is func:mdio [ 2.169541] sunxi gmac driver's version: 1.0.0 [ 2.174812] gmac-power0: NULL [ 2.178197] gmac-power1: NULL [ 2.181518] gmac-power2: NULL [ 2.186549] Failed to alloc md5 [ 2.190188] eth0: Use random mac address [ 2.194994] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.202946] get ehci0-controller, regulator_io is no nocare [ 2.209374] get ehci0-controller wakeup-source is fail. [ 2.215416] sunxi ehci0-controller don't init wakeup source [ 2.221775] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0a70800, 0x:c4875000, irq_no:130 [ 2.233901] [sunxi-ehci0]: Not init ehci0 [ 2.238892] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.246282] get ohci0-controller, regulator_io is no nocare [ 2.252745] get ohci0-controller wakeup-source is fail. [ 2.258859] sunxi ohci0-controller don't init wakeup source [ 2.265200] [sunxi-ohci0]: probe, pdev->name: 4101000.ohci0-controller, sunxi_ohci: 0xc0a70a24 [ 2.274933] [sunxi-ohci0]: Not init ohci0 [ 2.280150] usbcore: registered new interface driver uas [ 2.286543] usbcore: registered new interface driver usb-storage [ 2.293558] usbcore: registered new interface driver ums-alauda [ 2.300557] usbcore: registered new interface driver ums-cypress [ 2.307705] usbcore: registered new interface driver ums-datafab [ 2.314736] usbcore: registered new interface driver ums_eneub6250 [ 2.321977] usbcore: registered new interface driver ums-freecom [ 2.329072] usbcore: registered new interface driver ums-isd200 [ 2.336026] usbcore: registered new interface driver ums-jumpshot [ 2.343204] usbcore: registered new interface driver ums-karma [ 2.350158] usbcore: registered new interface driver ums-onetouch [ 2.357357] usbcore: registered new interface driver ums-realtek [ 2.364398] usbcore: registered new interface driver ums-sddr09 [ 2.371304] usbcore: registered new interface driver ums-sddr55 [ 2.378297] usbcore: registered new interface driver ums-usbat [ 2.384956] usb_serial_number:20080411 [ 2.390329] sunxi_gpadc_init,1949, success [ 2.395383] sunxi_gpadc_setup: get channel scan data failed [ 2.403277] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 2.412673] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 2.419979] sunxi-rtc rtc: RTC enabled [ 2.424264] fix to hot reboot, save boot reason [ 2.429939] i2c /dev entries driver [ 2.434651] sunxi cedar version 0.1 [ 2.439120] VE: install start!!! [ 2.439120] [ 2.444573] VE: cedar-ve the get irq is 291 [ 2.449501] VE: regs_csi = c48c1000 [ 2.454120] VE: ve_proc_mgr: flag = 1 [ 2.454120] [ 2.460183] VE: install end!!! [ 2.460183] [ 2.465762] google_vp9: sunxi google vp9 version 0.1 [ 2.474991] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 2.484835] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903 [ 2.492455] Bluetooth: HCI UART protocol H4 registered [ 2.498352] Bluetooth: HCI H4 protocol initialized [ 2.504007] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07 [ 2.511916] bt_fdi debugfs_init [ 2.520279] cpuidle: enable-method property 'psci' found operations [ 2.530329] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40) [ 2.539839] sunxi-mmc sdc0: ***ctl-spec-caps*** 8 [ 2.545167] sunxi-mmc sdc0: No vmmc regulator found [ 2.550775] sunxi-mmc sdc0: No vqmmc regulator found [ 2.556348] sunxi-mmc sdc0: No vdmmc regulator found [ 2.561967] sunxi-mmc sdc0: No vd33sw regulator found [ 2.567721] sunxi-mmc sdc0: No vd18sw regulator found [ 2.573387] sunxi-mmc sdc0: No vq33sw regulator found [ 2.579102] sunxi-mmc sdc0: No vq18sw regulator found [ 2.585330] sunxi-mmc sdc0: set host busy [ 2.590030] sunxi-mmc sdc0: Got CD GPIO [ 2.594891] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.605377] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.636837] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.677070] sunxi-mmc sdc0: detmode:gpio irq [ 2.677106] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.684073] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.695938] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !! [ 2.706906] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.712852] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.718856] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.724839] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.724871] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.725963] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.726041] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.748441] sunxi-mmc sdc0: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.776679] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 2.786128] sunxi-mmc sdc0: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.799061] sunxi-mmc sdc0: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.810922] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !! [ 2.816831] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.822809] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.828803] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.834779] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.834803] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.835890] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.835980] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.862547] sunxi-mmc sdc0: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.880203] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 2.889613] sunxi-mmc sdc0: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.902533] sunxi-mmc sdc0: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.914394] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !! [ 2.920298] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.926276] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.932265] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.938254] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.938300] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.939390] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.939489] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.972746] sunxi-mmc sdc0: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.983676] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 2.993120] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 3.002519] sunxi-mmc sdc0: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.015449] sunxi-mmc sdc0: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.027337] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !! [ 3.033227] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 3.039221] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 3.045247] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 3.051245] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 3.051275] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.068654] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 3.078042] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 3.087760] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40) [ 3.096744] sunxi-mmc sdc1: ***ctl-spec-caps*** 8 [ 3.102126] sunxi-mmc sdc1: No vmmc regulator found [ 3.107624] sunxi-mmc sdc1: No vqmmc regulator found [ 3.113190] sunxi-mmc sdc1: No vdmmc regulator found [ 3.118774] sunxi-mmc sdc1: No vd33sw regulator found [ 3.124434] sunxi-mmc sdc1: No vd18sw regulator found [ 3.130112] sunxi-mmc sdc1: No vq33sw regulator found [ 3.135776] sunxi-mmc sdc1: No vq18sw regulator found [ 3.142073] sunxi-mmc sdc1: set host busy [ 3.146640] mmc:failed to get gpios [ 3.151032] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.161517] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 3.196846] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.236886] sunxi-mmc sdc1: detmode:manually by software [ 3.242890] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.248908] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.248940] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.257018] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.268852] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.279621] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.285498] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.291388] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.291444] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.292532] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.292604] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 3.324900] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.344282] usbcore: registered new interface driver usbhid [ 3.350981] usbhid: USB HID core driver [ 3.355305] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.361351] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.361398] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.369592] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.381459] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.392355] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.398350] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.404252] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.404281] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.405373] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.405457] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 3.427497] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.458530] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.466143] [sound 1158][DAUDIO snd_sunxi_regulator_init] regulator missing or invalid [ 3.466164] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.481127] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.495070] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.507331] sunxi-snd-mach soc@03000000:codec_mach: sunxi-snd-codec <-> soc@03000000:codec_plat mapping ok [ 3.510740] sunxi-snd-mach soc@03000000:daudio0_mach: snd-soc-dummy-dai <-> 2032000.daudio0_plat mapping ok [ 3.514620] NET: Registered protocol family 10 [ 3.517181] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 3.518641] NET: Registered protocol family 17 [ 3.518700] NET: Registered protocol family 15 [ 3.530016] Bluetooth: RFCOMM TTY layer initialized [ 3.530042] Bluetooth: RFCOMM socket layer initialized [ 3.530072] Bluetooth: RFCOMM ver 1.11 [ 3.531488] Registering SWP/SWPB emulation handler [ 3.596427] ubi0: attaching mtd3 [ 3.600130] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.606148] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.612289] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.618239] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.618283] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.619388] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.619494] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 3.652857] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.680087] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.689321] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.695316] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.710659] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.726569] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.735717] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.744887] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.754006] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.759917] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.823397] random: crng init done [ 3.962802] ubi0: scanning is finished [ 3.978235] ubi0: attached mtd3 (name "sys", size 123 MiB) [ 3.984414] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 3.992309] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 3.999976] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 4.007929] ubi0: good PEBs: 486, bad PEBs: 6, corrupted PEBs: 0 [ 4.014668] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [ 4.022821] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 4.032226] ubi0: available PEBs: 10, total reserved PEBs: 476, PEBs reserved for bad PEB handling: 4 [ 4.042643] ubi0: background thread "ubi_bgt0d" started, PID 705 [ 4.049991] get det_vbus is fail, 84 [ 4.049997] get id is fail, 84 [ 4.051294] sunxi-rtc rtc: setting system clock to 1970-01-01 01:25:28 UTC (5128) [ 4.052244] clk: Not disabling unused clocks [ 4.052255] ALSA device list: [ 4.052261] #0: audiocodec [ 4.052264] #1: snddaudio0 [ 4.083500] VFS: Cannot open root device "ubi0_4" or unknown-block(0,0): error -2 [ 4.092080] Please append a correct "root=" boot option; here are the available partitions: [ 4.101512] 1f00 1024 mtdblock0 (driver?) [ 4.107229] 1f01 3072 mtdblock1 (driver?) [ 4.112908] 1f02 1024 mtdblock2 (driver?) [ 4.118603] 1f03 125952 mtdblock3 (driver?) [ 4.124280] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 4.133542] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.191 #57 [ 4.140169] Hardware name: sun8iw21 [ 4.144106] [<c010d3cc>] (unwind_backtrace) from [<c010a51c>] (show_stack+0x10/0x14) [ 4.152793] [<c010a51c>] (show_stack) from [<c016ff58>] (panic+0xac/0x2b0) [ 4.160509] [<c016ff58>] (panic) from [<c0901270>] (mount_block_root+0x208/0x2f4) [ 4.168898] [<c0901270>] (mount_block_root) from [<c0901450>] (prepare_namespace+0x84/0x178) [ 4.178359] [<c0901450>] (prepare_namespace) from [<c0900e80>] (kernel_init_freeable+0x11c/0x178) [ 4.188306] [<c0900e80>] (kernel_init_freeable) from [<c0610a88>] (kernel_init+0x8/0x108) [ 4.197478] [<c0610a88>] (kernel_init) from [<c0106ca8>] (ret_from_fork+0x14/0x2c) [ 4.205962] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 4.216093] sunxi dump enabled [ 4.219508] dump regs done [ 4.222570] flush cache done [ 4.225813] crashdump enter [24]HELLO! BOOT0 is starting! [27]BOOT0 commit : 4b419f21ba [114][pmu]: bus read error [117]set pll start [119]periph0 has been enabled [122]set pll end [123]board init ok [125]rtc[0] value = 0x80000002 [128]DRAM use internal ZQ!! [131]ZQ value = 0x2e [133]chip id check OK [135]POWER SETTING ERROR! [138]DRAM BOOT DRIVE INFO: V0.16 [141]DRAM CLK = 528 MHz [143]DRAM Type = 2 (2:DDR2,3:DDR3) [146]DRAMC read ODT off. [149]DRAM ODT off. [151]DRAM SIZE =64 M [153]dram_tpr4:0x0 [161]DRAM simple test OK. [163]rtc standby flag is 0x0, super standby flag is 0x0 [169]dram size =64 [171]audio:avcc calibration [174]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32 [179]block from 8 to 32 [558]Check is correct. [560]Entry_name = optee [563]Entry_name = u-boot [571]Entry_name = dtb [574]Jump to second Boot. M/TC: OP-TEE version: 15ee1539b (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm E/TC:0 0 platform_standby_fdt_parse:133 no pmu node E/TC:0 0 sunxi_twi_parse_from_dt:121 no pmu node U-Boot 2018.05 (Dec 25 2023 - 20:25:31 +0800) Allwinner Technology [00.651]CPU: Allwinner Family [00.654]Model: sun8iw21 I2C: [I2C-ERROR]:twi_send_clk_9pulse() 147 SDA is still Stuck Low, failed. ready [00.714]DRAM: 64 MiB [00.717]Relocation Offset is: 00ed0000 [00.750]secure enable bit: 0 E/TC:0 tee_read_fdt:433 fine node /firmware/optee failed with FDT_ERR_NOTFOUND [00.765]smc_tee_inform_fdt failed with: ffff0000 [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [00.775]pmu_axp2101_probe pmic_bus_read fail [I2C-ERROR]:twi_stop() 339 STOP can't sendout! [00.783]bmu_axp2101_probe pmic_bus_read fail [00.787]CPU=900 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=24Mhz MBus=300Mhz [00.793]gic: sec monitor mode sunxi flash map init [00.798]flash init start [00.800]workmode = 0,storage type = 0 [00.808]sunxi-spinand-phy: spinand sample_mode:1 sample_delay:16 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.922]ubi0: attaching mtd4 [01.144]ubi0: scanning is finished [01.154]ubi0: attached mtd4 (name "sys", size 123 MiB) [01.158]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [01.165]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [01.171]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [01.177]ubi0: good PEBs: 486, bad PEBs: 6, corrupted PEBs: 0 [01.183]ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [01.189]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [01.197]ubi0: available PEBs: 0, total reserved PEBs: 486, PEBs reserved for bad PEB handling: 14 [01.205]sunxi flash init ok [01.208]line:724 init_clocks [01.211]drv_disp_init [01.221]drv_disp_init finish [01.384]Loading Environment from SUNXI_FLASH... OK [01.421]boot_gui_init:start partno erro : can't find partition Reserve0 [01.451]Get Reserve0 partition number fail! [01.457]boot_gui_init:finish partno erro : can't find partition bootloader partno erro : can't find partition boot-resource [01.514]Get bootloader and boot-resource partition number fail! [01.520]Item0 (Map) magic is bad [01.523]out of usb burn from boot: not need burn key [01.551]update bootcmd [01.576]change working_fdt 0x41e8fe70 to 0x41e6fe70 [01.587]## error: update_fdt_dram_para : FDT_ERR_NOTFOUND [01.596]update dts Hit any key to stop autoboot: 0 input addr exceed dram scope [03.035]no vendor_boot partition is found Android's image name: v851s-youmu [03.097]Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.191 (lin@lin-VirtualBox) (gcc version 6.4.1 (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) ) #57 PREEMPT Tue Dec 26 02:04:15 UTC 2023 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt:Machine model: sun8iw21 [ 0.000000] disp reserve base 0x41f12000 ,size 0x384000 [ 0.000000] Memory policy: Data cache writeback [ 0.000000] On node 0 totalpages: 16384 [ 0.000000] free_area_init_node: node 0, pgdat c0a50508, node_mem_map c3f78000 [ 0.000000] Normal zone: 128 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 16384 pages, LIFO batch:3 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 [ 0.000000] Kernel command line: ubi.mtd=sys earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=ubi0_4 rootfstype=squashfs init=/pseudo_init partitions=mbr@ubi0_0:boot-res@ubi0_1:env@ubi0_2:boot@ubi0_3:rootfs@ubi0_4:rootfs_data@ubi0_5:UDISK@ubi0_6: cma= snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw21p1 boot_type=5 androidboot.boot_type=5 gpt=1 uboot_message=2018.05(12/25/2023-20:25:31) mbr_offset=1032192 disp_reserve=3686400,0x41f12000 bootreason=button aw-ubi-spinand.ubootblks=24 androidboot.dramsize=64 [ 0.000000] PID hash table entries: 256 (order: -2, 1024 bytes) [ 0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Memory: 51108K/65536K available (6144K kernel code, 324K rwdata, 1332K rodata, 1024K init, 167K bss, 14428K reserved, 0K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xc4800000 - 0xff800000 ( 944 MB) [ 0.000000] lowmem : 0xc0000000 - 0xc4000000 ( 64 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB) [ 0.000000] .init : 0xc0900000 - 0xc0a00000 (1024 kB) [ 0.000000] .data : 0xc0a00000 - 0xc0a513a8 ( 325 kB) [ 0.000000] .bss : 0xc0a513a8 - 0xc0a7b2c8 ( 168 kB) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] Preemptible hierarchical RCU implementation. [ 0.000000] Build-time adjustment of leaf fanout to 32. [ 0.000000] NR_IRQS:16 nr_irqs:16 16 [ 0.000000] sunxi_parse_sdm_info failed: -1 [ 0.000000] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000000] arm_arch_timer: Architected cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000007] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000022] Switching to timer-based delay loop, resolution 41ns [ 0.000200] Console: colour dummy device 80x30 [ 0.000231] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000246] pid_max: default: 32768 minimum: 301 [ 0.000444] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000457] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001043] CPU: Testing write buffer coherency: ok [ 0.001677] Setting up static identity map for 0x40100000 - 0x40100058 [ 0.003436] devtmpfs: initialized [ 0.037921] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.038507] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.038535] futex hash table entries: 256 (order: -1, 3072 bytes) [ 0.038681] atomic64_test: passed [ 0.038695] pinctrl core: initialized pinctrl subsystem [ 0.039904] NET: Registered protocol family 16 [ 0.040727] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.042088] dump_class_init,857, success [ 0.069532] cpuidle: using governor menu [ 0.070916] platform 2010000.iommu: iova_base: 0x48400000 [ 0.071508] sunxi iommu: irq = 22 [ 0.092659] sun8iw21p1-pinctrl pio: initialized sunXi PIO driver [ 0.095761] iommu: Adding device npu to group 0 [ 0.097919] iommu: Adding device 1c0e000.ve to group 0 [ 0.111037] iommu: Adding device 5410000.g2d to group 0 [ 0.111924] iommu: Adding device 5000000.disp to group 0 [ 0.124241] iommu: Adding device 5908000.tdm to group 0 [ 0.125237] iommu: Adding device 5900000.isp to group 0 [ 0.126199] iommu: Adding device 58ffffc.isp to group 0 [ 0.126956] iommu: Adding device 58ffff8.isp to group 0 [ 0.127884] iommu: Adding device 58ffff4.isp to group 0 [ 0.128539] iommu: Adding device 5800800.vind:isp@4 to group 0 [ 0.129422] iommu: Adding device 5910000.scaler to group 0 [ 0.130404] iommu: Adding device 590fffc.scaler to group 0 [ 0.131033] iommu: Adding device 590fff8.scaler to group 0 [ 0.131513] iommu: Adding device 590fff4.scaler to group 0 [ 0.132430] iommu: Adding device 5910400.scaler to group 0 [ 0.133122] iommu: Adding device 59103fc.scaler to group 0 [ 0.133883] iommu: Adding device 59103f8.scaler to group 0 [ 0.134364] iommu: Adding device 59103f4.scaler to group 0 [ 0.135225] iommu: Adding device 5910800.scaler to group 0 [ 0.135736] iommu: Adding device 59107fc.scaler to group 0 [ 0.136180] iommu: Adding device 59107f8.scaler to group 0 [ 0.136894] iommu: Adding device 59107f4.scaler to group 0 [ 0.137636] iommu: Adding device 5910c00.scaler to group 0 [ 0.138409] iommu: Adding device 5910bfc.scaler to group 0 [ 0.139095] iommu: Adding device 5910bf8.scaler to group 0 [ 0.139553] iommu: Adding device 5910bf4.scaler to group 0 [ 0.141088] iommu: Adding device vinc0 to group 0 [ 0.141851] iommu: Adding device vinc4 to group 0 [ 0.142918] iommu: Adding device vinc8 to group 0 [ 0.143890] iommu: Adding device vinc12 to group 0 [ 0.192520] pwm module init! [ 0.197197] sunxi-pm debug v3.10 [ 0.198276] SCSI subsystem initialized [ 0.198682] usbcore: registered new interface driver usbfs [ 0.198776] usbcore: registered new interface driver hub [ 0.203077] usbcore: registered new device driver usb [ 0.203462] sunxi_i2c_adap_init()2748 - init [ 0.204001] sunxi_i2c_probe()2443 - [i2c1] twi_drv_used = 0 [ 0.204019] sunxi_i2c_probe()2450 - [i2c1] twi_pkt_interval = 0 [ 0.204092] twi_regulator_request()647 - [i2c1] regulator not found(isn't configured in dts)! [ 0.204103] twi_request_gpio()463 - [i2c1] init name: (null) [ 0.205174] media: Linux media interface: v0.10 [ 0.205392] Linux video capture interface: v2.00 [ 0.208374] ion_parse_dt_heap_common: id 0 type 0 name sys_user align 1000 [ 0.208833] ion_parse_dt_heap_common: id 4 type 4 name cma align 1000 [ 0.209821] Advanced Linux Sound Architecture Driver Initialized. [ 0.211195] Bluetooth: Core ver 2.22 [ 0.211389] NET: Registered protocol family 31 [ 0.211399] Bluetooth: HCI device and connection manager initialized [ 0.211427] Bluetooth: HCI socket layer initialized [ 0.211440] Bluetooth: L2CAP socket layer initialized [ 0.211506] Bluetooth: SCO socket layer initialized [ 0.215486] G2D: rcq version initialized.major:251 [ 0.216605] clocksource: Switched to clocksource arch_sys_counter [ 0.249951] get androidboot.mode fail [ 0.252716] NET: Registered protocol family 2 [ 0.267000] TCP established hash table entries: 16 (order: -6, 64 bytes) [ 0.267024] TCP bind hash table entries: 16 (order: -6, 64 bytes) [ 0.267034] TCP: Hash tables configured (established 16 bind 16) [ 0.267111] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.267135] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.267376] NET: Registered protocol family 1 [ 0.267721] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC0 [ 0.267741] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC1 [ 0.267756] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC2 [ 0.267770] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC3 [ 0.267785] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC4 [ 0.267799] sun8iw21p1-pinctrl pio: can not get func[mux=7] on pin PC5 [ 0.268076] sunxi_spi_probe()2250 - [spi0] SPI DBI INTERFACE [ 0.268089] sunxi_spi_probe()2259 - [spi0] SPI MASTER MODE [ 0.268169] sunxi_spi_resource_get()1917 - sample_mode:1 sample_delay:16 [ 0.268194] spi0 supply spi not found, using dummy regulator [ 0.268291] sunxi_spi_request_gpio()1883 - [spi0] Pinctrl init spi0 [ 0.268383] sunxi_spi_clk_init()1954 - [spi0] mclk 100000000 [ 0.269608] sunxi_spi_probe()2339 - [spi0]: driver probe succeed, base c4868000, irq 294 [ 0.274216] sunxi_sid_driver_init+0x0/0x10 complete comp. [ 0.275579] workingset: timestamp_bits=29 max_order=14 bucket_order=0 [ 0.291374] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.293419] io scheduler noop registered [ 0.293438] io scheduler deadline registered [ 0.293719] io scheduler cfq registered (default) [ 0.294997] [DISP]disp_module_init [ 0.296553] [DISP] parser_disp_init_para,line:1306: [ 0.296569] of_property_read disp_init.disp_init_enable fail [ 0.297542] lcd 0, driver_name , panel_name default_lcd [ 0.297563] lcd 0, driver_name , panel_name he0801a068 [ 0.297571] lcd 0, driver_name , panel_name inet_dsi_panel [ 0.297579] lcd 0, driver_name , panel_name lq101r1sx03 [ 0.297587] lcd 0, driver_name , panel_name WilliamLcd [ 0.297594] lcd 0, driver_name , panel_name bp101wx1 [ 0.297601] lcd 0, driver_name , panel_name k101im2qa04 [ 0.297609] lcd 0, driver_name , panel_name t050k589 [ 0.297616] lcd 0, driver_name , panel_name kd080d24 [ 0.297624] lcd 0, driver_name , panel_name super_lcd_driver [ 0.299062] [DISP]disp_module_init finish [ 0.302760] uart0 supply uart not found, using dummy regulator [ 0.303046] uart0: ttyS0 at MMIO 0x2500000 (irq = 289, base_baud = 1500000) is a SUNXI [ 0.303081] sw_console_setup()2050 - console setup baud 115200 parity n bits 8, flow n [ 1.405229] console [ttyS0] enabled [ 1.410183] misc dump reg init [ 1.414351] npu[1][1] vipcore, platform driver device=0xc396de10 [ 1.421467] npu[1][1] vipcore irq number is 290. [ 1.426723] gckvip_drv_adjust_param 232 SUCCESS [ 1.431847] the freq of pll_npux4 clk is fixed [ 1.436949] Want set pclk rate(348000000) support(1392000000) real(1392000000) [ 1.445055] Want set mclk rate(348000000) support(348000000) real(348000000) [ 1.453044] npu[1][1] This device support 64bits DMA [ 1.459191] npu[1][1] core_0, request irqline=290, name=vipcore_0 [ 1.466113] npu[1][1] =======vipcore parameter===== [ 1.471830] npu[1][1] registerMemBase 0x03050000, [ 1.477652] npu[1][1] registerMemSize 0x00020000, [ 1.483410] npu[1][1] irqLine 0x00000122, [ 1.489202] npu[1][1] contiguousSize 0x00100000 [ 1.494762] npu[1][1] contiguousBase 0x30000000 [ 1.500401] npu[1][1] vipContiguousBase 0x0 [ 1.505283] npu[1][1] drvType 0x00000000 [ 1.510880] npu[1][1] AXISramSize 0x00000000 [ 1.516441] npu[1][1] AXISramBaseAddress 0x00000000 [ 1.522028] npu[1][1] VIPSramSize 0x00020000 [ 1.527601] npu[1][1] VIPSramBaseAddress 0x00400000 [ 1.533161] npu[1][1] sysHeapSize 0x00200000 [ 1.538729] npu[1][1] =============================== [ 1.544472] npu[1][1] VIPLite driver version 1.8.1.0-AW-2022-07-26 [ 1.552669] sunxi-wlan soc@03000000:wlan@0: wlan_busnum (1) [ 1.559212] sunxi-wlan soc@03000000:wlan@0: wlan_power_num (-1) [ 1.565854] sunxi-wlan soc@03000000:wlan@0: Missing wlan_io_regulator. [ 1.573244] sunxi-wlan soc@03000000:wlan@0: io_regulator_name ((null)) [ 1.580610] sunxi-wlan soc@03000000:wlan@0: request pincrtl handle for device [soc@03000000:wlan@0] failed [ 1.591578] sunxi-wlan soc@03000000:wlan@0: wlan_regon gpio=134 mul-sel=1 pull=1 drv_level=2 data=0 [ 1.602191] sunxi-wlan soc@03000000:wlan@0: get gpio chip_en failed [ 1.609279] sunxi-wlan soc@03000000:wlan@0: wlan_hostwake gpio=135 mul-sel=14 pull=1 drv_level=2 data=0 [ 1.620337] sunxi-wlan soc@03000000:wlan@0: clk_name () [ 1.628450] sunxi-spinand: AW SPINand MTD Layer Version: 2.4 20220106 [ 1.635683] sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.11 20211125 [ 1.644105] sunxi-spinand-phy: detect munufacture from id table: Winbond [ 1.651691] sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff [ 1.658751] sunxi-spinand-phy: ========== arch info ========== [ 1.665283] sunxi-spinand-phy: Model: W25N01GVZEIG [ 1.672135] sunxi-spinand-phy: Munufacture: Winbond [ 1.678417] sunxi-spinand-phy: DieCntPerChip: 1 [ 1.684073] sunxi-spinand-phy: BlkCntPerDie: 1024 [ 1.690055] sunxi-spinand-phy: PageCntPerBlk: 64 [ 1.695806] sunxi-spinand-phy: SectCntPerPage: 4 [ 1.701475] sunxi-spinand-phy: OobSizePerPage: 64 [ 1.707238] sunxi-spinand-phy: BadBlockFlag: 0x0 [ 1.713087] sunxi-spinand-phy: OperationOpt: 0x7 [ 1.718946] sunxi-spinand-phy: MaxEraseTimes: 65000 [ 1.724989] sunxi-spinand-phy: EccFlag: 0x0 [ 1.730849] sunxi-spinand-phy: EccType: 2 [ 1.736504] sunxi-spinand-phy: EccProtectedType: 3 [ 1.742169] sunxi-spinand-phy: ======================================== [ 1.749586] sunxi-spinand-phy: [ 1.753102] sunxi-spinand-phy: ========== physical info ========== [ 1.760036] sunxi-spinand-phy: TotalSize: 128 M [ 1.765398] sunxi-spinand-phy: SectorSize: 512 B [ 1.770771] sunxi-spinand-phy: PageSize: 2 K [ 1.775937] sunxi-spinand-phy: BlockSize: 128 K [ 1.781308] sunxi-spinand-phy: OOBSize: 64 B [ 1.786573] sunxi-spinand-phy: ======================================== [ 1.793989] sunxi-spinand-phy: [ 1.797511] sunxi-spinand-phy: ========== logical info ========== [ 1.804334] sunxi-spinand-phy: TotalSize: 128 M [ 1.809707] sunxi-spinand-phy: SectorSize: 512 B [ 1.815069] sunxi-spinand-phy: PageSize: 4 K [ 1.820247] sunxi-spinand-phy: BlockSize: 256 K [ 1.825608] sunxi-spinand-phy: OOBSize: 128 B [ 1.830982] sunxi-spinand-phy: ======================================== [ 1.838497] sunxi-spinand-phy: block lock register: 0x00 [ 1.844538] sunxi-spinand-phy: feature register: 0x19 [ 1.850219] sunxi-spinand-phy: sunxi physic nand init end [ 1.856812] Creating 4 MTD partitions on "sunxi_mtd_nand": [ 1.862972] 0x000000000000-0x000000100000 : "boot0" [ 1.871353] 0x000000100000-0x000000400000 : "uboot" [ 1.881331] 0x000000400000-0x000000500000 : "secure_storage" [ 1.891000] 0x000000500000-0x000008000000 : "sys" [ 1.898067] random: fast init done [ 1.999764] sunxi-spinand-phy: phy blk 684 is bad [ 2.005355] sunxi-spinand-phy: phy blk 687 is bad [ 2.022443] sunxi-spinand-phy: phy blk 764 is bad [ 2.028042] sunxi-spinand-phy: phy blk 767 is bad [ 2.052627] sunxi-spinand-phy: phy blk 893 is bad [ 2.058377] sunxi-spinand-phy: phy blk 896 is bad [ 2.085808] libphy: Fixed MDIO Bus: probed [ 2.091341] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD1 [ 2.098773] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD2 [ 2.106094] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD3 [ 2.113459] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD4 [ 2.120912] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD5 [ 2.128278] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD6 [ 2.135595] sun8iw21p1-pinctrl pio: can not get func[mux=4] on pin PD7 [ 2.142951] sun8iw21p1-pinctrl pio: expect_func as:rmii, but muxsel(4) is func:ephy_25m [ 2.151941] sun8iw21p1-pinctrl pio: expect_func as:rmii, but muxsel(4) is func:mdc [ 2.160443] sun8iw21p1-pinctrl pio: expect_func as:rmii, but muxsel(4) is func:mdio [ 2.169396] sunxi gmac driver's version: 1.0.0 [ 2.174653] gmac-power0: NULL [ 2.178031] gmac-power1: NULL [ 2.181351] gmac-power2: NULL [ 2.186388] Failed to alloc md5 [ 2.190023] eth0: Use random mac address [ 2.194832] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.202785] get ehci0-controller, regulator_io is no nocare [ 2.209217] get ehci0-controller wakeup-source is fail. [ 2.215265] sunxi ehci0-controller don't init wakeup source [ 2.221617] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0a70800, 0x:c4875000, irq_no:130 [ 2.233745] [sunxi-ehci0]: Not init ehci0 [ 2.238746] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.246137] get ohci0-controller, regulator_io is no nocare [ 2.252607] get ohci0-controller wakeup-source is fail. [ 2.258722] sunxi ohci0-controller don't init wakeup source [ 2.265064] [sunxi-ohci0]: probe, pdev->name: 4101000.ohci0-controller, sunxi_ohci: 0xc0a70a24 [ 2.274792] [sunxi-ohci0]: Not init ohci0 [ 2.280027] usbcore: registered new interface driver uas [ 2.286420] usbcore: registered new interface driver usb-storage [ 2.293448] usbcore: registered new interface driver ums-alauda [ 2.300436] usbcore: registered new interface driver ums-cypress [ 2.307590] usbcore: registered new interface driver ums-datafab [ 2.314622] usbcore: registered new interface driver ums_eneub6250 [ 2.321856] usbcore: registered new interface driver ums-freecom [ 2.328957] usbcore: registered new interface driver ums-isd200 [ 2.335890] usbcore: registered new interface driver ums-jumpshot [ 2.343070] usbcore: registered new interface driver ums-karma [ 2.350032] usbcore: registered new interface driver ums-onetouch [ 2.357231] usbcore: registered new interface driver ums-realtek [ 2.364266] usbcore: registered new interface driver ums-sddr09 [ 2.371181] usbcore: registered new interface driver ums-sddr55 [ 2.378189] usbcore: registered new interface driver ums-usbat [ 2.384845] usb_serial_number:20080411 [ 2.390235] sunxi_gpadc_init,1949, success [ 2.395291] sunxi_gpadc_setup: get channel scan data failed [ 2.403185] input: sunxi-gpadc0 as /devices/virtual/input/input0 [ 2.412596] sunxi-rtc rtc: rtc core: registered sunxi-rtc as rtc0 [ 2.419916] sunxi-rtc rtc: RTC enabled [ 2.424202] fix to hot reboot, save boot reason [ 2.429878] i2c /dev entries driver [ 2.434605] sunxi cedar version 0.1 [ 2.439062] VE: install start!!! [ 2.439062] [ 2.444512] VE: cedar-ve the get irq is 291 [ 2.449448] VE: regs_csi = c48c1000 [ 2.454087] VE: ve_proc_mgr: flag = 1 [ 2.454087] [ 2.460149] VE: install end!!! [ 2.460149] [ 2.465741] google_vp9: sunxi google vp9 version 0.1 [ 2.474995] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 2.484830] Bluetooth: HCI UART driver ver 2.2.d448471.20181218-163903 [ 2.492462] Bluetooth: HCI UART protocol H4 registered [ 2.498366] Bluetooth: HCI H4 protocol initialized [ 2.503992] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 01.00.07 [ 2.511915] bt_fdi debugfs_init [ 2.520283] cpuidle: enable-method property 'psci' found operations [ 2.530328] sunxi-mmc sdc0: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40) [ 2.539833] sunxi-mmc sdc0: ***ctl-spec-caps*** 8 [ 2.545173] sunxi-mmc sdc0: No vmmc regulator found [ 2.550781] sunxi-mmc sdc0: No vqmmc regulator found [ 2.556353] sunxi-mmc sdc0: No vdmmc regulator found [ 2.561970] sunxi-mmc sdc0: No vd33sw regulator found [ 2.567728] sunxi-mmc sdc0: No vd18sw regulator found [ 2.573404] sunxi-mmc sdc0: No vq33sw regulator found [ 2.579109] sunxi-mmc sdc0: No vq18sw regulator found [ 2.585326] sunxi-mmc sdc0: set host busy [ 2.590022] sunxi-mmc sdc0: Got CD GPIO [ 2.594889] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.605384] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.636643] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.676874] sunxi-mmc sdc0: detmode:gpio irq [ 2.676912] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.683882] sunxi-mmc sdc0: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.695746] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !! [ 2.706716] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.712668] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.718671] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.724659] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.724687] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.725783] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.725866] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.748269] sunxi-mmc sdc0: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.776507] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 2.785955] sunxi-mmc sdc0: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.798882] sunxi-mmc sdc0: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.810743] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !! [ 2.816650] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.822631] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.828623] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.834601] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.834626] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.835715] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.835797] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.862370] sunxi-mmc sdc0: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.880028] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 2.889443] sunxi-mmc sdc0: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.902363] sunxi-mmc sdc0: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.914219] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !! [ 2.920123] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.926100] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.932088] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.938077] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 2.938123] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 2.939209] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.939307] sunxi-mmc sdc0: no vqmmc,Check if there is regulator [ 2.972556] sunxi-mmc sdc0: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 2.983476] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 2.992922] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 3.002317] sunxi-mmc sdc0: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.015249] sunxi-mmc sdc0: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.027141] sunxi-mmc sdc0: smc 0 p0 err, cmd 8, RTO !! [ 3.033031] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 3.039025] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 3.045042] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 3.051043] sunxi-mmc sdc0: smc 0 p0 err, cmd 55, RTO !! [ 3.051074] sunxi-mmc sdc0: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.068455] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 3.077844] sun8iw21p1-pinctrl pio: expect_func as:io_disabled, but muxsel(7) is func:uart3 [ 3.087563] sunxi-mmc sdc1: SD/MMC/SDIO Host Controller Driver(v3.59 2022-4-21 13:40) [ 3.096544] sunxi-mmc sdc1: ***ctl-spec-caps*** 8 [ 3.101922] sunxi-mmc sdc1: No vmmc regulator found [ 3.107419] sunxi-mmc sdc1: No vqmmc regulator found [ 3.112989] sunxi-mmc sdc1: No vdmmc regulator found [ 3.118572] sunxi-mmc sdc1: No vd33sw regulator found [ 3.124238] sunxi-mmc sdc1: No vd18sw regulator found [ 3.129918] sunxi-mmc sdc1: No vq33sw regulator found [ 3.135581] sunxi-mmc sdc1: No vq18sw regulator found [ 3.141856] sunxi-mmc sdc1: set host busy [ 3.146439] mmc:failed to get gpios [ 3.150828] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.161314] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 3.196652] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.236692] sunxi-mmc sdc1: detmode:manually by software [ 3.242694] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.248713] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.248749] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.256836] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.268667] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.279438] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.285327] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.291218] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.291268] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.292353] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.292428] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 3.324729] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.344100] usbcore: registered new interface driver usbhid [ 3.350783] usbhid: USB HID core driver [ 3.355104] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.361151] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.361201] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.369396] sunxi-mmc sdc1: sdc set ios:clk 300000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.381261] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.392156] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.398146] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.404051] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.404078] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.405172] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.405255] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 3.427300] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.458331] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.465952] [sound 1158][DAUDIO snd_sunxi_regulator_init] regulator missing or invalid [ 3.465973] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.480939] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.494854] sunxi-mmc sdc1: sdc set ios:clk 200000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.507137] sunxi-snd-mach soc@03000000:codec_mach: sunxi-snd-codec <-> soc@03000000:codec_plat mapping ok [ 3.510517] sunxi-snd-mach soc@03000000:daudio0_mach: snd-soc-dummy-dai <-> 2032000.daudio0_plat mapping ok [ 3.514397] NET: Registered protocol family 10 [ 3.516937] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 3.518375] NET: Registered protocol family 17 [ 3.518431] NET: Registered protocol family 15 [ 3.529694] Bluetooth: RFCOMM TTY layer initialized [ 3.529718] Bluetooth: RFCOMM socket layer initialized [ 3.529747] Bluetooth: RFCOMM ver 1.11 [ 3.531299] Registering SWP/SWPB emulation handler [ 3.596196] ubi0: attaching mtd3 [ 3.599894] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.605910] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.612051] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.618006] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.618050] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.619157] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.619268] sunxi-mmc sdc1: no vqmmc,Check if there is regulator [ 3.652646] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.679889] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.689123] sunxi-mmc sdc1: smc 1 p1 err, cmd 52, RTO !! [ 3.695108] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.710580] sunxi-mmc sdc1: sdc set ios:clk 100000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 3.726549] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.735790] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.744980] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.754130] sunxi-mmc sdc1: smc 1 p1 err, cmd 5, RTO !! [ 3.760051] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 3.822024] random: crng init done [ 3.960652] ubi0: scanning is finished [ 3.975866] ubi0: attached mtd3 (name "sys", size 123 MiB) [ 3.982147] ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes [ 3.989990] ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048 [ 3.997756] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 4.005569] ubi0: good PEBs: 486, bad PEBs: 6, corrupted PEBs: 0 [ 4.012352] ubi0: user volume: 7, internal volumes: 1, max. volumes count: 128 [ 4.020492] ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 [ 4.029878] ubi0: available PEBs: 10, total reserved PEBs: 476, PEBs reserved for bad PEB handling: 4 [ 4.040292] ubi0: background thread "ubi_bgt0d" started, PID 705 [ 4.047648] get det_vbus is fail, 84 [ 4.047654] get id is fail, 84 [ 4.048966] sunxi-rtc rtc: setting system clock to 1970-01-01 01:27:28 UTC (5248) [ 4.049915] clk: Not disabling unused clocks [ 4.049926] ALSA device list: [ 4.049932] #0: audiocodec [ 4.049935] #1: snddaudio0 [ 4.081138] VFS: Cannot open root device "ubi0_4" or unknown-block(0,0): error -2 [ 4.089729] Please append a correct "root=" boot option; here are the available partitions: [ 4.099164] 1f00 1024 mtdblock0 (driver?) [ 4.104846] 1f01 3072 mtdblock1 (driver?) [ 4.110564] 1f02 1024 mtdblock2 (driver?) [ 4.116239] 1f03 125952 mtdblock3 (driver?) [ 4.121932] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 4.131195] CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.191 #57 [ 4.137822] Hardware name: sun8iw21 [ 4.141760] [<c010d3cc>] (unwind_backtrace) from [<c010a51c>] (show_stack+0x10/0x14) [ 4.150444] [<c010a51c>] (show_stack) from [<c016ff58>] (panic+0xac/0x2b0) [ 4.158151] [<c016ff58>] (panic) from [<c0901270>] (mount_block_root+0x208/0x2f4) [ 4.166539] [<c0901270>] (mount_block_root) from [<c0901450>] (prepare_namespace+0x84/0x178) [ 4.176002] [<c0901450>] (prepare_namespace) from [<c0900e80>] (kernel_init_freeable+0x11c/0x178) [ 4.185949] [<c0900e80>] (kernel_init_freeable) from [<c0610a88>] (kernel_init+0x8/0x108) [ 4.195119] [<c0610a88>] (kernel_init) from [<c0106ca8>] (ret_from_fork+0x14/0x2c) [ 4.203608] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 4.213739] sunxi dump enabled [ 4.217154] dump regs done [ 4.220215] flush cache done [ 4.223455] crashdump enter
-
全志T113 接LVDS 屏幕
用了MQ-r的板子,接上LVDS屏幕
把LCD的引脚引出来,淘宝买了一个40Pin排线,把2.54mm针的距离引出来
然后查看原理图,查看board.dts,查看引脚,接上
由于LVDS屏幕需要一个正负电压,查看规格书,
VGH 18V,VGL -10V,手头没有,于是淘宝找了一个LVDS电压转接板,把负电压,正电压,升压得到合适的电压,下面是升级板
接上屏幕,另外一边接转接板。修改dts文件如下
&lcd0 {
lcd_used = <1>;lcd_driver_name = "default_lcd"; lcd_if = <3>; lcd_x = <1024>; lcd_y = <600>; lcd_width = <150>; lcd_height = <94>; lcd_dclk_freq = <51>; lcd_pwm_used = <0>; lcd_hbp = <80>; lcd_ht = <1344>; lcd_hspw = <20>; lcd_vbp = <10>; lcd_vt = <635>; lcd_vspw = <10>; lcd_lvds_if = <0>; lcd_lvds_colordepth = <1>; lcd_lvds_mode = <1>; lcd_frm = <1>; lcd_hv_clk_phase = <0>; lcd_hv_sync_polarity= <0>; lcd_gamma_en = <0>; lcd_bright_curve_en = <0>; lcd_cmap_en = <0>; pinctrl-0 = <&lvds0_pins_a>; pinctrl-1 = <&lvds0_pins_b>;
};
最后上电,成功点亮
完成,走了很多弯路,因为对LVDS不了解,淘宝买东西耽搁几天时间。大家可以对照着来,如果用到LVDS的话。 -
回复: 小麻雀直接驱动树莓派的DSI屏
@yuzukitsuru 大神,我找到问题了,我把这个屏幕的给LED背光的升级芯片,使能脚强制上拉,就能够打开背光,正常显示界面。 有个问题,它这个背光由屏幕的单片机控制,D1S这边,没有通信,是控制不了的,那它什么时候会打开。
-
回复: 小麻雀直接驱动树莓派的DSI屏
@yuzukitsuru 我把dsi屏幕拆开,里面是RGB 40pin排线,直接插入到板子上40PIN驱动,修改成RGB并口驱动,发现能够正常显示,说明屏幕没有问题。
-
回复: 小麻雀直接驱动树莓派的DSI屏
@yuzukitsuru 大神,我用示波器测试了,当d1s和dsi屏接到一起后,屏幕上DE VS HS CLK ,引脚都有数据,当把D1S和dsi屏断开,上面4个引脚,除了了CLK,其它都没有数据。 但是LCD就是背光不亮。我测试了 屏幕的LEDK 电压为0V,LEDA为3.26V,按理说,LCD背光,应该会亮。
-
回复: 小麻雀直接驱动树莓派的DSI屏
@yuzukitsuru 大神,不行,试过了,已经关掉uboot 的显示图标。我注意到屏幕的背光没有亮,开机闪了一下背光,就马上被关掉了。
-
回复: 小麻雀直接驱动树莓派的DSI屏
@efancier 禁用了,设备树没有地方调用 rgb接口,会不会是我这个屏幕和你的不一样才这样?这个树莓派屏,应该是怎样的? https://item.taobao.com/item.htm?spm=a1z09.2.0.0.70d42e8d5jeM5D&id=672625989794&_u=e2rvvtbac384
-
回复: 小麻雀直接驱动树莓派的DSI屏
@mangogeek 我就是这样改了设备树,不行,还是驱动不了这个树莓屏。大神是不是还要修改哪里? 驱动已经打开了tft08006了
-
回复: T113 MQ-R tplayerdemo播放视频问题
@mhcsoft 我就是网上下载 了一个1080p的,电影,然后就播放了几分钟就不行了。
你注意看,你前面发Log报错在这里
ERROR : awplayer <__LayerQueueBuffer:962>: *** picNode is full when queue buffer
WARNING: audioRender checkSampleRate:647: sample rate change from 44100 to 44100.
WARNING: audioRender checkSampleRate:649: channel num change from 2 to 2.
WARNING: audioRender checkSampleRate:651: bitPerSample num change from 16 to 16.
WARNING: audioRender checkSampleRate:653: if need direct out put flag change from 0 to 1.
WARNING: audioRender checkSampleRate:655: data type change from 1 to 1.
WARNING: audioRender checkSampleRate:674: start sound devide again because samplaRate or channelNum change
ERROR : fbm.c FbmReturnPicture:1043: invalid frame status, a picture being returned, but bUsedByRender=0, bInValidPictureQueue=1, bAlreadyDisplayed=0.
ERROR : fbm.c FbmReturnPicture:1044: **picture[0x1a78a70],id[5] -
回复: T113 MQ-R tplayerdemo播放视频问题
@mhcsoft
你的能够正常播放视频?我的播放,就提示错误,挂掉了start play xplayer:process message XPLAYER_COMMAND_START. (Allwinner Audio Middle Layer),line(958) : Create Decoder!!===== (Allwinner Audio Middle Layer),line(592) : AudioDec_Installaudiolib ok (Allwinner Audio Middle Layer),line(595) : audio decoder init start ... (AllwinnerAlibs),line(50) : >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< tag : audiocodec-v1.2 branch: new commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85 date : Tue Jan 8 16:25:27 2019 +0800 ---------------------------------------------------------------------- (AllwinnerAlibs),line(679) : ----Loading so success! (AllwinnerAlibs),line(877) : *************pAudioStreamInfo start****************** (AllwinnerAlibs),line(878) : eCodecFormat :id(4), name(aac low-complexy) (AllwinnerAlibs),line(879) : eSubCodecFormat :0 (AllwinnerAlibs),line(880) : nChannelNum :2 (AllwinnerAlibs),line(881) : nBitsPerSample :16 (AllwinnerAlibs),line(882) : nSampleRate :48000 (AllwinnerAlibs),line(883) : nAvgBitrate :512000 (AllwinnerAlibs),line(884) : nMaxBitRate :512000 (AllwinnerAlibs),line(885) : nFileSize :0 (AllwinnerAlibs),line(886) : eAudioBitstreamSource:0 (AllwinnerAlibs),line(887) : eDataEncodeType :0 (AllwinnerAlibs),line(888) : nCodecSpecificDataLen:2 (AllwinnerAlibs),line(889) : pCodecSpecificData :0x10c1500 (AllwinnerAlibs),line(890) : nFlags :0 (AllwinnerAlibs),line(891) : nBlockAlign :0 (AllwinnerAlibs),line(892) : *************pAudioStreamInfo end ****************** (AAC Decoder),line(36) : init successs... (Allwinner Audio Middle Layer),line(603) : AUDIO DECODE INIT OK...0 started. ERROR : awplayer <__LayerQueueBuffer:962>: *** picNode is full when queue buffer ERROR : awplayer <__LayerQueueBuffer:962>: *** picNode is full when queue buffer *****tplayer:video decoded width = 1280,height = 720 *****tplayerdemo:video decoded width = 1280,height = 720real set to display rect:w = 1280,h = 720 warning: unknown callback from Tinaplayer. *****tplayer:video width = 1280,height = 720 warning: unknown callback from Tinaplayer. ****player(0xb6ea1880): first video pts = 0***** ERROR : awplayer <__LayerQueueBuffer:962>: *** picNode is full when queue buffer ERROR : fbm.c <FbmReturnPicture:1043>: invalid frame status, a picture being returned, but bUsedByRender=0, bInValidPictureQueue=1, bAlreadyDisplayed=0. ERROR : fbm.c <FbmReturnPicture:1044>: **picture[0x1133a78],id[6] WARNING: cedarc <ReturnPicture:1698>: FbmReturnPicture return fail, it means the picture being returned it not one of this FBM.
-
回复: 麻雀D1s ,编译了新的Tina_d1_open_v2,选择了D1S,用TF卡烧录,启动时候卡住了,挂载不了文件系统,各位大神帮忙看下
@yuzukitsuru 试试,我已经解决了,在board.dts中,有个引脚占用了,我修改了下,就行了。
-
回复: 麻雀D1s ,编译了新的Tina_d1_open_v2,选择了D1S,用TF卡烧录,启动时候卡住了,挂载不了文件系统,各位大神帮忙看下
@yuzukitsuru 不行,修改了env.cfg ,和设备树,直接uboot宕机
[171]HELLO! BOOT0 is starting!
[174]BOOT0 commit : 88480af
[177]set pll start
[179]fix vccio detect value:0xc0
[182]periph0 has been enabled
[185]set pll end
[186][pmu]: bus read error
[189]board init ok
[191]ZQ value = 0x30
[193]get_pmu_exist() = -1
[195]ddr_efuse_type: 0xa
[198]trefi:7.8ms
[200][AUTO DEBUG] single rank and full DQ!
[204]ddr_efuse_type: 0xa
[206]trefi:7.8ms
[208][AUTO DEBUG] rank 0 row = 13
[211][AUTO DEBUG] rank 0 bank = 4
[215][AUTO DEBUG] rank 0 page size = 2 KB
[218]DRAM BOOT DRIVE INFO: V0.33
[221]DRAM CLK = 528 MHz
[224]DRAM Type = 2 (2:DDR2,3:DDR3)
[227]DRAMC read ODT off.
[229]DRAM ODT off.
[231]ddr_efuse_type: 0xa
[234]DRAM SIZE =64 M
[236]dram_tpr4:0x0
[238]PLL_DDR_CTRL_REG:0xf8002b00
[241]DRAM_CLK_REG:0xc0000000
[243][TIMING DEBUG] MR2= 0x0
[248]DRAM simple test OK.
[250]dram size =64
[252]card no is 0
[254]sdcard 0 line count 4
[256][mmc]: mmc driver ver 2021-04-2 16:45
[266][mmc]: Wrong media type 0x0
[268][mmc]: Try SD card 0
[279][mmc]: HSSDR52/SDR25 4 bit
[281][mmc]: 50000000 Hz
[284][mmc]: 7681 MB
[285][mmc]: SD/MMC 0 init OK!!!
[337]Loading boot-pkg Succeed(index=0).
[341]Entry_name = opensbi
[344]Entry_name = u-boot
[348]Entry_name = dtb
[350]mmc not paraU-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology
[00.361]DRAM: 64 MiB
[00.364]Relocation Offset is: 01ee7000
[00.368]secure enable bit: 0
[00.371]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.377]flash init start
[00.380]workmode = 0,storage type = 1
[00.383][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
[00.389][mmc]: get sdc_type fail and use default host:tm1.
[00.395][mmc]: can't find node "mmc0",will add new node
[00.400][mmc]: fdt err returned <no error>
[00.404][mmc]: Using default timing para
[00.408][mmc]: SUNXI SDMMC Controller Version:0x50310
[00.426][mmc]: card_caps:0x3000000a
[00.429][mmc]: host_caps:0x3000003f
[00.433]sunxi flash init ok
[00.436]line:703 init_clocks
[00.439]drv_disp_init
request pwm success, pwm7:pwm7:0x2000c00.
[00.460]drv_disp_init finish
[00.463]boot_gui_init:start
[00.466]set disp.dev2_output_type fail. using defval=0
[00.473]boot_gui_init:finish
partno erro : can't find partition bootloader
54 bytes read in 2 ms (26.4 KiB/s)
[00.511]bmp_name=bootlogo.bmp size 38454
38454 bytes read in 5 ms (7.3 MiB/s)
[00.552]Loading Environment from SUNXI_FLASH... OK
[00.576]out of usb burn from boot: not need burn key
[00.611]Item0 (Map) magic is bad
[00.614]the secure storage item0 copy0 magic is bad
[00.649]Item0 (Map) magic is bad
[00.[00.654]LCD open finish
652]the secure storage item0 copy1 magic is bad
[00.660]Item0 (Map) magic is bad
partno erro : can't find partition private
root_partition is rootfs
set root to /dev/mmcblk0p5
[00.676]update part info
[00.681]update bootcmd
[00.686]change working_fdt 0x42aa6da0 to 0x42a86da0
disable nand error: FDT_ERR_BADPATH
No reserved memory region found in source FDT
[00.723]update dts
noncached_alloc(): addr = 0x42b12b80
noncached_alloc(): addr = 0x42b12bc0
noncached_alloc(): addr = 0x42c8a040
noncached_alloc(): addr = 0x42c8a880 -
回复: 麻雀D1s ,编译了新的Tina_d1_open_v2,选择了D1S,用TF卡烧录,启动时候卡住了,挂载不了文件系统,各位大神帮忙看下
@yuzukitsuru 这里我已经 改成 storage_type = 1 ,一样的启动,就算改成5,用spinand,一样的卡死在这里,不知道为什么 。
-
麻雀D1s ,编译了新的Tina_d1_open_v2,选择了D1S,用TF卡烧录,启动时候卡住了,挂载不了文件系统,各位大神帮忙看下
[170]HELLO! BOOT0 is starting! [173]BOOT0 commit : 88480af [175]set pll start [177]fix vccio detect value:0xc0 [180]periph0 has been enabled [183]set pll end [185][pmu]: bus read error [188]board init ok [189]ZQ value = 0x30 [191]get_pmu_exist() = -1 [194]ddr_efuse_type: 0xa [196]trefi:7.8ms [198][AUTO DEBUG] single rank and full DQ! [202]ddr_efuse_type: 0xa [205]trefi:7.8ms [207][AUTO DEBUG] rank 0 row = 13 [210][AUTO DEBUG] rank 0 bank = 4 [213][AUTO DEBUG] rank 0 page size = 2 KB [217]DRAM BOOT DRIVE INFO: V0.33 [220]DRAM CLK = 528 MHz [222]DRAM Type = 2 (2:DDR2,3:DDR3) [225]DRAMC read ODT off. [228]DRAM ODT off. [230]ddr_efuse_type: 0xa [233]DRAM SIZE =64 M [234]dram_tpr4:0x0 [236]PLL_DDR_CTRL_REG:0xf8002b00 [239]DRAM_CLK_REG:0xc0000000 [242][TIMING DEBUG] MR2= 0x0 [246]DRAM simple test OK. [249]dram size =64 [250]card no is 0 [252]sdcard 0 line count 4 [255][mmc]: mmc driver ver 2021-04-2 16:45 [264][mmc]: Wrong media type 0x0 [267][mmc]: ***Try SD card 0*** [277][mmc]: HSSDR52/SDR25 4 bit [280][mmc]: 50000000 Hz [282][mmc]: 7681 MB [284][mmc]: ***SD/MMC 0 init OK!!!*** [335]Loading boot-pkg Succeed(index=0). [338]Entry_name = opensbi [341]Entry_name = u-boot [345]Entry_name = dtb [348]mmc not para U-Boot 2018.05-g24521d6-dirty-config-dirty (Mar 30 2022 - 15:25:54 +0800) Allwinner Technology [00.361]DRAM: 64 MiB [00.363]Relocation Offset is: 01eed000 [00.367]secure enable bit: 0 [00.370]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.377]flash init start [00.379]workmode = 0,storage type = 1 [00.382][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.388][mmc]: get sdc_type fail and use default host:tm1. [00.394][mmc]: can't find node "mmc0",will add new node [00.399][mmc]: fdt err returned <no error> [00.403][mmc]: Using default timing para [00.407][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.425][mmc]: card_caps:0x3000000a [00.428][mmc]: host_caps:0x3000003f [00.433]sunxi flash init ok [00.435]line:703 init_clocks [00.438]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. [00.459]drv_disp_init finish [00.461]boot_gui_init:start [00.465]set disp.dev2_output_type fail. using defval=0 [00.471]boot_gui_init:finish partno erro : can't find partition bootloader 54 bytes read in 2 ms (26.4 KiB/s) [00.510]bmp_name=bootlogo.bmp size 38454 38454 bytes read in 5 ms (7.3 MiB/s) [00.551]Loading Environment from SUNXI_FLASH... OK [00.575]out of usb burn from boot: not need burn key [00.610]Item0 (Map) magic is bad [00.613]the secure storage item0 copy0 magic is bad [00.648]Item0 (Map) magic is bad [00.[00.653]LCD open finish 651]the secure storage item0 copy1 magic is bad [00.659]Item0 (Map) magic is bad partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [00.675]update part info [00.680]update bootcmd [00.685]change working_fdt 0x42aacda0 to 0x42a8cda0 disable nand error: FDT_ERR_BADPATH No reserved memory region found in source FDT [00.725]update dts noncached_alloc(): addr = 0x42c90080 noncached_alloc(): addr = 0x42c900c0 noncached_alloc(): addr = 0x42c90100 noncached_alloc(): addr = 0x42c90940 geth_sys_init:634: get node 'gmac0' error geth_sys_init fail! [00.745]Board Net Initialization Failed [00.749]No ethernet found. Hit any key to stop autoboot: 0 [02.075]no vendor_boot partition is found Android's image name: d1s-nezha Detect comp none [02.092] Starting kernel ... [02.095][mmc]: MMC Device 2 not found [02.099][mmc]: mmc 2 not find, so not exit Linux version 5.4.61 (kim@kimpc) (riscv64-unknown-linux-gnu-gcc (C-SKY RISCV Tools V1.8.4 B20200702) 8.1.0, GNU ld (GNU Binutils) 2.32) #15 PREEMPT Wed Mar 30 07:41:58 UTC 2022 Zone ranges: DMA32 [mem 0x0000000040000000-0x0000000043ffffff] Normal empty Movable zone start for each node Early memory node ranges node 0: [mem 0x0000000040000000-0x0000000043ffffff] Initmem setup node 0 [mem 0x0000000040000000-0x0000000043ffffff] On node 0 totalpages: 16384 DMA32 zone: 224 pages used for memmap DMA32 zone: 0 pages reserved DMA32 zone: 16384 pages, LIFO batch:3 elf_hwcap is 0x20112d pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 pcpu-alloc: [0] 0 Built 1 zonelists, mobility grouping on. Total pages: 16160 Kernel command line: earlyprintk=sunxi-uart,0x02500000 clk_ignore_unused initcall_debug=0 console=ttyS0,115200 loglevel=8 root=/dev/mmcblk0p5 init=/pseudo_init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:recovery@mmcblk0p6:rootfs_data@mmcblk0p7:UDISK@mmcblk0p8 cma=0M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.mode=normal androidboot.hardware=sun20iw1p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05-g24521d6-dirty-config-dirty(03/30/ Dentry cache hash table entries: 8192 (order: 4, 65536 bytes, linear) Inode-cache hash table entries: 4096 (order: 3, 32768 bytes, linear) Sorting __ex_table... mem auto-init: stack:off, heap alloc:off, heap free:off Memory: 55284K/65536K available (4654K kernel code, 402K rwdata, 1776K rodata, 144K init, 231K bss, 10252K reserved, 0K cma-reserved) SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 rcu: Preemptible hierarchical RCU implementation. Tasks RCU enabled. rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. NR_IRQS: 0, nr_irqs: 0, preallocated irqs: 0 plic: mapped 200 interrupts with 1 handlers for 2 contexts. riscv_timer_init_dt: Registering clocksource cpuid [0] hartid [0] clocksource: riscv_clocksource: mask: 0xffffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns sched_clock: 64 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns riscv_timer_clockevent depends on broadcast, but no broadcast function available clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 512 (order: 0, 4096 bytes, linear) Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes, linear) ASID allocator initialised with 65536 entries rcu: Hierarchical SRCU implementation. devtmpfs: initialized random: get_random_u32 called from bucket_table_alloc.isra.27+0x10a/0x12c with crng_init=0 clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns futex hash table entries: 256 (order: 0, 6144 bytes, linear) pinctrl core: initialized pinctrl subsystem NET: Registered protocol family 16 DMA: preallocated 256 KiB pool for atomic allocations cpuidle: using governor menu rtc_ccu: sunxi ccu init OK clock: sunxi ccu init OK clock: sunxi ccu init OK iommu: Default domain type: Translated sunxi iommu: irq = 4 SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb videodev: Linux video capture interface: v2.00 Advanced Linux Sound Architecture Driver Initialized. pwm module init! g2d 5410000.g2d: Adding to iommu group 0 G2D: rcq version initialized.major:252 clocksource: Switched to clocksource riscv_clocksource sun8iw20-pinctrl 2000000.pinctrl: initialized sunXi PIO driver NET: Registered protocol family 2 tcp_listen_portaddr_hash hash table entries: 256 (order: 0, 4096 bytes, linear) TCP established hash table entries: 512 (order: 0, 4096 bytes, linear) TCP bind hash table entries: 512 (order: 0, 4096 bytes, linear) TCP: Hash tables configured (established 512 bind 512) UDP hash table entries: 256 (order: 1, 8192 bytes, linear) UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) NET: Registered protocol family 1 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator spi spi0: spi0 supply spi not found, using dummy regulator sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE sunxi_spi_resource_get()2189 - Failed to get sample mode sunxi_spi_resource_get()2194 - Failed to get sample delay sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base ffffffd004058000, irq 31 workingset: timestamp_bits=62 max_order=14 bucket_order=0 squashfs: version 4.0 (2009/01/31) Phillip Lougher ntfs: driver 2.1.32 [Flags: R/W]. jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc. io scheduler mq-deadline registered io scheduler kyber registered [DISP]disp_module_init disp 5000000.disp: Adding to iommu group 0 [DISP] parser_disp_init_para,line:1430: of_property_read fb0_width fail [DISP] disp_init,line:2386: smooth display screen:0 type:1 mode:4 display_fb_request,fb_id:0 Freeing logo buffer memory: 1500K disp_al_manager_apply ouput_type:1 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [DISP]disp_module_init finish sunxi_sid_init()551 - insmod ok pwm-regulator: supplied by regulator-dummy uart uart0: get regulator failed uart uart0: uart0 supply uart not found, using dummy regulator uart0: ttyS0 at MMIO 0x2500000 (irq = 18, base_baud = 1500000) is a SUNXI sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n printk: console [ttyS0] enabled misc dump reg init sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=131 assert=1 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=210 assert=0 [ADDR_MGT] addr_mgt_probe: module version: v1.0.10 [ADDR_MGT] addr_mgt_probe: success. sunxi-spinand: AW SPINand MTD Layer Version: 2.0 20201228 sunxi-spinand-phy: AW SPINand Phy Layer Version: 1.10 20200306 sunxi-spinand-phy: not detect any munufacture from id table sunxi-spinand-phy: get spi-nand Model from fdt fail sunxi-spinand-phy: get phy info from fdt fail sunxi-spinand-phy: not detect munufacture from fdt sunxi-spinand-phy: detect munufacture from id table: Winbond sunxi-spinand-phy: detect spinand id: ff21aaef ffffffff sunxi-spinand-phy: ========== arch info ========== sunxi-spinand-phy: Model: W25N01GVZEIG sunxi-spinand-phy: Munufacture: Winbond sunxi-spinand-phy: DieCntPerChip: 1 sunxi-spinand-phy: BlkCntPerDie: 1024 sunxi-spinand-phy: PageCntPerBlk: 64 sunxi-spinand-phy: SectCntPerPage: 4 sunxi-spinand-phy: OobSizePerPage: 64 sunxi-spinand-phy: BadBlockFlag: 0x0 sunxi-spinand-phy: OperationOpt: 0x7 sunxi-spinand-phy: MaxEraseTimes: 65000 sunxi-spinand-phy: EccFlag: 0x0 sunxi-spinand-phy: EccType: 2 sunxi-spinand-phy: EccProtectedType: 3 sunxi-spinand-phy: ======================================== sunxi-spinand-phy: sunxi-spinand-phy: ========== physical info ========== sunxi-spinand-phy: TotalSize: 128 M sunxi-spinand-phy: SectorSize: 512 B sunxi-spinand-phy: PageSize: 2 K sunxi-spinand-phy: BlockSize: 128 K sunxi-spinand-phy: OOBSize: 64 B sunxi-spinand-phy: ======================================== sunxi-spinand-phy: sunxi-spinand-phy: ========== logical info ========== sunxi-spinand-phy: TotalSize: 128 M sunxi-spinand-phy: SectorSize: 512 B sunxi-spinand-phy: PageSize: 4 K sunxi-spinand-phy: BlockSize: 256 K sunxi-spinand-phy: OOBSize: 128 B sunxi-spinand-phy: ======================================== sunxi-spinand-phy: W25N01GVZEIG reset rx bit width to 1 sunxi-spinand-phy: W25N01GVZEIG reset tx bit width to 1 sunxi-spinand-phy: block lock register: 0x00 sunxi-spinand-phy: feature register: 0x19 sunxi-spinand-phy: sunxi physic nand init end Creating 4 MTD partitions on "sunxi_mtd_nand": 0x000000000000-0x000000100000 : "boot0" 0x000000100000-0x000000500000 : "uboot" random: fast init done 0x000000500000-0x000000600000 : "secure_storage" 0x000000600000-0x000008000000 : "sys" sunxi-spinand-phy: phy blk 477 is bad sunxi-spinand-phy: phy blk 478 is bad sunxi-spinand-phy: phy blk 480 is bad sunxi-spinand-phy: phy blk 482 is bad sunxi-spinand-phy: phy blk 484 is bad sunxi-spinand-phy: phy blk 486 is bad sunxi-spinand-phy: phy blk 488 is bad sunxi-spinand-phy: phy blk 490 is bad sunxi-spinand-phy: phy blk 492 is bad sunxi-spinand-phy: phy blk 494 is bad sunxi-spinand-phy: phy blk 496 is bad sunxi-spinand-phy: ecc error 0x2 sunxi-spinand-phy: phy blk 580 is bad sunxi-spinand-phy: ecc error 0x2 sunxi-spinand-phy: phy blk 582 is bad sunxi-spinand-phy: ecc error 0x2 sunxi-spinand-phy: phy blk 584 is bad sunxi-spinand-phy: ecc error 0x2 sunxi-spinand-phy: phy blk 586 is bad sunxi-spinand-phy: phy blk 588 is bad sunxi-spinand-phy: phy blk 590 is bad sunxi-spinand-phy: phy blk 593 is bad sunxi-spinand-phy: phy blk 594 is bad sunxi-spinand-phy: phy blk 596 is bad sunxi-spinand-phy: phy blk 598 is bad sunxi-spinand-phy: phy blk 602 is bad sunxi-spinand-phy: phy blk 605 is bad sunxi-spinand-phy: phy blk 606 is bad sunxi-spinand-phy: phy blk 608 is bad sunxi-spinand-phy: phy blk 610 is bad sunxi-spinand-phy: phy blk 614 is bad sunxi-spinand-phy: phy blk 616 is bad sunxi-spinand-phy: phy blk 618 is bad sunxi-spinand-phy: phy blk 620 is bad sunxi-spinand-phy: phy blk 623 is bad sunxi-spinand-phy: phy blk 625 is bad sunxi-spinand-phy: phy blk 626 is bad sunxi-spinand-phy: phy blk 629 is bad sunxi-spinand-phy: phy blk 630 is bad sunxi-spinand-phy: phy blk 632 is bad sunxi-spinand-phy: phy blk 634 is bad sunxi-spinand-phy: phy blk 636 is bad sunxi-spinand-phy: phy blk 639 is bad sunxi-spinand-phy: phy blk 641 is bad sunxi-spinand-phy: phy blk 642 is bad sunxi-spinand-phy: phy blk 644 is bad sunxi-spinand-phy: phy blk 647 is bad sunxi-spinand-phy: phy blk 649 is bad sunxi-spinand-phy: phy blk 650 is bad sunxi-spinand-phy: phy blk 652 is bad sunxi-spinand-phy: phy blk 654 is bad sunxi-spinand-phy: phy blk 658 is bad sunxi-spinand-phy: phy blk 661 is bad sunxi-spinand-phy: phy blk 669 is bad sunxi-spinand-phy: phy blk 670 is bad sunxi-spinand-phy: phy blk 672 is bad sunxi-spinand-phy: phy blk 674 is bad sunxi-spinand-phy: phy blk 681 is bad sunxi-spinand-phy: phy blk 682 is bad sunxi-spinand-phy: phy blk 688 is bad sunxi-spinand-phy: phy blk 692 is bad sunxi-spinand-phy: phy blk 695 is bad sunxi-spinand-phy: phy blk 696 is bad sunxi-spinand-phy: phy blk 698 is bad sunxi-spinand-phy: phy blk 700 is bad sunxi-spinand-phy: phy blk 702 is bad sunxi-spinand-phy: phy blk 704 is bad sunxi-spinand-phy: phy blk 709 is bad sunxi-spinand-phy: phy blk 713 is bad sunxi-spinand-phy: phy blk 714 is bad sunxi-spinand-phy: phy blk 719 is bad sunxi-spinand-phy: phy blk 721 is bad sunxi-spinand-phy: phy blk 723 is bad sunxi-spinand-phy: phy blk 725 is bad sunxi-spinand-phy: phy blk 726 is bad sunxi-spinand-phy: phy blk 730 is bad sunxi-spinand-phy: phy blk 732 is bad sunxi-spinand-phy: phy blk 734 is bad sunxi-spinand-phy: phy blk 737 is bad sunxi-spinand-phy: phy blk 738 is bad ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver sunxi-ehci: EHCI SUNXI driver get ehci1-controller wakeup-source is fail. sunxi ehci1-controller don't init wakeup source [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xffffffe0006face8, 0x:ffffffd00406f000, irq_no:31 sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply drvvbus not found, using dummy regulator sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 sunxi-ehci 4200000.ehci1-controller: irq 49, io mem 0x04200000 sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver sunxi-ohci: OHCI SUNXI driver get ohci1-controller wakeup-source is fail. sunxi ohci1-controller don't init wakeup source [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xffffffe0006fb0b0 sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply drvvbus not found, using dummy regulator sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 sunxi-ohci 4200400.ohci1-controller: irq 50, io mem 0x04200400 hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected sunxi-rtc 7090000.rtc: errata__fix_alarm_day_reg_default_value(): ALARM0_DAY_REG=0, set it to 1 sunxi-rtc 7090000.rtc: registered as rtc0 sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T00:00:03 UTC (3) sunxi-rtc 7090000.rtc: sunxi rtc probed i2c /dev entries driver IR NEC protocol handler initialized uvcvideo: Unable to create debugfs directory usbcore: registered new interface driver uvcvideo USB Video Class driver (1.1.1) sunxi cedar version 1.1 sunxi-cedar 1c0e000.ve: Adding to iommu group 0 VE: install start!!! VE: cedar-ve the get irq is 6 VE: install end!!! VE: sunxi_cedar_probe sun8iw20-pinctrl 2000000.pinctrl: pin PF2 already requested by 2500000.uart; cannot claim for 4020000.sdmmc sun8iw20-pinctrl 2000000.pinctrl: pin-162 (4020000.sdmmc) status -22 sun8iw20-pinctrl 2000000.pinctrl: could not request pin 162 (PF2) from group PF2 on device 2000000.pinctrl sunxi-mmc 4020000.sdmmc: Error applying setting, reverse things back sunxi-mmc: probe of 4020000.sdmmc failed with error -22 sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-11-18 10:02) sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 sunxi-mmc 4021000.sdmmc: No vmmc regulator found sunxi-mmc 4021000.sdmmc: No vqmmc regulator found sunxi-mmc 4021000.sdmmc: No vdmmc regulator found sunxi-mmc 4021000.sdmmc: No vd33sw regulator found sunxi-mmc 4021000.sdmmc: No vd18sw regulator found sunxi-mmc 4021000.sdmmc: No vq33sw regulator found sunxi-mmc 4021000.sdmmc: No vq18sw regulator found sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sunxi-mmc 4021000.sdmmc: detmode:manually by software ashmem: initialized exFAT: Version 1.3.0 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [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 [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B sid_rd_ver_reg()254 - ver >= 4, soc ver:5 [SNDCODEC][sunxi_card_init][583]:card init finished sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input0 [SNDCODEC][sunxi_card_dev_probe][836]:register card finished NET: Registered protocol family 10 [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B Segment Routing with IPv6 NET: Registered protocol family 17 sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B sunxi-i2c sunxi-i2c2: sunxi-i2c2 supply twi not found, using dummy regulator sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B sunxi-i2c sunxi-i2c2: probe success mmc0: new high speed SDIO card at address 0001 sun8iw20-pinctrl 2000000.pinctrl: pin PF2 already requested by 2500000.uart; cannot claim for 4020000.sdmmc sun8iw20-pinctrl 2000000.pinctrl: pin-162 (4020000.sdmmc) status -22 sun8iw20-pinctrl 2000000.pinctrl: could not request pin 162 (PF2) from group PF2 on device 2000000.pinctrl sunxi-mmc 4020000.sdmmc: Error applying setting, reverse things back sunxi-mmc: probe of 4020000.sdmmc failed with error -22 sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator get ehci0-controller wakeup-source is fail. sunxi ehci0-controller don't init wakeup source [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xffffffe0006fa558, 0x:ffffffd0040fe000, irq_no:2e [sunxi-ehci0]: Not init ehci0 get ohci0-controller wakeup-source is fail. sunxi ohci0-controller don't init wakeup source [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xffffffe0006fa920 [sunxi-ohci0]: Not init ohci0 clk: Not disabling unused clocks platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 ALSA device list: #0: audiocodec alloc_fd: slot 0 not NULL! VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6 cfg80211: failed to load regulatory.db Please append a correct "root=" boot option; here are the available partitions: 1f00 1024 mtdblock0 (driver?) 1f01 4096 mtdblock1 (driver?) 1f02 1024 mtdblock2 (driver?) 1f03 124928 mtdblock3 (driver?) Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #15 Call Trace: [<ffffffe000026130>] walk_stackframe+0x0/0x98 [<ffffffe0000262e8>] show_stack+0x2a/0x34 [<ffffffe00049986e>] dump_stack+0x20/0x28 [<ffffffe00002a6f0>] panic+0xec/0x272 [<ffffffe000000ef6>] mount_block_root+0x214/0x27a [<ffffffe000000fe2>] mount_root+0x86/0x90 [<ffffffe000001134>] prepare_namespace+0x148/0x152 [<ffffffe000000b58>] kernel_init_freeable+0x166/0x198 [<ffffffe0004aa420>] kernel_init+0x12/0xee [<ffffffe000024e9c>] ret_from_exception+0x0/0xc ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---