Re: Serial

2 messages, 2 authors, 2000-08-30 · open the first message on its own page

Re: Serial

From: Wolfgang Denk <hidden>
Date: 2000-08-29 07:58:27

In message <051301c01160$d5e0b560$1952df8d@SOYANG> you wrote:
I'm using 8xxrom-0.3.0 for boot loader and MVista-2.2.13 for kernel.
Forget 8xxrom. It's dead.

Use the new PPCBoot instead. See http://ppcboot.sourceforge.net/
I tried to remove serial driver for some reason.
What are these reasons? Do you have  another  interface  to  interact
with the board instead?
I have 4 questions abou it.
The following answers are for PPCBoot code.
0. If I remove it, will board boot correctly?
Yes, it will. But you will still have a lot of dead code (interactive
commands) which you might remove as well.
1. Can I expect some performance gain with removal?
What type of "performance" do you mean?

Linux will not run any faster when you remove the serial driver  from
the boot loader.

If you're talking about boot times, the difference is minimal  -  you
can    get   nearly   the   same   with   PPCBoot   configured   with
CONFIG_BOOTCOMMAND  set  to  the  command  you  need  to   boot   and
CONFIG_BOOTDELAY set to 0 so it will boot immediately.
2. Are there any easy way to do it?
Just remove the relevant code.

But to be  honest:  I  see  a  lot  of  disadvantages,  and  no  real
advantages.  But you didn't tell us your reasons, so I cannot comment
on this.

Hope this helps.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
A day without sunshine is like night.

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

Re: Serial

From: Graham Stoney <hidden>
Date: 2000-08-30 01:17:32

Wolfgang Denk writes:
quoted
1. Can I expect some performance gain with removal?
...
Linux will not run any faster when you remove the serial driver  from
the boot loader.
Well, it will boot quite a bit quicker.  If you have no serial port, or are
building a production system with no need for kernel messages, it's possible
to reduce boot time and kernel memory usage with my CONFIG_MESSAGES patch,
at:
    http://members.xoom.com/greyhams/linux/patches/2.2/messages.patch

Regards,
Graham
--
Graham Stoney
Principal Hardware/Software Engineer
Canon Information Systems Research Australia
Ph: +61 2 9805 2909  Fax: +61 2 9805 2929

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help