Serial
Hello.
I'm using 8xxrom-0.3.0 for boot loader and MVista-2.2.13 for kernel. I tried to remove serial driver for some reason.
I have 4 questions abou it.
0. If I remove it, will board boot correctly?
1. Can I expect some performance gain with removal?
2. Are there any easy way to do it?
3. Where is most proper location for doing it? 8xxrom, m8xx_tty.c at mbxboot, or uart.c at 8xx_io?
Thanks in advance.
Have a nice day.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 2 lines · 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/
Quoted 1 line
I tried to remove serial driver for some reason.
What are these reasons? Do you have another interface to interact with the board instead?
Quoted 1 line
I have 4 questions abou it.
The following answers are for PPCBoot code.
Quoted 1 line
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.
Quoted 1 line
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 withCONFIG_BOOTCOMMAND set to the command you need to boot andCONFIG_BOOTDELAY set to 0 so it will boot immediately.
Quoted 1 line
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: [email protected] A day without sunshine is like night.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Quoted 1 line · Wolfgang Denk
Quoted 1 line
1. Can I expect some performance gain with removal?
...
Quoted 2 lines
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/