U-Boot OMAP GPMC ECC change

Colin Foster colin.foster at in-advantage.com
Fri May 19 01:19:23 CEST 2023


Hi Roger,

I really appreciate the help!

On Thu, May 18, 2023 at 01:55:38PM +0300, Roger Quadros wrote:
> Hi Colin,
> 
> On 17/05/2023 22:39, Colin Foster wrote:
> > 
> > I swapped in just U-Boot (not the SPL) with your patch, and everything
> > seems to work!
> > 
> > The issue of Uncorrectable ECC errors spam came from the SPL. Here's a
> > snippet of the boot log with the "ecc" print as well as your patch:
> > 
> 
> Thanks for the tests. Glad to hear issue is narrowed down to SPL.

I can "fix" the issue by just commenting out the "ECC uncorrectable
errors" print :-)

> 
> > U-Boot SPL 2023.04-00029-g26a9ce5314-dirty (May 17 2023 - 12:06:49 -0700)
> > OMAP4460-GP ES1.1
> > Trying to boot from NAND
> > ecc: 2420106
> > ecc: ebd922f6
> > ecc: 333f844f
> > ecc: ab812f72
> 
> This is clearly the issue. They should all have been 0.

Interesting. With the "ecc" prints in U-Boot I also get some non-zero
values:

ecc: 0
ecc: 6bff997b
ecc: 6bff997b
ecc: 6bff997b


Once I'm booted, I can use nanddump. It seems like everything is correct
from the Linux side of things:

# nanddump -f mlo_dump /dev/mtd0
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00020000...

# nanddump -f uboot1_dump /dev/mtd1
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00180000...

# nanddump -f uboot2_dump /dev/mtd2
ECC failed: 0
ECC corrected: 0
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x00180000...

# nanddump -f /dev/null /dev/mtd3
ECC failed: 0
ECC corrected: 6
Number of bad blocks: 0
Number of bbt blocks: 0
Block size 131072, page size 2048, OOB size 64
Dumping data starting at 0x00000000 and ending at 0x1fce0000...
ECC: 1 corrected bitflip(s) at offset 0x0ab30800
ECC: 1 corrected bitflip(s) at offset 0x0b008800
ECC: 1 corrected bitflip(s) at offset 0x0deaa000
ECC: 1 corrected bitflip(s) at offset 0x0ea5b000
ECC: 1 corrected bitflip(s) at offset 0x0ecbc000
ECC: 1 corrected bitflip(s) at offset 0x0ed61800


> Can you please share your spl/u-boot.cfg?

Attached

> We have a stripped down driver "am335x_spl_bch.c"
> that deals with NAND at SPL.
> I haven't really looked much at that driver but
> it relies on omap_gpmc.c for
> 
> ecc.hwctl()
> read_buf()
> ecc.calculate()
> 
> We didn't do any functional change to these functions in commit 04fcd25873
> unless something slipped through the cracks.

I'll take a look at am335x_spl_bch.c and look at what I'm doing different.
I was sad to see that `dump_stack()` didn't work off the bat for me.

> 
> It seems to rely on following config options
> 
> CFG_SYS_NAND_ECCPOS
{2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, \
 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, \
 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, \
 33, 34, 35, 36, 37, 38, 39, 40, 41, \
 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, \
 52, 53, 54, 55, 56, 57}


> CONFIG_SYS_NAND_PAGE_COUNT
0x40

> CONFIG_SYS_NAND_PAGE_SIZE
0x800

> CONFIG_SYS_NAND_5_ADDR_CYCLE
1

> CFG_SYS_NAND_ECCSIZE
512

> CFG_SYS_NAND_ECCBYTES
14

> CONFIG_SYS_NAND_OOBSIZE
0x40

> Could you please share what they are set to
> for your SPL build?

All the CFG_* values should be identical for the SPL and U-Boot.

> 
> Meanwhile, I'll try to reproduce this on AM335x-EVM.

If you find anything let me know. I'll keep digging on my side as well.



Colin
-------------- next part --------------
#define CONFIG_CMD_MTD 1
#define CONFIG_ETH 1
#define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1
#define CONFIG_CMD_FAT 1
#define CONFIG_TOOLS_SHA1 1
#define CONFIG_HAVE_TEXT_BASE 1
#define CONFIG_EFI_DEVICE_PATH_UTIL 1
#define CONFIG_CMD_FDT 1
#define CONFIG_OMAP_SERIAL 1
#define CONFIG_NAND_OMAP_GPMC 1
#define CONFIG_SYS_NAND_U_BOOT_OFFS 0x20000
#define CONFIG_BOOTMETH_VBE_SIMPLE 1
#define CONFIG_CMD_ITEST 1
#define CONFIG_ENV_UBI_PART "main"
#define CONFIG_ERR_PTR_OFFSET 0x0
#define CONFIG_BOOTMETH_SCRIPT 1
#define CONFIG_CMD_EDITENV 1
#define CONFIG_SPL_SPRINTF 1
#define CONFIG_NAND_OMAP_ELM 1
#define CONFIG_CMD_MTDPARTS 1
#define CONFIG_EFI_PLATFORM_LANG_CODES "en-US"
#define CONFIG_SPL_NAND_SUPPORT 1
#define CONFIG_CMD_SETEXPR 1
#define CONFIG_TOOLS_SHA384 1
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_TOOLS_OF_LIBFDT 1
#define CONFIG_CMD_BOOTP 1
#define CONFIG_SYS_MEM_TOP_HIDE 0x0
#define CONFIG_CMD_PART 1
#define CONFIG_SPL_LEGACY_IMAGE_FORMAT 1
#define CONFIG_ENV_SUPPORT 1
#define CONFIG_SPL_LOGLEVEL 7
#define CONFIG_SPL_USE_ARCH_MEMSET 1
#define CONFIG_SYS_NAND_DRIVER_ECC_LAYOUT 1
#define CONFIG_HAS_VBAR 1
#define CONFIG_CMD_ENV_EXISTS 1
#define CONFIG_VERSION_VARIABLE 1
#define CONFIG_CMD_CRC32 1
#define CONFIG_SYS_LONGHELP 1
#define CONFIG_SYS_NAND_5_ADDR_CYCLE 1
#define CONFIG_GCC_VERSION 90400
#define CONFIG_SYS_LOAD_ADDR 0x82000000
#define CONFIG_HASH 1
#define CONFIG_USE_ARCH_MEMSET 1
#define CONFIG_DISPLAY_BOARDINFO 1
#define CONFIG_CMD_XIMG 1
#define CONFIG_EXPERT 1
#define CONFIG_SYS_EMIF_PRECALCULATED_TIMING_REGS 1
#define CONFIG_CMDLINE 1
#define CONFIG_BOOTDELAY 2
#define CONFIG_BOOTSTD_FULL 1
#define CONFIG_ARCH_OMAP2PLUS 1
#define CONFIG_CMD_BOOTMETH 1
#define CONFIG_SPL_FS_FAT 1
#define CONFIG_BCH 1
#define CONFIG_NR_DRAM_BANKS 4
#define CONFIG_EFI_PARTITION 1
#define CONFIG_SPL_BSS_LIMIT 1
#define CONFIG_SPL_SEPARATE_BSS 1
#define CONFIG_FS_FAT 1
#define CONFIG_SYS_ARM_CACHE_CP15 1
#define CONFIG_SYS_CBSIZE 1024
#define CONFIG_CMD_UBI 1
#define CONFIG_DM_I2C 1
#define CONFIG_SYS_NAND_ONFI_DETECTION 1
#define CONFIG_FWU_NUM_IMAGES_PER_BANK 2
#define CONFIG_SYS_MONITOR_LEN 0
#define CONFIG_SMC911X_32_BIT 1
#define CONFIG_MD5 1
#define CONFIG_BOOTM_LINUX 1
#define CONFIG_DEFAULT_FDT_FILE "omap4-ia-decoder-card.dtb"
#define CONFIG_OMAP44XX 1
#define CONFIG_CREATE_ARCH_SYMLINK 1
#define CONFIG_CMD_CONSOLE 1
#define CONFIG_SUPPORT_OF_CONTROL 1
#define CONFIG_SPL_STRTO 1
#define CONFIG_BLK 1
#define CONFIG_SYS_CPU "armv7"
#define CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR 1
#define CONFIG_SPL_BOARD_INIT 1
#define CONFIG_SYS_SPD_BUS_NUM 0
#define CONFIG_SPL_STACK_R_ADDR 0x82000000
#define CONFIG_BOOTP_PXE_CLIENTARCH 0x15
#define CONFIG_DM_ETH_PHY 1
#define CONFIG_SUPPORT_ACPI 1
#define CONFIG_SYS_THUMB_BUILD 1
#define CONFIG_SYS_CACHELINE_SIZE 64
#define CONFIG_MMC 1
#define CONFIG_DM_ETH 1
#define CONFIG_MTD_PARTITIONS 1
#define CONFIG_BOOTMETH_GLOBAL 1
#define CONFIG_NFS_TIMEOUT 2000
#define CONFIG_SPL_DISPLAY_PRINT 1
#define CONFIG_SYS_ARM_CACHE_WRITEBACK 1
#define CONFIG_TOOLS_MD5 1
#define CONFIG_EFI_EBBR_2_1_CONFORMANCE 1
#define CONFIG_SYS_XTRACE 1
#define CONFIG_FIT 1
#define CONFIG_MTD 1
#define CONFIG_SPL_LIBCOMMON_SUPPORT 1
#define CONFIG_DYNAMIC_SYS_CLK_FREQ 1
#define CONFIG_TOOLS_FIT_SIGNATURE 1
#define CONFIG_BOOTMETH_VBE_SIMPLE_OS 1
#define CONFIG_MISC_INIT_R 1
#define CONFIG_DISTRO_DEFAULTS 1
#define CONFIG_DM_DEVICE_REMOVE 1
#define CONFIG_SYS_NAND_BLOCK_SIZE 0x20000
#define CONFIG_MMC_WRITE 1
#define CONFIG_SYS_SRAM_BASE 0x0
#define CONFIG_ENV_OVERWRITE 1
#define CONFIG_CMD_NET 1
#define CONFIG_SPL_BSS_MAX_SIZE 0x80000
#define CONFIG_SPL_SIZE_LIMIT 0xc000
#define CONFIG_USB_GADGET_VBUS_DRAW 2
#define CONFIG_CMD_NFS 1
#define CONFIG_SPL_SYS_THUMB_BUILD 1
#define CONFIG_ENV_SIZE 0x40000
#define CONFIG_TOOLS_CRC32 1
#define CONFIG_SUPPORT_RAW_INITRD 1
#define CONFIG_NAND_OMAP_GPMC_PREFETCH 1
#define CONFIG_CMD_FS_GENERIC 1
#define CONFIG_CMD_PING 1
#define CONFIG_SPL_GPIO 1
#define CONFIG_SYS_L2_PL310 1
#define CONFIG_SPL_BUILD 1
#define CONFIG_SPL_PARTITIONS 1
#define CONFIG_SYS_MALLOC_LEN 0x2000000
#define CONFIG_EFI_VAR_BUF_SIZE 16384
#define CONFIG_SYS_I2C_SPEED 100000
#define CONFIG_SERVERIP_FROM_PROXYDHCP_DELAY_MS 100
#define CONFIG_SPL_LIBDISK_SUPPORT 1
#define CONFIG_LOCALVERSION ""
#define CONFIG_USB_EHCI_OMAP 1
#define CONFIG_CMD_MEMINFO 1
#define CONFIG_CUSTOM_SYS_INIT_SP_ADDR 0x4030df00
#define CONFIG_SYS_BOOTM_LEN 0x800000
#define CONFIG_ARCH_SUPPORTS_LTO 1
#define CONFIG_CC_OPTIMIZE_FOR_SIZE 1
#define CONFIG_TFTP_WINDOWSIZE 1
#define CONFIG_REGEX 1
#define CONFIG_EFI_PARTITION_ENTRIES_NUMBERS 128
#define CONFIG_SYS_CONFIG_NAME "ia_decoder_card"
#define CONFIG_TOOLS_FIT 1
#define CONFIG_SPL_SYS_MALLOC_SIMPLE 1
#define CONFIG_SYS_NAND_OOBSIZE 0x40
#define CONFIG_CMD_FLASH 1
#define CONFIG_SPL_SHA1 1
#define CONFIG_USB_OMAP3 1
#define CONFIG_TOOLS_FIT_SIGNATURE_MAX_SIZE 0x10000000
#define CONFIG_CMD_SAVEENV 1
#define CONFIG_SPL_SYS_I2C_LEGACY 1
#define CONFIG_MKIMAGE_DTC_PATH "dtc"
#define CONFIG_SYS_ARM_MMU 1
#define CONFIG_OF_REAL 1
#define CONFIG_USB_HUB_DEBOUNCE_TIMEOUT 1000
#define CONFIG_SPL_TEXT_BASE 0x40300000
#define CONFIG_SYS_NAND_U_BOOT_LOCATIONS 1
#define CONFIG_EFI_UNICODE_COLLATION_PROTOCOL2 1
#define CONFIG_SERIAL_PRESENT 1
#define CONFIG_TOOLS_FIT_PRINT 1
#define CONFIG_SYS_NAND_PAGE_COUNT 0x40
#define CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN 0x100000
#define CONFIG_DM_MMC 1
#define CONFIG_SYS_CONSOLE_INFO_QUIET 1
#define CONFIG_SPL_NAND_DRIVERS 1
#define CONFIG_CMD_NAND 1
#define CONFIG_SPL_EFI_PARTITION 1
#define CONFIG_BUILD_TARGET ""
#define CONFIG_OF_LIST "omap4-ia-decoder-card"
#define CONFIG_SPL_SHARES_INIT_SP_ADDR 1
#define CONFIG_SPL_CRC32 1
#define CONFIG_DM_DEV_READ_INLINE 1
#define CONFIG_DM_MTD 1
#define CONFIG_ENV_UBI_VID_OFFSET 0
#define CONFIG_DM_WARN 1
#define CONFIG_GPIO_EXTRA_HEADER 1
#define CONFIG_BOOTP_DNS 1
#define CONFIG_TOOLS_FIT_FULL_CHECK 1
#define CONFIG_CMD_MEMORY 1
#define CONFIG_SYS_MAXARGS 16
#define CONFIG_MMC_HW_PARTITIONING 1
#define CONFIG_SPL_MTD_SUPPORT 1
#define CONFIG_SUPPORT_SPL 1
#define CONFIG_CMD_RUN 1
#define CONFIG_LMB_USE_MAX_REGIONS 1
#define CONFIG_SYS_PBSIZE 1044
#define CONFIG_ENV_VARS_UBOOT_CONFIG 1
#define CONFIG_SPL_SYS_STACK_F_CHECK_BYTE 0xaa
#define CONFIG_USB 1
#define CONFIG_BOOTP_HOSTNAME 1
#define CONFIG_CMD_SLEEP 1
#define CONFIG_LMB_MAX_REGIONS 16
#define CONFIG_USB_EHCI_HCD 1
#define CONFIG_CMD_SPL_WRITE_SIZE 0x2000
#define CONFIG_POWER 1
#define CONFIG_CPU_V7A 1
#define CONFIG_ENV_MIN_ENTRIES 64
#define CONFIG_NET 1
#define CONFIG_BLOCK_CACHE 1
#define CONFIG_TARGET_OMAP4_IA_DECODER 1
#define CONFIG_SPL_NAND_AM33XX_BCH 1
#define CONFIG_OF_LIBFDT 1
#define CONFIG_TFTP_BLOCKSIZE 1468
#define CONFIG_PHYLIB 1
#define CONFIG_GENERATE_SMBIOS_TABLE 1
#define CONFIG_CMDLINE_EDITING 1
#define CONFIG_CMD_USB 1
#define CONFIG_SPL_TARGET ""
#define CONFIG_DM_SERIAL 1
#define CONFIG_SYS_CONSOLE_IS_IN_ENV 1
#define CONFIG_CMD_EXT2 1
#define CONFIG_CMD_EXT4 1
#define CONFIG_ARCH_FIXUP_FDT_MEMORY 1
#define CONFIG_USB_GADGET_VENDOR_NUM 0x0
#define CONFIG_BOOT_DEFAULTS 1
#define CONFIG_EFI_DT_FIXUP 1
#define CONFIG_SPL_NAND_BASE 1
#define CONFIG_SOC_DEVICE 1
#define CONFIG_ISO_PARTITION 1
#define CONFIG_SYS_MALLOC_CLEAR_ON_INIT 1
#define CONFIG_NET_RETRY_COUNT 5
#define CONFIG_CMD_RANDOM 1
#define CONFIG_STANDALONE_LOAD_ADDR 0x80300000
#define CONFIG_SYS_NAND_MAX_CHIPS 1
#define CONFIG_NOP_PHY 1
#define CONFIG_HUSH_PARSER 1
#define CONFIG_BOOTP_VCI_STRING "U-Boot.armv7"
#define CONFIG_SYS_MMC_MAX_BLK_COUNT 65535
#define CONFIG_DM 1
#define CONFIG_ZLIB 1
#define CONFIG_OF_LIBFDT_ASSUME_MASK 0x0
#define CONFIG_LIB_UUID 1
#define CONFIG_SYS_I2C_OMAP24XX 1
#define CONFIG_CMD_GO 1
#define CONFIG_SDP_LOADADDR 0x0
#define CONFIG_USB_HOST 1
#define CONFIG_CMD_BOOTD 1
#define CONFIG_CMD_BOOTM 1
#define CONFIG_EFI_LOADER_HII 1
#define CONFIG_CMD_BOOTZ 1
#define CONFIG_SYS_NS16550 1
#define CONFIG_SYS_MALLOC_F 1
#define CONFIG_SYS_SRAM_SIZE 0x0
#define CONFIG_CMD_BOOTFLOW 1
#define CONFIG_SPL_MMC 1
#define CONFIG_SYS_RX_ETH_BUFFER 4
#define CONFIG_AUTO_COMPLETE 1
#define CONFIG_EFI_LOAD_FILE2_INITRD 1
#define CONFIG_SPRINTF 1
#define CONFIG_CMD_SYSBOOT 1
#define CONFIG_SYS_SOC "omap4"
#define CONFIG_FWU_NUM_BANKS 2
#define CONFIG_SMC911X 1
#define CONFIG_SYS_HZ 1000
#define CONFIG_SYS_MALLOC_F_LEN 0x4000
#define CONFIG_BOOTMETH_DISTRO 1
#define CONFIG_DOS_PARTITION 1
#define CONFIG_GZIP 1
#define CONFIG_SYS_VENDOR "ia"
#define CONFIG_CLANG_VERSION 0
#define CONFIG_MMC_OMAP_HS 1
#define CONFIG_IMX_DCD_ADDR 0x00910000
#define CONFIG_DM_USB 1
#define CONFIG_USB_ETHER_SMSC95XX 1
#define CONFIG_SYS_EEPROM_PAGE_WRITE_DELAY_MS 0
#define CONFIG_REQUIRE_SERIAL_CONSOLE 1
#define CONFIG_TOOLS_LIBCRYPTO 1
#define CONFIG_IDENT_STRING ""
#define CONFIG_SYS_NAND_MAX_OOBFREE 32
#define CONFIG_SPL_PRINTF 1
#define CONFIG_MTDIDS_DEFAULT "nand0=nandflash"
#define CONFIG_ENV_SOURCE_FILE ""
#define CONFIG_PRINTF 1
#define CONFIG_SPL_SERIAL 1
#define CONFIG_TOOLS_SHA512 1
#define CONFIG_SERIAL 1
#define CONFIG_CMD_SPL_NAND_OFS 0x0
#define CONFIG_CMD_BOOTFLOW_FULL 1
#define CONFIG_PHY_RESET_DELAY 0
#define CONFIG_SPL_LIBGENERIC_SUPPORT 1
#define CONFIG_DM_STDIO 1
#define CONFIG_LOCALVERSION_AUTO 1
#define CONFIG_SPL_LEGACY_BLOCK 1
#define CONFIG_EFI_ECPT 1
#define CONFIG_SOC_TI 1
#define CONFIG_CMD_DDR3 1
#define CONFIG_SYS_BOOT_RAMDISK_HIGH 1
#define CONFIG_MMC_VERBOSE 1
#define CONFIG_BOOTSTD 1
#define CONFIG_COUNTER_FREQUENCY 0
#define CONFIG_DM_EVENT 1
#define CONFIG_HAS_NAND_LARGE_BADBLOCK_POS 1
#define CONFIG_NET_TFTP_VARS 1
#define CONFIG_SPL_LDSCRIPT "arch/arm/mach-omap2/u-boot-spl.lds"
#define CONFIG_STACK_SIZE 0x1000000
#define CONFIG_USE_PRIVATE_LIBGCC 1
#define CONFIG_CMD_SPL 1
#define CONFIG_CC_IS_GCC 1
#define CONFIG_CMD_DHCP 1
#define CONFIG_LEGACY_IMAGE_FORMAT 1
#define CONFIG_EFI_VARIABLE_FILE_STORE 1
#define CONFIG_BOOTP_GATEWAY 1
#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
#define CONFIG_CMD_ECHO 1
#define CONFIG_TOOLS_FIT_RSASSA_PSS 1
#define CONFIG_STRTO 1
#define CONFIG_PLATFORM_ELFENTRY "_start"
#define CONFIG_FAT_WRITE 1
#define CONFIG_SYS_CACHE_SHIFT_6 1
#define CONFIG_SYS_FDT_PAD 0x3000
#define CONFIG_SPL_IMAGE "spl/u-boot-spl.bin"
#define CONFIG_USE_ARCH_MEMCPY 1
#define CONFIG_ENV_IS_IN_UBI 1
#define CONFIG_CHARSET 1
#define CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES 1
#define CONFIG_SPL_BSS_START_ADDR 0x80a00000
#define CONFIG_SPL_PAD_TO 0x0
#define CONFIG_FIT_PRINT 1
#define CONFIG_LINKER_LIST_ALIGN 4
#define CONFIG_ENV_UBI_VOLUME_REDUND "env2"
#define CONFIG_OF_CONTROL 1
#define CONFIG_EFI_PARTITION_ENTRIES_OFF 0
#define CONFIG_SPL_OF_LIBFDT_ASSUME_MASK 0xff
#define CONFIG_USE_BOOTFILE 1
#define CONFIG_BOOTFILE "boot/zImage"
#define CONFIG_BOOTP_PXE 1
#define CONFIG_INPUT 1
#define CONFIG_MTD_UBI 1
#define CONFIG_SPL_USE_TINY_PRINTF 1
#define CONFIG_HAS_THUMB2 1
#define CONFIG_FIT_EXTERNAL_OFFSET 0x0
#define CONFIG_TFTP_TSIZE 1
#define CONFIG_SYS_ARCH "arm"
#define CONFIG_NAND_OMAP_ECCSCHEME 6
#define CONFIG_CMD_ASKENV 1
#define CONFIG_MTD_UBI_WL_THRESHOLD 4096
#define CONFIG_SPL_PARTITION_UUIDS 1
#define CONFIG_SYS_BOARD "ia_decoder_card"
#define CONFIG_PARTITION_UUIDS 1
#define CONFIG_MTDPARTS_DEFAULT "mtdparts=nandflash:0x20000(xload_raw),0x180000(u-boot),0x180000(u-boot-2),0x1fce0000(main)"
#define CONFIG_BOOTMETH_DISTRO_PXE 1
#define CONFIG_SPL_NAND_ECC 1
#define CONFIG_DEVICE_TREE_INCLUDES ""
#define CONFIG_SYS_ARM_ARCH 7
#define CONFIG_SPL_USE_ARCH_MEMCPY 1
#define CONFIG_BOOTSTAGE_STASH_SIZE 0x1000
#define CONFIG_MTD_UBI_BEB_LIMIT 20
#define CONFIG_PXE_UTILS 1
#define CONFIG_OF_LIBFDT_OVERLAY 1
#define CONFIG_TEXT_BASE 0x80800000
#define CONFIG_CMD_IMPORTENV 1
#define CONFIG_MMC_QUIRKS 1
#define CONFIG_HAVE_PRIVATE_LIBGCC 1
#define CONFIG_IMX_CONTAINER_CFG ""
#define CONFIG_CMD_EXPORTENV 1
#define CONFIG_USB_HOST_ETHER 1
#define CONFIG_PARTITIONS 1
#define CONFIG_SPL_DOS_PARTITION 1
#define CONFIG_OMAP_GPIO 1
#define CONFIG_OF_TRANSLATE 1
#define CONFIG_SPL_STACK_R 1
#define CONFIG_SYS_NS16550_REG_SIZE -4
#define CONFIG_SYS_MEMTEST_END 0x1000
#define CONFIG_CMD_I2C 1
#define CONFIG_TOOLS_SHA256 1
#define CONFIG_CMD_UBIFS 1
#define CONFIG_MULTI_DTB_FIT_UNCOMPRESS_SZ 0x8000
#define CONFIG_EFI_GRUB_ARM32_WORKAROUND 1
#define CONFIG_CMD_ELF 1
#define CONFIG_CMD_MDIO 1
#define CONFIG_CMD_UBI_RENAME 1
#define CONFIG_SYS_NAND_PAGE_SIZE 0x800
#define CONFIG_WATCHDOG_TIMEOUT_MSECS 60000
#define CONFIG_BOOTP_MAX_ROOT_PATH_LEN 64
#define CONFIG_EFI_LOADER 1
#define CONFIG_CMD_EFICONFIG 1
#define CONFIG_CMD_MEMTEST 1
#define CONFIG_CMD_BOOTEFI_BOOTMGR 1
#define CONFIG_ARP_TIMEOUT 5000
#define CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK 0x0
#define CONFIG_DM_SEQ_ALIAS 1
#define CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND 0x1a0000
#define CONFIG_GPIO 1
#define CONFIG_EVENT_DYNAMIC 1
#define CONFIG_EVENT 1
#define CONFIG_SYS_RELOC_GD_ENV_ADDR 1
#define CONFIG_FS_EXT4 1
#define CONFIG_CONSOLE_FLUSH_SUPPORT 1
#define CONFIG_CMD_LOADXY_TIMEOUT 90
#define CONFIG_SPL_MAX_SIZE 0xbc00
#define CONFIG_SPL_FRAMEWORK 1
#define CONFIG_SYS_I2C_SLAVE 0xfe
#define CONFIG_SPL_HAS_BSS_LINKER_SECTION 1
#define CONFIG_MTD_RAW_NAND 1
#define CONFIG_BOOTSTAGE_STASH_ADDR 0x0
#define CONFIG_EFI_DEVICE_PATH_TO_TEXT 1
#define CONFIG_SPL 1
#define CONFIG_SPL_NAND_IDENT 1
#define CONFIG_SPL_SYS_NO_VECTOR_TABLE 1
#define CONFIG_ENV_UBI_VOLUME "env1"
#define CONFIG_CMD_SOURCE 1
#define CONFIG_SYS_PROMPT "=> "
#define CONFIG_CMD_MTDPARTS_SPREAD 1
#define CONFIG_MMC_OMAP_HS_ADMA 1
#define CONFIG_BOOTP_BOOTPATH 1
#define CONFIG_USB_STORAGE 1
#define CONFIG_CMD_PXE 1
#define CONFIG_DISPLAY_CPUINFO 1
#define CONFIG_LOGLEVEL 7
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT 1
#define CONFIG_BOOTDEV_ETH 1
#define CONFIG_BAUDRATE 115200
#define CONFIG_SHA1 1
#define CONFIG_SAVEENV 1
#define CONFIG_CRC32 1
#define CONFIG_SPL_SYS_NS16550_SERIAL 1
#define CONFIG_EXT4_WRITE 1
#define CONFIG_MTD_UBI_MODULE 1
#define CONFIG_CMD_ERASEENV 1
#define CONFIG_SYS_MEMTEST_START 0x0
#define CONFIG_SPL_SYS_MALLOC_F_LEN 0x4000
#define CONFIG_CMD_LOADB 1
#define CONFIG_CMD_LOADS 1
#define CONFIG_FS_FAT_MAX_CLUSTSIZE 65536
#define CONFIG_CMD_IMI 1
#define CONFIG_TOOLS_FIT_VERBOSE 1
#define CONFIG_SPL_PAYLOAD "u-boot.img"
#define CONFIG_SPL_POWER 1
#define CONFIG_CMD_EXT4_WRITE 1
#define CONFIG_CONS_INDEX 3
#define CONFIG_LMB 1
#define CONFIG_AUTOBOOT 1
#define CONFIG_CRC8 1
#define CONFIG_CMD_BOOTDEV 1
#define CONFIG_SPL_BANNER_PRINT 1
#define CONFIG_ARM 1
#define CONFIG_RBTREE 1
#define CONFIG_SYS_NAND_BUSWIDTH_16BIT 1
#define CONFIG_EFI_UNICODE_CAPITALIZATION 1
#define CONFIG_CMD_BLOCK_CACHE 1
#define CONFIG_OF_SEPARATE 1
#define CONFIG_CMD_GPIO 1
#define CONFIG_CMD_BDI 1
#define CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG 1
#define CONFIG_EFI_CAPSULE_MAX 15
#define CONFIG_SPL_SHA256 1
#define CONFIG_SHA256 1
#define CONFIG_BOOTP_SUBNETMASK 1
#define CONFIG_CC_HAS_ASM_INLINE 1
#define CONFIG_LIB_ELF 1
#define CONFIG_LZO 1
#define CONFIG_ENV_MAX_ENTRIES 512
#define CONFIG_MENU 1
#define CONFIG_NETDEVICES 1
#define CONFIG_DEFAULT_DEVICE_TREE "omap4-ia-decoder-card"
#define CONFIG_USB_GADGET_MANUFACTURER "U-Boot"
#define CONFIG_CMD_MII 1
#define CONFIG_USB_GADGET 1
#define CONFIG_I2C 1
#define CONFIG_LIB_RAND 1
#define CONFIG_SIMPLE_BUS 1
#define CONFIG_TI_SYSC 1
#define CONFIG_BOOTARGS_SUBST 1
#define CONFIG_PHY 1
#define CONFIG_USB_GADGET_PRODUCT_NUM 0x0
#define CONFIG_ARM_ASM_UNIFIED 1
#define CONFIG_SYS_NAND_MAX_ECCPOS 680
#define CONFIG_CMD_MMC 1
#define CONFIG_SYS_NAND_BAD_BLOCK_POS 0
#define CONFIG_CMD_TFTPBOOT 1
#define CONFIG_FIT_FULL_CHECK 1
#define CONFIG_BOOTMETH_VBE 1
#define CONFIG_SPECIFY_CONSOLE_INDEX 1
#define CONFIG_SPL_OF_LIBFDT 1
#define CONFIG_NAND_OMAP_ECCSCHEME_BCH8_CODE_HW 1
#define CONFIG_SYS_I2C_BUS_MAX 4
#define CONFIG_SPL_SERIAL_PRESENT 1
#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img"


More information about the U-Boot mailing list