Search

Technical Discussion Group Forum

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

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

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

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 28 Feb 2007 01:33 PM by  kurtl@logicpd.com
Loading Flash-able ELF image from ARM tools
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
rbwinchell
New Member
New Member
Posts:


--
26 Feb 2007 02:46 PM
    I'm building a program using the RVCT 2.2 tools, and an trying to load it using LoLo. I am loading from the CompactFlash card (now serial download) and am getting the following error:

    losh> load elf /cf/AVMPLUS.ELF
    loading from /cf/AVMPLUS.ELF:
    no loadable prog header found

    elf file type : 0x0002
    machine type: 0028 version: 1
    prog start addr : 0x400c0000
    num prog headers: 2
    num sect headers: 7
    offset : 0x2a2a2a00 disk length: 0x000861f0 mem len: 0x00000000
    phyaddr: 0xff000a0d vaddr : 0x0a0d2a02 dl addr: 0x00000000
    elf load failed.
    losh>


    I've read the FAQ note about not being able to download and ELF image because of the location of the image info, but it states that this isn't a problem when loading from CompactFlash. But this looks exactly like what happens if I try and download it serially. Is there some other magic I need to do to the image to get it to load from CompactFlash?

    Thanks.
    rbwinchell
    New Member
    New Member
    Posts:


    --
    28 Feb 2007 09:31 AM
    Anyone? Shouldn't this be possible, to have LoLo load the ELF from the CompactFlash card?
    kurtl@logicpd.com
    New Member
    New Member
    Posts:


    --
    28 Feb 2007 01:33 PM
    Yes you can load .elf files from the CompactFlash card.

    From the debug message, your .elf file header information is probably not in the format that Lolo expects.

    Try using a text editor to compare your .elf file header to a .elf file on our website. If you grab the install files for any version of LogicLoader from the website it should include multiple .elf files you could examine.

    My guess is Lolo only supports a few specific .elf file types and the default by RVCT 2.2 tools is not formated as it likes it. You may want to investigate the RVCT 2.2 toolset to understand if there are different .elf header types it can export.

    Good luck.
    -Kurt
    You are not authorized to post a reply.