[U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread André Schaller
Hi everybody, I need to add functionality to the SPL code. I tried to implement in a memory-saving way, however, the SPL is about 45 kB after compilation. To get compilation working, I had to set CONFIG_SPL_MAX_SIZE to (45 * 1024). Now, the SPL as well as u-boot won't boot. After the device' (Pand

Re: [U-Boot] [RFC PATCH 3/3] ARM: atmel: add RNDIS gadget support

2013-09-04 Thread Andreas Bießmann
Hi Bo, Marek, On 09/04/2013 04:01 AM, Bo Shen wrote: > Hi Marek Vasut, > > On 09/04/2013 09:55 AM, Marek Vasut wrote: >>> >I have considered to put this in driver, however, different Atmel SoC >>> >have different attributes for each endpoint and different number of >>> >endpoint. >>> > >>> >for e

[U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread bin4ry
Hi everybody, I need to add functionality to the SPL code. I tried to implement in a memory-saving way, however, the SPL is about 45 kB after compilation. To get compilation working, I had to set CONFIG_SPL_MAX_SIZE to (45 * 1024). Now, the SPL as well as u-boot won't boot. After the device' (Pand

Re: [U-Boot] NAND write error with HW ECC on OMAP3

2013-09-04 Thread Andreas Bießmann
Dear Ash Charles, On 09/03/2013 09:34 PM, Ash Charles wrote: > Hi, > > When using 'nandecc hw' on an OMAP3 platform, data is not being > correctly written to NAND. I see the issue on 2013.10-rc2 and 2013.07 > but not on 2012.10. Specifically, when I read back a SPL binary > written with hardwar

Re: [U-Boot] Pull request - arm/zynq v3

2013-09-04 Thread Michal Simek
On 09/03/2013 02:12 PM, Albert ARIBAUD wrote: > Hi Michal, > > On Mon, 19 Aug 2013 09:36:33 +0200, Michal Simek > wrote: > >> Hi Albert, >> >> please pull these 3 zynq patches to your arm tree. >> I have rebased the tree on the 2013.07 to remove that new nds32 patches. >> >> There is still pendi

Re: [U-Boot] [RFC PATCH 3/3] ARM: atmel: add RNDIS gadget support

2013-09-04 Thread Bo Shen
Hi Andreas, On 9/4/2013 15:32, Andreas Bießmann wrote: Hi Bo, Marek, On 09/04/2013 04:01 AM, Bo Shen wrote: Hi Marek Vasut, On 09/04/2013 09:55 AM, Marek Vasut wrote: I have considered to put this in driver, however, different Atmel SoC have different attributes for each endpoint and differe

Re: [U-Boot] [RFC PATCH 3/3] ARM: atmel: add RNDIS gadget support

2013-09-04 Thread Andreas Bießmann
Hi Bo, On 09/04/2013 09:42 AM, Bo Shen wrote: > Hi Andreas, > > On 9/4/2013 15:32, Andreas Bießmann wrote: >> Hi Bo, Marek, >> >> On 09/04/2013 04:01 AM, Bo Shen wrote: >>> Hi Marek Vasut, >>> >>> On 09/04/2013 09:55 AM, Marek Vasut wrote: >> I have considered to put this in driver, however,

Re: [U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread Sricharan R
On Wednesday 04 September 2013 01:01 PM, bin4ry wrote: > Hi everybody, > > I need to add functionality to the SPL code. I tried to implement in a > memory-saving way, however, the SPL is about 45 kB after compilation. To > get compilation working, I had to set CONFIG_SPL_MAX_SIZE to (45 * > 1024).

Re: [U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread Michael Trimarchi
Hi On Wed, Sep 4, 2013 at 10:44 AM, Sricharan R wrote: > On Wednesday 04 September 2013 01:01 PM, bin4ry wrote: >> Hi everybody, >> >> I need to add functionality to the SPL code. I tried to implement in a >> memory-saving way, however, the SPL is about 45 kB after compilation. To >> get compilat

Re: [U-Boot] NAND write error with HW ECC on OMAP3

2013-09-04 Thread Andreas Bießmann
Dear Ash Charles, On 09/04/2013 09:35 AM, Andreas Bießmann wrote: > Dear Ash Charles, > > On 09/03/2013 09:34 PM, Ash Charles wrote: >> Hi, >> >> When using 'nandecc hw' on an OMAP3 platform, data is not being >> correctly written to NAND. I see the issue on 2013.10-rc2 and 2013.07 >> but not on

Re: [U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread Sricharan R
On Wednesday 04 September 2013 02:18 PM, Michael Trimarchi wrote: > Hi > > On Wed, Sep 4, 2013 at 10:44 AM, Sricharan R wrote: >> On Wednesday 04 September 2013 01:01 PM, bin4ry wrote: >>> Hi everybody, >>> >>> I need to add functionality to the SPL code. I tried to implement in a >>> memory-savin

Re: [U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread bin4ry
Am 04.09.2013 10:56, schrieb Sricharan R: > On Wednesday 04 September 2013 02:18 PM, Michael Trimarchi wrote: >> Hi >> >> On Wed, Sep 4, 2013 at 10:44 AM, Sricharan R wrote: >>> On Wednesday 04 September 2013 01:01 PM, bin4ry wrote: Hi everybody, I need to add functionality to the S

Re: [U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread Sricharan R
On Wednesday 04 September 2013 02:34 PM, bin4ry wrote: > Am 04.09.2013 10:56, schrieb Sricharan R: >> On Wednesday 04 September 2013 02:18 PM, Michael Trimarchi wrote: >>> Hi >>> >>> On Wed, Sep 4, 2013 at 10:44 AM, Sricharan R wrote: On Wednesday 04 September 2013 01:01 PM, bin4ry wrote: >>>

Re: [U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread Lokesh Vutla
Hi, On Wednesday 04 September 2013 02:34 PM, bin4ry wrote: > Am 04.09.2013 10:56, schrieb Sricharan R: >> On Wednesday 04 September 2013 02:18 PM, Michael Trimarchi wrote: >>> Hi >>> >>> On Wed, Sep 4, 2013 at 10:44 AM, Sricharan R wrote: On Wednesday 04 September 2013 01:01 PM, bin4ry wrote:

Re: [U-Boot] current version of u-boot doesn't seem to load kernel for beaglebone black

2013-09-04 Thread Robert P. J. Day
On Tue, 3 Sep 2013, Robert P. J. Day wrote: > > just checked out and built u-boot for beaglebone black: > > $ make am335x_boneblack_config > > built, copied only MLO and u-boot.img to SD card so i could run u-boot > off of SD card but boot the rest out of the eMMC, and got: > > U-Boot# run bootc

Re: [U-Boot] U-Boot 2009.11.1 USB Issue and Building U-Boot 2013.07

2013-09-04 Thread Jens Scharsig
Dear Chuck Wical > usb start > > fatload usb 0 $(loadaddr) rootfs.ext2.gz.uboot where loadaddr is the same > address used by tftp. > Your load address 0 is wrong. On AT91 systems addresses greater than 0x2010 should be used (RAM location). Regards jens ___

Re: [U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-09-04 Thread Andreas Bießmann
Hi Albert, can you please wait applying this? I have another 2-3 patches for this release. Best regards Andreas Bießmann On 08/22/2013 05:04 PM, Andreas Bießmann wrote: > Dear Albert Aribaud, > > The following changes since commit 9ed887caecb9ecb0c68773a1870d143b9f28d3da: > > Merge branch '

Re: [U-Boot] pull request for u-boot-tegra/master into ARM/master

2013-09-04 Thread Albert ARIBAUD
Hi Tom, On Mon, 19 Aug 2013 15:57:27 -0700, Tom Warren wrote: > Albert, > > Please pull u-boot-tegra/master into ARM/master. Thanks! > > ./MAKEALL -s tegra AOK, checkpatch.pl is clean. > > TomR - hopefully if Albert can get this in quickly, it can make 2013.10-RC1 > (or 2). > > > The follow

Re: [U-Boot] [PATCH] ums: Add "dev num" parameter. Check mmc device before do ums init.

2013-09-04 Thread Przemyslaw Marczak
Hello Marek, Thank you for reply. On 09/04/2013 12:26 AM, Marek Vasut wrote: Dear Przemyslaw Marczak, This change allows using every mmc device instance with ums, like eMMC or SD cards. Now MMC device is checked before ums is inited. Example of use: ums for mmc devices. Signed-off-by: Przem

[U-Boot] [PATCH 1/3] SPL: P1022DS: switch to new multibus/multiadapter support

2013-09-04 Thread ying.zhang
From: Ying Zhang - Added section "u_boot_list" in arch/powerpc/cpu/mpc85xx/u-boot-spl.lds - Use the function i2c_init_all instead of i2c_init Signed-off-by: Ying Zhang --- arch/powerpc/cpu/mpc85xx/u-boot-spl.lds |5 + board/freescale/p1022ds/spl.c |6 +- 2 files chang

[U-Boot] [PATCH] SPL: P1022DS: switch to new multibus/multiadapter support

2013-09-04 Thread ying.zhang
From: Ying Zhang - Added section "u_boot_list" in arch/powerpc/cpu/mpc85xx/u-boot-spl.lds - Use the function i2c_init_all instead of i2c_init Signed-off-by: Ying Zhang --- arch/powerpc/cpu/mpc85xx/u-boot-spl.lds |5 + board/freescale/p1022ds/spl.c |6 +- 2 files chang

Re: [U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-09-04 Thread Andreas Bießmann
Hi Bo, On 08/28/2013 04:54 PM, Bo Shen wrote: > Add possible to use software BCH ECC for atmel nand driver > > Signed-off-by: Bo Shen > > --- > drivers/mtd/nand/atmel_nand.c |4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_

Re: [U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-09-04 Thread Albert ARIBAUD
Hi Andreas, On Thu, 22 Aug 2013 17:04:43 +0200, Andreas Bießmann wrote: > Dear Albert Aribaud, > > The following changes since commit 9ed887caecb9ecb0c68773a1870d143b9f28d3da: > > Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2013-08-17 > 18:24:13 +0200) > > are available in t

Re: [U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-09-04 Thread Albert ARIBAUD
Hi Andreas, On Wed, 04 Sep 2013 11:40:16 +0200, "Andreas Bießmann" wrote: > Hi Albert, > > can you please wait applying this? I have another 2-3 patches for this > release. Argh! I've pushed it already. Just give me a new PR for these 2-3 patches, I'll take it in today. > Best regards > > An

Re: [U-Boot] [PATCH] Add support for TechNexion edm1-cf-imx6 SoM

2013-09-04 Thread Tapani
Stefano, On Fri, 30 Aug 2013 16:43:28 +0200 Stefano Babic wrote: > Hi Tapani, > > > > On some things we probably need some clarification, see inlined responses > > to some of your questions. > > > > I hope I can help you. > Well, we start to get it. Correct us if we are wrong. > > Ma mai

[U-Boot] [U-boot] IRQ_STACK_START alignment question

2013-09-04 Thread TigerLiu
Hi, experts: I have a question about IRQ statck pointer alignment. In arch/arm/lib/interrupts.c : In Interrupt_init(void) function: IRQ_STACK_START = gd->irq_sp - 4; IRQ_STACK_START_IN = gd->irq_sp + 8; FIQ_STACK_START = IRQ_STACK_START - CONFIG_STACKSIZE_IRQ; It seems not

Re: [U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-09-04 Thread Andreas Bießmann
Hi Albert, On 09/04/2013 01:10 PM, Albert ARIBAUD wrote: > Hi Andreas, > > On Wed, 04 Sep 2013 11:40:16 +0200, "Andreas Bießmann" > wrote: > >> Hi Albert, >> >> can you please wait applying this? I have another 2-3 patches for this >> release. > > Argh! I've pushed it already. Just give me a n

Re: [U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-09-04 Thread Bo Shen
Hi Andreas, On 9/4/2013 6:23 PM, Andreas Bießmann wrote: Hi Bo, On 08/28/2013 04:54 PM, Bo Shen wrote: Add possible to use software BCH ECC for atmel nand driver Signed-off-by: Bo Shen --- drivers/mtd/nand/atmel_nand.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/mt

Re: [U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-09-04 Thread Andreas Bießmann
Hi Bo, On 09/04/2013 02:11 PM, Bo Shen wrote: > Hi Andreas, > > On 9/4/2013 6:23 PM, Andreas Bießmann wrote: >> Hi Bo, >> >> On 08/28/2013 04:54 PM, Bo Shen wrote: >>> Add possible to use software BCH ECC for atmel nand driver >>> >>> Signed-off-by: Bo Shen >>> >>> --- >>> drivers/mtd/nand/atm

[U-Boot] [PATCH] net, phy, cpsw: fix unaligned access if no phy found

2013-09-04 Thread Heiko Schocher
if phy_connect() did not find a phy, phydev is not initialized and following code in cpsw_phy_init() maybe crashes. Fix this. Signed-off-by: Heiko Schocher Cc: Joe Hershberger Cc: Mugunthan V N Cc: Tom Rini --- Found on the dxr2 board with no phy connected to the board, U-Boot crashes with:

Re: [U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread Oleg Kosheliev
Hi, André > >From: u-boot-boun...@lists.denx.de [u-boot-boun...@lists.denx.de] on behalf of André >Schaller [an.sch...@googlemail.com] >Sent: Wednesday, September 04, 2013 10:09 AM >To: u-boot@lists.denx.de >Subject: [U-Boot] SPL binary too large for OMAP446

[U-Boot] [PATCH] am335x_evm.h: Add back the actual load of the kernel image

2013-09-04 Thread Robert P. J. Day
Somewhere along the line of refactoring the am335x header files, the kernel image load was lost, so put it back in. Signed-off-by: Robert P. J. Day --- diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index e0a87f8..7969e07 100644 --- a/include/configs/am335x_evm.h +++

Re: [U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-09-04 Thread Bo Shen
Hi Andreas, On 9/4/2013 8:30 PM, Andreas Bießmann wrote: >Yes, we need libbch. > >If we really want to enable software BCH support. It also need add >following two options in board configuration file. >---8>--- >#define CONFIG_NAND_ECC_BCH >#define CONFIG_BCH >---<8--- > >So, this patch give us

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

2013-09-04 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/02/2013 10:56 AM, Gupta, Pekon wrote: >> On 08/29/2013 01:26 PM, Gupta, Pekon wrote: [snip] I think we should move the selected message to a debug(). >>> Second part of string "nand: selected OMAP_ECC_BCH8_CODE_HW" was >>> specific

[U-Boot] RFC, am335x_evm.h patch for u-boot on SD and rest on eMMC on BBB

2013-09-04 Thread Robert P. J. Day
soldiering on with my configuring and building u-boot for my BBB, i have a proposal for include/configs/am335x_evm.h: #define CONFIG_BOOTCOMMAND \ "run findfdt; " \ "run mmcboot;" \ "setenv mmcdev 1; " \ "setenv bootpart 1:2; " \ "setenv mmcroot /dev/mmcbl

Re: [U-Boot] [PATCH] net, phy, cpsw: fix unaligned access if no phy found

2013-09-04 Thread Tom Rini
On Wed, Sep 04, 2013 at 02:16:01PM +0200, Heiko Schocher wrote: > if phy_connect() did not find a phy, phydev is not initialized > and following code in cpsw_phy_init() maybe crashes. Fix this. > > Signed-off-by: Heiko Schocher > Cc: Joe Hershberger > Cc: Mugunthan V N > Cc: Tom Rini > > ---

Re: [U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread Tom Rini
On Wed, Sep 04, 2013 at 11:43:01AM +0300, Oleg Kosheliev wrote: > Hi, Andr? > > > > >From: u-boot-boun...@lists.denx.de [u-boot-boun...@lists.denx.de] on > behalf of Andr? >Schaller [an.sch...@googlemail.com] > >Sent: Wednesday, September 04, 2013 10:09 AM >

Re: [U-Boot] SPL binary too large for OMAP4460 OCM

2013-09-04 Thread Sricharan R
On Wednesday 04 September 2013 06:48 PM, Tom Rini wrote: > On Wed, Sep 04, 2013 at 11:43:01AM +0300, Oleg Kosheliev wrote: >> Hi, Andr? >> >>> >>> From: u-boot-boun...@lists.denx.de [u-boot-boun...@lists.denx.de] on >> behalf of Andr? >Schaller [an.sch...@go

[U-Boot] [PATCH 2/2] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-09-04 Thread Alban Bedel
Add support for the new Tamonten™ NG platform from Avionic Design. Currently only I2C, MMC, USB and ethernet have been tested. Signed-off-by: Alban Bedel --- .../common/pinmux-config-tamonten-ng.h | 385 + board/avionic-design/common/tamonten-ng.c | 129 +

[U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-09-04 Thread Alban Bedel
Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. Signed-off-by: Alban Bedel Reviewed-by: Julian Scheel --- arch/arm/cpu/tegra-common/ap.c | 1 + arch/arm/include/asm/arch-tegra/tegra.h | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/cpu/tegra-common/ap.c b/a

Re: [U-Boot] [RFC PATCH 3/3] ARM: atmel: add RNDIS gadget support

2013-09-04 Thread Marek Vasut
Dear Andreas Bießmann, > Hi Bo, > > On 09/04/2013 09:42 AM, Bo Shen wrote: > > Hi Andreas, > > > > On 9/4/2013 15:32, Andreas Bießmann wrote: > >> Hi Bo, Marek, > >> > >> On 09/04/2013 04:01 AM, Bo Shen wrote: > >>> Hi Marek Vasut, > >>> > >>> On 09/04/2013 09:55 AM, Marek Vasut wrote: > >

Re: [U-Boot] [PATCH] ums: Add "dev num" parameter. Check mmc device before do ums init.

2013-09-04 Thread Marek Vasut
Dear Przemyslaw Marczak, > Hello Marek, > Thank you for reply. > > On 09/04/2013 12:26 AM, Marek Vasut wrote: > > Dear Przemyslaw Marczak, > > > >> This change allows using every mmc device instance with ums, like eMMC > >> or SD cards. Now MMC device is checked before ums is inited. > >> > >>

Re: [U-Boot] gpmi-nand driver and jffs2 support

2013-09-04 Thread Marek Vasut
Dear Huang Shijie, > 于 2013年09月03日 19:53, Marek Vasut 写道: > > questions comes to mind. Is JFFS2 support in Linux 3.7 not compatible > > with JFFS2 in Linux -next? Is this true? Can I not mount JFFS2 partition > > under Linux-next > > The jffs2 does not changed since the linux 3.7. > All the chang

Re: [U-Boot] [PATCH 3/5] USB: xHCI: Add header for readl/writel functions

2013-09-04 Thread Marek Vasut
Dear Dan Murphy, > Add the asm/io.h header to resolve implicit declaration of > readl/writel > > Signed-off-by: Dan Murphy > --- > drivers/usb/host/xhci.h |2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h > index 467afe0..91935f0 1

Re: [U-Boot] [PATCH v2 1/7] USB: xHCI: Add stack support for xHCI

2013-09-04 Thread Marek Vasut
Dear Dan Murphy, > On 08/21/2013 05:12 AM, Vivek Gautam wrote: > > This adds stack layer for eXtensible Host Controller Interface > > which facilitates use of USB 3.0 in host mode. > > > > Adapting xHCI host controller driver in linux-kernel > > by Sarah Sharp to needs in u-boot. > > > > This ad

[U-Boot] [PATCH v2 0/4] MTD & UBI fixes

2013-09-04 Thread Paul Burton
This patchset corrects a few issues I've had whilst using UBI with U-boot. The first 3 are bug fixes, the 4th is an addition I needed in order to write a large root filesystem into my NAND device. Changes since v1: - Fixed style issues in "cmd_ubi: add write.part command..." as per Stefan R

[U-Boot] [PATCH 2/4] cmd_mtdparts: use 64 bits for flash size, partition size & offset

2013-09-04 Thread Paul Burton
This matches the 64 bit size in struct mtd_info and allows the mtdparts command to function correctly with a flash >= 4GiB. Format specifiers for size & offset are given the ll length, matching its use in drivers/mtd in absence of something like inttypes.h/PRIx64. Signed-off-by: Paul Burton ---

[U-Boot] [PATCH v2 1/4] mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN

2013-09-04 Thread Paul Burton
Linux modified the MTD driver interface in commit edbc4540 (with the same name as this commit). The effect is that calls to mtd_read will not return -EUCLEAN if the number of ECC-corrected bit errors is below a certain threshold, which defaults to the strength of the ECC. This allows -EUCLEAN to st

[U-Boot] [PATCH 3/4] cmd_ubi: use int64_t volume size for 'ubi create'

2013-09-04 Thread Paul Burton
int64_t matches the bytes field in struct ubi_mkvol_req to which the size is assigned. With the prior signed 32 bit integer, volumes were restricted to being less than 2GiB in size. Signed-off-by: Paul Burton --- common/cmd_ubi.c | 16 1 file changed, 8 insertions(+), 8 deletion

[U-Boot] patchwork updated

2013-09-04 Thread Tom Rini
Hey all, I've gone over the unassigned patchwork queue and done a triage and assign. There's some obvious superseded patches I'll mark soon, if not beaten to it. Any incorrect assignments are clearly my fault. -- Tom signature.asc Description: Digital signature __

[U-Boot] [PATCH v2 4/4] cmd_ubi: add write.part command, to write a volume in multiple parts

2013-09-04 Thread Paul Burton
This allows you to write data to an UBI volume when the amount of memory available to write that data from is less than the total size of the data. For example, you may split a root filesystem UBIFS image into parts, provide the total size of the image to the first write.part command and then use m

Re: [U-Boot] [PATCH v2 6/7] config: arm: exynos5250: Define CONFIG_SYS_CACHELINE_SIZE

2013-09-04 Thread Marek Vasut
Dear Vivek Gautam, > XHCI stack driver needs this to align buffers to > CacheLine boundary. So define the same to be '64' > > Signed-off-by: Vivek Gautam > Cc: Julius Werner > Cc: Simon Glass > Cc: Minkyu Kang > Cc: Dan Murphy > Cc: Marek Vasut > --- > include/configs/exynos5250-dt.h |

[U-Boot] [PATCH 2/5] spl_mmc: only call printf or puts with CONFIG_SPL_LIBCOMMON_SUPPORT

2013-09-04 Thread Paul Burton
If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio functions are unavailable & calling them will cause a link failure. Signed-off-by: Paul Burton --- common/spl/spl_mmc.c | 16 1 file changed, 16 insertions(+) diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc

[U-Boot] [PATCH 1/5] spl: remove unnecessary (& ARM specific) include of asm/utils.h

2013-09-04 Thread Paul Burton
ARM is the only architecture which includes this header and nothing in spl_mmc.c makes use of it. Remove the include. Signed-off-by: Paul Burton --- common/spl/spl_mmc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/common/spl/spl_mmc.c b/common/spl/spl_mmc.c index f27b4c2..5e7e0fe 100644 -

Re: [U-Boot] mtd: atmel_nand: pmecc: fix bug fail to correct bit error in 1024-bytes sector

2013-09-04 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >The PMECC use BCH algorithm to correct error. In BCH algorithm, the >primitive polynomial value is GF(2^13) for 512-bytes sector size. And it is >GF(2^14) for 1024-bytes sector size. > >This patch will choose correct degree of the remainders (13 or 14) for applied

[U-Boot] [PULL] u-boot-atmel/master -> u-boot-arm/master

2013-09-04 Thread Andreas Bießmann
Dear Albert Aribaud, please pull these two fixes into u-boot-arm/master for 2013.10 release. The following changes since commit 4eef93da262048eb1118e726b3ec5b8ebd3c6c91: Merge branch 'u-boot-atmel/master' into 'u-boot-arm/master' (2013-09-04 11:50:25 +0200) are available in the git repositor

Re: [U-Boot] Please pull u-boot-ti/master

2013-09-04 Thread Albert ARIBAUD
Hi Tom, On Wed, 28 Aug 2013 14:25:07 -0400, Tom Rini wrote: > Hello, > > The following changes since commit 9ed887caecb9ecb0c68773a1870d143b9f28d3da: > > Merge branch 'u-boot-imx/master' into 'u-boot-arm/master' (2013-08-17 > 18:24:13 +0200) > > are available in the git repository at: > >

[U-Boot] [PATCH 5/5] mmc: don't support write & erase for SPL builds

2013-09-04 Thread Paul Burton
For SPL builds this is just dead code since we'll only need to read. Eliminating it results in a significant size reduction for the SPL binary. Signed-off-by: Paul Burton --- drivers/mmc/mmc.c | 8 1 file changed, 8 insertions(+) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index

Re: [U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-09-04 Thread Andreas Bießmann
Hi Bo, On 09/04/2013 02:46 PM, Bo Shen wrote: > On 9/4/2013 8:30 PM, Andreas Bießmann wrote: >>> >Yes, we need libbch. >>> > >>> >If we really want to enable software BCH support. It also need add >>> >following two options in board configuration file. >>> >---8>--- >>> >#define CONFIG_NAND_ECC_BC

Re: [U-Boot] ARM: atmel: sama5d3: drop unused CONFIG_NET_MULTI

2013-09-04 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Drop unused CONFIG_NET_MULTI > >Signed-off-by: Bo Shen > >--- >include/configs/sama5d3xek.h |1 - > 1 file changed, 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mail

[U-Boot] [PATCH 3/5] mmc: don't call *printf or puts when SPL & !CONFIG_SPL_LIBCOMMON_SUPPORT

2013-09-04 Thread Paul Burton
If we don't have CONFIG_SPL_LIBCOMMON_SUPPORT defined then stdio & *printf functions are unavailable & calling them will cause a link failure. Signed-off-by: Paul Burton --- drivers/mmc/mmc.c | 36 1 file changed, 36 insertions(+) diff --git a/drivers/mmc/mm

Re: [U-Boot] [PATCH 0/5] SPL/MMC size fixes

2013-09-04 Thread Paul Burton
Bah, the subject should have read "size optimisations and fixes" but you get the idea... Thanks, Paul On 04/09/13 16:12, Paul Burton wrote: This series reduces the size of the SPL when compiled with MMC support, and fixes build issues if the target does not include libcommon in SPL, or if

Re: [U-Boot] [PATCH 3/5] USB: xHCI: Add header for readl/writel functions

2013-09-04 Thread Dan Murphy
Marek On 09/04/2013 09:17 AM, Marek Vasut wrote: > Dear Dan Murphy, > >> Add the asm/io.h header to resolve implicit declaration of >> readl/writel >> >> Signed-off-by: Dan Murphy >> --- >> drivers/usb/host/xhci.h |2 ++ >> 1 file changed, 2 insertions(+) >> >> diff --git a/drivers/usb/host/

Re: [U-Boot] U-Boot 2009.11.1 USB Issue and Building U-Boot 2013.07

2013-09-04 Thread Wolfgang Denk
Dear Chuck, please always keep the mailing list on Cc: And please don't top post / full quote. Thanks. In message <005001cea968$9eaa58e0$dbff0aa0$@amanomcgann.com> you wrote: > > Thank you for the reply! Yes the same loadaddr is used for both tftp > and fatload as follows: loadaddr=0x210

Re: [U-Boot] gpmi-nand driver and jffs2 support

2013-09-04 Thread Huang Shijie
On Wed, Sep 04, 2013 at 04:00:36PM +0200, Marek Vasut wrote: > Dear Huang Shijie, > How come hector was then able to write his JFFS2 partition ? If he uses the gpmi, he should not write the JFFS2, since the gpmi does not support the jffs2. He will get the failure in the end. > > > So the jffs2 s

[U-Boot] [PATCH 4/5] mmc: size optimization when !CONFIG_MMC_SPI

2013-09-04 Thread Paul Burton
When CONFIG_MMC_SPI is not enabled, the MMC_MODE_SPI capability can never be set. However there is code in mmc.c which uses the mmc_host_is_spi macro to check that capability & act accordingly. If we expand that macro to 0 when CONFIG_MMC_SPI is not set (since it will always be 0 at runtime anyway)

[U-Boot] [PATCH 0/5] SPL/MMC size fixes

2013-09-04 Thread Paul Burton
This series reduces the size of the SPL when compiled with MMC support, and fixes build issues if the target does not include libcommon in SPL, or if the target is not ARM based. Both of these are true of my board which is currently out of tree, but which I hope to be able to upstream soon. In the

Re: [U-Boot] [PATCH] ums: Add "dev num" parameter. Check mmc device before do ums init.

2013-09-04 Thread Przemyslaw Marczak
On 09/04/2013 02:34 PM, Marek Vasut wrote: Dear Przemyslaw Marczak, Hello Marek, Thank you for reply. On 09/04/2013 12:26 AM, Marek Vasut wrote: Dear Przemyslaw Marczak, This change allows using every mmc device instance with ums, like eMMC or SD cards. Now MMC device is checked before ums

Re: [U-Boot] gpmi-nand driver and jffs2 support

2013-09-04 Thread Hector Palacios
Dear Marek, On 09/04/2013 04:38 PM, Marek Vasut wrote: Dear Huang Shijie, On Wed, Sep 04, 2013 at 04:00:36PM +0200, Marek Vasut wrote: Dear Huang Shijie, How come hector was then able to write his JFFS2 partition ? If he uses the gpmi, he should not write the JFFS2, since the gpmi does not

Re: [U-Boot] U-Boot 2009.11.1 USB Issue and Building U-Boot 2013.07

2013-09-04 Thread Chuck Wical
Wolfgang, > please always keep the mailing list on Cc: My apologies but in my line of work I have to be careful about reply all so there are times I hit reply automatically. > And please don't top post / full quote. Thanks. Again, my apologies since I keep all emails in thread form here at work

Re: [U-Boot] [PATCH] powerpc/p1010rdb-pb: add support for p1010rdb-pb board

2013-09-04 Thread Scott Wood
On Thu, 2013-08-29 at 06:10 -0500, Liu Shengzhou-B36685 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Wednesday, August 14, 2013 8:35 AM > > To: Liu Shengzhou-B36685 > > Cc: u-boot@lists.denx.de > > Subject: Re: [U-Boot] [PATCH] powerpc/p1010rdb-pb: add support for >

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-09-04 Thread Stephen Warren
On 09/04/2013 07:00 AM, Alban Bedel wrote: > Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. CC'ing the Tegra maintainer would be helpful (Tom Warren; I CC'd him here) > diff --git a/arch/arm/cpu/tegra-common/ap.c b/arch/arm/cpu/tegra-common/ap.c > @@ -71,6 +71,7 @@ int tegra_get_c

Re: [U-Boot] NAND write error with HW ECC on OMAP3

2013-09-04 Thread Ash Charles
On Wed, Sep 4, 2013 at 1:54 AM, Andreas Bießmann wrote: > I can't confirm your complaints. Here it works (at least on tricorder, > which utilizes BCH for U-Boot section in SPL): Hi Andreas, Thanks for your response---this was very helpful. When I boot my board using the tricorder board file, it

Re: [U-Boot] [PATCH 2/2] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-09-04 Thread Stephen Warren
On 09/04/2013 07:00 AM, Alban Bedel wrote: > Add support for the new Tamonten™ NG platform from Avionic Design. > Currently only I2C, MMC, USB and ethernet have been tested. (Also CC'ing the Tegra maintainer here) > diff --git a/board/avionic-design/common/tamonten-ng.c > b/board/avionic-design/

Re: [U-Boot] gpmi-nand driver and jffs2 support

2013-09-04 Thread Marek Vasut
Dear Huang Shijie, > On Wed, Sep 04, 2013 at 04:00:36PM +0200, Marek Vasut wrote: > > Dear Huang Shijie, > > How come hector was then able to write his JFFS2 partition ? > > If he uses the gpmi, he should not write the JFFS2, since the gpmi > does not support the jffs2. He will get the failure in

[U-Boot] [PATCH] mx6sabresd: Add LVDS splash screen support

2013-09-04 Thread Fabio Estevam
mx6sabresd boards can be connected to a Hannstar XGA LVDS panel. Add support for displaying U-boot splashscreen on it. By default, HDMI splash is selected. In order to use splash via LVDS, do the following in the U-boot prompt: setenv panel Hannstar-XGA save and reboot. Signed-off-by: Fabio E

Re: [U-Boot] [PATCH] net, phy, cpsw: fix unaligned access if no phy found

2013-09-04 Thread Joe Hershberger
On Wed, Sep 4, 2013 at 7:16 AM, Heiko Schocher wrote: > if phy_connect() did not find a phy, phydev is not initialized > and following code in cpsw_phy_init() maybe crashes. Fix this. > > Signed-off-by: Heiko Schocher > Cc: Joe Hershberger > Cc: Mugunthan V N > Cc: Tom Rini Acked-by: Joe Hers

[U-Boot] Compiling certain files with extra compiler flags

2013-09-04 Thread Vadim Bendebury
Does u-boot provide the ability to change compilation options 'on the fly', say when certain files need to be compiled for symbolic debugging? I looked but did not find any. How about something like this: vvv $ git diff config.mk diff --git a/config.mk

Re: [U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-09-04 Thread Scott Wood
On Wed, 2013-09-04 at 17:15 +0200, Andreas Bießmann wrote: > Hi Bo, > > On 09/04/2013 02:46 PM, Bo Shen wrote: > > On 9/4/2013 8:30 PM, Andreas Bießmann wrote: > >>> >Yes, we need libbch. > >>> > > >>> >If we really want to enable software BCH support. It also need add > >>> >following two options

Re: [U-Boot] [PATCH] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Joel Fernandes
On 08/27/2013 08:52 AM, Marek Vasut wrote: > Dear Joel Fernandes, > >> As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned >> on 4 byte boundaray causing data aborts in eth_setup -> conf_buf >> during dhcp boot over usb_ether. Fix the issue my aligning control_req >> buffer to 4-

Re: [U-Boot] [PATCH] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Marek Vasut
Dear Joel Fernandes, > On 08/27/2013 08:52 AM, Marek Vasut wrote: > > Dear Joel Fernandes, > > > >> As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned > >> on 4 byte boundaray causing data aborts in eth_setup -> conf_buf > >> during dhcp boot over usb_ether. Fix the issue my al

Re: [U-Boot] [PATCH] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Joel Fernandes
On 09/04/2013 04:38 PM, Marek Vasut wrote: > Dear Joel Fernandes, > >> On 08/27/2013 08:52 AM, Marek Vasut wrote: >>> Dear Joel Fernandes, >>> As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned on 4 byte boundaray causing data aborts in eth_setup -> conf_buf durin

Re: [U-Boot] [PATCH] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Marek Vasut
Dear Joel Fernandes, > On 09/04/2013 04:38 PM, Marek Vasut wrote: > > Dear Joel Fernandes, > > > >> On 08/27/2013 08:52 AM, Marek Vasut wrote: > >>> Dear Joel Fernandes, > >>> > As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned > on 4 byte boundaray causing data abo

Re: [U-Boot] NAND write error with HW ECC on OMAP3

2013-09-04 Thread Ash Charles
Hi, I did a little bit more work with git bisect and found an issue on commit c788ecfdc3eb577757ffc1bfb8416added07ef33 "nand: Move the sub-page read support enable to a flag". Making this change on top of v2013.07 allowed me to again write to NAND correctly. -#define NAND_HAS_SUBPAGE_READ(chip)

[U-Boot] [PATCH v2] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Joel Fernandes
As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned on 4 byte boundaray causing data aborts in eth_setup -> conf_buf during dhcp boot over usb_ether. Fix the issue my aligning control_req buffer to 4-byte boundary. Tested on am335x_evm platform (beaglebone). Applies on 2013.10-rc

[U-Boot] [PATCH v3] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Joel Fernandes
As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned on 4 byte boundaray causing data aborts in eth_setup -> conf_buf during dhcp boot over usb_ether. Fix the issue my aligning control_req buffer using DEFINE_CACHE_ALIGN_BUFFER. Tested on am335x_evm platform (beaglebone). Applies

Re: [U-Boot] [PATCH v3] usb: gadget: Fix data aborts during USB ethernet boot

2013-09-04 Thread Bo Shen
Hi Joel Fernandes, On 09/05/2013 07:55 AM, Joel Fernandes wrote: As seen on GCC 4.6 Linaro compiler, control_req buffer is not aligned on 4 byte boundaray causing data aborts in eth_setup -> conf_buf during dhcp boot over usb_ether. Fix the issue my aligning control_req buffer using DEFINE_CACHE

[U-Boot] [PATCH v2] powerpc/p1010rdb: update readme for p1010rdb-pb board

2013-09-04 Thread Shengzhou Liu
- Remove duplicate doc/README.p1010rdb - Update for P1010RDB-PB board P1010RDB-PB is a variation of previous P1010RDB-PA board. Henceforth we support P1010RDB-PB board instead of P1010RDB-PA. Signed-off-by: Shengzhou Liu --- v2: removed duplicate doc/README.p1010rdb board/freescale/p1010rdb/RE

[U-Boot] [PATCH v1 0/2] arm, da85x: updates for the ipam390 board

2013-09-04 Thread Heiko Schocher
enable the RBL/UBL ECC layout through CONFIG_NAND_6BYTES_OOB_FREE_10BYTES_ECC define see for more info: http://processors.wiki.ti.com/index.php/DM365_Nand_ECC_layout and use this on the ipam390 board. Also do some minor changes for this board: - update default environment - change A2CR to correc

[U-Boot] [PATCH v1 1/2] nand, davinci: add special UBL ecc position

2013-09-04 Thread Heiko Schocher
enable the RBL/UBL ECC layout through CONFIG_NAND_6BYTES_OOB_FREE_10BYTES_ECC define see for more info: http://processors.wiki.ti.com/index.php/DM365_Nand_ECC_layout Signed-off-by: Heiko Schocher Cc: Tom Rini Cc: Scott Wood --- drivers/mtd/nand/davinci_nand.c | 10 ++ 1 Datei geändert

[U-Boot] [PATCH v1 2/2] arm, da85x: update for the ipam390 board

2013-09-04 Thread Heiko Schocher
- switch to correct ecc layout used by the RBL enable CONFIG_NAND_6BYTES_OOB_FREE_10BYTES_ECC - update default environment - change A2CR to correct value for UART boot mode - adapt cs3cfg timings for nand - change LED bootmode signalization Signed-off-by: Heiko Schocher Cc: Tom Rini --- board

Re: [U-Boot] [PATCH] net, phy, cpsw: fix unaligned access if no phy found

2013-09-04 Thread Heiko Schocher
Hello Tom, Am 04.09.2013 15:14, schrieb Tom Rini: On Wed, Sep 04, 2013 at 02:16:01PM +0200, Heiko Schocher wrote: if phy_connect() did not find a phy, phydev is not initialized and following code in cpsw_phy_init() maybe crashes. Fix this. Signed-off-by: Heiko Schocher Cc: Joe Hershberger Cc:

[U-Boot] [PATCH v2] net, phy, cpsw: fix NULL pointer deference

2013-09-04 Thread Heiko Schocher
if phy_connect() did not find a phy, phydev is NULL and following code in cpsw_phy_init() crashes. Fix this. Signed-off-by: Heiko Schocher Cc: Joe Hershberger Cc: Mugunthan V N Cc: Tom Rini --- - changes for v2: - change commit message as it is a NULL pointer deference error not an unal

[U-Boot] [PATCH 2/3] net, phy: fix NULL pointer deference

2013-09-04 Thread Heiko Schocher
if phydev is a NULL pointer, code crash, so add check if phydev != NULL Signed-off-by: Heiko Schocher Cc: Andy Fleming Cc: Kumar Gala Cc: Joe Hershberger Cc: Tom Rini --- Found on the dxr2 board with no phy connected to the board, U-Boot crashes with: U-Boot# tftp 0x8020 /tftpboot/dxr2/

Re: [U-Boot] [PATCH] MTD: atmel_nand: support for software BCH ECC

2013-09-04 Thread Andreas Bießmann
Dear Scott Wood, On 04.09.13 21:44, Scott Wood wrote: > On Wed, 2013-09-04 at 17:15 +0200, Andreas Bießmann wrote: >> On 09/04/2013 02:46 PM, Bo Shen wrote: >>> On 9/4/2013 8:30 PM, Andreas Bießmann wrote: >> Yes, we need libbch. >> >> If we really want to enable software BCH support.