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.

AM3352: U-BOOT nand读写慢,读<1Mb/s, 写<100kb/s

Part Number: AM3352
Other Parts Discussed in Thread: DA8XX, PCF8575

Hi ti team

使用官方SDK am335x-evm-08.02.00.24, U-BOOT上读取kernel速度非常慢,信息如下:

CCC
U-Boot SPL 2021.01-00001-gc59bf25a38-dirty (Nov 29 2023 - 13:54:05 +0800)
Trying to boot from NAND
nand: using OMAP_ECC_BCH16_CODE_HW
use GPMC prefetch read.
Loading element from 0x00080000 (size 0x00000040) to 0x80800000


U-Boot 2021.01-00001-gc59bf25a38-dirty (Nov 29 2023 - 13:54:05 +0800)

CPU : AM335X-GP rev 2.1
Model: TI AM335x EVM
DRAM: 512 MiB
Setting QCA7000 and wifi&ble power
WDT: Started with servicing (60s timeout)
NAND: nand: using OMAP_ECC_BCH16_CODE_HW
use GPMC prefetch read.
nand_base: device found, Manufacturer ID: 0x2c, Chip ID: 0x48
nand_base: Micron MT29F16G08ABACAWP
nand_base: 2048 MiB, SLC, erase size: 512 KiB, page size: 4096, OOB size: 224
2048 MiB
MMC:
Loading Environment from NAND... Scanning device for bad blocks
Bad eraseblock 90 at 0x000002d00000
Bad eraseblock 91 at 0x000002d80000

从SPL跳转到U-BOOT加载也需要大概10s左右,才能打印U-Boot 2021.01-00001-gc59bf25a38-dirty (Nov 29 2023 - 13:54:05 +0800);

同时在nand读写函数上增加时间统计,发现写入kernel速度非常慢:

=> run upkernel
link up on port 0, speed 100, full duplex
Using ethernet@4a100000 device
TFTP from server 192.168.0.8; our IP address is 192.168.0.10
Filename 'am335x-evm.dtb'.
Load address: 0x82000000
Loading: #####
184.6 KiB/s
done
Bytes transferred = 65098 (fe4a hex)

NAND erase.part: device 0 offset 0x300000, size 0x80000
Erasing at 0x300000 -- 100% complete.
OK

NAND write: device 0 offset 0x300000, size 0x80000
[49558]NAND write process: offset: 0x00300000, size: 0x00080000
[50993]NAND write to offset 0x00300000 finish, no bad block
[51008]Nand write size: 524288, use time:1449ms, write speed: 353kB/s
524288 bytes written: OK
link up on port 0, speed 100, full duplex
Using ethernet@4a100000 device
TFTP from server 192.168.0.8; our IP address is 192.168.0.10
Filename 'zImage.bin'.
Load address: 0x82000000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
################################
1 MiB/s
done
Bytes transferred = 5239296 (4ff200 hex)

NAND erase.part: device 0 offset 0x380000, size 0xa00000
Erasing at 0xd00000 -- 100% complete.
OK

NAND write: device 0 offset 0x380000, size 0x4ff200
[66026]NAND write process: offset: 0x00380000, size: 0x004ff200
[80244]NAND write to offset 0x00380000 finish, no bad block
[80260]Nand write size: 5239296, use time:14233ms, write speed: 57kB/s
5239296 bytes written: OK

从nand启动内核:

=> boot
Booting from nand ...

NAND read: device 0 offset 0x300000, size 0x80000
[88061]NAND read process: offset: 0x00300000, size: 0x00080000
[88598]Nand read size: 524288, use time:537ms, read speed: 952kB/s
524288 bytes read: OK

NAND read: device 0 offset 0x380000, size 0xa00000
[88636]NAND read process: offset: 0x00380000, size: 0x00a00000
[99070]Nand read size: 10485760, use time:10434ms, read speed: 158kB/s
10485760 bytes read: OK
## Flattened Device Tree blob at 80f80000
Booting using the fdt blob at 0x80f80000
Loading Device Tree to 8ffed000, end 8ffffe49 ... OK
## Transferring control to Linux (at address 80200000)...

Starting kernel ...

Switching to zImage entry = 0x80200000

nand info:

=> nand info

Device 0: nand0, sector size 512 KiB
Page size 4096 b
OOB size 224 b
Erase size 524288 b
subpagesize 1024 b
options 0x4000400c
bbt options 0x00000000

nand配置:

/* NAND: device related configs */
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
#define CONFIG_SYS_NAND_PAGE_COUNT  (CONFIG_SYS_NAND_BLOCK_SIZE / \
                     CONFIG_SYS_NAND_PAGE_SIZE)
#define CONFIG_SYS_NAND_PAGE_SIZE   4096
#define CONFIG_SYS_NAND_OOBSIZE     224
#define CONFIG_SYS_NAND_BLOCK_SIZE  (512*1024)
/* NAND: driver related configs */
#define CONFIG_SYS_NAND_BAD_BLOCK_POS   NAND_LARGE_BADBLOCK_POS
#define CONFIG_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,  58,  59, \
             60,  61,  62,  63,  64,  65,  66,  67,  68,  69, \
             70,  71,  72,  73,  74,  75,  76,  77,  78,  79, \
             80,  81,  82,  83,  84,  85,  86,  87,  88,  89, \
             90,  91,  92,  93,  94,  95,  96,  97,  98,  99, \
            100, 101, 102, 103, 104, 105, 106, 107, 108, 109, \
            110, 111, 112, 113, 114, 115, 116, 117, 118, 119, \
            120, 121, 122, 123, 124, 125, 126, 127, 128, 129, \
            130, 131, 132, 133, 134, 135, 136, 137, 138, 139, \
            140, 141, 142, 143, 144, 145, 146, 147, 148, 149, \
            150, 151, 152, 153, 154, 155, 156, 157, 158, 159, \
            160, 161, 162, 163, 164, 165, 166, 167, 168, 169, \
            170, 171, 172, 173, 174, 175, 176, 177, 178, 179, \
            180, 181, 182, 183, 184, 185, 186, 187, 188, 189, \
            190, 191, 192, 193, 194, 195, 196, 197, 198, 199, \
            200, 201, 202, 203, 204, 205, 206, 207, 208, 209, \
            }

#define CONFIG_SYS_NAND_ECCSIZE     512
#define CONFIG_SYS_NAND_ECCBYTES    26
#define CONFIG_SYS_NAND_ONFI_DETECTION
#define CONFIG_NAND_OMAP_ECCSCHEME  OMAP_ECC_BCH16_CODE_HW
进入内核后,读写nand速度非常快,还请工程师 解答一下,感谢!
  • 更正一下速度计算,读取速度大概为950KB/S, 写入为360KB/S:


    NAND erase.part: device 0 offset 0x380000, size 0xa00000
    Erasing at 0xd00000 -- 100% complete.
    OK

    NAND write: device 0 offset 0x380000, size 0x4ff200
    [75973]NAND write process: offset: 0x00380000, size: 0x004ff200
    [90188]NAND write to offset 0x00380000 finish, no bad block
    [90203]Nand write size: 5239296, use time:14230ms, write speed: 359kB/s
    5239296 bytes written: OK
    => boot
    Booting from nand ...

    NAND read: device 0 offset 0x300000, size 0x80000
    [217988]NAND read process: offset: 0x00300000, size: 0x00080000
    [218526]Nand read size: 524288, use time:537ms, read speed: 952kB/s
    524288 bytes read: OK

    NAND read: device 0 offset 0x380000, size 0xa00000
    [218564]NAND read process: offset: 0x00380000, size: 0x00a00000
    [228995]Nand read size: 10485760, use time:10430ms, read speed: 982kB/s

    已使能PREFETCH:

    CONFIG_NAND_OMAP_GPMC=y
    CONFIG_NAND_OMAP_GPMC_PREFETCH=y
    CONFIG_CMD_BLOCK_CACHE=y
    CONFIG_CMD_CACHE=y
    如下为具体的配置:
    #
    # Automatically generated file; DO NOT EDIT.
    # U-Boot 2021.01 Configuration
    #

    #
    # Compiler: arm-none-linux-gnueabihf-gcc (GNU Toolchain for the A-profile Architecture 9.2-2019.12 (arm-9.10)) 9.2.1 20191025
    #
    CONFIG_CREATE_ARCH_SYMLINK=y
    # CONFIG_ARC is not set
    CONFIG_ARM=y
    # CONFIG_M68K is not set
    # CONFIG_MICROBLAZE is not set
    # CONFIG_MIPS is not set
    # CONFIG_NDS32 is not set
    # CONFIG_NIOS2 is not set
    # CONFIG_PPC is not set
    # CONFIG_RISCV is not set
    # CONFIG_SANDBOX is not set
    # CONFIG_SH is not set
    # CONFIG_X86 is not set
    # CONFIG_XTENSA is not set
    CONFIG_SYS_ARCH="arm"
    CONFIG_SYS_CPU="armv7"
    CONFIG_SYS_SOC="am33xx"
    CONFIG_SYS_VENDOR="ti"
    CONFIG_SYS_BOARD="am335x"
    CONFIG_SYS_CONFIG_NAME="am335x_evm"
    # CONFIG_SYS_ICACHE_OFF is not set
    # CONFIG_SPL_SYS_ICACHE_OFF is not set
    # CONFIG_SYS_DCACHE_OFF is not set
    # CONFIG_SPL_SYS_DCACHE_OFF is not set

    #
    # ARM architecture
    #
    # CONFIG_GIC_V3_ITS is not set
    CONFIG_HAS_VBAR=y
    CONFIG_HAS_THUMB2=y
    CONFIG_ARM_ASM_UNIFIED=y
    CONFIG_SYS_ARM_CACHE_CP15=y
    CONFIG_SYS_ARM_MMU=y
    # CONFIG_SYS_ARM_MPU is not set
    CONFIG_ARM_CORTEX_A8_CVE_2017_5715=y
    CONFIG_CPU_V7A=y
    CONFIG_SYS_ARM_ARCH=7
    CONFIG_SYS_CACHE_SHIFT_6=y
    CONFIG_SYS_CACHELINE_SIZE=64
    CONFIG_SYS_ARM_CACHE_WRITEBACK=y
    # CONFIG_SYS_ARM_CACHE_WRITETHROUGH is not set
    # CONFIG_SYS_ARM_CACHE_WRITEALLOC is not set
    CONFIG_ARCH_CPU_INIT=y
    # CONFIG_SYS_ARCH_TIMER is not set
    # CONFIG_ARM_SMCCC is not set
    # CONFIG_SEMIHOSTING is not set
    CONFIG_SYS_THUMB_BUILD=y
    CONFIG_SPL_SYS_THUMB_BUILD=y
    # CONFIG_SYS_L2CACHE_OFF is not set
    # CONFIG_ENABLE_ARM_SOC_BOOT0_HOOK is not set
    CONFIG_USE_ARCH_MEMCPY=y
    CONFIG_SPL_USE_ARCH_MEMCPY=y
    CONFIG_USE_ARCH_MEMSET=y
    CONFIG_SPL_USE_ARCH_MEMSET=y
    # CONFIG_ARCH_AT91 is not set
    # CONFIG_TARGET_EDB93XX is not set
    # CONFIG_TARGET_ASPENITE is not set
    # CONFIG_TARGET_GPLUGD is not set
    # CONFIG_ARCH_DAVINCI is not set
    # CONFIG_ARCH_KIRKWOOD is not set
    # CONFIG_ARCH_MVEBU is not set
    # CONFIG_TARGET_APF27 is not set
    # CONFIG_ARCH_ORION5X is not set
    # CONFIG_TARGET_SPEAR300 is not set
    # CONFIG_TARGET_SPEAR310 is not set
    # CONFIG_TARGET_SPEAR320 is not set
    # CONFIG_TARGET_SPEAR600 is not set
    # CONFIG_TARGET_STV0991 is not set
    # CONFIG_TARGET_X600 is not set
    # CONFIG_TARGET_FLEA3 is not set
    # CONFIG_TARGET_MX35PDK is not set
    # CONFIG_ARCH_BCM283X is not set
    # CONFIG_ARCH_BCM63158 is not set
    # CONFIG_ARCH_BCM68360 is not set
    # CONFIG_ARCH_BCM6858 is not set
    # CONFIG_TARGET_VEXPRESS_CA15_TC2 is not set
    # CONFIG_ARCH_BCMSTB is not set
    # CONFIG_TARGET_VEXPRESS_CA5X2 is not set
    # CONFIG_TARGET_VEXPRESS_CA9X4 is not set
    # CONFIG_TARGET_BCM23550_W1D is not set
    # CONFIG_TARGET_BCM28155_AP is not set
    # CONFIG_TARGET_BCMCYGNUS is not set
    # CONFIG_TARGET_BCMNSP is not set
    # CONFIG_TARGET_BCMNS2 is not set
    # CONFIG_TARGET_BCMNS3 is not set
    # CONFIG_ARCH_EXYNOS is not set
    # CONFIG_ARCH_S5PC1XX is not set
    # CONFIG_ARCH_HIGHBANK is not set
    # CONFIG_ARCH_INTEGRATOR is not set
    # CONFIG_ARCH_IPQ40XX is not set
    # CONFIG_ARCH_KEYSTONE is not set
    # CONFIG_ARCH_K3 is not set
    CONFIG_ARCH_OMAP2PLUS=y
    # CONFIG_ARCH_MESON is not set
    # CONFIG_ARCH_MEDIATEK is not set
    # CONFIG_ARCH_LPC32XX is not set
    # CONFIG_ARCH_IMX8 is not set
    # CONFIG_ARCH_IMX8M is not set
    # CONFIG_ARCH_IMXRT is not set
    # CONFIG_ARCH_MX23 is not set
    # CONFIG_ARCH_MX25 is not set
    # CONFIG_ARCH_MX28 is not set
    # CONFIG_ARCH_MX31 is not set
    # CONFIG_ARCH_MX7ULP is not set
    # CONFIG_ARCH_MX7 is not set
    # CONFIG_ARCH_MX6 is not set
    CONFIG_SPL_LDSCRIPT="arch/arm/mach-omap2/u-boot-spl.lds"
    # CONFIG_ARCH_MX5 is not set
    # CONFIG_ARCH_NEXELL is not set
    # CONFIG_ARCH_OWL is not set
    # CONFIG_ARCH_QEMU is not set
    # CONFIG_ARCH_RMOBILE is not set
    # CONFIG_TARGET_S32V234EVB is not set
    # CONFIG_ARCH_SNAPDRAGON is not set
    # CONFIG_ARCH_SOCFPGA is not set
    # CONFIG_ARCH_SUNXI is not set
    # CONFIG_ARCH_U8500 is not set
    # CONFIG_ARCH_VERSAL is not set
    # CONFIG_ARCH_VF610 is not set
    # CONFIG_ARCH_ZYNQ is not set
    # CONFIG_ARCH_ZYNQMP_R5 is not set
    # CONFIG_ARCH_ZYNQMP is not set
    # CONFIG_ARCH_TEGRA is not set
    # CONFIG_TARGET_VEXPRESS64_AEMV8A is not set
    # CONFIG_TARGET_VEXPRESS64_BASE_FVP is not set
    # CONFIG_TARGET_VEXPRESS64_JUNO is not set
    # CONFIG_TARGET_TOTAL_COMPUTE is not set
    # CONFIG_TARGET_LS2080A_EMU is not set
    # CONFIG_TARGET_LS2080A_SIMU is not set
    # CONFIG_TARGET_LS1088AQDS is not set
    # CONFIG_TARGET_LS2080AQDS is not set
    # CONFIG_TARGET_LS2080ARDB is not set
    # CONFIG_TARGET_LS2081ARDB is not set
    # CONFIG_TARGET_LX2160ARDB is not set
    # CONFIG_TARGET_LX2160AQDS is not set
    # CONFIG_TARGET_LX2162AQDS is not set
    # CONFIG_TARGET_HIKEY is not set
    # CONFIG_TARGET_HIKEY960 is not set
    # CONFIG_TARGET_POPLAR is not set
    # CONFIG_TARGET_LS1012AQDS is not set
    # CONFIG_TARGET_LS1012ARDB is not set
    # CONFIG_TARGET_LS1012A2G5RDB is not set
    # CONFIG_TARGET_LS1012AFRWY is not set
    # CONFIG_TARGET_LS1012AFRDM is not set
    # CONFIG_TARGET_LS1028AQDS is not set
    # CONFIG_TARGET_LS1028ARDB is not set
    # CONFIG_TARGET_LS1088ARDB is not set
    # CONFIG_TARGET_LS1021AQDS is not set
    # CONFIG_TARGET_LS1021ATWR is not set
    # CONFIG_TARGET_LS1021ATSN is not set
    # CONFIG_TARGET_LS1021AIOT is not set
    # CONFIG_TARGET_LS1043AQDS is not set
    # CONFIG_TARGET_LS1043ARDB is not set
    # CONFIG_TARGET_LS1046AQDS is not set
    # CONFIG_TARGET_LS1046ARDB is not set
    # CONFIG_TARGET_LS1046AFRWY is not set
    # CONFIG_TARGET_SL28 is not set
    # CONFIG_TARGET_COLIBRI_PXA270 is not set
    # CONFIG_ARCH_UNIPHIER is not set
    # CONFIG_ARCH_STM32 is not set
    # CONFIG_ARCH_STI is not set
    # CONFIG_ARCH_STM32MP is not set
    # CONFIG_ARCH_ROCKCHIP is not set
    # CONFIG_ARCH_OCTEONTX is not set
    # CONFIG_ARCH_OCTEONTX2 is not set
    # CONFIG_TARGET_THUNDERX_88XX is not set
    # CONFIG_ARCH_ASPEED is not set
    # CONFIG_TARGET_DURIAN is not set
    # CONFIG_TARGET_PRESIDIO_ASIC is not set
    # CONFIG_TARGET_XENGUEST_ARM64 is not set
    # CONFIG_TI_SECURE_DEVICE is not set
    CONFIG_ISW_ENTRY_ADDR=0x402F0400
    CONFIG_SYS_TEXT_BASE=0x80800000
    CONFIG_TI_I2C_BOARD_DETECT=y
    CONFIG_EEPROM_BUS_ADDRESS=0
    CONFIG_EEPROM_CHIP_ADDRESS=0x50
    CONFIG_TI_COMMON_CMD_OPTIONS=y
    CONFIG_SPL_GPIO_SUPPORT=y
    CONFIG_SPL_LIBCOMMON_SUPPORT=y
    CONFIG_SPL_LIBGENERIC_SUPPORT=y
    CONFIG_SYS_MALLOC_F_LEN=0x1000
    CONFIG_NR_DRAM_BANKS=4
    CONFIG_ENV_SIZE=0x80000
    CONFIG_ENV_OFFSET=0x280000
    CONFIG_DM_GPIO=y
    # CONFIG_SPL_DM_SPI is not set
    CONFIG_SPL_TEXT_BASE=0x402F0400
    # CONFIG_OMAP34XX is not set
    # CONFIG_OMAP44XX is not set
    # CONFIG_OMAP54XX is not set
    # CONFIG_TI814X is not set
    # CONFIG_TI816X is not set
    # CONFIG_AM43XX is not set
    CONFIG_AM33XX=y
    CONFIG_SYS_MPUCLK=1000
    CONFIG_TARGET_AM335X_EVM=y
    # CONFIG_TARGET_AM335X_EVM_MINI is not set
    # CONFIG_TARGET_AM335X_BALTOS is not set
    # CONFIG_TARGET_AM335X_IGEP003X is not set
    # CONFIG_TARGET_AM335X_SHC is not set
    # CONFIG_TARGET_AM335X_GUARDIAN is not set
    # CONFIG_TARGET_AM335X_SL50 is not set
    # CONFIG_TARGET_BRXRE1 is not set
    # CONFIG_TARGET_BRSMARC1 is not set
    # CONFIG_TARGET_BRPPT1 is not set
    # CONFIG_TARGET_CHILIBOARD is not set
    # CONFIG_TARGET_CM_T335 is not set
    # CONFIG_TARGET_DRACO is not set
    # CONFIG_TARGET_ETAMIN is not set
    # CONFIG_TARGET_PCM051 is not set
    # CONFIG_TARGET_PHYCORE_AM335X_R2 is not set
    # CONFIG_TARGET_PXM2 is not set
    # CONFIG_TARGET_RASTABAN is not set
    # CONFIG_TARGET_RUT is not set
    # CONFIG_TARGET_THUBAN is not set
    # CONFIG_TARGET_PDU001 is not set
    CONFIG_PUB_ROM_DATA_SIZE=0x8400
    # CONFIG_NOR is not set
    CONFIG_SPL_MMC_SUPPORT=y
    CONFIG_SPL_SERIAL_SUPPORT=y
    # CONFIG_SPL_DRIVERS_MISC_SUPPORT is not set
    CONFIG_SPL_STACK_R_ADDR=0x82000000
    CONFIG_BOOTCOUNT_BOOTLIMIT=0
    CONFIG_SYS_BOOTCOUNT_ADDR=0x44E3E000
    CONFIG_SPL_SYS_MALLOC_F_LEN=0x1000
    CONFIG_ERR_PTR_OFFSET=0x0
    CONFIG_SPL_SIZE_LIMIT=0x0
    CONFIG_SPL=y
    CONFIG_BOOTSTAGE_STASH_ADDR=0
    CONFIG_IDENT_STRING=""
    CONFIG_SPL_FS_FAT=y
    CONFIG_SPL_LIBDISK_SUPPORT=y
    # CONFIG_SPL_SPI_SUPPORT is not set
    # CONFIG_ARMV7_LPAE is not set
    # CONFIG_CMD_DEKBLOB is not set
    # CONFIG_CMD_HDMIDETECT is not set
    # CONFIG_CMD_NANDBCB is not set
    CONFIG_IMX_DCD_ADDR=0x00910000

    #
    # ARM debug
    #
    # CONFIG_DEBUG_LL is not set
    CONFIG_SPL_PAYLOAD="u-boot.bin"
    CONFIG_BUILD_TARGET=""
    CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
    # CONFIG_DEBUG_UART is not set
    # CONFIG_AHCI is not set
    # CONFIG_OF_BOARD_FIXUP is not set

    #
    # General setup
    #
    CONFIG_LOCALVERSION=""
    CONFIG_LOCALVERSION_AUTO=y
    CONFIG_CC_OPTIMIZE_FOR_SIZE=y
    # CONFIG_OPTIMIZE_INLINING is not set
    # CONFIG_SPL_OPTIMIZE_INLINING is not set
    CONFIG_CC_HAS_ASM_INLINE=y
    # CONFIG_XEN is not set
    CONFIG_DISTRO_DEFAULTS=y
    CONFIG_ENV_VARS_UBOOT_CONFIG=y
    # CONFIG_SYS_BOOT_GET_CMDLINE is not set
    # CONFIG_SYS_BOOT_GET_KBD is not set
    CONFIG_SYS_MALLOC_F=y
    CONFIG_EXPERT=y
    CONFIG_SYS_MALLOC_CLEAR_ON_INIT=y
    # CONFIG_SYS_MALLOC_DEFAULT_TO_INIT is not set
    # CONFIG_TOOLS_DEBUG is not set
    # CONFIG_PHYS_64BIT is not set
    CONFIG_SPL_IMAGE="spl/u-boot-spl.bin"
    # CONFIG_SYS_CUSTOM_LDSCRIPT is not set
    CONFIG_PLATFORM_ELFENTRY="_start"
    CONFIG_STACK_SIZE=0x1000000
    CONFIG_SYS_SRAM_BASE=0x0
    CONFIG_SYS_SRAM_SIZE=0x0
    # CONFIG_EXAMPLES is not set

    #
    # API
    #
    # CONFIG_API is not set

    #
    # Boot options
    #

    #
    # Boot images
    #
    CONFIG_ANDROID_BOOT_IMAGE=y
    CONFIG_FIT=y
    CONFIG_FIT_EXTERNAL_OFFSET=0x0
    CONFIG_FIT_ENABLE_SHA256_SUPPORT=y
    # CONFIG_FIT_ENABLE_SHA384_SUPPORT is not set
    # CONFIG_FIT_ENABLE_SHA512_SUPPORT is not set
    # CONFIG_FIT_SIGNATURE is not set
    # CONFIG_FIT_CIPHER is not set
    # CONFIG_FIT_VERBOSE is not set
    # CONFIG_FIT_BEST_MATCH is not set
    CONFIG_SPL_FIT=y
    # CONFIG_SPL_FIT_PRINT is not set
    # CONFIG_SPL_FIT_SIGNATURE is not set
    CONFIG_SPL_LOAD_FIT=y
    CONFIG_SPL_LOAD_FIT_ADDRESS=0x0
    # CONFIG_SPL_LOAD_FIT_APPLY_OVERLAY is not set
    # CONFIG_SPL_LOAD_FIT_FULL is not set
    # CONFIG_SPL_FIT_IMAGE_POST_PROCESS is not set
    CONFIG_SPL_FIT_SOURCE=""
    # CONFIG_USE_SPL_FIT_GENERATOR is not set
    CONFIG_LEGACY_IMAGE_FORMAT=y
    CONFIG_SUPPORT_RAW_INITRD=y
    CONFIG_OF_BOARD_SETUP=y
    # CONFIG_OF_SYSTEM_SETUP is not set
    # CONFIG_OF_STDOUT_VIA_ALIAS is not set
    CONFIG_SYS_EXTRA_OPTIONS=""
    CONFIG_HAVE_SYS_TEXT_BASE=y
    CONFIG_ARCH_FIXUP_FDT_MEMORY=y
    # CONFIG_CHROMEOS is not set
    # CONFIG_CHROMEOS_VBOOT is not set

    #
    # Boot timing
    #
    # CONFIG_BOOTSTAGE is not set
    CONFIG_BOOTSTAGE_RECORD_COUNT=30
    CONFIG_SPL_BOOTSTAGE_RECORD_COUNT=5
    CONFIG_TPL_BOOTSTAGE_RECORD_COUNT=5
    CONFIG_BOOTSTAGE_STASH_SIZE=0x1000
    # CONFIG_SHOW_BOOT_PROGRESS is not set

    #
    # Boot media
    #
    CONFIG_NAND_BOOT=y
    # CONFIG_ONENAND_BOOT is not set
    # CONFIG_QSPI_BOOT is not set
    # CONFIG_SATA_BOOT is not set
    # CONFIG_SD_BOOT is not set
    # CONFIG_SPI_BOOT is not set

    #
    # Autoboot options
    #
    CONFIG_AUTOBOOT=y
    CONFIG_BOOTDELAY=2
    # CONFIG_AUTOBOOT_KEYED is not set
    # CONFIG_AUTOBOOT_USE_MENUKEY is not set
    # CONFIG_USE_BOOTARGS is not set
    CONFIG_USE_BOOTCOMMAND=y
    CONFIG_BOOTCOMMAND="setenv loadaddr 0x80200000;setenv fdtaddr 0x80F80000;run findfdt; run init_console; run nandboot"
    # CONFIG_USE_PREBOOT is not set
    CONFIG_DEFAULT_FDT_FILE=""

    #
    # Console
    #
    CONFIG_MENU=y
    # CONFIG_CONSOLE_RECORD is not set
    # CONFIG_DISABLE_CONSOLE is not set
    CONFIG_LOGLEVEL=7
    CONFIG_SPL_LOGLEVEL=7
    CONFIG_TPL_LOGLEVEL=7
    # CONFIG_SILENT_CONSOLE is not set
    # CONFIG_PRE_CONSOLE_BUFFER is not set
    # CONFIG_CONSOLE_MUX is not set
    # CONFIG_SYS_CONSOLE_IS_IN_ENV is not set
    # CONFIG_SYS_CONSOLE_OVERWRITE_ROUTINE is not set
    # CONFIG_SYS_CONSOLE_ENV_OVERWRITE is not set
    CONFIG_SYS_CONSOLE_INFO_QUIET=y
    # CONFIG_SYS_STDIO_DEREGISTER is not set
    # CONFIG_SPL_SYS_STDIO_DEREGISTER is not set
    # CONFIG_SYS_DEVICE_NULLDEV is not set

    #
    # Logging
    #
    # CONFIG_LOG is not set

    #
    # Init options
    #
    # CONFIG_BOARD_TYPES is not set
    CONFIG_DISPLAY_CPUINFO=y
    CONFIG_DISPLAY_BOARDINFO=y
    # CONFIG_DISPLAY_BOARDINFO_LATE is not set

    #
    # Start-up hooks
    #
    # CONFIG_ARCH_EARLY_INIT_R is not set
    CONFIG_ARCH_MISC_INIT=y
    # CONFIG_BOARD_EARLY_INIT_F is not set
    # CONFIG_BOARD_EARLY_INIT_R is not set
    CONFIG_BOARD_LATE_INIT=y
    # CONFIG_LAST_STAGE_INIT is not set
    # CONFIG_MISC_INIT_R is not set

    #
    # Security support
    #
    CONFIG_HASH=y

    #
    # Update support
    #
    CONFIG_UPDATE_COMMON=y
    # CONFIG_UPDATE_TFTP is not set
    # CONFIG_UPDATE_FIT is not set
    # CONFIG_ANDROID_AB is not set

    #
    # Blob list
    #
    # CONFIG_BLOBLIST is not set

    #
    # SPL / TPL
    #
    CONFIG_SUPPORT_SPL=y
    CONFIG_SPL_FRAMEWORK=y
    # CONFIG_SPL_FRAMEWORK_BOARD_INIT_F is not set
    CONFIG_SPL_SYS_STACK_F_CHECK_BYTE=0xaa
    # CONFIG_SPL_SYS_REPORT_STACK_F_USAGE is not set

    #
    # PowerPC and LayerScape SPL Boot options
    #
    CONFIG_SPL_BOARD_INIT=y
    # CONFIG_SPL_BOOTROM_SUPPORT is not set
    # CONFIG_SPL_BOOTCOUNT_LIMIT is not set
    CONFIG_SPL_RAW_IMAGE_SUPPORT=y
    # CONFIG_SPL_LEGACY_IMAGE_SUPPORT is not set
    CONFIG_SPL_SYS_MALLOC_SIMPLE=y
    CONFIG_SPL_STACK_R=y
    CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN=0x100000
    CONFIG_SPL_SEPARATE_BSS=y
    CONFIG_SPL_BANNER_PRINT=y
    # CONFIG_SPL_EARLY_BSS is not set
    # CONFIG_SPL_DISPLAY_PRINT is not set
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR=y
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR=0x300
    CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_DATA_PART_OFFSET=0x0
    # CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_PARTITION is not set
    # CONFIG_SPL_CRC32_SUPPORT is not set
    # CONFIG_SPL_MD5_SUPPORT is not set
    # CONFIG_SPL_SHA1_SUPPORT is not set
    # CONFIG_SPL_SHA256_SUPPORT is not set
    # CONFIG_SPL_SHA384_SUPPORT is not set
    # CONFIG_SPL_SHA512_SUPPORT is not set
    CONFIG_SPL_FIT_IMAGE_TINY=y
    # CONFIG_SPL_CACHE_SUPPORT is not set
    # CONFIG_SPL_CPU_SUPPORT is not set
    # CONFIG_SPL_CRYPTO_SUPPORT is not set
    # CONFIG_SPL_HASH_SUPPORT is not set
    # CONFIG_SPL_DMA is not set
    CONFIG_SPL_ENV_SUPPORT=y
    # CONFIG_SPL_SAVEENV is not set
    CONFIG_SPL_ETH_SUPPORT=y
    # CONFIG_SPL_FS_EXT4 is not set
    # CONFIG_SPL_FS_SQUASHFS is not set
    # CONFIG_SPL_FAT_WRITE is not set
    # CONFIG_SPL_FPGA is not set
    CONFIG_SPL_I2C_SUPPORT=y
    # CONFIG_SPL_DM_MAILBOX is not set
    CONFIG_SYS_MMCSD_FS_BOOT_PARTITION=1
    # CONFIG_SPL_MMC_TINY is not set
    # CONFIG_SPL_MMC_WRITE is not set
    # CONFIG_SPL_MPC8XXX_INIT_DDR_SUPPORT is not set
    CONFIG_SPL_MTD_SUPPORT=y
    CONFIG_SPL_MUSB_NEW_SUPPORT=y
    CONFIG_SPL_NAND_SUPPORT=y
    CONFIG_SPL_NAND_DRIVERS=y
    CONFIG_SPL_NAND_ECC=y
    # CONFIG_SPL_NAND_SIMPLE is not set
    CONFIG_SPL_NAND_BASE=y
    CONFIG_SPL_NAND_IDENT=y
    # CONFIG_SPL_UBI is not set
    # CONFIG_SPL_DM_SPI_FLASH is not set
    CONFIG_SPL_NET_SUPPORT=y
    CONFIG_SPL_NET_VCI_STRING="AM335x U-Boot SPL"
    # CONFIG_SPL_NO_CPU_SUPPORT is not set
    # CONFIG_SPL_NOR_SUPPORT is not set
    # CONFIG_SPL_XIP_SUPPORT is not set
    # CONFIG_SPL_ONENAND_SUPPORT is not set
    CONFIG_SPL_OS_BOOT=y
    # CONFIG_SPL_PCI is not set
    # CONFIG_SPL_PCH_SUPPORT is not set
    # CONFIG_SPL_POST_MEM_SUPPORT is not set
    # CONFIG_SPL_DM_RESET is not set
    CONFIG_SPL_POWER_SUPPORT=y
    # CONFIG_SPL_POWER_DOMAIN is not set
    # CONFIG_SPL_RAM_SUPPORT is not set
    # CONFIG_SPL_REMOTEPROC is not set
    # CONFIG_SPL_RTC_SUPPORT is not set
    # CONFIG_SPL_SATA_SUPPORT is not set
    # CONFIG_SPL_SPI_FLASH_MTD is not set
    # CONFIG_SPL_THERMAL is not set
    # CONFIG_SPL_USB_HOST_SUPPORT is not set
    CONFIG_SPL_USB_GADGET=y
    CONFIG_SPL_USB_ETHER=y
    # CONFIG_SPL_USB_SDP_SUPPORT is not set
    CONFIG_SPL_WATCHDOG_SUPPORT=y
    CONFIG_SPL_YMODEM_SUPPORT=y
    CONFIG_SPL_AM33XX_ENABLE_RTC32K_OSC=y
    # CONFIG_SPL_OPTEE is not set

    #
    # Command line interface
    #
    CONFIG_CMDLINE=y
    CONFIG_HUSH_PARSER=y
    CONFIG_CMDLINE_EDITING=y
    CONFIG_AUTO_COMPLETE=y
    CONFIG_SYS_LONGHELP=y
    CONFIG_SYS_PROMPT="=> "
    CONFIG_SYS_XTRACE="y"

    #
    # Commands
    #

    #
    # Info commands
    #
    # CONFIG_CMD_ACPI is not set
    CONFIG_CMD_BDI=y
    # CONFIG_CMD_CONFIG is not set
    CONFIG_CMD_CONSOLE=y
    # CONFIG_CMD_CPU is not set
    # CONFIG_CMD_LICENSE is not set
    # CONFIG_CMD_PMC is not set

    #
    # Boot commands
    #
    CONFIG_CMD_BOOTD=y
    CONFIG_CMD_BOOTM=y
    CONFIG_BOOTM_EFI=y
    CONFIG_CMD_BOOTZ=y
    CONFIG_BOOTM_LINUX=y
    CONFIG_BOOTM_NETBSD=y
    # CONFIG_BOOTM_OPENRTOS is not set
    # CONFIG_BOOTM_OSE is not set
    CONFIG_BOOTM_PLAN9=y
    CONFIG_BOOTM_RTEMS=y
    CONFIG_BOOTM_VXWORKS=y
    CONFIG_CMD_BOOTEFI=y
    CONFIG_CMD_BOOTEFI_HELLO_COMPILE=y
    # CONFIG_CMD_BOOTEFI_HELLO is not set
    # CONFIG_CMD_BOOTEFI_SELFTEST is not set
    # CONFIG_CMD_BOOTMENU is not set
    # CONFIG_CMD_ADTIMG is not set
    # CONFIG_CMD_ABOOTIMG is not set
    CONFIG_CMD_ELF=y
    CONFIG_CMD_FDT=y
    CONFIG_CMD_GO=y
    CONFIG_CMD_RUN=y
    CONFIG_CMD_IMI=y
    # CONFIG_CMD_IMLS is not set
    CONFIG_CMD_XIMG=y
    CONFIG_CMD_SPL=y
    CONFIG_CMD_SPL_NAND_OFS=0x00080000
    CONFIG_CMD_SPL_WRITE_SIZE=0x100000
    # CONFIG_CMD_THOR_DOWNLOAD is not set
    # CONFIG_CMD_ZBOOT is not set

    #
    # Environment commands
    #
    CONFIG_CMD_ASKENV=y
    CONFIG_CMD_EXPORTENV=y
    CONFIG_CMD_IMPORTENV=y
    CONFIG_CMD_EDITENV=y
    # CONFIG_CMD_GREPENV is not set
    CONFIG_CMD_SAVEENV=y
    # CONFIG_CMD_ERASEENV is not set
    CONFIG_CMD_ENV_EXISTS=y
    # CONFIG_CMD_ENV_CALLBACK is not set
    # CONFIG_CMD_ENV_FLAGS is not set
    # CONFIG_CMD_NVEDIT_EFI is not set
    # CONFIG_CMD_NVEDIT_INFO is not set
    # CONFIG_CMD_NVEDIT_LOAD is not set
    # CONFIG_CMD_NVEDIT_SELECT is not set

    #
    # Memory commands
    #
    # CONFIG_CMD_BINOP is not set
    # CONFIG_CMD_BLOBLIST is not set
    CONFIG_CMD_CRC32=y
    # CONFIG_CRC32_VERIFY is not set
    CONFIG_CMD_EEPROM=y
    # CONFIG_CMD_EEPROM_LAYOUT is not set
    # CONFIG_LOOPW is not set
    # CONFIG_CMD_MD5SUM is not set
    # CONFIG_CMD_MEMINFO is not set
    CONFIG_CMD_MEMORY=y
    # CONFIG_CMD_MEM_SEARCH is not set
    # CONFIG_CMD_MX_CYCLIC is not set
    CONFIG_CMD_RANDOM=y
    # CONFIG_CMD_MEMTEST is not set
    # CONFIG_CMD_SHA1SUM is not set
    # CONFIG_CMD_STRINGS is not set

    #
    # Compression commands
    #
    # CONFIG_CMD_LZMADEC is not set
    # CONFIG_CMD_UNLZ4 is not set
    # CONFIG_CMD_UNZIP is not set
    # CONFIG_CMD_ZIP is not set

    #
    # Device access commands
    #
    # CONFIG_CMD_ARMFLASH is not set
    # CONFIG_CMD_BCB is not set
    # CONFIG_CMD_BIND is not set
    # CONFIG_CMD_CLK is not set
    # CONFIG_CMD_DEMO is not set
    CONFIG_CMD_DFU=y
    CONFIG_CMD_DM=y
    # CONFIG_CMD_FASTBOOT is not set
    # CONFIG_CMD_FLASH is not set
    # CONFIG_CMD_FPGAD is not set
    # CONFIG_CMD_FUSE is not set
    CONFIG_CMD_GPIO=y
    CONFIG_CMD_GPT=y
    CONFIG_RANDOM_UUID=y
    # CONFIG_CMD_GPT_RENAME is not set
    # CONFIG_CMD_IDE is not set
    # CONFIG_CMD_IO is not set
    # CONFIG_CMD_IOTRACE is not set
    CONFIG_CMD_I2C=y
    CONFIG_CMD_LOADB=y
    CONFIG_CMD_LOADS=y
    # CONFIG_CMD_LSBLK is not set
    # CONFIG_CMD_MISC is not set
    CONFIG_CMD_MMC=y
    # CONFIG_CMD_BKOPS_ENABLE is not set
    # CONFIG_CMD_MMC_SWRITE is not set
    # CONFIG_CMD_CLONE is not set
    # CONFIG_CMD_MTD is not set
    CONFIG_CMD_NAND=y
    # CONFIG_CMD_NAND_TRIMFFS is not set
    # CONFIG_CMD_NAND_LOCK_UNLOCK is not set
    # CONFIG_CMD_NAND_TORTURE is not set
    # CONFIG_CMD_ONENAND is not set
    # CONFIG_CMD_OSD is not set
    CONFIG_CMD_PART=y
    # CONFIG_CMD_PCI is not set
    # CONFIG_CMD_PINMUX is not set
    # CONFIG_CMD_POWEROFF is not set
    # CONFIG_CMD_READ is not set
    # CONFIG_CMD_SATA is not set
    # CONFIG_CMD_SAVES is not set
    # CONFIG_CMD_SCSI is not set
    # CONFIG_CMD_SDRAM is not set
    CONFIG_CMD_SF=y
    # CONFIG_CMD_SF_TEST is not set
    CONFIG_CMD_SPI=y
    CONFIG_DEFAULT_SPI_BUS=0
    CONFIG_DEFAULT_SPI_MODE=0
    # CONFIG_CMD_TSI148 is not set
    # CONFIG_CMD_UNIVERSE is not set
    CONFIG_CMD_USB=y
    # CONFIG_CMD_USB_SDP is not set
    # CONFIG_CMD_USB_MASS_STORAGE is not set
    # CONFIG_CMD_WDT is not set

    #
    # Shell scripting commands
    #
    CONFIG_CMD_ECHO=y
    CONFIG_CMD_ITEST=y
    CONFIG_CMD_SOURCE=y
    # CONFIG_CMD_SETEXPR is not set

    #
    # Android support commands
    #
    CONFIG_CMD_NET=y
    CONFIG_CMD_BOOTP=y
    CONFIG_CMD_DHCP=y
    CONFIG_BOOTP_BOOTPATH=y
    CONFIG_BOOTP_DNS=y
    CONFIG_BOOTP_DNS2=y
    CONFIG_BOOTP_GATEWAY=y
    CONFIG_BOOTP_HOSTNAME=y
    # CONFIG_BOOTP_PREFER_SERVERIP is not set
    CONFIG_BOOTP_SUBNETMASK=y
    # CONFIG_BOOTP_NTPSERVER is not set
    # CONFIG_CMD_PCAP is not set
    CONFIG_BOOTP_PXE=y
    CONFIG_BOOTP_PXE_CLIENTARCH=0x15
    CONFIG_BOOTP_VCI_STRING="U-Boot.armv7"
    CONFIG_CMD_TFTPBOOT=y
    # CONFIG_CMD_TFTPPUT is not set
    # CONFIG_CMD_TFTPSRV is not set
    CONFIG_NET_TFTP_VARS=y
    # CONFIG_CMD_RARP is not set
    CONFIG_CMD_NFS=y
    CONFIG_CMD_MII=y
    CONFIG_CMD_MDIO=y
    CONFIG_CMD_PING=y
    # CONFIG_CMD_CDP is not set
    # CONFIG_CMD_SNTP is not set
    # CONFIG_CMD_DNS is not set
    # CONFIG_CMD_LINK_LOCAL is not set
    # CONFIG_CMD_ETHSW is not set
    CONFIG_CMD_PXE=y
    # CONFIG_CMD_WOL is not set

    #
    # Misc commands
    #
    # CONFIG_CMD_BOOTCOUNT is not set
    # CONFIG_CMD_BSP is not set
    CONFIG_CMD_BLOCK_CACHE=y
    CONFIG_CMD_CACHE=y
    # CONFIG_CMD_CONITRACE is not set
    # CONFIG_CMD_EFIDEBUG is not set
    # CONFIG_CMD_EXCEPTION is not set
    # CONFIG_CMD_DATE is not set
    CONFIG_CMD_TIME=y
    # CONFIG_CMD_GETTIME is not set
    CONFIG_CMD_SLEEP=y
    # CONFIG_MP is not set
    # CONFIG_CMD_TIMER is not set
    CONFIG_CMD_SYSBOOT=y
    # CONFIG_CMD_QFW is not set
    # CONFIG_CMD_PSTORE is not set
    # CONFIG_CMD_TERMINAL is not set
    # CONFIG_CMD_UUID is not set

    #
    # TI specific command line interface
    #
    # CONFIG_CMD_DDR3 is not set

    #
    # Power commands
    #

    #
    # Security commands
    #
    # CONFIG_CMD_AES is not set
    # CONFIG_CMD_BLOB is not set
    # CONFIG_CMD_HASH is not set

    #
    # Firmware commands
    #

    #
    # Filesystem commands
    #
    # CONFIG_CMD_BTRFS is not set
    CONFIG_CMD_EXT2=y
    CONFIG_CMD_EXT4=y
    CONFIG_CMD_EXT4_WRITE=y
    CONFIG_CMD_FAT=y
    # CONFIG_CMD_SQUASHFS is not set
    CONFIG_CMD_FS_GENERIC=y
    # CONFIG_CMD_FS_UUID is not set
    # CONFIG_CMD_JFFS2 is not set
    CONFIG_CMD_MTDPARTS=y
    # CONFIG_CMD_MTDPARTS_SPREAD is not set
    # CONFIG_CMD_MTDPARTS_SHOW_NET_SIZES is not set
    CONFIG_MTDIDS_DEFAULT="nand0=nand.0"
    CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:512k(NAND.SPL),1m(NAND.u-boot),1m(NAND.u-boot2),512k(NAND.u-boot-env),512k(NAND.dts),10m(NAND.kernel),-(NAND.file-system)"
    # CONFIG_CMD_REISER is not set
    # CONFIG_CMD_ZFS is not set

    #
    # Debug commands
    #
    # CONFIG_CMD_BEDBUG is not set
    # CONFIG_CMD_DIAG is not set
    # CONFIG_CMD_LOG is not set
    # CONFIG_CMD_TRACE is not set
    # CONFIG_CMD_UBI is not set
    # CONFIG_MMC_SPEED_MODE_SET is not set

    #
    # Partition Types
    #
    CONFIG_PARTITIONS=y
    # CONFIG_MAC_PARTITION is not set
    # CONFIG_SPL_MAC_PARTITION is not set
    CONFIG_DOS_PARTITION=y
    CONFIG_SPL_DOS_PARTITION=y
    CONFIG_ISO_PARTITION=y
    # CONFIG_SPL_ISO_PARTITION is not set
    # CONFIG_AMIGA_PARTITION is not set
    # CONFIG_SPL_AMIGA_PARTITION is not set
    CONFIG_EFI_PARTITION=y
    CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=128
    CONFIG_EFI_PARTITION_ENTRIES_OFF=0
    # CONFIG_SPL_EFI_PARTITION is not set
    CONFIG_PARTITION_UUIDS=y
    # CONFIG_SPL_PARTITION_UUIDS is not set
    # CONFIG_PARTITION_TYPE_GUID is not set
    CONFIG_SUPPORT_OF_CONTROL=y
    CONFIG_DTC=y

    #
    # Device Tree Control
    #
    CONFIG_OF_CONTROL=y
    # CONFIG_SPL_OF_CONTROL is not set
    # CONFIG_OF_LIVE is not set
    CONFIG_OF_SEPARATE=y
    # CONFIG_OF_EMBED is not set
    # CONFIG_OF_BOARD is not set
    # CONFIG_OF_PRIOR_STAGE is not set
    CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2 am335x-pocketbeagle"
    # CONFIG_MULTI_DTB_FIT is not set
    # CONFIG_OF_DTB_PROPS_REMOVE is not set

    #
    # Environment
    #
    CONFIG_ENV_SUPPORT=y
    CONFIG_SAVEENV=y
    # CONFIG_ENV_OVERWRITE is not set
    # CONFIG_ENV_IS_NOWHERE is not set
    # CONFIG_ENV_IS_IN_EEPROM is not set
    # CONFIG_ENV_IS_IN_FAT is not set
    # CONFIG_ENV_IS_IN_EXT4 is not set
    # CONFIG_ENV_IS_IN_FLASH is not set
    # CONFIG_ENV_IS_IN_MMC is not set
    CONFIG_ENV_IS_IN_NAND=y
    # CONFIG_ENV_IS_IN_NVRAM is not set
    # CONFIG_ENV_IS_IN_ONENAND is not set
    # CONFIG_ENV_IS_IN_REMOTE is not set
    # CONFIG_ENV_IS_IN_SPI_FLASH is not set
    # CONFIG_SYS_REDUNDAND_ENVIRONMENT is not set
    CONFIG_SYS_RELOC_GD_ENV_ADDR=y
    # CONFIG_USE_DEFAULT_ENV_FILE is not set
    CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
    # CONFIG_ENV_APPEND is not set
    # CONFIG_ENV_WRITEABLE_LIST is not set
    # CONFIG_ENV_ACCESS_IGNORE_FORCE is not set
    CONFIG_SPL_ENV_IS_NOWHERE=y
    CONFIG_VERSION_VARIABLE=y
    CONFIG_NET=y
    # CONFIG_PROT_UDP is not set
    CONFIG_BOOTP_SEND_HOSTNAME=y
    # CONFIG_NET_RANDOM_ETHADDR is not set
    # CONFIG_NETCONSOLE is not set
    # CONFIG_IP_DEFRAG is not set
    CONFIG_TFTP_BLOCKSIZE=1468
    CONFIG_TFTP_WINDOWSIZE=1

    #
    # Device Drivers
    #

    #
    # Generic Driver Options
    #
    CONFIG_DM=y
    CONFIG_SPL_DM=y
    CONFIG_DM_WARN=y
    # CONFIG_SPL_DM_WARN is not set
    # CONFIG_DM_DEBUG is not set
    CONFIG_DM_DEVICE_REMOVE=y
    # CONFIG_SPL_DM_DEVICE_REMOVE is not set
    CONFIG_DM_STDIO=y
    CONFIG_DM_SEQ_ALIAS=y
    CONFIG_SPL_DM_SEQ_ALIAS=y
    # CONFIG_REGMAP is not set
    # CONFIG_SPL_REGMAP is not set
    # CONFIG_DEVRES is not set
    CONFIG_SIMPLE_BUS=y
    CONFIG_OF_TRANSLATE=y
    # CONFIG_TRANSLATION_OFFSET is not set
    CONFIG_DM_DEV_READ_INLINE=y
    # CONFIG_ACPIGEN is not set
    # CONFIG_BOUNCE_BUFFER is not set
    # CONFIG_ADC is not set
    # CONFIG_ADC_EXYNOS is not set
    # CONFIG_ADC_SANDBOX is not set
    # CONFIG_SARADC_MESON is not set
    # CONFIG_SARADC_ROCKCHIP is not set
    # CONFIG_SATA is not set
    # CONFIG_SCSI_AHCI is not set

    #
    # SATA/SCSI device support
    #
    # CONFIG_DWC_AHSATA is not set
    # CONFIG_FSL_SATA is not set
    # CONFIG_MVSATA_IDE is not set
    # CONFIG_SATA_MV is not set
    # CONFIG_SATA_SIL is not set
    # CONFIG_SATA_SIL3114 is not set
    # CONFIG_AXI is not set

    #
    # Bus devices
    #
    CONFIG_BLK=y
    CONFIG_HAVE_BLOCK_DEVICE=y
    CONFIG_SPL_BLK=y
    CONFIG_BLOCK_CACHE=y
    # CONFIG_SPL_BLOCK_CACHE is not set
    # CONFIG_IDE is not set
    CONFIG_BOOTCOUNT_LIMIT=y
    # CONFIG_BOOTCOUNT_GENERIC is not set
    # CONFIG_BOOTCOUNT_EXT is not set
    CONFIG_BOOTCOUNT_AM33XX=y
    # CONFIG_BOOTCOUNT_ENV is not set
    # CONFIG_BOOTCOUNT_RAM is not set
    # CONFIG_BOOTCOUNT_I2C is not set
    # CONFIG_DM_BOOTCOUNT is not set
    CONFIG_SYS_BOOTCOUNT_MAGIC=0xB001C041

    #
    # Button Support
    #
    # CONFIG_BUTTON is not set

    #
    # Cache Controller drivers
    #
    # CONFIG_CACHE is not set
    # CONFIG_L2X0_CACHE is not set
    # CONFIG_NCORE_CACHE is not set

    #
    # Clock
    #
    CONFIG_CLK=y
    # CONFIG_SPL_CLK is not set
    # CONFIG_SPL_CLK_CCF is not set
    # CONFIG_CLK_CCF is not set
    # CONFIG_CLK_K3 is not set
    # CONFIG_SPL_CLK_K3 is not set
    CONFIG_CLK_CDCE9XX=y
    # CONFIG_CLK_AT91 is not set
    # CONFIG_CLK_SIFIVE is not set
    # CONFIG_ICS8N3QV01 is not set
    # CONFIG_CLK_MPC83XX is not set
    # CONFIG_CPU is not set

    #
    # Hardware crypto devices
    #
    # CONFIG_FSL_CAAM is not set
    # CONFIG_SYS_FSL_SEC_BE is not set
    # CONFIG_SYS_FSL_SEC_LE is not set

    #
    # Demo for driver model
    #
    # CONFIG_DM_DEMO is not set

    #
    # DFU support
    #
    CONFIG_DFU=y
    CONFIG_DFU_OVER_USB=y
    CONFIG_DFU_OVER_TFTP=y
    CONFIG_DFU_WRITE_ALT=y
    CONFIG_DFU_TFTP=y
    # CONFIG_DFU_TIMEOUT is not set
    CONFIG_DFU_MMC=y
    CONFIG_DFU_NAND=y
    # CONFIG_DFU_NAND_TRIMFFS is not set
    CONFIG_DFU_RAM=y
    # CONFIG_DFU_SF is not set
    # CONFIG_DFU_VIRT is not set
    # CONFIG_SET_DFU_ALT_INFO is not set
    CONFIG_SYS_DFU_DATA_BUF_SIZE=0x800000
    CONFIG_SYS_DFU_MAX_FILE_SIZE=0x800000

    #
    # DMA Support
    #
    CONFIG_DMA=y
    CONFIG_DMA_CHANNELS=y
    # CONFIG_TI_EDMA3 is not set

    #
    # Fastboot support
    #
    CONFIG_FASTBOOT=y
    CONFIG_USB_FUNCTION_FASTBOOT=y
    # CONFIG_UDP_FUNCTION_FASTBOOT is not set
    CONFIG_FASTBOOT_BUF_ADDR=0x81000000
    CONFIG_FASTBOOT_BUF_SIZE=0x7000000
    CONFIG_FASTBOOT_USB_DEV=0
    CONFIG_FASTBOOT_FLASH=y
    CONFIG_FASTBOOT_FLASH_MMC=y
    # CONFIG_FASTBOOT_FLASH_NAND is not set
    CONFIG_FASTBOOT_FLASH_MMC_DEV=1
    CONFIG_FASTBOOT_GPT_NAME="gpt"
    CONFIG_FASTBOOT_MBR_NAME="mbr"
    CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
    # CONFIG_FIRMWARE is not set
    # CONFIG_ZYNQMP_FIRMWARE is not set

    #
    # FPGA support
    #
    # CONFIG_FPGA_ALTERA is not set
    # CONFIG_FPGA_SOCFPGA is not set
    # CONFIG_FPGA_XILINX is not set

    #
    # GPIO Support
    #
    CONFIG_SPL_DM_GPIO=y
    # CONFIG_GPIO_HOG is not set
    # CONFIG_DM_GPIO_LOOKUP_LABEL is not set
    # CONFIG_SPL_DM_GPIO_LOOKUP_LABEL is not set
    # CONFIG_ALTERA_PIO is not set
    # CONFIG_DWAPB_GPIO is not set
    # CONFIG_AT91_GPIO is not set
    # CONFIG_ATMEL_PIO4 is not set
    # CONFIG_DA8XX_GPIO is not set
    # CONFIG_INTEL_BROADWELL_GPIO is not set
    # CONFIG_INTEL_GPIO is not set
    # CONFIG_INTEL_ICH6_GPIO is not set
    # CONFIG_IMX_RGPIO2P is not set
    # CONFIG_IPROC_GPIO is not set
    # CONFIG_HSDK_CREG_GPIO is not set
    # CONFIG_LPC32XX_GPIO is not set
    # CONFIG_MSM_GPIO is not set
    # CONFIG_MXC_GPIO is not set
    # CONFIG_MXS_GPIO is not set
    CONFIG_OMAP_GPIO=y
    # CONFIG_CMD_PCA953X is not set
    # CONFIG_PCF8575_GPIO is not set
    # CONFIG_ROCKCHIP_GPIO is not set
    # CONFIG_XILINX_GPIO is not set
    # CONFIG_CMD_TCA642X is not set
    # CONFIG_TEGRA_GPIO is not set
    # CONFIG_TEGRA186_GPIO is not set
    # CONFIG_VYBRID_GPIO is not set
    # CONFIG_SIFIVE_GPIO is not set
    # CONFIG_ZYNQ_GPIO is not set
    # CONFIG_DM_74X164 is not set
    # CONFIG_DM_PCA953X is not set
    # CONFIG_SPL_DM_PCA953X is not set
    # CONFIG_MPC8XXX_GPIO is not set
    # CONFIG_NX_GPIO is not set

    #
    # Hardware Spinlock Support
    #
    # CONFIG_DM_HWSPINLOCK is not set

    #
    # I2C support
    #
    CONFIG_DM_I2C=y
    # CONFIG_I2C_SET_DEFAULT_BUS_NUM is not set
    # CONFIG_DM_I2C_GPIO is not set
    # CONFIG_SYS_I2C_IPROC is not set
    # CONFIG_SYS_I2C_FSL is not set
    # CONFIG_SYS_I2C_CADENCE is not set
    # CONFIG_SYS_I2C_DW is not set
    # CONFIG_SYS_I2C_INTEL is not set
    # CONFIG_SYS_I2C_IMX_LPI2C is not set
    # CONFIG_SYS_I2C_MXC is not set
    # CONFIG_SYS_I2C_NEXELL is not set
    # CONFIG_SYS_I2C_OCORES is not set
    CONFIG_SYS_I2C_OMAP24XX=y
    CONFIG_SYS_OMAP24_I2C_SLAVE=1
    CONFIG_SYS_OMAP24_I2C_SPEED=100000
    # CONFIG_SYS_I2C_ROCKCHIP is not set
    # CONFIG_SYS_I2C_MVTWSI is not set
    CONFIG_SYS_I2C_BUS_MAX=3
    # CONFIG_SYS_I2C_XILINX_XIIC is not set
    # CONFIG_SYS_I2C_IHS is not set
    # CONFIG_I2C_MUX is not set
    CONFIG_INPUT=y
    # CONFIG_SPL_INPUT is not set
    # CONFIG_DM_KEYBOARD is not set
    # CONFIG_SPL_DM_KEYBOARD is not set
    # CONFIG_CROS_EC_KEYB is not set
    # CONFIG_TEGRA_KEYBOARD is not set
    # CONFIG_TWL4030_INPUT is not set

    #
    # LED Support
    #
    # CONFIG_LED is not set
    # CONFIG_SPL_LED is not set
    # CONFIG_LED_STATUS is not set

    #
    # Mailbox Controller Support
    #
    # CONFIG_DM_MAILBOX is not set

    #
    # Memory Controller drivers
    #
    # CONFIG_TI_GPMC is not set
    # CONFIG_TI_GPMC_DEBUG is not set

    #
    # Multifunction device drivers
    #
    CONFIG_MISC=y
    # CONFIG_SPL_MISC is not set
    # CONFIG_ALTERA_SYSID is not set
    # CONFIG_ATSHA204A is not set
    # CONFIG_ROCKCHIP_EFUSE is not set
    # CONFIG_ROCKCHIP_OTP is not set
    # CONFIG_SIFIVE_OTP is not set
    # CONFIG_VEXPRESS_CONFIG is not set
    # CONFIG_CROS_EC is not set
    # CONFIG_SPL_CROS_EC is not set
    # CONFIG_DS4510 is not set
    # CONFIG_FSL_SEC_MON is not set
    # CONFIG_NUVOTON_NCT6102D is not set
    # CONFIG_PWRSEQ is not set
    # CONFIG_PCA9551_LED is not set
    # CONFIG_TWL4030_LED is not set
    # CONFIG_WINBOND_W83627 is not set
    # CONFIG_I2C_EEPROM is not set
    # CONFIG_SPL_I2C_EEPROM is not set
    # CONFIG_GDSYS_RXAUI_CTRL is not set
    # CONFIG_GDSYS_IOEP is not set
    # CONFIG_MPC83XX_SERDES is not set
    # CONFIG_FS_LOADER is not set
    # CONFIG_SPL_FS_LOADER is not set
    # CONFIG_GDSYS_SOC is not set
    # CONFIG_IHS_FPGA is not set
    # CONFIG_MICROCHIP_FLEXCOM is not set

    #
    # MMC Host controller Support
    #
    CONFIG_MMC=y
    CONFIG_MMC_WRITE=y
    # CONFIG_MMC_BROKEN_CD is not set
    CONFIG_DM_MMC=y
    CONFIG_SPL_DM_MMC=y
    # CONFIG_MMC_SPI is not set
    # CONFIG_ARM_PL180_MMCI is not set
    CONFIG_MMC_QUIRKS=y
    # CONFIG_MMC_HW_PARTITIONING is not set
    # CONFIG_SUPPORT_EMMC_RPMB is not set
    # CONFIG_SUPPORT_EMMC_BOOT is not set
    # CONFIG_MMC_IO_VOLTAGE is not set
    # CONFIG_SPL_MMC_IO_VOLTAGE is not set
    # CONFIG_MMC_HS400_ES_SUPPORT is not set
    # CONFIG_SPL_MMC_HS400_ES_SUPPORT is not set
    # CONFIG_MMC_HS400_SUPPORT is not set
    # CONFIG_SPL_MMC_HS400_SUPPORT is not set
    # CONFIG_MMC_HS200_SUPPORT is not set
    # CONFIG_SPL_MMC_HS200_SUPPORT is not set
    CONFIG_MMC_VERBOSE=y
    # CONFIG_MMC_TRACE is not set
    # CONFIG_MMC_DW is not set
    # CONFIG_MMC_MXC is not set
    # CONFIG_MMC_PCI is not set
    # CONFIG_PXA_MMC_GENERIC is not set
    CONFIG_MMC_OMAP_HS=y
    # CONFIG_MMC_OMAP_HS_ADMA is not set
    # CONFIG_MMC_SDHCI is not set
    # CONFIG_STM32_SDMMC2 is not set
    # CONFIG_FTSDC010 is not set
    # CONFIG_FSL_ESDHC is not set
    # CONFIG_FSL_ESDHC_IMX is not set

    #
    # MTD Support
    #
    CONFIG_MTD=y
    # CONFIG_DM_MTD is not set
    # CONFIG_MTD_NOR_FLASH is not set
    # CONFIG_SYS_MTDPARTS_RUNTIME is not set
    # CONFIG_FLASH_CFI_DRIVER is not set
    CONFIG_MTD_RAW_NAND=y
    # CONFIG_SYS_NAND_USE_FLASH_BBT is not set
    # CONFIG_NAND_ATMEL is not set
    # CONFIG_NAND_DAVINCI is not set
    # CONFIG_NAND_LPC32XX_SLC is not set
    CONFIG_NAND_OMAP_GPMC=y
    CONFIG_NAND_OMAP_GPMC_PREFETCH=y
    CONFIG_NAND_OMAP_ELM=y
    # CONFIG_NAND_VF610_NFC is not set
    # CONFIG_NAND_PXA3XX is not set
    # CONFIG_NAND_ZYNQ is not set
    # CONFIG_NAND_OCTEONTX is not set

    #
    # Generic NAND options
    #
    # CONFIG_SYS_NAND_BUSWIDTH_16BIT is not set
    CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
    CONFIG_SYS_NAND_U_BOOT_OFFS=0x00080000
    CONFIG_SYS_NAND_U_BOOT_OFFS_REDUND=0x00180000
    CONFIG_SPL_NAND_AM33XX_BCH=y
    # CONFIG_SPL_NAND_DENALI is not set

    #
    # SPI Flash Support
    #
    CONFIG_DM_SPI_FLASH=y
    CONFIG_SPI_FLASH=y
    CONFIG_SF_DEFAULT_BUS=0
    CONFIG_SF_DEFAULT_CS=0
    CONFIG_SF_DEFAULT_MODE=3
    CONFIG_SF_DEFAULT_SPEED=24000000
    # CONFIG_SPI_FLASH_SFDP_SUPPORT is not set
    CONFIG_SPI_FLASH_SMART_HWCAPS=y
    # CONFIG_SPI_FLASH_SOFT_RESET is not set
    # CONFIG_SPI_FLASH_BAR is not set
    # CONFIG_SF_DUAL_FLASH is not set
    # CONFIG_SPI_FLASH_ATMEL is not set
    # CONFIG_SPI_FLASH_EON is not set
    # CONFIG_SPI_FLASH_GIGADEVICE is not set
    # CONFIG_SPI_FLASH_ISSI is not set
    # CONFIG_SPI_FLASH_MACRONIX is not set
    # CONFIG_SPI_FLASH_SPANSION is not set
    # CONFIG_SPI_FLASH_STMICRO is not set
    # CONFIG_SPI_FLASH_SST is not set
    CONFIG_SPI_FLASH_WINBOND=y
    # CONFIG_SPI_FLASH_XMC is not set
    CONFIG_SPI_FLASH_USE_4K_SECTORS=y
    # CONFIG_SPI_FLASH_DATAFLASH is not set
    # CONFIG_SPI_FLASH_MTD is not set

    #
    # UBI support
    #
    # CONFIG_UBI_SILENCE_MSG is not set
    # CONFIG_MTD_UBI is not set

    #
    # Multiplexer drivers
    #
    # CONFIG_MULTIPLEXER is not set
    # CONFIG_BITBANGMII is not set
    # CONFIG_MV88E6352_SWITCH is not set
    CONFIG_PHYLIB=y
    # CONFIG_PHY_ADDR_ENABLE is not set
    # CONFIG_B53_SWITCH is not set
    # CONFIG_MV88E61XX_SWITCH is not set
    # CONFIG_PHYLIB_10G is not set
    # CONFIG_PHY_AQUANTIA is not set
    # CONFIG_PHY_ATHEROS is not set
    # CONFIG_PHY_BROADCOM is not set
    # CONFIG_PHY_CORTINA is not set
    # CONFIG_PHY_DAVICOM is not set
    # CONFIG_PHY_ET1011C is not set
    # CONFIG_PHY_LXT is not set
    # CONFIG_PHY_MARVELL is not set
    # CONFIG_PHY_MESON_GXL is not set
    # CONFIG_PHY_MICREL is not set
    # CONFIG_PHY_MSCC is not set
    # CONFIG_PHY_NATSEMI is not set
    # CONFIG_PHY_REALTEK is not set
    # CONFIG_PHY_SMSC is not set
    # CONFIG_PHY_TERANETICS is not set
    CONFIG_PHY_TI=y
    # CONFIG_PHY_TI_DP83867 is not set
    CONFIG_PHY_TI_GENERIC=y
    # CONFIG_PHY_VITESSE is not set
    # CONFIG_PHY_XILINX is not set
    # CONFIG_PHY_XILINX_GMII2RGMII is not set
    # CONFIG_PHY_FIXED is not set
    # CONFIG_PHY_NCSI is not set
    # CONFIG_FSL_PFE is not set
    CONFIG_DM_ETH=y
    # CONFIG_DM_MDIO is not set
    # CONFIG_DM_ETH_PHY is not set
    CONFIG_NETDEVICES=y
    # CONFIG_PHY_GIGE is not set
    # CONFIG_ALTERA_TSE is not set
    # CONFIG_BCM_SF2_ETH is not set
    # CONFIG_BCMGENET is not set
    # CONFIG_DWC_ETH_QOS is not set
    # CONFIG_EEPRO100 is not set
    # CONFIG_ETH_DESIGNWARE is not set
    # CONFIG_ETHOC is not set
    # CONFIG_FMAN_ENET is not set
    # CONFIG_FTMAC100 is not set
    # CONFIG_FTGMAC100 is not set
    # CONFIG_MCFFEC is not set
    # CONFIG_FSLDMAFEC is not set
    # CONFIG_KS8851_MLL is not set
    # CONFIG_MACB is not set
    CONFIG_RGMII=y
    CONFIG_MII=y
    # CONFIG_PCNET is not set
    # CONFIG_QE_UEC is not set
    # CONFIG_RTL8139 is not set
    # CONFIG_RTL8169 is not set
    # CONFIG_SMC911X is not set
    # CONFIG_SUN7I_GMAC is not set
    # CONFIG_SUN4I_EMAC is not set
    # CONFIG_SUN8I_EMAC is not set
    # CONFIG_SH_ETHER is not set
    CONFIG_DRIVER_TI_CPSW=y
    # CONFIG_DRIVER_TI_EMAC is not set
    # CONFIG_DRIVER_TI_KEYSTONE_NET is not set
    # CONFIG_XILINX_AXIEMAC is not set
    # CONFIG_XILINX_EMACLITE is not set
    # CONFIG_ZYNQ_GEM is not set
    # CONFIG_SYS_DPAA_QBMAN is not set
    # CONFIG_TSEC_ENET is not set
    # CONFIG_MEDIATEK_ETH is not set
    # CONFIG_HIGMACV300_ETH is not set
    # CONFIG_PCI is not set

    #
    # PCI Endpoint
    #
    # CONFIG_PCI_ENDPOINT is not set
    # CONFIG_X86_PCH7 is not set
    # CONFIG_X86_PCH9 is not set

    #
    # PHY Subsystem
    #
    # CONFIG_PHY is not set
    # CONFIG_SPL_PHY is not set

    #
    # Rockchip PHY driver
    #
    # CONFIG_MVEBU_COMPHY_SUPPORT is not set

    #
    # Pin controllers
    #
    # CONFIG_PINCTRL is not set
    # CONFIG_SPL_PINCTRL is not set

    #
    # Power
    #
    # CONFIG_ACPI_PMC is not set
    # CONFIG_SPL_ACPI_PMC is not set
    # CONFIG_TPL_ACPI_PMC is not set

    #
    # Power Domain Support
    #
    # CONFIG_POWER_DOMAIN is not set
    # CONFIG_DM_PMIC is not set
    # CONFIG_PMIC_AS3722 is not set
    # CONFIG_POWER_MC34VR500 is not set
    # CONFIG_DM_REGULATOR is not set
    # CONFIG_POWER_MT6323 is not set
    # CONFIG_DM_PWM is not set
    # CONFIG_PWM_IMX is not set
    # CONFIG_PWM_SANDBOX is not set
    # CONFIG_U_QE is not set
    # CONFIG_RAM is not set

    #
    # Remote Processor drivers
    #

    #
    # Reset Controller Support
    #
    # CONFIG_DM_RESET is not set
    # CONFIG_RESET_SCMI is not set
    # CONFIG_DM_RNG is not set

    #
    # Real Time Clock
    #
    # CONFIG_DM_RTC is not set
    # CONFIG_SPL_DM_RTC is not set
    # CONFIG_RTC_ENABLE_32KHZ_OUTPUT is not set
    # CONFIG_RTC_PCF8563 is not set
    # CONFIG_RTC_RX8025 is not set
    # CONFIG_RTC_PL031 is not set
    # CONFIG_RTC_S35392A is not set
    # CONFIG_RTC_MC146818 is not set
    # CONFIG_RTC_M41T62 is not set
    # CONFIG_SCSI is not set
    # CONFIG_DM_SCSI is not set

    #
    # Serial drivers
    #
    CONFIG_BAUDRATE=115200
    CONFIG_REQUIRE_SERIAL_CONSOLE=y
    CONFIG_SPECIFY_CONSOLE_INDEX=y
    CONFIG_SERIAL_PRESENT=y
    CONFIG_SPL_SERIAL_PRESENT=y
    CONFIG_CONS_INDEX=1
    CONFIG_DM_SERIAL=y
    # CONFIG_SERIAL_RX_BUFFER is not set
    # CONFIG_SERIAL_SEARCH_ALL is not set
    CONFIG_SPL_DM_SERIAL=y
    # CONFIG_ALTERA_JTAG_UART is not set
    # CONFIG_ALTERA_UART is not set
    # CONFIG_ARC_SERIAL is not set
    # CONFIG_ARM_DCC is not set
    # CONFIG_ATMEL_USART is not set
    # CONFIG_BCM6345_SERIAL is not set
    # CONFIG_COREBOOT_SERIAL is not set
    # CONFIG_CORTINA_UART is not set
    # CONFIG_FSL_LINFLEXUART is not set
    # CONFIG_FSL_LPUART is not set
    # CONFIG_MVEBU_A3700_UART is not set
    # CONFIG_MCFUART is not set
    # CONFIG_NULLDEV_SERIAL is not set
    CONFIG_SYS_NS16550=y
    # CONFIG_NS16550_DYNAMIC is not set
    # CONFIG_PL01X_SERIAL is not set
    # CONFIG_XILINX_UARTLITE is not set
    # CONFIG_MSM_SERIAL is not set
    CONFIG_OMAP_SERIAL=y
    # CONFIG_PXA_SERIAL is not set
    # CONFIG_SIFIVE_SERIAL is not set
    # CONFIG_ZYNQ_SERIAL is not set
    # CONFIG_MTK_SERIAL is not set
    # CONFIG_SMEM is not set

    #
    # Sound support
    #
    # CONFIG_SOUND is not set

    #
    # SOC (System On Chip) specific Drivers
    #
    # CONFIG_SOC_DEVICE is not set
    # CONFIG_SOC_TI is not set
    CONFIG_SPI=y
    CONFIG_DM_SPI=y
    CONFIG_SPI_MEM=y
    # CONFIG_ALTERA_SPI is not set
    # CONFIG_ATCSPI200_SPI is not set
    # CONFIG_ATMEL_SPI is not set
    # CONFIG_BCMSTB_SPI is not set
    # CONFIG_CORTINA_SFLASH is not set
    # CONFIG_CADENCE_QSPI is not set
    # CONFIG_CF_SPI is not set
    # CONFIG_DESIGNWARE_SPI is not set
    # CONFIG_EXYNOS_SPI is not set
    # CONFIG_FSL_DSPI is not set
    # CONFIG_FSL_QSPI is not set
    # CONFIG_ICH_SPI is not set
    # CONFIG_KIRKWOOD_SPI is not set
    # CONFIG_MPC8XXX_SPI is not set
    # CONFIG_MTK_SNFI_SPI is not set
    # CONFIG_MVEBU_A3700_SPI is not set
    # CONFIG_MXS_SPI is not set
    # CONFIG_NXP_FSPI is not set
    CONFIG_OMAP3_SPI=y
    # CONFIG_PL022_SPI is not set
    # CONFIG_ROCKCHIP_SPI is not set
    # CONFIG_SPI_SIFIVE is not set
    # CONFIG_SOFT_SPI is not set
    # CONFIG_SPI_SUNXI is not set
    # CONFIG_TEGRA114_SPI is not set
    # CONFIG_TEGRA20_SFLASH is not set
    # CONFIG_TEGRA20_SLINK is not set
    # CONFIG_TEGRA210_QSPI is not set
    # CONFIG_TI_QSPI is not set
    # CONFIG_XILINX_SPI is not set
    # CONFIG_ZYNQ_SPI is not set
    # CONFIG_ZYNQ_QSPI is not set
    # CONFIG_ZYNQMP_GQSPI is not set
    # CONFIG_FSL_ESPI is not set
    # CONFIG_SH_QSPI is not set
    # CONFIG_MXC_SPI is not set

    #
    # SPMI support
    #
    # CONFIG_SPMI is not set
    # CONFIG_SYSINFO is not set

    #
    # System reset device drivers
    #
    # CONFIG_SYSRESET is not set
    # CONFIG_SYSRESET_SYSCON is not set
    # CONFIG_SYSRESET_WATCHDOG is not set
    # CONFIG_SYSRESET_RESETCTL is not set
    # CONFIG_SYSRESET_MPC83XX is not set
    # CONFIG_TEE is not set
    # CONFIG_OPTEE is not set
    # CONFIG_DM_THERMAL is not set

    #
    # Timer Support
    #
    CONFIG_TIMER=y
    # CONFIG_SPL_TIMER is not set
    # CONFIG_TIMER_EARLY is not set
    # CONFIG_ALTERA_TIMER is not set
    # CONFIG_AST_TIMER is not set
    # CONFIG_ATCPIT100_TIMER is not set
    # CONFIG_ATMEL_PIT_TIMER is not set
    # CONFIG_CADENCE_TTC_TIMER is not set
    # CONFIG_DESIGNWARE_APB_TIMER is not set
    # CONFIG_MPC83XX_TIMER is not set
    # CONFIG_RENESAS_OSTM_TIMER is not set
    # CONFIG_NOMADIK_MTU_TIMER is not set
    CONFIG_OMAP_TIMER=y
    # CONFIG_ROCKCHIP_TIMER is not set
    # CONFIG_STI_TIMER is not set
    # CONFIG_STM32_TIMER is not set
    # CONFIG_MTK_TIMER is not set
    # CONFIG_MCHP_PIT64B_TIMER is not set

    #
    # TPM support
    #
    CONFIG_USB=y
    CONFIG_DM_USB=y
    CONFIG_SPL_DM_USB=y
    CONFIG_DM_USB_GADGET=y
    CONFIG_SPL_DM_USB_GADGET=y

    #
    # USB Host Controller Drivers
    #
    # CONFIG_USB_XHCI_HCD is not set
    # CONFIG_USB_EHCI_HCD is not set
    # CONFIG_USB_OHCI_HCD is not set
    # CONFIG_USB_OHCI_PCI is not set
    # CONFIG_USB_UHCI_HCD is not set
    # CONFIG_USB_DWC2 is not set
    # CONFIG_USB_R8A66597_HCD is not set
    # CONFIG_USB_CDNS3 is not set
    # CONFIG_USB_DWC3 is not set

    #
    # Legacy MUSB Support
    #
    # CONFIG_USB_MUSB_HCD is not set
    # CONFIG_USB_MUSB_UDC is not set
    # CONFIG_USB_OMAP3 is not set
    # CONFIG_USB_AM35X is not set

    #
    # MUSB Controller Driver
    #
    CONFIG_USB_MUSB_HOST=y
    CONFIG_USB_MUSB_GADGET=y
    # CONFIG_USB_MUSB_DA8XX is not set
    CONFIG_USB_MUSB_TI=y
    # CONFIG_USB_MUSB_OMAP2PLUS is not set
    # CONFIG_USB_MUSB_AM35X is not set
    CONFIG_USB_MUSB_DSPS=y
    CONFIG_USB_MUSB_DISABLE_BULK_COMBINE_SPLIT=y
    CONFIG_USB_MUSB_PIO_ONLY=y

    #
    # USB Phy
    #
    # CONFIG_TWL4030_USB is not set
    # CONFIG_OMAP_USB_PHY is not set
    # CONFIG_ROCKCHIP_USB2_PHY is not set

    #
    # ULPI drivers
    #

    #
    # USB peripherals
    #
    CONFIG_USB_STORAGE=y
    # CONFIG_USB_KEYBOARD is not set
    CONFIG_USB_GADGET=y
    CONFIG_USB_GADGET_MANUFACTURER="Texas Instruments"
    CONFIG_USB_GADGET_VENDOR_NUM=0x0451
    CONFIG_USB_GADGET_PRODUCT_NUM=0xd022
    # CONFIG_USB_GADGET_ATMEL_USBA is not set
    # CONFIG_USB_GADGET_BCM_UDC_OTG_PHY is not set
    # CONFIG_USB_GADGET_DWC2_OTG is not set
    # CONFIG_CI_UDC is not set
    # CONFIG_USB_GADGET_MAX3420 is not set
    CONFIG_USB_GADGET_VBUS_DRAW=2
    CONFIG_SDP_LOADADDR=0
    CONFIG_USB_GADGET_DUALSPEED=y
    CONFIG_USB_GADGET_DOWNLOAD=y
    # CONFIG_USB_FUNCTION_MASS_STORAGE is not set
    # CONFIG_USB_FUNCTION_ROCKUSB is not set
    # CONFIG_USB_FUNCTION_SDP is not set
    # CONFIG_USB_FUNCTION_THOR is not set
    CONFIG_USB_ETHER=y
    # CONFIG_USB_ETH_CDC is not set
    CONFIG_USB_ETH_RNDIS=y
    CONFIG_USBNET_DEVADDR="de:ad:be:ef:00:01"
    CONFIG_USBNET_HOST_ADDR="de:ad:be:ef:00:00"
    # CONFIG_USB_HOST_ETHER is not set

    #
    # UFS Host Controller Support
    #
    # CONFIG_TI_J721E_UFS is not set

    #
    # Graphics support
    #
    # CONFIG_DM_VIDEO is not set
    # CONFIG_SYS_WHITE_ON_BLACK is not set
    # CONFIG_NO_FB_CLEAR is not set

    #
    # TrueType Fonts
    #
    # CONFIG_VIDEO_VESA is not set
    # CONFIG_VIDEO_LCD_ANX9804 is not set
    # CONFIG_VIDEO_LCD_SSD2828 is not set
    # CONFIG_VIDEO_MVEBU is not set
    # CONFIG_VIDEO_OMAP3 is not set
    # CONFIG_I2C_EDID is not set
    # CONFIG_DISPLAY is not set
    # CONFIG_ATMEL_HLCD is not set
    # CONFIG_AM335X_LCD is not set
    # CONFIG_VIDEO_TEGRA20 is not set
    # CONFIG_VIDEO_BRIDGE is not set
    # CONFIG_VIDEO is not set
    # CONFIG_CFB_CONSOLE is not set
    # CONFIG_LCD is not set
    # CONFIG_VIDEO_SIMPLE is not set
    # CONFIG_VIDEO_DT_SIMPLEFB is not set
    # CONFIG_OSD is not set
    # CONFIG_SPLASH_SCREEN is not set
    # CONFIG_VIDEO_VCXK is not set

    #
    # VirtIO Drivers
    #
    # CONFIG_VIRTIO_MMIO is not set

    #
    # 1-Wire support
    #
    # CONFIG_W1 is not set

    #
    # 1-wire EEPROM support
    #
    # CONFIG_W1_EEPROM is not set

    #
    # Watchdog Timer Support
    #
    CONFIG_WATCHDOG=y
    CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
    # CONFIG_IMX_WATCHDOG is not set
    # CONFIG_OMAP_WATCHDOG is not set
    # CONFIG_ULP_WATCHDOG is not set
    # CONFIG_DESIGNWARE_WATCHDOG is not set
    CONFIG_WDT=y
    # CONFIG_WDT_ASPEED is not set
    # CONFIG_WDT_AT91 is not set
    # CONFIG_WDT_CDNS is not set
    # CONFIG_WDT_CORTINA is not set
    CONFIG_WDT_OMAP3=y
    # CONFIG_WDT_ORION is not set
    # CONFIG_WDT_SBSA is not set
    # CONFIG_WDT_SP805 is not set
    # CONFIG_WDT_STM32MP is not set
    # CONFIG_XILINX_TB_WATCHDOG is not set
    # CONFIG_SPL_WDT is not set
    # CONFIG_PVBLOCK is not set
    # CONFIG_PHYS_TO_BUS is not set

    #
    # File systems
    #
    # CONFIG_FS_BTRFS is not set
    # CONFIG_FS_CBFS is not set
    # CONFIG_SPL_FS_CBFS is not set
    CONFIG_FS_EXT4=y
    CONFIG_EXT4_WRITE=y
    CONFIG_FS_FAT=y
    CONFIG_FAT_WRITE=y
    CONFIG_FS_FAT_MAX_CLUSTSIZE=65536
    # CONFIG_FS_JFFS2 is not set
    # CONFIG_UBIFS_SILENCE_MSG is not set
    # CONFIG_FS_CRAMFS is not set
    # CONFIG_YAFFS2 is not set
    # CONFIG_FS_SQUASHFS is not set

    #
    # Library routines
    #
    # CONFIG_ADDR_MAP is not set
    # CONFIG_BCH is not set
    # CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED is not set
    CONFIG_DYNAMIC_CRC_TABLE=y
    CONFIG_HAVE_PRIVATE_LIBGCC=y
    CONFIG_LIB_UUID=y
    CONFIG_PRINTF=y
    CONFIG_SPL_PRINTF=y
    CONFIG_SPRINTF=y
    CONFIG_SPL_SPRINTF=y
    CONFIG_STRTO=y
    CONFIG_SPL_STRTO=y
    CONFIG_IMAGE_SPARSE=y
    CONFIG_IMAGE_SPARSE_FILLBUF_SIZE=0x80000
    CONFIG_USE_PRIVATE_LIBGCC=y
    CONFIG_SYS_HZ=1000
    CONFIG_SPL_USE_TINY_PRINTF=y
    # CONFIG_PANIC_HANG is not set
    CONFIG_REGEX=y
    CONFIG_LIB_RAND=y
    # CONFIG_LIB_HW_RAND is not set
    # CONFIG_SPL_TINY_MEMSET is not set
    # CONFIG_TPL_TINY_MEMSET is not set
    # CONFIG_BITREVERSE is not set
    # CONFIG_TRACE is not set
    # CONFIG_CMD_DHRYSTONE is not set

    #
    # Security support
    #
    # CONFIG_AES is not set
    CONFIG_RSA=y
    # CONFIG_SPL_RSA is not set
    # CONFIG_RSA_VERIFY_WITH_PKEY is not set
    CONFIG_RSA_SOFTWARE_EXP=y
    # CONFIG_ASYMMETRIC_KEY_TYPE is not set
    # CONFIG_TPM is not set
    # CONFIG_SPL_TPM is not set

    #
    # Android Verified Boot
    #
    # CONFIG_LIBAVB is not set

    #
    # Hashing Support
    #
    CONFIG_SHA1=y
    CONFIG_SHA256=y
    # CONFIG_SHA512_ALGO is not set
    # CONFIG_SHA_HW_ACCEL is not set
    CONFIG_MD5=y
    # CONFIG_SPL_MD5 is not set

    #
    # Compression Support
    #
    # CONFIG_LZ4 is not set
    # CONFIG_LZMA is not set
    CONFIG_LZO=y
    CONFIG_GZIP=y
    # CONFIG_ZLIB_UNCOMPRESS is not set
    # CONFIG_BZIP2 is not set
    CONFIG_ZLIB=y
    # CONFIG_ZSTD is not set
    # CONFIG_SPL_LZ4 is not set
    # CONFIG_SPL_LZMA is not set
    # CONFIG_SPL_LZO is not set
    # CONFIG_SPL_GZIP is not set
    # CONFIG_SPL_ZSTD is not set
    # CONFIG_ERRNO_STR is not set
    # CONFIG_HEXDUMP is not set
    # CONFIG_GETOPT is not set
    CONFIG_OF_LIBFDT=y
    CONFIG_OF_LIBFDT_ASSUME_MASK=0
    CONFIG_OF_LIBFDT_OVERLAY=y
    CONFIG_SPL_OF_LIBFDT=y
    CONFIG_SPL_OF_LIBFDT_ASSUME_MASK=0xff
    # CONFIG_TPL_OF_LIBFDT is not set
    CONFIG_TPL_OF_LIBFDT_ASSUME_MASK=0xff
    # CONFIG_FDT_FIXUP_PARTITIONS is not set

    #
    # System tables
    #
    CONFIG_GENERATE_SMBIOS_TABLE=y
    # CONFIG_LIB_RATIONAL is not set
    # CONFIG_SPL_LIB_RATIONAL is not set
    # CONFIG_SMBIOS_PARSER is not set
    CONFIG_EFI_LOADER=y
    CONFIG_EFI_VARIABLE_FILE_STORE=y
    # CONFIG_EFI_VARIABLES_PRESEED is not set
    CONFIG_EFI_VAR_BUF_SIZE=16384
    CONFIG_EFI_DEVICE_PATH_TO_TEXT=y
    CONFIG_EFI_LOADER_HII=y
    CONFIG_EFI_UNICODE_COLLATION_PROTOCOL2=y
    CONFIG_EFI_UNICODE_CAPITALIZATION=y
    # CONFIG_EFI_UNICODE_COLLATION_PROTOCOL is not set
    CONFIG_EFI_PLATFORM_LANG_CODES="en-US"
    CONFIG_EFI_GRUB_ARM32_WORKAROUND=y
    # CONFIG_EFI_LOAD_FILE2_INITRD is not set
    # CONFIG_EFI_SECURE_BOOT is not set
    # CONFIG_TEST_FDTDEC is not set
    CONFIG_LIB_ELF=y
    # CONFIG_PHANDLE_CHECK_SEQ is not set
    # CONFIG_UNIT_TEST is not set
    # CONFIG_SPL_UNIT_TEST is not set

    #
    # Tools options
    #
    CONFIG_MKIMAGE_DTC_PATH="dtc"
  • Hello,
    Thank you for your interests on AM335x SoC.
    Will you repost your questions in English?
    I'm closing the e2e.
    Best,
    -Hong

  • Yes, I am use SDK am335x-evm-08.02.00.24 , But read or write kernel file from nand is to slow, I add some debug code, read speed only 950KB/S, and write speed only 360KB/S:

    NAND write: device 0 offset 0x380000, size 0x4ff200
    [75973]NAND write process: offset: 0x00380000, size: 0x004ff200
    [90188]NAND write to offset 0x00380000 finish, no bad block
    [90203]Nand write size: 5239296, use time:14230ms, write speed: 359kB/s
    5239296 bytes written: OK
    => boot
    Booting from nand ...

    NAND read: device 0 offset 0x300000, size 0x80000
    [217988]NAND read process: offset: 0x00300000, size: 0x00080000
    [218526]Nand read size: 524288, use time:537ms, read speed: 952kB/s
    524288 bytes read: OK

    NAND read: device 0 offset 0x380000, size 0xa00000
    [218564]NAND read process: offset: 0x00380000, size: 0x00a00000
    [228995]Nand read size: 10485760, use time:10430ms, read speed: 982kB/s

    nand info:

    => nand info

    Device 0: nand0, sector size 512 KiB
    Page size 4096 b
    OOB size 224 b
    Erase size 524288 b
    subpagesize 1024 b
    options 0x4000400c
    bbt options 0x00000000

    I also enable prefetch, But there was no improvement

    CONFIG_NAND_OMAP_GPMC=y
    CONFIG_NAND_OMAP_GPMC_PREFETCH=y
    CONFIG_CMD_BLOCK_CACHE=y
    CONFIG_CMD_CACHE=y
    starting log:

    CCC
    U-Boot SPL 2021.01-00001-gc59bf25a38-dirty (Nov 29 2023 - 13:54:05 +0800)
    Trying to boot from NAND
    nand: using OMAP_ECC_BCH16_CODE_HW
    use GPMC prefetch read.
    Loading element from 0x00080000 (size 0x00000040) to 0x80800000

    (It takes 3 seconds here)
    U-Boot 2021.01-00001-gc59bf25a38-dirty (Nov 29 2023 - 13:54:05 +0800)

    CPU : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM: 512 MiB
    Setting QCA7000 and wifi&ble power
    WDT: Started with servicing (60s timeout)
    NAND: nand: using OMAP_ECC_BCH16_CODE_HW
    use GPMC prefetch read.
    nand_base: device found, Manufacturer ID: 0x2c, Chip ID: 0x48
    nand_base: Micron MT29F16G08ABACAWP
    nand_base: 2048 MiB, SLC, erase size: 512 KiB, page size: 4096, OOB size: 224

    Is there any improvement solution available? Thank you very much.

  • Hello,
    Will you repost your original questions in English in a new e2e?
    I'm closing this e2e.
    Best,
    -Hong