Re: [U-Boot] tr

2013-11-15 Thread Bo Shen
Hi Frank, On 11/14/2013 06:20 PM, Frank Ihle wrote: Hi everybody I'm writing you since you have been mentioned in the README as help I got this ARM9 SAM9G25, and i try to use it with embedded linux, I already made the images but there's an Error on the target while booting which says "No Na

[U-Boot] [PATCH v9 2/4] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-11-15 Thread Pekon Gupta
BCH8_ECC scheme implemented in omap_gpmc.c driver has following favours +---+-+-+ |ECC Scheme | ECC Calculation | Error Detection | +---+-+-+ |OMAP

[U-Boot] [PATCH v9 0/4] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-15 Thread Pekon Gupta
*changes in v9* (Important) As this patch series was becoming bulky and had many un-related patches, so it has been split into two parts. Part-1: Current patch series focuses on cleaning up GPMC and ELM drivers maintaining existing functionality. And update ecc-scheme selection mec

[U-Boot] [PATCH v9 3/4] mtd: nand: omap: add CONFIG_NAND_OMAP_ECCSCHEME for selection of ecc-scheme

2013-11-15 Thread Pekon Gupta
This patch adds new CONFIG_NAND_OMAP_ECCSCHEME, replacing other distributed CONFIG_xx used for selecting NAND ecc-schemes. This patch aims at solving following issues. 1) Currently ecc-scheme is tied to SoC platform, which prevents user to select other ecc-schemes also supported in hardware. li

[U-Boot] [PATCH v9 4/4] am335x: fix GPMC config for NAND and NOR SPL boot

2013-11-15 Thread Pekon Gupta
GPMC controller is common IP to interface with both NAND and NOR flash devices. Also, it supports max 8 chip-selects, which can be independently connected to any of the devices. But ROM code expects the boot-device to be connected to only chip-select[0]. Thus to resolve conflict between NOR and NAN

[U-Boot] [PATCH v9 1/4] mtd: nand: omap: make am33xx/elm.c as common driver for all OMAPx and AMxxxx platforms

2013-11-15 Thread Pekon Gupta
ELM hardware engine which is used for ECC error detection, is present on all latest OMAP SoC (like OMAP4xxx, OMAP5xxx, DRA7xxx, AM33xx, AM43xx). Thus ELM driver should be moved to common drivers/mtd/nand/ folder so that all SoC having on-chip ELM hardware engine can re-use it. This patch has follow

Re: [U-Boot] [PATCH v8 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-15 Thread Gupta, Pekon
Hi Matti, I have recently posted another version of patch-set, (splitting the patch series into two parts). I was able to boot kernel on beaglebone-LT (white) + x16 NAND cape, using UBIFS flashed via u-boot using following updates: (a) Patch to add beaglebone pin-mux support

Re: [U-Boot] [PATCH v1 2/4] udoo: Add ethernet support (FEC + Micrel KSZ9031).

2013-11-15 Thread Giuseppe Pagano
Hi Stefano, On Wed, 2013-11-13 at 10:04 +0100, Stefano Babic wrote: > Hi Giuseppe, > > On 11/11/2013 18:11, Giuseppe Pagano wrote: > > Add Ethernet and networking support on uDoo board (FEC + phy Micrel > > KSZ9031). > > > > Signed-off-by: Giuseppe Pagano > > CC: Stefano Babic > > CC: Fabio E

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread James Chargin
Is there an existing mailing list for some other open source project that uses a gerrit server in something like what would be a model for the way U-Boot would use it? It might be instructive to watch that list to see how the interaction with the developers goes. Thanks, Jim On 11/14/2013 0

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Oliver Schinagl
On 15-11-13 14:55, James Chargin wrote: Is there an existing mailing list for some other open source project that uses a gerrit server in something like what would be a model for the way U-Boot would use it? Coreboot? oliver It might be instructive to watch that list to see how the interactio

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Luca Ellero
Il 15/11/2013 15:12, Oliver Schinagl ha scritto: On 15-11-13 14:55, James Chargin wrote: Is there an existing mailing list for some other open source project that uses a gerrit server in something like what would be a model for the way U-Boot would use it? Coreboot? OpenOCD oliver It might

Re: [U-Boot] [PATCH v8 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-11-15 Thread matti kaasinen
Pekon, Great to hear that you have managed in that. I tried that with previous patch sets (and re-writing beaglebone paches). Result was such that oob printout from u-boot had full of ff. Well, partition map was different on u-boot and Linux sides. However, partition that I tried to acces was in th

[U-Boot] [PATCH v2 0/4] udoo: Move and optimize platform register setting.

2013-11-15 Thread Giuseppe Pagano
Previous uDoo configuration adopts register settings for DDR3, clock, muxing, etc. taken from Nitrogen6x. uDoo schematics is rather different from that board, and it needs customized setting for most of the registers. All this changes can be considered atomical since it is part of initial support o

[U-Boot] [PATCH v2 2/4] nitrogen6x: Move setup_sata to common part

2013-11-15 Thread Giuseppe Pagano
Move setup_sata function definition from platform file nitrogen6x.c to arch/arm/imx-common/sata.c to avoid code duplication. Signed-off-by: Giuseppe Pagano CC: Stefano Babic CC: Fabio Estevam CC: Eric Nelson --- Changes in v2: - Split previous patch between nitrogen6x udoo code changes. a

[U-Boot] [PATCH v2 1/4] udoo: Add ethernet support (FEC + Micrel KSZ9031).

2013-11-15 Thread Giuseppe Pagano
Add Ethernet and networking support on uDoo board (FEC +phy Micrel KSZ9031). Ethernet speed is currently limited to 10/100Mbps. Signed-off-by: Giuseppe Pagano Tested-by: Fabio Estevam CC: Stefano Babic CC: Fabio Estevam --- Changes in v2: - Improve description and comment. - uDoo does not

[U-Boot] [PATCH v2 3/4] udoo: Add SATA support on uDoo Board.

2013-11-15 Thread Giuseppe Pagano
Add SATA support on uDoo Board. Signed-off-by: Giuseppe Pagano CC: Stefano Babic CC: Fabio Estevam --- Changes in v2: - Split previous patch between nitrogen6x udoo code changes. board/udoo/udoo.c |4 include/configs/udoo.h | 12 2 files changed, 16 insertions(

[U-Boot] [PATCH v2 4/4] udoo: Fix watchdog during kernel boot.

2013-11-15 Thread Giuseppe Pagano
uDoo uses APX823-31W5 watchdog chip. Timeout is about 1.2 seconds. To disabled watchdog during kernel boot, WDI pin of that chip needs to be in "high impedance" state. I.mx6 gpio configuration does not contemplate tristate, so pin is set as input in high impedance. Signed-off-by: Giuseppe Pagano

[U-Boot] [PATCH] TI:omap: Update u-boot-spl.lds for i2c multibus/multiadapter update

2013-11-15 Thread Tom Rini
In 6789e84 we update u-boot-spl.lds for OMAP to ensure we include adapter information, as we use i2c during SPL. However, the regex used also means we included commands that may have been built. On omap5_uevm this leads to a failure as we include the command from the do_tca642x command, and fail

Re: [U-Boot] [PATCH] am33xx: Stop modifying certain EMIF4D registers

2013-11-15 Thread Matt Porter
On Thu, Nov 07, 2013 at 11:42:57AM -0500, Tom Rini wrote: > Based on the definitive guide to EMIF configuration[1] certain registers > that we have been modifying (and are documented registers) should be > left in their reset values rather than modified. This has been tested > on AM335x GP EVM and

Re: [U-Boot] [PATCH V2] imx: Define common routines to set cpu and board environment variables

2013-11-15 Thread Tom Rini
On Fri, Nov 15, 2013 at 12:30:12AM +0100, Marek Vasut wrote: > Hi Eric, > > > Thanks Marek, > > > > On 11/14/2013 02:22 PM, Marek Vasut wrote: > > > Dear Eric Nelson, > > > > > > +Albert, Tom > > > > > >> These can be used in bootcmd to produce DTB file names. > > >> > > >> set_board_env() all

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Wolfgang Denk
Dear Vadim Bendebury (вб), In message you wrote: > > - upload all patches to gerrit > - go to the web interface of the first patch in the series (by this > time gerrit would have a stack of patches showing their dependencies), > click on "review" - at this point gerrit would open a form to type

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Tom Rini
On Fri, Nov 15, 2013 at 08:18:43PM +0100, Wolfgang Denk wrote: > Dear Vadim Bendebury (), > > In message > you > wrote: > > > > - upload all patches to gerrit > > - go to the web interface of the first patch in the series (by this > > time gerrit would have a stack of patches showing their

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Tom Rini
On Thu, Nov 14, 2013 at 07:22:23PM -0200, Otavio Salvador wrote: > On Thu, Nov 14, 2013 at 7:17 PM, Tom Rini wrote: > > On Thu, Nov 14, 2013 at 12:59:05PM -0800, Vadim Bendebury () wrote: > >> On Thu, Nov 14, 2013 at 11:54 AM, Tom Rini wrote: > >> > On Tue, Nov 12, 2013 at 11:46:35AM -0800, V

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Tom Rini
On Thu, Nov 14, 2013 at 03:43:03PM -0800, Vadim Bendebury () wrote: > On Thu, Nov 14, 2013 at 1:17 PM, Tom Rini wrote: > > On Thu, Nov 14, 2013 at 12:59:05PM -0800, Vadim Bendebury () wrote: > >> On Thu, Nov 14, 2013 at 11:54 AM, Tom Rini wrote: > >> > On Tue, Nov 12, 2013 at 11:46:35AM -

Re: [U-Boot] [PATCH v9 1/4] mtd: nand: omap: make am33xx/elm.c as common driver for all OMAPx and AMxxxx platforms

2013-11-15 Thread Scott Wood
On Fri, 2013-11-15 at 15:38 +0530, Pekon Gupta wrote: > ELM hardware engine which is used for ECC error detection, is present on all > latest OMAP SoC (like OMAP4xxx, OMAP5xxx, DRA7xxx, AM33xx, AM43xx). Thus ELM > driver should be moved to common drivers/mtd/nand/ folder so that all SoC > having on

Re: [U-Boot] [PATCH v9 2/4] mtd: nand: omap: enable BCH ECC scheme using ELM for generic platform

2013-11-15 Thread Scott Wood
On Fri, 2013-11-15 at 15:38 +0530, Pekon Gupta wrote: > diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c > index c828859..532fbed 100644 > --- a/drivers/mtd/nand/omap_gpmc.c > +++ b/drivers/mtd/nand/omap_gpmc.c > @@ -15,15 +15,15 @@ > #include > #include > #include > -

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Michal Suchanek
On 15 November 2013 21:08, Tom Rini wrote: > On Thu, Nov 14, 2013 at 03:43:03PM -0800, Vadim Bendebury () wrote: >> On Thu, Nov 14, 2013 at 1:17 PM, Tom Rini wrote: >> > On Thu, Nov 14, 2013 at 12:59:05PM -0800, Vadim Bendebury () wrote: >> >> On Thu, Nov 14, 2013 at 11:54 AM, Tom Rini w

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Tom Rini
On Fri, Nov 15, 2013 at 10:00:00PM +0100, Michal Suchanek wrote: > On 15 November 2013 21:08, Tom Rini wrote: [snip] > > No, what I mean is, for the casual developer, having to setup a few > > things just to post a patch might be too high a hurdle to bother with. > > I suspect as Otavio suggested,

[U-Boot] [Patch v2 2/5] Driver/DDR: Add Freescale DDR driver for ARM

2013-11-15 Thread York Sun
Make PowerPC specific code conditional so ARM SoCs can reuse this driver. Add DDR3 driver for ARM. Signed-off-by: York Sun --- Change log v2: Replace macro CONFIG_SYS_FSL_DDR_ARM_GEN3 with CONFIG_SYS_FSL_DDRC_ARM_GEN3 Updated README README |3 + drivers/ddr/

[U-Boot] [Patch v2 5/5] Driver/IFC: Move Freescale IFC driver to a common driver

2013-11-15 Thread York Sun
Freescale IFC controller has been used for mpc8xxx. It will be used for ARM-based SoC as well. This patch moves the driver to driver/misc and fix the header file includes. Signed-off-by: York Sun --- Change log v2: Move to driver/misc instead of driver/mtd arch/powerpc/cpu/mpc85xx/cpu.c

[U-Boot] [Patch v2 3/5] powerpc/mpc8xxx: Extend DDR registers' fields

2013-11-15 Thread York Sun
Some DDR registers' fields have expanded to accommodate larger values. These changes are backward compatible. Some fields are removed for newer DDR controllers. Writing to those fields are safely ignored. TIMING_CFG_2 register is fixed. Additive latency is added to RD_TO_PRE automatically. It was

[U-Boot] [Patch v2 4/5] Driver/DDR: Update DDR driver to allow non-zero base address

2013-11-15 Thread York Sun
The DRAM base has been zero for Power SoCs. It could be non-zero for ARM SoCs. Use a macro instead of hard-coding to zero. Signed-off-by: York Sun --- Change log v2: no change since v1 drivers/ddr/fsl/main.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/d

Re: [U-Boot] [PATCH v2] malta: use unmapped flash base address

2013-11-15 Thread Daniel Schwierzeck
2013/11/12 Gabor Juhos : > The physical base address of the NOR flash is 0x1e00 > on the Malta boards. The hardware also maps the first 4MiB > of the flash into the 0x1fc0-0x1fff range. > > Currently, U-Boot uses the mapped address to access the > flash, which does not work in recent qe

[U-Boot] [GIT PULL] u-boot-mips/master

2013-11-15 Thread Daniel Schwierzeck
Hi Tom, please pull a fix for Malta board for qemu-1.6 and newer. The following changes since commit 63c4f17b2f8017d22241522a48c765073b8791b0: cm_t35: use scf0403 driver (2013-11-12 10:12:07 +0100) are available in the git repository at: git://git.denx.de/u-boot-mips.git master for you to

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Wolfgang Denk
Dear Tom, In message <20131115194059.GI420@bill-the-cat> you wrote: > > Depends on which part of the flow? You stopped using CVS at some point. > And many of us have switched from bk or other tools, to git. So turning > "git send-email ..." into "git push ..." will only suck for a bit. Agreed.

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Wolfgang Denk
Dear Michal, In message you wrote: > > You need patch(1) to generate a patch and subscribe to mailing list to post > it. No. You can send mail even if not subscribed. The mail will be moderated then, but usually this is just a minor delay - typically less than an hour before it shows up on t

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Wolfgang Denk
Dear Tom, In message <20131115213415.GM420@bill-the-cat> you wrote: > > I'm not saying it's an insurmountable hurdle, and if we take the > approach that people doing more than a one-off submission need to use > gerrit, we would probably survive. Are any of the Linux sub-trees managed by gerrit?

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Otavio Salvador
Wolfgang, On Fri, Nov 15, 2013 at 9:21 PM, Wolfgang Denk wrote: > In message <20131115213415.GM420@bill-the-cat> you wrote: >> >> I'm not saying it's an insurmountable hurdle, and if we take the >> approach that people doing more than a one-off submission need to use >> gerrit, we would probably

[U-Boot] [PATCH v2] mtd: move & update nand_ecclayout structure (plus tricorder change)

2013-11-15 Thread Scott Wood
From: Prabhakar Kushwaha nand_ecclayout is present in mtd.h at Linux. Move this structure to mtd.h to comply with Linux. Also, increase the ecc placement locations to 640 to suport device having writesize/oobsize of 8KB/640B. This means that the maximum oobsize has gone up to 640 bytes and conse

Re: [U-Boot] u-boot gerrit server

2013-11-15 Thread Tom Rini
On Sat, Nov 16, 2013 at 12:16:17AM +0100, Wolfgang Denk wrote: > Dear Tom, > > In message <20131115194059.GI420@bill-the-cat> you wrote: > > > > Depends on which part of the flow? You stopped using CVS at some point. > > And many of us have switched from bk or other tools, to git. So turning >