Re: [U-Boot] [PATCH PPC_4xx V3] Print simple row of dots instead of spinning wheel

2008-10-27 Thread Matthias Fuchs
int verbose_lvl = 0; > char *str; > - char slash[] = "\\|/-\\|/-"; > - int loopi = 0; > struct sdram_timing *scan_list; > > #if defined(DEBUG_PPC4xx_DDR_AUTOCALIBRATION) > @@ -962,9 +955,9 @@ u32 DQS_autocalibration(void) > > mfsdram(SDRAM_MCOPT1, val); > if

Re: [U-Boot] [PATCH 1/6] ppc4xx: Handle other board variant in PMC440 FPGA code

2008-10-28 Thread Matthias Fuchs
Stefan, On Friday 10 October 2008 17:30, Stefan Roese wrote: > Matthias, > > On Wednesday 08 October 2008, [EMAIL PROTECTED] wrote: > > From: Matthias Fuchs <[EMAIL PROTECTED]> > > I know you're on vacation now, but nevertheless here a short report. > After

[U-Boot] [PATCH] ppc4xx: Fix PMC440 BSP commands

2008-10-28 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch fixes the PMC440 BSP commands painit and selfreset Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/cmd_pmc440.c | 70 +--- 1 files changed, 37 insertions(+), 33 deleti

[U-Boot] [PATCH] ppc4xx: Update PMC440 board configuration

2008-10-28 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/PMC440.h | 70 - 1 files changed, 43 insertions(+), 27 deletions(-) diff --git a/include/configs/PMC440.h b/include/configs/PM

[U-Boot] [PATCH] ppc4xx: Handle other board variant in PMC440 FPGA code

2008-10-28 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/fpga.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/board/esd/pmc440/fpga.c b/board/esd/pmc440/fpga.c index a35f42b..a2eda32 100644 ---

[U-Boot] [PATCH] ppc4xx: Fix esd loadpci command

2008-10-28 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch fixes esd's loadpci command when not all memory on adapter boards is accessable via PCI. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/common/cmd_loadpci.c | 24 1 files changed, 16

[U-Boot] [PATCH] ppc4xx: Update PMC440 board support

2008-10-28 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch brings PMC440 board support up to date: - fix GPIO configuration - add misc_init_f() - use better values for usbact variable - fix USB 2.0 phy reset sequence - shrink BAR2 to save PCI address space - add FDT support Signed-off-by: Ma

[U-Boot] [PATCH] ppc4xx: Clean up PMC440 header

2008-10-28 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> -Codingstyle cleanup -Remove unused GPIO define Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/pmc440.h | 17 +++-- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/board/esd/pmc440/pmc4

Re: [U-Boot] PCI405 doesn't build anymore

2008-11-21 Thread Matthias Fuchs
Hi Stefan, you are right. U-Boot has grown a little bit and for PCI405 it blasted the 192k limit. I cannot just increase the U-Boot size for this board, so I removed some unneeded code and features. I need to do some more testing with the stripped down configuration. I will post a patch at the

[U-Boot] [PATCH 1/3] ppc4xx: Remove unused code from PCI405 code

2008-11-24 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pci405/cmd_pci405.c | 871 - 1 files changed, 0 insertions(+), 871 deletions(-) diff --git a/board/esd/pci405/cmd_pci405.c b/boar

[U-Boot] [PATCH 3/3] ppc4xx: Remove unused features

2008-11-24 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch disables some unused features from the PCI405 configuration to keep U-Boot image size below 192k. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/PCI405.h | 57 +-

[U-Boot] [PATCH 2/3] ppc4xx: Use correct io accessors for PCI405

2008-11-24 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pci405/pci405.c | 51 ++-- 1 files changed, 16 insertions(+), 35 deletions(-) diff --git a/board/esd/pci405/pci405.c b/board/esd/pci

Re: [U-Boot] [PATCH] Added support for the Guntermann & Drunck PowerPC 440 EP/GR ETX module.

2008-12-02 Thread Matthias Fuchs
On Thursday 27 November 2008 13:36, Dirk Eibach wrote: > Signed-off-by: Dirk Eibach <[EMAIL PROTECTED]> > +int board_early_init_f(void) > +{ > + register uint reg; > + > + /* > + * Setup the external bus controller/chi

[U-Boot] [PATCH] ppc4xx: Update TEXT_BASE for CPCI405 boards

2008-12-10 Thread Matthias Fuchs
This patch fixes building U-Boot for CPCI405 boards. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- Makefile|5 + board/esd/cpci405/config.mk |6 +- include/configs/CPCI405.h |4 ++-- 3 files changed, 4 insertions(+), 11 deletions(-) diff -

[U-Boot] [PATCH V2] ppc4xx: Update TEXT_BASE for CPCI405 boards

2008-12-10 Thread Matthias Fuchs
This patch fixes building U-Boot for CPCI405 boards. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- Makefile|5 + board/esd/cpci405/config.mk |6 +- include/configs/CPCI405.h |6 +++--- 3 files changed, 5 insertions(+), 12 deletions(-) diff

[U-Boot] [PATCH 1/2] ppc4xx: Fix Ethernet PHY LED configuration on PMC440 boards

2008-12-10 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/pmc440.c | 22 ++ 1 files changed, 18 insertions(+), 4 deletions(-) diff --git a/board/esd/pmc440/pmc440.c b/board/esd/pmc440/pmc440.c index 8563d7d..4d81c33 100644 --- a/board/esd/pmc440/pmc440.c

[U-Boot] [PATCH 2/2] ppc4xx: Disable EEPROM write access on PMC440 boards

2008-12-10 Thread Matthias Fuchs
This patch disables EEPROM wrtie access by default on PMC440 board. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/pmc440.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/esd/pmc440/pmc440.c b/board/esd/pmc440/pmc440.c index 4

[U-Boot] [PATCH] rtc: Fix drivers/rtc/Makefile for DS1307/DS1338 chips

2008-08-20 Thread Matthias Fuchs
Boards with DS1307/DS1338 rtc like DU440 and kilauea fail to build without this fix. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- drivers/rtc/Makefile |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/rtc/Makefile b/drivers/rtc/Makefile index 2

Re: [U-Boot] [U-Boot-Users] Multiple USB controller support under Uboot

2008-08-26 Thread Matthias Fuchs
Hi Mike, U-Boot currently only supports one USB host controller at a time. So it's wrong to say that U-Boot finds only one, but correct is, that U-Boot only uses one. Commands to switch between different controllers or multi controller support is missing. You could add this feature ;-) Matthias

[U-Boot] [PATCH 3/6] 4xx: Cleanup PLU405 linker script

2008-09-02 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/plu405/u-boot.lds | 14 -- 1 files changed, 0 insertions(+), 14 deletions(-) diff --git a/board/esd/plu405/u-boot.lds b/board/esd/plu405/u-boot.lds index d70d379..d52b51a 100644 --- a/board/esd/plu405/u-boot.lds

[U-Boot] [PATCH 2/6] 4xx: Add fdt support for PLU405 boards

2008-09-02 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/PLU405.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/PLU405.h b/include/configs/PLU405.h index 0e04691..211d926 100644 --- a/include/configs/PLU405.h +++ b/include/configs/PL

[U-Boot] [PATCH 1/6] 4xx: Increase U-Boot size to 384kB for PLU405 boards

2008-09-02 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/plu405/config.mk |3 +-- include/configs/PLU405.h |6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/board/esd/plu405/config.mk b/board/esd/plu405/config.mk index 25b2105..0fb4efa 100644 --- a

[U-Boot] [PATCH 4/6] 4xx: Cleanup PLU405 platform file

2008-09-02 Thread Matthias Fuchs
This patch - wraps some long lines - removes unused/obsolete functions: misc_init_f() and initdram() Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/plu405/plu405.c | 58 1 files changed, 21 insertions(+), 37 deletions(-) diff

[U-Boot] [PATCH 5/6] 4xx: Enable USB on PLU405 boards

2008-09-02 Thread Matthias Fuchs
This patch enables the PCI-OHCI controller on PLU405 board. Also the default CPU frequency is updated to 266 MHz and command line editing is enabled. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/PLU405.h | 20 1 files changed, 16 insertions

[U-Boot] [PATCH 6/6] 4xx: Coding style cleanup

2008-09-02 Thread Matthias Fuchs
Wrap long lines etc. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/PLU405.h | 162 ++--- 1 files changed, 79 insertions(+), 83 deletions(-) diff --git a/include/configs/PLU405.h b/include/configs/PLU405.h index 4d302ef..3

[U-Boot] [PATCH 4/4] 4xx: Update VOM405 board configuration

2008-09-02 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> - remove PCI code - add command line editing - minor cleanup Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/VOM405.h | 52 -- 1 files changed, 9 insertions(+), 43 deleti

[U-Boot] [PATCH 2/4] 4xx: Cleanup VOM405 linker script

2008-09-02 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/vom405/u-boot.lds | 12 1 files changed, 0 insertions(+), 12 deletions(-) diff --git a/board/esd/vom405/u-boot.lds b/board/esd/vom405/u-boot.lds index 21547ac..5d

[U-Boot] [PATCH 3/4] 4xx: Remove obsolete initdram() function from VOM405 board

2008-09-02 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch removed the obsolete initdram() function from VOM405 platform file. Some minor cleanup. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/vom405/vom405.c | 25 - 1 files changed, 0 inser

[U-Boot] [PATCH 1/4] 4xx: Add fdt support for VOM405 boards

2008-09-02 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/VOM405.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/VOM405.h b/include/configs/VOM405.h index ec6f205..43404fc 100644 -

[U-Boot] [PATCH] 4xx: Remove obsolete or unused functions from some esd boards

2008-09-02 Thread Matthias Fuchs
This patch removes initdram() and testdram() from most esd 405 platforms. Some boards also have an empty dummy implementation of misc_init_f(). This is also removed. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/apc405/apc405.c | 10 -- board/esd/ash405/as

[U-Boot] [PATCH] ppx4xx: Fix broken DASA_SIM board

2008-09-03 Thread Matthias Fuchs
This patch adds initdram() to DASA_SIM boards that has been removed accidentally by a previous commit. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/dasa_sim/dasa_sim.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/board/esd/dasa_sim/dasa_s

Re: [U-Boot] [PATCH] ppx4xx: Fix broken DASA_SIM board

2008-09-04 Thread Matthias Fuchs
Hi Wolfgang, you are right. But currently I do not have any suitable IOP480 based hardware on my desk to test bigger changes. Matthias On Wednesday 03 September 2008 22:58, Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <[EMAIL PROTECTED]> you wrote: > > Thi

[U-Boot] CFG_64BIT_xxx and friends

2008-09-04 Thread Matthias Fuchs
Hi all, after testing the recent U-Boot code on a couple of 405EP boards I noticed, that the memsize in the output of the "bdinfo" command is always 0x. This is caused by using 64 types and format directives in printf that only work when CFG_64BIT_VSPRINTF is defined. So what's the best

[U-Boot] [PATCH 1/3] ppc4xx: Update CPCI405 variants handling

2008-09-05 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch replaces the BOARD_REVISION variable in include/config.mk by a using a temporary include file in the platform directory. The former way does not work anymore and the latter is alos used by some other boards. Signed-off-by: Matthias

[U-Boot] [PATCH 2/3] ppc4xx: Cleanup CPCI405 linker script

2008-09-05 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/cpci405/u-boot.lds | 15 --- 1 files changed, 0 insertions(+), 15 deletions(-) diff --git a/board/esd/cpci405/u-boot.lds b/board/esd/cpci405/u-boot.lds index 2154

[U-Boot] [PATCH 3/3] ppc4xx: Update CPCI405(AB) configuration

2008-09-05 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch add FDT support and command line editing capabilities for CPCI405 and CPCI405AB boards. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/CPCI4052.h |6 ++ include/configs/CPCI405AB.h |6 ++ 2 f

Re: [U-Boot] CFG_64BIT_xxx and friends

2008-09-08 Thread Matthias Fuchs
Here is the U-Boot size for the PLU405 board (405EP-based) with and without #define CFG_64BIT_VSPRINTF #define CFG_64BIT_STRTOUL . without: # ppc_4xx-size u-boot textdata bss dec hex filename 289568 17532 301312 608412 9489c u-boot with 64bit format handling: # ppc_4xx-

[U-Boot] [PATCH] ppc4xx: Fix out-of-tree building of CPCI405 variants

2008-09-09 Thread Matthias Fuchs
Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- Makefile |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index 73421db..251cdec 100644 --- a/Makefile +++ b/Makefile @@ -1248,6 +1248,7 @@ CPCI405_config: unconfig CPCI4052_

Re: [U-Boot] [PATCH] ppc4xx: Fix SDRAM inititialization of multiple 405 based board ports

2008-09-11 Thread Matthias Fuchs
100hd > - taihu > - zeus > > Signed-off-by: Stefan Roese <[EMAIL PROTECTED]> Looks good for PCI405. Acked-by: Matthias Fuchs <[EMAIL PROTECTED]> > --- > board/amcc/taihu/taihu.c |9 > board/dave/PPChameleonEVB/PPChameleonEVB.c |

[U-Boot] ctrl-c detection (on 4xx platforms)

2008-09-11 Thread Matthias Fuchs
Hi, I noticed some strange CTRL-C behavior in a BSP command. When I run my bsp command interactively everything is fine. The command waits for a condition and displays a rotating cursor (see board/esd/common/cmd_loadpci.c): ... int do_loadpci(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]) {

Re: [U-Boot] ctrl-c detection (on 4xx platforms)

2008-09-12 Thread Matthias Fuchs
LAY_STR #define CONFIG_AUTOBOOT_STOP_STR " " ... Matthias On Thursday 11 September 2008 22:55, Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <[EMAIL PROTECTED]> you wrote: > > > > I noticed some strange CTRL-C behavior in a BSP command. > >

Re: [U-Boot] ctrl-c detection (on 4xx platforms)

2008-09-12 Thread Matthias Fuchs
Friday 12 September 2008 09:00, Matthias Fuchs wrote: > Hi Wolfgang, > > yes I do have CONFIG_AUTOBOOT_KEYED enabled. It's the PMC440 board: > > include/configs/PMC440.h: > ... > #define CONFIG_AUTOBOOT_KEYED 1 > #define CONFIG_AUTOBOOT_PROMPT\ > &quo

Re: [U-Boot] ctrl-c detection (on 4xx platforms)

2008-09-13 Thread Matthias Fuchs
Hi Wolfgang, On Friday 12 September 2008 11:08:51 Wolfgang Denk wrote: > Dear Matthias Fuchs, > > In message <[EMAIL PROTECTED]> you wrote: > > when I disable CONFIG_AUTOBOOT_KEYED ctrl-c checking is not disabled. > > I think there is one "dis" ot &

Re: [U-Boot] [ppc440epx] D-CACHE

2008-09-16 Thread Matthias Fuchs
Sean, On Tuesday 16 September 2008 17:33:47 sean wrote: > I'm using u-boot-1.3.4 rc1 version on my custom board based on SEQUOIA. Which board are you talking about? [EMAIL PROTECTED]:~/git/u-boot$ grep EPx MAINTAINERS DU440 PPC440EPx PMC440 PPC440EPx HC

[U-Boot] [PATCH] api: Fix building with CONFIG_API

2008-09-24 Thread Matthias Fuchs
This patch fixes building with CONFIG_API and COFNIG_USB_STORAGE. USB_MAX_STOR_DEV is defined in include/usb.h, but needed in api/api_storage.c. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- api/api_storage.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff -

[U-Boot] [PATCH] api: fix type mismatch

2008-10-04 Thread Matthias Fuchs
This patch fixes a type mismatch and though removes a compiler warning when compiling with CONFIG_API on powerpc. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- api/api_platform-ppc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/api/api_platform-ppc.c

[U-Boot] [PATCH 2/4] ppc4xx: Fix DU440 GPIO configuration

2008-10-07 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/du440/du440.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/board/esd/du440/du440.c b/board/esd/du440/du440.c index 8765cc1..5cff9f5 100644 ---

[U-Boot] [PATCH 1/4] ppc4xx: Update DU440 config

2008-10-07 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/DU440.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/include/configs/DU440.h b/include/configs/DU440.h index 9f8c423..fd0c046 100644 -

[U-Boot] [PATCH 3/4] ppc4xx: Add strapping mode for 667MHz CPU frequency on DU440 board

2008-10-07 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/du440/du440.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/board/esd/du440/du440.c b/board/esd/du440/du440.c index 5cff9f5..7df2adb 100644 ---

[U-Boot] [PATCH 4/4] ppc4xx: Fix USB 2.0 phy reset sequence

2008-10-07 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch fixes USB 2.0 communication issues on some DU440 boards. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/du440/du440.c | 35 --- 1 files changed, 32 insertions(+), 3 deletions(-)

Re: [U-Boot] [PATCH 4/4] ppc4xx: Fix USB 2.0 phy reset sequence

2008-10-08 Thread Matthias Fuchs
October 2008 11:51, Stefan Roese wrote: > Hi Matthias, > > On Tuesday 07 October 2008, [EMAIL PROTECTED] wrote: > > From: Matthias Fuchs <[EMAIL PROTECTED]> > > > > This patch fixes USB 2.0 communication issues on some DU440 boards. > > Is this a potential problem

Re: [U-Boot] [PATCH 2/4] ppc4xx: Fix DU440 GPIO configuration

2008-10-08 Thread Matthias Fuchs
ober 2008, [EMAIL PROTECTED] wrote: > > From: Matthias Fuchs <[EMAIL PROTECTED]> > > > > Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> > > --- > > board/esd/du440/du440.c | 10 +- > > 1 files changed, 5 insertions(+), 5 deletions(-)

[U-Boot] [PATCH 2/6] ppc4xx: Clean up PMC440 header

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> -Codingstyle cleanup -Remove unused GPIO define Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/pmc440.h | 17 +++-- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/board/esd/pmc440/pmc4

[U-Boot] [PATCH 5/6] ppc4xx: Fix PMC440 BSP commands

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch fixes the PMC440 BSP commands painit and selfreset Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/cmd_pmc440.c | 70 +--- 1 files changed, 37 insertions(+), 33 deleti

[U-Boot] [PATCH 1/6] ppc4xx: Handle other board variant in PMC440 FPGA code

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/pmc440/fpga.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/board/esd/pmc440/fpga.c b/board/esd/pmc440/fpga.c index a35f42b..a2eda32 100644 ---

[U-Boot] [PATCH 4/6] ppc4xx: Update PMC440 board configuration

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- include/configs/PMC440.h | 62 +- 1 files changed, 39 insertions(+), 23 deletions(-) diff --git a/include/configs/PMC440.h b/include/conf

[U-Boot] [PATCH 6/6] ppc4xx: Update PMC440 board support

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch brings PMC440 board support up to date: - fix GPIO configuration - add misc_init_f() - use better values for usbact variable - fix USB 2.0 phy reset sequence - shrink BAR2 to save PCI address space - add FDT support Signed-off-by: Ma

[U-Boot] [PATCH 3/6] ppc4xx: Fix esd loadpci command

2008-10-08 Thread matthias . fuchs
From: Matthias Fuchs <[EMAIL PROTECTED]> This patch fixes esd's loadpci command when not all memory on adapter boards is accessable via PCI. Signed-off-by: Matthias Fuchs <[EMAIL PROTECTED]> --- board/esd/common/cmd_loadpci.c | 18 ++ 1 files changed, 10

Re: [U-Boot] [PATCH] Fix USB init sequence for the lwmon5 board.

2008-10-09 Thread Matthias Fuchs
SDR0_SRST1_OPB2PLB40); > + mtsdr(SDR0_SRST1, sdr0_srst); > + > udelay (1000); > + > + /* deassert all other resets */ > mtsdr(SDR0_SRST0, 0x); > + mtsdr(SDR0_SRST1, 0x); > + > + udelay(1000); > > p

Re: [U-Boot] U-Boot: am335x video support

2013-06-26 Thread Matthias Fuchs
Hi Heiko, perhaps you should take a look at the DA8XX driver. At least under Linux this driver also handles the AM335x. Splash screen support (meaning support of the splashimage variable) might be a problem because it expects a direct mapped physical address where the splash image is stored - typ

Re: [U-Boot] [PATCH] board: delete unused header files

2014-01-08 Thread Matthias Fuchs
Thanks. Acked-by: Matthias Fuchs On 08.01.2014 12:11, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada > --- > > board/cogent/kbm.h | 79 - > board/cray/L1/L1.h | 28 -- > board/esd/common/s1d13806_64

Re: [U-Boot] [PATCH] ppc4xx: Remove 4xx NAND booting support

2014-03-05 Thread Matthias Fuchs
not affect the "normal", non NAND-booting ppc4xx platforms > that are currently supported. > > Signed-off-by: Stefan Roese > Cc: Wolfgang Denk > Cc: Tirumala Marri > Cc: Matthias Fuchs > Cc: Masahiro Yamada > Cc: Tom Rini I used this chance to test today'

[U-Boot] [PATCH] common, env: Fix support for environment in i2c eeprom

2014-03-19 Thread Matthias Fuchs
When using CONFIG_SYS_I2C i2c needs to be initialized by i2c_init_all(). This is done in some places but not in eeprom_init(). Signed-off-by: Matthias Fuchs --- common/cmd_eeprom.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/common/cmd_eeprom.c b/common

[U-Boot] [PATCH] 4xx: add support for new PMC440 revision

2014-03-19 Thread Matthias Fuchs
This patch adds support for the new PMC440 hardware revision 1.4. The board now uses Micrel KSZ9031 phys. Add missing i2c initialization before reading bootstrap eeprom. Signed-off-by: Matthias Fuchs --- board/esd/pmc440/pmc440.c | 83 + 1 file

Re: [U-Boot] [PATCH] 4xx: add support for new PMC440 revision

2014-03-19 Thread Matthias Fuchs
On 19.03.2014 12:44, Stefan Roese wrote: >> -if (miiphy_write("ppc_4xx_eth0", CONFIG_PHY_ADDR, 0x1f, 0x0001) == 0) { >> -miiphy_write("ppc_4xx_eth0", CONFIG_PHY_ADDR, 0x11, 0x0010); >> -miiphy_write("ppc_4xx_eth0", CONFIG_PHY_ADDR, 0x11, >> val_behavior); >> -

[U-Boot] [PATCH] 4xx: cleanup ethernet phy initialization on PMC440 boards

2014-03-19 Thread Matthias Fuchs
This patch moves phy initialization for VSC8601 ethernet phys that are used on early board revisions into a separate setup function. Signed-off-by: Matthias Fuchs --- board/esd/pmc440/pmc440.c | 45 ++--- 1 files changed, 22 insertions(+), 23 deletions

[U-Boot] [PATCH V2] 4xx: add support for new PMC440 revision with cleanup

2014-03-25 Thread Matthias Fuchs
This patch adds support for the new PMC440 hardware revision 1.4. The board now uses Micrel KSZ9031 phys. Add missing i2c initialization before reading bootstrap eeprom. Fix a couple of coding style issues. Make local functions static. Signed-off-by: Matthias Fuchs --- board/esd/pmc440

Re: [U-Boot] [PATCH] board: esd: remove remainders of dead boards

2014-03-31 Thread Matthias Fuchs
; Cc: Stefan Roese thanks. Acked-by: Matthias Fuchs Matthias ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] ppc4xx: Fix APC405 board support

2010-08-25 Thread Matthias Fuchs
Opps, after a long time I tested recent u-boot on our APC405 board. This simple fix makes networking work again. Signed-off-by: Matthias Fuchs --- include/configs/APC405.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/APC405.h b/include/configs/APC405

[U-Boot] [PATCH] ppx4xx: remove unused functionality for DU405 boards

2010-09-21 Thread Matthias Fuchs
Remove some unused functionality to make U-Boot build again. Especially PCI is not used on the board. Signed-off-by: Matthias Fuchs --- include/configs/DU405.h | 31 +-- 1 files changed, 5 insertions(+), 26 deletions(-) diff --git a/include/configs/DU405.h b

Re: [U-Boot] [PATCH] Revert "common, env: Fix support for environment in i2c eeprom"

2014-10-14 Thread Matthias Fuchs
SYS_I2C > - i2c_init_all(); > -#else > - i2c_init(CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); > -#endif > +#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SYS_I2C_SOFT) > + i2c_init (CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SLAVE); > #endif > } > > -- --

Re: [U-Boot] [PATCH] Revert "common, env: Fix support for environment in i2c eeprom"

2014-10-14 Thread Matthias Fuchs
On 10/14/2014 03:01 PM, Holger Brunck wrote: > On 10/14/2014 02:32 PM, Matthias Fuchs wrote: >> Hi Valentin, >> >> my patch fixed environment from i2c eeprom. I am not sure on which board >> I ran into that trouble. Probably PMC440. So reverting my former patch >&

Re: [U-Boot] [PATCH] Revert "common, env: Fix support for environment in i2c eeprom"

2014-10-23 Thread Matthias Fuchs
Hi Valentin, On 10/14/2014 04:21 PM, Valentin Longchamp wrote: > Hi Matthias, > > On 10/14/2014 02:32 PM, Matthias Fuchs wrote: >> Hi Valentin, >> >> my patch fixed environment from i2c eeprom. I am not sure on which board >> I ran into that trouble. Probably PMC

Re: [U-Boot] [PATCH] Revert "common, env: Fix support for environment in i2c eeprom"

2014-10-23 Thread Matthias Fuchs
Hi Valentin, On 10/14/2014 04:21 PM, Valentin Longchamp wrote: > Hi Matthias, > > On 10/14/2014 02:32 PM, Matthias Fuchs wrote: >> Hi Valentin, >> >> my patch fixed environment from i2c eeprom. I am not sure on which board >> I ran into that trouble. Probably PMC

[U-Boot] [PATCH] ppc4xx: update PMC440 board support

2014-10-23 Thread Matthias Fuchs
- switch to GENERIC_BOARD - fix env support from eeprom Signed-off-by: Matthias Fuchs --- board/esd/pmc440/cmd_pmc440.c |6 +++--- include/configs/PMC440.h |3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/board/esd/pmc440/cmd_pmc440.c b/board/esd/pmc440

[U-Boot] [PATCH v2] ppc4xx: update PMC440 board support

2014-10-26 Thread Matthias Fuchs
- switch to GENERIC_BOARD - fix env support from eeprom Signed-off-by: Matthias Fuchs --- changes in v2: - add CONFIG_DISPLAY_BOARDINFO to enable checkboard() for correct hardware revision handling board/esd/pmc440/cmd_pmc440.c |6 +++--- include/configs/PMC440.h |4 2

Re: [U-Boot] [PATCH] ppc4xx: update PMC440 board support

2014-10-26 Thread Matthias Fuchs
Hi Anatolij, On 10/23/2014 06:09 PM, Anatolij Gustschin wrote: > Hi Matthias, > > On Thu, 23 Oct 2014 17:50:23 +0200 > Matthias Fuchs wrote: > ... >> diff --git a/include/configs/PMC440.h b/include/configs/PMC440.h >> index c5e2f16..dc2c976 100644 >> --- a/

[U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-11 Thread Matthias Fuchs
Hi Fabio, can you confirm that the current u-boot-imx tree runs fine on the MX28EVK? I tried it but the debug console stays dead. This is what I did: 1) make mx28evk 2) make u-boot.sb 3) ./tools/mxsboot sd u-boot.sb u-boot-sd.sb 4) prepare an SD card as described in doc/README.m28 (only one part

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Matthias Fuchs
;S initial 2009.08 u-boot for this CPU. Matthias On 11.01.2012 16:12, Fabio Estevam wrote: > Hi Matthias, > > On Wed, Jan 11, 2012 at 12:41 PM, Matthias Fuchs > wrote: >> Hi Fabio, >> >> can you confirm that the current u-boot-imx tree runs fine >> on the M

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Matthias Fuchs
On 12.01.2012 11:15, Fabio Estevam wrote: > Hi Matthias, > > On Thu, Jan 12, 2012 at 8:07 AM, Matthias Fuchs wrote: >> Hi Fabio, >> >> thanks for your details. Some of the discrete switches where messed up. >> Boot Mode was fine. So now it's working fi

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-12 Thread Matthias Fuchs
MMC driver. This bug prevents you from loading files from a file system on an > SD-Card. > > Robert. > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot > -- ---

Re: [U-Boot] u-boot-imx on Freescale MX28EVK

2012-01-13 Thread Matthias Fuchs
Robert, On 13.01.2012 11:33, Robert Deliën wrote: > Hi Matthias, > >> I a patch would be welcome. I only need USB and SPI flash for my >> application. And USB was easy to setup. Currently I am also jiggling >> around the SPI / SPI flash support. > > For USB, all you need to do is to configure it

[U-Boot] mx28: bug in mxs_spi driver

2012-01-13 Thread Matthias Fuchs
Hi, I ran into trouble when trying to extend MX28EVK board support for a SPI flash (SST24VF032B). Some code finally runs into spi_flash_cmd_poll_bit() (spi_flash.c). This function is then used to poll the flash's status register: int spi_flash_cmd_poll_bit(struct spi_flash *flash, unsigned long

[U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-14 Thread Matthias Fuchs
D flag set. This results in an extra read with the chip select being deasserted afterwards. There seems to be no way to deassert the signal by hand. Signed-off-by: Matthias Fuchs --- drivers/spi/mxs_spi.c | 12 +--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/d

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-14 Thread Matthias Fuchs
s on the M28EVK (Denx) also. You might want to turn SPI + spi_flash debugging to see it. Also I found a posting from Alexander Keller on the u-boot list from 12/13/2011. Perhaps the can check if this patch fixes his problems also. Matthias > >> >> Signed-off-by: Matthias

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-14 Thread Matthias Fuchs
This cannot work. I do not understand what you are trying to achieve with this. Matthias On 01/14/2012 07:54 PM, Fabio Estevam wrote: > On Sat, Jan 14, 2012 at 4:53 PM, Fabio Estevam wrote: > >> Actually I meant this: > > One more time ;-) > > --- a/drivers/spi/mxs_spi.c > +++ b/drivers/spi/m

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-15 Thread Matthias Fuchs
On 01/14/2012 09:14 PM, Fabio Estevam wrote: > On Sat, Jan 14, 2012 at 6:09 PM, Matthias Fuchs wrote: >> This cannot work. I do not understand what you are trying to achieve with >> this. > > I would like to avoid the extra dummy read that your patch proposes. That's w

Re: [U-Boot] [PATCH] mx28: fix i.MX28 spi driver

2012-01-15 Thread Matthias Fuchs
On 01/15/2012 04:28 PM, Fabio Estevam wrote: > On Sun, Jan 15, 2012 at 10:10 AM, Matthias Fuchs > wrote: > >> That's what I also tried. But from the ref manual I got no idea. >> When we do not find a hy to deassert the chip select manually, we cannot >> avoid thi

Re: [U-Boot] SPI Test

2012-01-16 Thread Matthias Fuchs
On 16.01.2012 12:23, Marek Vasut wrote: >> Hmm, >> >> can you tell me what type of SPI flash you have installed? >> Typically the read-status-register operation requires a low to high >> transition to get terminated. This is from my flash' datasheet: >> >> Read-Status-Register (RDSR) >> The Read-St

[U-Boot] [PATCH 3/3] mx28evk: add SPI support

2012-01-18 Thread Matthias Fuchs
SPI flash. Signed-off-by: Matthias Fuchs --- board/freescale/mx28evk/iomux.c |8 +++ include/configs/mx28evk.h | 44 -- 2 files changed, 49 insertions(+), 3 deletions(-) diff --git a/board/freescale/mx28evk/iomux.c b/board/freescale/mx28evk

[U-Boot] [PATCH 2/3] mx28evk: add USB support

2012-01-18 Thread Matthias Fuchs
This patch enables USB host support on the MX28EVK board. Signed-off-by: Matthias Fuchs --- board/freescale/mx28evk/mx28evk.c |7 +++ include/configs/mx28evk.h | 12 2 files changed, 19 insertions(+), 0 deletions(-) diff --git a/board/freescale/mx28evk/mx28evk.c

[U-Boot] [PATCH 1/3] mx28evk: add RTC support

2012-01-18 Thread Matthias Fuchs
This patch adds support for the MX28 internal RTC and enables u-boot's date command. Signed-off-by: Matthias Fuchs --- include/configs/mx28evk.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/include/configs/mx28evk.h b/include/configs/mx28evk.h index be

[U-Boot] [PATCH/RFC] mx28: print bootmode with cpuinfo

2012-01-18 Thread Matthias Fuchs
controller). Reading the pins is done from SPL stage and the information is passed in the SCRATCH1+2 registers together with the memory size. Signed-off-by: Matthias Fuchs --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 43 +-- arch/arm/cpu/arm926ejs/mx28/spl_boot.c

[U-Boot] [PATCH/RFC] mx28: print bootmode with cpuinfo

2012-01-18 Thread Matthias Fuchs
controller). Reading the pins is done from SPL stage and the information is passed in the SCRATCH1+2 registers together with the memory size. Signed-off-by: Matthias Fuchs --- arch/arm/cpu/arm926ejs/mx28/mx28.c | 43 +-- arch/arm/cpu/arm926ejs/mx28/spl_boot.c

Re: [U-Boot] [PATCH 3/3] mx28evk: add SPI support

2012-01-18 Thread Matthias Fuchs
>> This patch has been tested on a MX28EVK Rev. D with an installed >> SST25VF032B 32Mbit SPI flash. >> >> Signed-off-by: Matthias Fuchs >> --- >> board/freescale/mx28evk/iomux.c |8 +++ >> include/configs/mx28evk.h | 44 >>

Re: [U-Boot] [PATCH/RFC] mx28: print bootmode with cpuinfo

2012-01-24 Thread Matthias Fuchs
On 23.01.2012 21:33, Fabio Estevam wrote: > Hi Matthias, > > On 1/18/12, Matthias Fuchs wrote: >> Hi, >> >> while playing around with the mx28evk and differnet bootmedia >> I found it helpful to see the current bootmode without >> running to the board a

Re: [U-Boot] [RFC] mx28: Fix reboot from the kernel

2012-01-25 Thread Matthias Fuchs
On 24.01.2012 17:23, Fabio Estevam wrote: > When running Linux on a mx28evk and issuing a 'reboot'command the following > behaviour is observed: > > root@freescale /$ reboot > > starting pid 329, tty '': '/etc/rc.d/rcS stop'

Re: [U-Boot] [PATCH V3 4/6] sf command: allow default chip select through CONFIG_SPI_FLASH_CS

2012-01-25 Thread Matthias Fuchs
Hi Eric, please see my comments below. On 24.01.2012 17:18, Eric Nelson wrote: > This patch allows a board configuration file to provide a default > chip-select for serial flash so that first argument to the 'sf' command > is optional. > > On boards that use the mxc_spi driver and a GPIO for ch

Re: [U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-31 Thread Matthias Fuchs
01:00, Marek Vasut wrote: > The DC power STS shouldn't be checked if booting off 5V supply. > > Signed-off-by: Marek Vasut > Cc: Wolfgang Denk > Cc: Detlev Zundel > Cc: Stefano Babic > Cc: Robert Deliën > Cc: Fabio Estevam > Cc: Matthias Fuchs >

Re: [U-Boot] [PATCH 1/2] sf command: allow default bus and chip selects

2012-01-31 Thread Matthias Fuchs
Works fine. Matthias Tested-by: Matthias Fuchs On 30.01.2012 21:02, Eric Nelson wrote: > This patch allows a board configuration file to provide default bus > and chip-selects for SPI flash so that first argument to the 'sf' command > is optional. > > On boards that u

  1   2   3   >