This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM6467T/Linux Boot Speed Horrific

 

I'm on to my next product generation.  Thanks to all who helped me before.

My current DM6467T speed for booting up Linux and automatically starting my application with Codec Engine is HORRIFIC.  Booting from NAND flash, it takes up to 2.5 minutes before I have live video passing through.  (Elsewhere you find I now produce ADV7171 video chip color bars 11 seconds after power up, 1 minute later Linux is finished booting and my application loads, with displays a green screen that could just as well be a .bmp or .tif.  Then it takes yet another minute merely to load the codec engine, which must include loading the codec on the DSP.
I thinking about fast startup.  I'm thinking about standby or hibernation.  Any suggestions?  

- I can imaging storing a ram image in flash.  The problem is all the hardware registers and states.  
- I am also imagining putting every chip I have into power down mode, if they don't lose their status.  I would write some power off and power on code to look at a switch on my box, and never really turn the power off.  But then I'll be eating battery while I'm off.  Yes, battery operated.  And if I really lose power, I'll be back to 2.5 minutes to boot.
My big time delays are the middle area of the linux boot, between early load of the video chip driver and boot completion, plus the slow codec engine load.  A silver bullet for each of these would be fantastic.  I have tried trimming down the .config, but when I looked I actually saw nothing to trim.  This is even though I see all kinds of log during boot that doesn't seem to apply to me, like a message sort of like "no AIC" somethingorother.
Thanks,
Helmut

 

  • By the way, two things:

     

    1) If I stop my application and then reload it, it takes as little as 6 seconds to get going again, rather than 60 seconds.  It seems the codec engine is already loaded and the codec is already in the DSP, so things go fast.  However, I'm running my application with a script that removes ??? from memory, so I'm not sure how this can be.  Regardless, might it be possible to preload this business, so that even on the first time after a cold start, it only takes 6 seconds for the codec engine etc to load?

     

    2) I was able to speed up, perhaps from 60 seconds to 40, by removing old .c files from the CCS project folder.  I hate this "if it's there, compile and link it" mentality of CCS and linux.  This makes it impossible to easily archive older source versions in the same folder.  Anyway, this reduced the size of the .x64P file, and in turn the load speed.

     

    -Helmut

  • Hi Helmut,

    I am expert of fast boot for embedded Linux.

    Here you can find sample boot log of Fast Boot of Embedded Linux Network Camera on DM6467 in 5.5 sec. More details you can find on page http://www.makelinux.com/emb/fastboot/. Fastest boot time of bare Linux I've achieved is 300 ms on OMAP

    I can sell you source code of my solution or I can perform optimization of your code.

    Please contact me at  const@makelinux.com

  • Constantine: I've been emailing you but have not gotten a response.  Are you receiving my emails?  Were you possibly out of town or off work last week?  (If you're not getting my email, please send me a private message through this forum and we can connect by phone.)  Thanks.  -Helmut

    Others: Any other suggestions for boot speed would be greatly appreciated.

  • Hi Helmut,

    Are you still trying to reduce the boot up time?