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.

OMAP-L138 fail to boot over NAND on previous working board

Other Parts Discussed in Thread: OMAP-L138

Hi,

I have a custom board that use an OMAP-L138 that uses a NAND to store all the data.

I am facing a problem of a card that don't boot,  appearing to have some type of corruption on NAND, the board previously booted ok.

I am trying to find a way to dump the contents of the nand to compare with the data saved.

How I can use slh to load a u-boot image to memory (I am using DDR2 on board) and start it?

I have tried to follow this answer  [1] but don't quite understand the changes that I need to make. As it is don't  work.

I have crossed with a doc [2] that have an Advisory 2.3.24 that can be the problem that I am facing. How can I confirm that? Is there any tool to help on this matter.

Thanks for the time

[1] - https://e2e.ti.com/support/dsp/omap_applications_processors/f/42/p/151906/552578#552578

[2] - www.ti.com/lit/pdf/sprz305

Regards,
Aníbal

  • Dear Aníbal,
    Able to boot your board through SD/MMC boot mode ?
    If yes, we can boot u-boot from MMC then we can dump the NAND data.
  • Hi Anibal,

    Anibal says said:
    How I can use slh to load a u-boot image to memory (I am using DDR2 on board) and start it?

    To check whether the board is OK,

    You can use CCS and load the ( non-OS ) Bootloader and run it on target board. If this works, then as a next step, use NAND writer project and try to erase the NAND completely and then load the u-boot.

    And also please visit on the following WIKI which explains how to restore the u-boot:-

  • Hi Titus S.,

    I will follow your idea, the board has made with the option to boot from spi flash (like the logic EVM) but don't have the components (will need some time to get them) , I will try to boot from it to save the nand content.

    Hi Shankari,

    for now I will make the backup the nand after that I will follow your instructions.

    Thanks to both and I will update when have more info.

    Regards,
    Aníbal
  • Dear Aníbal,


    I will follow your idea, the board has made with the option to boot from spi flash (like the logic EVM) but don't have the components (will need some time to get them) , I will try to boot from it to save the nand content.

    Then you can flash the u-boot into SPI flash then dump the NAND data.

    1) You can also try to run the board via UART boot.
    Ex:
    ./slh_OMAP-L138.exe -waitForDevice u-boot-uart.ais -P COM1

    I have not tried this step as it requires separate u-boot binary for UART boot.

    2) As Shankari said, connect the board with CCS and you can try to dump the NAND flash contents using NAND CS physical address (but you can dump only 32MiB if single CS used)