您尚未登录。

楼主 # 2022-07-19 11:03:15

小小萌新
会员
注册时间: 2022-07-19
已发帖子: 1
积分: 1

D1s求助,uboot启动错误

麻雀D1s的sd卡烧录自己编译的系统后启动报错,有没有大佬解惑,感激不尽!
自己感觉是board.dts配置有问题,或者sd卡烧录的分区有问题?整不明白,求解惑。
以下是打印的log。

[42]HELLO! BOOT0 is starting!
[44]BOOT0 commit : 88480af
[47]set pll start
[49]periph0 has been enabled
[52]set pll end
[53][pmu]: bus read error
[56]board init ok
[57]ZQ value = 0x2f
[59]get_pmu_exist() = -1
[62]ddr_efuse_type: 0xa
[64]trefi:7.8ms
[66][AUTO DEBUG] single rank and full DQ!
[70]ddr_efuse_type: 0xa
[72]trefi:7.8ms
[74][AUTO DEBUG] rank 0 row = 13
[77][AUTO DEBUG] rank 0 bank = 4
[80][AUTO DEBUG] rank 0 page size = 2 KB
[84]DRAM BOOT DRIVE INFO: V0.33
[87]DRAM CLK = 528 MHz
[89]DRAM Type = 2 (2:DDR2,3:DDR3)
[92]DRAMC read ODT  off.
[95]DRAM ODT off.
[96]ddr_efuse_type: 0xa
[99]DRAM SIZE =64 M
[101]dram_tpr4:0x0
[103]PLL_DDR_CTRL_REG:0xf8002b00
[106]DRAM_CLK_REG:0xc0000000
[108][TIMING DEBUG] MR2= 0x0
[113]DRAM simple test OK.
[115]dram size =64
[117]card no is 0
[119]sdcard 0 line count 4
[121][mmc]: mmc driver ver 2021-04-2 16:45
[130][mmc]: Wrong media type 0x0
[133][mmc]: ***Try SD card 0***
[152][mmc]: HSSDR52/SDR25 4 bit
[155][mmc]: 50000000 Hz
[157][mmc]: 30436 MB
[159][mmc]: ***SD/MMC 0 init OK!!!***
[208]Loading boot-pkg Succeed(index=0).
[212]Entry_name        = opensbi
[215]Entry_name        = u-boot
[219]Entry_name        = dtb
[221]mmc not para
▒223]Jump to second Boot.

U-Boot 2018.05-g24521d6 (Feb 11 2022 - 08:52:39 +0000) Allwinner Technology

[00.232]DRAM:  64 MiB
[00.235]Relocation Offset is: 01ee7000
[00.239]secure enable bit: 0
[00.242]CPU=720 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
[00.248]flash init start
[00.251]workmode = 0,storage type = 1
[00.254][mmc]: mmc driver ver uboot2018:2021-11-19 15:38:00
[00.260][mmc]: get sdc_type fail and use default host:tm1.
FDT ERROR:fdt_get_all_pin:get property handle pinctrl-0 error:FDT_ERR_INTERNAL
[00.272][mmc]: get card0 default pin fail
[00.276][mmc]: can't find node "mmc0",will add new node
[00.281][mmc]: fdt err returned <no error>
[00.284][mmc]: Using default timing para
[00.288][mmc]: sunxi mmc pin set failed!
[00.292]error card no error
[00.294][mmc]: MMC Device -1 not found
fail to find one useful mmc card
initcall sequence 0000000043f91048 failed at call 000000004200e8bc (err=-1)
### ERROR ### Please RESET the board ###

离线

#1 2023-02-06 20:24:43

canxuetian
会员
注册时间: 2022-01-09
已发帖子: 5
积分: 5

Re: D1s求助,uboot启动错误

楼主您好,请问最后解决了吗,我也有这个问题

离线

#2 2023-02-07 13:49:40

jack821119
会员
注册时间: 2022-12-19
已发帖子: 48
积分: 28

Re: D1s求助,uboot启动错误

canxuetian 说:

楼主您好,请问最后解决了吗,我也有这个问题

没找到TF卡。

离线

#3 2023-03-27 23:42:13

ladeng
会员
注册时间: 2023-01-31
已发帖子: 4
积分: 4

Re: D1s求助,uboot启动错误

楼主您好,请问最后解决了吗,我也出现了同样的问题。

离线

#4 2023-03-28 09:25:39

827230081
会员
注册时间: 2023-03-28
已发帖子: 1
积分: 1

Re: D1s求助,uboot启动错误

楼主您好,请问最后解决了吗,我也有这个问题

离线

#5 2023-03-30 20:30:04

ladeng
会员
注册时间: 2023-01-31
已发帖子: 4
积分: 4

Re: D1s求助,uboot启动错误

应该还是配置文件的问题,我是自己仿全志官方做的板子,才开始怀疑是硬件问题,后来用麻雀的固件测试可以启动,但是用全志官方的源码编译的固件就报上面的问题。

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn