|
发表于 2020-11-3 14:48:37
20227 浏览 0 回复
uboot对 eMMC 进行格式化分区命令以及擦除命令失败
本帖最后由 龙哥多少 于 2020-11-4 14:54 编辑
1. 问题背景
由于烧录了错误的uboot,导致系统无法启动,不能烧录系统。
2.尝试过的方法
尝试通过《4.4 开发板出厂前首次烧写》,通过TF卡启动 uboot 成功,但格式 eMMC 报错。
使用 sdfuse flashall 报错。
通过 fdisk -p 0,查看分区。分区信息异常,怀疑是 eMMC 写坏了吗?
3.附:
TF 卡进入 uboot,和格式化 eMMC 的log:
- OK
- U-Boot 2010.03 (Nov 03 2020 - 11:07:14) for iTOP-4412 Android
- APLL = 1000MHz, MPLL = 800MHz
- ARM_CLOCK = 1000MHz
- PMIC: S5M8767(VER5.0)
- Board: iTOP-4412
- DRAM: 1 GB
- MMC: max_emmc_clock:40 MHZ
- Set CLK to 400 KHz
- EMMC CLOCK OUTPUT:: 400KHz -[div:50]
- response timeout error : 00000104 cmd 8
- response timeout error : 00000104 cmd 55
- unrecognised EXT_CSD structure version 8
- [ERROR]Card init fail,so Change mode and try again..!
- [ERROR]go to inital again..!
- FAIL: waiting for status update.
- [ERROR]Card init fail again..So give up mmc initial!
- MMC0: 1024 MB
- SD sclk_mmc is 400K HZ
- SD sclk_mmc is 50000K HZ
- SD sclk_mmc is 50000K HZ
- MMC1: 7580 MB
- *** Warning - using default environment
- In: serial
- Out: serial
- Err: serial
- Checking Boot Mode ... SDMMC
- SYSTEM ENTER NORMAL BOOT MODE
- Hit any key to stop autoboot: 0
- reading kernel.. 1120, 12288
- MMC read: dev # 1, block # 1120, count 12288 ...12288 blocks read: OK
- completed
- reading RFS.. 13408, 2048
- MMC read: dev # 1, block # 13408, count 2048 ...2048 blocks read: OK
- completed
- Wrong Image Format for bootm command
- ERROR: can't get kernel image!
- iTOP-4412 #
- iTOP-4412 #
- iTOP-4412 # fdisk -p 0 // 查看 eMMC的分区失败
- FAIL: waiting for status update.
- mmc read failed
- FAIL: waiting for status update.
- mmc read failed
- FAIL: waiting for status update.
- mmc read failed
- FAIL: waiting for status update.
- mmc read failed
- partion # size(MB) block start # block count partition_Id
- iTOP-4412 #
- iTOP-4412 # fdisk -c 0 // 分区失败
- .FAIL: waiting for status update.
- mmc write failed
- iTOP-4412 #
- iTOP-4412 #
- iTOP-4412 # fdisk -p 0
- there are pending interrupts 0x10,11
- FAIL: waiting for status update.
- mmc read failed
- there are pending interrupts 0x830,11
- FAIL: waiting for status update.
- mmc read failed
- there are pending interrupts 0x20,11
- FAIL: waiting for status update.
- mmc read failed
- FAIL: waiting for status update.
- mmc read failed
- partion # size(MB) block start # block count partition_Id
- 3 -421789 65493 -863825919 0x00
- iTOP-4412 #
复制代码
后续:重新下载 uboot 使用 TF 卡烧录成功。原因应该是自己编译的 uboot 读写 eMMC 异常导致。
|
|
|
|
|
|
|
登录或注册
扫一扫关注迅为公众号
|