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 13 Jun 2006 10:52 AM by  peter.barada@logicpd.com
Problem in loading .elf file to m5484 LITE kit
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
rupa@neuralsys.net
New Member
New Member
Posts:


--
13 Jun 2006 08:04 AM
    Hello All,

    I am wokring on m5484 LITE dev kit. I downloaded Linux BSP and Toolchain from http://www.logicpd.com. I built the image on Fedora 4.
    Then i followed all the instructions to download the file to kit-

    The following is the result what i got-

    losh> ifconfig sm0 dhcp
    WARNING -- valid config block not found - using default MAC address
    Starting DHCP on sm0
    losh> load elf /tftp/192.168.0.190:image-m5484gfe-lite.elf
    loading from /tftp/192.168.0.190:image-m5484gfe-lite.elf:
    ignoring rest of file...done
    error: load: failed to read (#1 errno 110)
    load failed
    losh>

    I am in great confusion that where i am wrong..
    Please help me..

    One more imporant thing to consider is that, the image-m5484gfe-lite.elf is of 4.3 MB but the provided boot flash size on the kit is 4 MB. Might this is be the reason causing this issue???

    Please if anyone familiar with this, help me out to load the .elf file to my kit.
    Anonymous
    Posts:


    --
    13 Jun 2006 10:37 AM
    First, you should verify that you are getting an ip address. (ifconfig sm0 should display an ip address)

    Second, monitor the tftp server to see that it found and attempted to download the file.

    It is also good practice to create the config block and then use the ifmac command to program in the MAC addrss.

    Even if all of that worked, I don’t see how a 4.3MB elf file will fit in a 4MB part and leave room for LoLo besides. The error you are seeing does not look like it is caused by the image size, it looks like a timeout.

    Bruce
    peter.barada@logicpd.com
    New Member
    New Member
    Posts:72


    --
    13 Jun 2006 10:52 AM
    Indeed, errno of 110 is ETIMEDOUT which indicates a network timeout error. Since TFTP uses UDP and not TCP, this can be casued by an excessively busy network, bad ethernet cable, etc.

    The image is loading into ram, which at 64MB is more than large enough to hold the 4.3MB image.
    You are not authorized to post a reply.