Re: [U-Boot] [PATCH V2] ARM: Update mach-types

2011-09-12 Thread Holger Brunck
Hi, On 09/12/2011 03:54 PM, Stefano Babic wrote: > On 09/12/2011 03:36 PM, Marek Vasut wrote: >>> >>> Have you checked that the removed boards are not supported in U-Boot? >> >> No, but then the respective maintainers will get a warning and will be >> forced to >> fix their boards in both linux

Re: [U-Boot] [PATCH V2] ARM: Update mach-types

2011-09-12 Thread Holger Brunck
On 09/12/2011 04:14 PM, Stefano Babic wrote: No, but then the respective maintainers will get a warning and will be forced to fix their boards in both linux and uboot. >>> >>> Maybe the simplest way to catch these boards (if any) is to run MAKEALL >>> on arm targets with your

Re: [U-Boot] UBI problems on current u-boot

2011-09-12 Thread Holger Brunck
Hi, On 09/05/2011 05:57 PM, Holger Brunck wrote: > On 09/05/2011 04:37 PM, Stefan Roese wrote: >> BTW: Is this problem reproducible on one of your systems? >> > > yes we find a way to reproduce the bug on one of our boards. We need a special > bit pattern in one UBI

Re: [U-Boot] UBI problems on current u-boot

2011-09-13 Thread Holger Brunck
Hi Stefan, On 09/13/2011 09:39 AM, Stefan Roese wrote: > Hi Holger, > > On Monday 12 September 2011 19:16:33 Holger Brunck wrote: >> I have seen in mainline kernel this fix in the ubi layer: >> >> commit b86a2c56e512f46d140a4bcb4e35e8a7d4a99a4b >> Author: Artem

[U-Boot] [PATCH] UBI: fix endless loop when a bitflip was detected

2011-09-13 Thread Holger Brunck
emoved from the original patch because the current u-boot version didn't evaluate this value. Signed-off-by: Holger Brunck cc: Stefan Roese --- drivers/mtd/ubi/build.c |9 + drivers/mtd/ubi/eba.c |8 ++-- drivers/mtd/ubi/ubi.h | 10 +++

Re: [U-Boot] UBI problems on current u-boot

2011-09-13 Thread Holger Brunck
Hi Stefan On 09/13/2011 10:37 AM, Stefan Roese wrote: > On Tuesday 13 September 2011 10:32:34 Holger Brunck wrote: >>>> But this patch is not >>>> easy to port onto u-boot because previously undergoing changes in the >>>> kernels ubi layer... >>> &

[U-Boot] [PATCH 2/5] arm/km: portl2 environment address update to P1B

2011-09-14 Thread Holger Brunck
From: Thomas Herzmann The environment eeprom is now at a different MUX address. Signed-off-by: Thomas Herzmann Signed-off-by: Holger Brunck cc: Prafulla Wadaskar --- include/configs/portl2.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/configs/portl2

[U-Boot] [PATCH 3/5] arm/km: add boardid and hwkey to kernel command line

2011-09-14 Thread Holger Brunck
We need in some cases a possibility for the kernel to distinguish on which board he is running. On powerpc we did this with different dts files. On arm currently we can't do this, so add boardid and hwkey to the kernel command line and use it later on in the kernel code. Signed-off-by: H

[U-Boot] [PATCH 1/5] arm/km: adapt bootcounter evaluation

2011-09-14 Thread Holger Brunck
BOOTCOUNT_MAGIC was still valid. A bit pattern with 4000 bytes (after BOOTCOUNT_MAGIC) has been implemented, which should be enough to detect a bit error. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c | 32

[U-Boot] [PATCH 4/5] arm/km: trigger reconfiguration for the Xilinx FPGA

2011-09-14 Thread Holger Brunck
The Xilinx FPGA must be reconfigured each time the unit reboots. The FPGA is connected to the GPIO pin 39 from kirkwood. This patch triggers this pin for km_kirkwood_pci targets. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar --- board/keymile/km_arm

[U-Boot] [PATCH 5/5] arm/km: enable jffs2 cmds

2011-09-14 Thread Holger Brunck
Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index 00410c9..0271e7e 100644 --- a/include

[U-Boot] [PATCH] powerpc/83xx: move km 83xx specific i2c code to km83xx_i2c

2011-09-14 Thread Holger Brunck
The common code should be valid for more than one architecture. Therefore this code was reorganized and moved to the new file km83xx_i2c.c Signed-off-by: Holger Brunck cc: Kim Phillips --- board/keymile/common/common.c | 71 +++--- board/keymile/common/common.h

[U-Boot] [PATCH 1/3] km/common: force set ethaddr only for KM kirkwood boards

2011-09-14 Thread Holger Brunck
This prevents u-boot to print out "Can't overwrite "ethaddr"" each time a powerpc board starts. Signed-off-by: Holger Brunck cc: Wolfgang Denk --- board/keymile/common/ivm.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/board/keymile/com

[U-Boot] [PATCH 2/3] km/common: fix ramfs development target

2011-09-14 Thread Holger Brunck
From: Andreas Huber Calucations of PRAM needs to take into account the 'rootfssize'. Memory available to the linux kernel 'mem=' is in all cases set to the total memory size minus the pram size. Signed-off-by: Andreas Huber Signed-off-by: Holger Brunck cc: Wolfgang Denk

[U-Boot] [PATCH 3/3] km/common: remove obsolete header file

2011-09-14 Thread Holger Brunck
This header is unneeded due to code which was removed in the past. Signed-off-by: Holger Brunck cc: Wolfgang Denk --- board/keymile/common/common.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/board/keymile/common/common.c b/board/keymile/common/common.c index

[U-Boot] [PATCH] km/common: fix bug in IVM mac address access

2011-09-20 Thread Holger Brunck
The MAC address stored in the inventory eeprom begins at offset 1. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Wolfgang Denk --- board/keymile/common/ivm.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/board/keymile/common/ivm.c b/board

Re: [U-Boot] UBI problems on current u-boot

2011-09-21 Thread Holger Brunck
On 09/13/2011 05:31 PM, Holger Brunck wrote: > On 09/13/2011 10:37 AM, Stefan Roese wrote: >> On Tuesday 13 September 2011 10:32:34 Holger Brunck wrote: >>>>> But this patch is not >>>>> easy to port onto u-boot because previously undergoing

Re: [U-Boot] [PATCH] UBI: fix endless loop when a bitflip was detected

2011-09-21 Thread Holger Brunck
On 09/13/2011 11:07 AM, Holger Brunck wrote: > On km_kirkwood boards we saw that u-boot gets stuck if the > UBI layer detects a correctable bitflip in the NAND flash > when u-boot tries to attach to the UBI device. > > This was already fixed in the UBI layer in the current > m

[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 Signed-off-by: Heiko Schocher cc: Stefan Roese cc: Philippe De Muyter cc: Gerlando Falauto --- drivers/mtd/cfi_flash.c | 70

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

[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 Signed-off-by: Heiko Schocher cc: Stefan Roese cc: Philippe De Muyter cc: Gerlando Falauto --- changes for v2: - use existing INTEL_MAN

[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 cc: Prafulla Wadaskar cc: Valentin Longchamp cc: Gerlando Falauto --- board/keymile/km_arm/km_arm.c

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

2012-08-09 Thread Holger Brunck
From: Valentin Longchamp 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 corrects this by changing the size che

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

2012-08-10 Thread Holger Brunck
to go in for rc1. If not we have to wait until Gerlando 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 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

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 > > 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 s

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 > cc: Prafulla Wadaskar > cc: Valentin Longchamp > cc: Gerlando Falauto > cc: Marek Vasut > --- > changes for v3: > -

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

2012-09-06 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 >

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

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

2012-12-07 Thread Holger Brunck
the Spansion chips - via the 0x49 CFI word. > > This patch enables this PPB protection mechanism for all AMD type > (AMD commandset) chips. > > Signed-off-by: Stefan Roese > Cc: Anatolij Gustschin > Cc: Holger Brunck > --- > drivers/mtd/cfi_flash.c | 13 +---

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
d) is set to unlocked 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 > Cc: Anatolij Gustschin > Cc: Hol

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

2012-12-07 Thread Holger Brunck
08 E > ... > > Signed-off-by: Stefan Roese > Cc: Anatolij Gustschin > Cc: Holger Brunck > --- > drivers/mtd/cfi_flash.c | 2 ++ > 1 file changed, 2 insertions(+) > Tested-by: Holger Brunck Regards Holger ___

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

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 ,

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

2012-12-20 Thread Holger Brunck
wapped order! > > This swap dates back to: > > commit d63894654df72b010de2abb4b3f07d0d755f65b6 > Author: Holger Brunck > 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 whe

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

2013-01-16 Thread Holger Brunck
From: Gerlando Falauto 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 Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar --- drivers/mtd/nand/kirkwood_nand.c

[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 cc: Valentin Longchamp cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index cbf7bc3

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

2013-01-16 Thread Holger Brunck
specific features in the board setup. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar --- boards.cfg|1 + include/configs/km_kirkwood.h |8 2 files changed, 9 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index

[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 cc: Valentin Longchamp cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |2 +- 1

[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 --- 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/common.c index 6f407b7

[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 --- board/keymile/common/ivm.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/board/keymile/common/ivm.c b/board/keymile/common/ivm.c index 7f

[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 --- 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 index eaa924f..7f

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

2013-01-17 Thread Holger Brunck
From: Karlheinz Jerg 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 Signed-off-by: Holger Brunck --- board/keymile/common/common.c | 11 --- board/keymile/km82xx

[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 --- 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/configs/km/km8309-common.h

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

2013-01-17 Thread Holger Brunck
port is selected (UEC2, eth1). If the Piggy isn't present, the Frontport is selected (UEC0, eth0). The switch reset is connected to a GPIO on the PRIO3 board FPGA (GPIO28) and released at startup. Signed-off-by: Karlheinz Jerg Signed-off-by: Holger Brunck --- board/keymile/km83xx/km8

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

2013-01-17 Thread Holger Brunck
From: Andreas Huber 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 Signed-off-by: Holger Brunck --- include/configs/km/keymile-common.h |9 - 1 files changed, 8

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

2013-01-17 Thread Holger Brunck
: Holger Brunck --- 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 +700,9 @@ SIMPC8313_SP

[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 --- include/configs/km/km8309-common.h |2 -- include/configs/km/km8321-common.h |2 -- 2 files changed, 0 insertions(+), 4 deletions(-) diff --git a

[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 cc: Scott Wood --- drivers/mtd/nand/kmeter1_nand.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff

[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 --- 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/configs/km8360.h +++ b/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 --- board/keymile/km83xx/km83xx.c | 12 include/configs/km/km83xx-common.h |1 - 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/board/keymile/km83xx

[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 --- include/configs/km/keymile-common.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/km/keymile-common.h b

[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 --- boards.cfg |1 + include/configs/tuxx1.h | 31 +-- 2 files changed, 26

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

2013-01-17 Thread Holger Brunck
From: Andreas Huber Replace uImage with ${uimage}. If uimage is not set, default it to uImage. Signed-off-by: Andreas Huber Signed-off-by: Holger Brunck --- board/keymile/scripts/develop-common.txt |5 +++-- board/keymile/scripts/ramfs-common.txt |5 +++-- 2 files changed, 6

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: Ki

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 wrote: > >> +int piggy_present(void) >> +{ >> +struct km_bec_fpga *base = >> +(struct km_bec_fpga *)CONFIG_SYS_KMBEC_FPGA_BASE; >> + >> +

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 wrote: > >> +#if defined(CONFIG_KMVECT1) >> +#include >> +/* Marvell MV88E6122 switch configuration */ >> +struct mv88e_sw_reg extsw_conf[] = { >

[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 --- 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/km82xx.c index 8cf3035

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

2013-01-18 Thread Holger Brunck
Signed-off-by: Holger Brunck --- 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/board/keymile/km82xx

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

2013-01-21 Thread Holger Brunck
On 01/18/2013 10:12 PM, Kim Phillips wrote: > On Fri, 18 Jan 2013 10:14:39 +0100 > Holger Brunck wrote: > >> On 01/18/2013 01:44 AM, Kim Phillips wrote: >>> On Thu, 17 Jan 2013 13:47:51 +0100 >>> Holger Brunck wrote: >>> >>>> + i

[U-Boot] [PATCH v2 07/16] powerpc/83xx: use ppc_6xx as arch variable for kmvect1

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

[U-Boot] [PATCH v2 05/16] km/common/ivm: rework piggy mac adress offset generation

2013-01-21 Thread Holger Brunck
For the the kmvect1 board we will also need a functionality to add an offset to the IVMs MAC address, because these board will have two valid ethernet ports for debugging purpose. So move the code to an own function. Signed-off-by: Holger Brunck --- Changes for v2: - new in this serie, needed

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

2013-01-21 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 --- Changes for v2: - none board/keymile/common/ivm.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/board/keymile/common/ivm.c b/board/ke

[U-Boot] [PATCH v2 13/16] powerpc/83xx/km: cleanup tuxx1 support

2013-01-21 Thread Holger Brunck
: Holger Brunck --- Changes for v2: - none 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 v2 11/16] powerpc/83xx: use NAND_ECC_BCH for kmcoge5ne

2013-01-21 Thread Holger Brunck
Switch from 1-bit ecc to 4-bit ecc. Signed-off-by: Holger Brunck --- Changes for v2: - none 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 v2 08/16] km/common: introduce $uimage variable

2013-01-21 Thread Holger Brunck
From: Andreas Huber 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 Signed-off-by: Holger Brunck --- Changes for v2: - none include/configs/km/keymile-common.h |9

[U-Boot] [PATCH v2 12/16] km/common: add eccmode to kernel commandline

2013-01-21 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 --- Changes for v2: - none include/configs/km/keymile-common.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include

[U-Boot] [PATCH v2 14/16] powerpc/83xx/km: add support for kmopti2 board

2013-01-21 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 --- Changes for v2: - none boards.cfg |1 + include/configs/tuxx1.h | 31

[U-Boot] [PATCH v2 15/16] powerpc/83xx/km: remove uneeded CONFIG_MISC_INIT_R

2013-01-21 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 --- Changes for v2: - fix typo in commit message include/configs/km/km8309-common.h |2 -- include/configs/km/km8321-common.h |2 -- 2 files changed, 0

[U-Boot] [PATCH v2 09/16] km/scripts: replace hardcoded uImage

2013-01-21 Thread Holger Brunck
From: Andreas Huber Replace uImage with ${uimage}. If uimage is not set, default it to uImage. Signed-off-by: Andreas Huber Signed-off-by: Holger Brunck --- Changes for v2: - none board/keymile/scripts/develop-common.txt |5 +++-- board/keymile/scripts/ramfs-common.txt |5

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

2013-01-21 Thread Holger Brunck
All boards from this serie use i2c. There is no need to #ifdef the header. Signed-off-by: Holger Brunck --- Changes for v2: - fix typo in commit message board/keymile/common/common.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/board/keymile/common/common.c b

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

2013-01-21 Thread Holger Brunck
From: Karlheinz Jerg 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 Signed-off-by: Holger Brunck --- Changes for v2: - make piggy_present() static - add __iomem macro

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

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

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

2013-01-21 Thread Holger Brunck
There is no need for a environment variable to configure the dtt bus. Signed-off-by: Holger Brunck --- Changes for v2: - change commit message board/keymile/km83xx/km83xx.c | 12 include/configs/km/km83xx-common.h |1 - 2 files changed, 4 insertions(+), 9 deletions

[U-Boot] [PATCH v2 06/16] powerpc/83xx/km: add MV88E6122 switch support for kmvect1

2013-01-21 Thread Holger Brunck
port is selected (UEC2, eth1). If the Piggy isn't present, the Frontport is selected (UEC0, eth0). The switch reset is connected to a GPIO on the PRIO3 board FPGA (GPIO28) and released at startup. Signed-off-by: Karlheinz Jerg Signed-off-by: Holger Brunck --- Changes for v2: - set eth

[U-Boot] [PATCH v2 10/16] kmeter1_nand: allow uasge of NAND_ECC_SOFT_BCH

2013-01-21 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 Acked-by: Scott Wood --- Changes for v2: - add Acked-by: Scott Wood drivers/mtd/nand/kmeter1_nand.c |4 1

[U-Boot] [PATCH 0/6] updates for keymile powerpc83xx boards

2012-03-21 Thread Holger Brunck
should go through the powepc83xx tree if possible. Andreas Huber (1): km/common: add support for second flash Christian Herzig (1): powerpc83xx/km: lock the window size to 2GiB befor fixing sdram size Holger Brunck (4): powerpc/83xx/km: use tuxx1.h for kmsupx5 target powerpc83xx/km: remove

[U-Boot] [PATCH 3/6] powerpc83xx/km: remove unneeded CONFIG_PCI for kmeter1

2012-03-21 Thread Holger Brunck
We don't use PCI on kmeter1 and never will be, so remove some unneeded code. Signed-off-by: Holger Brunck cc: Kim Phillips cc: Valentin Longchamp cc: Gerlando Falauto cc: Heiko Schocher --- include/configs/kmeter1.h | 15 --- 1 files changed, 0 insertions(+), 15 dele

[U-Boot] [PATCH 1/6] powerpc/83xx/km: use tuxx1.h for kmsupx5 target

2012-03-21 Thread Holger Brunck
This additional header is unneeded, we can use the tuxx1.h for this target. Signed-off-by: Holger Brunck cc: Kim Phillips cc: Valentin Longchamp cc: Gerlando Falauto cc: Heiko Schocher --- boards.cfg|8 ++-- include/configs/kmsupx5.h | 91

[U-Boot] [PATCH 6/6] MAINTAINERS: cleanup for keymile boards

2012-03-21 Thread Holger Brunck
Signed-off-by: Holger Brunck cc: Kim Phillips cc: Valentin Longchamp cc: Gerlando Falauto cc: Heiko Schocher --- MAINTAINERS |8 +++- 1 files changed, 3 insertions(+), 5 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4ccb5d1..28244f6 100644 --- a/MAINTAINERS +++ b

[U-Boot] [PATCH 2/6] powerpc83xx/km: lock the window size to 2GiB befor fixing sdram size

2012-03-21 Thread Holger Brunck
From: Christian Herzig If the ram size isn't locked to 2GiB, the get_ram_size() may hang up. Signed-off-by: Christian Herzig cc: Kim Phillips cc: Valentin Longchamp cc: Gerlando Falauto Signed-off-by: Holger Brunck --- board/keymile/km83xx/km83xx.c |2 +- 1 files changed, 1 inser

[U-Boot] [PATCH 5/6] powerpc/83xx: add kmcoge5ne board support

2012-03-21 Thread Holger Brunck
This board is a MPC8360 board. Two flashes are present a NOR flash were u-boot and the u-boot environment is stored and a NAND flash for the application code. This board has 512MB SDRAM. Additionaly we introduce a common km8360.h file and convert kmeter1 to use this. Signed-off-by: Holger Brunck

[U-Boot] [PATCH 4/6] km/common: add support for second flash

2012-03-21 Thread Holger Brunck
G_KM_UBI_PARTITION_NAME_APP ");" ... snap ... You may also need to enable the second flash: ... snip ... /* additional featured for COGE5 */ ... snap ... Signed-off-by: Andreas Huber cc: Kim Phillips cc: Valentin Longchamp cc: Gerlando Falauto Signed-off-by: Holger Brun

[U-Boot] [PATCH 02/21] arm/km: add piggy mac adress offset for mgcoge3un

2012-03-21 Thread Holger Brunck
On mgcoge3un the piggy mac adress is at offset 3. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs/mgcoge3un.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/mgcoge3un.h b/include

[U-Boot] [PATCH 00/21] updates for keymile arm boards

2012-03-21 Thread Holger Brunck
features on the new board. First one is that the u-boot environment is in the SPI NOR flash and the second one is the direct MAC/MAC connection from the mvgbe interface to an simple switch. Holger Brunck (13): arm/km: add board type to boards.cfg arm/km: add piggy mac adress offset for mgcoge3un

[U-Boot] [PATCH 01/21] arm/km: add board type to boards.cfg

2012-03-21 Thread Holger Brunck
Some other kirkwood boards from keymile will follow. They will have some small differences, but we want to use the km_kirkwood.h for all to distinguish them. This patch a preparation for this. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar

[U-Boot] [PATCH 07/21] arm/km: remove CONFIG_RESET_PHY_R

2012-03-21 Thread Holger Brunck
This is already defined in the generic kirkwood header. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/km/km_arm.h b

[U-Boot] [PATCH 04/21] arm/km: use ARRAY_SIZE macro

2012-03-21 Thread Holger Brunck
Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index 9e9940c..c6c9a71

[U-Boot] [PATCH 09/21] arm/km: use correct kw_gpio function for NAND/SPI switching

2012-03-21 Thread Holger Brunck
From: Valentin Longchamp This used to be done with registers direct access, which is not clear and optimal. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c | 55

[U-Boot] [PATCH 12/21] arm/kirkwood: protect the ENV_SPI #defines

2012-03-21 Thread Holger Brunck
From: Valentin Longchamp So that they can be redefined by some boards specific values. Signed-off-by: Valentin Longchamp Signed-off-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- arch/arm/include/asm/arch-kirkwood/config.h | 12 +--- 1 files changed, 9

[U-Boot] [PATCH 05/21] arm/km: fix wrong comment in SDRAM config for mgcoge3un

2012-03-21 Thread Holger Brunck
Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/kwbimage-memphis.cfg |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/keymile/km_arm/kwbimage-memphis.cfg b/board/keymile/km_arm

[U-Boot] [PATCH 11/21] arm/km: implement weak function board_spi_clam_bus/release

2012-03-21 Thread Holger Brunck
-by: Holger Brunck cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index 2507734..dcecf83 100644 --- a/board/keymile/km_arm

[U-Boot] [PATCH 14/21] mvgbe: remove warning for unused methods

2012-03-21 Thread Holger Brunck
: Holger Brunck --- drivers/net/mvgbe.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/net/mvgbe.c b/drivers/net/mvgbe.c index 477bf5c..dcc1547 100644 --- a/drivers/net/mvgbe.c +++ b/drivers/net/mvgbe.c @@ -52,6 +52,7 @@ DECLARE_GLOBAL_DATA_PTR; #define

[U-Boot] [PATCH 10/21] spi/kirkwood: add weak functions board_spi_bus_claim/release

2012-03-21 Thread Holger Brunck
From: Valentin Longchamp Some kirkwood based boards may need to implement such function due to some HW designs. Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar cc: Holger Brunck --- drivers/spi/kirkwood_spi.c | 12 +++- 1 files changed, 11 insertions

[U-Boot] [PATCH 13/21] km/arm: remove spi toggle command

2012-03-21 Thread Holger Brunck
Now we toggle between SPI and NAND flash automatically if we claim the SPI bus. So we can get rid of this command. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- board/keymile/km_arm/km_arm.c | 26

[U-Boot] [PATCH 06/21] arm/km: change maintainer for mgcoge3un

2012-03-21 Thread Holger Brunck
Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Heiko Schocher cc: Prafulla Wadaskar cc: Gerlando Falauto --- MAINTAINERS |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 46f63a0..652113f 100644 --- a/MAINTAINERS +++ b

[U-Boot] [PATCH 03/21] arm/km: rename CONFIG option CONFIG_KM_DEF_ENV_UPDATE

2012-03-21 Thread Holger Brunck
This config option sounds like the it is responsible for the update of the environment, but it is the u-boot update handling. Therefore we adapt it to a more apropriate naming. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- include/configs

[U-Boot] [PATCH 08/21] arm/km: enable mii cmd

2012-03-21 Thread Holger Brunck
From: Valentin Longchamp This is useful to debug the switch initialization Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar cc: Holger Brunck --- include/configs/km/km_arm.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs

[U-Boot] [PATCH 16/21] arm/km: add kmcoge5un board support

2012-03-21 Thread Holger Brunck
configuration for the mvgbe driver. Signed-off-by: Holger Brunck Signed-off-by: Valentin Longchamp cc: Gerlando Falauto cc: Prafulla Wadaskar --- MAINTAINERS |1 + board/keymile/km_arm/256M8-1.cfg | 292 ++ boards.cfg

<    1   2   3   4   5   6   >