[meta-ti] [RFC][PATCH] u-boot 2011.10rc: add patch to speed up ext2load

Koen Kooi koen at dominion.thruhere.net
Fri Mar 30 20:02:30 PDT 2012


Op 30 mrt. 2012, om 19:04 heeft Koen Kooi het volgende geschreven:

> Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
> ---
> 
> Please test this patch on your am335x boards, I need to run out and buy a mini usb cable because I misplaced mine during traveling this week. 

With the following in uEnv.txt:

uenvcmd=mmc rescan ; setenv mmc_dev 0:1 ; echo starting fatload ; run mmc_load_uimage ; setenv mmc_dev mmc 0:2; echo starting ext2load ; run mmc_load_uimage_ext2

First run:

0.40	   0	Running uenvcmd ...
0.46	   6	starting fatload
0.48	   1	reading uImage
0.70	  22	
0.70	   0	3140296 bytes read
0.70	   0	starting ext2load
0.72	   1	Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
0.78	   6	3140296 bytes read

Second run:

0.85	   0	Running uenvcmd ...
0.91	   6	starting fatload
0.91	   0	reading uImage
1.15	  23	
1.15	   0	3140296 bytes read
1.15	   0	starting ext2load
1.15	   0	Loading file "/boot/uImage" from mmc device 0:2 (xxa2)
1.21	   6	3140296 bytes read

Strangely enough ext2load seems to be faster now. More testing needed :)

regards,

Koen


More information about the meta-ti mailing list