Re: [beagleboard] Re: Recommendation to boot / resume Linux in less than a second...

2014-11-19 Thread Jean-Pierre Poulin
Thank you very much Robert for that heads up... wasn't aware Sitara 
architecture could do this as well... 

Q: How does falcon boot on Sitara compare with sub-one-second boottime on 
i.MX6?

On Wednesday, November 19, 2014 12:54:18 PM UTC-5, RobertCNelson wrote:


 http://www.denx.de/wiki/pub/U-Boot/MiniSummitELCE2013/2013-ELCE-U-Boot-Falcon-Boot.pdf
  

 http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.falcon;hb=HEAD 



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Recommendation to boot / resume Linux in less than a second...

2014-11-12 Thread Jean-Pierre Poulin
Hi John, thanks for the heads up on that patch.

When you say it doesn't work at this time, is it because it's temporarily 
broken for embedded?  If it gets fixed, would you recommend this patch for 
our needs?

Q1: Given several senior devs are reporting amazing 1s boot-time on i.MX6, 
should I take from this it's the platform of choice for quick-booting Linux?

Q2: Given the above, should I even consider hibernate-based solutions such 
as Warp?
 


 Q: Have you guys ever tried reducing boot-times through a hibernate-based 
 solution?  (e.g. Warp)  How do these stackup versus efforts to fast-boot 
 Linux as detailed in this thread?

 This won’t work at this time:

 http://www.spinics.net/lists/linux-omap/msg109331.html
 Regards, John


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Recommendation to boot / resume Linux in less than a second...

2014-11-12 Thread Jean-Pierre Poulin
Hi Liyaoshi, thanks for reporting these incredible results!!!

However your link appears broken, could you verify?   Thanks man!!

https://www.dropbox.com/s/ltnedy59gv5i70j/VID_20140723_084207.mp4

This is what I have done in my iMX6 solo @800M 16bit ddr board 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Recommendation to boot / resume Linux in less than a second...

2014-11-11 Thread Jean-Pierre Poulin
Hi all, many thanks for this insightful discussion.

Q: Is systemd a viable option to optimize boot-time on ARM embedded 
platforms?  (Given its steeper learning curve are the results worth the 
extra work / risk over 'init'?)


On Mon, Nov 10, 2014 at 1:42 PM, Dr. Michael J. Chudobiak 
m...@avtechpulse.com javascript: wrote:

 On 11/10/2014 03:37 PM, William Hermans wrote:

 systemd is supposed to make boot times even faster compared to the older
 / std debian init daemon. The problem I personally have with systemd, is
 that I'm oldschool Linux, know init fairly well, and can not find very
 good information about systemd on the web.


 systemd has a ton of documentation. Some useful bits:

 http://0pointer.de/blog/projects/blame-game.html
 http://www.freedesktop.org/wiki/Software/systemd/TipsAndTricks/
 http://www.freedesktop.org/wiki/Software/systemd/


 Using systemd-analyze plot  plot.svg is hugely useful for identifying 
 startup bottlenecks.




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Recommendation to boot / resume Linux in less than a second...

2014-11-11 Thread Jean-Pierre Poulin
Supercool.  We're hoping to reduce boot-time by using open-source based 
solutions so following the latest systemd-based efforts appears as the next 
logical step.  Thanks a bunch for that useful advice!!

On Tuesday, November 11, 2014 10:07:19 AM UTC-5, RobertCNelson wrote:

 Then Lennart released systemd and really just blew them out of the 
 water... 

 I did see a demo of timesys showing off something that booted even 
 faster then systemd, but you'll pay lots of $ for it. 



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Re: Recommendation to boot / resume Linux in less than a second...

2014-11-11 Thread Jean-Pierre Poulin
Q: Have you guys ever tried reducing boot-times through a hibernate-based 
solution?  (e.g. Warp)  How do these stackup versus efforts to fast-boot 
Linux as detailed in this thread?



On Tuesday, November 11, 2014 12:13:20 PM UTC-5, Jean-Pierre Poulin wrote:

 Supercool.  We're hoping to reduce boot-time by using open-source based 
 solutions so following the latest systemd-based efforts appears as the next 
 logical step.  Thanks a bunch for that useful advice!!

 On Tuesday, November 11, 2014 10:07:19 AM UTC-5, RobertCNelson wrote:

 Then Lennart released systemd and really just blew them out of the 
 water... 

 I did see a demo of timesys showing off something that booted even 
 faster then systemd, but you'll pay lots of $ for it. 



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] Recommendation to boot / resume Linux in less than a second...

2014-11-10 Thread Jean-Pierre Poulin
Hi William and Laurent, thank you for taking the time!  

What different results between the two of you!  That 1 sec boot appears 
incredible!  I've done similar efforts to William's approach a few years 
back and remember similar results but these were unfortunately quite far to 
our target.

But that 1s to user-app on MX6 is really something... I wonder if the less 
powerful Sitara processor can approach such performance.

Thank you for listing these steps... I'll try this out as soon as I can and 
hopefully can greatly reduce boot time.

If this can be pulled off, then a hibernate solution would not be needed!

Thanks again!!

  Jean-Pierre


On Saturday, November 8, 2014 9:15:19 AM UTC-5, GONZALEZ Laurent wrote:

  JP,

 if you can afford twice your budget (1s!), you can try the path I went two 
 years ago when I demonstrated fast boot on imx6, from power-on to V4L user 
 app in less than 1s (915ms).

 What I did for this demo might apply to BBB/your_project, or not (I let 
 you decide):
 * U-boot: use DMA to read from SDCard (eMMC sb. very similar, possibly 
 better)
 * U-boot: load Kernel directly at its execution address (avoid memmove)
 * Load Linux uncompressed
 * no SMP, no power management
 * Compile as much as you can as modules
 * Build kernel with an early user space inside
 * The user application is init (bare Linux user app)

 These conditions may not met your design, at least it can brings you 
 generic insights on Linux boot optimisations.

 Cheers,

 Laurent.

 On 07/11/2014 23:44, Jean-Pierre Poulin wrote: 

  Hi BBB gurus!

  

 I’m trying to setup my BBB to wake-up from cold-boot to a functional 
 user-space Linux app in the shortest amount of time.  (Like 0.5 seconds)

  

 I understand that it is technically impossible to boot Linux this fast, 
 thereby requiring a ‘hibernate’ type of solution…

  

 Could you point me toward the right direction?  What lib / technique is 
 best?

  

 Thanks a bunch!

  

Jean-Pierre
  -- 
 For more options, visit http://beagleboard.org/discuss
 --- 
 You received this message because you are subscribed to the Google Groups 
 BeagleBoard group.
 To unsubscribe from this group and stop receiving emails from it, send an 
 email to beagleboard...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.


 

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Recommendation to boot / resume Linux in less than a second...

2014-11-10 Thread Jean-Pierre Poulin
Hi RH,

Thank you for your valuable input.  I'm glad to see awesome results like 
Laurent was posting validated by another user.  1.6s is still incredible 
and totally useful for what we're doing.  Are these results reported from a 
stock BBB?

Are your sequence of steps similar to Laurent?

Thank you again for sharing!

  Jean-Pierre


I haven't tried to make mine boot fast and it's ready for business in 1.62s 
 Boots from uSD. How fast does yours boot now? 
 Yes I know that getting sub-1s is a long way from 1.62s. 

 FWIW I never even payed attention to my boot time  

 Oh, I guess I'm not counting u-boot time and there may be 
 some ways to make that go faster. 


-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Recommendation to boot / resume Linux in less than a second...

2014-11-10 Thread Jean-Pierre Poulin
Hi Richard, thanks for those precisions...

 But what's your boot time? 

The last time I tested on older BB hardware felt around 12 sec +/- 1 sec. 
(Have to set it up again to get precise time via dmesg)  Have to try this 
on BBB and I'm very encouraged to read about these sub-2 sec times!!

FYI, I found an excellent TI resource on how to reduce boot time on Sitara 
chips here 
http://processors.wiki.ti.com/index.php/Sitara_Linux_Training:_Boot_Time_Reduction.
  
Very detailed step-by-step instructions that appear very valuable for what 
we need to do.  

(Really worth a ready everyone!)

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: Recommendation to boot / resume Linux in less than a second...

2014-11-10 Thread Jean-Pierre Poulin
Hi Richard, thanks for pointing this out... we can probably make our own 
but its good to know this right away.

Will continue to investigate... looks like 3 sec is reasonable to attain 
but getting closer to 1 going to require external help and some hard 
structural choices on our part...  :)


 Hmm, well they claim 3s boot time but you have to buy two capes 
 to get there. A nand cape and memory expansion cape. The nand 
 capes are not available. 



-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Recommendation to boot / resume Linux in less than a second...

2014-11-07 Thread Jean-Pierre Poulin
 

Hi BBB gurus!

 

I’m trying to setup my BBB to wake-up from cold-boot to a functional 
user-space Linux app in the shortest amount of time.  (Like 0.5 seconds)

 

I understand that it is technically impossible to boot Linux this fast, 
thereby requiring a ‘hibernate’ type of solution…

 

Could you point me toward the right direction?  What lib / technique is 
best?

 

Thanks a bunch!

 

   Jean-Pierre

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.