您尚未登录。

楼主 # 2024-10-12 20:28:12

人才就是我
会员
注册时间: 2024-10-05
已发帖子: 18
积分: 13

a33 全志uboot启动无法读取emmc

根据坛友“全志A33 主线u-boot/Linux入坑记录    https://whycan.com/t_3643.html”教程编译的uboot,一个智能音箱里面自带整套程序,想移植个支持ums命令的uboot临时写入内存,然后拷贝emmc的镜像,按着教程编译的uboot用sunxi-tools的sunxi-fei写入,启动能正常进uboot,但emmc显示Card did not respond to voltage select!

移植的uboot开机跑码信息如下:
CPU:   Allwinner A33 (SUN8I 1667)
Model: Sinlinx SinA33
DRAM:  512 MiB
MMC:   MMC0: 01c20060 = 0x1004140, 01c20088 = 0x0, 01c202c0 = 0x1004140
MMC2: 01c20060 = 0x1004540, 01c20090 = 0x0, 01c202c0 = 0x1004540
mmc@1c0f000: 0, mmc@1c11000: 1
Loading Environment from FAT... Card did not respond to voltage select!
Setting up a 1024x600 lcd console (overscan 0x0)
In:    serial
Out:   vga
Err:   vga
Allwinner mUSB OTG (Peripheral)
Net:   
Warning: usb_ether using MAC address from ROM
eth0: usb_ether
starting USB...
USB0:   USB EHCI 1.00
USB1:   USB OHCI 1.0
scanning bus 0 for devices... 1 USB Device(s) found
scanning bus 1 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot:  0





原版uboot开机启动信息如下:
33] boot0 version : 4.0.0
[0.698] Jump to secend Boot.
[      0.700]U-Boot 2011.09-rc1-00011-gf4458ab-dirty (Feb 26 2018 - 11:29:40) Allwinner Technology
[      0.925][mmc]: mmc driver ver 2014-12-10 9:23:00
[      0.930][mmc]: get sdc_phy_wipe fail.
[      0.933][mmc]: get sdc0 sdc_erase fail.
[      0.937][mmc]: get sdc_2xmode ok, val = 1
[      0.942][mmc]: get sdc_ddrmode ok, val = 1
[      0.946][mmc]: get sdc_f_max fail,use default  50000000Hz
[      0.951][mmc]: get card_line ok, card_line = 8
[      0.956][mmc]: get sdc_ex_dly_used fail,use default
[      0.961][mmc]: SUNXI SD/MMC: 2[      0.974][mmc]: *Try SD card 2*
[      0.977][mmc]: mmc 2 cmd 8 err 100
[      0.983][mmc]: mmc send if cond failed
[      0.987][mmc]: mmc 2 cmd 55 err 100
[      0.992][mmc]: send app cmd failed
[      0.995][mmc]: *Try MMC card 2*
[      1.035][mmc]: ddr8
[      1.049][mmc]: CID 0x15010034 0x46504433 0x520212ed 0xb2b46459
[      1.054][mmc]: MMC ver 5.0
[      1.057][mmc]: mmc clk 50000000
[      1.060][mmc]: SD/MMC Card: 8bit, capacity: 3728MB
[      1.065][mmc]: boot0 capacity: 4000KB,boot1 capacity: 4000KB
[      1.071][mmc]: ***SD/MMC 2 init OK!!!***
[      1.076][mmc]: erase_grp_size:0x400WrBlk * 0x200 = 0x80000 Byte
[      1.081][mmc]: secure_feature 0x55
[      1.085][mmc]: secure_removal_type  0x9
In:    serial
Out:   serial
Err:   serial
[      4.405][mmc]: blkcnt should not be 0
sun8iw5p1 s_i2c >>>

[      7.967][mmc]: mmc exit start
[      7.983][mmc]: mmc 2 cmd 8 err 100
[      7.988][mmc]: mmc send if cond failed
[      7.992][mmc]: mmc 2 cmd 55 err 100
[      7.997][mmc]: send app cmd failed
[      8.009][mmc]: get sdc_phy_wipe fail.
[      8.013][mmc]: get sdc0 sdc_erase fail.
[      8.016][mmc]: get sdc_2xmode ok, val = 1
[      8.021][mmc]: get sdc_ddrmode ok, val = 1
[      8.025][mmc]: get sdc_f_max fail,use default  50000000Hz
[      8.030][mmc]: get card_line ok, card_line = 8
[      8.035][mmc]: get sdc_ex_dly_used fail,use default
[      8.040][mmc]: mmc 2 exit ok
[      8.043]Starting kernel ...



各位大佬,是在编译的时候哪里还要再设置吗?怎么才能读写emmc

离线

#1 2024-10-13 08:07:21

astankvai
会员
注册时间: 2021-02-23
已发帖子: 54
积分: 54

Re: a33 全志uboot启动无法读取emmc

EMMC是哪个品牌的?可能是驱动的兼容性问题, 正常换WINBOND/GD试下。 小品牌的可能会有这种问题。

离线

楼主 #2 2024-10-13 17:11:45

人才就是我
会员
注册时间: 2024-10-05
已发帖子: 18
积分: 13

Re: a33 全志uboot启动无法读取emmc

astankvai 说:

EMMC是哪个品牌的?可能是驱动的兼容性问题, 正常换WINBOND/GD试下。 小品牌的可能会有这种问题。

你好,是三星的emmc,换Winbond/gd是在哪里操作   🤣

离线

页脚

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

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