[U-Boot] [PATCH] cmd_nand: add biterror insertion command for NAND Flash

2012-01-04 Thread Holger Brunck
boards. Signed-off-by: Stefan Bigler stefan.big...@keymile.com Cc: Holger Brunck holger.bru...@keymile.com Cc: Valentin Longchamp valentin.longch...@keymile.com Cc: Scott Wood scottw...@freescale.com --- common/cmd_nand.c | 131 +++- 1 files changed

Re: [U-Boot] [PATCH] cmd_nand: add biterror insertion command for NAND Flash

2012-01-05 Thread Holger Brunck
Hi Scott, On 01/04/2012 06:44 PM, Scott Wood wrote: On 01/04/2012 09:32 AM, Holger Brunck wrote: Initial implementation for unsafe feature for biterror insertion on NAND-Flash devices. The code flips single bits in the data block of the flash to simulate single bit-errors. Tested

Re: [U-Boot] Bug#655102: v2011.12 and later do not boot on dreamplug.

2012-01-09 Thread Holger Brunck
*/ if (cs) { we had also SPI problems on our km_kirkwood boards with u-boot v2011.12. This patch fixes it. Thanks! So: Tested-By: Holger Brunck holger.bru...@keymile.com Regards Holger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de

Re: [U-Boot] [PATCH 1/2] arm/km: speed up i2c access for keymile boards

2012-02-08 Thread Holger Brunck
Hi Prafulla, On 12/14/2011 04:31 PM, Holger Brunck wrote: We don't need 3us delay for our i2c bus. Decrease it to 1us. It would also be possible to use 100ns in the future, but currently kirkwood has no ndelay implementation. Signed-off-by: Holger Brunck holger.bru...@keymile.com Cc

Re: [U-Boot] [PATCH v3 5/9] i2c, multibus: get rid of CONFIG_I2C_MUX

2013-05-06 Thread Holger Brunck
. Signed-off-by: Heiko Schocher h...@denx.de Cc: Holger Brunck holger.bru...@keymile.com --- - changes for v2: new in v2 Tested on mgcoge (MPC8247) and km_kirkwood (Kirkwood), feel free to add my: Tested-By: Holger Brunck holger.bru...@keymile.com Regards Holger

Re: [U-Boot] [PATCH v3 6/9] i2c, multibus, keymile: get rid of EEprom_ivm envvariable

2013-05-06 Thread Holger Brunck
On 05/04/2013 02:01 PM, Heiko Schocher wrote: as the keymile boards use now the new i2c multibus/multiadapter framework, remove the EEprom_ivm Environmentvar, as not longer needed. Signed-off-by: Heiko Schocher h...@denx.de Cc: Holger Brunck holger.bru...@keymile.com Tested on mgcoge

[U-Boot] [PATCH] arm/km: fix u-boot update functionality

2013-05-06 Thread Holger Brunck
Due to the new I2C framework we need to adapt the u-boot update function. Due to the new framework all i2c leafs behind a mux are present in the system and not only those who are defined and used. So it is bus number 5 after the rework. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc

[U-Boot] [PATCH 1/2] powerpc/83xx/km: MV88e6122 errata fix for 1.9V

2013-05-06 Thread Holger Brunck
Errata Fix: 1.9V Output from Internal 1.8V Regulator, acc. MV-S300889-00D.pdf , clause 4.5 Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km83xx/km83xx.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/keymile/km83xx/km83xx.c b/board/keymile/km83xx

[U-Boot] [PATCH 2/2] powerpc/83xx/km: make local functions and structs static

2013-05-06 Thread Holger Brunck
Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/common/common.c | 4 ++-- board/keymile/common/ivm.c| 4 ++-- board/keymile/km83xx/km83xx.c | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/board/keymile/common/common.c b/board/keymile/common

[U-Boot] [PATCH] arm/km: make local functions static

2013-05-06 Thread Holger Brunck
Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km_arm/km_arm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index eda9199..b944887 100644 --- a/board/keymile/km_arm/km_arm.c +++ b

Re: [U-Boot] [PATCH v3 0/6] env: handle special variables and selective env default

2012-08-13 Thread Holger Brunck
On 08/10/2012 08:08 PM, Wolfgang Denk wrote: In message 5024cc15.8010...@keymile.com you wrote: due to the fact that Gerlando is in his vacations and has therefore only little time to do updates here I propose the following. I could prepare a branch as you suggested based on current denx

Re: [U-Boot] [PATCH] km/ivm: fix string len check to support 7 char board names

2012-08-14 Thread Holger Brunck
Hi Wolfgang, On 08/09/2012 01:43 PM, Holger Brunck wrote: From: Valentin Longchamp valentin.longch...@keymile.com The fanless boards now have a 7-digit (X-F) board name. This triggers a border condition when reading this string in the IVM although this string is smaller than

Re: [U-Boot] [PATCH v3 1/4] kirkwood: use c-struct for access to SDRAM addr decode registers

2012-09-06 Thread Holger Brunck
Hi Prafulla, On 07/20/2012 02:34 PM, Holger Brunck wrote: Remove the defines and do this with a C-struct. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com cc: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto

Re: [U-Boot] [PATCH v3 3/4] kirkwood: implement kw_sdram_size_adjust

2012-09-07 Thread Holger Brunck
On 09/07/2012 01:20 AM, Prafulla Wadaskar wrote: -Original Message- From: Prafulla Wadaskar Sent: 20 July 2012 12:10 To: 'Holger Brunck'; u-boot@lists.denx.de Cc: Gerlando Falauto; Valentin Longchamp; Marek Vasut Subject: RE: [PATCH v3 3/4] kirkwood: implement

Re: [U-Boot] common, hush: bug (or feature?) with exit

2012-09-07 Thread Holger Brunck
Hi Heiko, On 09/07/2012 11:51 AM, Heiko Schocher wrote: I try the following script in u-boot - setenv error 'if true; then echo ERROR exit; fi' don't know if it helps but AFAIK you need a

Re: [U-Boot] [PATCH 1/2] powerpc/83xx/km: MV88e6122 errata fix for 1.9V

2013-07-02 Thread Holger Brunck
Hi Kim, On 05/22/2013 01:12 AM, Kim Phillips wrote: On Mon, 6 May 2013 15:02:39 +0200 Holger Brunck holger.bru...@keymile.com wrote: Errata Fix: 1.9V Output from Internal 1.8V Regulator, acc. MV-S300889-00D.pdf , clause 4.5 Signed-off-by: Holger Brunck holger.bru...@keymile.com

[U-Boot] [PATCH] cramfs: fix bug for wrong filename comparison

2013-07-04 Thread Holger Brunck
for uImage_1! which is the behaviour we want. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Wolfgang Denk w...@denx.de --- fs/cramfs/cramfs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/cramfs/cramfs.c b/fs/cramfs/cramfs.c index 910955d..e578a1e 100644 --- a/fs

[U-Boot] [PATCH 3/3] arm/km: make local function startup_allowed static

2013-07-04 Thread Holger Brunck
Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km_arm/km_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index 24fcf70..29f85ff 100644 --- a/board/keymile/km_arm/km_arm.c +++ b/board

[U-Boot] [PATCH 2/3] arm/km: drop unneeded define

2013-07-04 Thread Holger Brunck
CONFIG_BOOTCOUNT_LIMIT is used on all boards from this board series. So remove this unneeded define. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km_arm/km_arm.c | 4 1 file changed, 4 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile

[U-Boot] [PATCH 1/3] arm/km: add support for km_kirkwood_128m16 board

2013-07-04 Thread Holger Brunck
...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com --- boards.cfg| 1 + include/configs/km_kirkwood.h | 10 ++ 2 files changed, 11 insertions(+) diff --git a/boards.cfg b/boards.cfg index c0c4282..2bb493f 100644 --- a/boards.cfg +++ b/boards.cfg @@ -165,6

[U-Boot] [PATCH 2/4] km/common: switch on CMD_GREPENV

2013-07-04 Thread Holger Brunck
Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/km/keymile-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/km/keymile-common.h b/include/configs/km/keymile-common.h index 3b15c4e..cef4860 100644 --- a/include/configs/km/keymile-common.h

[U-Boot] [PATCH 3/4] powerpc/km: drop unused CONFIG_SYS_DTT_LOW_TEMP

2013-07-04 Thread Holger Brunck
This define is not used in u-boot code, we can drop this define safely. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/km/km83xx-common.h | 1 - include/configs/km82xx.h | 1 - 2 files changed, 2 deletions(-) diff --git a/include/configs/km/km83xx-common.h

[U-Boot] [PATCH 4/4] km/scripts: fix ramfs

2013-07-04 Thread Holger Brunck
From: Andreas Huber andreas.hu...@keymile.com 'actual_bank' is not used anymore, instead boot_bank is used. Signed-off-by: Andreas Huber andreas.hu...@keymile.com --- board/keymile/scripts/ramfs-common.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 1/4] powerpc/83xx: remove staticness for qe_iop_conf_tab

2013-07-04 Thread Holger Brunck
commit a5510058 powerpc/83xx/km: make local functions and structs static removed the staticness also from this struct. But this struct is needed in arch/powerpc/cpu/mpc83xx/cpu_init.c and declared as extern. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km83xx

Re: [U-Boot] [PATCH] cramfs: fix bug for wrong filename comparison

2013-07-08 Thread Holger Brunck
On 07/05/2013 11:23 PM, Albert ARIBAUD wrote: On Thu, 4 Jul 2013 10:29:46 +0200, Holger Brunck holger.bru...@keymile.com wrote: If we have the following entry in cramfs: = cramfsls -rw-r--r-- 1922689 uImage cramfsload would also succeed if we try to do: = cramfsload uImage_1 CRAMFS

[U-Boot] [PATCH v2] cramfs: fix bug for wrong filename comparison

2013-07-08 Thread Holger Brunck
cramfsload uImage_1 succeeds even though the actual file is named uImage. Fix file name comparison when one name is the prefix of the other. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Wolfgang Denk w...@denx.de cc: Albert ARIBAUD albert.u.b...@aribaud.net --- If we have

Re: [U-Boot] [PATCH 1/4] powerpc/83xx: remove staticness for qe_iop_conf_tab

2013-09-18 Thread Holger Brunck
Hi Kim, On 07/04/2013 03:37 PM, Holger Brunck wrote: commit a5510058 powerpc/83xx/km: make local functions and structs static removed the staticness also from this struct. But this struct is needed in arch/powerpc/cpu/mpc83xx/cpu_init.c and declared as extern. Signed-off-by: Holger Brunck

[U-Boot] [PATCH v2 1/3] arm/km: add support for km_kirkwood_128m16 board

2013-09-18 Thread Holger Brunck
...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com --- boards.cfg| 1 + include/configs/km_kirkwood.h | 10 ++ 2 files changed, 11 insertions(+) diff --git a/boards.cfg b/boards.cfg index dbd8479..f48c5bb 100644 --- a/boards.cfg +++ b/boards.cfg @@ -167,6

Re: [U-Boot] [PATCH 1/3] arm/km: add support for km_kirkwood_128m16 board

2013-09-25 Thread Holger Brunck
://patchwork.ozlabs.org/patch/256901/ http://patchwork.ozlabs.org/patch/256900/ Regards Holger On 07/04/2013 03:29 PM, Holger Brunck wrote: From: Karlheinz Jerg karlheinz.j...@keymile.com The board is similar to the standard km_kirkwood board. From a u-boot point of view, the only difference is an increased

Re: [U-Boot] [STATUS] v2013.04-rc2 released

2013-04-11 Thread Holger Brunck
Hi Albert, Tom, On 04/04/2013 10:20 AM, Albert ARIBAUD wrote: Mainly I am waiting for Vincent's V10 to be tested a bit, and also I am going to post the fix for the __bss_end mixup. Anything else for 2013.04 ARM still missing, people please yell at me. I only want to drop a note that there

[U-Boot] [PATCH] i2c: deblock i2c bus also if accessed before realocation

2012-06-28 Thread Holger Brunck
If we switch to a different i2c bus in changing the mux config for the i2c mux, we have to be sure to deblock the bus also before realocation. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Heiko Schocher h...@denx.de cc: Valentin Longchamp valentin.longch...@keymile.com --- common

Re: [U-Boot] [PATCH v2 02/14] arm/km: add kmcoge5un board support

2012-07-03 Thread Holger Brunck
On 07/03/2012 10:04 AM, Prafulla Wadaskar wrote: Dear Holger -Original Message- From: Holger Brunck [mailto:holger.bru...@keymile.com] Sent: 13 June 2012 19:03 To: u-boot@lists.denx.de Cc: Holger Brunck; Valentin Longchamp; Prafulla Wadaskar; Thomas Herzmann Subject: [PATCH v2 02

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Holger Brunck
Hi Prafulla, On 07/03/2012 10:05 AM, Prafulla Wadaskar wrote: -Original Message- From: Holger Brunck [mailto:holger.bru...@keymile.com] Sent: 13 June 2012 19:03 To: u-boot@lists.denx.de Cc: Holger Brunck; Valentin Longchamp; Prafulla Wadaskar Subject: [PATCH v2 03/14] arm/km

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Holger Brunck
On 07/03/2012 01:19 PM, Prafulla Wadaskar wrote: -Original Message- From: Holger Brunck [mailto:holger.bru...@keymile.com] Sent: 03 July 2012 16:08 To: Prafulla Wadaskar Cc: u-boot@lists.denx.de; Valentin Longchamp Subject: Re: [PATCH v2 03/14] arm/km: convert mgcoge3un target

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Holger Brunck
On 07/03/2012 02:38 PM, Prafulla Wadaskar wrote: -Original Message- From: Holger Brunck [mailto:holger.bru...@keymile.com] Sent: 03 July 2012 18:02 To: Prafulla Wadaskar Cc: u-boot@lists.denx.de; Valentin Longchamp; albert.u.b...@aribaud.net Subject: Re: [PATCH v2 03/14] arm/km

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-03 Thread Holger Brunck
On 07/03/2012 03:07 PM, Prafulla Wadaskar wrote: This patch makes sense to me since it since it shrinks overall code. Doe not have dependency in patch series, can be accepted if outside the series. again, but there are a lot of dependencies between 01-02 and 03- 04 because all doing a

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-04 Thread Holger Brunck
Hi Prafulla, On 07/03/2012 04:39 PM, Prafulla Wadaskar wrote: On 07/03/2012 03:07 PM, Prafulla Wadaskar wrote: But 01-08 are not only bugfixes there are also two new boards in these patches. So will you pull these eight patches in if I post them again without 09-14? Pls post bug fixes

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-04 Thread Holger Brunck
On 07/04/2012 11:21 AM, Prafulla Wadaskar wrote: -Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: 03 July 2012 23:31 To: Prafulla Wadaskar Cc: Holger Brunck; u-boot@lists.denx.de; Valentin Longchamp Subject: Re: [U-Boot] [PATCH v2 03/14] arm/km: convert

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-05 Thread Holger Brunck
On 07/05/2012 08:04 AM, Prafulla Wadaskar wrote: -Original Message- From: Holger Brunck [mailto:holger.bru...@keymile.com] Sent: 05 July 2012 11:24 To: Prafulla Wadaskar Cc: Wolfgang Denk; u-boot@lists.denx.de; Valentin Longchamp Subject: Re: [U-Boot] [PATCH v2 03/14] arm/km

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-05 Thread Holger Brunck
On 07/05/2012 02:09 PM, Prafulla Wadaskar wrote: To avoid any further confusion let's keep aside all the past. 1. Pls post the new patch series that is just targeted for bugfixes and updates (no addition of new boards or drivers) Ok so there are again no inputs to specific patches and no

[U-Boot] [PATCH v3 07/11] arm/km: redefine piggy 4 reg names to avoid conflicts

2012-07-05 Thread Holger Brunck
From: Valentin Longchamp valentin.longch...@keymile.com Some very similar #defines for reg addresses are used in a later patch (managed_switch support for km_arm). Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Holger Brunck holger.bru...@keymile.com cc: Prafulla Wadaskar

[U-Boot] [PATCH v3 03/11] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-05 Thread Holger Brunck
Use the generic header km_kirkwood.h and get rid of the board specific header. changes for v2: rebased because of changes in other patches Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala

[U-Boot] [PATCH v3 04/11] arm/km: remove portl2.h and use km_kirkwood instead

2012-07-05 Thread Holger Brunck
The additional headerfile is unneeded here, we can use the generic km_kirkwood.h instead. And we can use the better config option KM_PIGGY4_88E6061 for the specific features for boards with this design in km_arm.c. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin

[U-Boot] [PATCH v3 10/11] arm/km: add implementation for read_dip_switch

2012-07-05 Thread Holger Brunck
From: Thomas Herzmann thomas.herzm...@keymile.com Add a function to read the dip_switch on kmcoge5un. If the switch is set the actual_bank is set to 0 and this SW is booted. Signed-off-by: Thomas Herzmann thomas.herzm...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com

[U-Boot] [PATCH v3 05/11] arm/km: enable BOCO2 FPGA download support

2012-07-05 Thread Holger Brunck
with a PCIe FPGA but without BOCO2 still are supported. The config option name is CONFIG_KM_FPGA_CONFIG Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu

[U-Boot] [PATCH v3 06/11] arm/km: cleanup km_kirkwood boards

2012-07-05 Thread Holger Brunck
Remove config options from boards.cfg and simply add one switch per board and differ afterwards in km_kirkwood.h between the features. More boards are upcoming and therefore it's easier to have this at one place. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin

[U-Boot] [PATCH v3 09/11] arm/km: support the 2 PCIe fpga resets

2012-07-05 Thread Holger Brunck
From: Valentin Longchamp valentin.longch...@keymile.com The PCIe FPGAs now have to support 2 resets: one for the non traffic affecting part (PCIe) and one for the traffic affecting part. When the FPGA is not reconfigured, we only reset the PCIe part. Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH v3 01/11] arm/km: add kmnusa board support

2012-07-05 Thread Holger Brunck
switch and the kirkwood. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com --- changes for v3: - rebase to current master - use

[U-Boot] [PATCH v3 00/11] updates for Keymile Marvell boards

2012-07-05 Thread Holger Brunck
Changes for v3 in general: - remove the managed switch driver as requested on the ML cc: Holger Brunck holger.bru...@keymile.com cc: Valentin Longchamp valentin.longch...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com Holger Brunck (6): arm/km: add kmnusa board support arm/km: add

[U-Boot] [PATCH v3 02/11] arm/km: add kmcoge5un board support

2012-07-05 Thread Holger Brunck
configuration for the mvgbe driver. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com --- changes for v3: - rebase to current master

[U-Boot] [PATCH v3 08/11] arm/km: skip FPGA config when already configured

2012-07-05 Thread Holger Brunck
From: Valentin Longchamp valentin.longch...@keymile.com In order to be able to perform board resets without interrupting the traffic, the configuration of an already properly configured FPGA is skipped. This is because some PCIe FPGAs embed some other function that must continue to work over

[U-Boot] [PATCH v3 11/11] arm/km: remove calls to kw_gpio_* in board_early_init_f

2012-07-05 Thread Holger Brunck
that could not be moved is the one for the SOFT (bitbang) I2C, and they have been replaced by a direct access to the GPIO dataout Control register to set the two GPIOs as output. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Holger Brunck holger.bru...@keymile.com cc: Prafulla

[U-Boot] [PATCH v4] arm/km: add kmnusa board support

2012-07-05 Thread Holger Brunck
switch and the kirkwood. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com --- changes for v4: - the wrong kwbimage_128M16_1.cfg file

Re: [U-Boot] [PATCH v2 03/14] arm/km: convert mgcoge3un target to km_kirkwood

2012-07-05 Thread Holger Brunck
On 07/05/2012 03:48 PM, Prafulla Wadaskar wrote: And if I resend the remaining eleven patches in the same order as beneath these are: [U-Boot,v2,01/14] arm/km: add kmnusa board support [U-Boot,v2,02/14] arm/km: add kmcoge5un board support [U-Boot,v2,03/14] arm/km: convert mgcoge3un target

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Holger Brunck
Hi, On 07/04/2012 11:20 AM, Prafulla Wadaskar wrote: Sure it would be great if we had the time and resources to contribute a generic driver for these switches. Unfortunately it is not the case and we have only developed a simple driver with limited features that suits our current needs.

Re: [U-Boot] [PATCH 12/20] arm/km: add support for external switchconfiguration

2012-07-09 Thread Holger Brunck
Hi Detlev, On 07/09/2012 03:06 PM, Detlev Zundel wrote: If we place the driver in your board diretory, the chances are huge it will simply sit there and rot, and the next one who needs something similar will reinvent the wheel because he did not find your copy. I agree that even very simple

Re: [U-Boot] [PATCH] i2c: deblock i2c bus also if accessed before realocation

2012-07-10 Thread Holger Brunck
Hi Heiko, On 06/28/2012 04:30 PM, Holger Brunck wrote: If we switch to a different i2c bus in changing the mux config for the i2c mux, we have to be sure to deblock the bus also before realocation. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Heiko Schocher h...@denx.de cc

Re: [U-Boot] [PATCH v2 1/2] kirkwood: implement kw_sdram_bs_set()

2012-07-20 Thread Holger Brunck
Hi Marek, hi Prafulla, On 07/20/2012 01:40 PM, Marek Vasut wrote: Dear Prafulla Wadaskar, [...] diff --git a/arch/arm/cpu/arm926ejs/kirkwood/dram.c b/arch/arm/cpu/arm926ejs/kirkwood/dram.c index 181b3e7..d938578 100644 --- a/arch/arm/cpu/arm926ejs/kirkwood/dram.c +++

[U-Boot] [PATCH v3 1/4] kirkwood: use c-struct for access to SDRAM addr decode registers

2012-07-20 Thread Holger Brunck
Remove the defines and do this with a C-struct. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com cc: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com cc: Marek Vasut ma...@denx.de --- changes

[U-Boot] [PATCH v3 3/4] kirkwood: implement kw_sdram_size_adjust

2012-07-20 Thread Holger Brunck
gerlando.fala...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com cc: Valentin Longchamp valentin.longch...@keymile.com cc: Marek Vasut ma...@denx.de --- chages for v3: - rename dram_size_fixup to kw_sdramsize_adjust and move them

[U-Boot] [PATCH v3 4/4] arm/km: use kw_sdram_size_adjust to adjust SDRAM size

2012-07-20 Thread Holger Brunck
Some boards may differ only in the SDRAM size. This function allows to fix the size accordingly and we can use the same u-boot binary for both boards. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com cc: Prafulla Wadaskar prafu

[U-Boot] [PATCH v3 2/4] kirkwood: implement kw_sdram_bs_set()

2012-07-20 Thread Holger Brunck
to the detected SDRAM size. Therefore, implement kw_sdram_bs_set(). Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com cc: Valentin Longchamp valentin.longch...@keymile.com cc: Marek Vasut ma

[U-Boot] [PATCH] MAINTAINERS: cleanup for km ppc boards

2012-08-06 Thread Holger Brunck
Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Heiko Schocher h...@denx.de cc: Valentin Longchamp valentin.longch...@keymile.com cc: Gerlando Falauto gerlando.fala...@keymile.com --- MAINTAINERS |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS

[U-Boot] [PATCH] mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs

2012-08-08 Thread Holger Brunck
function and check previously manufacturer id and device id to not break support for other flashes where this work around is not needed. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Heiko Schocher h...@denx.de cc: Stefan Roese s...@denx.de cc: Philippe De Muyter p

Re: [U-Boot] [PATCH] mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs

2012-08-09 Thread Holger Brunck
Hi Stefan, On 08/09/2012 08:09 AM, Stefan Roese wrote: On 08/08/2012 04:52 PM, Holger Brunck wrote: commit 54652991 Work around bug in Numonyx P33/P30 256-Mbit 65nm flash chips fixes a problem for Numonyx P33/P30 flashes for 256-Mbit, but this leads to problems for smaller versions

[U-Boot] [PATCH v2] mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs

2012-08-09 Thread Holger Brunck
function and check previously manufacturer id and device id to not break other flashes which don't need this work around. Signed-off-by: Holger Brunck holger.bru...@keymile.com Signed-off-by: Heiko Schocher h...@denx.de cc: Stefan Roese s...@denx.de cc: Philippe De Muyter p...@macqel.be cc

[U-Boot] [PATCH] arm/km: remove unused code

2012-08-09 Thread Holger Brunck
For some reasons we had an own implementaion of dram_init and dram_init_banksize. This is not needed anymore, use the standard kirkwood functions instead. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com cc: Valentin Longchamp valentin.longch

[U-Boot] [PATCH] km/ivm: fix string len check to support 7 char board names

2012-08-09 Thread Holger Brunck
From: Valentin Longchamp valentin.longch...@keymile.com The fanless boards now have a 7-digit (X-F) board name. This triggers a border condition when reading this string in the IVM although this string is smaller than the currenly read string size, but only by 1 character. This patch

Re: [U-Boot] [PATCH v3 0/6] env: handle special variables and selective env default

2012-08-10 Thread Holger Brunck
is back at end of august and shift the patch series to the next merge window. Regards Holger Brunck ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/4] cfi_flash: Enable PPB protection for all AMD cmdset flash chips

2012-12-07 Thread Holger Brunck
- via the 0x49 CFI word. This patch enables this PPB protection mechanism for all AMD type (AMD commandset) chips. Signed-off-by: Stefan Roese s...@denx.de Cc: Anatolij Gustschin ag...@denx.de Cc: Holger Brunck holger.bru...@keymile.com --- drivers/mtd/cfi_flash.c | 13 + 1

Re: [U-Boot] [PATCH 2/4 v2] cfi_flash: Read PPB sector protection from device for AMD/Spansion chips

2012-12-07 Thread Holger Brunck
for all sectors upon bootup. The real sector protection status is ignored. This patch now reads the current sector protection status and uses it for these AMD/Spansion flash chips. Signed-off-by: Stefan Roese s...@denx.de Cc: Anatolij Gustschin ag...@denx.de Cc: Holger Brunck holger.bru

Re: [U-Boot] [PATCH 4/4] cfi_flash: Report Advanced Sector Protection (PPB) with flinfo cmd

2012-12-07 Thread Holger Brunck
...@denx.de Cc: Anatolij Gustschin ag...@denx.de Cc: Holger Brunck holger.bru...@keymile.com --- drivers/mtd/cfi_flash.c | 2 ++ 1 file changed, 2 insertions(+) Tested-by: Holger Brunck holger.bru...@keymile.com Regards Holger ___ U-Boot mailing list U

Re: [U-Boot] UBI Fixable bit-flip issue.

2012-12-17 Thread Holger Brunck
Hi, On 12/15/2012 04:14 AM, Vikram Narayanan wrote: On 12/14/2012 11:33 PM, Vikram Narayanan wrote: I'm seeing a fixable bit-flip in the current u-boot (v2012.10) on a i.Mx6 Solo based custom board. The problem is similar to the one explained here [1]. As observed by the thread's author,

Re: [U-Boot] [PATCH 1/4] arm/km: fix memory settings

2012-12-17 Thread Holger Brunck
Hi Prafulla, On 11/02/2012 11:15 AM, Holger Brunck wrote: On kmcoge5un we faced some serious problems with the memory during temperature tests. Reason was that we overwrite some registers for memory settings which have to leave untouched. These where registers 0x20148 , 0x2014c and 0x20154

Re: [U-Boot] Bricked when trying to attach UBI

2012-12-20 Thread Holger Brunck
! This swap dates back to: commit d63894654df72b010de2abb4b3f07d0d755f65b6 Author: Holger Brunck holger.bru...@keymile.com Date: Mon Oct 10 13:08:19 2011 +0200 UBI: init eba tables before wl when attaching a device This fixes that u-boot gets stuck when a bitflip was detected

[U-Boot] [PATCH] kirkwood_nand: allow usage of NAND_ECC_SOFT_BCH

2013-01-16 Thread Holger Brunck
From: Gerlando Falauto gerlando.fala...@keymile.com If CONFIG_NAND_ECC_BCH is set use 4-bit error correction code instead of the 1-bit error correction code on the NAND device. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com cc

[U-Boot] [PATCH 2/3] arm/km: use CONFIG_NAND_ECC_BCH

2013-01-16 Thread Holger Brunck
Switch from 1-bit ecc to 4-bit ecc. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Valentin Longchamp valentin.longch...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com --- include/configs/km/km_arm.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH 3/3] arm/km: add support for kmsuv31 board

2013-01-16 Thread Holger Brunck
the specific features in the board setup. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Valentin Longchamp valentin.longch...@keymile.com cc: Prafulla Wadaskar prafu...@marvell.com --- boards.cfg|1 + include/configs/km_kirkwood.h |8 2 files changed, 9

[U-Boot] [PATCH 1/3] arm/km: rename BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

2013-01-16 Thread Holger Brunck
commit 9660e442 cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT removes BOARD_LATE_INIT and uses CONFIG_BOARD_LATE_INIT instead. Therefore we have to use this define. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Valentin Longchamp valentin.longch...@keymile.com cc: Prafulla

[U-Boot] [PATCH 00/15] updates for km83xx boards

2013-01-17 Thread Holger Brunck
. Regards Holger Andreas Huber (2): km/common: introduce $uimage variable km/scripts: replace hardcoded uImage Holger Brunck (11): km/common: remove unneeded ifdefs for I2C km/common/ivm: remove obsolete code km/common/ivm: remove CONFIG_SYS_I2C_IVM_BUS related code powerpc/83xx: use

[U-Boot] [PATCH 01/15] km/common: remove unneeded ifdefs for I2C

2013-01-17 Thread Holger Brunck
All boards form this serie use i2c. There is no need to #ifdef the header. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/common/common.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/board/keymile/common/common.c b/board/keymile/common

[U-Boot] [PATCH 03/15] km/common/ivm: remove CONFIG_SYS_I2C_IVM_BUS related code

2013-01-17 Thread Holger Brunck
This define isn't set within our setup files. So we can safely remove the affected code. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/common/ivm.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/board/keymile/common/ivm.c b/board/keymile

[U-Boot] [PATCH 02/15] km/common/ivm: remove obsolete code

2013-01-17 Thread Holger Brunck
EEprom_ivm_addr isn't set in our environment, so remove the usage of this. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/common/ivm.c |8 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c

[U-Boot] [PATCH 04/15] km82xx, km83xx: move ethernet_present() from common to cpu specific

2013-01-17 Thread Holger Brunck
From: Karlheinz Jerg karlheinz.j...@keymile.com For kmvect1 we need a special solution and for km_arm boards we already have. So move the common code to the architectur specific file. Signed-off-by: Karlheinz Jerg karlheinz.j...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com

[U-Boot] [PATCH 06/15] powerpc/83xx: use ppc_6xx as arch variable for kmvect1

2013-01-17 Thread Holger Brunck
On this board we are using hard floating point, so select the correct toolchain. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/km/km8309-common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/km/km8309-common.h b/include

[U-Boot] [PATCH 05/15] powerpc/83xx/km: add MV88E6122 switch support for kmvect1

2013-01-17 Thread Holger Brunck
-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km83xx/km83xx.c | 78 include/configs/km/km83xx-common.h |8 +--- include/configs/suvd3.h| 37 + 3 files changed, 117 insertions(+), 6 deletions(-) diff --git a/board

[U-Boot] [PATCH 07/15] km/common: introduce $uimage variable

2013-01-17 Thread Holger Brunck
From: Andreas Huber andreas.hu...@keymile.com Replace the hardcoded string with a variable. If CONFIG_NAND_ECC_BCH is set we use a specific name for the uImage (ecc_bch_uImage). Signed-off-by: Andreas Huber andreas.hu...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com

[U-Boot] [PATCH 12/15] powerpc/83xx/km: cleanup tuxx1 support

2013-01-17 Thread Holger Brunck
-by: Holger Brunck holger.bru...@keymile.com --- boards.cfg |6 +++--- include/configs/tuxx1.h | 17 + 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/boards.cfg b/boards.cfg index e4b0d44..1c78991 100644 --- a/boards.cfg +++ b/boards.cfg @@ -700,9

[U-Boot] [PATCH 14/15] poweprc/83xx/km: remove uneeded CONFIG_MISC_INIT_R

2013-01-17 Thread Holger Brunck
Remove it from the processor specific headers. This is already defined in the common header km83xx.h. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/km/km8309-common.h |2 -- include/configs/km/km8321-common.h |2 -- 2 files changed, 0 insertions(+), 4

[U-Boot] [PATCH 09/15] kmeter1_nand: allow usage of NAND_ECC_SOFT_BCH

2013-01-17 Thread Holger Brunck
If CONFIG_NAND_ECC_BCH is set we use 4-bit error corretion code instead of the 1-bit error correction code on the NAND device within this driver. Signed-off-by: Holger Brunck holger.bru...@keymile.com cc: Scott Wood scottw...@freescale.com --- drivers/mtd/nand/kmeter1_nand.c |4 1

[U-Boot] [PATCH 10/15] powerpc/83xx: use NAND_ECC_BCH for kmcoge5ne

2013-01-17 Thread Holger Brunck
Switch from 1-bit ecc to 4-bit ecc. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/km8360.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/km8360.h b/include/configs/km8360.h index 7631ab6..5b191bc 100644 --- a/include

[U-Boot] [PATCH 15/15] powerpc/83xx/km: drop uneeded dtt_bus environment var

2013-01-17 Thread Holger Brunck
Do this with a define. There is no need for this as a environment variable. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km83xx/km83xx.c | 12 include/configs/km/km83xx-common.h |1 - 2 files changed, 4 insertions(+), 9 deletions(-) diff --git

[U-Boot] [PATCH 11/15] km/common: add eccmode to kernel commandline

2013-01-17 Thread Holger Brunck
If CONFIG_NAND_ECC_BCH is chosen from in the board configuration we add an ecc mode to the kernel commandline. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/km/keymile-common.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs

[U-Boot] [PATCH 13/15] powerpc/83xx/km: add support for kmopti2 board

2013-01-17 Thread Holger Brunck
This board is similar to TUXX1 but it has a different sized second FPGA. Therefore the configuration for the third chipselect is different. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- boards.cfg |1 + include/configs/tuxx1.h | 31

[U-Boot] [PATCH 08/15] km/scripts: replace hardcoded uImage

2013-01-17 Thread Holger Brunck
From: Andreas Huber andreas.hu...@keymile.com Replace uImage with ${uimage}. If uimage is not set, default it to uImage. Signed-off-by: Andreas Huber andreas.hu...@keymile.com Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/scripts/develop-common.txt |5 +++-- board

Re: [U-Boot] [PATCH 00/15] updates for km83xx boards

2013-01-17 Thread Holger Brunck
Hi, On 01/17/2013 03:30 PM, Prafulla Wadaskar wrote: -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Holger Brunck Sent: 17 January 2013 18:18 To: u-boot@lists.denx.de Cc: Kim Phillips; Holger Brunck Subject: [U-Boot] [PATCH

Re: [U-Boot] [PATCH 04/15] km82xx, km83xx: move ethernet_present() from common to cpu specific

2013-01-18 Thread Holger Brunck
On 01/18/2013 01:23 AM, Kim Phillips wrote: On Thu, 17 Jan 2013 13:47:50 +0100 Holger Brunck holger.bru...@keymile.com wrote: +int piggy_present(void) +{ +struct km_bec_fpga *base = +(struct km_bec_fpga *)CONFIG_SYS_KMBEC_FPGA_BASE; + +return in_8(base-bprth

Re: [U-Boot] [PATCH 05/15] powerpc/83xx/km: add MV88E6122 switch support for kmvect1

2013-01-18 Thread Holger Brunck
On 01/18/2013 01:44 AM, Kim Phillips wrote: On Thu, 17 Jan 2013 13:47:51 +0100 Holger Brunck holger.bru...@keymile.com wrote: +#if defined(CONFIG_KMVECT1) +#include mv88e6352.h +/* Marvell MV88E6122 switch configuration */ +struct mv88e_sw_reg extsw_conf[] = { +/* port 1, FRONT_MDI

[U-Boot] [PATCH 2/2] powerpc/82xx/km: removed unneeded ifdef

2013-01-18 Thread Holger Brunck
All boards from this serie uses i2c. So we can drop these unneeded defines. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km82xx/km82xx.c |3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/board/keymile/km82xx/km82xx.c b/board/keymile/km82xx

[U-Boot] [PATCH 1/2] powerpc/82xx/km: make handle_mgcoge3un_reset static

2013-01-18 Thread Holger Brunck
Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km82xx/km82xx.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/keymile/km82xx/km82xx.c b/board/keymile/km82xx/km82xx.c index 67b69f6..8cf3035 100644 --- a/board/keymile/km82xx/km82xx.c +++ b

  1   2   3   4   5   6   >