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-L137 NOR Boot

Other Parts Discussed in Thread: OMAP-L137

Hi all,

 

I need urgent help regarding OMAP-L137 NOR Boot,

does anybody know how to build bootloader for NOR Flash(16 bit) and 

how to flash that binary file to the NOR device.

Please let me if there are any  tools ment for flashing a NOR Device.

 

Thankyou in advance.

  • DSP only part

    Please see sections 3.1 and 3.1.3 of the document Using the D800K001 Bootloader.

    Basically, the DSP will know to use the NOR flash boot according to the boot pins. See appendix A of document above. Once you have your .ais file, you need to burn it to the NOR flash. The first word of the NOR flash will tell the method, that in your case you want to use the AIS NOR boot.

    Please see page 4 of the document above:

    With a total of 15 address lines (EMA_A[12:0] and EMA_BA[1:0]) of EMIFA, only 32 KB of NOR Flash can be accessed by the bootloader. If boot image is longer than this, a secondary bootloader is required that can access more data from NOR Flash by managing higher address lines of NOR Flash using general-purpose input/output (GPIO) pins or some other mechanism.

    So if your application has more than 32KB, you would need to make a secondary bootloader that has less than 32KB to configure the EMIF + GPIOs to be able to load the full application.

     

    ARM + DSP part

    If you want to use Linux, please be aware that the dspubl and armubl we provide do not support NOR Flash. They just support NAND flash and spi flash. So you would need to edit the source codes to make them able to handle NOR flash – but we do not support that change. The source code for them is at (if you followed the default path in the GSG):

    \home\user\OMAPL137_arm_1_00_00_10\REL_LSP_02_20_00_07\PSP_02_20_00_07\board_utilities\dspubl

    \home\user\OMAPL137_arm_1_00_00_10\REL_LSP_02_20_00_07\PSP_02_20_00_07\board_utilities\armubl

    In this case, the document Using the D800K001 Bootloader would apply for the dspubl (that is actually a little DSP ais that wakes up the arm). For mode than 32KB, you would need to use the GPIOs to control the NOR memory. But again, we do not have an example of that.

    I would recommend using NAND or SPI Flash as they are supported.