T113 TF卡启动,上电没反应,需要按复位键,才能启动。
-
自己做的板:
spi上也挂了一个nand。
实际构建系统的是TF卡启动。每次按复位键后,能启动成功。
板子上电完全没反应,控制台没输出,按复位键后可以正常启动。大佬们,请教一下这个问题,我应该检查什么方向?
-
@qinhao4832 看一下上电时序,或者IO是否倒灌电流导致cpu异常
-
我一直按住复位键,然后上电,得到这些log:
[23]BOOT0 commit : 88480af-dirty [26]set pll start [28]fix vccio detect value:0xc0 [35]periph0 has been enabled [38]set pll end [40][pmu]: bus read error [42]board init ok [44]ZQ value = 0x31 [46]get_pmu_exist() = -1 [49]ddr_efuse_type: 0xa [51]trefi:7.8ms [53][AUTO DEBUG] single rank and full DQ! [57]ddr_efuse_type: 0xa [59]trefi:7.8ms [62][AUTO DEBUG] rank 0 row = 13 [65][AUTO DEBUG] rank 0 bank = 8 [68][AUTO DEBUG] rank 0 page size = 2 KB [72]DRAM BOOT DRIVE INFO: V0.33 [75]DRAM CLK = 936 MHz [77]DRAM Type = 3 (2:DDR2,3:DDR3) [80]DRAMC read ODT off. [83]DRAM ODT value: 0x42. [85]ddr_efuse_type: 0xa [88]DRAM SIZE =128 M [90]dram_tpr4:0x0 [92]PLL_DDR_CTRL_REG:0xf8004d00 [95]DRAM_CLK_REG:0xc0000000 [98][TIMING DEBUG] MR2= 0x20 [105]DRAM simple test OK. [108]rtc standby flag is 0x0, super standby flag is 0x0 [113]dram size =128 [115]card no is 0 [117]sdcard 0 line count 4 [120][mmc]: mmc driver ver 2021-05-21 14:47 [129][mmc]: Wrong media type 0x0 [132][mmc]: ***Try SD card 0*** [142][mmc]: HSSDR52/SDR25 4 bit [145][mmc]: 50000000 Hz [147][mmc]: 60014 MB [149][mmc]: ***SD/MMC 0 init OK!!!*** [221]Loading boot-pkg Succeed(index=0). [225]Entry_name = u-boot [230]Entry_name = optee [234]Entry_name = dtb [237]mmc not para [239]Jump to second Boot. M/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm U-Boot 2018.05-g24521d6-dirty (Jun 27 2023 - 01:57:03 -0700) Allwinner Technology [00.292]CPU: Allwinner Family [00.295]Model: sun8iw20 I2C: FDT ERROR:fdt_set_all_pin:[twi0]-->FDT_ERR_BADPATH FDT ERROR:fdt_set_all_pin:[twi1]-->FDT_ERR_BADPATH ready [00.316]DRAM: 128 MiB [00.319]Relocation Offset is: 04f01000 [00.339]secure enable bit: 0 [00.341]smc_tee_inform_fdt failed with: -65526[00.346]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz [00.352]gic: sec monitor mode [00.355]flash init start [00.357]workmode = 0,storage type = 1 [00.361][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00 [00.366][mmc]: get sdc_type fail and use default host:tm1. [00.372][mmc]: can't find node "mmc0",will add new node [00.377][mmc]: fdt err returned <no error> [00.381][mmc]: Using default timing para [00.384][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.403][mmc]: card_caps:0x3000000a [00.406][mmc]: host_caps:0x3000003f [00.410]sunxi flash init ok [00.417]Loading Environment from SUNXI_FLASH... OK [00.447]Item0 (Map) magic is bad [00.449]the secure storage item0 copy0 magic is bad [00.465]Item0 (Map) magic is bad [00.468]the secure storage item0 copy1 magic is bad [00.473]Item0 (Map) magic is bad secure storage read widevine fail [00.479]secure storage read widevine fail with:-1 secure storage read ec_key fail [00.486]secure storage read ec_key fail with:-1 secure storage read ec_cert1 fail [00.493]secure storage read ec_cert1 fail with:-1 secure storage read ec_cert2 fail [00.501]secure storage read ec_cert2 fail with:-1 secure storage read ec_cert3 fail [00.508]secure storage read ec_cert3 fail with:-1 secure storage read rsa_key fail [00.515]secure storage read rsa_key fail with:-1 secure storage read rsa_cert1 fail [00.523]secure storage read rsa_cert1 fail with:-1 secure storage read rsa_cert2 fail [00.531]secure storage read rsa_cert2 fail with:-1 secure storage read rsa_cert3 fail [00.538]secure storage read rsa_cert3 fail with:-1 [00.543]usb burn from boot delay time 0 weak:otg_phy_config [00.554]usb prepare ok [01.357]overtime [01.360]do_burn_from_boot usb : no usb exist root_partition is rootfs set root to /dev/mmcblk0p5 [01.370]update part info [01.373]update bootcmd [01.376]change working_fdt 0x43ec0e70 to 0x43ea0e70 disable nand error: FDT_ERR_BADPATH [01.397]update dts Hit any key to stop autoboot: 0 [02.579]no vendor_boot partition is found Android's image name: t113-100ask [02.590]Starting kernel ... [02.593][mmc]: MMC Device 2 not found [02.596][mmc]: mmc 2 not find, so not exit [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61 (qinhao@ubuntu) (arm-openwrt-linux-muslgnueabi-gcc.bin (OpenWrt/Linaro GCC 6.4-2017.11 2017-11) 6.4.1, GNU ld (GNU Binutils) 2.27) #96 SMP PREEMPT Fri Jul 28 00:48:06 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: sun8iw20 [ 0.000000] printk: bootconsole [earlycon0] enabled [ 0.001710] /cpus/cpu@0 missing clock-frequency property [ 0.007046] /cpus/cpu@1 missing clock-frequency property [ 0.099139] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pc not found, using dummy regulator [ 0.109405] spi spi0: spi0 supply spi not found, using dummy regulator [ 0.116110] sunxi_spi_resource_get()2161 - [spi0] SPI MASTER MODE [ 0.122279] sunxi_spi_resource_get()2199 - Failed to get sample mode [ 0.128653] sunxi_spi_resource_get()2204 - Failed to get sample delay [ 0.135085] sunxi_spi_resource_get()2208 - sample_mode:-1431633921 sample_delay:-1431633921 [ 0.143520] sunxi_spi_clk_init()2250 - [spi0] mclk 100000000 [ 0.149755] sunxi_spi_probe()2663 - [spi0]: driver probe succeed, base c881f000, irq 40 [ 0.206032] disp 5000000.disp: 5000000.disp supply vcc-lcd not found, using dummy regulator [ 0.214597] disp 5000000.disp: 5000000.disp supply vcc-pd not found, using dummy regulator [ 0.228173] display_fb_request,fb_id:0 [ 0.234403] [DISP] Fb_copy_boot_fb,line:1443: [ 0.234407] no boot_fb0 [ 0.241665] disp_al_manager_apply ouput_type:0 [ 0.247413] [DISP] lcd_clk_config,line:732: [ 0.247425] disp 0, clk: pll(198000000),clk(198000000),dclk(33000000) dsi_rate(198000000) [ 0.247425] clk real:pll(288000000),clk(288000000),dclk(48000000) dsi_rate(0) [ 0.247663] sunxi_sid_init()551 - insmod ok [ 0.252451] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pd not found, using dummy regulator [ 0.268340] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pb not found, using dummy regulator [ 0.291532] uart uart3: get regulator failed [ 0.295807] uart uart3: uart3 supply uart not found, using dummy regulator [ 0.302973] sw_console_setup()1808 - console setup baud 115200 parity n bits 8, flow n ▒[ 0.486898] [DISP] disp_device_attached_and_enable,line:233: [ 0.486903] attached ok, mgr0<-->dev0 [ 0.497402] [DISP] disp_device_attached_and_enable,line:236: [ 0.497410] type:1,mode:0,fmt:rgb,bits:8bits,eotf:4,cs:0 dvi_hdmi:2, range:2 scan:0 ratio:8 [ 0.515034] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pe not found, using dummy regulator [ 0.527589] Failed to alloc md5 [ 0.531122] eth0: Use random mac address [ 0.535923] sunxi-ehci: EHCI SUNXI driver [ 0.540840] sunxi-ohci: OHCI SUNXI driver [ 0.545988] sunxi cedar version 1.1 [ 0.581686] debugfs: Directory '203034c.dummy_cpudai' with parent 'audiocodec' already present! [ 0.591588] [SNDCODEC][sunxi_card_init][583]:card init finished [ 0.617802] sun8iw20-pinctrl 2000000.pinctrl: 2000000.pinctrl supply vcc-pg not found, using dummy regulator [ 0.629294] sunxi-i2c sunxi-i2c1: sunxi-i2c1 supply twi not found, using dummy regulator [ 0.640322] rtc-rx8010 1-0032: Frequency stop was detected [ 0.646950] rtc-rx8010 1-0032: Frequency stop detected [ 0.653163] rtc-rx8010 1-0032: Frequency stop detected [ 0.658960] rtc-rx8010 1-0032: hctosys: unable to read the hardware clock [ 0.669009] debugfs: Directory '2031000.dmic' with parent 'snddmic' already present! [ 0.679042] get ehci0-controller wakeup-source is fail. [ 0.685014] sunxi ehci0-controller don't init wakeup source [ 0.691335] [sunxi-ehci0]: probe, pdev->name: 4101000.ehci0-controller, sunxi_ehci: 0xc0b5e2b0, 0x:c8885000, irq_no:38 [ 0.703356] [sunxi-ehci0]: Not init ehci0 [ 0.708191] get ohci0-controller wakeup-source is fail. [ 0.714158] sunxi ohci0-controller don't init wakeup source [ 0.720441] [sunxi-ohci0]: probe, pdev->name: 4101400.ohci0-controller, sunxi_ohci: 0xc0b5e540 [ 0.730124] [sunxi-ohci0]: Not init ohci0 [ 0.734944] get ehci1-controller wakeup-source is fail. [ 0.740908] sunxi ehci1-controller don't init wakeup source [ 0.747206] [sunxi-ehci1]: probe, pdev->name: 4200000.ehci1-controller, sunxi_ehci: 0xc0b5e7d0, 0x:c88a1000, irq_no:3a [ 0.759426] sunxi-ehci 4200000.ehci1-controller: 4200000.ehci1-controller supply hci not found, using dummy regulator [ 0.798311] get ohci1-controller wakeup-source is fail. [ 0.804320] sunxi ohci1-controller don't init wakeup source [ 0.810601] [sunxi-ohci1]: probe, pdev->name: 4200400.ohci1-controller, sunxi_ohci: 0xc0b5ea60 [ 0.820515] sunxi-ohci 4200400.ohci1-controller: 4200400.ohci1-controller supply hci not found, using dummy regulator [ 0.902814] sun8iw20-pinctrl 2000000.pinctrl: pin PB6 already requested by 2500c00.uart; cannot claim for 2000000.pinctrl:38 [ 0.915482] sun8iw20-pinctrl 2000000.pinctrl: pin-38 (2000000.pinctrl:38) status -22 [ 0.926396] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2 [ 0.926755] clk: Not disabling unused clocks [ 0.940902] alloc_fd: slot 0 not NULL! [ 0.945472] VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6 [ 0.954185] Please append a correct "root=" boot option; here are the available partitions: [ 0.963570] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 0.972845] CPU0: stopping [ 0.975883] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.4.61 #96 [ 0.982617] Hardware name: Generic DT based system [ 0.988010] [<c010de4c>] (unwind_backtrace) from [<c010a5f4>] (show_stack+0x10/0x14) [ 0.996703] [<c010a5f4>] (show_stack) from [<c067cf68>] (dump_stack+0x88/0xa4) [ 1.004810] [<c067cf68>] (dump_stack) from [<c010c234>] (handle_IPI+0xe4/0x180) [ 1.013015] [<c010c234>] (handle_IPI) from [<c0341594>] (gic_handle_irq+0x70/0x78) [ 1.021511] [<c0341594>] (gic_handle_irq) from [<c01021cc>] (__irq_svc+0x6c/0xa8) [ 1.029903] Exception stack(0xc0a01f40 to 0xc0a01f88) [ 1.035572] 1f40: 000004a8 c76b9334 00000000 c0114740 00000001 c0a00000 c0a03de8 c0a03e24 [ 1.044748] 1f60: c0a43000 c77ff600 c09280c0 00000000 c0b497d0 c0a01f90 c0107f48 c0107f38 [ 1.053919] 1f80: 60000113 ffffffff [ 1.057836] [<c01021cc>] (__irq_svc) from [<c0107f38>] (arch_cpu_idle+0x1c/0x38) [ 1.066139] [<c0107f38>] (arch_cpu_idle) from [<c013d3dc>] (do_idle+0xd4/0x128) [ 1.074342] [<c013d3dc>] (do_idle) from [<c013d6c8>] (cpu_startup_entry+0x18/0x20) [ 1.082840] [<c013d6c8>] (cpu_startup_entry) from [<c0900c74>] (start_kernel+0x358/0x3e8) [ 1.092018] [<c0900c74>] (start_kernel) from [<00000000>] (0x0) [ 1.098664] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
-
@qinhao4832 在 T113 TF卡启动,上电没反应,需要按复位键,才能启动。 中说:
[ 0.945472] VFS: Cannot open root device "mmcblk0p5" or unknown-block(0,0): error -6
没有生成卡分区
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号