[U-Boot] ads5121 - remove PSC serial console support

Hi all,
I'm working on freescale ev. board ads5121ev and I'm trying to remove serial console support.
Do you know the right procedure to remove it?
Thanks in advance.

Dear Angelo,
In message 630811.21371.qm@web23106.mail.ird.yahoo.com you wrote:
I'm working on freescale ev. board ads5121ev and I'm trying to remove serial console support.
Which sense would this make?
Do you know the right procedure to remove it?
The right procedure is to keep it! U-Boot is designed around the principle of having a serial console avaialable as early as possible. You don't give up this lightly.
Best regards,
Wolfgang Denk

Ok,
I'm trying to reduce boot time and i don't want to omit anything!
I know that console is fundamental, but i need to disable it. After some modifies it seems like u-boot execute an infinite loop, waiting for unknown something.
Are there some special file (e.g. cpu/mpc512x/serial.c, include/configs/ads5121.h ...) that I have to modify?
I suppose that should be a way to remove it completely.
Thanks
--- Ven 30/10/09, Wolfgang Denk wd@denx.de ha scritto:
Da: Wolfgang Denk wd@denx.de Oggetto: Re: [U-Boot] ads5121 - remove PSC serial console support A: "Angelo" s104259@yahoo.it Cc: u-boot@lists.denx.de Data: Venerdì 30 ottobre 2009, 22:23
Dear Angelo,
In message 630811.21371.qm@web23106.mail.ird.yahoo.com you wrote:
I'm working on freescale ev. board ads5121ev and I'm trying to remove serial console support.
Which sense would this make?
Do you know the right procedure to remove it?
The right procedure is to keep it! U-Boot is designed around the principle of having a serial console avaialable as early as possible. You don't give up this lightly.
Best regards,
Wolfgang Denk

Dear Angelo,
In message 523536.75919.qm@web23108.mail.ird.yahoo.com you wrote:
I'm trying to reduce boot time and i don't want to omit anything!
Hm.. did you do any profiling and are you really sure that the initial console messages really contribute a significant amount to the boot time?
On the MPC5121ADS board, U-Boot prints some 340 characters before you can turn off the conssole using the usual methods. At 115200 bps this takes about 30 milliseconds.
Are you really sure that it makes sense to optimize on thislevel yet? Have you solved / accelerated all the other slow parts yet?
I know that console is fundamental, but i need to disable it. After some modifies it seems like u-boot execute an infinite loop, waiting for unknown something.
Attach a debugger. It should be trivial to see where U-Boot is spinning.
I suppose that should be a way to remove it completely.
I am pretty sure that what you are trying to do makes little sense.
--- Ven 30/10/09, Wolfgang Denk wd@denx.de ha scritto:
Da: Wolfgang Denk wd@denx.de
Please also make sure to read http://www.netmeister.org/news/learn2quote.html
Do not top post / full quote. Thanks.
Best regards,
Wolfgang Denk
participants (2)
-
Angelo
-
Wolfgang Denk