Go to previous topic
Go to next topic
Last Post 11 Sep 2009 11:51 PM by  paiarunk@gmail.com
u-boot compile using u-boot-1.3.3 source
 2 Replies
Author Messages
paiarunk@gmail.com
New Member
New Member
Posts:


--
01 Sep 2009 05:29 AM
    Hai

    Has anyone tried running u-boot on top of LOLO on imx31 litekit board?

    I am able to compile the u-boot source for imx_litekit but i am not able to run?

    the commands used are

    export PATH="$PATH:/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/"
    export CROSS_COMPILE=arm-none-linux-gnueabi-
    make imx31_litekit_config
    make clean all


    I am downloading the image in LOSH using the command

    load srec //tftp//192.168.50.1/u-boot.srec
    exec

    Please help

    Arun
    joncastillo
    New Member
    New Member
    Posts:


    --
    09 Sep 2009 06:35 PM
    Hi Arun,

    I was wondering why u-boot wont run via losh as well. And I get 'CPU halted' on some initialization routine when I try to run it via JTAG (i think that was at 0x87F10D34). Earlier, I inserted:

    #define CONFIG_SKIP_LOWLEVEL_INIT 1

    inside:

    u-boot/include/configs/imx31_litekit.h

    and now it outputs properly on the serial port and my JTAG debugger can now step throughout the code without any errors. I wish someone could explain why this happens.
    paiarunk@gmail.com
    New Member
    New Member
    Posts:


    --
    11 Sep 2009 11:51 PM
    Posted By joncastillo on 9 Sep 2009 6:35 PM
    Hi Arun,

    I was wondering why u-boot wont run via losh as well. And I get ''CPU halted'' on some initialization routine when I try to run it via JTAG (i think that was at 0x87F10D34). Earlier, I inserted:

    #define CONFIG_SKIP_LOWLEVEL_INIT 1

    inside:

    u-boot/include/configs/imx31_litekit.h

    and now it outputs properly on the serial port and my JTAG debugger can now step throughout the code without any errors. I wish someone could explain why this happens.




    Thanks joncastillo, its working...
    Arun


    ---