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 21 Apr 2005 09:43 AM by  Anonymous
How can I escape the boot-time script using LOLO?
 6 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Anonymous
Posts:


--
08 Sep 2003 01:53 PM
    Note: Refer to the LogicLoader User's Manual, chapter 6, "Boot-time Scripts" for more information about the following subject.

    Question:
    How can escape the executing of this script using LOLO, it seems if I put this contents in eeprom, there is no way I can go to LOLO prompt.

    Answer:
    There are two ways to get to the LoLo prompt.
    The first solution is to hold the "q" key down and bring the kit up in BoLo. The serial_eeprom script you wrote for LoLo to jump to your application can be overwritten in BoLo by typing after the losh> prompt:
    echo "LOLO ; exit
    " /dev/serial_eeprom

    Restart the kit and the LogicLoader menu will appear and function normally.

    The second solution is as follows:
    1. configure the eeprom script to point to the CF card:
    echo "LOLOmount fatfs /cf ; source /cf/AUTOEXEC.BAT ; exit
    " /dev/serial_eeprom
    2. configure the AUTOEXEC.BAT file on the CF card to point to your sample application at 0x400c0000.
    Example: jump 0x400c0000; exit;

    Make sure to include an extra line return after the "exit;".

    If the CF is inserted, LoLo will execute the script and jump to the sample application.

    If the CF card is not inserted, LoLo won't execute the script and will go to the LogicLoader Menu.

    Customers can choose either the sample application or the LogicLoader menu simply by using/not using the CF card and restarting the kit.

    Regards,
    Andrew Wawra
    Tech Support
    Logic Product Development
    lumpenvieh@gmx.ch
    New Member
    New Member
    Posts:


    --
    18 Nov 2003 03:48 PM
    I've a Rev B hardware with BOLO V1.0 15.01.2003. Lolo execute the script and never returns. Second method is therefore impossible.

    Please recommend how to get the Lolo prompt back ?

    Thanks
    Anonymous
    Posts:


    --
    18 Nov 2003 04:02 PM
    Hello lumpenvieh,

    Update the Bolo version to support scripting to the serial_eeprom. Once Bolo is updated to the latest release (currently Bolo 1.2), use it to write a string of periods to the serial_eeprom. This should disable the Lolo script.

    1. Obtain the latest Bolo version from Logic's download site using your username and password.
    2. press 'q' within two seconds of resetting the board. Bolo should appear. If it doesn't repeat procedure, check serial cable, etc.
    3. update Bolo (if you are unfamiliar with this refer to the LogicLoader User Manual for instructions)
    4. press reset then 'q' within two seconds of resetting the board.
    5. Now flush the serial_eeprom through Bolo. This can be achieved by typing a string of '............'s to it. Example:
    To flush out the serial_eeprom:

    echo "......................................................................
    " /dev/serial_eeprom

    6. press reset. Lolo should now appear.

    Best Regards,
    Andrew Wawra
    Tech Support
    Logic Product Development
    tozyagcilar
    New Member
    New Member
    Posts:


    --
    19 Apr 2005 12:51 PM
    Hmm, it seems as if the latest BoLo portion of the latest LoLo image does not recognize the "echo" command ??? BoLo says it is version 1.1.0
    Anonymous
    Posts:


    --
    19 Apr 2005 01:22 PM
    tozyagcilar,

    Please email platformsupport@logicpd.com to obtain the latest bolo file mentioned in this thread. It is no longer posted to the website.

    Thank you,
    tozyagcilar
    New Member
    New Member
    Posts:


    --
    21 Apr 2005 09:35 AM
    Hi Aaron,

    I emailed that address yesterday and no reply. I am tied up on it. Could you help me out? Thanks.
    Anonymous
    Posts:


    --
    21 Apr 2005 09:43 AM
    Talat,

    I've emailed you the file requested. Please post back here if you have further questions.

    Thanks,
    You are not authorized to post a reply.