Re: [U-Boot-Users] using a flat device tree to drive u-boot config

2008-07-29 Thread Wolfgang Grandegger
André Schwarz wrote: > Ben Warren schrieb: >> On Mon, Jul 28, 2008 at 10:43 AM, Scott Wood <[EMAIL PROTECTED]> wrote: >>> Ben Warren wrote: On Mon, Jul 28, 2008 at 10:32 AM, Scott Wood <[EMAIL PROTECTED]> wrote: > I find a device tree much easier to figure out than a tangled mess of >

Re: [U-Boot-Users] using a flat device tree to drive u-boot config

2008-07-28 Thread Wolfgang Grandegger
Kumar Gala wrote: > One topic that come up during OLS in discussions and u-boot BOF was > the idea of driving u-boot configuration from a device tree instead of > from "config.h". I was wondering if anyone has actually looked at > doing this. Last year I brought up the topic twice: http://

Re: [U-Boot-Users] [PATCH] mpc85xx: make the MxMR register in upmconfig as a parameter

2008-07-21 Thread Wolfgang Grandegger
Sebastian Siewior wrote: > * Wolfgang Grandegger | 2008-07-15 13:28:40 [+0200]: > >> Sebastian Siewior wrote: >>> * Andy Fleming | 2008-07-14 19:27:08 [-0500]: >>> >>>> On Mon, Jul 14, 2008 at 5:54 AM, Sebastian Siewior >>>> <[EMAIL PROTECT

Re: [U-Boot-Users] [PATCH] mpc85xx: make the MxMR register in upmconfig as a parameter

2008-07-15 Thread Wolfgang Grandegger
Sebastian Siewior wrote: > * Andy Fleming | 2008-07-14 19:27:08 [-0500]: > >> On Mon, Jul 14, 2008 at 5:54 AM, Sebastian Siewior >> <[EMAIL PROTECTED]> wrote: >>> The default value for the MxMR register is not always the right one. >>> This patch adds the value of MxMR register as an additional >>

Re: [U-Boot-Users] [PATCH] mpc85xx: make the MxMR register in upmconfig as a parameter

2008-07-15 Thread Wolfgang Grandegger
Sebastian Siewior wrote: > The default value for the MxMR register is not always the right one. > This patch adds the value of MxMR register as an additional > parameter (plus a few defines instead of hex coded values). > > Signed-off-by: Sebastian Siewior <[EMAIL PROTECTED]> > --- > cpu/mpc85xx/

Re: [U-Boot-Users] [PATCH] V3: mpc85xx set CCB:LBC ratio (CONFIG_LBC_CLOCK_RATIO)

2008-07-11 Thread Wolfgang Grandegger
John Ogness wrote: > I've changed the patch so that it is less intrusive. It now simply > adds the new function to the "init_sequence" if defined. > > Signed-off-by: John Ogness <[EMAIL PROTECTED]> Could you please send your patches inline next time to simplify reviewing? Thanks. I have a gener

Re: [U-Boot-Users] [PATCH v2 0/12] 85xx: various fixes for TQM85xx and support for TQM8548

2008-07-09 Thread Wolfgang Grandegger
Hi Andy, Andy Fleming wrote: > On Thu, Jun 5, 2008 at 6:11 AM, Wolfgang Grandegegr <[EMAIL PROTECTED]> wrote: >> this is v2 of patches fixing various issues with TQM85xx modules and adding >> support for TQM8548 modules from TQ Components GmbH (http://www.tqc.de). >> >> Note: The patches rely on "

Re: [U-Boot-Users] [PATCH] Add MVBC_P board

2008-07-04 Thread Wolfgang Grandegger
Andre Schwarz wrote: > The MVBC_P is a MPC5200B based camera system with Intel Gigabit ethernet > controller (using e1000) and custom Altera Cyclone-II FPGA on PCI. > Please see doc/README.mvbc_p for details. One general remark. Please use the in_*() and out_*() accessor functions to access I/O sp

Re: [U-Boot-Users] e1000 problem @ current u-boot

2008-07-03 Thread Wolfgang Grandegger
ed to the latest kernel we need a more recent u-boot. > > This is what I did - and e1000 no longer works. > > Of course I diff'ed the network stuff - no obvious changes at all. > So I wonder if the problem is elsewhere and if e1000 is still working in > general. Have

Re: [U-Boot-Users] e1000 problem @ current u-boot

2008-07-03 Thread Wolfgang Grandegger
Andre Schwarz wrote: > Wolfgang, > > as far as I can see on the list you sent the latest patches for the > e1000 driver. My patches just added some device ids, > My e1000 (82541ER) stopped working on a MPC5200 based board with latest > u-boot. > I have a similar problem on another board ... >

Re: [U-Boot-Users] Please pull u-boot-mpc85xx.git (v2)

2008-06-12 Thread Wolfgang Grandegger
anup. >> Socrates: added missed file with UPMA configuration data. >> NAND: Added support for 128-bit OOB, adapted >> Socrates: NAND support added. Changed the U-Boot base address and >> Socrates: Added FPGA base address update in FDT. >> >>

Re: [U-Boot-Users] [PATCH 1/2] 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h

2008-06-06 Thread Wolfgang Grandegger
Anton Vorontsov wrote: > On Wed, May 28, 2008 at 12:21:26PM -0500, Kim Phillips wrote: >> On Wed, 28 May 2008 18:20:15 +0400 >> Anton Vorontsov <[EMAIL PROTECTED]> wrote: >> >>> This patch moves Freescale Localbus defines out of mpc83xx.h, so we could >>> use it on MPC85xx and MPC86xx processors. >

Re: [U-Boot-Users] [PATCH v3 0/2] NAND FSL UPM driver update

2008-06-05 Thread Wolfgang Grandegger
The following lines got lost: This is v3 of the patches for NAND FSL UPM driver update. They are based on the following patches already sent to this list: Wolfgang Grandegegr wrote: > [PATCH 1/2] 83xx/85xx/86xx: factor out Freescale Localbus defines out of > mpc83xx.h >Re: [PATCH 1/2] 83xx

Re: [U-Boot-Users] [PATCH] TQM: move TQM boards to board/tqc

2008-06-04 Thread Wolfgang Grandegger
Andy Fleming wrote: > On Mon, Jun 2, 2008 at 6:22 PM, Andy Fleming <[EMAIL PROTECTED]> wrote: >> On Wed, May 28, 2008 at 12:53 PM, <[EMAIL PROTECTED]> wrote: >>> From: Wolfgang Grandegger <[EMAIL PROTECTED]> >>> >>> Move all TQM board dire

[U-Boot-Users] [PATCH v2] PPC: add accessor macros to clear and set bits in one shot

2008-06-04 Thread Wolfgang Grandegger
forthcoming FSL NAND UPM driver re-write and the support for the TQM8548 module. Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- include/asm-ppc/io.h | 36 1 file changed, 36 insertions(+) Index: u-boot/include/asm-pp

Re: [U-Boot-Users] [PATCH] PPC: add accessor macros to clear and set bits in one shot

2008-06-04 Thread Wolfgang Grandegger
o clear and >> set bits in one shot using the in_be32, out_be32, etc. accessor functions. >> They are very handy to manipulate bits it I/O registers. >> >> This patch is required for my forthcoming FSL NAND UPM driver re-write and >> the support for the TQM8548 module

[U-Boot-Users] [PATCH v2] NAND FSL UPM: driver re-write using the hwcontrol callback

2008-06-03 Thread Wolfgang Grandegger
acros to clear and set bits in one shot [PATCH] 83xx/85xx/86xx: add more MxMR local bus definitions In principle, the NAND driver of the TQM8272 should work with it as well. Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> Acked-by: Anton Vorontsov

Re: [U-Boot-Users] [PATCH] MPC85xx: Beatify boot output of L2 cache configuration

2008-06-03 Thread Wolfgang Grandegger
Andy Fleming wrote: > On Wed, May 28, 2008 at 1:12 PM, Wolfgang Grandegger <[EMAIL PROTECTED]> > wrote: >> The boot output is now aligned poperly with other boot output >> lines, e.g.: >> >> FLASH: 128 MB >> L2:512 KB enabled >> >>

Re: [U-Boot-Users] [PATCH] 83xx/85xx/86xx: add more MxMR local bus definitions

2008-06-02 Thread Wolfgang Grandegger
Scott Wood wrote: > On Mon, Jun 02, 2008 at 12:09:30PM +0200, Wolfgang Grandegger wrote: >> 83xx/85xx/86xx: add more MxMR local bus definitions >> >> This patch adds more macro definitions for the UPM Machine Mode Registers >> They are copied from "include/mpc82xx

Re: [U-Boot-Users] [PATCH] NAND FSL UPM: driver re-write using the hwcontrol callback

2008-06-02 Thread Wolfgang Grandegger
Stefan Roese wrote: > On Monday 02 June 2008, Wolfgang Grandegger wrote: >>>> Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> >>> Acked-by: Anton Vorontsov <[EMAIL PROTECTED]> >> All 4 patches are maintained by different people. What is the fas

[U-Boot-Users] [PATCH v2] MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver

2008-06-02 Thread Wolfgang Grandegger
MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver This patch is based on the following patch sent a few minutes ago: "[PATCH] NAND FSL UPM: driver re-write using the hwcontrol callback" Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> Acked-by:

Re: [U-Boot-Users] [PATCH] NAND FSL UPM: driver re-write using the hwcontrol callback

2008-06-02 Thread Wolfgang Grandegger
Anton Vorontsov wrote: > On Mon, Jun 02, 2008 at 12:11:11PM +0200, Wolfgang Grandegger wrote: >> NAND FSL UPM: driver re-write using the hwcontrol callback >> >> This is a re-write of the NAND FSL UPM driver using the more universal >> hwcontrol callback (instead of the

Re: [U-Boot-Users] [PATCH] MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver

2008-06-02 Thread Wolfgang Grandegger
Anton Vorontsov wrote: > On Mon, Jun 02, 2008 at 12:14:51PM +0200, Wolfgang Grandegger wrote: >> MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver >> >> This patch is based on the following patch sent a few minutes ago: >> "[PATCH] NAND FS

[U-Boot-Users] [PATCH] MPC8360ERDK: adapt NAND interface for the re-written FSL NAND UPM driver

2008-06-02 Thread Wolfgang Grandegger
ned-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- board/freescale/mpc8360erdk/nand.c | 29 +++-- 1 file changed, 27 insertions(+), 2 deletions(-) Index: u-boot/board/freescale/mpc8360erdk/nand.c === --- u

[U-Boot-Users] [PATCH] NAND FSL UPM: driver re-write using the hwcontrol callback

2008-06-02 Thread Wolfgang Grandegger
shot [PATCH] 83xx/85xx/86xx: add more MxMR local bus definitions Anton, could you please verify if it works on your MPC8360ERDK board as well. A patch will follow. In principle, the NAND driver of the TQM8272 should work with it as well. Signed-off-by: Wolfgang Grandegger <[

[U-Boot-Users] [PATCH] 83xx/85xx/86xx: add more MxMR local bus definitions

2008-06-02 Thread Wolfgang Grandegger
87.html I leave coding style violation fixes, code beautification and name corrections to somebody else ;-(. Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- include/asm-ppc/fsl_lbc.h | 43 ++- 1 file changed, 38 insertions(+), 5 deleti

[U-Boot-Users] [PATCH] PPC: add accessor macros to clear and set bits in one shot

2008-06-02 Thread Wolfgang Grandegger
forthcoming FSL NAND UPM driver re-write and the support for the TQM8548 module. Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- include/asm-ppc/io.h | 28 1 file changed, 28 insertions(+) Index: u-boot/include/asm-pp

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-06-02 Thread Wolfgang Grandegger
Anton Vorontsov wrote: > On Fri, May 30, 2008 at 08:00:32PM +0200, Wolfgang Grandegger wrote: > [...] >> Fix that, but I can still not access the device properly. I'm a bit >> puzzled because it uses a different algorithm to access the device. >> While my and the Linux

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-31 Thread Wolfgang Grandegger
Wolfgang Grandegger wrote: > Anton Vorontsov wrote: >> On Fri, May 30, 2008 at 08:00:32PM +0200, Wolfgang Grandegger wrote: >> [...] >>> Fix that, but I can still not access the device properly. I'm a bit >>> puzzled because it uses a different algorithm to a

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-31 Thread Wolfgang Grandegger
Anton Vorontsov wrote: > On Fri, May 30, 2008 at 08:00:32PM +0200, Wolfgang Grandegger wrote: > [...] >> Fix that, but I can still not access the device properly. I'm a bit >> puzzled because it uses a different algorithm to access the device. >> While my and the Linux

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-30 Thread Wolfgang Grandegger
Anton Vorontsov wrote: > On Thu, May 29, 2008 at 01:58:14PM +0200, Wolfgang Grandegger wrote: >> Anton Vorontsov wrote: >>> On Wed, May 28, 2008 at 08:38:37PM +0200, Wolfgang Grandegger wrote: >>>> Scott Wood wrote: >>>>> On Wed, May 28, 2008 a

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-29 Thread Wolfgang Grandegger
Anton Vorontsov wrote: > On Wed, May 28, 2008 at 08:38:37PM +0200, Wolfgang Grandegger wrote: >> Scott Wood wrote: >>> On Wed, May 28, 2008 at 08:12:28PM +0200, Wolfgang Grandegger wrote: >>>> This patch adds support for NAND FLASH on the TQM8548. It is disabled by &

Re: [U-Boot-Users] [PATCH] TQM: move TQM boards to board/tqc

2008-05-29 Thread Wolfgang Grandegger
[EMAIL PROTECTED] wrote: > From: Wolfgang Grandegger <[EMAIL PROTECTED]> > > Move all TQM board directories to the vendor specific directory "tqc" > for modules from TQ-Components GmbH (http://www.tqc.de). > > Note: this patch is too big for posting here a

Re: [U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-28 Thread Wolfgang Grandegger
Scott Wood wrote: > On Wed, May 28, 2008 at 08:12:28PM +0200, Wolfgang Grandegger wrote: >> This patch adds support for NAND FLASH on the TQM8548. It is disabled by >> default and can be enabled for the TQM8548 modules. Note that the R/B pin >> is not supported by that module

[U-Boot-Users] [PATCH] TQM85xx: Change memory map to support Flash memory > 128 MiB

2008-05-28 Thread Wolfgang Grandegger
(tqm8548.dtb). Signed-off-by: Martin Krause <[EMAIL PROTECTED]> Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- board/tqc/tqm85xx/law.c | 29 -- board/tqc/tqm85xx/tlb.c | 97 + include/configs/TQM8

[U-Boot-Users] [PATCH] TQM8548: PCI express support

2008-05-28 Thread Wolfgang Grandegger
This patch adds support for PCI express cards. The board support now uses common FSL PCI init code, for both, PCI and PCIe on all TQM85xx modules. Signed-off-by: Thomas Waehner <[EMAIL PROTECTED]> Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- board/tqc/tqm85xx/law.

[U-Boot-Users] [PATCH] TQM85xx: NAND support via local bus UPMB

2008-05-28 Thread Wolfgang Grandegger
exceeds 256 KB and TEXT_BASE must therefore be set to 0xfff8 in config.mk, doubling the image size :-(. Signed-off-by: Thomas Waehner <[EMAIL PROTECTED]> Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- board/tqc/tqm85xx/Makefile |8 +- board/tqc/tqm85xx/law.c|6 +

[U-Boot-Users] [PATCH] TQM85xx: Support for Flat Device Tree

2008-05-28 Thread Wolfgang Grandegger
This patch adds support for Linux kernels using the Flat Device Tree. It also re-defines the default environment settings for booting Linux with the FDT blob. Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- Makefile|3 +- board/tqc/tqm85xx/tqm85xx.c

[U-Boot-Users] [PATCH] TQM85xx: Support for Intel 82527 compatible CAN controller

2008-05-28 Thread Wolfgang Grandegger
This patch adds initialization of the UPMC RAM to support up to two Intel 82527 compatible CAN controller on the TQM85xx modules. Signed-off-by: Thomas Waehner <[EMAIL PROTECTED]> Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- board/tqc/tqm85xx/law.c |4 +++ board

[U-Boot-Users] [PATCH] TQM8548: Basic support for the TQM8548 modules

2008-05-28 Thread Wolfgang Grandegger
<[EMAIL PROTECTED]> Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- MAKEALL |1 + Makefile|1 + board/tqc/tqm85xx/sdram.c | 150 ++- board/tqc/tqm85xx/tqm8

[U-Boot-Users] [PATCH] TQM85xx: Bugfix in the SDRAM initialisation

2008-05-28 Thread Wolfgang Grandegger
The CS0_BNDS register is now set according to the detected memory size. Signed-off-by Martin Krause <[EMAIL PROTECTED]> --- board/tqc/tqm85xx/sdram.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/board/tqc/tqm85xx/sdram.c b/board/tqc/tqm85xx/sdram.c index 413567e..e0

[U-Boot-Users] [PATCH] TQM85xx: Fix chip select configuration for second FLASH bank

2008-05-28 Thread Wolfgang Grandegger
This patch fixes the re-calculation of the automatic chip select configuration for boards with two populated FLASH banks. Signed-off-by: Martin Krause <[EMAIL PROTECTED]> --- board/tqc/tqm85xx/tqm85xx.c | 86 +++--- 1 files changed, 47 insertions(+), 39 delet

[U-Boot-Users] [PATCH] TQM85xx: Support for Spansion 'N' type flashes added

2008-05-28 Thread Wolfgang Grandegger
and must be defined for boards with 'N' type flashes. Signed-off-by: Martin Krause <[EMAIL PROTECTED]> Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- include/configs/TQM85xx.h | 20 1 files changed, 16 insertions(+), 4 deletions(-) dif

[U-Boot-Users] [PATCH] TQM85xx: Fix CPM port pin configuration

2008-05-28 Thread Wolfgang Grandegger
Do not configure port pins PD30/PD31 as SCC1 TxD/RxD except for the TQM8560 board. On the other TQM85xx boards (TQM8541 and TQM8555) SCC1 is not used as serial interface anyway. Worse, on some board variants configuring the pins for SCC1 leads to short circuits (for example on the TQM8541-BG). Sig

[U-Boot-Users] [PATCH] TQM85xx: Various coding style fixes

2008-05-28 Thread Wolfgang Grandegger
Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- board/tqc/tqm85xx/law.c | 12 +- board/tqc/tqm85xx/sdram.c | 56 board/tqc/tqm85xx/tlb.c | 98 +++-- board/tqc/tqm85xx/tqm85xx.c | 330 +- include/configs/TQM

[U-Boot-Users] [PATCH] MPC85xx: Beatify boot output of L2 cache configuration

2008-05-28 Thread Wolfgang Grandegger
The boot output is now aligned poperly with other boot output lines, e.g.: FLASH: 128 MB L2:512 KB enabled Signed-off-by: Wolfgang Grandegger <[EMAIL PROTECTED]> --- cpu/mpc85xx/cpu.c |2 +- cpu/mpc85xx/cpu_init.c | 18 ++ 2 files changed, 11 insertions

[U-Boot-Users] [PATCH 0/12] 85xx: various fixes for TQM85xx and support for TQM8548

2008-05-28 Thread Wolfgang Grandegger
This series of patches fixes various issues with TQM85xx modules and adds support for TQM8548 modules from TQ Components GmbH (http://www.tqc.de). Note: The patches rely on "[PATCH] TQM: move TQM boards to board/tqc" sent a few minutes ago to this list. Wolfgang. -

Re: [U-Boot-Users] [PATCH V2] Add the Harris QUAD100HD AMCC 405EP-based board.

2008-04-26 Thread Wolfgang Grandegger
Hi Stefan, Stefan Roese wrote: > Hi Gary, > > Please use only one coding style in one file. So either: > > func(); > > or > > func (); > > Since this file mostly consists of the func() style I suggest you switch to > this one completely. Do we really have the choice? Wolfgang.

[U-Boot-Users] PCI express NIC for testing?

2008-04-13 Thread Wolfgang Grandegger
Hello, I'm looking for a PCIe card, preferably a NIC, to test PCIe under U-Boot. I have realized, that the E1000 driver of U-Boot does not have support for PCIe cards. It actually lags behind the Linux driver a lot and porting seems to require substantial effort (different SPD EEPROM, PCIe, etc.).