Gentoo Archives: gentoo-embedded

From: Natanael Copa <mlists@××××××.org>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] how to boot real fast?
Date: Thu, 13 Oct 2005 07:09:07
Message-Id: 1129187326.28522.10.camel@nc
In Reply to: [gentoo-embedded] how to boot real fast? by "Francisco J. A. Ares"
1 On ons, 2005-10-12 at 19:08 -0300, Francisco J. A. Ares wrote:
2 > Hi, All
3 >
4 > I'm about to launch an embeded product runing Gentoo Linux. Everything
5 > is working perfectly now, but I really would like to have a faster boot.
6
7 Take a look at initng. It is really fast (if you compare to standard
8 gentoo bootscripts).
9
10 If that is not fast enough - take a look at software suspend.
11
12 > As this computer will not have upgrades, at least not as usual as a
13 > common desktop, I think that the cold/hotplug could be replaced by
14 > something else, although I plan to use an external USB disk on maintenance.
15
16 I was thinking of something similar some time ago. The idea was that if
17 there is no /etc/modules run coldplug and list all loaded modules
18 into /etc/modules, otherwise skip coldplug and just load the modules
19 listed in /etc/modules. That would not detect if you have plugged a new
20 USB device when powered off though.
21
22 If you think that hotplugging is to slow (that there is a delay after
23 you have plugged the external device until the device shows up) there is
24 a hotplug-ng that is written in C instead of bash (like the standard
25 hotplug system is). It is supposed to be faster.
26
27 I think I posted an ebuild at bugzilla some time ago.
28
29 > Another little detail: I have already seen that the Knoppix CD starts
30 > with a lo-res bitmap while starting its services and probably detecting
31 > the hardware and then it changes to a full-res version of the same image
32 > when it is starting KDE. How can I do that? I have almost done that
33 > with the frame buffer bootup image and just after starting X the first
34 > task is to change the background image to a copy of that used on the
35 > boot sequence, but still there is a gap where one can see the X'
36 > checkered background.
37 >
38 > Any sugestions?
39
40 You can try setting another background bitmap and background color in
41 some resource file. The screen would be black or something while waiting
42 for the backround image to show up.
43
44 > Thanks a lot
45 > Francisco
46
47 --
48 gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] how to boot real fast? Hanni Ali <hanni.ali@×××××.com>