This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
大家好:
之前sdk6.0的烧写,按照文档的描述已经得到验证,现在换sdk7.0版本参照Sitara Linux Program the eMMC on Beaglebone Black这个文档出现错误,log如下:
TFTP from server 192.168.100.1; our IP address is 192.168.100.2
Filename 'u-boot-restore.img'.
Load address: 0x807fffc0
Loading: ###########################
785.2 KiB/s
done
Bytes transferred = 390016 (5f380 hex)
U-Boot 2013.10-00189-g78d8ebd-dirty (Jan 19 2015 - 10:22:35)
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Error - No Valid Environment Area found
*** Warning - bad CRC, using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
mmc0(part 0) is current device
Scanning mmc 0...
Card did not respond to voltage select!
** Bad device mmc 0 **
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
mmc1(part 0) is current device
SD/MMC found on device 1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** No partition table - mmc 1 **
Booting from nand ...
no devices available
no devices available
Bad Linux ARM zImage magic!
U-Boot# <INTERRUPT>
请各位帮帮忙,这个该怎么设置。
和楼主的一样,找不到zImage
U-Boot 2013.10-00189-g78d8ebd-dirty (Jan 19 2015 - 10:22:35)
I2C: ready
DRAM: 512 MiB
NAND: 0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
*** Error - No Valid Environment Area found
*** Warning - bad CRC, using default environment
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
mmc0(part 0) is current device
Scanning mmc 0...
Card did not respond to voltage select!
** Bad device mmc 0 **
Card did not respond to voltage select!
mmc0(part 0) is current device
Card did not respond to voltage select!
mmc1(part 0) is current device
SD/MMC found on device 1
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
** No partition table - mmc 1 **
Booting from nand ...
no devices available
no devices available
Bad Linux ARM zImage magic!
我现在已经成功了大半,每次从emmc启动如果uboot中不输入命令就无法找到zImage,打印信息如下,每次必须要在启动时在uboot中手动输入run mmc_boot才能启动,这应该是uboot的am335x_evm.h设置没有正确配置所致,请问TI员工如果设置可以emmc顺利启动,不用输入命令
U-Boot 2013.10-00189-g78d8ebd (Nov 17 2015 - 15:01:02)
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
Net: cpsw, usb_ether
Hit any key to stop autoboot: 0
Card did not respond to voltage select!
mmc0(part 0) is current device
Scanning mmc 0...
Card did not respond to voltage select!
** Bad device mmc 0 **
mmc1(part 0) is current device
SD/MMC found on device 1
reading uEnv.txt
** Unable to read file uEnv.txt **
Card did not respond to voltage select!
** Bad device mmc 0 **
mmc1(part 0) is current device
SD/MMC found on device 1
reading uEnv.txt
** Unable to read file uEnv.txt **
3740088 bytes read in 220 ms (16.2 MiB/s)
** File not found /boot/undefined **
Kernel image @ 0x80200000 [ 0x000000 - 0x3911b8 ]
Starting kernel ...
要使用emmc,ti的工程师推荐的uboot编译参数是
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=am335x_evm am335x_boneblack
以此方式编译出来的uboot,即使在am335x_evm.h中修改了fdtfile和devnum等参数,但是启动时却是默认参数,也就是修改am335x_evm.h文件无效,只有编译时以make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=am335x_evm am335x_evm方式,修改am335x_evm.h文件参数才会有效,请问是什么原因