[beagleboard] Re: PREBOOT delay. Is it possible to reduce it?

2017-05-07 Thread andky1991


The actual reson for the delay was the increased cost of memory 
reservation, the size of which increased from 1 kb to 16 mb:


diff --git a/include/configs/ti_armv7_common.h b/include/configs/
ti_armv7_common.h
index 6982918..6e0bf09 100644
--- a/include/configs/ti_armv7_common.h
+++ b/include/configs/ti_armv7_common.h
@@ -127,7 +127,7 @@
 * we are on so we do not need to rely on the command prompt. We set a
 * console baudrate of 115200 and use the default baud rate table.
 */
-#define CONFIG_SYS_MALLOC_LEN (1024 << 10)
+#define CONFIG_SYS_MALLOC_LEN (16 << 20)
 #define CONFIG_SYS_HUSH_PARSER
 #define CONFIG_SYS_PROMPT "U-Boot# "

But you can completely avoid the loss of time if you omit the initial 
cleaning of the redundant memory:

#undef CONFIG_SYS_MALLOC_CLEAR_ON_INIT





-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a21f4524-8e75-4eb7-9373-8cad796dd36d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: PREBOOT delay. Is it possible to reduce it?

2015-11-17 Thread andky1991

I have tried run defferent images from SD:

1.Debian 2015-07-28 console with *u-boot v2015.01* writed to unallocated 
space in front of first partition -* 2 second delay remains*
2.Jessie Snapshot console with *u-boot v2015.10* writed to unallocated 
space in front of first partition -* 2 second delay remains*
3. Angstrom v2012.12 (kernel 3.8.13) with *u-boot 2013.04-dirty* writed to 
FAT32-MLO BOOT partition - *start immediately after plug in power supply*


So, I assumed that the problem is in the method of placing the loader. But 
if replace u-boot v2015.01 with u-boot v2013.04, then delay disappears. The 
new version has something that leads to a pause. What could it be?


-- 
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: PREBOOT delay. Is it possible to reduce it?

2015-11-17 Thread Robert Nelson
On Tue, Nov 17, 2015 at 1:37 PM,   wrote:
>
> I have tried run defferent images from SD:
>
> 1.Debian 2015-07-28 console with u-boot v2015.01 writed to unallocated space
> in front of first partition - 2 second delay remains
> 2.Jessie Snapshot console with u-boot v2015.10 writed to unallocated space
> in front of first partition - 2 second delay remains
> 3. Angstrom v2012.12 (kernel 3.8.13) with u-boot 2013.04-dirty writed to
> FAT32-MLO BOOT partition - start immediately after plug in power supply
>
>
> So, I assumed that the problem is in the method of placing the loader. But
> if replace u-boot v2015.01 with u-boot v2013.04, then delay disappears. The
> new version has something that leads to a pause. What could it be?

migration to driver model

http://git.denx.de/?p=u-boot.git;a=tree;f=doc/driver-model;hb=HEAD

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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.