t113使用sd卡启动卡住了
-
用的板子是T113-S3 Pro ,固件是从百问网上直接下载的 100ask-t113-pro_sdcard.img [557MB]。使用百问网上下载的tina-d1-h固件编译的镜像也是出现一样的问题
下面是启动的log[21]HELLO! BOOT0 is starting! [24]BOOT0 commit : 2c94b33 [27]set pll start [32]periph0 has been enabled [36]set pll end [37][pmu]: bus read error [40]board init ok [42]enable_jtag [43]ZQ value = 0x2f*********** [46]get_pmu_exist() = -1 [49]ddr_efuse_type: 0xa [52][AUTO DEBUG] single rank and full DQ! [56]ddr_efuse_type: 0xa [59][AUTO DEBUG] rank 0 row = 13 [62][AUTO DEBUG] rank 0 bank = 8 [66][AUTO DEBUG] rank 0 page size = 2 KB [70]DRAM BOOT DRIVE INFO: V0.24 [73]DRAM CLK = 792 MHz [75]DRAM Type = 3 (2:DDR2,3:DDR3) [78]DRAMC read ODT off. [81]DRAM ODT value: 0x42. [83]ddr_efuse_type: 0xa [86]DRAM SIZE =128 M [88]PLL_DDR_CTRL_REG:0xf8004100 [91]DRAM_CLK_REG:0xc0000000 [99]DRAM simple test OK. [101]rtc standby flag is 0x0, super standby flag is 0x0 [107]dram size =128 [109]card no is 0 [111]sdcard 0 line count 4 [114][mmc]: mmc driver ver 2021-03-22 20:20 [123][mmc]: Wrong media type 0x0 [126][mmc]: ***Try SD card 0*** [135][mmc]: HSSDR52/SDR25 4 bit [138][mmc]: 50000000 Hz [140][mmc]: 29818 MB [142][mmc]: ***SD/MMC 0 init OK!!!*** [235]Loading boot-pkg Succeed(index=0). [239]Entry_name = u-boot [246]Entry_name = optee [250]Entry_name = logo [253]Entry_name = dtb [255]mmc not para [257]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.05 (Aug 01 2022 - 04:03:28 +0000) Allwinner Technology [00.313]CPU: Allwinner Family [00.316]Model: sun8iw20 [00.318]DRAM: 128 MiB [00.321]Relocation Offset is: 04ebd000 [00.348]secure enable bit: 0 [00.351]smc_tee_inform_fdt failed with: -65526[00.355]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.361]gic: sec monitor mode [00.364]line:703 init_clocks [00.367]drv_disp_init request pwm success, pwm7:pwm7:0x2000c00. [00.381]drv_disp_init finish [00.384]boot_gui_init:start [00.387]set disp.dev2_output_type fail. using defval=0 [00.393]boot_gui_init:finish [00.411]flash init start [00.413]workmode = 0,storage type = 1 [00.416][mmc]: mmc driver ver uboot2018:2021-09-07 19:43:00 [00.422][mmc]: get sdc_type fail and use default host:tm1. [00.428][mmc]: can't find node "mmc0",will add new node [00.433][mmc]: fdt err returned <no error> [00.437][mmc]: Using default timing para [00.440][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.458][mmc]: card_caps:0x3000000a [00.461][mmc]: host_caps:0x3000003f [00.464]sunxi flash init ok [00.487]Loading Environment from SUNXI_FLASH... OK [00.512]Item0 (Map) magic is bad [00.514]the secure storage item0 copy0 magic is bad [00.523]Item0 (Map) magic is bad [00.526]the secure storage item0 copy1 magic is bad [00.530]Item0 (Map) magic is bad secure storage read widevine fail [00.536]secure storage read widevine fail with:-1 secure storage read ec_key fail [00.544]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [00.551]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [00.558]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [00.566]secure storage read ec_cert3 fail with:-1 secure storage read rsa_k[00.573]LCD open finish ey fail [00.576]secure storage read rsa_key fail with:-1 secure storage read rsa_cert1 fail [00.584]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [00.591]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [00.599]secure storage read rsa_cert3 fail with:-1 [00.603]usb burn from boot delay time 0 weak:otg_phy_config [00.615]usb prepare ok [01.418]overtime [01.421]do_burn_from_boot usb : no usb exist partno erro : can't find partition private root_partition is rootfs set root to /dev/mmcblk0p5 [01.439]update part info [01.444]update bootcmd [01.450]change working_fdt 0x4487ce70 to 0x4485ce70 [01.468]update dts phy_mode=rmii, phy_interface=6 eth0 Error: eth0 address not set. Hit any key to stop autoboot: 0 card0 has inited curr_device:0 Device: SUNXI SD/MMC Manufacturer ID: 89 OEM: 303 Name: NCard Bus Speed: 50000000 Mode : SD High Speed (50MHz) Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: 29.1 GiB Bus Width: 4-bit Erase Group Size: 512 Bytes Partition Map for MMC device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00008a40 0x00009a3f "boot-resource" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 7c1aa552-060d-468e-85ed-df57fdf711c9 2 0x00009a40 0x00009b3f "env" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 729e74af-f666-41ae-bc02-36bab89b86e7 3 0x00009b40 0x00009c3f "env-redund" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: db1b4c6d-52ca-43f3-b15c-2a0e8131fd4f 4 0x00009c40 0x00019c3f "boot" attrs: 0x0000000000000004 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 832d6419-2418-4164-aa82-fbca1725ee60 5 0x00019c40 0x00099c3f "rootfs" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: d06434b9-6e6d-497d-b89e-c91b43702210 6 0x00099c40 0x00119c3f "share" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 guid: 5f281b55-c115-41d9-a8b7-4c666b732708 261240 bytes read in 15 ms (16.6 MiB/s) 5025792 bytes read in 213 ms (22.5 MiB/s) [03.848]no vendor_boot partition is found Android's image name: sun8iw20p1 [03.860]Starting kernel ... [03.863][mmc]: MMC Device 2 not found [03.866][mmc]: mmc 2 not find, so not exit [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (book@virtual-machine) (arm-linux-gnueabi-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011, GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706) #4 SMP PREEMPT Fri Aug 5 03:58:45 UTC 2022 [ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d [ 0.000000] CPU: div instructions available: patching division code [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: sun8iw20 [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] cma: Reserved 16 MiB at 0x47000000 [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] Normal zone: 256 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 32768 pages, LIFO batch:7 [ 0.000000] psci: probing for conduit method from DT. [ 0.000000] psci: PSCIv1.0 detected in firmware. [ 0.000000] psci: Using standard PSCI v0.2 function IDs [ 0.000000] psci: MIGRATE_INFO_TYPE not supported. [ 0.000000] psci: SMC Calling Convention v1.0 [ 0.000000] percpu: Embedded 15 pages/cpu s30860 r8192 d22388 u61440 [ 0.000000] pcpu-alloc: s30860 r8192 d22388 u61440 alloc=15*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: earlycon=uart8250,mmio32,0x05000000 clk_ignore_unused initcall_debug=0 console=ttyS3,115200 loglevel=8 root=/dev/mmcblk0p5 init=/sbin/init partitions=boot-resource@mmcblk0p1:env@mmcblk0p2:env-redund@mmcblk0p3:boot@mmcblk0p4:rootfs@mmcblk0p5:share@mmcblk0p6 cma=16M snum= mac_addr= wifi_mac= bt_mac= specialstr= gpt=1 androidboot.hardware=sun8iw20p1 boot_type=1 androidboot.boot_type=1 gpt=1 uboot_message=2018.05(08/01/2022-04:03:28) disp_reserve=2457600,0x448a6000 androidboot.dramsize=128 [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 90588K/131072K available (7168K kernel code, 410K rwdata, 2424K rodata, 1024K init, 183K bss, 24100K reserved, 16384K cma-reserved) [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2. [ 0.000000] Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2 [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] random: get_random_bytes called from start_kernel+0x248/0x3d0 with crng_init=0 [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys). [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns [ 0.000006] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns [ 0.000018] Switching to timer-based delay loop, resolution 41ns [ 0.000196] clocksource: timer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000788] Console: colour dummy device 80x30 [ 0.000828] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000) [ 0.000842] pid_max: default: 32768 minimum: 301 [ 0.000922] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.000936] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.001554] CPU: Testing write buffer coherency: ok [ 0.001886] /cpus/cpu@0 missing clock-frequency property [ 0.001907] /cpus/cpu@1 missing clock-frequency property [ 0.001919] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.002597] Setting up static identity map for 0x40100000 - 0x40100060 [ 0.002759] rcu: Hierarchical SRCU implementation. [ 0.003102] BOOTEVENT: 3.093790: ON [ 0.003312] smp: Bringing up secondary CPUs ... [ 0.004603] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.004759] smp: Brought up 1 node, 2 CPUs [ 0.004773] SMP: Total of 2 processors activated (96.00 BogoMIPS). [ 0.004781] CPU: All CPU(s) started in SVC mode. [ 0.005359] devtmpfs: initialized [ 0.106747] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5 [ 0.110590] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.110622] futex hash table entries: 512 (order: 3, 32768 bytes, linear) [ 0.111370] pinctrl core: initialized pinctrl subsystem [ 0.121064] NET: Registered protocol family 16 [ 0.124105] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.467261] rtc_ccu: sunxi ccu init OK [ 0.510078] ccu: sunxi ccu init OK [ 0.514472] r_ccu: sunxi ccu init OK [ 0.991159] iommu: Default domain type: Translated [ 0.996049] sunxi iommu: irq = 24 [ 1.022859] SCSI subsystem initialized [ 1.033690] usbcore: registered new interface driver usbfs [ 1.036487] usbcore: registered new interface driver hub [ 1.037416] usbcore: registered new device driver usb [ 1.045606] mc: Linux media interface: v0.10 [ 1.045694] videodev: Linux video capture interface: v2.00 [ 1.064601] Advanced Linux Sound Architecture Driver Initialized. [ 1.075351] Bluetooth: Core ver 2.22 [ 1.080369] NET: Registered protocol family 31 [ 1.080385] Bluetooth: HCI device and connection manager initialized [ 1.080411] Bluetooth: HCI socket layer initialized [ 1.080424] Bluetooth: L2CAP socket layer initialized [ 1.080474] Bluetooth: SCO socket layer initialized [ 1.080909] pwm module init! [ 1.099266] g2d 5410000.g2d: Adding to iommu group 0 [ 1.109322] G2D: rcq version initialized.major:251 [ 1.118785] input: sunxi-keyboard as /devices/virtual/input/input0 [ 1.127590] clocksource: Switched to clocksource arch_sys_counter [ 1.318740] sun8iw20-pinctrl pio: initialized sunXi PIO driver [ 1.675771] thermal_sys: Registered thermal governor 'step_wise' [ 1.675778] thermal_sys: Registered thermal governor 'user_space' [ 1.686031] NET: Registered protocol family 2 [ 1.706177] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 1.706216] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 1.706241] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear) [ 1.706264] TCP: Hash tables configured (established 1024 bind 1024) [ 1.706448] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.709706] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 1.709940] NET: Registered protocol family 1 [ 1.720248] RPC: Registered named UNIX socket transport module. [ 1.720265] RPC: Registered udp transport module. [ 1.720273] RPC: Registered tcp transport module. [ 1.720279] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.737717] sun8iw20-pinctrl pio: pio supply vcc-pc not found, using dummy regulator [ 1.744723] spi spi0: spi0 supply spi not found, using dummy regulator [ 1.748251] sunxi_spi_resource_get()2151 - [spi0] SPI MASTER MODE [ 1.748381] sunxi_spi_resource_get()2189 - Failed to get sample mode [ 1.748391] sunxi_spi_resource_get()2194 - Failed to get sample delay [ 1.748401] sunxi_spi_resource_get()2198 - sample_mode:-1431633921 sample_delay:-1431633921 [ 1.748482] sunxi_spi_clk_init()2240 - [spi0] mclk 100000000 [ 1.765380] sunxi_spi_probe()2653 - [spi0]: driver probe succeed, base c8821000, irq 42 [ 1.806749] Initialise system trusted keyrings [ 1.806950] workingset: timestamp_bits=30 max_order=15 bucket_order=0 [ 1.818319] Installing knfsd (copyright (C) 1996 okir@monad.swb.de). [ 1.821731] fuse: init (API version 7.31) [ 1.863864] NET: Registered protocol family 38 [ 1.863890] Key type asymmetric registered [ 1.863899] Asymmetric key parser 'x509' registered [ 1.863997] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249) [ 1.864009] io scheduler mq-deadline registered [ 1.864017] io scheduler kyber registered [ 1.864156] atomic64_test: passed [ 1.881910] [DISP]disp_module_init [ 1.895874] disp 5000000.disp: Adding to iommu group 0 [ 1.906521] [DISP] disp_init,line:2386: [ 1.906529] smooth display screen:0 type:1 mode:4 [ 1.917833] disp 5000000.disp: 5000000.disp supply vcc-lcd not found, using dummy regulator [ 1.921690] disp 5000000.disp: 5000000.disp supply vcc-pd not found, using dummy regulator [ 1.933901] display_fb_request,fb_id:0 [ 1.950429] disp_al_manager_apply ouput_type:1 [ 1.950742] [DISP] lcd_clk_config,line:732: [ 1.950754] disp 0, clk: pll(306000000),clk(306000000),dclk(51000000) dsi_rate(306000000) [ 1.950754] clk real:pll(300000000),clk(300000000),dclk(50000000) dsi_rate(0) [ 1.951267] sun8iw20-pinctrl pio: pio supply vcc-pd not found, using dummy regulator [ 1.957709] wait for new fb take effect [ 2.009278] Freeing logo buffer memory: 2400K [ 2.016769] [DISP]disp_module_init finish [ 2.024807] sunxi_sid_init()551 - insmod ok [ 2.035245] pwm-regulator: supplied by regulator-dummy [ 2.061103] sun8iw20-pinctrl pio: pio supply vcc-pg not found, using dummy regulator [ 2.061519] uart uart1: get regulator failed [ 2.061543] uart uart1: uart1 supply uart not found, using dummy regulator [ 2.069114] uart1: ttyS1 at MMIO 0x2500400 (irq = 34, base_baud = 1500000) is a SUNXI [ 2.080181] sun8iw20-pinctrl pio: pio supply vcc-pb not found, using dummy regulator [ 2.080690] uart uart3: get regulator failed [ 2.080713] uart uart3: uart3 supply uart not found, using dummy regulator [ 2.091247] uart3: ttyS3 at MMIO 0x2500c00 (irq = 35, base_baud = 1500000) is a SUNXI [ 2.091281] sw_console_setup()1784 - console setup baud 115200 parity n bits 8, flow n [ 3.087867] printk: console [ttyS3] enabled [ 3.107431] misc dump reg init [ 3.137429] sunxi-rfkill soc@3000000:rfkill@0: module version: v1.0.9 [ 3.144737] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 3.152170] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 3.159620] sunxi-rfkill soc@3000000:rfkill@0: wlan_busnum (1) [ 3.166177] sunxi-rfkill soc@3000000:rfkill@0: Missing wlan_power. [ 3.173154] sunxi-rfkill soc@3000000:rfkill@0: wlan clock[0] (32k-fanout1) [ 3.180921] sunxi-rfkill soc@3000000:rfkill@0: wlan_regon gpio=204 assert=1 [ 3.188846] sunxi-rfkill soc@3000000:rfkill@0: wlan_hostwake gpio=202 assert=1 [ 3.196984] sunxi-rfkill soc@3000000:rfkill@0: wakeup source is enabled [ 3.208243] sunxi-rfkill soc@3000000:rfkill@0: Missing bt_power. [ 3.215017] sunxi-rfkill soc@3000000:rfkill@0: bt clock[0] (32k-fanout1) [ 3.222645] sunxi-rfkill soc@3000000:rfkill@0: bt_rst gpio=207 assert=0 [ 3.284991] libphy: Fixed MDIO Bus: probed [ 3.293146] sun8iw20-pinctrl pio: pio supply vcc-pe not found, using dummy regulator [ 3.306427] sunxi gmac driver's version: 1.0.0 [ 3.315106] gmac-power0: NULL [ 3.318477] gmac-power1: NULL [ 3.321831] gmac-power2: NULL [ 3.347454] Failed to alloc md5 [ 3.351057] eth0: Use random mac address [ 3.355839] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.363227] sunxi-ehci: EHCI SUNXI driver [ 3.368171] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 3.375138] sunxi-ohci: OHCI SUNXI driver [ 3.380404] usbcore: registered new interface driver uas [ 3.389249] usbcore: registered new interface driver usb-storage [ 3.398809] usbcore: registered new interface driver ums-alauda [ 3.405673] usbcore: registered new interface driver ums-cypress [ 3.415129] usbcore: registered new interface driver ums-datafab [ 3.428996] usbcore: registered new interface driver ums_eneub6250 [ 3.436086] usbcore: registered new interface driver ums-freecom [ 3.442920] usbcore: registered new interface driver ums-isd200 [ 3.453161] usbcore: registered new interface driver ums-jumpshot [ 3.460128] usbcore: registered new interface driver ums-karma [ 3.466765] usbcore: registered new interface driver ums-onetouch [ 3.477260] usbcore: registered new interface driver ums-realtek [ 3.484118] usbcore: registered new interface driver ums-sddr09 [ 3.494370] usbcore: registered new interface driver ums-sddr55 [ 3.501157] usbcore: registered new interface driver ums-usbat [ 3.522718] ts probe start [ 3.536053] input: 2009c00.rtp as /devices/platform/soc@3000000/2009c00.rtp/input/input1 [ 3.552049] ts probe success [ 3.552569] sunxi_gpadc_init,2137, success [ 3.560820] sunxi_gpadc_setup: get channel scan data failed [ 3.572213] input: sunxi-gpadc0 as /devices/virtual/input/input2 [ 3.625647] sunxi-rtc 7090000.rtc: registered as rtc0 [ 3.631479] sunxi-rtc 7090000.rtc: setting system clock to 1970-01-01T02:32:32 UTC (9152) [ 3.640734] sunxi-rtc 7090000.rtc: sunxi rtc probed [ 3.646714] i2c /dev entries driver [ 3.652208] IR NEC protocol handler initialized [ 3.657303] IR RC5(x/sz) protocol handler initialized [ 3.670586] sunxi_ir_startup: get ir protocol failed [ 3.670617] (NULL device *): deviceless supply not found, using dummy regulator [ 3.688201] Registered IR keymap rc_map_sunxi [ 3.696867] rc rc0: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0 [ 3.712835] input: sunxi-ir as /devices/platform/soc@3000000/7040000.s_cir/rc/rc0/s_cir_rx [ 3.734459] usbcore: registered new interface driver uvcvideo [ 3.740941] USB Video Class driver (1.1.1) [ 3.745535] gspca_main: v2.14.0 registered [ 3.750161] sunxi cedar version 1.1 [ 3.757937] sunxi-cedar 1c0e000.ve: Adding to iommu group 0 [ 3.767867] VE: sunxi_cedar_probe power-domain init!!! [ 3.773649] VE: install start!!! [ 3.773649] [ 3.790144] VE: cedar-ve the get irq is 43 [ 3.790144] [ 3.796668] VE: ve_debug_proc_info:(ptrval), data:(ptrval), lock:(ptrval) [ 3.796668] [ 3.806003] VE: install end!!! [ 3.806003] [ 3.811105] VE: sunxi_cedar_probe [ 3.827244] sunxi-wdt 20500a0.watchdog: Watchdog enabled (timeout=16 sec, nowayout=0) [ 3.840157] Bluetooth: HCI UART driver ver 2.3 [ 3.845155] Bluetooth: HCI UART protocol H4 registered [ 3.850967] Bluetooth: XRadio Bluetooth LPM Mode Driver Ver 1.0.10 [ 3.858293] [XR_BT_LPM] bluesleep_probe: bt_wake polarity: 1 [ 3.864720] [XR_BT_LPM] bluesleep_probe: host_wake polarity: 1 [ 3.871308] [XR_BT_LPM] bluesleep_probe: wakeup source is disabled! [ 3.871308] [ 3.880021] [XR_BT_LPM] bluesleep_probe: uart_index(1) [ 3.940572] sunxi-mmc 4020000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10) [ 3.950610] sunxi-mmc 4020000.sdmmc: ***ctl-spec-caps*** 8 [ 3.956812] sunxi-mmc 4020000.sdmmc: No vmmc regulator found [ 3.963198] sunxi-mmc 4020000.sdmmc: No vqmmc regulator found [ 3.969659] sunxi-mmc 4020000.sdmmc: No vdmmc regulator found [ 3.976112] sunxi-mmc 4020000.sdmmc: No vd33sw regulator found [ 3.982668] sunxi-mmc 4020000.sdmmc: No vd18sw regulator found [ 3.989229] sunxi-mmc 4020000.sdmmc: No vq33sw regulator found [ 3.995772] sunxi-mmc 4020000.sdmmc: No vq18sw regulator found [ 4.002919] sunxi-mmc 4020000.sdmmc: Got CD GPIO [ 4.008458] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail [ 4.018859] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.030058] sunxi-mmc 4020000.sdmmc: no vqmmc,Check if there is regulator [ 4.050246] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.074774] sunxi-mmc 4020000.sdmmc: detmode:gpio irq [ 4.102855] sunxi-mmc 4021000.sdmmc: SD/MMC/SDIO Host Controller Driver(v4.21 2021-05-24 16:10) [ 4.116540] sunxi-mmc 4021000.sdmmc: ***ctl-spec-caps*** 8 [ 4.122795] sunxi-mmc 4021000.sdmmc: No vmmc regulator found [ 4.129163] sunxi-mmc 4021000.sdmmc: No vqmmc regulator found [ 4.135626] sunxi-mmc 4021000.sdmmc: No vdmmc regulator found [ 4.142085] sunxi-mmc 4021000.sdmmc: No vd33sw regulator found [ 4.148702] sunxi-mmc 4021000.sdmmc: No vd18sw regulator found [ 4.155247] sunxi-mmc 4021000.sdmmc: No vq33sw regulator found [ 4.161832] sunxi-mmc 4021000.sdmmc: No vq18sw regulator found [ 4.168422] sunxi-mmc 4021000.sdmmc: Cann't get pin bias hs pinstate,check if needed [ 4.189157] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.200354] sunxi-mmc 4021000.sdmmc: no vqmmc,Check if there is regulator [ 4.220538] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.244806] sunxi-mmc 4021000.sdmmc: detmode:manually by software [ 4.252406] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.258590] usbcore: registered new interface driver usbhid [ 4.271874] usbhid: USB HID core driver [ 4.274823] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B [ 4.278678] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm OFF vdd 0 width 1 timing LEGACY(SDR12) dt B [ 4.296472] sunxi-mmc 4021000.sdmmc: card claims to support voltages below defined range [ 4.341825] [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 [ 4.341825] [ 4.353643] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 4.359095] [AUDIOCODEC][sunxi_codec_parse_params][2448]:adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:0, dachpf:0 [ 4.370766] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B [ 4.382230] [AUDIOCODEC][sunxi_internal_codec_probe][2609]:codec probe finished [ 4.393490] sunxi-mmc 4021000.sdmmc: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B [ 4.432626] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 4.433266] random: fast init done [ 4.442641] [SNDCODEC][sunxi_card_init][583]:card init finished [ 4.446481] mmc1: new high speed SDIO card at address 0001 [ 4.472595] sunxi-codec-machine 2030340.sound: 2030000.codec <-> 203034c.dummy_cpudai mapping ok [ 4.518330] input: audiocodec sunxi Audio Jack as /devices/platform/soc@3000000/2030340.sound/sound/card0/input4 [ 4.553295] [SNDCODEC][sunxi_card_dev_probe][836]:register card finished [ 4.569042] [SNDCODEC][sunxi_hs_init_work][259]:resume-->report switch [ 4.576447] NET: Registered protocol family 10 [ 4.598029] Segment Routing with IPv6 [ 4.602258] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [ 4.649819] NET: Registered protocol family 17 [ 4.654841] NET: Registered protocol family 15 [ 4.660035] Bluetooth: RFCOMM TTY layer initialized [ 4.665524] Bluetooth: RFCOMM socket layer initialized [ 4.671468] Bluetooth: RFCOMM ver 1.11 [ 4.676476] Registering SWP/SWPB emulation handler [ 4.686126] Loading compiled-in X.509 certificates [ 5.081312] twi twi2: twi2 supply twi not found, using dummy regulator [ 5.117199] sunxi_i2c_probe()2266 - [i2c2] probe success [ 5.212783] get ehci0-controller wakeup-source is fail. [ 5.218806] sunxi ehci0-controller don't init wakeup source [ 5.225057] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0c88088, 0x:c88dd000, irq_no:3a [ 5.237089] [sunxi-ehci0]: Not init ehci0 [ 5.244941] get ohci0-controller wakeup-source is fail. [ 5.251813] sunxi ohci0-controller don't init wakeup source [ 5.258123] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0c88318 [ 5.267788] [sunxi-ohci0]: Not init ohci0 [ 5.276465] get ehci1-controller wakeup-source is fail. [ 5.282474] sunxi ehci1-controller don't init wakeup source [ 5.288771] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0c885a8, 0x:c88e7000, irq_no:3c [ 5.304900] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 5.325940] sunxi-ehci 4200000.ehci1-controller: EHCI Host Controller [ 5.333239] sunxi-ehci 4200000.ehci1-controller: new USB bus registered, assigned bus number 1 [ 5.343217] sunxi-ehci 4200000.ehci1-controller: irq 60, io mem 0x04200000 [ 5.377596] sunxi-ehci 4200000.ehci1-controller: USB 2.0 started, EHCI 1.00 [ 5.400474] hub 1-0:1.0: USB hub found [ 5.404889] hub 1-0:1.0: 1 port detected [ 5.430437] get ohci1-controller wakeup-source is fail. [ 5.440209] sunxi ohci1-controller don't init wakeup source [ 5.446467] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0c88838 [ 5.463083] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 5.483156] sunxi-ohci 4200400.ohci1-controller: OHCI Host Controller [ 5.490447] sunxi-ohci 4200400.ohci1-controller: new USB bus registered, assigned bus number 2 [ 5.500599] sunxi-ohci 4200400.ohci1-controller: irq 61, io mem 0x04200400 [ 5.601694] hub 2-0:1.0: USB hub found [ 5.605970] hub 2-0:1.0: 1 port detected [ 5.651415] sun8iw20-pinctrl pio: pin PB6 already requested by 2500c00.uart; cannot claim for pio:38 [ 5.661730] sun8iw20-pinctrl pio: pin-38 (pio:38) status -22 [ 5.668108] ERR: id gpio_request failed [ 5.675267] get ctp_power is fail, -22 [ 5.679522] get ctp_power_ldo_vol is fail, -22 [ 5.684543] sunxi_ctp_startup: ctp_power_io is invalid. [ 5.690494] get ctp_gesture_wakeup fail, no gesture wakeup [ 5.696676] gt9xxnew_ts 2-0014: 2-0014 supply ctp not found, using dummy regulator [ 5.877780] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 5.887320] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 5.896869] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 5.906405] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 5.915948] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 5.925334] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 6.087586] <<-GTP-ERROR->> GTP i2c test failed time 1. [ 6.117744] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.127270] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.136816] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.146353] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.155946] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.165336] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 6.327589] <<-GTP-ERROR->> GTP i2c test failed time 2. [ 6.357744] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.367261] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.376795] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.386326] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.395856] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.405234] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 6.567583] <<-GTP-ERROR->> GTP i2c test failed time 3. [ 6.597741] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.607257] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.616790] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.626320] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.635851] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.645229] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 6.807585] <<-GTP-ERROR->> GTP i2c test failed time 4. [ 6.837743] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.847274] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.856810] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.866353] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.875901] sunxi_i2c_do_xfer()1816 - [i2c2] incomplete xfer (status: 0x20, dev addr: 0x14) [ 6.885280] <<-GTP-ERROR->> I2C Read: 0x8047, 1 bytes failed, errcode: -70! Process reset. [ 7.047584] <<-GTP-ERROR->> GTP i2c test failed time 5. [ 7.077582] I2C communication ERROR! [ 7.077610] regulator-dummy: Underflow of regulator enable count [ 7.088618] gt9xxnew_ts: probe of 2-0014 failed with error -1 [ 7.120798] cfg80211: Loading compiled-in X.509 certificates for regulatory database [ 7.136227] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7' [ 7.143851] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 7.147709] clk: Not disabling unused clocks [ 7.153620] cfg80211: failed to load regulatory.db [ 7.158387] ALSA device list: [ 7.167183] #0: audiocodec [ 7.170449] alloc_fd: slot 0 not NULL! [ 7.178997] VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6 [ 7.187706] Please append a correct "root=" boot option; here are the available partitions: [ 7.197070] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 7.206336] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.4.61 #4 [ 7.212967] Hardware name: Generic DT based system [ 7.218358] [<c010e238>] (unwind_backtrace) from [<c010a844>] (show_stack+0x10/0x14) [ 7.227045] [<c010a844>] (show_stack) from [<c075569c>] (dump_stack+0x7c/0x98) [ 7.235147] [<c075569c>] (dump_stack) from [<c0119524>] (panic+0x104/0x3d8) [ 7.242956] [<c0119524>] (panic) from [<c0b01254>] (mount_block_root+0x244/0x33c) [ 7.251346] [<c0b01254>] (mount_block_root) from [<c0b01504>] (prepare_namespace+0x138/0x178) [ 7.260906] [<c0b01504>] (prepare_namespace) from [<c0769730>] (kernel_init+0x8/0x118) [ 7.269784] [<c0769730>] (kernel_init) from [<c01010e8>] (ret_from_fork+0x14/0x2c) [ 7.278267] Exception stack(0xc6817fb0 to 0xc6817ff8) [ 7.283927] 7fa0: 00000000 00000000 00000000 00000000 [ 7.293095] 7fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 7.302261] 7fe0: 00000000 00000000 00000000 00000000 00000013 00000000 [ 7.309683] CPU0: stopping [ 7.312716] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.61 #4 [ 7.319347] Hardware name: Generic DT based system [ 7.324723] [<c010e238>] (unwind_backtrace) from [<c010a844>] (show_stack+0x10/0x14) [ 7.333404] [<c010a844>] (show_stack) from [<c075569c>] (dump_stack+0x7c/0x98) [ 7.341504] [<c075569c>] (dump_stack) from [<c010c64c>] (handle_IPI+0xcc/0x168) [ 7.349701] [<c010c64c>] (handle_IPI) from [<c039758c>] (gic_handle_irq+0x70/0x78) [ 7.358191] [<c039758c>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 7.366575] Exception stack(0xc0c01f40 to 0xc0c01f88) [ 7.372238] 1f40: 0000113c c6eb5534 00000000 c0114b00 00000001 c0c03de8 ffffe000 c0c5fea2 [ 7.381397] 1f60: c0c03e24 c6fff6c0 c0b2d0c0 00000000 c0c02d00 c0c01f90 c0107f40 c0107f30 [ 7.390561] 1f80: 60000113 ffffffff [ 7.394473] [<c01021cc>] (__irq_svc) from [<c0107f30>] (arch_cpu_idle+0x1c/0x38) [ 7.402768] [<c0107f30>] (arch_cpu_idle) from [<c013dee0>] (do_idle+0xdc/0x12c) [ 7.410963] [<c013dee0>] (do_idle) from [<c013e1cc>] (cpu_startup_entry+0x18/0x1c) [ 7.419450] [<c013e1cc>] (cpu_startup_entry) from [<c0b00c50>] (start_kernel+0x340/0x3d0) [ 7.428617] [<c0b00c50>] (start_kernel) from [<00000000>] (0x0) [ 7.435259] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
-
@xingxing8 在 t113使用sd卡启动卡住了 中说:
先看这行
VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6
这行表示没有挂载上mmc设备
再往上找
[ 4.002919] sunxi-mmc 4020000.sdmmc: Got CD GPIO
[ 4.008458] sunxi-mmc 4020000.sdmmc: set cd-gpios as 24M fail
[ 4.018859] sunxi-mmc 4020000.sdmmc: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt BCD卡检测GPIO检测不到卡,关闭MMC驱动
Linux中的驱动为了省电会根据CD引脚检测卡是否存在,不存在则关闭MMC驱动,U-boot驱动没有这个逻辑
解决方法:
- 正向解决法
- 根据实物硬件查看CD引脚配置,上下拉状态是否正常,是否反转CD
- 软件规避法
- 直接关闭CD检测功能,取消注释
broken-cd;
-
@awwwwa
CD引脚接了上拉电阻。 -
@awwwwa 直接关闭CD检测功能,取消注释 broken-cd;用这个方法也启动不了
-
同时注释掉
cd-gpios = <&pio PF 6 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
-
@awwwwa 可以启动了,非常感谢。但如果启动后拔掉SD卡,会出现一直在检测。
-
@xingxing8 注释掉CD之后就是轮询机制了,这也是为什么使用CD进行卡检测的原因
-
@awwwwa 好的,谢谢
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号