1、am335x_evm.h
注释/* #define CONFIG_PHY_SMSC */,我们使用AR8035芯片
board.c
#ifdef CONFIG_BOARD_LATE_INIT
int board_late_init(void)
{
#ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
#if 0
char *name = NULL;
if (board_is_bbg1())
name = "BBG1";
set_board_info_env(name);
/*
* Default FIT boot on HS devices. Non FIT images are not allowed
* on HS devices.
*/
if (get_device_type() == HS_DEVICE)
setenv("boot_fit", "1");
#endif
#endif
修改am335x_evm.h
#define BOOT_TARGET_DEVICES(func) \
/* func(MMC, mmc, 0) \
func(LEGACY_MMC, legacy_mmc, 0) \
func(MMC, mmc, 1) \
func(LEGACY_MMC, legacy_mmc, 1) \
*/ func(NAND, nand, 0) /*\
func(PXE, pxe, na) \
func(DHCP, dhcp, na)*/
昨天的data abort消失了!!!
需要调整mtdparts下的分区