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.

AM3358-EP: omap-elm: uncorrectable ECC errors

Part Number: AM3358-EP


Processor : AM3358BGCZA80EP
NAND : MT29F8G08ABACAH4-IT:C TR
SDK:ti-processor-sdk-linux-am335x-evm-08.02.00.24
SYSBOOT[9] :0, I've tried with setting it as 1, but problem exists.

After flashing uboot and spl, while booting after SPL header print it says  "omap-elm: uncorrectable ECC errors many times. Then uboot and linux are booted. When I tried to go for BCH8, serial terminal simply prints 'CCCC' continuosly. Please help.

I've mentioned my uboot commands in "steps for uboot flash.txt". Attached files are
err.txt : Error after boot
config_info : nand config from /uboot directory/include/configs/am335x_myboard.h
defconfig: nand config from /uboot directory/configs/myBoard_defconfig.h

/*
 * am335x_myboard.h
 *
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation version 2.
 *
 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
 * kind, whether express or implied; without even the implied warranty
 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 */

#ifndef __CONFIG_AM335X_myboard_H
#define __CONFIG_AM335X_myboard_H

#include <configs/ti_am335x_common.h>
#include <linux/sizes.h>

#ifndef CONFIG_SPL_BUILD
# define CONFIG_TIMESTAMP
#endif

#define CONFIG_SYS_BOOTM_LEN		SZ_16M

#define CONFIG_MACH_TYPE		MACH_TYPE_AM335XEVM

/* Clock Defines */
#define V_OSCK				24000000  /* Clock output from T2 */
#define V_SCLK				(V_OSCK)

#define CONFIG_POWER_TPS65217

#define BOOTENV_DEV_LEGACY_MMC(devtypeu, devtypel, instance) \
	"bootcmd_" #devtypel #instance "=" \
	"setenv mmcdev " #instance "; "\
	"setenv bootpart " #instance ":2 ; "\
	"run mmcboot\0"

#define BOOTENV_DEV_NAME_LEGACY_MMC(devtypeu, devtypel, instance) \
	#devtypel #instance " "

#define BOOT_TARGET_DEVICES(func) \
	func(MMC, mmc, 0) \
	func(LEGACY_MMC, legacy_mmc, 0)

#include <config_distro_bootcmd.h>

#ifndef CONFIG_SPL_BUILD
#include <environment/ti/mmc.h>

#define CONFIG_EXTRA_ENV_SETTINGS \
	DEFAULT_LINUX_BOOT_ENV \
	DEFAULT_MMC_TI_ARGS \
	DEFAULT_FIT_TI_ARGS \
	"bootpart=0:2\0" \
	"bootdir=/boot\0" \
	"bootfile=zImage\0" \
	"fdtfile=undefined\0" \
	"console=ttyS0,115200n8\0" \
	"partitions=" \
		"uuid_disk=${uuid_gpt_disk};" \
		"name=bootloader,start=384K,size=1792K," \
			"uuid=${uuid_gpt_bootloader};" \
		"name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs}\0" \
	"optargs=\0" \
	"ramroot=/dev/ram0 rw\0" \
	"ramrootfstype=ext2\0" \
	"ramargs=setenv bootargs console=${console} " \
		"${optargs} " \
		"root=${ramroot} " \
		"rootfstype=${ramrootfstype}\0" \
	"loadramdisk=load mmc ${mmcdev} ${rdaddr} ramdisk.gz\0" \
	"ramboot=echo Booting from ramdisk ...; " \
		"run ramargs; " \
		"bootz ${loadaddr} ${rdaddr} ${fdtaddr}\0" \
	"default_device_tree=am335x-myboard.dtb\0" \
	"findfdt=" \
		"setenv name_fdt ${default_device_tree};" \
		"setenv fdtfile ${name_fdt}\0" \
	"init_console=" \
		"setenv console ttyS0,115200n8\0" \
	BOOTENV
#endif

/* NS16550 Configuration */
#define CONFIG_SYS_NS16550_COM1		0x44e09000	/* UART0 */
#define CONFIG_SYS_NS16550_COM2		0x48022000	/* UART1 */
#define CONFIG_SYS_NS16550_COM3		0x48024000	/* UART2 */
#define CONFIG_SYS_NS16550_COM4		0x481a6000	/* UART3 */
#define CONFIG_SYS_NS16550_COM5		0x481a8000	/* UART4 */
#define CONFIG_SYS_NS16550_COM6		0x481aa000	/* UART5 */

#ifdef CONFIG_MTD_RAW_NAND
/* NAND: device related configs */
/* NAND support */
/* NAND: device related configs */
#define CONFIG_SYS_NAND_PAGE_SIZE	4096
#define CONFIG_SYS_NAND_OOBSIZE		224
#define CONFIG_SYS_NAND_BLOCK_SIZE	(256*1024)
#define CONFIG_SYS_NAND_PAGE_COUNT	(CONFIG_SYS_NAND_BLOCK_SIZE / \
					 CONFIG_SYS_NAND_PAGE_SIZE)
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
/* NAND: driver related configs */
#define CONFIG_SYS_NAND_BAD_BLOCK_POS	NAND_LARGE_BADBLOCK_POS
#define BCH16_ECC	1
#if BCH16_ECC
#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
#else

#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, }

#define CONFIG_SYS_NAND_ECCSIZE		512
#define CONFIG_SYS_NAND_ECCBYTES	14
#define CONFIG_SYS_NAND_ONFI_DETECTION
#define CONFIG_NAND_OMAP_ECCSCHEME	OMAP_ECC_BCH8_CODE_HW
#endif

#define CONFIG_SYS_NAND_U_BOOT_OFFS	0x00180000
/* NAND: SPL related configs */
/* NAND: SPL falcon mode configs */
#ifdef CONFIG_SPL_OS_BOOT
#define CONFIG_SYS_NAND_SPL_KERNEL_OFFS	0x00300000 /* kernel offset */
#endif
#define NANDARGS \
	"mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
	"mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
	"nandargs=setenv bootargs console=${console} " \
		"${optargs} " \
		"root=${nandroot} " \
		"rootfstype=${nandrootfstype}\0" \
	"nandroot=ubi0:rootfs rw ubi.mtd=NAND.file-system,1024\0" \
	"nandrootfstype=ubifs rootwait=1\0" \
	"nandboot=echo Booting from nand ...; " \
		"run nandargs; " \
		"nand read ${fdtaddr} NAND.u-boot-spl-os; " \
		"nand read ${loadaddr} NAND.kernel; " \
		"bootz ${loadaddr} - ${fdtaddr}\0"
#define NANDBOOT			"run nandboot; "
#else /* !CONFIG_MTD_RAW_NAND */
#define NANDARGS
#define NANDBOOT
#endif /* !CONFIG_MTD_RAW_NAND */

/*
 * Disable MMC DM for SPL build and can be re-enabled after adding
 * DM support in SPL
 */
#ifdef CONFIG_SPL_BUILD
#undef CONFIG_DM_MMC
#undef CONFIG_TIMER
#endif

#endif	/* ! __CONFIG_AM335X_myboard_H */
# CONFIG_CMD_NANDBCB is not set
CONFIG_NAND_BOOT=y
# CONFIG_ONENAND_BOOT is not set
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 is not set
# CONFIG_SPL_ONENAND_SUPPORT is not set
CONFIG_CMD_SPL_NAND_OFS=0x00100000
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_MTDIDS_DEFAULT="nand0=nand.0"
CONFIG_MTDIDS_DEFAULT="nand0=nand.0"
CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.backup2),256k(NAND.SPL.backup3),512k(NAND.u-boot-spl-os),1m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup1),7m(NAND.kernel),-(NAND.file-system)"
CONFIG_ENV_IS_IN_NAND=y
# CONFIG_ENV_IS_IN_ONENAND 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 is not set
 CONFIG_SPL_NAND_AM33XX_BCH=y
 # CONFIG_SPL_NAND_DENALI is not set
U-Boot SPL 2021.01-00001-gc59bf25a38-dirty (Mar 29 2023 - 10:00:46 +0530)
Trying to boot from NAND
omap-elm: uncorrectable ECC errors
.
.
.
omap-elm: uncorrectable ECC errors

U-Boot 2021.01-00001-gc59bf25a38-dirty (Mar 29 2023 - 10:54:16 +0530)
=> mtdparts

device nand0 <nand.0>, # parts = 10
 #: name                size            offset          mask_flags
 0: NAND.SPL            0x00040000      0x00000000      0
 1: NAND.SPL.backup1    0x00040000      0x00040000      0
 2: NAND.SPL.backup2    0x00040000      0x00080000      0
 3: NAND.SPL.backup3    0x00040000      0x000c0000      0
 4: NAND.u-boot-spl-os  0x00080000      0x00100000      0
 5: NAND.u-boot         0x00100000      0x00180000      0
 6: NAND.u-boot-env     0x00040000      0x00280000      0
 7: NAND.u-boot-env.backup10x00040000   0x002c0000      0
 8: NAND.kernel         0x00700000      0x00300000      0
 9: NAND.file-system    0x3f600000      0x00a00000      0

active partition: nand0,0 - (NAND.SPL) 0x00040000 @ 0x00000000

defaults:
mtdids  : nand0=nand.0
mtdparts: mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.ba
ckup2),256k(NAND.SPL.backup3),512k(NAND.u-boot-spl-os),1m(NAND.u-boot),256k(NAND
.u-boot-env),256k(NAND.u-boot-env.backup1),7m(NAND.kernel),-(NAND.file-system)


=>nand erase.chip

=>loadb 0x82000000
## Ready for binary (kermit) download to 0x82000000 at 115200 bps...

CACHE: Misaligned operation at range [82000000, 82012ee4]
## Total Size      = 0x00012ee4 = 77540 Bytes
## Start Addr      = 0x82000000

=>nand write 0x82000000  NAND.SPL ${filesize}
=>nand write 0x82000000  NAND.SPL.backup1 ${filesize}
=>nand write 0x82000000  NAND.SPL.backup2 ${filesize}
=>nand write 0x82000000  NAND.SPL.backup3 ${filesize}


=>loadb 0x82000000
## Ready for binary (kermit) download to 0x82000000 at 115200 bps...

CACHE: Misaligned operation at range [82000000, 8208e81c]
## Total Size      = 0x0008e81c = 583708 Bytes
## Start Addr      = 0x82000000
=>nand write 0x82000000  NAND.u-boot ${filesize}
NAND write: device 0 offset 0x180000, size 0x8e81c
 583708 bytes written: OK

NAND_datasheet.pdf

  • Hello,
    1. Do we know if the NAND device has internal built-in ECC?
    2. What is the output from "nand info" cmd @u-boot
    3. If you're able to boot kernel, what is the output "dmesg | grep -i nand"

    AM335x TRM <26.1.8.4 NAND> is a good reference on NAND ECC supoort by ROM.
    ECC on AM335x SoC support is using the GPMC and ELM hardware.
    In addition ECC computation done by the ROM can be turned off completely by using SYSBOOT[9]. This is particularly useful when interfacing with NAND devices that have built in ECC engines.

    One reference on BCH scheme vs OOB size in u-boot/kernel
    www.kernel.org/.../gpmc-nand.txt

    Best,
    -Hong

  • Hi Hong,

    Thank u for the reply.

    1. Yes it has built in ECC. But I can't find out if it is enabled by default or how to disable it. I've tried with SYSBOOT[9] as 0 and 1 both with no success. It's datasheet is at

    /cfs-file/__key/communityserver-discussions-components-files/791/NAND_5F00_datasheet.pdf

    2. 

    => nand info

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

    3.

    dmesg | grep -i nand
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs rw ubi.mtd=NAND.file-system,1024 noinitrd rootfstype=ubifs rootwait=1 ip=none
    [ 2.766566] omap2-nand 8000000.nand: GPIO lookup for consumer rb
    [ 2.766582] omap2-nand 8000000.nand: using device tree for GPIO lookup
    [ 2.766636] of_get_named_gpiod_flags: parsed 'rb-gpios' property of node '/ocp/gpmc@50000000/nand@0,0[0]' - status (0)
    [ 2.766838] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xd3
    [ 2.773323] nand: Micron MT29F8G08ABACAH4
    [ 2.777355] nand: 1024 MiB, SLC, erase size: 256 KiB, page size: 4096, OOB size: 224
    [ 2.785152] omap2-nand 8000000.nand: using prefetch polled xfer mode
    [ 2.796649] 10 fixed-partitions partitions found on MTD device omap2-nand.0
    [ 2.803667] Creating 10 MTD partitions on "omap2-nand.0":
    [ 2.809113] 0x000000000000-0x000000040000 : "NAND.SPL"
    [ 2.814725] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@0[0]'
    [ 2.814749] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@50000000/nand@0,0/partition@0[0]'
    [ 2.816072] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [ 2.822362] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@1[0]'
    [ 2.822387] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@50000000/nand@0,0/partition@1[0]'
    [ 2.823530] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [ 2.829817] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@2[0]'
    [ 2.829841] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@50000000/nand@0,0/partition@2[0]'
    [ 2.830945] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [ 2.837139] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@3[0]'
    [ 2.837163] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@50000000/nand@0,0/partition@3[0]'
    [ 2.838318] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
    [ 2.844726] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@4[0]'
    [ 2.844751] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@50000000/nand@0,0/partition@4[0]'
    [ 2.845859] 0x000000180000-0x000000280000 : "NAND.u-boot"
    [ 2.851795] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@5[0]'
    [ 2.851820] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@50000000/nand@0,0/partition@5[0]'
    [ 2.852922] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
    [ 2.859174] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@6[0]'
    [ 2.859198] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@50000000/nand@0,0/partition@6[0]'
    [ 2.860305] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
    [ 2.867114] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@7[0]'
    [ 2.867137] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@50000000/nand@0,0/partition@7[0]'
    [ 2.868315] 0x000000300000-0x000000a00000 : "NAND.kernel"
    [ 2.875116] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@8[0]'
    [ 2.875140] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@50000000/nand@0,0/partition@8[0]'
    [ 2.876250] 0x000000a00000-0x000040000000 : "NAND.file-system"
    [ 3.035576] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/gpmc@50000000/nand@0,0/partition@9[0]'
    [ 3.035599] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/gpmc@500

    Device Tree Linux for nand is below

    &gpmc {
    status = "okay";
    pinctrl-names = "default";
    pinctrl-0 = <&gpmc_pins_default>;
    ranges = <0 0 0x08000000 0x01000000>, /* CS0: NAND */
    <2 0 0x04000000 0x02000000>, /* Others*/
    <6 0 0x02000000 0x01000000>; /* Others*/

    nand@0,0 {
    compatible = "ti,omap2-nand";
    reg = <0 0 4>; /* device IO registers */
    rb-gpios = <&gpmc 0 GPIO_ACTIVE_HIGH>; /*gpmc_wait0*/
    ti,nand-ecc-opt = "bch16";
    ti,elm-id = <&elm>;
    nand-bus-width = <8>;
    gpmc,device-width = <1>;
    gpmc,sync-clk-ps = <0>;
    gpmc,cs-on-ns = <0>;
    gpmc,cs-rd-off-ns = <40>;
    gpmc,cs-wr-off-ns = <40>;
    gpmc,adv-on-ns = <0>;
    gpmc,adv-rd-off-ns = <25>;
    gpmc,adv-wr-off-ns = <25>;
    gpmc,we-on-ns = <0>;
    gpmc,we-off-ns = <20>;
    gpmc,oe-on-ns = <3>;
    gpmc,oe-off-ns = <30>;
    gpmc,access-ns = <30>;
    gpmc,rd-cycle-ns = <40>;
    gpmc,wr-cycle-ns = <40>;
    gpmc,wait-pin = <0>;
    gpmc,bus-turnaround-ns = <0>;
    gpmc,cycle2cycle-delay-ns = <0>;
    gpmc,clk-activation-ns = <0>;
    gpmc,wait-monitoring-ns = <0>;
    gpmc,wr-access-ns = <40>;
    gpmc,wr-data-mux-bus-ns = <0>;
    /* MTD partition table */
    #address-cells = <1>;
    #size-cells = <1>;
    partition@0 {
    label = "NAND.SPL";
    reg = <0x00000000 0x00040000>;
    };
    partition@1 {
    label = "NAND.SPL.backup1";
    reg = <0x00040000 0x00040000>;
    };
    partition@2 {
    label = "NAND.SPL.backup2";
    reg = <0x00080000 0x00040000>;
    };
    partition@3 {
    label = "NAND.SPL.backup3";
    reg = <0x000c0000 0x00040000>;
    };
    partition@4 {
    label = "NAND.u-boot-spl-os";
    reg = <0x00100000 0x00080000>;
    };
    partition@5 {
    label = "NAND.u-boot";
    reg = <0x00180000 0x00100000>;
    };
    partition@6 {
    label = "NAND.u-boot-env";
    reg = <0x00280000 0x00040000>;
    };
    partition@7 {
    label = "NAND.u-boot-env.backup1";
    reg = <0x002c0000 0x00040000>;
    };
    partition@8 {
    label = "NAND.kernel";
    reg = <0x00300000 0x00700000>;
    };
    partition@9 {
    label = "NAND.file-system";
    reg = <0x00a00000 0x3f600000>;
    };
    };

  • Hi,

    Following data is read from NAND:

    Manufacturer ID : 0x2c

    READID : d3 90 a6 64

    as per Micron issuing NAND_CMD_GET_FEATURES command at 0x90 address gives the data of on chip ECC.

    I read it is 0.

    When I Enabled ECC then I read it is as 0x08 which is correct.

    It means by default On chip ECC is not enabled. Can anybody look into my settings attached previosly and check if I am doing it correct ??

  • Hello,
    For the case of on-die ECC in NAND flash is disabled, SYSBOOT[9]=0.
    Have we verified NAND flash read, write... @u-boot on your board?
    Best,
    -Hong

  • SYSBOOT[9] is set to 0.

    I don't know how to verify flash write and I don't see any command in u-boot related to verification of nand.

    May be something is wrong with my config.

    Below is the content of my generated .config file. Can you please verify my configs?

    #
    # 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="self"
    CONFIG_SYS_BOARD="test"
    CONFIG_SYS_CONFIG_NAME="am335x_test"
    # 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 is not set
    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=0x40000
    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=500
    CONFIG_TARGET_AM335X_TEST=y
    # CONFIG_TARGET_AM335X_EVM is not set
    # 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-test"
    # 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 is not set
    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 is not set
    # 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="if test ${boot_fit} -eq 1; then run update_to_fit; fi; run findfdt; run init_console; run envboot; run finduuid; run distro_bootcmd"
    # 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=3
    CONFIG_SPL_LOGLEVEL=3
    CONFIG_TPL_LOGLEVEL=3
    # 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_TFTP 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 is not set
    # CONFIG_SPL_UBI is not set
    # CONFIG_SPL_DM_SPI_FLASH is not set
    CONFIG_SPL_NET_SUPPORT=y
    CONFIG_SPL_NET_VCI_STRING="BEL 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 is not set
    # 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 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_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=0x00100000
    CONFIG_CMD_SPL_WRITE_SIZE=0x40000
    # 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 is not set
    CONFIG_CMD_DM=y
    # 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_MISC is not set
    CONFIG_CMD_MMC=y
    # CONFIG_CMD_BKOPS_ENABLE is not set
    # CONFIG_CMD_MMC_SWRITE is not set
    CONFIG_CMD_MTD=y
    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=1
    CONFIG_DEFAULT_SPI_MODE=0x0
    # CONFIG_CMD_TSI148 is not set
    # CONFIG_CMD_UNIVERSE is not set
    # CONFIG_CMD_USB is not set
    # 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_CACHE is not set
    # 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:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.backup2),256k(NAND.SPL.backup3),512k(NAND.u-boot-spl-os),1m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup1),7m(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=y
    # CONFIG_CMD_UBI_RENAME is not set
    CONFIG_CMD_UBIFS=y
    # 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-test"
    # 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=y
    # 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_ENV_IS_IN_UBI 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_SIL is not set
    # CONFIG_SATA_SIL3114 is not set
    # CONFIG_AXI is not set
    
    #
    # Bus devices
    #
    # CONFIG_BLK is not set
    CONFIG_HAVE_BLOCK_DEVICE=y
    # 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
    #
    
    #
    # DMA Support
    #
    # CONFIG_DMA is not set
    # CONFIG_TI_EDMA3 is not set
    
    #
    # Fastboot support
    #
    # CONFIG_UDP_FUNCTION_FASTBOOT is not set
    # 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=y
    CONFIG_I2C_DEFAULT_BUS_NUMBER=0x0
    # 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 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_FTSDC010 is not set
    # CONFIG_FSL_ESDHC is not set
    # CONFIG_FSL_ESDHC_IMX is not set
    
    #
    # MTD Support
    #
    CONFIG_MTD_PARTITIONS=y
    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 is not set
    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=y
    CONFIG_MTD_UBI_WL_THRESHOLD=4096
    CONFIG_MTD_UBI_BEB_LIMIT=20
    # CONFIG_MTD_UBI_FASTMAP 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=y
    # CONFIG_DM_MDIO_MUX is not set
    CONFIG_DM_ETH_PHY=y
    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 is not set
    # CONFIG_MII is not set
    # 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_MDIO_IPQ4019 is not set
    # CONFIG_MVMDIO is not set
    # CONFIG_FSL_LS_MDIO 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
    
    #
    # 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 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_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_RBTREE=y
    # 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
    #
    
    #
    # 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,
    One reference on NAND read, write:
    e2e.ti.com/.../4093817
    Best,
    -Hong

  • After writing MLO and u-boot to nand flash I get OK response. There is no error while reading also.

    I've one doubt. If something is wrong in write operation then ROM code won't be able to boot SPL right? But my error comes only when uboot is being read. Kernel, dtb , environment and ubi fs are being read without errors. For writing these files to flash, I am using same command.

    My write steps are below:

    =>loadb 0x82000000
    ## Ready for binary (kermit) download to 0x82000000 at 115200 bps...

    CACHE: Misaligned operation at range [82000000, 82012ee4]
    ## Total Size = 0x00012ee4 = 77540 Bytes
    ## Start Addr = 0x82000000

    =>nand write 0x82000000 NAND.SPL ${filesize}
    =>nand write 0x82000000 NAND.SPL.backup1 ${filesize}
    =>nand write 0x82000000 NAND.SPL.backup2 ${filesize}
    =>nand write 0x82000000 NAND.SPL.backup3 ${filesize}


    =>loadb 0x82000000
    ## Ready for binary (kermit) download to 0x82000000 at 115200 bps...

    CACHE: Misaligned operation at range [82000000, 8208e81c]
    ## Total Size = 0x0008e81c = 583708 Bytes
    ## Start Addr = 0x82000000
    =>nand write 0x82000000 NAND.u-boot ${filesize}
    NAND write: device 0 offset 0x180000, size 0x8e81c
    583708 bytes written: OK

  • Hello,
    For the case of on-die ECC in NAND flash is disabled, SYSBOOT[9]=0.
    After SPL/u-boot are flashed to NAND as in your last reply, can you upload the full NAND boot log as an attachment?
    Best,
    -Hong

  • During flash I used these commands:

    NAND erase.chip: device 0 whole chip
    
    Erasing at 0x0 --   0% complete.
    Erasing at 0xa00000 --   1% complete.
    Erasing at 0x1440000 --   2% complete.
    Erasing at 0x1e80000 --   3% complete.
    Erasing at 0x28c0000 --   4% complete.
    Erasing at 0x3300000 --   5% complete.
    Erasing at 0x3d40000 --   6% complete.
    Erasing at 0x4780000 --   7% complete.
    Erasing at 0x51c0000 --   8% complete.
    Erasing at 0x5c00000 --   9% complete.
    Erasing at 0x6640000 --  10% complete.
    Erasing at 0x7080000 --  11% complete.
    Erasing at 0x7ac0000 --  12% complete.
    Erasing at 0x8500000 --  13% complete.
    Erasing at 0x8f40000 --  14% complete.
    Erasing at 0x9980000 --  15% complete.
    Erasing at 0xa3c0000 --  16% complete.
    Erasing at 0xae00000 --  17% complete.
    Erasing at 0xb840000 --  18% complete.
    Erasing at 0xc280000 --  19% complete.
    Erasing at 0xccc0000 --  20% complete.
    Erasing at 0xd700000 --  21% complete.
    Erasing at 0xe140000 --  22% complete.
    Erasing at 0xeb80000 --  23% complete.
    Erasing at 0xf5c0000 --  24% complete.
    Erasing at 0xffc0000 --  25% complete.
    Erasing at 0x10a00000 --  26% complete.
    Erasing at 0x11440000 --  27% complete.
    Erasing at 0x11e80000 --  28% complete.
    Erasing at 0x128c0000 --  29% complete.
    Erasing at 0x13300000 --  30% complete.
    Erasing at 0x13d40000 --  31% complete.
    Erasing at 0x14780000 --  32% complete.
    Erasing at 0x151c0000 --  33% complete.
    Erasing at 0x15c00000 --  34% complete.
    Erasing at 0x16640000 --  35% complete.
    Erasing at 0x17080000 --  36% complete.
    Erasing at 0x17ac0000 --  37% complete.
    Erasing at 0x18500000 --  38% complete.
    Erasing at 0x18f40000 --  39% complete.
    Erasing at 0x19980000 --  40% complete.
    Erasing at 0x1a3c0000 --  41% complete.
    Erasing at 0x1ae00000 --  42% complete.
    Erasing at 0x1b840000 --  43% complete.
    Erasing at 0x1c280000 --  44% complete.
    Erasing at 0x1ccc0000 --  45% complete.
    Erasing at 0x1d700000 --  46% complete.
    Erasing at 0x1e140000 --  47% complete.
    Erasing at 0x1eb80000 --  48% complete.
    Erasing at 0x1f5c0000 --  49% complete.
    Erasing at 0x1ffc0000 --  50% complete.
    Erasing at 0x20a00000 --  51% complete.
    Erasing at 0x21440000 --  52% complete.
    Erasing at 0x21e80000 --  53% complete.
    Erasing at 0x228c0000 --  54% complete.
    Erasing at 0x23300000 --  55% complete.
    Erasing at 0x23d40000 --  56% complete.
    Erasing at 0x24780000 --  57% complete.
    Erasing at 0x251c0000 --  58% complete.
    Erasing at 0x25c00000 --  59% complete.
    Erasing at 0x26640000 --  60% complete.
    Erasing at 0x27080000 --  61% complete.
    Erasing at 0x27ac0000 --  62% complete.
    Erasing at 0x28500000 --  63% complete.
    Erasing at 0x28f40000 --  64% complete.
    Erasing at 0x29980000 --  65% complete.
    Erasing at 0x2a3c0000 --  66% complete.
    Erasing at 0x2ae00000 --  67% complete.
    Erasing at 0x2b840000 --  68% complete.
    Erasing at 0x2c280000 --  69% complete.
    Erasing at 0x2ccc0000 --  70% complete.
    Erasing at 0x2d700000 --  71% complete.
    Erasing at 0x2e140000 --  72% complete.
    Erasing at 0x2eb80000 --  73% complete.
    Erasing at 0x2f5c0000 --  74% complete.
    Erasing at 0x2ffc0000 --  75% complete.
    Erasing at 0x30a00000 --  76% complete.
    Erasing at 0x31440000 --  77% complete.
    Erasing at 0x31e80000 --  78% complete.
    Erasing at 0x328c0000 --  79% complete.
    Erasing at 0x33300000 --  80% complete.
    Erasing at 0x33d40000 --  81% complete.
    Erasing at 0x34780000 --  82% complete.
    Erasing at 0x351c0000 --  83% complete.
    Erasing at 0x35c00000 --  84% complete.
    Erasing at 0x36640000 --  85% complete.
    Erasing at 0x37080000 --  86% complete.
    Erasing at 0x37ac0000 --  87% complete.
    Erasing at 0x38500000 --  88% complete.
    Erasing at 0x38f40000 --  89% complete.
    Erasing at 0x39980000 --  90% complete.
    Erasing at 0x3a3c0000 --  91% complete.
    Erasing at 0x3ae00000 --  92% complete.
    Erasing at 0x3b840000 --  93% complete.
    Erasing at 0x3c280000 --  94% complete.
    Erasing at 0x3ccc0000 --  95% complete.
    Erasing at 0x3d700000 --  96% complete.
    Erasing at 0x3e140000 --  97% complete.
    Erasing at 0x3eb80000 --  98% complete.
    Erasing at 0x3f5c0000 --  99% complete.
    Erasing at 0x3ffc0000 -- 100% complete.
    OK
    => nand dump.oob 0
    Page 00000000 dump:
    OOB:
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => loadb 0x82000000
    ## Ready for binary (kermit) download to 0x82000000 at 115200 bps...
    
    CACHE: Misaligned operation at range [82000000, 82012ee4]
    ## Total Size      = 0x00012ee4 = 77540 Bytes
    ## Start Addr      = 0x82000000
    => mtdparts
    
    device nand0 <nand.0>, # parts = 10
     #: name		size		offset		mask_flags
     0: NAND.SPL            0x00040000	0x00000000	0
     1: NAND.SPL.backup1    0x00040000	0x00040000	0
     2: NAND.SPL.backup2    0x00040000	0x00080000	0
     3: NAND.SPL.backup3    0x00040000	0x000c0000	0
     4: NAND.u-boot-spl-os  0x00080000	0x00100000	0
     5: NAND.u-boot         0x00100000	0x00180000	0
     6: NAND.u-boot-env     0x00040000	0x00280000	0
     7: NAND.u-boot-env.backup10x00040000	0x002c0000	0
     8: NAND.kernel         0x00700000	0x00300000	0
     9: NAND.file-system    0x3f600000	0x00a00000	0
    
    active partition: nand0,0 - (NAND.SPL) 0x00040000 @ 0x00000000
    
    defaults:
    mtdids  : nand0=nand.0
    mtdparts: mtdparts=nand.0:256k(NAND.SPL),256k(NAND.SPL.backup1),256k(NAND.SPL.backup2),256k(NAND.SPL.backup3),512k(NAND.u-boot-spl-os),1m(NAND.u-boot),256k(NAND.u-boot-env),256k(NAND.u-boot-env.backup1),7m(NAND.kernel),-(NAND.file-system)
    => nand write 0x82000000  NAND.SPL ${filesize}
    
    NAND write: device 0 offset 0x0, size 0x12ee4
     77540 bytes written: OK
    => nand write 0x82000000  NAND.SPL ${filesize}
    
    NAND write: device 0 offset 0x40000, size 0x12ee4
     77540 bytes written: OK
    => nand write 0x82000000  NAND.SPL.backup1 ${filesize}
    
    NAND write: device 0 offset 0x80000, size 0x12ee4
     77540 bytes written: OK
    => nand write 0x82000000  NAND.SPL.backup2 ${filesize}
    
    NAND write: device 0 offset 0xc0000, size 0x12ee4
     77540 bytes written: OK
    
    => loadb 0x82000000
    ## Ready for binary (kermit) download to 0x82000000 at 115200 bps...
    
    CACHE: Misaligned operation at range [82000000, 8208f124]
    ## Total Size      = 0x0008f124 = 586020 Bytes
    ## Start Addr      = 0x82000000
    => nand write 0x82000000  NAND.u-boot ${filesize}
    
    NAND write: device 0 offset 0x180000, size 0x8f124
     586020 bytes written: OK
    
    
    NAND write: device 0 offset 0x100000, size 0xf990
     63888 bytes written: OK

    After restart log is:

    5340.boot_log.txt

  • Hello,
    After flashing SPL, & u-boot to NAND, have we checked OOB area for correct ECC for both SPL, and u-boot?
    With SYSBOOT[9]=0, on-die ECC in NAND flash is disabled, NAND booting flow:
    1/. AM335x SoC ELM is used by ROM to load SPL from NAND.
    2/. Once SPL starts to run, it loads u-boot from NAND, where AM335x SoC ELM "should" be used by SPL to load u-boot from NAND.
    => "omap-elm: uncorrectable ECC errors" is not expected normally if ECC is programmed correctly to OOB area for u-boot in NAND.
    Best,
    -Hong

  • If my ECC is wrong then I'll be getting same error if I run "nand read" command. Right??

    Because I don't get any error while reading or wring via u-boot.

    uboot nand read is :

    in below file I found this data "Unknown relocation type" and "Relocation at %p is out of range". Could be this related to my problem ?

    82000ee0: 6e6b6e55 206e776f 6f6c6572 69746163 Unknown relocati
    82000ef0: 74206e6f 20657079 786c6c25 7325000a on type %llx..%s
    =>
    82000f00: 6552203a 61636f6c 6e6f6974 20746120 : Relocation at
    82000f10: 69207025 756f2073 666f2074 6e617220 %p is out of ran

    => nand read ${loadaddr} NAND.u-boot
    NAND read: device 0 offset 0x180000, size 0x100000
     1048576 bytes read: OK
    => md ${loadaddr}
    82000000: edfe0dd0 ec030000 38000000 54030000    ...........8...T
    82000010: 28000000 11000000 02000000 00000000    ...(............
    82000020: 96000000 1c030000 00000000 00000000    ................
    82000030: 00000000 00000000 01000000 00000000    ................
    82000040: 03000000 04000000 70000000 3eba3764    ...........pd7.>
    82000050: 03000000 2a000000 64000000 6d726946    .......*...dFirm
    82000060: 65726177 616d6920 77206567 20687469    ware image with 
    82000070: 20656e6f 6d20726f 2065726f 20544446    one or more FDT 
    82000080: 626f6c62 00000073 03000000 2f000000    blobs........../
    82000090: 5c000000 6f422d55 6d20746f 616d696b    ...\U-Boot mkima
    820000a0: 32206567 2e313230 302d3130 31303030    ge 2021.01-00001
    820000b0: 3563672d 32666239 38336135 7269642d    -gc59bf25a38-dir
    820000c0: 00007974 03000000 04000000 4d000000    ty.............M
    820000d0: 01000000 01000000 67616d69 00007365    ........images..
    820000e0: 01000000 6d726966 65726177 0000312d    ....firmware-1..
    820000f0: 03000000 04000000 8c000000 94340800    ..............4.
    => 
    82000100: 03000000 04000000 80000000 00000000    ................
    82000110: 03000000 35000000 64000000 6f422d55    .......5...dU-Bo
    82000120: 3220746f 2e313230 302d3130 31303030    ot 2021.01-00001
    82000130: 3563672d 32666239 38336135 7269642d    -gc59bf25a38-dir
    82000140: 66207974 6320726f 62206873 6472616f    ty for csh board
    82000150: 00000000 03000000 09000000 48000000    ...............H
    82000160: 6d726966 65726177 00000000 03000000    firmware........
    82000170: 04000000 43000000 006d7261 03000000    .......Carm.....
    82000180: 07000000 40000000 6f622d75 0000746f    .......@u-boot..
    82000190: 03000000 05000000 34000000 656e6f6e    ...........4none
    820001a0: 00000000 03000000 04000000 2f000000    .............../
    820001b0: 00008080 03000000 04000000 29000000    ...............)
    820001c0: 00008080 01000000 68736168 0000312d    ........hash-1..
    820001d0: 03000000 04000000 7a000000 308c2b6f    ...........zo+.0
    820001e0: 03000000 06000000 1f000000 33637263    ............crc3
    820001f0: 00000032 02000000 02000000 01000000    2...............
    => 
    82000200: 2d746466 00000031 03000000 04000000    fdt-1...........
    82000210: 8c000000 9baf0000 03000000 04000000    ................
    82000220: 80000000 94340800 03000000 0b000000    ......4.........
    82000230: 64000000 33336d61 632d7835 00006873    ...dam335x-csh..
    82000240: 03000000 08000000 48000000 74616c66    ...........Hflat
    82000250: 0074645f 03000000 04000000 43000000    _dt............C
    82000260: 006d7261 03000000 05000000 34000000    arm............4
    82000270: 656e6f6e 00000000 01000000 68736168    none........hash
    82000280: 0000312d 03000000 04000000 7a000000    -1.............z
    82000290: e24f406a 03000000 06000000 1f000000    j@O.............
    820002a0: 33637263 00000032 02000000 02000000    crc32...........
    820002b0: 02000000 01000000 666e6f63 72756769    ........configur
    820002c0: 6f697461 0000736e 03000000 07000000    ations..........
    820002d0: 17000000 666e6f63 0000312d 01000000    ....conf-1......
    820002e0: 666e6f63 0000312d 03000000 0b000000    conf-1..........
    820002f0: 64000000 33336d61 632d7835 00006873    ...dam335x-csh..
    => 
    82000300: 03000000 0b000000 0e000000 6d726966    ............firm
    82000310: 65726177 0000312d 03000000 0b000000    ware-1..........
    82000320: 04000000 6d726966 65726177 0000312d    ....firmware-1..
    82000330: 03000000 06000000 00000000 2d746466    ............fdt-
    82000340: 00000031 02000000 02000000 02000000    1...............
    82000350: 09000000 00746466 64616f6c 656c6261    ....fdt.loadable
    82000360: 69660073 61776d72 64006572 75616665    s.firmware.defau
    82000370: 6100746c 006f676c 61746164 746e6500    lt.algo.data.ent
    82000380: 6c007972 0064616f 706d6f63 73736572    ry.load.compress
    82000390: 006e6f69 6100736f 00686372 65707974    ion.os.arch.type
    820003a0: 64612300 73657264 65632d73 00736c6c    .#address-cells.
    820003b0: 61657263 00726f74 63736564 74706972    creator.descript
    820003c0: 006e6f69 656d6974 6d617473 61760070    ion.timestamp.va
    820003d0: 0065756c 61746164 66666f2d 00746573    lue.data-offset.
    820003e0: 61746164 7a69732d 72650065 ea0000b8    data-size.er....
    820003f0: e59ff014 e59ff014 e59ff014 e59ff014    ................
    => 
    82000400: e59ff014 e59ff014 e59ff014 80800060    ............`...
    82000410: 808000c0 80800120 80800180 808001e0    .... ...........
    82000420: 80800240 808002a0 deadbeef 0badc0de    @...............
    82000430: e320f000 e320f000 e320f000 e320f000    .. ... ... ... .
    82000440: e320f000 e320f000 e320f000 e51fd028    .. ... ... .(...
    82000450: e58de000 e14fe000 e58de004 e3a0d013    ......O.........
    82000460: e169f00d e1a0e00f e1b0f00e e24dd048    ..i.........H.M.
    82000470: e88d1fff e51f2050 e892000c e28d0048    ....P ......H...
    82000480: e28d5034 e1a0100e e885000f e1a0000d    4P..............
    82000490: fa00071a e320f000 e320f000 e320f000    ...... ... ... .
    820004a0: e320f000 e320f000 e320f000 e51fd088    .. ... ... .....
    820004b0: e58de000 e14fe000 e58de004 e3a0d013    ......O.........
    820004c0: e169f00d e1a0e00f e1b0f00e e24dd048    ..i.........H.M.
    820004d0: e88d1fff e51f20b0 e892000c e28d0048    ..... ......H...
    820004e0: e28d5034 e1a0100e e885000f e1a0000d    4P..............
    820004f0: fa00070c e320f000 e320f000 e320f000    ...... ... ... .
    => 
    82000500: e320f000 e320f000 e320f000 e51fd0e8    .. ... ... .....
    82000510: e58de000 e14fe000 e58de004 e3a0d013    ......O.........
    82000520: e169f00d e1a0e00f e1b0f00e e24dd048    ..i.........H.M.
    82000530: e88d1fff e51f2110 e892000c e28d0048    .....!......H...
    82000540: e28d5034 e1a0100e e885000f e1a0000d    4P..............
    82000550: fa0006fe e320f000 e320f000 e320f000    ...... ... ... .
    82000560: e320f000 e320f000 e320f000 e51fd148    .. ... ... .H...
    82000570: e58de000 e14fe000 e58de004 e3a0d013    ......O.........
    82000580: e169f00d e1a0e00f e1b0f00e e24dd048    ..i.........H.M.
    82000590: e88d1fff e51f2170 e892000c e28d0048    ....p!......H...
    820005a0: e28d5034 e1a0100e e885000f e1a0000d    4P..............
    820005b0: fa0006f0 e320f000 e320f000 e320f000    ...... ... ... .
    820005c0: e320f000 e320f000 e320f000 e51fd1a8    .. ... ... .....
    820005d0: e58de000 e14fe000 e58de004 e3a0d013    ......O.........
    820005e0: e169f00d e1a0e00f e1b0f00e e24dd048    ..i.........H.M.
    820005f0: e88d1fff e51f21d0 e892000c e28d0048    .....!......H...
    => 
    82000600: e28d5034 e1a0100e e885000f e1a0000d    4P..............
    82000610: fa0006e2 e320f000 e320f000 e320f000    ...... ... ... .
    82000620: e320f000 e320f000 e320f000 e51fd208    .. ... ... .....
    82000630: e58de000 e14fe000 e58de004 e3a0d013    ......O.........
    82000640: e169f00d e1a0e00f e1b0f00e e24dd048    ..i.........H.M.
    82000650: e88d1fff e51f2230 e892000c e28d0048    ....0"......H...
    82000660: e28d5034 e1a0100e e885000f e1a0000d    4P..............
    82000670: fa0006de e320f000 e320f000 e320f000    ...... ... ... .
    82000680: e320f000 e320f000 e320f000 e51fd268    .. ... ... .h...
    82000690: e58de000 e14fe000 e58de004 e3a0d013    ......O.........
    820006a0: e169f00d e1a0e00f e1b0f00e e24dd048    ..i.........H.M.
    820006b0: e88d1fff e51f2290 e892000c e28d0048    ....."......H...
    820006c0: e28d5034 e1a0100e e885000f e1a0000d    4P..............
    820006d0: fa0006bc ea00072c e10f0000 e200101f    ....,...........
    820006e0: e331001a 13c0001f 13800013 e38000c0    ..1.............
    820006f0: e129f000 ee110f10 e3c00a02 ee010f10    ..).............
    => 
    82000700: e59f008c ee0c0f10 eb0003ef ee070f15    ................
    82000710: ee070f9a ee070f95 e12fff1e eaffffed    ........../.....
    82000720: e3a00000 ee080f17 ee070f15 ee070fd5    ................
    82000730: ee070f9a ee070f95 ee110f10 e3c00a02    ................
    82000740: e3c00007 e3800002 e3800b02 e3800a01    ................
    82000750: ee010f10 e1a0500e ee101f10 e1a03a21    .....P......!:..
    82000760: e203300f e201400f e1a02203 e1842002    .0...@..."... ..
    82000770: e59f0020 e3c00007 e1a0d000 ee110f30     ...........0...
    82000780: e3800040 e92d003e fb0003c8 e8bd003e    @...>.-.....>...
    82000790: e1a0f005 80800000 4030ff10 4a04b508    ..........0@...J
    820007a0: 3000f8d9 f00163da 2000ff57 bf00bd08    ...0.c..W.. ....
    820007b0: 80000100 f001b513 2802febd 492ad103    ...........(..*I
    820007c0: f00d482a 4c2afd0b f3bf6b23 6b628f5f    *H....*L#k.._.bk
    820007d0: 8f5ff3bf 92004827 3004f8ad fe44f00d    .._.'H.....0..D.
    820007e0: 4825b9d0 fb4ff051 3000f89d d41307d9    ..%HQ.O....0....
    820007f0: 2001f89d f89d4313 43132002 2003f89d    ... .C... .C... 
    => 
    82000800: f89d4313 43132004 2005f89d d0034313    .C... .C... .C..
    82000810: 48184669 fe7cf00d f3bf6ba3 6be28f5f    iF.H..|..k.._..k
    82000820: 8f5ff3bf 92004815 3004f8ad fe1cf00d    .._..H.....0....
    82000830: f89db9b8 07da3000 f89dd413 43132001    .....0....... .C
    82000840: 2002f89d f89d4313 43132003 2004f89d    ... .C... .C... 
    82000850: f89d4313 43132005 4669d003 f00d4807    .C... .C..iF.H..
    82000860: 2000fe57 bd10b002 808652f4 80859af5    W.. .....R......
    82000870: 44e10600 80859afe 80859b06 80859b36    ...D........6...
    82000880: ffffffff 48014770 bf004770 80000003    ....pG.HpG......
    82000890: 47704800 80000003 47704800 80000003    .HpG.....HpG....
    820008a0: 47704800 80000003 47704800 80000003    .HpG.....HpG....
    820008b0: 4df3e92d 68134a20 d0392b00 d0392900    -..M J.h.+9..)9.
    820008c0: c000f8d1 0f00f1bc f010d107 481b0f01    ...............H
    820008d0: 2000bf18 e8bdb002 46e28df0 0b00f04f    ... .......FO...
    820008e0: 68502600 90016892 9a019200 d10142b2    .&Ph.h.......B..
    820008f0: e7ef4813 4502e9d3 bf0845ab d31345a2    .H.....E.E...E..
    => 
    82000900: e206e9d3 ea4f0312 1907300e 521eea42    ......O..0..B..R
    82000910: 0805eb42 bf0845c3 d20545ba 2000691b    B....E...E...i. 
    82000920: 44641b1c e7d5600c 36019a00 e7dc4413    ..dD.`.....6.D..
    82000930: e7cf4804 e7cd4801 80800ba8 80000002    .H...H..........
    82000940: 8000000e 80000003 47704800 80000003    .........HpG....
    82000950: 47704800 80000003 4604b510 46212000    .HpG.......F. !F
    82000960: 612068e2 fa26f000 bd106120 440a3801    .h a..&. a...8.D
    82000970: d1004291 f8114770 f8003b01 e7f73f01    .B..pG...;...?..
    82000980: 2500b537 95014614 95009d06 f8c8f000    7..%.F..........
    82000990: 6823b11c 037ff003 b0036023 f000bd30    ..#h....#`..0...
    820009a0: 0000b881 4604b5f0 050ff100 061ff100    .......F........
    820009b0: 39012001 d00042b5 f104b958 f8310120    . .9.B..X... .1.
    820009c0: b1185b02 1b468810 41704270 3202b14d    .[....F.pBpAM..2
    820009d0: f811e7f5 f8150f01 1a3f7f01 41784278    ..........?.xBxA
    820009e0: b12be7e8 32076822 f022440a 601a0207    ..+."h.2.D"....`
    820009f0: 4b01b108 bdf0601c 80800c08 4c04b510    ...K.`.........L
    => 
    82000a00: 1d212000 ff54f7ff 60232300 bf00bd10    . !...T..##`....
    82000a10: 80800c08 45f7e92d 46154c21 880a6863    ....-..E!L.Fch..
    82000a20: 4680691e 441e460f b925b962 46202400    .i.F.F.Db.%..$ F
    82000a30: e8bdb003 331885f0 602b42b3 2400d3f6    .......3.B+`...$
    82000a40: e7f4602c b1686820 462b460a f7ff4641    ,`.. hh..F+FAF..
    82000a50: b138ffa9 682bb125 bf2442b3 602b2300    ..8.%.+h.B$..#+`
    82000a60: e7e46824 34186864 d91542a6 0a00f04f    $h..dh.4.B..O...
    82000a70: 463aab01 46204641 ff94f7ff 42b39b01    ..:FAF F.......B
    82000a80: f8cdbf28 b120a004 d0d02d00 602b9b01    (..... ..-....+`
    82000a90: 9c01e7cd d1eb2c00 d1d02d00 bf00e7c6    .....,...-......
    82000aa0: 80800c08 460db5f7 46064617 4819b910    .......F.F.F...H
    82000ab0: bdf0b003 d0fa2900 d0f82a00 46286801    .....)...*...h(F
    82000ac0: f8fcf000 42986833 4629d0f1 aa014638    ....3h.B..)F8F..
    82000ad0: ffa0f7ff 882bb910 d1e82b00 b1a99901    ......+..+......
    82000ae0: 460b3120 4b02f833 d1fb2c00 1a5a6830     1.F3..K.,..0hZ.
    82000af0: 60324282 4628d80c ff38f7ff 99012210    .B2`..(F..8.."..
    => 
    82000b00: 44114638 ff32f7ff e7d14620 e7cf4802    8F.D..2. F...H..
    82000b10: e7cd4802 80000002 8000000e 80000005    .H..............
    82000b20: 46084684 b5f84661 46179d06 9e07461c    .F.FaF.....F.F..
    82000b30: 4814b909 2800bdf8 2b00d0fb 2200d0f9    ...H...(...+..."
    82000b40: ff68f7ff b10fb1c8 603b6843 e9d0b11e    ..h.....Ch;`....
    82000b50: e9c62302 68232300 429a6802 d80e6022    .#...##h.h.B"`..
    82000b60: d0e62d00 0120f100 4b02f831 d1fb2c00    .-.... .1..K.,..
    82000b70: f7ff4628 4620fefb 4803e7dc 4803e7da    (F.... F...H...H
    82000b80: bf00e7d8 80000002 8000000e 80000005    ................
    82000b90: b318b5f8 68214c12 42816866 2100bf28    .....L!hfh.B(..!
    82000ba0: bf286933 18f26021 0120f100 5b02f831    3i(.!`.... .1..[
    82000bb0: d1fb2d00 44036807 44393707 0107f021    .-...h.D.79D!...
    82000bc0: 1a521a5b f7ff6133 6864fed1 69224628    [.R.3a....dh(F"i
    82000bd0: 0118f104 f0003a18 6160f8ed bf00bdf8    .....:....`a....
    82000be0: 80800c08 4df3e92d 461e2400 46804b26    ....-..M.$.F&K.F
    82000bf0: f8d7685f eb07a010 f838000a 34015014    _h........8..P.4
    => 
    82000c00: d1fa2d00 93010063 f1009b0b eba30b20    .-..c....... ...
    82000c10: eb0b0c07 44b40444 f5bc44a4 d8304f80    ....D..D.D...O0.
    82000c20: 18f26042 200af847 230ee9dd 2302e9c0    B`..G.. ...#...#
    82000c30: 44102210 fe9af7ff 46419b01 4658461a    .".D......AF.FXF
    82000c40: fe94f7ff 46204632 f7ff990a 19a0fe8f    ....2F F........
    82000c50: 990c9a0b fe8af7ff 200af857 32074b0a    ........W.. .K.2
    82000c60: 4422685e 0207f022 61321b92 3a184628    ^h"D".....2a(F.:
    82000c70: 0118f106 f89ef000 46286170 e8bdb002    ........pa(F....
    82000c80: 48028df0 bf00e7fa 80800c08 80000009    ...H............
    82000c90: 21004b03 6918685b 507ff5c0 47703020    .K.![h.i...P 0pG
    82000ca0: 80800c08 47704800 80000003 47704800    .....HpG.....HpG
    82000cb0: 80000003 bf34f7ff bef4f7ff 20004603    ......4......F. 
    82000cc0: d0024288 2010f833 4770b902 e7f73001    .B..3.. ..pG.0..
    82000cd0: 4b36b5f0 b314681c f04f2700 463c4c00    ..6K.h...'O..L<F
    82000ce0: f8161d1e 34015b01 f505fa2c ea472c0e    .....[.4,....,G.
    82000cf0: d1f60705 f8df2600 4634c0b8 f0042508    .....&....4F.%..
    => 
    82000d00: 08640e01 0f00f1be 407cd000 d1f63d01    ..d.......|@.=..
    82000d10: f5b63601 f84c7f80 d1ee4b04 078d601d    .6....L..K...`..
    82000d20: b16ad00e 4b01f811 ea843a01 b2e40400    ..j....K.:......
    82000d30: 0484eb03 ea846964 d0012010 d1f1078c    ....di... ......
    82000d40: f002460e f0220403 18570203 d11142b7    .F...."...W..B..
    82000d50: 44113a04 1ce2b16c 44111ccd 2f01f815    .:.Dl......D.../
    82000d60: b2d24042 0282eb03 428d6952 2010ea82    B@......Ri.B... 
    82000d70: bdf0d1f4 5b04f856 b2c54068 0585eb03    ....V..[h@......
    82000d80: ea85696d b2e82510 0080eb03 ea806940    mi...%......@i..
    82000d90: b2e82515 0080eb03 ea806940 b2c52015    .%......@i... ..
    82000da0: 0585eb03 ea85696d e7cf2010 80800c10    ....mi... ......
    82000db0: 80800c24 43c0b508 ff8af7ff bd0843c0    $......C.....C..
    82000dc0: 4b054804 64033010 61834b04 61c34b04    .H.K.0.d.K.a.K.a
    82000dd0: bdc2f7ff 80800ba8 80800499 8080049b    ................
    82000de0: 808004a5 4dffe92d 460c4606 4b344d33    ....-..M.F.F3M4K
    82000df0: d306429d 601e4b33 e8bdb004 f0004df0    .B..3K.`.....M..
    => 
    82000e00: f8d9bbc9 f8d51038 f101a000 eb0a41ff    ....8........A..
    82000e10: b15c0201 429a4b2c 3334d302 d920429a    ..\.,K.B..43.B .
    82000e20: 429a4b2a 3b04d01d d01a429a 2b17792b    *K.B...;.B..+y.+
    82000e30: 4b24d111 f85a6818 1a303001 b9944403    ..$K.hZ..00..D..
    82000e40: 3001f84a 0143f102 013ff021 003ff022    J..0..C.!.?.".?.
    82000e50: fbcef000 461ae005 2300491d f051481d    .......F.I.#.HQ.
    82000e60: 3508f812 469be7c3 0c00f04f bc02e9cd    ...5...FO.......
    82000e70: bc04e9d4 f04f46e0 465f0c00 bf0845c4    .....FO..._F.E..
    82000e80: d31542bb e006e9d4 3c00ea4f 5c1eea4c    .B......O..<L..\
    82000e90: 3e0eea4f 0007eb1e eb4c9000 f04f0008    O..>......L...O.
    82000ea0: 90010c00 7800e9dd bf0845e0 d2c7429f    .......x.E...B..
    82000eb0: 48094907 ffe7f050 bf00e7d3 80875ae4    .I.HP........Z..
    82000ec0: 80875bbc 80873534 80800bd0 80800b44    .[..45......D...
    82000ed0: 80859098 80800af0 80800b12 203a7325    ............%s: 
    82000ee0: 6e6b6e55 206e776f 6f6c6572 69746163    Unknown relocati
    82000ef0: 74206e6f 20657079 786c6c25 7325000a    on type %llx..%s
    => 
    82000f00: 6552203a 61636f6c 6e6f6974 20746120    : Relocation at 
    82000f10: 69207025 756f2073 666f2074 6e617220    %p is out of ran
    82000f20: 28206567 29786c25 0000000a 80800b40    ge (%lx)....@...
    82000f30: 80800b40 20494249 54535953 00020050    @...IBI SYSTP...
    82000f40: 00000048 00000000 00000000 80800b90    H...............
    82000f50: 20210100 00000000 00000000 00000000    ..! ............
    82000f60: 00000000 00000000 00000000 80800bb8    ................
    82000f70: 00000000 00000000 00000000 00610044    ............D.a.
    82000f80: 00200073 002d0055 006f0042 0074006f    s. .U.-.B.o.o.t.
    82000f90: 00000000 00000000 00000000 00000000    ................
    82000fa0: 00000000 544e5552 56524553 00020050    ....RUNTSERVP...
    82000fb0: 00000050 00000000 00000000 80844d29    P...........)M..
    82000fc0: 80844d15 808004ad 808004ad 80844d75    .M..........uM..
    82000fd0: 808004c5 8084522d 808452a1 80845265    ....-R...R..eR..
    82000fe0: 808004ad 80844ccd 8080055d 80800565    .....L..]...e...
    82000ff0: 808452c1 00000000 00000000 00000001    .R..............
    => 

    uboot nand RAW read is :

    => nand read.raw ${loadaddr} NAND.u-boot
    => md ${loadaddr}
    82000000: edfe0dd0 ec030000 38000000 54030000 ...........8...T
    82000010: 28000000 11000000 02000000 00000000 ...(............
    82000020: 96000000 1c030000 00000000 00000000 ................
    82000030: 00000000 00000000 01000000 00000000 ................
    82000040: 03000000 04000000 70000000 3eba3764 ...........pd7.>
    82000050: 03000000 2a000000 64000000 6d726946 .......*...dFirm
    82000060: 65726177 616d6920 77206567 20687469 ware image with
    82000070: 20656e6f 6d20726f 2065726f 20544446 one or more FDT
    82000080: 626f6c62 00000073 03000000 2f000000 blobs........../
    82000090: 5c000000 6f422d55 6d20746f 616d696b ...\U-Boot mkima
    820000a0: 32206567 2e313230 302d3130 31303030 ge 2021.01-00001
    820000b0: 3563672d 32666239 38336135 7269642d -gc59bf25a38-dir
    820000c0: 00007974 03000000 04000000 4d000000 ty.............M
    820000d0: 01000000 01000000 67616d69 00007365 ........images..
    820000e0: 01000000 6d726966 65726177 0000312d ....firmware-1..
    820000f0: 03000000 04000000 8c000000 94340800 ..............4.
    =>
    82000100: 03000000 04000000 80000000 00000000 ................
    82000110: 03000000 35000000 64000000 6f422d55 .......5...dU-Bo
    82000120: 3220746f 2e313230 302d3130 31303030 ot 2021.01-00001
    82000130: 3563672d 32666239 38336135 7269642d -gc59bf25a38-dir
    82000140: 66207974 6320726f 62206873 6472616f ty for csh board
    82000150: 00000000 03000000 09000000 48000000 ...............H
    82000160: 6d726966 65726177 00000000 03000000 firmware........
    82000170: 04000000 43000000 006d7261 03000000 .......Carm.....
    82000180: 07000000 40000000 6f622d75 0000746f .......@u-boot..
    82000190: 03000000 05000000 34000000 656e6f6e ...........4none
    820001a0: 00000000 03000000 04000000 2f000000 .............../
    820001b0: 00008080 03000000 04000000 29000000 ...............)
    820001c0: 00008080 01000000 68736168 0000312d ........hash-1..
    820001d0: 03000000 04000000 7a000000 308c2b6f ...........zo+.0
    820001e0: 03000000 06000000 1f000000 33637263 ............crc3
    820001f0: 00000032 02000000 02000000 01000000 2...............
    =>

    SPL read and RAW read is :

    => nand read ${loadaddr} NAND.SPL
    
    NAND read: device 0 offset 0x0, size 0x40000
     262144 bytes read: OK
    => md ${loadaddr}
    82000000: 00000040 0000000c 00000000 00000000    @...............
    82000010: 00000000 45534843 4e495454 00005347    ....CHSETTINGS..
    82000020: ffffffff ffffffff ffffffff ffffffff    ................
    82000030: ffffffff ffffffff ffffffff ffffffff    ................
    82000040: c0c0c0c1 00000100 00000000 00000000    ................
    82000050: 00000000 00000000 00000000 00000000    ................
    82000060: 00000000 00000000 00000000 00000000    ................
    82000070: 00000000 00000000 00000000 00000000    ................
    82000080: 00000000 00000000 00000000 00000000    ................
    82000090: 00000000 00000000 00000000 00000000    ................
    820000a0: 00000000 00000000 00000000 00000000    ................
    820000b0: 00000000 00000000 00000000 00000000    ................
    820000c0: 00000000 00000000 00000000 00000000    ................
    820000d0: 00000000 00000000 00000000 00000000    ................
    820000e0: 00000000 00000000 00000000 00000000    ................
    820000f0: 00000000 00000000 00000000 00000000    ................
    => md ${loadaddr}
    82000100: 00000000 00000000 00000000 00000000    ................
    82000110: 00000000 00000000 00000000 00000000    ................
    82000120: 00000000 00000000 00000000 00000000    ................
    82000130: 00000000 00000000 00000000 00000000    ................
    82000140: 00000000 00000000 00000000 00000000    ................
    82000150: 00000000 00000000 00000000 00000000    ................
    82000160: 00000000 00000000 00000000 00000000    ................
    82000170: 00000000 00000000 00000000 00000000    ................
    82000180: 00000000 00000000 00000000 00000000    ................
    82000190: 00000000 00000000 00000000 00000000    ................
    820001a0: 00000000 00000000 00000000 00000000    ................
    820001b0: 00000000 00000000 00000000 00000000    ................
    820001c0: 00000000 00000000 00000000 00000000    ................
    820001d0: 00000000 00000000 00000000 00000000    ................
    820001e0: 00000000 00000000 00000000 00000000    ................
    820001f0: 00000000 00000000 00000000 00000000    ................
    => 
    82000200: 00013248 402f0400 ea00000f e59ff014    H2..../@........
    82000210: e59ff014 e59ff014 e59ff014 e59ff014    ................
    82000220: e59ff014 e59ff014 402f0440 402f0440    ........@./@@./@
    82000230: 402f0440 402f0440 402f0440 402f0440    @./@@./@@./@@./@
    82000240: 402f0440 deadbeef eafffffe ea000033    @./@........3...
    82000250: e10f0000 e200101f e331001a 13c0001f    ..........1.....
    82000260: 13800013 e38000c0 e129f000 ee110f10    ..........).....
    82000270: e3c00a02 ee010f10 e59f0098 ee0c0f10    ................
    82000280: eb000006 eb000022 eb0003a6 ee070f15    ...."...........
    82000290: ee070f9a ee070f95 e12fff1e eaffffeb    ........../.....
    820002a0: e3a00000 ee080f17 ee070f15 ee070fd5    ................
    820002b0: ee070f9a ee070f95 ee110f10 e3c00a02    ................
    820002c0: e3c00007 e3800002 e3800b02 e3800a01    ................
    820002d0: ee010f10 e1a0500e ee101f10 e1a03a21    .....P......!:..
    820002e0: e203300f e201400f e1a02203 e1842002    .0...@..."... ..
    820002f0: e59f0024 e3c00007 e1a0d000 ee110f30    $...........0...
    
    
    //////////////////////// RAW READ //////////////////
    
    => nand read.raw ${loadaddr} NAND.SPL
    => md ${loadaddr}
    82000000: 00000040 0000000c 00000000 00000000    @...............
    82000010: 00000000 45534843 4e495454 00005347    ....CHSETTINGS..
    82000020: ffffffff ffffffff ffffffff ffffffff    ................
    82000030: ffffffff ffffffff ffffffff ffffffff    ................
    82000040: c0c0c0c1 00000100 00000000 00000000    ................
    82000050: 00000000 00000000 00000000 00000000    ................
    82000060: 00000000 00000000 00000000 00000000    ................
    82000070: 00000000 00000000 00000000 00000000    ................
    82000080: 00000000 00000000 00000000 00000000    ................
    82000090: 00000000 00000000 00000000 00000000    ................
    820000a0: 00000000 00000000 00000000 00000000    ................
    820000b0: 00000000 00000000 00000000 00000000    ................
    820000c0: 00000000 00000000 00000000 00000000    ................
    820000d0: 00000000 00000000 00000000 00000000    ................
    820000e0: 00000000 00000000 00000000 00000000    ................
    820000f0: 00000000 00000000 00000000 00000000    ................
    => 
    82000100: 00000000 00000000 00000000 00000000    ................
    82000110: 00000000 00000000 00000000 00000000    ................
    82000120: 00000000 00000000 00000000 00000000    ................
    82000130: 00000000 00000000 00000000 00000000    ................
    82000140: 00000000 00000000 00000000 00000000    ................
    82000150: 00000000 00000000 00000000 00000000    ................
    82000160: 00000000 00000000 00000000 00000000    ................
    82000170: 00000000 00000000 00000000 00000000    ................
    82000180: 00000000 00000000 00000000 00000000    ................
    82000190: 00000000 00000000 00000000 00000000    ................
    820001a0: 00000000 00000000 00000000 00000000    ................
    820001b0: 00000000 00000000 00000000 00000000    ................
    820001c0: 00000000 00000000 00000000 00000000    ................
    820001d0: 00000000 00000000 00000000 00000000    ................
    820001e0: 00000000 00000000 00000000 00000000    ................
    820001f0: 00000000 00000000 00000000 00000000    ................
    => 
    82000200: 00013248 402f0400 ea00000f e59ff014    H2..../@........
    82000210: e59ff014 e59ff014 e59ff014 e59ff014    ................
    82000220: e59ff014 e59ff014 402f0440 402f0440    ........@./@@./@
    82000230: 402f0440 402f0440 402f0440 402f0440    @./@@./@@./@@./@
    82000240: 402f0440 deadbeef eafffffe ea000033    @./@........3...
    82000250: e10f0000 e200101f e331001a 13c0001f    ..........1.....
    82000260: 13800013 e38000c0 e129f000 ee110f10    ..........).....
    82000270: e3c00a02 ee010f10 e59f0098 ee0c0f10    ................
    82000280: eb000006 eb000022 eb0003a6 ee070f15    ...."...........
    82000290: ee070f9a ee070f95 e12fff1e eaffffeb    ........../.....
    820002a0: e3a00000 ee080f17 ee070f15 ee070fd5    ................
    820002b0: ee070f9a ee070f95 ee110f10 e3c00a02    ................
    820002c0: e3c00007 e3800002 e3800b02 e3800a01    ................
    820002d0: ee010f10 e1a0500e ee101f10 e1a03a21    .....P......!:..
    820002e0: e203300f e201400f e1a02203 e1842002    .0...@..."... ..
    820002f0: e59f0024 e3c00007 e1a0d000 ee110f30    $...........0...

    Here is the oob data:

    => nand dump.oob 0
    Page 00000000 dump:
    OOB:
    	ff ff 8b 02 19 8a e3 cb
    	f8 a5 fa 72 e9 c7 62 01
    	9f ef 03 2c 90 2c 75 0d
    	c9 f9 a5 7e 5f 8f 1d f0
    	22 d3 31 c7 59 c6 38 9c
    	7e de d0 e2 af 11 18 ae
    	f3 aa ba 91 8d 2b c1 23
    	69 80 c0 3a 6b 89 10 b6
    	1c 1a 5a 5a 40 f5 9e f0
    	ad a8 3a 24 d8 10 6e d3
    	6c fb 5f 83 1c 24 a2 9d
    	ab 95 b7 0d b0 48 5e bb
    	14 29 5a c1 df 54 99 d0
    	30 9d fa 77 6c d9 31 9a
    	1c f2 90 e7 21 75 08 f8
    	e9 d0 08 55 74 72 78 83
    	ac 37 44 06 a5 98 3d 1c
    	fb bc 06 bd da 98 e2 bd
    	af 78 86 8d a2 70 ce a7
    	49 72 a5 cf 5c 2a 2b 6e
    	64 07 f4 3b 8f df 14 f9
    	0d 26 ca 62 a1 be 11 3a
    	1f 0b 9d ec 3a 3e 87 45
    	32 14 ce ad c4 53 33 ef
    	85 2a 4b 64 0f 28 e8 f1
    	7f 18 ff eb 1f 47 bc d0
    	b0 1b ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => 
    => nand dump.oob 10000
    Page 00010000 dump:
    OOB:
    	ff ff cc 4d c4 92 b0 2a
    	b9 7c 85 62 3b 85 3f fc
    	0e 41 67 5a 3a bf 3a ff
    	d1 41 74 99 26 d8 b7 3b
    	27 07 e7 7a ee c9 c4 9c
    	2c a5 c2 ca 57 90 3f 34
    	c7 e1 a8 3a 07 6e 4c e3
    	be 8a 7c 07 3e fc 90 27
    	e5 c4 1c 91 45 3a 6b 5c
    	85 23 e1 9d f4 85 2e 38
    	12 53 99 69 cb da f5 22
    	60 83 51 54 c1 67 a6 9c
    	a4 35 f9 ce c4 a3 18 ba
    	ab 7b 2a 2a 3b e6 a7 cc
    	c5 5a 5e 2b 0a e5 ad 22
    	bb 70 0a 4e 0f 31 0a 6e
    	9c 0d d3 81 cc 17 8c 8f
    	a9 26 b5 5a 33 c2 58 52
    	ed 28 23 8c 77 da 49 20
    	ec 27 30 d9 7d 72 b6 83
    	5d 70 9e 64 19 3e 62 a3
    	0c 82 d6 19 56 31 bf 43
    	65 eb 09 96 87 d5 a5 d0
    	2f 62 86 7f 1b 7e 91 c4
    	d4 ca c7 f7 2a 56 30 8c
    	fc 05 d9 3f 9f b9 8e 1d
    	bf 50 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    
    => nand dump.oob 180000
    Page 00180000 dump:
    OOB:
    	ff ff 0d a3 3c 22 56 2b
    	01 e2 5c f7 aa 1e d9 a6
    	8f 54 36 b5 be 7f af 01
    	87 87 ce 09 d3 08 32 ea
    	98 c2 a4 e0 c5 5e 3f db
    	66 49 b0 54 f1 d0 22 6f
    	a1 56 df 25 20 46 e2 9e
    	ae df 66 7a 30 50 f1 9f
    	79 d8 a7 42 52 2b 1c 20
    	8d c5 e5 72 63 56 52 6d
    	ff e9 97 ff b2 eb e8 a5
    	42 81 d9 cc 2e ba 4f 79
    	54 b2 b3 e2 78 38 47 5e
    	14 e6 d6 c0 c1 ac 9e 84
    	0a a4 32 27 5b 40 37 6f
    	ba 3f b6 c8 69 0d ab ce
    	8e aa ed b4 f8 a1 ed 36
    	aa 58 5c 8b 6c 2b 55 01
    	34 e8 dc 99 e5 7e d7 b4
    	65 fc 07 fa 7b 3e 85 40
    	9d a3 f1 d2 11 ad e5 66
    	d1 2e d3 bb 65 86 68 8a
    	07 2d a9 8e 62 64 1c 4b
    	a1 7f ae 71 b3 66 13 64
    	67 25 ce 3e 68 8e 75 c9
    	dc 6a ad cc d3 91 11 43
    	34 c0 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 181000
    Page 00181000 dump:
    OOB:
    	ff ff e2 32 ae 6d b0 37
    	86 25 38 59 ee 0a 5a d8
    	5a a5 dd 85 ea a1 bd 46
    	09 88 bf d0 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 a4 2c
    	0e 97 4c 7d dc a7 b7 a5
    	31 3e 77 e6 a9 ce 59 7b
    	85 b3 81 27 ec 54 6b 31
    	a8 55 2c ba b4 a8 de d0
    	5b 7f 15 a0 a9 ee 52 75
    	06 a7 fe ed 2b 90 2d 5d
    	d5 0d 83 41 cd 53 db d5
    	32 e7 c7 63 36 e4 3d b5
    	0c eb 6b 88 62 91 98 aa
    	57 22 2e eb d6 ea 60 3a
    	01 64 92 d2 fa 98 61 65
    	fe 34 fe 26 85 23 40 f9
    	be 8b ad 91 a7 ab 19 69
    	12 4c e8 4e b0 3d 34 a7
    	0f 3c f1 cf b7 3c 4e 70
    	a7 07 94 c4 d2 0f f0 e5
    	15 fa 98 3e db 6e 0d f9
    	20 11 a2 b4 1b c1 e8 fa
    	96 1a 59 63 bb db db 23
    	cc 75 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 190000
    Page 00190000 dump:
    OOB:
    	ff ff 7f ea 91 2d 3d 86
    	77 58 70 35 17 86 0a ca
    	a0 85 3b 37 90 42 ef cf
    	0c a8 82 12 23 ff fe 36
    	01 d0 47 51 26 51 be 73
    	cd 8d 13 62 5e 20 e9 3a
    	31 2b 23 e5 4b e7 fb ef
    	b7 92 09 24 f9 3a 0d 64
    	6a d9 62 68 dd 5b 02 f7
    	8c 45 03 20 a5 43 d7 0b
    	59 e4 f2 87 15 ba 2c 45
    	ee 40 d8 c3 7c c4 a0 b6
    	f7 ea b8 6d d0 27 32 a9
    	7e ad dc 30 ff 45 1d 35
    	d5 e0 3a 14 96 ae d6 e9
    	ef 73 8f 59 f5 1e d5 a5
    	21 05 db de fc 35 3e 21
    	30 a3 f9 17 ae 8d 39 f0
    	26 38 d1 95 18 d9 51 38
    	c5 91 17 18 30 13 a6 41
    	98 51 a1 96 88 6a 5a a4
    	6e 70 30 b2 d5 5f 49 b4
    	50 e2 cb 1d e8 3f 27 96
    	2f 21 d4 a3 4c 19 5e d8
    	a6 ec 01 14 84 1e 22 16
    	d5 16 21 2c 64 43 b1 43
    	9d d2 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 1a0000
    Page 001a0000 dump:
    OOB:
    	ff ff 25 0d 40 a5 7a ad
    	ff 55 d0 03 b5 0d 41 58
    	e1 d3 b7 b9 26 a7 39 e2
    	98 e7 f0 56 91 fb f0 f3
    	14 97 cb 04 7f c3 a0 6a
    	41 32 53 87 6c 86 2f a7
    	86 da 95 c5 a4 88 c9 91
    	12 61 18 f9 a8 34 94 0f
    	74 ab 0a 50 3e 1e 0f 27
    	1f ce 81 e0 00 1c 70 5b
    	3c 25 20 9e 68 8d 28 27
    	77 2f 6e 32 63 cc 8e 32
    	34 78 40 9b fd bb d2 8f
    	f2 d0 ec 69 7d e1 54 e5
    	58 49 97 1c eb 8a 1e d9
    	a3 20 07 aa 0a f4 04 4d
    	c6 78 dc f4 06 af 2d a4
    	49 6f 5f bc 63 1f 4d a5
    	c8 1e b5 87 86 1d 44 f0
    	27 ae c0 df 7e 30 69 f6
    	ab 29 fe 20 9a 8b c0 0e
    	8b e8 ce 78 cf c3 6a 3d
    	f6 ad 00 7d 01 1e 89 b3
    	dc 59 aa 6f 12 2c c1 b8
    	4d e1 98 97 85 65 2e 66
    	ea 85 33 64 66 d8 0a b7
    	66 ae ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 1b0000
    Page 001b0000 dump:
    OOB:
    	ff ff bd ed c5 80 95 68
    	22 c8 82 f1 98 72 44 98
    	39 5a 45 2c f7 40 f6 02
    	75 bb 89 be 38 d0 ee e8
    	c7 d1 79 1c 40 42 6a 71
    	9a e3 1e d4 bf c5 18 4a
    	5d 1f 8b a1 68 03 77 0b
    	f8 3f d8 ac 94 dc d8 84
    	12 3e 44 00 64 b6 98 fd
    	f1 ba 91 6e 42 45 cd d1
    	5f 76 33 fe cf 12 70 95
    	3c c8 6f 5c 9a 16 d1 c6
    	01 ab 48 8c 56 79 e9 55
    	d3 14 97 e7 95 00 3b ae
    	ad a7 5d 46 39 36 42 4e
    	e8 89 f2 3b 80 e7 eb 4c
    	00 0d 3f 63 86 aa 9c dd
    	5e 95 be 08 68 47 c9 78
    	80 a1 54 9b 11 31 27 f5
    	26 c4 14 42 e1 78 e6 94
    	43 01 5f 53 c3 8b 94 1f
    	79 63 e4 e9 86 1e a8 7d
    	d0 84 01 9a 5f 23 b9 ac
    	12 3d 1c 0b 83 31 0c ae
    	85 49 a3 3c 9a 85 ce 94
    	70 2f 48 56 2b 85 51 14
    	b5 51 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 1c0000
    Page 001c0000 dump:
    OOB:
    	ff ff 6c 08 70 79 27 f8
    	b4 88 8c 27 d6 44 e3 d3
    	28 3a 39 53 9d 5e 9c f6
    	8b 38 ba 39 7c d6 21 25
    	c0 25 d4 31 2c ef 60 e8
    	77 d0 2d 6b 3f be 08 2a
    	7b a2 91 c4 1a f4 61 e3
    	31 32 d6 4d dd 99 78 c5
    	a5 bf 15 ba a9 c2 1c 36
    	17 99 3b ad 25 8d 52 1b
    	d7 54 55 c4 e3 ee f5 4f
    	18 aa b5 ea 00 3d 51 57
    	b2 48 e4 b6 4a 2d 35 d8
    	88 93 fd b7 2d 68 de da
    	d9 24 28 60 17 f2 bc 2c
    	88 a2 14 0f 06 00 83 c8
    	bc 00 0b 78 dc 37 83 5b
    	a3 17 a4 bd ba c7 63 c0
    	cf 6e 89 6e e0 ff 09 06
    	42 36 34 df 1e 24 7b d9
    	70 63 fe 03 4e 67 2b 5b
    	48 9d b4 98 3b 3f 11 74
    	26 1c f7 1d 64 c0 b5 9a
    	00 e1 00 b5 41 6e 43 22
    	c8 ed ab 7f db 1c 09 d5
    	59 5c 64 56 7c ae 40 2b
    	4f e0 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 1d0000
    Page 001d0000 dump:
    OOB:
    	ff ff 42 a6 53 76 e3 e8
    	a2 2f 1f 16 90 78 00 c9
    	ec cc 0b e8 c4 17 29 f7
    	53 23 49 5a f0 0d 1f d5
    	3e 12 57 1b cb c8 04 c0
    	b0 d3 45 11 96 e7 08 4d
    	89 36 b1 79 dd cd 67 37
    	7b 24 fa 74 6e ad 89 d6
    	0b f1 b6 42 00 01 a0 5e
    	e2 ed 79 da 92 27 d5 5f
    	3c a8 a8 b2 a3 33 a4 65
    	05 f5 b7 ad e3 b5 0b 58
    	24 16 66 d9 5d 5e 20 24
    	7b d0 97 3b 5f 22 fc cf
    	8a a1 ef 63 16 9c 9a 1e
    	2a f1 c3 43 af 18 b7 0a
    	4e 25 49 79 d9 11 74 c2
    	7b 5c 91 b0 4a 83 cb 32
    	2d 34 d3 04 ec fb 91 20
    	0e df 24 2b a3 97 cc cc
    	28 aa ad 9b a4 8b 39 f3
    	e2 f9 96 31 c6 24 88 aa
    	9b f0 63 89 29 4f 04 00
    	c4 df 94 77 f2 f1 23 bd
    	a4 5b 14 d5 35 9b f7 c0
    	8c c0 ed 62 55 3d 3f 6e
    	24 28 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 1e0000
    Page 001e0000 dump:
    OOB:
    	ff ff 58 41 b5 5e a3 31
    	3f 66 e4 49 30 59 4e d9
    	4c 65 8f 4c bb c4 c2 78
    	4e 44 1c 38 62 f7 d8 3f
    	c9 69 a6 24 fd b9 4c 63
    	c0 21 f6 8a 79 bf 28 1d
    	2d 02 52 dc 82 ae 61 11
    	4c 02 d0 4f 32 6d 55 8d
    	32 72 df 19 b9 ff 00 af
    	59 8b 31 03 04 fb 30 a2
    	2f b7 ff b3 64 e0 47 b3
    	a8 e3 6d 2c 44 3a d6 46
    	97 4e 41 48 4b ef fe ab
    	05 e1 2c f6 35 95 f4 a7
    	86 b8 22 94 d5 3a a8 3d
    	40 bf 9c 10 53 a3 a5 81
    	0d 78 e0 69 34 37 a6 8d
    	a4 f6 00 81 ae b6 ee 18
    	96 95 6c ca b6 c0 dc 16
    	42 95 9b b1 7a 06 10 98
    	62 89 e9 a5 17 b3 6f 74
    	63 ec 7c 7b ab 09 a8 11
    	de fd 49 84 e6 36 64 ff
    	91 26 20 77 bb 65 3d ea
    	87 6c 06 8b 1f 63 a0 c3
    	48 bb c7 35 72 90 5b 8f
    	8a 4c ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 1f0000
    Page 001f0000 dump:
    OOB:
    	ff ff 28 f2 64 f8 f2 de
    	8e 4c 32 ef 3a 6b d7 3e
    	bb 26 5f 21 93 2f 1e 02
    	1a 89 fa a2 f9 ef 4f 92
    	7e ad 90 29 f6 6c 31 f2
    	78 4e 2a cc 2a 61 53 fb
    	97 8a 4d 30 d4 58 3f c5
    	87 b8 41 48 33 c4 4e 36
    	34 64 75 d0 f3 df 54 f0
    	70 0e fc c4 93 da 5d 66
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00
    	c6 67 f2 13 c5 c1 00 96
    	56 6a a3 9e a9 09 fe 87
    	4b 0b 89 6d 70 19 19 05
    	08 f6 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 200000
    Page 00200000 dump:
    OOB:
    	ff ff 48 5f df 57 00 dc
    	38 c0 6f e8 bd de d5 e4
    	6b 64 91 9d 90 d5 92 9a
    	d8 e4 07 53 2f 76 25 a3
    	40 0b 71 43 7b 48 1a 2f
    	13 c4 68 bc c8 7f b5 5c
    	c6 78 2d 9f fe 8b af 84
    	98 e7 bc 35 bf cc fc e8
    	5c 52 93 c5 58 23 44 90
    	28 bd 2a 25 e9 ed 97 aa
    	59 3f b0 a3 43 fb 16 5c
    	84 77 4c 53 fa 5d 1b 7e
    	98 3f f6 57 24 fd 84 54
    	91 62 2c 27 3c d8 6c a6
    	bc 4d 30 9d 50 74 02 63
    	8b 56 df 18 b9 41 a9 1e
    	3c 72 23 61 af 96 a7 f0
    	65 0d 23 58 b7 8e 4c d5
    	22 fa 2b a3 79 81 9c 2e
    	c1 00 1b 76 31 ac 78 13
    	e8 de e5 61 ae 76 5f d1
    	be 8b d9 90 be 8c fb c8
    	57 8f 0e 77 72 2d 44 3a
    	82 33 80 ac 1b b1 b7 74
    	40 b9 9e ab 94 1f 19 4f
    	d0 4d 14 20 90 90 4c d7
    	e5 e6 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump.oob 210000
    Page 00210000 dump:
    OOB:
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    

  • My mtd list command output is as below. It says OOB available as 196 bytes. Does it means 196 bytes are being used or free? BCH16 uses 210 bytes right ?? Is this output ok??

    => mtd list
    List of MTD devices:
    * nand0
      - type: NAND flash
      - block size: 0x40000 bytes
      - min I/O: 0x1000 bytes
      - OOB size: 224 bytes
      - OOB available: 196 bytes
      - ECC strength: 16 bits
      - ECC step size: 512 bytes
      - bitflip threshold: 12 bits
      - 0x000000000000-0x000040000000 : "nand0"
    	  - 0x000000000000-0x000000040000 : "NAND.SPL"
    	  - 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    	  - 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    	  - 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    	  - 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
    	  - 0x000000180000-0x000000280000 : "NAND.u-boot"
    	  - 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
    	  - 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
    	  - 0x000000300000-0x000000a00000 : "NAND.kernel"
    	  - 0x000000a00000-0x000040000000 : "NAND.file-system"
    

  • Any help on this ??