Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

X-loader debug for pandaboard

Dear TI Engineer,

I already compile SD card,

and I insert SD card into pandaboard.

I saw minicom give me some message.

But pandaboard doesn't work

I guess that I have some problem when I compiled X-Loader.

How to see X-loader's source code?

I want to trace source code to find "starting OS Bootloader from MMC/SD1 ...".

THX 

  • Hello Yuan,

    The x-loader is a small first stage bootloader derived from the u-boot base code. It is loaded into the internal static RAM by the OMAP ROM code. Due to the small size of the internal static RAM, the x-loader is stripped down to the essentials. The x-loader configures the pin muxing, clocks, DDR, and serial console, so that it can access and load the second stage bootloader (u-boot) into the DDR.

    Based on the information in your picture, your problem is not in X-loader. Your problem is at U-boot stage.

    Which U-boot do you use in your project?

    To obtain X-loader Sources follow:

    cd ${YOUR_PATH}

    git clone git://git.omapzoom.org/repo/x-loader.git x-loader

    cd x-loader

    git checkout dd88047040dce4a926a6ab80e207bc757f44d648

    http://www.omappedia.com/wiki/4AJ.2.5P2_OMAP4_Jelly_Bean_Release_Notes

    I want to trace source code to find "starting OS Bootloader from MMC/SD1 ...".

    You must set only sysboot configuration switches on your board. It is not needed to modify bootloader source.

    See at page 21 in OMAP4460 Pandaboard ES System Reference Manual

    If there is no u-boot on your board's eMMC, you will have to boot using SD card. Copy u-boot.bin and MLO files to an SD card (bootpartition) and then boot the target board from this external SD card using the following SYSBOOT switch settings to boot from external SD card: 01011101

    Best regards,

    Yanko

  • Dear TI Engineer,

    My using pandaboard is pandaboard ES Ver.B3.

    My project is android 4.4.

    building U-boot as below,

    cd $PANDA_WORK
    git clone git://git.omapzoom.org/repo/u-boot.git
    cd u-boot
    git checkout -b omap4_dev origin/omap4_dev
    wget http://android-development-environment.googlecode.com/files/0001-change-bootarges.patch
    git apply 0001-change-bootarges.patch
    make omap4430panda_config
    make -j8
    cp -a u-boot.bin $ANDROID_ROOT/device/ti/panda/bootloader.bin

    I think that I am right.

    But pandaboard is still not work.

    Do you have some time and use my steps to build android 4.4?

    Maybe We can sync ours step. Plz THX

    SOP:http://blog.xuite.net/yang44/omap4460/194209765-android-4.4+on+PandaBoard+%2F+PandaBoard+ES

    And I don't know this sentence -->"You must set only sysboot configuration switches on your board"

    What can I do ?
  • Hello Yuan,

    At first - The latest Android for OMAP4 is  4AJ.2.5P2 OMAP4 Jelly Bean Release NotesOS Kernel: Linux® 3.4 Android: Android JellyBean 4.2.2

    TI does not support Android 4.4 for OMAP4.

    In the new releases of U-boot, the X-loader is already part of it. Therefore you cannot find separated X-loader folder.

    #Q: And I don't know this sentence -->"You must set only sysboot configuration switches on your board"

    What can I do ?

    Pandaboard can boot only from MMC/SD card, there are no other options for booting. You must not apply modification in your U-boot.

    You must use the U-boot and X-loader provided by TI - available at http://omappedia.org/wiki/4AJ.2.5P2_OMAP4_Jelly_Bean_Release_Notes

    Best regards,

    Yanko