嵌入式爱好者

查看: 12106|回复: 3

[Ubuntu] 1043A SD卡引导失败

[复制链接]

1

主题

2

帖子

7

积分

LS1043A\46A通行证

扫一扫,手机访问本帖
发表于 2020-7-16 17:26:39 | 显示全部楼层 |阅读模式
拨码开关1到SD卡启动,启动日志如下:
Sa U-Boot SPL 2018.03 (Jul 13 2020 - 13:03:51 +0800)
Initialzing DDR using fixed setting
Configuring DDR for 1600 MT/s data rate
Trying to boot from MMC1
unable to select a mode
spl: mmc init failed with error: -524
SPL: failed to boot from all boot devices
### ERROR ### Please RESET the board ###


SD卡是通过这个命令制作的  sudo dd if=firmware_ls1043ardb_uboot_sdboot.img of=/dev/sdb seek=8 bs=512

如果把SD卡拨掉重启就是下面的日志

U-Boot 2018.03 (Jun 02 2020 - 10:41:00 +0800)

SoC:  LS1043AE Rev1.1 (0x87920211)
Clock Configuration:
       CPU0(A53):1600 MHz  CPU1(A53):1600 MHz  CPU2(A53):1600 MHz  
       CPU3(A53):1600 MHz  
       Bus:      400  MHz  DDR:      1600 MT/s  FMAN:     500  MHz
Reset Configuration Word (RCW):
       00000000: 08100010 0a000000 00000000 00000000
       00000010: 14550002 80004012 60040000 c1002000
       00000020: 00000000 00000000 00000000 00238802
       00000030: 20044504 00001002 00000096 00000001
Model: OK1043-C
Board: LS1043ARDB, boot from SD
SERDES Reference Clocks:
SD1_CLK1 = 156.25MHZ, SD1_CLK2 = 100.00MHZ
I2C:   ready
DRAM:  1.9 GiB (DDR4, 32-bit, CL=11, ECC off)
Using SERDES1 Protocol: 5205 (0x1455)
SEC0: RNG instantiated
FSL_SDHC: 0
PPA Firmware: Version LSDK-18.06-Forlinx

MMC read: dev # 0, block # 18952, count 128 ...
Not a microcode
DS2460 OK
MMC:   Loading Environment from MMC... *** Warning - bad CRC, using default environment

Failed (-5)
In:    serial
Out:   serial
Err:   serial
SATA link 0 timeout.
AHCI 0001.0301 32 slots 1 ports 6 Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc apst
Found 0 device(s).
SCSI:  Net:   
MMC read: dev # 0, block # 18432, count 128 ...
Fman1: Uploading microcode version 106.4.18
PCIe0: pcie@3400000 disabled
PCIe1: pcie@3500000 Root Complex: no link
PCIe2: pcie@3600000 Root Complex: no link
FM1@DTSEC1
Warning: FM1@DTSEC1 (eth0) using random MAC address - 42:e8:8f:15:65:0a
Saving Environment to MMC... Writing to MMC(0)... mmc write failed
failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)
Saving Environment to MMC... Writing to MMC(0)... failed
Failed (1)


求解决办法
回复

使用道具 举报

0

主题

100

帖子

289

积分

发表于 2020-7-17 14:19:54 | 显示全部楼层
SD卡只起到引导作用,需要和U盘配合使用,拔掉SD卡的时候U盘您那边还存在吗
点评回复 支持 反对

使用道具 举报

1

主题

2

帖子

7

积分

LS1043A\46A通行证

 楼主| 发表于 2020-7-17 14:47:52 | 显示全部楼层
解决了,换了个SD卡:L

点评

是更换了 SD卡的容量吗  详情 回复 发表于 2022-6-2 15:32
点评回复 支持 反对

使用道具 举报

0

主题

1

帖子

7

积分

LS1043A\46A通行证

发表于 2022-6-2 15:32:19 | 显示全部楼层
zj_wwf 发表于 2020-7-17 14:47
解决了,换了个SD卡

是更换了 SD卡的容量吗
点评回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋| 飞凌嵌入式 ( 冀ICP备12004394号-1 )

GMT+8, 2024-3-29 22:25

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表