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.

OMAPL138 boot with UBL "No magic number found"

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

Hi,

I want to use ubl copy the U-Boot in OMAPL138.

I only change the DDR2 parameters in OMAP-L138_FlashAndBootUtils_2_40 and compile.

But when I download the sft_OMAPL138_SPI_MEM.bin into SPI Flash.

The UART print as follow:

OMAP-L138 initialization passed!
Booting TI User Boot Loader
        UBL Version: 1.65
        UBL Flashtype: SPI
Starting SPI Memory Copy...
No magic number found.
Looking for: 0x55424CBB, but read 0x41504954.
SPI Memory Boot failed.

I don't know much about the UBL and what is magic number ,someone help me?

  • HI,

    What are your trying to do?

    Are your trying to boot linux on OMAPL138 board ?

    You can boot the board through AIS signed u-boot directly from SPI flash (no need UBL).

    Is this your TI EVM board or custom board ?

  • Thanks for your advice!

    Yes,I want to use UBL and Uboot to boot Linux on OMAPL138 board.

    I am trying to use AISgen tools to generate AIS signed Uboot and I also have some questions.

    1、 Because I don't use UBL this time.Should I flash the AIS signed uboot into SPI_MEM address 0?And this means I must change the SPI-Writer(ccs project) about the adress?

    2、When generate AIS signed Uboot.It needs entrypoint address.Now I just use 0xC1080000.But I dont know the address exactly mean.Is it the execute address in RAM?

    I use custom board.

    Thanks!

  • Hi Tong,

    1、 Because I don't use UBL this time.Should I flash the AIS signed uboot into SPI_MEM address 0?And this means I must change the SPI-Writer(ccs project) about the adress?

    It depends on your SPI writer versions (it may support UBL & u-boot )

    We have SFH tool for flashing u-boot images into SPI flash.

    http://processors.wiki.ti.com/index.php/Serial_Boot_and_Flash_Loading_Utility_for_OMAP-L138

    2、When generate AIS signed Uboot.It needs entrypoint address.Now I just use 0xC1080000.But I dont know the address exactly mean.Is it the execute address in RAM?

    Yes.