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.

Build UBL for AM1808

Expert 2280 points
Other Parts Discussed in Thread: AM1808, OMAPL138, OMAP-L138

Hi

I'm trying to build an UBL for ZOOM AM1808 Experimenter Kit from LogicPD.

The on-board SPI flash has an UBL that loads U-boot from SD/MMC but the suggested Sitara SDK 4.01 does not include any pre-built UBL nor source code.
So I've looked for a DaVinci PSP, but Sitara SDK 4.01 Release Notes do not say which is the one used.
By the way 4.01 includes a Kernel 3.20.0.14 but an Uboot 3.20.0.13, so I've dowloaded both the PSPs.
The PSPs have several pre-built UBL but only for am17xx, omapl1x7 or omapl1x8: can I use any of them for AM1808 or I need to rebuild from src?

I've also downloaded the most recent PSP 3.21.0.4 (referred by latest Sitara SDK 5.02), but UBL source code (src/boot-strap/armubl-xx.xx.xx.xx.tar.gz) is missing. This is clear in AM180x-PSP 03.21.00.04 User's Guide but that guide continues to refer to ARM User Boot Loader : so where to get latest armubl-03.21.00.04.tar.gz?

Finally I've tryed to use Serial Flash Tool and other tools that require mono environment to be used in Linux host.
TI documentation recommends Ubuntu LTS 10.04, but mono that comes with this distribution is not enough to make SFT and others to work.
Neither mono package included in 10.10 works.
Do you suggest to build mono from latest source code?

I suppose some more info about those topics would be appreciated in the wiki.

Thanks in advance for any help and clarification.

Regards, Max.

(By the way: why is it called DaVinci PSP if it's used also for Sitara and OMAP-L1x processors?)

 

 

  • Hi,

    Qmax said:

    The PSPs have several pre-built UBL but only for am17xx, omapl1x7 or omapl1x8: can I use any of them for AM1808 or I need to rebuild from src?

    Yes, you can use the binaries for omap-l1x8 on am1808.

    Qmax said:

    so where to get latest armubl-03.21.00.04.tar.gz?

    There was a problem with the documentation. The UBL package is called flash-utils in 03.21.00.04 release. I have updated the documentation.

    Qmax said:

    Do you suggest to build mono from latest source code?

    Yes, you can do this. You'll get steps to do it from the www.

    Regards, Sudhakar

  • Sudhakar Rajashekhara said:

    The PSPs have several pre-built UBL but only for am17xx, omapl1x7 or omapl1x8: can I use any of them for AM1808 or I need to rebuild from src?

    Yes, you can use the binaries for omap-l1x8 on am1808.

    [/quote]

    It does not work: I've tried to use DaVinci-PSP-SDK-03.21.00.04/images/boot-strap/serial_flash/omapl1x8/ubl_OMAPL138_SPI_MEM.bin on AM1808 board but it does not boot.

    Instead using ubl_OMAPL138_SPI_MEM.bin or ubl_AM1808_SPI_MEM.bin from OMAP-L138_FlashAndBootUtils_2_35/OMAP-L138/GNU/ubl/ it boots.
    By the way ubl_AM1808 sets the clock to 456 MHz instead of expected 300 MHz... (see note on documentation wiki).

    Still I do not understand why there are two different packages, the flash-utils-03.21.00.04 and the OMAP-L138_FlashAndBootUtils_2_35, which are expected to be use to do the same things in my poor understanding. When do I have to use one or the other? Which is the most up-to-date? Neither the documentation is clear about this point. Confusion...

    Regards, Max

  • Qmax said:

    Still I do not understand why there are two different packages, the flash-utils-03.21.00.04 and the OMAP-L138_FlashAndBootUtils_2_35, which are expected to be use to do the same things in my poor understanding. When do I have to use one or the other? Which is the most up-to-date? Neither the documentation is clear about this point. Confusion...

    I think you can get the most up-to-date one from http://dvflashutils.sourceforge.net/. I had the same problem with mono on Ubuntu, I could not run the binaries files from the package. After rebuilding the binaries with mono on Ubuntu they worked like a charm.

    Regards, Christian