[U-Boot-Users] disable serial console?

Is there a way to completely disable the serial console? I am having trouble with my serial debug port and I can not get past the code that tries to read off the port.
Thanks, Michael Frey

Dear Michael,
in message 333727B8-0894-11D8-AEB8-00039390D626@pepper.com you wrote:
Is there a way to completely disable the serial console? I am having
Which sort of processor is this? On 8xx there is CONFIG_8xx_CONS_NONE, on other boards you can probably do the same using CONFIG_SILENT_CONSOLE and/or CFG_CONSOLE_INFO_QUIET
trouble with my serial debug port and I can not get past the code that tries to read off the port.
I don;t think it is wise to ignore easy problems and try to go on running into more complicated ones. Better solve problems step by step. Don't continue if you cannot initialize a simple device like an UART. Just my $0.02.
Best regards,
Wolfgang Denk

Wolfgang,
I agree we need to fix the UART. It is only one unit that has the problem and I am trying to make it work for a deadline. I will try the suggestions.
By the way it is a PXA based board.
Thanks, Michael
On Monday, October 27, 2003, at 11:28 AM, Wolfgang Denk wrote:
Dear Michael,
in message 333727B8-0894-11D8-AEB8-00039390D626@pepper.com you wrote:
Is there a way to completely disable the serial console? I am having
Which sort of processor is this? On 8xx there is CONFIG_8xx_CONS_NONE, on other boards you can probably do the same using CONFIG_SILENT_CONSOLE and/or CFG_CONSOLE_INFO_QUIET
trouble with my serial debug port and I can not get past the code that tries to read off the port.
I don;t think it is wise to ignore easy problems and try to go on running into more complicated ones. Better solve problems step by step. Don't continue if you cannot initialize a simple device like an UART. Just my $0.02.
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de Why don't you have a Linux partition installed so you can be working in a programmer-friendly environment instead of a keep-gates'-bank- account-happy one? :-) -- Tom Christiansen

By the way it is a PXA based board.
The UART in the PXA is coded in a way that you virtually can't make any errors. E.g. on UART driver for one driver works on all brands of PXA boards. You even can't forget to solder some IRQ pin.
So, if on ONE board the UART doesn't work, then I'd say it's a hardware issue. Look at the serial line driver, look at the crystal oszillator that is responsible for the UART timings.

Dear Wolf Denk: My problem of ld scripts has been solved!I make two mistake. 1. The enviroment file is common/env_common.o not common/enviroment.o 2. The arm seem can't use ppcenv but text. I use the scripts below and put the enviroment parameter in right room. Thanks! .SECTIONS { . = 0x00000000; . = ALIGN(4); .text : { cpu/arm720t/start.o (.text) *(.text) }
. = ALIGN(0x1000); .rodata : { *(.rodata) }
. = ALIGN(4); .data : { *(.data) }
. = ALIGN(4); .got : { *(.got) }
armboot_end_data = .;
. = ALIGN(4); .bss : { *(.bss) }
. = ALIGN(4);
.text : { . = 0x10000; common/env_common.o }
armboot_end = .; }
__________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/

Dear Wolf Denk: My problem of ld scripts has been solved!I make
Please don't reply to old messages and just change the subject. Start a new message thread instead.
Greetings to China, where people are still new to e-mail, message threads and such things :-)

Dear Joe,
in message 20031028021921.52265.qmail@web41114.mail.yahoo.com you wrote:
My problem of ld scripts has been solved!I make
No, it aint. It's just hidden now.
two mistake. 1. The enviroment file is common/env_common.o not common/enviroment.o
Wrong. common/env_common.o contains code and the (constant, read-only) DEFAULT environment.
The environment itself is represented by common/enviroment.o
- The arm seem can't use ppcenv but text.
Wrong again. Some ARM boards use it, for example the TRAB board configuration. You will have to add your board to the list #defined in common/enviroment.c though.
I use the scripts below and put the enviroment
parameter in right room. Thanks!
This does NOT do what you think it does. Did you ever try "saveenv" in U-Boot? It should show you pretty clearly that your configuration is broken.
Best regards,
Wolfgang Denk

Dear Wolfgang Denk: Yes,After E-mail to you and I find theses wrong! But,It's really that we can't use ppcenv althogh I defined my board config in the common/environment.c. Now,I use this way to avoid it. Calculate the u-boot.bin's length. define the env offset > it. so it's ok!
__________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/

In message 20031028093152.95392.qmail@web41109.mail.yahoo.com you wrote:
Yes,After E-mail to you and I find theses wrong!
For the future: please test your code _before_ posting.
But,It's really that we can't use ppcenv althogh I
defined my board config in the common/environment.c.
You must be doing something wrong there. It works for everybody else.
Now,I use this way to avoid it. Calculate the u-boot.bin's length. define the env offset > it. so it's ok!
Are you sure you know what you are doing?
Wolfgang Denk
participants (4)
-
Holger Schurig
-
Joe
-
Michael Frey
-
Wolfgang Denk