引用: 林宇宣55 发表于 2018-6-4 08:38
根据你的log信息,ms没有去掉EEPROM。
read_eeprom() failure. continuing with ddr3
你可以在board/ti/arm335x/evm.c中的board_init()函数中去掉EEPROM的相关操作。
我现在去掉了EEPROM的相关操作了,还是一样的。而且我感觉跟EEPROM没什么关系。程序运行到函数:(*uboot)(),也就是u-boot.img,就过不去了。但是当我make am335x_evm产生的MLO和make am335x_evm_spiboot产生的u-boot.img 一起放到MMC卡,这时候可以正常启动,进入到u-boot命令行:
U-Boot SPL 2011.09 (Mar 19 2013 - 10:08:40)
Texas Instruments Revision detection unimplemented
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
read_eeprom() failure. continuing with ddr3
No daughter card present
Did not find a recognized configuration, assuming General purpose EVM in Profile 0 with Daughter board
OMAP SD/MMC: 0
reading u-boot.img
U-Boot 2011.09 (Mar 20 2013 - 10:01:42)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
SF: Detected W25Q64 with page size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
U-Boot#
这样的话,应该能表明u-boot.img也没错啊,可是为什么从SPI FLASH读出来后没能正常执行呢?
引用: 林宇宣55 发表于 2018-6-4 08:38
根据你的log信息,ms没有去掉EEPROM。
read_eeprom() failure. continuing with ddr3
你可以在board/ti/arm335x/evm.c中的board_init()函数中去掉EEPROM的相关操作。
我现在去掉了EEPROM的相关操作了,还是一样的。而且我感觉跟EEPROM没什么关系。程序运行到函数:(*uboot)(),也就是u-boot.img,就过不去了。但是当我make am335x_evm产生的MLO和make am335x_evm_spiboot产生的u-boot.img 一起放到MMC卡,这时候可以正常启动,进入到u-boot命令行:
U-Boot SPL 2011.09 (Mar 19 2013 - 10:08:40)
Texas Instruments Revision detection unimplemented
Could not probe the EEPROM; something fundamentally wrong on the I2C bus.
read_eeprom() failure. continuing with ddr3
No daughter card present
Did not find a recognized configuration, assuming General purpose EVM in Profile 0 with Daughter board
OMAP SD/MMC: 0
reading u-boot.img
U-Boot 2011.09 (Mar 20 2013 - 10:01:42)
I2C: ready
DRAM: 256 MiB
WARNING: Caches not enabled
NAND: HW ECC Hamming Code selected
No NAND device found!!!
0 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
SF: Detected W25Q64 with page size 4 KiB, total 8 MiB
*** Warning - bad CRC, using default environment
Net: cpsw
Hit any key to stop autoboot: 0
U-Boot#
这样的话,应该能表明u-boot.img也没错啊,可是为什么从SPI FLASH读出来后没能正常执行呢?
举报