decrease boot time
Quoted 3 lines · In message <[email protected]> I wrote:
You can do this even without hardware support. Attached below is a trivial expect script which you can use to pipe the output of your
Here comes the missing attachment...
Quoted 3 lines
terminal program into to get it timestamped. this is not perfect (as it timestamps on the _eond_ of each line), but does it's job in 95% of all cases. See the comment in the script for ow to use it.
I mean: ..._end_ of each line
Best regards,
Wolfgang Denk
Signature · 12 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Real computer scientists don't comment their code. The identifiers are so long they can't afford the disk space. -------------- next part -------------- A non-text attachment was scrubbed... Name: time_log Type: application/octet-stream Size: 1428 bytes Desc: time_log Url : http://lists.denx.de/pipermail/u-boot/attachments/20050212/b8c05abb/attachment.obj
Am 2005-02-12 23:52 +0100 schrieb Wolfgang Denk:
Quoted 1 line
Here comes the missing attachment...
Eheee :) I foret taht also _every_ time :p
Quoted 1 line
I mean: ..._end_ of each line
All right!
Konsti
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
Am 2005-02-12 23:52 +0100 schrieb Wolfgang Denk:
Quoted 1 line
Here comes the missing attachment...
This works well enough, thank you very much.
Output is at http://ludenkalle.de/boottime.txt
There are some delays I have in mind to optimize if possible:
0.082 Err: serial
0.213 Hit any key to stop autoboot: 0
0.233 Entry Point: 08008000
0.442 OK
0.445 Starting kernel ...
0.445
0.939 Linux v[...]
This is compressed kernelimage, lets see how an uncompressed behaves...
Regards, Konsti
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
Am 2005-02-14 13:26 +0100 schrieb Konstantin Kletschke:
Quoted 2 lines
This works well enough, thank you very much.
Output is at http://ludenkalle.de/boottime.txt
This is booting uncompressed kernel:
http://ludenkalle.de/boottime_uc.txt
Quoted 2 lines
0.082 Err: serial
0.213 Hit any key to stop autoboot: 0
What is happening here?
Quoted 2 lines
0.233 Entry Point: 08008000
0.442 OK
And here? Is the "OK" the last thing u-boot says?
When "Starting kernel ......." comes, is the image copyed already and the dots visualize decompressing?
Quoted 2 lines
0.445
0.939 Linux v[...]
This looks better now:
0.233 Entry Point: 08008000
0.674 OK
0.674
0.676 Starting kernel ...
0.676
0.690 Linux version 2.6.10-rc2
Regards, Konstantin Kletschke
Signature · 2 lines
GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
Quoted 8 lines · In message <20050214134140.GA24678@synertronixx3> you wrote:
Quoted 3 lines
0.082 Err: serial
0.213 Hit any key to stop autoboot: 0What is happening here?
Quoted 2 lines
0.233 Entry Point: 08008000
0.442 OK
Loading the image to RAM. Checksum verification?
Quoted 1 line
And here? Is the "OK" the last thing u-boot says?
No. The "OK" gets printed after successful checksum verification.
Quoted 2 lines
When "Starting kernel ......." comes, is the image copyed already and the dots visualize decompressing?
Yes. And this is the last message you'll see from U-Boot.
BTW: You can easily find this out yourself by reading the source code
- "lib_arm/armlinux.c" is just a few lines of code.
Best regards,
Wolfgang Denk
Signature · 3 lines
See us @ Embedded World, Nuremberg, Feb 22 - 24, Hall 10.0 Booth 310 Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de I have often regretted my speech, never my silence.