U-Boot slow "uncompressing"

Andy Green andy at openmoko.com
Mon Jan 21 12:04:56 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi folks -

I brought this one up some weeks ago, but I figured it was "just me"
somehow.  On a GTA02 A4:

Hit Reset button
                                                     5.6s
NAND read: device 0 offset 0x80000, size 0x200000
                                                     4.6s
Uncompressing Kernel Image ...
                                                     9.2s
Starting kernel ...

Apparently Werner has seen a 2s "uncompressing" phase on a GTA02 A3.  I
rebuilt U-Boot from their git and only the Moko patches yesterday to try
to figure out where I had gone wrong, but it did not work any better or
different, ~9s on two boards here.

I changed my kernel build script to take the -9 out of gzip, then to use
the kernel makefile uImage target instead of doing the steps by hand, no
real difference.

I looked into the gunzip malloc usage in case that was thrashing around
but it didn't seem insane.  The caches are meant to be enabled at that
time.  And the Verifying Checksum part happens in under a second anyway.

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHlHxYOjLpvpq7dMoRAm3sAKCNYmFYvdoy/n4m3LMAux7NeUDtVACghmEi
9zj0/6Wrg7rAjWDp3EMismo=
=6TX8
-----END PGP SIGNATURE-----




More information about the openmoko-kernel mailing list