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 u-boot - customisation for own board

Other Parts Discussed in Thread: OMAPL138, OMAP-L138

Hello.

I have own board on base of omapl138 processor.

It has the next hardware configuration:

DDR2 (not mDDR)

NAND 8 (not nand 16)

USB 2.0

I've tried to create own u-boot (without UBL) by rebuilding u-boot section in SDK under VM on base LCDK SDK . Next it was wrapped by AISGEN (DDR2, NAND8) -> so I get in result ais-u-boot.bin. After flashing ais-u-boot to the nand it was started. But any attempts to use saveenv was wrong. I suppose, that at u-boot code nand width remained 16 bits. Maybe I was faced with another problem. I do the same with SDK on base da850, but u-boot does not start up. I suppose, that SDRAM remain mDDR, but not DDR2.

Please tell me how to configure the u-boot for my own board.

  Thanks

    Alex.

  • I've found the same problem (look only the lastest message of the post)

    http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/147681.aspx

    Author has NAND memory with 8 bits too, so and the simptoms the same - not work saveenv.

      Alex

  • Hi Alex,

    Do you have "da850sdi.h" config file in your u-boot source code?

    If it so, Can you please try "da850sdi_config" for u-boot building?

    or else, rename this config as you like & compile;

    PFA of modified "da850sdi.h"  for NAND flash,

    4666.da850sdi.h

    Compilation Procedure

    As you aware,

    1) make distclean ARCH=arm CROSS_COMPILE=arm-eabi-

    2) make clean ARCH=arm CROSS_COMPILE=arm-eabi-

    3) make da850sdi_config ARCH=arm CROSS_COMPILE=arm-eabi-

    4) make u-boot.ais ARCH=arm CROSS_COMPILE=arm-eabi-   (To make u-boot with AIS format)

    You can use u-boot.ais file directly to flash into NAND flash,

    mono ./sfh_OMAP-L138.exe -flash_noubl u-boot.ais  -flashType NAND -targetType OMAPL138_LCDK (On Linux & remove mono for Windows PC)

    If not applicable ,replace OMAPL138_LCDK  & Use appropriate board name instead ,

    Plz try and let me know,

    But any attempts to use saveenv was wrong.

    What are you error msg facing while issuing saveenv command ? paste it

  •   Hello, Titus Rathinaraj Stalin.

    You help me very much, thank you.