[U-Boot-Users] [PATCH] Sequoia has two UARTs in "4-pin" mode. Configure the GPIOs as per schematic.

2008-08-06 Thread Steven A. Falco
+-- 2 files changed, 11 insertions(+), 6 deletions(-) Signed-off-by: Steven A. Falco <[EMAIL PROTECTED]> diff --git a/board/amcc/sequoia/sequoia.c b/board/amcc/sequoia/sequoia.c index 6bcb3ab..6ee9c88 100644 --- a/board/amcc/sequoia/sequoia.c +++ b/board/amcc/sequoia/sequoia.c @@ -93

Re: [U-Boot-Users] [PATCH] sequoia uarts

2008-08-06 Thread Steven A. Falco
Stefan Roese wrote: > On Friday 01 August 2008, Wolfgang Denk wrote: > >> In message <[EMAIL PROTECTED]> you wrote: >> >>> I have verified that the Sequoia (440EPx) does not have its UARTs >>> properly configured. The attached patch corrects this by setting three >>> bits in SDR0_PFC1 to e

Re: [U-Boot-Users] [PATCH] sequoia uarts

2008-08-04 Thread Steven A. Falco
Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: > >> I have verified that the Sequoia (440EPx) does not have its UARTs >> properly configured. The attached patch corrects this by setting three >> bits in SDR0_PFC1 to enable 4-wire mode, and to select cts/rts >> functionality fo

[U-Boot-Users] [PATCH] sequoia uarts

2008-08-01 Thread Steven A. Falco
PROTECTED] Signed-off-by: Steven A. Falco <[EMAIL PROTECTED]> diff --git a/board/amcc/sequoia/sequoia.c b/board/amcc/sequoia/sequoia.c index 6bcb3ab..6ee9c88 100644 --- a/board/amcc/sequoia/sequoia.c +++ b/board/amcc/sequoia/sequoia.c @@ -93,6 +93,11 @@ int board_early_init_f(void) #ifd

[U-Boot-Users] Sequoia uart support looks to be misconfigured

2008-08-01 Thread Steven A. Falco
I am looking at U-Boot version "DENX-v1.3.3" for the AMCC Sequoia board (PPC440EPx). The uart gpio configuration doesn't appear to match the schematics. sequoia.h has the following GPIO settings: {GPIO1_BASE, GPIO_OUT, GPIO_ALT3, GPIO_OUT_1}, /* GPIO34 UART0_DCD_N UART1_DSR_CTS_NUART2_SOU

Re: [U-Boot-Users] Silent console enhancement patch

2008-06-16 Thread Steven A. Falco
Wolfgang Denk wrote: > Why isn't "silent" defined as needed in your defualkt environment > that gets used when there is no valid environment? > > The easiest way is set up everything as needed, or example by > including the environment sector(s) with the U-Boot image (i. e. > ch

[U-Boot-Users] ppcenv_assert = ASSERT?

2008-06-16 Thread Steven A. Falco
I downloaded u-boot-1.3.3.tar.bz2 and tried building sequoia_defconfig. I noticed a message in u-boot.map: 0x00044740ohci_dev 0x00044900ghcca 0x0001ppcenv_assert = ASSERT ((. < 0x8000), .bss se

Re: [U-Boot-Users] Patch to clean up syntax highlighting

2008-06-13 Thread Steven A. Falco
Jerry Van Baren wrote: > > Jerry Van Baren wrote: >> Steven A. Falco wrote: >>> My text-editor (vim) has a bit of trouble syntax-highlighting the >>> cmd_nvedit.c >>> file, because it apparently does not parse C ifdef/else/endif. The >>> followi

Re: [U-Boot-Users] Silent console enhancement patch

2008-06-13 Thread Steven A. Falco
Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: > >> The silent console as currently implemented is not silent if a board has been >> newly manufactured. I.e., some messages are printed prior to being able to >> set >> the "silent" environment variable the first time. >> >> Th

[U-Boot-Users] Silent console enhancement patch

2008-06-12 Thread Steven A. Falco
The silent console as currently implemented is not silent if a board has been newly manufactured. I.e., some messages are printed prior to being able to set the "silent" environment variable the first time. The following patch adds a new configuration option, CONFIG_VERY_SILENT_CONSOLE, which mo

[U-Boot-Users] Patch to clean up syntax highlighting

2008-06-12 Thread Steven A. Falco
My text-editor (vim) has a bit of trouble syntax-highlighting the cmd_nvedit.c file, because it apparently does not parse C ifdef/else/endif. The following patch does not change the behavior of the code at all, but does allow the editor to properly syntax-highlight the file. Comments invited. S

[U-Boot-Users] Patch to setenv() to return status

2008-06-12 Thread Steven A. Falco
Currently, the setenv function does not return an error code. I'd like to propose the following patch, because I want to be able to test for errors in a new BSP I'm writing. Comments invited. Signed-off-by: Steve Falco <[EMAIL PROTECTED]> diff --git a/include/common.h b/include/common.h index