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.

omapl137 nand bootloader

Other Parts Discussed in Thread: OMAP-L137

    As the EVMl137 use the SPI boot ,I  am going to design a nand bootloader in my application.How to design a nand ubl and start  my L137 board with a 512MB NAND? Any dedicated documents describe the all necessary details for this?

     Thanks!

  •  Any suggestions or supports on NAND  flash based DSP-ubl,ARM-ubl and Uboot?  Just  similar to SPI-FLASH based solution,nand flash writer and the UBLs. 

  • Hi Levone,

    The source code for the arm ubl and the dsp ubl are at the directories:

    \home\user\OMAPL137_arm_1_00_00_07\REL_LSP_02_20_00_05\PSP_02_20_00_05\board_utilities\armubl 

    and

    \home\user\OMAPL137_arm_1_00_00_07\REL_LSP_02_20_00_05\PSP_02_20_00_05\board_utilities\dspubl 

    if you install according to the GSG.

    There you can see the code and what it supports. For now, there is just code for the memory that is in the EVM - the EVM just has a spi flash. You can download the BML that has the flash memory used here:

    http://support.spectrumdigital.com/boards/evmomapl137/revd/

    There are plans to have a daughter card to the EVM that contains a NAND flash (and the code for it), but we do not have a time line yet.

     

     

     

  • mariana,

                    So as you mentioned,the provided dspubl and armubl and the flash-writer is just for spi-flash based application?

                  And if I implement a nand flash via emifa, how can I get or DIY the corresponding components(dspubl,armubl,uboot or any needed) and how to locate them exactly and properly? 

     

  • Levone said:
    So as you mentioned,the provided dspubl and armubl and the flash-writer is just for spi-flash based application?

    Yes for the dspubl and armubl. There is a spi flash writer and a NAND writer as well.

    Levone said:
    And if I implement a nand flash via emifa, how can I get or DIY the corresponding components(dspubl,armubl,uboot or any needed) and how to locate them exactly and properly? 

    You can edit the source code.

    As the EVM does not have a NAND flash (it has a serial spi flash) the arm ubl code and the dsp ubl for NAND flash are not there yet. If and when the daughter card (with NAND flash) for the EVM comes, there will probably going to be code for NAND boot. If you want to edit the existing code to work with NAND flash, it is in the directories that I mentioned in my last post:

    \home\user\OMAPL137_arm_1_00_00_07\REL_LSP_02_20_00_05\PSP_02_20_00_05\board_utilities\dspubl

    \home\user\OMAPL137_arm_1_00_00_07\REL_LSP_02_20_00_05\PSP_02_20_00_05\board_utilities\armubl

    There is already a NAND writer, and the source code is at the directory:

    \home\user\OMAPL137_arm_1_00_00_07REL_LSP_02_20_00_05\PSP_02_20_00_05\board_utilities\flash_writers\spi_flash_writer

  • Levone,

    I just got the information that there will be code for NAND ubl boot in the GA Release:

    http://focus.ti.com/dsp/docs/dspcontent.tsp?contentId=51127

    Predicted for end of April or May.

    So you won't have to DIY.

  • Hi

       Is it possible to load bootloader on OMAP-L137 without using JTAG??

       if yes can you suggest me how to make it up...

     

      Tried with below steps.. but it does not boots.. still getting BOOTME

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

     

     

    Regards

    Atul Kumar

     

     

  • Atul Kumar said:

      Tried with below steps.. but it does not boots.. still getting BOOTME

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

    The utility you mention is the way you would typically flash a board without using JTAG, if you are still getting a BOOTME message than you may want to check your boot mode settings. Assuming you are using the EVM you will want to change the boot mode to boot out of the device you just flashed, likely SPI0 (SW2: 010100), so it boots the new image and does not try to boot over the UART.

  • thanx for the help Bernie.

        Can you tell me what setting has to be kept before burning and after burning the u-boot image. As you said not to try to boot over the UART,what other method we can do,

    because i have minicom connected with UART serial port only.

     

    Regards

    Atul kumar

  • Atul Kumar said:
    Can you tell me what setting has to be kept before burning and after burning the u-boot image.

    To burn the image using the UART boot tool the board needs to be in UART boot mode, in the case of the EVM this would be SW2 set to 101000.

    After finishing the UART boot tool the boot mode should be changed to the device you just flashed, in the case of the EVM this would normally be the SPI flash on SPI0, so you would set the boot mode switch SW2 to 010100.

    Atul Kumar said:

    As you said not to try to boot over the UART,what other method we can do,

    because i have minicom connected with UART serial port only.

    You only want to have the board set to UART boot mode if you have something connected to the UART which will serve out a boot loader image to run, such as in the case of the UART flashing tool, once your board has been flashed than if you leave it in the UART boot mode it will expect a boot loader image to be loaded over the UART still, so it will wait and not boot off of the newly flashed image. Even though you would switch the boot mode to SPI0, the UART will still be usable and you should see output on your minicom terminal from the boot loader on the SPI0 flash device.