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 02 Sep 2015 04:22 PM by  Adam Ford
Slow Logic Loader startup
 7 Replies
Sort:
You are not authorized to post a reply.
Author Messages
chad.grant
New Member
New Member
Posts:18


--
02 Sep 2015 10:49 AM

    I'm coming from the iMX31 and Logic Loader 2.4 that started up almost immediately. So the 8 to 15 seconds that it takes the DM3730 SOM-LV running Logic Loader 2.5.3 to even get a losh prompt after turning our board on seems unreasonably high. Is there anything that can be done to speed that up?

    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    02 Sep 2015 10:53 AM

    There are some boot pins you can use to select the preferred boot device so it doesn't have to scan the other devices first. Are you booting from NAND or SD card?


    adam
    chad.grant
    New Member
    New Member
    Posts:18


    --
    02 Sep 2015 10:56 AM
    I'm booting from NAND. Does it have to load lboot/lboot.elf before it can start to execute, is that what's causing the delay?
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    02 Sep 2015 11:35 AM

    The normal process is that is loads MLO which loads Logic Loader (lboot.elf). Logic Loader must load lboot/lboot.elf nk.bin into memory then execute. You may want to consider a splash screen if you have an LCD to display a message or something while it's loading lboot.elf  nk.bin.


    Since the default boot sequence attempts to boot NAND last, you can speed this up a bit, by pulling SYSBOOT5 low. This tell it to make NAND the first boot device. Unfortunately, it is shared with UARTA_DTR. Before you try this, I will look into that to see whether LogicLoader is driving that pin or not. Will your product need UARTA_DTR / GPIO7?

    adam

    chad.grant
    New Member
    New Member
    Posts:18


    --
    02 Sep 2015 12:08 PM
    We aren't currently using UARTA_DTR / GPIO7, so that sounds like it might be a good option.

    How would I load a splash screen earlier? I'm currently initializing the screen and loading a splash screen at the beginning of my loading process (after lboot.lol sources another script), but it seems like it take 10 seconds to get there. Can the initialization be done in another file?
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    02 Sep 2015 01:06 PM
    I misspoke and got nk.bin and lboot mixed up. I have corrected my previous post.

    I did confirm that LoLo is not setting the pin muxing for SYSBOOT5, so as long as Windows doesn't configure it, it should be OK. I connected the expansion board to the SOM-LV baseboard and grounded J17.11 and it took a couple seconds off the boot time when booting LoLo from NAND.

    adam
    chad.grant
    New Member
    New Member
    Posts:18


    --
    02 Sep 2015 04:16 PM
    Cool, thanks for checking on that.

    Is there any way to load a splash screen within the first second or so - without having to wait for Logic Loader to completely load?
    Adam Ford
    Advanced Member
    Advanced Member
    Posts:794


    --
    02 Sep 2015 04:22 PM
    Unfortunately LoLo needs to load the splash screen. I was able to boot the board to LoLo in about 3-4 seconds, but I don't have a lboot.sup or lboot.var file.

    Are you using either of those?

    adam
    You are not authorized to post a reply.