gpt4 book ai didi

linux-kernel - uboot-MMC 没有 SD 卡

转载 作者:行者123 更新时间:2023-12-01 02:37:02 25 4
gpt4 key购买 nike

我正在尝试使用在 imx51 飞思卡尔板上运行的 linux rootfs 获取 linux 内核。

我编译了 linux 内核、根文件系统和 u-boot 并将镜像复制到 SD 卡:分区 0:引导分区 1:rootfs 和 linux 内核

但是我有以下错误:

U-Boot 2011.12 (Mar 13 2012 - 14:15:41)

CPU: Freescale i.MX51 family rev3.0 at 800 MHz
Reset cause: POR
Board: MX51EVK
DRAM: 512 MiB
WARNING: Caches not enabled
MMC: FSL_SDHC: 0, FSL_SDHC: 1
MMC: no card present
MMC init failed
Using default environment

In: serial
Out: serial
Err: serial
Net: FEC
Warning: failed to set MAC address

Hit any key to stop autoboot: 0
MX51EVK U-Boot > mmcinfo
MMC: no card present
Device: FSL_SDHC
Manufacturer ID: 0
OEM: 0
Name: Tran Speed: 0
Rd Block Len: 0
MMC version 0.0
High Capacity: No
Capacity: 0 Bytes
Bus Width: 0-bit
MX51EVK U-Boot > mmc init
mmc - MMC sub system

Usage:
mmc read addr blk# cnt
mmc write addr blk# cnt
mmc erase blk# cnt
mmc rescan
mmc part - lists available partition on current mmc device
mmc dev [dev] [part] - show or set current mmc device [partition]
mmc list - lists available devices
MX51EVK U-Boot > mmc list
FSL_SDHC: 0
FSL_SDHC: 1
MX51EVK U-Boot > mmc dev
MMC: no card present
mmc0(part 0) is current device
MX51EVK U-Boot >

可能有什么问题?

最佳答案

检查 DIP 开关,我意识到开关设置为从底部插槽启动 SD 卡,而我一直从顶部插槽启动。因此,它解决了我的问题

关于linux-kernel - uboot-MMC 没有 SD 卡,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9704013/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com