I have two identical Colibri iMX6S 256MB IT 1.1B cpu.
They behave differently when switched on.
On the first cpu Colibri iMX6S 256MB IT 1.1B Serial: 10942073
In the boot phase we have:
System ready!
Preparing for download …
Loading uncompressed image …
Reading image size from sector 303105
Loading 39921268 bytes to RAM
… …
Done.
Launching image at 10200000.
On the second cpu Colibri iMX6S 256MB IT 1.1B Serial: 10960976
In the boot phase we have:
System ready!
Preparing for download …
Loading uncompressed image …
Reading image size from sector 303105
… …
Done.
Launching image at 10200000.
The first has a much faster boot than the second.
How come?
Could you provide some data about boot time ? How long does it take to boot for each module?
Please also upgrade WInCE BSP to 1.8 version iMX6 WEC Software
What I want to understand is why on a som it displays:
Loading 39921268 bytes to RAM
while on the other no?
Upgrading to the BSP 1.8 version is a hard job, because we already had several problems with the BSP 1.7 version of slow network communication between the various devices and of renaming FlashDisk folders with FlashDisk2, so we had to go back to version 1.6.
Could you check if your modules have the same eMMC chip or not?
Version 1.8 has fix for occasional Filesystem corruption problem when using Trim feature
Otherwise you should disable Trim.
Looks lokes you are using a custom build on the “fast” module bootloader read image length from image header and loads only requiered amount of data from eMMC to RAM on the “slow” module header is corrupted and bootloader uses fallback method which requires to search for end of image . Could you please flash a Toradex provided image preferably v1.8 (but you can use 1.6t if you wish) using the same way to both modules?
If you write your custom uncompressed image with the Updated Tool it will boot faster then if you write it with Toradex Easy Installer. The reason is that The Update Tool adds the correct image size at sector 303105. If this information is not found the maximum of 100MB are loaded so it takes longer.
It’s really strange… Did you use the same UpdateTool version on both modules?
What version of the UpdateTool did you use, what Image Version was it running on?
Can you try to do this 2 things:
make a Backup of the Image on “long boot time module” using the update tool and send it to us.
Re-do the Update on the “long boot time module” to see if it changes the behavior.
Thanks to your question i was digging a bit deeper into the Image load routine of the bootloader and noticed that it was not at all optimized… i tweaked a few things and now the image loading is much much faster. Our standard image loads in ~800ms and if you use an uncompressed image like you do, you can even get down to 500 ms! (before it was 5-10 seconds depending on the image type)
I also rewrote the loading routine in such a way that even an image written with Torade Easy Installer will not load slower.
Let me know if you find any issues. I will probably release a new BSP version that includes this new bootloader and also a few more optimizations in the Image by end of the month.
Just put it on a USB stick or SD Card (or ActiveSync/Mobile center if you have that) and use the UpdateTool on the device to do the update (select “i.MX6 SPL Bootloader image” as a filetype)