Re: [U-Boot-Users] decrease boot time

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

In message 20050213133143.GC13453@synertronixx3 you wrote:
Argh, "setenv verify no" ! Ah, I turned off
if (verify) {
Why modifyiong the code when all youneed to do is set an environment variable. Didn't you wonder where the "verify" variable is being set?
instead and I think this also disables the checksum verification when normal booting...
Yes, it does, but you cannot change behaviour to compare and measure...
Best regards,
Wolfgang Denk
participants (2)
-
Konstantin Kletschke
-
Wolfgang Denk