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.

uboot for DM644x

Other Parts Discussed in Thread: OMAP-L137

Hi all, 

I'm running into this issue when I'm trying to rebuild a uboot image with a newer version of uboot source code. I found this webpage by ti:

http://www.ti.com.cn/cn/lit/ug/sprufg0/sprufg0.pdf

Section 2.2 U-Boot 1.2.0 says: 

3. For DM6446, the default configuration is to build for NOR boot mode. Follow the steps below to build a
new u-boot 1.2.0 binary for NOR boot mode:
cd u-boot-1.2.0
make distclean
make davinci_config
make

I downloaded the 1.2.0 uboot source from the following website, which I think should be the official one:

http://ftp.denx.de/pub/u-boot/

However, the one I downloaded doesn't even support the davinci config, since under it's include/configs/, there's no davinci.h file! However, I downloaded another 1.2.0 from this website:

http://sourceforge.net/projects/precor/?source=dlp

This one does have that file. 

So 1. I'm confused of which version is the real 1.2.0 that TI "LSP 1.20 DaVinci Linux EVM Installation- User's Guide" document is talking about. Could you please give a specific location of the sources? 2. My reason of rebuilding the uboot is because that I changed my flash part.  Do I have to specify any other stuff to fit to my flash part before compiling? 3. Is 1.2.0 the highest version that I can use to build uboot for dm644x? If I would like to use higher version, is there any document that I can refer to customize the uboot source?


Thank you so much in advance. Please help me with any suggestions!!

  • No experience with the DM644x processors. Gone through much the same pain with the OMAP-L137 though. Some possible notes.

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_2_00/latest/index_FDS.html
    DVSDK 2.00.00.22
    Pre-built versions of U-Boot 1.2.0. This one probably came with the EVM. There does not appear to be a GIT repository for this version. Not at Arago. The source should be in the DVSDK package.

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/dvsdk/DVSDK_3_10/latest/index_FDS.html
    DVSDK 3.10.00.19
    Pre-built versions of U-Boot 2009-03. This one officially supports the DM646x but probably also supports the DM644x. The GIT is at Arago:
    http://arago-project.org/git/projects/?p=u-boot-davinci.git;a=shortlog;h=refs/heads/u-boot-davinci-2009.06

    http://arago-project.org/git/projects/?p=u-boot-davinci.git;a=tree
    Latest TI version based on U-boot 2012-04-01. Possible support for DM644x via
    include/configs/davinci_dvevm.h
    Many earlier versions there as well. The problem is that code specifically for the DM644x may no longer build as changes are made for newer processors.

    http://git.denx.de/?p=u-boot.git;a=tree
    Latest mainline version, 2013-04-rc2. Appears the most of the TI changes have made it to the mainline. Possible support for DM644x via same file.
    include/configs/davinci_dvevm.h
    Same problem is that code specifically for the DM644x may no longer build as changes are made for newer processors. In your other forum thread, I was under the impression you successfully buily this version.

    EDIT: Oops. Wrong URL for Arago U-Boot. Fixed.

  • Hi Norman, 

    Thanks for helping with this again. Yes I was able to build. However, when I load that into my board, it didn't really work. Look here to see what are the errors if you are curious:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/99/t/257518.aspx

    I'm really not sure what's going on. I'll be very appreciated if there're any suggestions.