linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Booting time
@ 2004-02-09  1:39 JACK HWAN
  2004-02-09  4:10 ` Eugene Surovegin
  2004-02-09 13:44 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: JACK HWAN @ 2004-02-09  1:39 UTC (permalink / raw)
  To: linuxppc-embedded


Hi.
 I ported linux-2.4.x to my motorola ppc8xx custom
board. And it works quite
well.
But the problem is booting time. It cosume too much
time than other embedded
OSes.
I disabled all options that I can. But it still slow.
 I took about 15~16 sec. the others are only takes
about 8 sec.
 How can I reduce the booting time?

Thanks in advance.

--

HoJin   <jhfami_at_yahoo.co.kr>


_____________________________________________________________________
예쁜 편지지에 메일을 보내세요 - 야후! 메일
http://mail.yahoo.co.kr
신차,중고차,직거래 매물이 한자리에 - 야후! 자동차
http://autos.yahoo.co.kr/autos/

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting time
  2004-02-09  1:39 Booting time JACK HWAN
@ 2004-02-09  4:10 ` Eugene Surovegin
  2004-02-09 13:44 ` Wolfgang Denk
  1 sibling, 0 replies; 5+ messages in thread
From: Eugene Surovegin @ 2004-02-09  4:10 UTC (permalink / raw)
  To: JACK HWAN; +Cc: linuxppc-embedded


On Mon, Feb 09, 2004 at 10:39:45AM +0900, JACK HWAN wrote:
>
> Hi.
>  I ported linux-2.4.x to my motorola ppc8xx custom
> board. And it works quite
> well.
> But the problem is booting time. It cosume too much
> time than other embedded
> OSes.
> I disabled all options that I can. But it still slow.
>  I took about 15~16 sec. the others are only takes
> about 8 sec.
>  How can I reduce the booting time?

Try turning off serial system console.

Eugene

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting time
  2004-02-09  1:39 Booting time JACK HWAN
  2004-02-09  4:10 ` Eugene Surovegin
@ 2004-02-09 13:44 ` Wolfgang Denk
  2004-02-10  7:48   ` Jaap-Jan Boor
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2004-02-09 13:44 UTC (permalink / raw)
  To: JACK HWAN; +Cc: linuxppc-embedded


Hello,

in message <20040209013945.68409.qmail@web21506.mail.yahoo.com> you wrote:
>
>  I ported linux-2.4.x to my motorola ppc8xx custom
> board. And it works quite
> well.
> But the problem is booting time. It cosume too much
> time than other embedded
> OSes.
> I disabled all options that I can. But it still slow.
>  I took about 15~16 sec. the others are only takes
> about 8 sec.
>  How can I reduce the booting time?

Please provide a bit more  information  about  your  hardware  (which
processor  -  a  MPC850  with  it's tiny caches will be slower than a
MPC860P with the bigger ones; which CPU and  bus  clock  frequencies;
which memory bus width - 32 bit?).

Then define how you measure "boot time" - where  does  it  begin  (at
power  on?  when  your  boot  loader  starts loading the kernel? when
control is passed to the uncompressed Linux kernel?) and  where  does
it  end  (when  the  init  process  gets started? when the first user
application starts running?  when  you  entered  run  level  3  in  a
classical SysV init style system?).

For a "standard" system with 50 MHz CPU and 50 MHz bus  clock  I  can
demonstrate  that  it takes not more than 3...4 seconds from power on
until the first application process is running.

Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
It is dangerous to be right on a subject  on  which  the  established
authorities are wrong.                                    -- Voltaire

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting time
  2004-02-09 13:44 ` Wolfgang Denk
@ 2004-02-10  7:48   ` Jaap-Jan Boor
  2004-02-10 19:52     ` Wolfgang Denk
  0 siblings, 1 reply; 5+ messages in thread
From: Jaap-Jan Boor @ 2004-02-10  7:48 UTC (permalink / raw)
  To: Wolfgang Denk; +Cc: linuxppc-embedded, JACK HWAN


On Feb 9, 2004, at 2:44 PM, Wolfgang Denk wrote:
>
> For a "standard" system with 50 MHz CPU and 50 MHz bus  clock  I  can
> demonstrate  that  it takes not more than 3...4 seconds from power on
> until the first application process is running.

Wolfgang,

What kind of setup is that? A very small ramdisk or flash disk?
Does the (u-) boot loader do extensive ram tests?

thanks,

Jaap-Jan

>
> Best regards,
>
> Wolfgang Denk
>
> --
> See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
> It is dangerous to be right on a subject  on  which  the  established
> authorities are wrong.                                    -- Voltaire
>


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Booting time
  2004-02-10  7:48   ` Jaap-Jan Boor
@ 2004-02-10 19:52     ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2004-02-10 19:52 UTC (permalink / raw)
  To: Jaap-Jan Boor; +Cc: linuxppc-embedded, JACK HWAN


Dear Jaap-Jan,

in message <93314AB1-5B9D-11D8-B8DD-000A95B15278@aimsys.nl> you wrote:
>
> > For a "standard" system with 50 MHz CPU and 50 MHz bus  clock  I  can
> > demonstrate  that  it takes not more than 3...4 seconds from power on
> > until the first application process is running.
>
> What kind of setup is that? A very small ramdisk or flash disk?

This is with a standard setup; root filesystem size is in  the  range
of  5...10 MB. It works with a ramdisk (if not compressed), or with a
MTD based (non-compressing) filesystem. The  second  option  is  more
efficient regarding memory footprint in RAM.

A MTD mounted (read-only) ext2 filesystem in flash is pretty fast.

> Does the (u-) boot loader do extensive ram tests?

Just the basic tests which are also used to auto-size the RAM.

Best regards,

Wolfgang Denk

--
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
The only way to learn a new programming language is by  writing  pro-
grams in it.                                        - Brian Kernighan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-02-10 19:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-09  1:39 Booting time JACK HWAN
2004-02-09  4:10 ` Eugene Surovegin
2004-02-09 13:44 ` Wolfgang Denk
2004-02-10  7:48   ` Jaap-Jan Boor
2004-02-10 19:52     ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).