[U-Boot-Users] decrease boot time

Konstantin Kletschke lists at ku-gbr.de
Sun Feb 13 14:31:43 CET 2005


Am 2005-02-12 23:30 +0100 schrieb Wolfgang Denk:

> Do you have console output enabled? If yes,  then  you  can  (1)  get
> pretty reliable timings very easily by just time-stamping the console
> output (even with external tools as you read it rom the serial port),
> and (2) save a LOT of time by disabling it :-)

Yes, I will try that.

> OK - then I recommend to _increase_ teh image size by NOT compressing
> the Linux kernel. This way we get the  fastest  boot  times  on  most
> systems. Also, turn of checksum verification (setenv verify no).

Argh, "setenv verify no" !
Ah, I turned off 

        if (verify) {
                puts ("   Verifying Checksum ... ");
                if (crc32 (0, (char *)data, len) != ntohl(hdr->ih_dcrc)) {
                        printf ("Bad Data CRC\n");
                        SHOW_BOOT_PROGRESS (-3);
                        return 1;
                } 
                puts ("OK\n");
        }

instead and I think this also disables the checksum verification when 
normal booting...

Konsti

-- 
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E  A080 1E69 3FDA EF62 FCEF




More information about the U-Boot mailing list