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 30 May 2013 02:41 AM by  jduran@gem-med.com
Loading an script to memory.
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
jduran@gem-med.com
New Member
New Member
Posts:79


--
29 May 2013 11:11 AM
    Dear all,

    I'm writting an script similar to makeyaffsboot where the files to burn to the flash are downloaded from a tftpserver. The script is also stored in the tftp server in .scr format. Usually, the files of the system (u-boot, uImage,...) are loaded to the address 80000000 and then saved to the flash. Could you tell me at which address I could load the script to execute? at 0x70000000?

    Thanks and best regards,
    Joaquim Duran
    jemiah.a@logicpd.com
    New Member
    New Member
    Posts:10


    --
    29 May 2013 03:36 PM
    Joaquim,
    It sounds like you want to use the 'source' command:
    OMAP Logic # help source
    source - run script from memory

    Usage:
    source [addr]
    - run script starting at addr
    - A valid image header must be present
    OMAP Logic #

    Check your loadaddr environment variable. If it's 0x81000000 just shift it up to 0x82000000 and use 0x81000000 as the address for loading and executing your script. That gives you a 16MB to play with and should ensure that it doesn't get stomped. If you do that make sure that your script has been updated to use the new value.

    Good luck
    .
    jduran@gem-med.com
    New Member
    New Member
    Posts:79


    --
    30 May 2013 02:41 AM
    Hello,

    Quote:

    Check your loadaddr environment variable. If it's 0x81000000 just shift it up to 0x82000000 and use 0x81000000 as the address for loading and executing your script. That gives you a 16MB to play with and should ensure that it doesn't get stomped.

    The script is loaded at 80000000. Thanks.

    Joaquim Duran
    You are not authorized to post a reply.