在线时间13 小时
UID3183678
注册时间2015-11-24
NXP金币0
该用户从未签到
注册会员

- 积分
- 78
- 最后登录
- 2016-6-27
|
本帖最后由 小智MM 于 2016-3-22 10:26 编辑
uboot二进制文件拷贝到emmc,只能通过MFG烧吗?
我sd卡启动系统后,通过dd命令把uboot烧到emmc上,然后拨码到emmc启动方式启动后,uboot起来了, 但提示MMC: no card present,
下面是emmc启动后打印
U-Boot 2014.04-08650-g5b983bd-dirty (Feb 24 2016 - 02:25:13)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
CPU: Temperature 31 C, calibration data: 0x5734dd69
Reset cause: POR
Board: MX6-SabreSD
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
MMC Device 2 not found
No MMC card found
Using default environment
phy link never came up
DEBUG_R0: 0x00601a00, DEBUG_R1: 0x08200000
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
Net: @=====phy_realtek_init 1==
@=====phy_realtek_init enter==
@=====phy_register 233==
@=====phy_register 233==
@=====phy_register 233==
@=====phy_realtek_init enter end==
@=====phy_realtek_init 2==
Phy not found
PHY reset timed out
FEC [PRIME]
Warning: failed to set MAC address
Normal Boot
Hit any key to stop autoboot: 0
MMC: no card present
mmc0(part 0) is current device
MMC: no card present
Booting from net ...
*** ERROR: `ethaddr' not set
WARN: Cannot load the kernel image
=>
执行 mmc命令
=> mmcinfo
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
=>
=> mmc list
FSL_SDHC: 0
FSL_SDHC: 1
=>
=> mmc dev 0
MMC: no card present
mmc0(part 0) is current device
=>
=> mmc dev 1
MMC: no card present
mmc1(part 0) is current device
=>
更改uboot参数,提示无法写入
=> setenv bootargs_base 'setenv bootargs console=ttymxc0,115200'
=> saveenv
MMC Device 2 not found
No MMC card found
=>
请问是什么原因呢,是否emmc里面的uboot不能和sd卡的uboot一样吗?必须要重新编译uboot指定emmc dev 为0 吗?
|
|