Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 19 Apr 2007 01:16 PM by  OradFarez
hello world doesn't work!!
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Pixel
New Member
New Member
Posts:


--
19 Apr 2007 08:09 AM
    Hi friends!!

    I am with litekit imx31 with LoLo....

    We have a lot of problems... we would like to put a Linux inside but for the moment it's really impossible...

    In my SuSe I install de linux for freescale ADS and everythink works fine....
    Then when I try to apply the patch that someone tell in this forum I see that the actual version of Linux in freescale web page isn't the same... So the patching give thousands of errors....

    Some body can tell us how patch correctly the system: what is the flow??

    In other hand I try to make a simple hello world as you can see here:

    #include <stdio.h>

    int main()
    {
    printf("Hello from Nios II!\n");

    return 0;
    }

    so... It is.... no more....

    When I compile with GNU TOOLS that give LOGIC:

    gcc -mpcu=arm1136jfs hello_world.c -ohello.elf

    then with tera term I connect to I.mx with LoLo, execute: load elf

    and they said me:

    ...............................
    ELF section 0: download address: 0x80208000 load address: 0x00008000
    ...done
    load failed
    error: load: address space does not fit in ram ()


    I can believe!!! It is impossible that a hello world doesn't fit....

    Whate errors are we doing????

    Somebody can help about Linux???

    How we can execute programs with IMX ????

    What it is the flow or code generation: from generating c code till execute in lite kit!!!!!

    Thank you!!
    OradFarez
    New Member
    New Member
    Posts:


    --
    19 Apr 2007 01:16 PM
    I think that patch is for Rev 2 of Freescales' Linux BSP (2.6.16) and not for the latest one on the website (Rev 3: 2.6.19 kernel). You may need to modify the patch or see if you can find someone who is hosting the old revs.

    EDIT: Oops, you already knew this. Maybe someone will have a working patch for 2.16.19 soon but if not the easiest thing might be to ask Freescale for "imx31ads_20060709-ltib.iso".
    You are not authorized to post a reply.