This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3352: NAND Boot issue

Part Number: AM3352

Tool/software:

We have a custom board with a 256MB NAND that is not autobooting.

We have Sysboot set to 00010 for UART and NAND, and we can get CCC printing continuously on console, but NAND never starts. I see activity on lines like Wait/R/B, but the ROM doesn't move forward. Our NAND is compatible and we can boot from NAND if we first boot from UART to Uboot, and then we "run nandboot", we can boot to console. I thought maybe we have something wrong in spl/MLO, but we are loading MLO to first addresses of NAND and it should have proper headers. We still may have an issue there though.

Some more details:

NAND: 256MB, 8 bit, MT29F2G08ABAGA, ONFI Compliant,

2048 + 128 page size

Block size 128k + 8kbytes

DDR3L: 512MB

We are programming the NAND Flash with a CCS NAND flash tool via XDS110 and BCH8 ECC.

I also tried changing sysboot to have ECC done by NAND(NAND has 4 bit ECC internal), but that did not help, it only caused CCCC to stop printing after 3 seconds. Also regular nandboot seems to be fine so I don;t think its ECC related. 

Here is our partition table:

device nand0 <nand.0>, # parts = 10
#: name                size            offset          mask_flags
0: NAND.SPL            0x00020000      0x00000000      0
1: NAND.SPL.backup1    0x00020000      0x00020000      0
2: NAND.SPL.backup2    0x00020000      0x00040000      0
3: NAND.SPL.backup3    0x00020000      0x00060000      0
4: NAND.u-boot-spl-os  0x00040000      0x00080000      0
5: NAND.u-boot         0x00100000      0x000c0000      0
6: NAND.u-boot-env     0x00020000      0x001c0000      0
7: NAND.u-boot-env.backup10x00020000   0x001e0000      0
8: NAND.kernel         0x00800000      0x00200000      0
9: NAND.file-system    0x0f600000      0x00a00000      0

 

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

Thanks,

Jesse

  • I ran boot analysis and here is the output:

    CONTROL: device_id = 0x2b94402e
      * AM335x family
      * Silicon Revision 2.1

    PRM_DEVICE: PRM_RSTST = 0x00000001
      * Bit 0 : GLOBAL_COLD_RST

    CONTROL: control_status = 0x00800302
      * SYSBOOT[15:14] = 10b (25 MHz)
      * SYSBOOT[11:10] = 00b No GPMC CS0 addr/data muxing
      * SYSBOOT[9] = 0 GPMC CS0 Ignore WAIT input
      * SYSBOOT[8] = 0 GPMC CS0 8-bit data bus
      * Device Type = General Purpose (GP)
      * SYSBOOT[7:6] = 00b MII (EMAC boot modes only)
      * SYSBOOT[5] = 0 CLKOUT1 disabled
      * Boot Sequence : UART0 -> SPI0 -> NAND -> NANDI2C

    ROM: Current tracing vector, word 1 = 0x0000907f
      * Bit 0  : [Memory Boot] Memory booting device MMCSD1 or SPI0
      * Bit 1  : [General] Entered main function
      * Bit 2  : [General] Running after the cold reset
      * Bit 3  : [Boot] Main booting routine entered
      * Bit 4  : [Memory Boot] Memory booting started
      * Bit 5  : [Peripheral Boot] Peripheral booting started
      * Bit 6  : [Boot] Booting loop reached last device
      * Bit 12 : [Peripheral Boot] Device initialized
      * Bit 15 : [Peripheral Boot] Peripheral booting failed

    ROM: Current tracing vector, word 2 = 0x0000f000
      * Bit 12 : [Memory Boot] Memory booting trial 0
      * Bit 13 : [Memory Boot] Memory booting trial 1
      * Bit 14 : [Memory Boot] Memory booting trial 2
      * Bit 15 : [Memory Boot] Memory booting trial 3

    ROM: Current tracing vector, word 3 = 0x00010420
      * Bit 5  : [Memory Boot] Memory booting device NAND
      * Bit 10 : [Memory Boot] Memory booting device NAND_I2C
      * Bit 16 : Peripheral booting device UART0

    ROM: Current copy of PRM_RSTST = 0x00000000

    ROM: Cold reset tracing vector, word 1 = 0x00000000

    ROM: Cold reset tracing vector, word 2 = 0x00000000

    ROM: Cold reset tracing vector, word 3 = 0x00000001
      * Bit 0  : [Memory Boot] Memory booting device NULL

    Cortex A8 Program Counter = 0x000233d0

    ROM Exception Vectors
      * 0x4030CE04 Undefined
      * 0x4030CE08 SWI
      * 0x4030CE0C Pre-fetch abort
      * 0x4030CE10 Data abort
      * 0x4030CE14 Unused
      * 0x4030CE18 IRQ
      * 0x4030CE1C FIQ

    ROM Dead Loops
      * 0x00020080 Undefined exception default handler
      * 0x00020084 SWI exception default handler
      * 0x00020088 Pre-fetch abort exception default handler
      * 0x0002008C Data exception default handler
      * 0x00020090 Unused exception default handler
      * 0x00020094 IRQ exception default handler
      * 0x00020098 FIQ exception default handler
      * 0x0002009C Validation test PASS
      * 0x000200A0 Validation test FAIL
      * 0x000200A4 Reserved
      * 0x000200A8 Image not executed or returned
      * 0x000200AC Reserved
      * 0x000200B0 Reserved
      * 0x000200B4 Reserved
      * 0x000200B8 Reserved
      * 0x000200BC Reserved

  • I ran another test today, where I have SYSBOOT set to ECC done by NAND. In this case CCC prints for few seconds then stops. I ran boot script utility and this is the output. Seems like it can see image header and executes it but never proceeds.

    CONTROL: control_status = 0x00820302
      * SYSBOOT[15:14] = 10b (25 MHz)
      * SYSBOOT[11:10] = 00b No GPMC CS0 addr/data muxing
    * SYSBOOT[9] = 1 GPMC CS0 Use WAIT input
      * SYSBOOT[8] = 0 GPMC CS0 8-bit data bus
      * Device Type = General Purpose (GP)
      * SYSBOOT[7:6] = 00b MII (EMAC boot modes only)
      * SYSBOOT[5] = 0 CLKOUT1 disabled
      * Boot Sequence : UART0 -> SPI0 -> NAND -> NANDI2C

     

    ROM: Current tracing vector, word 1 = 0x001090bf
      * Bit 0  : [Memory Boot] Memory booting device MMCSD1 or SPI0
      * Bit 1  : [General] Entered main function
      * Bit 2  : [General] Running after the cold reset
      * Bit 3  : [Boot] Main booting routine entered
      * Bit 4  : [Memory Boot] Memory booting started
      * Bit 5  : [Peripheral Boot] Peripheral booting started
    * Bit 7  : [Boot] GP header found
      * Bit 12 : [Peripheral Boot] Device initialized
      * Bit 15 : [Peripheral Boot] Peripheral booting failed
    * Bit 20 : [Configuration Header] CHSETTINGS found

     

    ROM: Current tracing vector, word 2 = 0x00019000
    * Bit 12 : [Memory Boot] Memory booting trial 0
      * Bit 15 : [Memory Boot] Memory booting trial 3
    * Bit 16 : [Memory Boot] Execute GP image

     

    ROM: Current tracing vector, word 3 = 0x00010020
    * Bit 5  : [Memory Boot] Memory booting device NAND
      * Bit 16 : Peripheral booting device UART0

     

    ROM: Current copy of PRM_RSTST = 0x00000000

     

    ROM: Cold reset tracing vector, word 1 = 0x00000000

     

    ROM: Cold reset tracing vector, word 2 = 0x00000000

     

    ROM: Cold reset tracing vector, word 3 = 0x00000001
      * Bit 0  : [Memory Boot] Memory booting device NULL

     

    Cortex A8 Program Counter = 0x402faccc

     

    I tried booting via UART in this mode and Uboot doesn't see the NAND at all when SYSBOOT[9] is set high, shown below. But, seems like the ROM does as it reads the GPHeader.

    CPU  : AM335X-GP rev 2.1
    Model: TI AM335x EVM
    DRAM:  512 MiB
    Inside Board Init
    WDT:   Started with servicing (60s timeout)
    NAND:  0 MiB
    MMC:   OMAP SD/MMC: 0

  • Thanks for running your boot analysis, and analyzing ROM trace vector.
    From your latest boot analysis when configuring ECC done by NAND device,

    Cortex A8 Program Counter = 0x402faccc

    ROM loaded MLO from NAND to on-chip SRAM, and MLO started to run from SRAM.
    It looks like JTAG is accessible on your board?
    If yes, have we tried connecting JTAG to debug MLO?
    Best,
    -Hong

  • Yes we have JTAG attached. How would you recommend Debugging MLO? I wasn't sure if the MLO was loaded or not at this point in the program counter

  • One concern I have is that we may have an ECC issue, where ROM is using one type of ECC, and Uboot is using another. That might explain why run nandboot works in Uboot, but ROM gets stuck when SYSBOOT ECC is set to ECC Done by ROM.

  • Hi Hong, 
    Just to add some more details w.r.t uboot and linux on our board:
    we have made all the uboot changes specific to board and we have a spl.bin,MLO and the linux kernel which is all working over UART.
    i.e.
    we are able to XModem send uboot-spl.bin and YModem send uboot.img and run nandboot to start the linux kernel.

    But the moment we switch to nandboot after placing MLO in the first 4 partitions and uboot image in 0xc0000 offset of nand nothing happens...

    if we specify ECC by ROM looks like MLO is not detected, if we do ECC by NAND then MLO is detected but we dont know what happens after that..
    We have console debug prints in our image, will that also work for NAND boot? or is it only for UART boot?

  • Can we check with the nand device vendor to see if it is possible to disable the on-die ECC in the nand device?, and let ECC handling by ROM/u-boot/kernel...with AM335x GPMC/ELM.
    Best,
    -Hong

  • I checked, and it looks like ECC is disabled by default. So, if SYSBOOT is set to "ECC Done By NAND", and Nand ECC is disabled, then that means it's just no ECC I think. I am wondering if in "ECC Done by ROM", ROM is expecting BCH16 for some reason but we are programming as BCH8?

  • Please refer to "26.1.8.4 NAND" in AM335x TRM on NAND boot support in ROM.
    BCH length configuration in AM335x boot ROM:
    - read NAND geometry via reading ONFI parameter table
    - configure BCH based on page size, subpage size, and the spare area size (OOB)
    - BCH length configuration in ROM is similar as in u-boot, kernel
    - One reference on BCH configuration in u-boot
    git.ti.com/.../Kconfig

    Best,
    -Hong

  • So ROM will configure BCH based on some formula for OOB and Page size? And if it can fit in a larger ECC (like BCH16) it will go with the larger one? In that case, according to the equation in your link our NAND can fit BCH16 in it. Meaning the ROM probably chose BCH16?

    If thats true we either need to swap to NAND with smaller OOB so it goes to BCH8, or figure out how to program NAND with BCH16

  • I am looking into testing a NAND with OOB that is smaller to see if we can boot with no SW changes, but do you have any recommendations for BCH16i programming of the MLO? Starterware has a NAND flasher that does not support BCH16, and our current uboot and TI SDK also does not support BCH16 I believe so I don't think we can write to NAND in Uboot using BCH16. 

  • In general it is possible to enable u-boot/kernel support on HW BCH16 with GPMC/ELM IP on AM335x.
    1/. What is nand flashing scheme in your mind?
    2/. Will you be able to run "nand info" @u-boot prompt on your board?
    Best,
    -Hong

  • Our plan was JTAG (XDS110, through CCS), but NAND Flasher only does BCH8. We can also do via nand write in Uboot as well. Here is nand info output:

    Device 0: nand0, sector size 128kiB

    Page size 2048b

    OOB size 128b

    Erase Size 131072b

    subpagesize 512b

    options 0x0000400c

    bbt options 0x00008000

  • Hello Jesse,
    I've something for you to try out.
    I'm also attaching the two logs I captured on u-boot NAND flashing/booting with the nand device "MT29F2G08ABAGAH4" (I think it is the same one as yours).
    - am3_9.1.0.1_1208-1_nand_flash.log: flash u-boot to NAND from SD boot
    - am3_9.1.0.1_1208-1_nand_boot.log: boot u-boot from NAND

    1/. Download and install the latest AM335x Linux SDK 9.1
    https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM335X/09.01.00.001
    2/. Apply the two patches as noted in the attached <AM335x_NAND_Patch_SDK9.1_Note.txt> on top of SDK 9.1
    3/. Apply the attached patch <0001-Add-u-boot-GPMC-NAND-support-for-MT29F2G08ABAGAH4-IT.patch> I ported for the NAND device "MT29F2G08ABAGAH4" with BCH16

    Hope these are helpful.

    Best,
    -Hong

    AM335x SPL/u-boot NAND boot with Linux SDK 9.1
    
    Summary:
    - AM335x SPL/u-boot NAND boot issue was observed with Linux SDK 9.1
    https://www.ti.com/tool/download/PROCESSOR-SDK-LINUX-AM335X/09.01.00.001
    
    U-boot patch for NAND booting with Linux SDK 9.1 on AM335x GP EVM
    1. mtd: nand: omap_gpmc: Fix NAND in SPL for AM335x
    https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04-next&id=c0176ab8dd53f86e193c578ec4781400e9fb18e3
    2. mtd: rawnand: omap_elm: Fix elm_init definition
    https://git.ti.com/cgit/ti-u-boot/ti-u-boot/commit/?h=ti-u-boot-2023.04-next&id=d6f939a90c3192adf5c5bec1ec4fbc05ec36144e
    
    
    

    https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/791/0001_2D00_Add_2D00_u_2D00_boot_2D00_GPMC_2D00_NAND_2D00_support_2D00_for_2D00_MT29F2G08ABAGAH4_2D00_IT.patch

    U-Boot SPL 2023.04-00001-ga6b09c3a4c-dirty (Dec 08 2023 - 11:31:54 -0600)
    Trying to boot from MMC1
    
    
    U-Boot 2023.04-00001-ga6b09c3a4c-dirty (Dec 08 2023 - 11:31:54 -0600)
    
    CPU  : AM335X-GP rev 2.0
    Model: TI AM335x EVM
    DRAM:  1 GiB
    Core:  156 devices, 17 uclasses, devicetree: separate
    WDT:   Started wdt@44e35000 with servicing every 1000ms (60s timeout)
    NAND:  256 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... 
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth2: ethernet@4a100000, eth3: usb_ether
    Hit any key to stop autoboot:  2  0 
    => nand info
    
    Device 0: nand0, sector size 128 KiB
      Page size         2048 b
      OOB size           128 b
      Erase size      131072 b
      ecc strength        16 bits
      ecc step size      512 b
      subpagesize        512 b
      options       0x0000400c
      bbt options   0x00008000
    => nand dump 0
    Page 00000000 dump:
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    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
    => mtdparts
    
    device nand0 <nand.0>, # parts = 10
     #: name		size		offset		mask_flags
     0: NAND.SPL            0x00020000	0x00000000	0
     1: NAND.SPL.backup1    0x00020000	0x00020000	0
     2: NAND.SPL.backup2    0x00020000	0x00040000	0
     3: NAND.SPL.backup3    0x00020000	0x00060000	0
     4: NAND.u-boot-spl-os  0x00040000	0x00080000	0
     5: NAND.u-boot         0x00100000	0x000c0000	0
     6: NAND.u-boot-env     0x00020000	0x001c0000	0
     7: NAND.u-boot-env.backup10x00020000	0x001e0000	0
     8: NAND.kernel         0x00800000	0x00200000	0
     9: NAND.file-system    0x0f600000	0x00a00000	0
    
    active partition: nand0,0 - (NAND.SPL) 0x00020000 @ 0x00000000
    
    defaults:
    mtdids  : nand0=nand.0
    mtdparts: mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)
    => nand erase.chip
    
    NAND erase.chip: device 0 whole chip
    
    Erasing at 0x0 --   0% complete.
    Erasing at 0x280000 --   1% complete.
    Erasing at 0x500000 --   2% complete.
    Erasing at 0x7a0000 --   3% complete.
    Erasing at 0xa20000 --   4% complete.
    Erasing at 0xcc0000 --   5% complete.
    Erasing at 0xf40000 --   6% complete.
    Erasing at 0x11e0000 --   7% complete.
    Erasing at 0x1460000 --   8% complete.
    Erasing at 0x1700000 --   9% complete.
    Erasing at 0x1980000 --  10% complete.
    Erasing at 0x1c20000 --  11% complete.
    Erasing at 0x1ea0000 --  12% complete.
    Erasing at 0x2140000 --  13% complete.
    Erasing at 0x23c0000 --  14% complete.
    Erasing at 0x2660000 --  15% complete.
    Erasing at 0x28e0000 --  16% complete.
    Erasing at 0x2b80000 --  17% complete.
    Erasing at 0x2e00000 --  18% complete.
    Erasing at 0x30a0000 --  19% complete.
    Erasing at 0x3320000 --  20% complete.
    Erasing at 0x35c0000 --  21% complete.
    Erasing at 0x3840000 --  22% complete.
    Erasing at 0x3ae0000 --  23% complete.
    Erasing at 0x3d60000 --  24% complete.
    Erasing at 0x3fe0000 --  25% complete.
    Erasing at 0x4280000 --  26% complete.
    Erasing at 0x4500000 --  27% complete.
    Erasing at 0x47a0000 --  28% complete.
    Erasing at 0x4a20000 --  29% complete.
    Erasing at 0x4cc0000 --  30% complete.
    Erasing at 0x4f40000 --  31% complete.
    Erasing at 0x51e0000 --  32% complete.
    Erasing at 0x5460000 --  33% complete.
    Erasing at 0x5700000 --  34% complete.
    Erasing at 0x5980000 --  35% complete.
    Erasing at 0x5c20000 --  36% complete.
    Erasing at 0x5ea0000 --  37% complete.
    Erasing at 0x6140000 --  38% complete.
    Erasing at 0x63c0000 --  39% complete.
    Erasing at 0x6660000 --  40% complete.
    Erasing at 0x68e0000 --  41% complete.
    Erasing at 0x6b80000 --  42% complete.
    Erasing at 0x6e00000 --  43% complete.
    Erasing at 0x70a0000 --  44% complete.
    Erasing at 0x7320000 --  45% complete.
    Erasing at 0x75c0000 --  46% complete.
    Erasing at 0x7840000 --  47% complete.
    Erasing at 0x7ae0000 --  48% complete.
    Erasing at 0x7d60000 --  49% complete.
    Erasing at 0x7fe0000 --  50% complete.
    Erasing at 0x8280000 --  51% complete.
    Erasing at 0x8500000 --  52% complete.
    Erasing at 0x87a0000 --  53% complete.
    Erasing at 0x8a20000 --  54% complete.
    Erasing at 0x8cc0000 --  55% complete.
    Erasing at 0x8f40000 --  56% complete.
    Erasing at 0x91e0000 --  57% complete.
    Erasing at 0x9460000 --  58% complete.
    Erasing at 0x9700000 --  59% complete.
    Erasing at 0x9980000 --  60% complete.
    Erasing at 0x9c20000 --  61% complete.
    Erasing at 0x9ea0000 --  62% complete.
    Erasing at 0xa140000 --  63% complete.
    Erasing at 0xa3c0000 --  64% complete.
    Erasing at 0xa660000 --  65% complete.
    Erasing at 0xa8e0000 --  66% complete.
    Erasing at 0xab80000 --  67% complete.
    Erasing at 0xae00000 --  68% complete.
    Erasing at 0xb0a0000 --  69% complete.
    Erasing at 0xb320000 --  70% complete.
    Erasing at 0xb5c0000 --  71% complete.
    Erasing at 0xb840000 --  72% complete.
    Erasing at 0xbae0000 --  73% complete.
    Erasing at 0xbd60000 --  74% complete.
    Erasing at 0xbfe0000 --  75% complete.
    Erasing at 0xc280000 --  76% complete.
    Erasing at 0xc500000 --  77% complete.
    Erasing at 0xc7a0000 --  78% complete.
    Erasing at 0xca20000 --  79% complete.
    Erasing at 0xccc0000 --  80% complete.
    Erasing at 0xcf40000 --  81% complete.
    Erasing at 0xd1e0000 --  82% complete.
    Erasing at 0xd460000 --  83% complete.
    Erasing at 0xd700000 --  84% complete.
    Erasing at 0xd980000 --  85% complete.
    Erasing at 0xdc20000 --  86% complete.
    Erasing at 0xdea0000 --  87% complete.
    Erasing at 0xe140000 --  88% complete.
    Erasing at 0xe3c0000 --  89% complete.
    Erasing at 0xe660000 --  90% complete.
    Erasing at 0xe8e0000 --  91% complete.
    Erasing at 0xeb80000 --  92% complete.
    Erasing at 0xee00000 --  93% complete.
    Erasing at 0xf0a0000 --  94% complete.
    Erasing at 0xf320000 --  95% complete.
    Erasing at 0xf5c0000 --  96% complete.
    Erasing at 0xf840000 --  97% complete.
    Erasing at 0xfae0000 --  98% complete.
    Erasing at 0xfd60000 --  99% complete.
    Erasing at 0xffe0000 -- 100% complete.
    OK
    => load mmc 0:1 ${loadaddr} MLO
    110544 bytes read in 13 ms (8.1 MiB/s)
    => nand write ${loadaddr} NAND.SPL ${filesize}
    
    NAND write: device 0 offset 0x0, size 0x1afd0
     110544 bytes written: OK
    => load mmc 0:1 ${loadaddr} u-boot.img
    1453520 bytes read in 112 ms (12.4 MiB/s)
    => nand write ${loadaddr} 0xC0000 ${filesize}
    
    NAND write: device 0 offset 0xc0000, size 0x162dd0
     1453520 bytes written: OK
    => nand dump 0
    Page 00000000 dump:
    	40 00 00 00 0c 00 00 00  00 00 00 00 00 00 00 00
    	00 00 00 00 43 48 53 45  54 54 49 4e 47 53 00 00
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	c1 c0 c0 c0 00 01 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 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 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 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 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
    	d0 ad 01 00 00 04 2f 40  0f 00 00 ea 14 f0 9f e5
    	14 f0 9f e5 14 f0 9f e5  14 f0 9f e5 14 f0 9f e5
    	14 f0 9f e5 14 f0 9f e5  40 04 2f 40 40 04 2f 40
    	40 04 2f 40 40 04 2f 40  40 04 2f 40 40 04 2f 40
    	40 04 2f 40 ef be ad de  fe ff ff ea 32 03 00 ea
    	00 00 0f e1 1f 10 00 e2  1a 00 31 e3 1f 00 c0 13
    	13 00 80 13 c0 00 80 e3  00 f0 29 e1 10 0f 11 ee
    	02 0a c0 e3 10 0f 01 ee  98 00 9f e5 10 0f 0c ee
    	06 00 00 eb 22 00 00 eb  23 04 00 eb 15 0f 07 ee
    	9a 0f 07 ee 95 0f 07 ee  1e ff 2f e1 eb ff ff ea
    	00 00 a0 e3 17 0f 08 ee  15 0f 07 ee d5 0f 07 ee
    	9a 0f 07 ee 95 0f 07 ee  10 0f 11 ee 02 0a c0 e3
    	07 00 c0 e3 02 00 80 e3  02 0b 80 e3 01 0a 80 e3
    	10 0f 01 ee 0e 50 a0 e1  10 1f 10 ee 21 3a a0 e1
    	0f 30 03 e2 0f 40 01 e2  03 22 a0 e1 02 20 84 e1
    	24 00 9f e5 07 00 c0 e3  00 d0 a0 e1 30 0f 11 ee
    	40 00 80 e3 3e 00 2d e9  f1 03 00 fa 3e 00 bd e8
    	05 f0 a0 e1 f9 03 00 ea  00 04 2f 40 00 ff 30 40
    	08 b5 00 f0 4d f9 02 4b  03 eb 00 10 08 bd 00 bf
    	94 55 30 40 08 b5 00 f0  43 f9 02 4b 03 eb 00 10
    	08 bd 00 bf 80 58 30 40  1b 4b d3 f8 00 24 22 f0
    	03 02 42 f0 02 02 c3 f8  00 24 d3 f8 1c 21 22 f0
    	03 02 42 f0 02 02 c3 f8  1c 21 d3 f8 b4 24 22 f0
    	03 02 42 f0 02 02 c3 f8  b4 24 da 6e 22 f0 03 02
    	42 f0 02 02 da 66 1a 6f  22 f0 03 02 42 f0 02 02
    	1a 67 5a 6f 22 f0 03 02  42 f0 02 02 5a 67 9a 6f
    	22 f0 03 02 42 f0 02 02  9a 67 9a 6b 22 f0 03 02
    	42 f0 02 02 9a 63 70 47  00 00 e0 44 70 b5 0e 4e
    	a2 b0 6c 46 35 46 0f cd  0f c4 95 e8 0f 00 84 e8
    	0f 00 06 f1 20 01 68 22  08 a8 01 f0 55 f8 01 22
    	68 46 08 a9 00 f0 7c f8  bf f3 5f 8f 01 22 03 4b
    	c3 f8 08 25 22 b0 70 bd  08 55 30 40 00 00 e0 44
    	70 b5 04 46 0d 46 00 29  5e d0 c3 68 1e 68 bf f3
    	5f 8f 02 68 00 21 13 68  23 f0 07 03 43 f0 04 03
    	13 60 42 68 29 4b 01 20  00 f0 5a ff 18 b9 21 68
    	27 48 06 f0 5f fd 2b 68  26 4a 02 ea 03 22 26 4b
    	33 40 1a 43 6b 68 03 f0  7f 03 13 43 bf f3 5f 8f
    	e2 68 13 60 95 f9 08 30  00 2b 03 db bf f3 5f 8f
    	22 69 13 60 95 f9 09 30  00 2b 03 db bf f3 5f 8f
    	62 69 13 60 95 f9 0a 30  00 2b 03 db bf f3 5f 8f
    	a2 69 13 60 95 f9 0b 30  00 2b 03 db bf f3 5f 8f
    	e2 69 13 60 95 f9 0c 30  00 2b 03 db bf f3 5f 8f
    	22 6a 13 60 01 21 22 68  08 46 13 68 43 f0 07 03
    	13 60 62 68 05 4b 00 f0  13 ff 28 b9 21 68 07 48
    	06 f0 18 fd 05 f0 ec fb  70 bd 00 bf 40 42 0f 00
    	00 67 30 40 00 ff 07 00  80 00 f8 ff 1c 67 30 40
    	2d e9 f0 41 16 46 0c 46  00 f5 c6 75 01 1f 50 b1
    	51 f8 04 2f 3a b1 13 68  8d 42 23 f0 03 03 43 f0
    	02 03 13 60 f3 d1 df f8  40 80 25 1f 04 f5 c6 77
    	a4 b1 55 f8 04 1f 89 b1  0b 68 23 f0 03 03 43 f0
    	02 03 0b 60 46 b1 09 4b  0a 68 bf f3 5f 8f 01 3b
    	06 d1 40 46 06 f0 de fc  af 42 e9 d1 bd e8 f0 81
    	d2 03 f1 d4 f8 e7 00 bf  3a 67 30 40 40 42 0f 00
    	08 b5 ff f7 f9 fe ff f7  31 ff bd e8 08 40 00 f0
    	5f bc 00 00 08 b5 01 f0  47 fb ff f7 d9 fe 01 46
    	0e 48 ff f7 45 ff 01 f0  bd fa 01 46 0c 48 ff f7
    	3f ff ff f7 d7 fe 01 46  0a 48 ff f7 39 ff bf f3
    	5f 8f 4f f4 40 72 08 4b  1b 68 da 67 01 f0 62 fa
    	bd e8 08 40 01 46 05 48  ff f7 2a bf d4 55 30 40
    	5c 58 30 40 c0 58 30 40  90 55 30 40 b8 56 30 40
    	03 4b 18 6c bf f3 5f 8f  c0 f3 81 50 70 47 00 bf
    	00 00 e1 44 03 68 bf f3  5f 8f 1b 0f 30 d0 d0 f8
    	fc 01 bf f3 5f 8f 09 23  c0 f3 01 42 d3 40 db 07
    	29 d4 41 f6 9f 73 c0 f3  0c 00 98 42 26 d0 b0 f5
    	fd 5f 0c da 41 f6 2f 43  98 42 22 d0 41 f6 2f 63
    	98 42 14 bf 4f f4 34 70  4f f4 48 70 70 47 41 f6
    	df 73 98 42 18 d0 41 f6  ef 73 98 42 14 d0 41 f6
    	af 73 98 42 14 bf 4f f4  34 70 4f f4 16 70 70 47
    	4f f4 34 70 70 47 4f f4  48 70 70 47 4f f4 16 70
    	70 47 4f f4 7a 70 70 47  4f f4 96 70 70 47 00 28
    	15 dd b1 f5 34 7f 14 d0  0b dc b1 f5 fa 7f 12 d0
    	b1 f5 16 7f 0f d0 b1 f5  96 7f 14 bf 38 20 2b 20
    	70 47 b1 f5 7a 7f 14 bf  38 20 3d 20 70 47 38 20
    	70 47 33 20 70 47 2b 20  70 47 00 00 70 b5 20 4c
    	c9 07 54 f8 20 50 bf f3  5f 8f 29 65 2b 6c bf f3
    	5f 8f 83 ea 13 22 83 ea  13 46 32 43 d2 b2 2a b9
    	de b2 1a 0e b6 eb 13 6f  08 bf 13 46 db 07 ea d4
    	41 f0 0a 02 bf f3 5f 8f  54 f8 20 30 1a 65 bf f3
    	5f 8f 56 22 1a 64 41 f0  01 02 bf f3 5f 8f 1a 65
    	bf f3 5f 8f 43 22 1a 64  41 f0 02 02 bf f3 5f 8f
    	1a 65 bf f3 5f 8f 02 22  41 f0 80 41 1a 64 11 43
    	bf f3 5f 8f 19 65 bf f3  5f 8f 1a 64 70 bd 00 bf
    	f4 58 30 40 70 b5 04 46  0e 46 bf f3 5f 8f 53 4a
    	52 f8 21 30 a0 21 99 63  bf f3 5f 8f d9 63 c1 6a
    	bf f3 5f 8f c3 f8 c8 10  01 6b bf f3 5f 8f c3 f8
    	cc 10 01 6d bf f3 5f 8f  c3 f8 d4 10 41 6d bf f3
    	5f 8f c3 f8 d8 10 81 6d  bf f3 5f 8f c3 f8 dc 10
    	c1 6d bf f3 5f 8f c3 f8  20 11 c1 6e 99 b1 01 6e
    	bf f3 5f 8f c3 f8 00 11  41 6e bf f3 5f 8f c3 f8
    	04 11 81 6e bf f3 5f 8f  c3 f8 08 11 c1 6e bf f3
    	5f 8f c3 f8 24 11 bf f3  5f 8f 42 f2 11 03 52 f8
    	26 50 2b 66 bf f3 5f 8f  42 f2 11 42 2a 66 bf f3
    	5f 8f 2b 66 2b 69 23 f0  00 43 2b 61 a3 68 bf f3
    	5f 8f ab 60 a2 68 bf f3  5f 8f 29 4b 4f f4 7a 70
    	1b 68 c3 f8 10 21 06 f0  f1 f8 23 69 bf f3 5f 8f
    	2b 61 23 69 bf f3 5f 8f  6b 61 a3 68 5b 0f 03 2b
    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 d2 c9 d4 b4
    	8b bc e4 92 87 1b 80 a1
    	ae 49 8a 89 91 e4 81 8b
    	9c 73 d0 34 dc 51 d7 d4
    	4a 12 29 ba bd 1a 73 2d
    	95 9c 71 9c c8 a2 ec e7
    	93 49 09 b0 9e f4 88 60
    	4a 25 4a 87 bd ae eb e6
    	79 86 37 1b 9f cc 9f 36
    	8e 01 0e 7d 57 3f df a8
    	14 e9 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => nand dump 0xc0000
    Page 000c0000 dump:
    	d0 0d fe ed 00 00 0e ac  00 00 00 38 00 00 0e 14
    	00 00 00 28 00 00 00 11  00 00 00 02 00 00 00 00
    	00 00 00 96 00 00 0d dc  00 00 00 00 00 00 00 00
    	00 00 00 00 00 00 00 00  00 00 00 01 00 00 00 00
    	00 00 00 03 00 00 00 04  00 00 00 70 65 73 53 1a
    	00 00 00 03 00 00 00 2a  00 00 00 64 46 69 72 6d
    	77 61 72 65 20 69 6d 61  67 65 20 77 69 74 68 20
    	6f 6e 65 20 6f 72 20 6d  6f 72 65 20 46 44 54 20
    	62 6c 6f 62 73 00 00 00  00 00 00 03 00 00 00 2f
    	00 00 00 5c 55 2d 42 6f  6f 74 20 6d 6b 69 6d 61
    	67 65 20 32 30 32 33 2e  30 34 2d 30 30 30 30 31
    	2d 67 61 36 62 30 39 63  33 61 34 63 2d 64 69 72
    	74 79 00 00 00 00 00 03  00 00 00 04 00 00 00 4d
    	00 00 00 01 00 00 00 01  69 6d 61 67 65 73 00 00
    	00 00 00 01 66 69 72 6d  77 61 72 65 2d 31 00 00
    	00 00 00 03 00 00 00 04  00 00 00 8c 00 09 1f 4c
    	00 00 00 03 00 00 00 04  00 00 00 80 00 00 00 00
    	00 00 00 03 00 00 00 38  00 00 00 64 55 2d 42 6f
    	6f 74 20 32 30 32 33 2e  30 34 2d 30 30 30 30 31
    	2d 67 61 36 62 30 39 63  33 61 34 63 2d 64 69 72
    	74 79 20 66 6f 72 20 61  6d 33 33 35 78 20 62 6f
    	61 72 64 00 00 00 00 03  00 00 00 09 00 00 00 48
    	66 69 72 6d 77 61 72 65  00 00 00 00 00 00 00 03
    	00 00 00 04 00 00 00 43  61 72 6d 00 00 00 00 03
    	00 00 00 07 00 00 00 40  75 2d 62 6f 6f 74 00 00
    	00 00 00 03 00 00 00 05  00 00 00 34 6e 6f 6e 65
    	00 00 00 00 00 00 00 03  00 00 00 04 00 00 00 2f
    	80 80 00 00 00 00 00 03  00 00 00 04 00 00 00 29
    	80 80 00 00 00 00 00 01  68 61 73 68 00 00 00 00
    	00 00 00 03 00 00 00 04  00 00 00 7a de 8b 92 75
    	00 00 00 03 00 00 00 06  00 00 00 1f 63 72 63 33
    	32 00 00 00 00 00 00 02  00 00 00 02 00 00 00 01
    	66 64 74 2d 31 00 00 00  00 00 00 03 00 00 00 04
    	00 00 00 8c 00 01 5f 10  00 00 00 03 00 00 00 04
    	00 00 00 80 00 09 1f 4c  00 00 00 03 00 00 00 0b
    	00 00 00 64 61 6d 33 33  35 78 2d 65 76 6d 00 00
    	00 00 00 03 00 00 00 08  00 00 00 48 66 6c 61 74
    	5f 64 74 00 00 00 00 03  00 00 00 04 00 00 00 43
    	61 72 6d 00 00 00 00 03  00 00 00 05 00 00 00 34
    	6e 6f 6e 65 00 00 00 00  00 00 00 01 68 61 73 68
    	00 00 00 00 00 00 00 03  00 00 00 04 00 00 00 7a
    	8d cd 06 47 00 00 00 03  00 00 00 06 00 00 00 1f
    	63 72 63 33 32 00 00 00  00 00 00 02 00 00 00 02
    	00 00 00 01 66 64 74 2d  32 00 00 00 00 00 00 03
    	00 00 00 04 00 00 00 8c  00 01 43 08 00 00 00 03
    	00 00 00 04 00 00 00 80  00 0a 7e 5c 00 00 00 03
    	00 00 00 0c 00 00 00 64  61 6d 33 33 35 78 2d 62
    	6f 6e 65 00 00 00 00 03  00 00 00 08 00 00 00 48
    	66 6c 61 74 5f 64 74 00  00 00 00 03 00 00 00 04
    	00 00 00 43 61 72 6d 00  00 00 00 03 00 00 00 05
    	00 00 00 34 6e 6f 6e 65  00 00 00 00 00 00 00 01
    	68 61 73 68 00 00 00 00  00 00 00 03 00 00 00 04
    	00 00 00 7a e7 ce 8d eb  00 00 00 03 00 00 00 06
    	00 00 00 1f 63 72 63 33  32 00 00 00 00 00 00 02
    	00 00 00 02 00 00 00 01  66 64 74 2d 33 00 00 00
    	00 00 00 03 00 00 00 04  00 00 00 8c 00 01 53 28
    	00 00 00 03 00 00 00 04  00 00 00 80 00 0b c1 64
    	00 00 00 03 00 00 00 14  00 00 00 64 61 6d 33 33
    	35 78 2d 73 61 6e 63 6c  6f 75 64 2d 62 62 65 00
    	00 00 00 03 00 00 00 08  00 00 00 48 66 6c 61 74
    	5f 64 74 00 00 00 00 03  00 00 00 04 00 00 00 43
    	61 72 6d 00 00 00 00 03  00 00 00 05 00 00 00 34
    	6e 6f 6e 65 00 00 00 00  00 00 00 01 68 61 73 68
    	00 00 00 00 00 00 00 03  00 00 00 04 00 00 00 7a
    	0e aa 4d d0 00 00 00 03  00 00 00 06 00 00 00 1f
    	63 72 63 33 32 00 00 00  00 00 00 02 00 00 00 02
    	00 00 00 01 66 64 74 2d  34 00 00 00 00 00 00 03
    	00 00 00 04 00 00 00 8c  00 01 47 a0 00 00 00 03
    	00 00 00 04 00 00 00 80  00 0d 14 8c 00 00 00 03
    	00 00 00 19 00 00 00 64  61 6d 33 33 35 78 2d 73
    	61 6e 63 6c 6f 75 64 2d  62 62 65 2d 6c 69 74 65
    	00 00 00 00 00 00 00 03  00 00 00 08 00 00 00 48
    	66 6c 61 74 5f 64 74 00  00 00 00 03 00 00 00 04
    	00 00 00 43 61 72 6d 00  00 00 00 03 00 00 00 05
    	00 00 00 34 6e 6f 6e 65  00 00 00 00 00 00 00 01
    	68 61 73 68 00 00 00 00  00 00 00 03 00 00 00 04
    	00 00 00 7a 1b 8a c8 dd  00 00 00 03 00 00 00 06
    	00 00 00 1f 63 72 63 33  32 00 00 00 00 00 00 02
    	00 00 00 02 00 00 00 01  66 64 74 2d 35 00 00 00
    	00 00 00 03 00 00 00 04  00 00 00 8c 00 01 4a 50
    	00 00 00 03 00 00 00 04  00 00 00 80 00 0e 5c 2c
    	00 00 00 03 00 00 00 22  00 00 00 64 61 6d 33 33
    	35 78 2d 73 61 6e 63 6c  6f 75 64 2d 62 62 65 2d
    	65 78 74 65 6e 64 65 64  2d 77 69 66 69 00 00 00
    	00 00 00 03 00 00 00 08  00 00 00 48 66 6c 61 74
    	5f 64 74 00 00 00 00 03  00 00 00 04 00 00 00 43
    	61 72 6d 00 00 00 00 03  00 00 00 05 00 00 00 34
    	6e 6f 6e 65 00 00 00 00  00 00 00 01 68 61 73 68
    	00 00 00 00 00 00 00 03  00 00 00 04 00 00 00 7a
    	3d 6e 40 21 00 00 00 03  00 00 00 06 00 00 00 1f
    	63 72 63 33 32 00 00 00  00 00 00 02 00 00 00 02
    	00 00 00 01 66 64 74 2d  36 00 00 00 00 00 00 03
    	00 00 00 04 00 00 00 8c  00 01 53 78 00 00 00 03
    	00 00 00 04 00 00 00 80  00 0f a6 7c 00 00 00 03
    	00 00 00 11 00 00 00 64  61 6d 33 33 35 78 2d 62
    	6f 6e 65 62 6c 61 63 6b  00 00 00 00 00 00 00 03
    	00 00 00 08 00 00 00 48  66 6c 61 74 5f 64 74 00
    	00 00 00 03 00 00 00 04  00 00 00 43 61 72 6d 00
    	00 00 00 03 00 00 00 05  00 00 00 34 6e 6f 6e 65
    	00 00 00 00 00 00 00 01  68 61 73 68 00 00 00 00
    	00 00 00 03 00 00 00 04  00 00 00 7a 2c ab 8b de
    	00 00 00 03 00 00 00 06  00 00 00 1f 63 72 63 33
    	32 00 00 00 00 00 00 02  00 00 00 02 00 00 00 01
    	66 64 74 2d 37 00 00 00  00 00 00 03 00 00 00 04
    	00 00 00 8c 00 01 5b 10  00 00 00 03 00 00 00 04
    	00 00 00 80 00 10 f9 f4  00 00 00 03 00 00 00 0d
    	00 00 00 64 61 6d 33 33  35 78 2d 65 76 6d 73 6b
    	00 00 00 00 00 00 00 03  00 00 00 08 00 00 00 48
    	66 6c 61 74 5f 64 74 00  00 00 00 03 00 00 00 04
    	00 00 00 43 61 72 6d 00  00 00 00 03 00 00 00 05
    	00 00 00 34 6e 6f 6e 65  00 00 00 00 00 00 00 01
    	68 61 73 68 00 00 00 00  00 00 00 03 00 00 00 04
    	00 00 00 7a 97 67 17 5e  00 00 00 03 00 00 00 06
    	00 00 00 1f 63 72 63 33  32 00 00 00 00 00 00 02
    	00 00 00 02 00 00 00 01  66 64 74 2d 38 00 00 00
    	00 00 00 03 00 00 00 04  00 00 00 8c 00 01 44 50
    	00 00 00 03 00 00 00 04  00 00 00 80 00 12 55 04
    	00 00 00 03 00 00 00 11  00 00 00 64 61 6d 33 33
    	35 78 2d 62 6f 6e 65 67  72 65 65 6e 00 00 00 00
    	00 00 00 03 00 00 00 08  00 00 00 48 66 6c 61 74
    	5f 64 74 00 00 00 00 03  00 00 00 04 00 00 00 43
    	61 72 6d 00 00 00 00 03  00 00 00 05 00 00 00 34
    	6e 6f 6e 65 00 00 00 00  00 00 00 01 68 61 73 68
    	00 00 00 00 00 00 00 03  00 00 00 04 00 00 00 7a
    	3e 7e 10 37 00 00 00 03  00 00 00 06 00 00 00 1f
    	63 72 63 33 32 00 00 00  00 00 00 02 00 00 00 02
    	00 00 00 01 66 64 74 2d  39 00 00 00 00 00 00 03
    	00 00 00 04 00 00 00 8c  00 01 4a 40 00 00 00 03
    OOB:
    	ff ff 40 9f 9c 93 e6 cd
    	b2 7f 1b 0f 0b 9f ee 10
    	df 18 22 eb ed 9c 0c 47
    	e2 53 24 9b 54 8e 38 ca
    	4d ec f7 47 92 c2 14 dc
    	e6 58 be 71 b5 6e 26 b0
    	8c f4 4f 36 fe 6e 0a da
    	65 08 fe f5 6f 86 8d ac
    	2a 5e 23 84 fe bc 6c 11
    	6b 80 6d f8 60 a1 b7 09
    	6f f8 92 58 64 c7 92 c9
    	df 92 52 54 8c 92 c6 e6
    	e3 a8 f0 ad 0d 33 84 97
    	a8 8b ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => md.l 0x44e10040 1
    44e10040: 00400397                             ..@.
    => 

    U-Boot SPL 2023.04-00001-ga6b09c3a4c-dirty (Dec 08 2023 - 11:31:54 -0600)
    Trying to boot from NAND
    
    
    U-Boot 2023.04-00001-ga6b09c3a4c-dirty (Dec 08 2023 - 11:31:54 -0600)
    
    CPU  : AM335X-GP rev 2.0
    Model: TI AM335x EVM
    DRAM:  1 GiB
    Core:  156 devices, 17 uclasses, devicetree: separate
    WDT:   Started wdt@44e35000 with servicing every 1000ms (60s timeout)
    NAND:  256 MiB
    MMC:   OMAP SD/MMC: 0
    Loading Environment from FAT... Unable to read "uboot.env" from mmc0:1... 
    <ethaddr> not set. Validating first E-fuse MAC
    Net:   eth2: ethernet@4a100000, eth3: usb_ether
    Hit any key to stop autoboot:  2  0 
    => mtdparts
    
    device nand0 <nand.0>, # parts = 10
     #: name		size		offset		mask_flags
     0: NAND.SPL            0x00020000	0x00000000	0
     1: NAND.SPL.backup1    0x00020000	0x00020000	0
     2: NAND.SPL.backup2    0x00020000	0x00040000	0
     3: NAND.SPL.backup3    0x00020000	0x00060000	0
     4: NAND.u-boot-spl-os  0x00040000	0x00080000	0
     5: NAND.u-boot         0x00100000	0x000c0000	0
     6: NAND.u-boot-env     0x00020000	0x001c0000	0
     7: NAND.u-boot-env.backup10x00020000	0x001e0000	0
     8: NAND.kernel         0x00800000	0x00200000	0
     9: NAND.file-system    0x0f600000	0x00a00000	0
    
    active partition: nand0,0 - (NAND.SPL) 0x00020000 @ 0x00000000
    
    defaults:
    mtdids  : nand0=nand.0
    mtdparts: mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),128k(NAND.SPL.backup2),128k(NAND.SPL.backup3),256k(NAND.u-boot-spl-os),1m(NAND.u-boot),128k(NAND.u-boot-env),128k(NAND.u-boot-env.backup1),8m(NAND.kernel),-(NAND.file-system)
    => nand info
    
    Device 0: nand0, sector size 128 KiB
      Page size         2048 b
      OOB size           128 b
      Erase size      131072 b
      ecc strength        16 bits
      ecc step size      512 b
      subpagesize        512 b
      options       0x0000400c
      bbt options   0x00008000
    => nand dump 0
    Page 00000000 dump:
    	40 00 00 00 0c 00 00 00  00 00 00 00 00 00 00 00
    	00 00 00 00 43 48 53 45  54 54 49 4e 47 53 00 00
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff  ff ff ff ff ff ff ff ff
    	c1 c0 c0 c0 00 01 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 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 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 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 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
    	d0 ad 01 00 00 04 2f 40  0f 00 00 ea 14 f0 9f e5
    	14 f0 9f e5 14 f0 9f e5  14 f0 9f e5 14 f0 9f e5
    	14 f0 9f e5 14 f0 9f e5  40 04 2f 40 40 04 2f 40
    	40 04 2f 40 40 04 2f 40  40 04 2f 40 40 04 2f 40
    	40 04 2f 40 ef be ad de  fe ff ff ea 32 03 00 ea
    	00 00 0f e1 1f 10 00 e2  1a 00 31 e3 1f 00 c0 13
    	13 00 80 13 c0 00 80 e3  00 f0 29 e1 10 0f 11 ee
    	02 0a c0 e3 10 0f 01 ee  98 00 9f e5 10 0f 0c ee
    	06 00 00 eb 22 00 00 eb  23 04 00 eb 15 0f 07 ee
    	9a 0f 07 ee 95 0f 07 ee  1e ff 2f e1 eb ff ff ea
    	00 00 a0 e3 17 0f 08 ee  15 0f 07 ee d5 0f 07 ee
    	9a 0f 07 ee 95 0f 07 ee  10 0f 11 ee 02 0a c0 e3
    	07 00 c0 e3 02 00 80 e3  02 0b 80 e3 01 0a 80 e3
    	10 0f 01 ee 0e 50 a0 e1  10 1f 10 ee 21 3a a0 e1
    	0f 30 03 e2 0f 40 01 e2  03 22 a0 e1 02 20 84 e1
    	24 00 9f e5 07 00 c0 e3  00 d0 a0 e1 30 0f 11 ee
    	40 00 80 e3 3e 00 2d e9  f1 03 00 fa 3e 00 bd e8
    	05 f0 a0 e1 f9 03 00 ea  00 04 2f 40 00 ff 30 40
    	08 b5 00 f0 4d f9 02 4b  03 eb 00 10 08 bd 00 bf
    	94 55 30 40 08 b5 00 f0  43 f9 02 4b 03 eb 00 10
    	08 bd 00 bf 80 58 30 40  1b 4b d3 f8 00 24 22 f0
    	03 02 42 f0 02 02 c3 f8  00 24 d3 f8 1c 21 22 f0
    	03 02 42 f0 02 02 c3 f8  1c 21 d3 f8 b4 24 22 f0
    	03 02 42 f0 02 02 c3 f8  b4 24 da 6e 22 f0 03 02
    	42 f0 02 02 da 66 1a 6f  22 f0 03 02 42 f0 02 02
    	1a 67 5a 6f 22 f0 03 02  42 f0 02 02 5a 67 9a 6f
    	22 f0 03 02 42 f0 02 02  9a 67 9a 6b 22 f0 03 02
    	42 f0 02 02 9a 63 70 47  00 00 e0 44 70 b5 0e 4e
    	a2 b0 6c 46 35 46 0f cd  0f c4 95 e8 0f 00 84 e8
    	0f 00 06 f1 20 01 68 22  08 a8 01 f0 55 f8 01 22
    	68 46 08 a9 00 f0 7c f8  bf f3 5f 8f 01 22 03 4b
    	c3 f8 08 25 22 b0 70 bd  08 55 30 40 00 00 e0 44
    	70 b5 04 46 0d 46 00 29  5e d0 c3 68 1e 68 bf f3
    	5f 8f 02 68 00 21 13 68  23 f0 07 03 43 f0 04 03
    	13 60 42 68 29 4b 01 20  00 f0 5a ff 18 b9 21 68
    	27 48 06 f0 5f fd 2b 68  26 4a 02 ea 03 22 26 4b
    	33 40 1a 43 6b 68 03 f0  7f 03 13 43 bf f3 5f 8f
    	e2 68 13 60 95 f9 08 30  00 2b 03 db bf f3 5f 8f
    	22 69 13 60 95 f9 09 30  00 2b 03 db bf f3 5f 8f
    	62 69 13 60 95 f9 0a 30  00 2b 03 db bf f3 5f 8f
    	a2 69 13 60 95 f9 0b 30  00 2b 03 db bf f3 5f 8f
    	e2 69 13 60 95 f9 0c 30  00 2b 03 db bf f3 5f 8f
    	22 6a 13 60 01 21 22 68  08 46 13 68 43 f0 07 03
    	13 60 62 68 05 4b 00 f0  13 ff 28 b9 21 68 07 48
    	06 f0 18 fd 05 f0 ec fb  70 bd 00 bf 40 42 0f 00
    	00 67 30 40 00 ff 07 00  80 00 f8 ff 1c 67 30 40
    	2d e9 f0 41 16 46 0c 46  00 f5 c6 75 01 1f 50 b1
    	51 f8 04 2f 3a b1 13 68  8d 42 23 f0 03 03 43 f0
    	02 03 13 60 f3 d1 df f8  40 80 25 1f 04 f5 c6 77
    	a4 b1 55 f8 04 1f 89 b1  0b 68 23 f0 03 03 43 f0
    	02 03 0b 60 46 b1 09 4b  0a 68 bf f3 5f 8f 01 3b
    	06 d1 40 46 06 f0 de fc  af 42 e9 d1 bd e8 f0 81
    	d2 03 f1 d4 f8 e7 00 bf  3a 67 30 40 40 42 0f 00
    	08 b5 ff f7 f9 fe ff f7  31 ff bd e8 08 40 00 f0
    	5f bc 00 00 08 b5 01 f0  47 fb ff f7 d9 fe 01 46
    	0e 48 ff f7 45 ff 01 f0  bd fa 01 46 0c 48 ff f7
    	3f ff ff f7 d7 fe 01 46  0a 48 ff f7 39 ff bf f3
    	5f 8f 4f f4 40 72 08 4b  1b 68 da 67 01 f0 62 fa
    	bd e8 08 40 01 46 05 48  ff f7 2a bf d4 55 30 40
    	5c 58 30 40 c0 58 30 40  90 55 30 40 b8 56 30 40
    	03 4b 18 6c bf f3 5f 8f  c0 f3 81 50 70 47 00 bf
    	00 00 e1 44 03 68 bf f3  5f 8f 1b 0f 30 d0 d0 f8
    	fc 01 bf f3 5f 8f 09 23  c0 f3 01 42 d3 40 db 07
    	29 d4 41 f6 9f 73 c0 f3  0c 00 98 42 26 d0 b0 f5
    	fd 5f 0c da 41 f6 2f 43  98 42 22 d0 41 f6 2f 63
    	98 42 14 bf 4f f4 34 70  4f f4 48 70 70 47 41 f6
    	df 73 98 42 18 d0 41 f6  ef 73 98 42 14 d0 41 f6
    	af 73 98 42 14 bf 4f f4  34 70 4f f4 16 70 70 47
    	4f f4 34 70 70 47 4f f4  48 70 70 47 4f f4 16 70
    	70 47 4f f4 7a 70 70 47  4f f4 96 70 70 47 00 28
    	15 dd b1 f5 34 7f 14 d0  0b dc b1 f5 fa 7f 12 d0
    	b1 f5 16 7f 0f d0 b1 f5  96 7f 14 bf 38 20 2b 20
    	70 47 b1 f5 7a 7f 14 bf  38 20 3d 20 70 47 38 20
    	70 47 33 20 70 47 2b 20  70 47 00 00 70 b5 20 4c
    	c9 07 54 f8 20 50 bf f3  5f 8f 29 65 2b 6c bf f3
    	5f 8f 83 ea 13 22 83 ea  13 46 32 43 d2 b2 2a b9
    	de b2 1a 0e b6 eb 13 6f  08 bf 13 46 db 07 ea d4
    	41 f0 0a 02 bf f3 5f 8f  54 f8 20 30 1a 65 bf f3
    	5f 8f 56 22 1a 64 41 f0  01 02 bf f3 5f 8f 1a 65
    	bf f3 5f 8f 43 22 1a 64  41 f0 02 02 bf f3 5f 8f
    	1a 65 bf f3 5f 8f 02 22  41 f0 80 41 1a 64 11 43
    	bf f3 5f 8f 19 65 bf f3  5f 8f 1a 64 70 bd 00 bf
    	f4 58 30 40 70 b5 04 46  0e 46 bf f3 5f 8f 53 4a
    	52 f8 21 30 a0 21 99 63  bf f3 5f 8f d9 63 c1 6a
    	bf f3 5f 8f c3 f8 c8 10  01 6b bf f3 5f 8f c3 f8
    	cc 10 01 6d bf f3 5f 8f  c3 f8 d4 10 41 6d bf f3
    	5f 8f c3 f8 d8 10 81 6d  bf f3 5f 8f c3 f8 dc 10
    	c1 6d bf f3 5f 8f c3 f8  20 11 c1 6e 99 b1 01 6e
    	bf f3 5f 8f c3 f8 00 11  41 6e bf f3 5f 8f c3 f8
    	04 11 81 6e bf f3 5f 8f  c3 f8 08 11 c1 6e bf f3
    	5f 8f c3 f8 24 11 bf f3  5f 8f 42 f2 11 03 52 f8
    	26 50 2b 66 bf f3 5f 8f  42 f2 11 42 2a 66 bf f3
    	5f 8f 2b 66 2b 69 23 f0  00 43 2b 61 a3 68 bf f3
    	5f 8f ab 60 a2 68 bf f3  5f 8f 29 4b 4f f4 7a 70
    	1b 68 c3 f8 10 21 06 f0  f1 f8 23 69 bf f3 5f 8f
    	2b 61 23 69 bf f3 5f 8f  6b 61 a3 68 5b 0f 03 2b
    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 d2 c9 d4 b4
    	8b bc e4 92 87 1b 80 a1
    	ae 49 8a 89 91 e4 81 8b
    	9c 73 d0 34 dc 51 d7 d4
    	4a 12 29 ba bd 1a 73 2d
    	95 9c 71 9c c8 a2 ec e7
    	93 49 09 b0 9e f4 88 60
    	4a 25 4a 87 bd ae eb e6
    	79 86 37 1b 9f cc 9f 36
    	8e 01 0e 7d 57 3f df a8
    	14 e9 ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    	ff ff ff ff ff ff ff ff
    => md.l 0x44e10040 1
    44e10040: 00400394                             ..@.
    =>

  • Hi Hong Guan,

    This worked!! i am now able to boot till the linux terminal from NAND..
    THANKS!!

    But i am seeing one small issue: it is throwing a lot of ecc errors while loading kernel; but it will eventually load the kernel (confused)

    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    omap-elm: uncorrectable ECC errors
    NAND read from offset 200000 failed -74
     0 bytes read: ERROR
    Kernel image @ 0x82000000 [ 0x000000 - 0x478200 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
    Working FDT set to 88000000
       Loading Device Tree to 8ffee000, end 8ffff72f ... OK
    Working FDT set to 8ffee000
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 5.4.106-g023faefa70 (karthik@PC-BANG-CNQG1J3) (gcc version 11.3.1 20220712 (Arm GNU Toolchain 11.3.Rel1)) #1 PREEMPT Thu Jun 27 20:21:20 IST 2024
    [    0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] OF: fdt: Machine model: TI AM335x Treb FP
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] efi: Getting EFI parameters from FDT:
    [    0.000000] efi: UEFI not found.
    [    0.000000] cma: Reserved 48 MiB at 0x9c800000
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM335X ES2.1 (neon)
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 129666
    [    0.000000] Kernel command line: console=ttyO0,115200n8 earlyprintk root=ubi0:rootfs rw ubi.mtd=NAND.file-system,2048 rootfstype=ubifs rootwait


    and mainly it is adding delay to the boot-up time it is more than 2 mins

  • It is good to know booting u-boot from NAND works on your board now.
    How did you flash kernel/rootfs to NAND?
    Best,
    -Hong

  • Hi Hong Guan,
    We now have two uboot images, one which writes in BCH8 and another BCH16


    As of now i am writing the rootfs and kernel partitions in BCH8 Uboot img
    and the reset of the partitions are written using bch16 uboot.img

    I tried writing and booting on both the uboot images; the kernel nand load throws the "omap-elm: uncorrectable ECC errors"

    How do we solve this? this is adding delay to the boot-up. shall I just comment-out the code in uboot that is doing ecc error correction/ atleast the error message prints?

  • I'd recommend flashing kernel/root_fs to NAND using the u-boot build with BCH16 support enabled.
    Best,
    -Hong