From: Stefan Roese Date: Fri, 10 Jan 2020 14:13:21 +0100 Subject: [PATCH 00/16] Refactor the architecture parts of mt7628 In-Reply-To: <1578653321.31096.38.camel@mcddlt001> References: <1578452358-6626-1-git-send-email-weijie.gao@mediatek.com> <1578559787.5535.28.camel@mcddlt001> <8f80b516-d402-1f84-5dd1-487883b33f64@denx.de> <1578653321.31096.38.camel@mcddlt001> Message-ID: <2d9110fa-3f36-cd1b-3041-b292b5b1024e@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Weijie, On 10.01.20 11:48, Weijie Gao wrote: >>>> Did you compare the boot speed with using SPL + main U-Boot vs U-Boot >>>> only? >>> >>> As far as I tested the difference of boot time should be less than 1s. >> >> 1 second is quite a lot of time. I prefer to stay with the non compressed >> boot configuration then. Testing shows that the new SPL based version >> also boots pretty fast, when the main U-Boot proper is not compressed. >> >>>> >>>> In the current combined image the non-compressed U-Boot proper is >>>> included. Why did you not include the LZMA compressed image per default? >>>> Is the decompression too slow? >>> >>> I just kept these two boards untouched. I can switch them to compressed >>> mode if you have no concern. >> >> I did not test yet. If its really a difference in time of 1 second (or >> similar), then let stay with uncompressed for these board please. >> >> Thanks, >> Stefan > > > I did a precise measurement, and this is the result: > > type | spl load/decompression time | boot to shell (total time) > spl + lzma | 75ms | 563ms > spl + none | 139ms | 627ms > non-spl | N/A | 626ms Great. Thanks for doing these tests and reporting here. > Actually spl+lzma is the fastest. I think this is because it has the > smallest binary size. Makes sense. SPI NOR load time savage is bigger than the added decompression time. > It's OK to switch all of them to compressed mode. Yes, please do so. This might be a nice boot time increase for other boards as well. I'll do some tests on i.MX6 soon. :) Thanks, Stefan