D1 SD卡启动失败,概率100%
-
log如下:
[69]HELLO! BOOT0 is starting! [72]BOOT0 commit : 88480af [75]set pll start [76]fix vccio detect value:0xc0 [79]periph0 has been enabled [82]set pll end [84][pmu]: bus read error [86]board init ok [88]get_pmu_exist() = -1 [90]ddr_efuse_type: 0x0 [93]trefi:7.8ms [95][AUTO DEBUG] single rank and full DQ! [99]ddr_efuse_type: 0x0 [101]trefi:7.8ms [104][AUTO DEBUG] rank 0 row = 15 [107][AUTO DEBUG] rank 0 bank = 8 [110][AUTO DEBUG] rank 0 page size = 2 KB [114]DRAM BOOT DRIVE INFO: V0.33 [117]DRAM CLK = 480 MHz [119]DRAM Type = 3 (2:DDR2,3:DDR3) [122]DRAMC ZQ value: 0x7b7bfb [125]DRAM ODT value: 0x42. [128]ddr_efuse_type: 0x0 [131]DRAM SIZE =512 M [133]dram_tpr4:0x0 [134]PLL_DDR_CTRL_REG:0xf8002700 [137]DRAM_CLK_REG:0xc0000000 [140][TIMING DEBUG] MR2= 0x18 [145]DRAM simple test OK. [147]dram size =512 [149]card no is 0 [151]sdcard 0 line count 4 [153][mmc]: mmc driver ver 2021-04-2 16:45 [163][mmc]: Wrong media type 0x0 [165][mmc]: ***Try SD card 0*** [175][mmc]: HSSDR52/SDR25 4 bit [178][mmc]: 50000000 Hz [181][mmc]: 14916 MB [182][mmc]: ***SD/MMC 0 init OK!!!*** [233]Loading boot-pkg Succeed(index=0). [236]Entry_name = opensbi [239]Entry_name = u-boot [243]Entry_name = dtb [246]mmc not para [247]Jump to second Boot. OpenSBI auto-t113-linux-V0.8-3-ge39e937 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : T-HEAD Xuantie Platform Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x41fc0400 Firmware Size : 75 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000041fc0000-0x0000000041fdffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X) PMP3 : 0x0000000000020000-0x0000000000027fff (A,[00.328][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.334][mmc]: get sdc_type fail and use default host:tm1. [00.340][mmc]: can't find node "mmc0",will add new node [00.345][mmc]: fdt err returned <no error> [00.349][mmc]: Using default timing para [00.352][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.370][mmc]: card_caps:0x30000002 [00.373][mmc]: host_caps:0x3000003f [00.427]set disp.dev2_output_type fail. using defval=0 [00.453]set disp.fb0_rot_used fail. using defval=0 [00.458]set disp.fb0_rot_degree fail. using defval=0 [00.642]out of usb burn from boot: not need burn key [00.647]Item0 (Map) magic is bad [00.650]the secure storage item0 copy0 magic is bad [00.656]Item0 (Map) magic is bad [00.658]the secure storage item0 copy1 magic is bad [00.663]Item0 (Map) magic is bad [00.674]The storage not support sample function [00.749]dts_get_dsp_memory: no /reserved-memory/dsp0 in fdt [00.754]dts_get_dsp_memory fail [01.099]no vendor_boot partition is found [01.311] Starting kernel ... [01.314][mmc]: MMC Device 2 not found [01.317][mmc]: mmc 2 not find, so not exit [ 0.210646] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 0.218056] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 0.294604] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 0.302321] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 0.314643] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.322283] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.329918] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.337553] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.382203] sunxi-i2c sunxi-i2c2: Address + Read bit transmitted, ACK not received [ 0.390657] sunxi-i2c sunxi-i2c2: engine mode: I2C BUS error state is 0x48 [ 0.398485] sunxi-i2c sunxi-i2c2: engine-mode: xfer failed(dev addr:0x38) [ 0.416829] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) [ 0.426055] CPU: 0 PID: 1 Comm: swapper Not tainted 5.4.61 #1 [ 0.432454] Call Trace: [ 0.435198] [<ffffffe00002a3ee>] walk_stackframe+0x0/0xa0 [ 0.441216] [<ffffffe00002a5d0>] show_stack+0x2a/0x34 [ 0.446850] [<ffffffe0004f52a8>] dump_stack+0x20/0x28 [ 0.452482] [<ffffffe00002f396>] panic+0xee/0x2b6 [ 0.457727] [<ffffffe000000ed6>] mount_block_root+0x1ee/0x28a [ 0.464131] [<ffffffe000000ff8>] mount_root+0x86/0x90 [ 0.469761] [<ffffffe000001112>] prepare_namespace+0x110/0x152 [ 0.476263] [<ffffffe000000b74>] kernel_init_freeable+0x17e/0x19a [ 0.483060] [<ffffffe000508bb6>] kernel_init+0x12/0xee [ 0.488788] [<ffffffe000029038>] ret_from_exception+0x0/0xc [ 0.495007] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
-
@yixintai 在 D1 SD卡启动失败,概率100% 中说:
[ 0.294604] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 0.302321] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !!
[ 0.314643] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 0.322283] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 0.329918] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!
[ 0.337553] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !!这张卡烧官方固件正常吗?
-
@whycan 卡是正常的,使用其他固件都可以。也换过很多卡,都遇到这种问题。都是使用PhonenixCrad制作启动卡
-
@yixintai
那SDK你改过什么呢? -
@whycan 默认编译,什么都不改d1-h-nezha_min
-
@yixintai
那先换张卡吧 -
@whycan 上面说过,换过很多卡了,跟卡无关。
-
@yixintai
那麻烦把 img 固件传上来,我烧一个看看。 -
-
@yixintai 在 D1 SD卡启动失败,概率100% 中说:
[87]HELLO! BOOT0 is starting! [90]BOOT0 commit : 88480af [92]set pll start [94]fix vccio detect value:0xc0 [97]periph0 has been enabled [100]set pll end [101][pmu]: bus read error [104]board init ok [106]get_pmu_exist() = -1 [108]ddr_efuse_type: 0x0 [111]trefi:7.8ms [113][AUTO DEBUG] two rank and full DQ! [117]ddr_efuse_type: 0x0 [119]trefi:7.8ms [122][AUTO DEBUG] rank 0 row = 15 [125][AUTO DEBUG] rank 0 bank = 8 [128][AUTO DEBUG] rank 0 page size = 2 KB [132][AUTO DEBUG] rank 1 row = 15 [135][AUTO DEBUG] rank 1 bank = 8 [138][AUTO DEBUG] rank 1 page size = 2 KB [142]rank1 config same as rank0 [145]DRAM BOOT DRIVE INFO: V0.33 [148]DRAM CLK = 480 MHz [150]DRAM Type = 3 (2:DDR2,3:DDR3) [153]DRAMC ZQ value: 0x7b7bfb [156]DRAM ODT value: 0x42. [159]ddr_efuse_type: 0x0 [162]DRAM SIZE =1024 M [164]dram_tpr4:0x0 [166]PLL_DDR_CTRL_REG:0xf8002700 [169]DRAM_CLK_REG:0xc0000000 [171][TIMING DEBUG] MR2= 0x18 [176]DRAM simple test OK. [179]dram size =1024 [181]card no is 0 [182]sdcard 0 line count 4 [185][mmc]: mmc driver ver 2021-04-2 16:45 [194][mmc]: Wrong media type 0x0 [197][mmc]: ***Try SD card 0*** [210][mmc]: HSSDR52/SDR25 4 bit [212][mmc]: 50000000 Hz [215][mmc]: 1876 MB [217][mmc]: ***SD/MMC 0 init OK!!!*** [276]Loading boot-pkg Succeed(index=0). [279]Entry_name = opensbi [282]Entry_name = u-boot [286]Entry_name = dtb [289]mmc not para [290]Jump to second Boot. OpenSBI auto-t113-linux-V0.8-3-ge39e937 ____ _____ ____ _____ / __ \ / ____| _ \_ _| | | | |_ __ ___ _ __ | (___ | |_) || | | | | | '_ \ / _ \ '_ \ \___ \| _ < | | | |__| | |_) | __/ | | |____) | |_) || |_ \____/| .__/ \___|_| |_|_____/|____/_____| | | |_| Platform Name : T-HEAD Xuantie Platform Platform HART Features : RV64ACDFIMSUVX Platform Max HARTs : 1 Current Hart : 0 Firmware Base : 0x41fc0400 Firmware Size : 75 KB Runtime SBI Version : 0.2 MIDELEG : 0x0000000000000222 MEDELEG : 0x000000000000b1ff PMP0 : 0x0000000041fc0000-0x0000000041fdffff (A) PMP1 : 0x0000000040000000-0x000000007fffffff (A,R,W,X) PMP2 : 0x0000000080000000-0x00000000bfffffff (A,R,W,X) PMP3 : 0x0000000000020000-0x0000000000027fff (A,▒[00.371][mmc]: mmc driver ver uboot2018:2021-12-20 13:35:00 [00.377][mmc]: get sdc_type fail and use default host:tm1. [00.383][mmc]: can't find node "mmc0",will add new node [00.388][mmc]: fdt err returned <no error> [00.392][mmc]: Using default timing para [00.395][mmc]: SUNXI SDMMC Controller Version:0x50310 [00.416][mmc]: card_caps:0x3000000a [00.419][mmc]: host_caps:0x3000003f [00.464]set disp.dev2_output_type fail. using defval=0 [00.491]set disp.fb0_rot_used fail. using defval=0 [00.495]set disp.fb0_rot_degree fail. using defval=0 [00.685]out of usb burn from boot: not need burn key [00.695]Item0 (Map) magic is bad [00.698]the secure storage item0 copy0 magic is bad [00.708]Item0 (Map) magic is bad [00.711]the secure storage item0 copy1 magic is bad [00.716]Item0 (Map) magic is bad [01.563]The storage not support sample function [01.620]dts_get_dsp_memory: no /reserved-memory/dsp0 in fdt [01.625]dts_get_dsp_memory fail [01.830]no vendor_boot partition is found [02.043] Starting kernel ... [02.046][mmc]: MMC Device 2 not found [02.049][mmc]: mmc 2 not find, so not exit [ 0.212672] sunxi-rfkill soc@3000000:rfkill@0: get gpio chip_en failed [ 0.220084] sunxi-rfkill soc@3000000:rfkill@0: get gpio power_en failed [ 0.301259] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 0.309005] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 52, RTO !! [ 0.321264] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.328932] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.336517] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! [ 0.344171] sunxi-mmc 4021000.sdmmc: smc 1 p1 err, cmd 5, RTO !! formating /dev/by-name/UDISK to ext4 /etc/preinit: line 1: mkfs.ext4: not found [ 7.286489] block: extroot: cannot find device UDISK Please press Enter to activate this console. [ 9.408310] configfs-gadget 4100000.udc-controller: failed to start g1: -19 [ 12.891002] ======== XRADIO WIFI OPEN ======== [ 12.897389] [XRADIO] Driver Label:XR_V02.16.85_P2P_HT40_01.31 [ 12.904585] [XRADIO] Allocated hw_priv @ (____ptrval____) [ 13.246950] [XRADIO] Detect SDIO card 1 [ 13.283677] [SBUS] XRadio Device:sdio clk=50000000 [ 13.291391] [XRADIO] XRADIO_HW_REV 1.0 detected. [ 13.397745] [XRADIO] xradio_update_dpllctrl: DPLL_CTRL Sync=0x00c00000. [ 13.483530] [XRADIO] Bootloader complete [ 13.676308] [XRADIO] Firmware completed. [ 13.682888] [WSM] Firmware Label:XR_C09.08.52.73_DBG_02.122 2GHZ HT40 May 18 2021 13:36:09 [ 13.700485] [XRADIO] Firmware Startup Done. [ 13.705712] [XRADIO_WRN] enable Multi-Rx! kmodloader done [ 14.564957] ieee80211_do_open: vif_type=2, p2p=0, ch=3, addr=8c:3b:fb:a2:39:ce [ 14.600626] [STA] !!!xradio_vif_setup: id=0, type=2, p2p=0, addr=8c:3b:fb:a2:39:ce [ 14.621872] [AP_WRN] BSS_CHANGED_ASSOC but driver is unjoined. BusyBox v1.27.2 () built-in shell (ash) _____ _ __ _ |_ _||_| ___ _ _ | | |_| ___ _ _ _ _ | | _ | || | | |__ | || || | ||_'_| | | | || | || _ | |_____||_||_|_||___||_,_| |_| |_||_|_||_|_| Tina is Based on OpenWrt! ---------------------------------------------- Tina Linux (Neptune, 61CC0487) ---------------------------------------------- root@TinaLinux:/# root@TinaLinux:/#
我这里一切正常.
-
@yixintai 注意烧卡时候选择烧启动卡。你这是烧了量产卡吧
-
@lovexulu 是启动卡,@whycan晕哥 谢谢,我检查一下板子
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号