Re: [U-Boot] offer: program to deal with kirkwood "boot from UART"

2013-04-09 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of JPT > Sent: 08 April 2013 14:44 > To: u-boot@lists.denx.de > Subject: [U-Boot] offer: program to deal with kirkwood > "boot from UART" > > Hi, > > during my dealing with the b

Re: [U-Boot] [PATCH] Exynos5: i2c: Fix read NACK handling and remove some redundancy

2013-04-09 Thread Akshay Saraswat
Hi Hung-ying Tyan, >On which branch is this patch based? It looks quite off from ToT. > I rebased this patch on u-boot-samsung and posted. But it's been quite some time since I posted it, so I am not sure if it could be applied straightway now. > >On Mon, Mar 25, 2013 at 7:46 PM, Akshay Saraswat

[U-Boot] [PATCH V4 0/3] OMAP5: I2C: Enable support of I2C4 and I2C5 buses

2013-04-09 Thread Lubomir Popov
I2C4 and I2C5 are utilized on all known OMAP5 hardware platforms. This series prepares/enables their usage in U-Boot (for I2C5, an additional fix to the i2c driver is required). Changes since V3: Added detailed commit messages. Changes since V2: Separate patches consolidated into a series. Cha

[U-Boot] [PATCH V4 1/3] OMAP5: I2C: Enable i2c5 clocks

2013-04-09 Thread Lubomir Popov
I2C4 and I2C5 are utilized on all known OMAP5 hardware platforms. The i2c5 clock was however not enabled; do this here. Signed-off-by: Lubomir Popov --- Changes since V3: Added detailed commit messages. Changes since V2: Separate patches consolidated into a series. Changes since V1: Fixed lin

[U-Boot] [PATCH V4 2/3] OMAP5: I2C: Add I2C4 and I2C5 bases

2013-04-09 Thread Lubomir Popov
I2C4 and I2C5 are utilized on all known OMAP5 hardware platforms. The I2C4 and I2C5 base addresses were however not defined; do this here. Signed-off-by: Lubomir Popov --- Changes since V3: Added detailed commit messages. Changes since V2: Separate patches consolidated into a series. Changes

[U-Boot] [PATCH V4 3/3] OMAP5: I2C: Set I2C_BUS_MAX to 5 to enable I2C4 and I2C5

2013-04-09 Thread Lubomir Popov
I2C4 and I2C5 are utilized on all known OMAP5 hardware platforms. In order to be able to select one of these buses however, I2C_BUS_MAX has to be set to 5; do this here. Please note that for working bus selection, a fix to the i2c driver is required as well (subject of a separate patch). Signed-o

Re: [U-Boot] [U-Boot, 1/4] cam_enc_4xx: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Heiko Schocher
Hello Tom, Am 08.04.2013 22:43, schrieb Tom Rini: > On Mon, Apr 08, 2013 at 09:58:26AM -, Albert ARIBAUD wrote: > >> CONFIG_SPL_MAX_SIZE wrongly included BSS size. Split >> max size between image and BSS based on sizes reported >> for current build. >> >> Signed-off-by: Albert ARIBAUD >> >>

[U-Boot] [PATCH] OMAP4: Fix bug in omap4460_volts struct

2013-04-09 Thread Lubomir Popov
The omap4460_volts struct was incorrectly referencing tps62361 instead of twl6030 as PMIC for the core and mm voltages (the tps is used for mpu supply only). This shall lead to bad OPP settings while booting kernel. Fixing it. Fix some comments as well. Signed-off-by: Lubomir Popov --- This patc

Re: [U-Boot] [U-Boot, 1/4] cam_enc_4xx: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Albert ARIBAUD
Hi Heiko, On Tue, 09 Apr 2013 08:50:26 +0200, Heiko Schocher wrote: > Hello Tom, > > Am 08.04.2013 22:43, schrieb Tom Rini: > > On Mon, Apr 08, 2013 at 09:58:26AM -, Albert ARIBAUD wrote: > > > >> CONFIG_SPL_MAX_SIZE wrongly included BSS size. Split > >> max size between image and BSS base

Re: [U-Boot] mmc: sdhci: Add a quirk to add delay during completion of sdhci_send_cmd

2013-04-09 Thread Jagan Teki
Hi Tushar, On Mon, Apr 8, 2013 at 9:22 AM, Tushar Behera wrote: > On 04/07/2013 10:27 AM, Jagan Teki wrote: >> Hi, >> >> I saw that you have been added the SDHCI_QUIRK_WAIT_SEND_CMD on below commit >> http://git.denx.de/?p=u-boot.git;a=commitdiff;h=13243f2eafc4292917178051fe1bb5aab2774dca >> >> I

Re: [U-Boot] mmc: sdhci: Add a quirk to add delay during completion of sdhci_send_cmd

2013-04-09 Thread Jaehoon Chung
On 04/09/2013 06:41 PM, Jagan Teki wrote: > Hi Tushar, > > On Mon, Apr 8, 2013 at 9:22 AM, Tushar Behera > wrote: >> On 04/07/2013 10:27 AM, Jagan Teki wrote: >>> Hi, >>> >>> I saw that you have been added the SDHCI_QUIRK_WAIT_SEND_CMD on below commit >>> http://git.denx.de/?p=u-boot.git;a=commi

Re: [U-Boot] [PATCH 0/5] FSL SECURE BOOT: Add support for next level image validation

2013-04-09 Thread Gupta Ruchika-R66431
> -Original Message- > From: Phillips Kim-R1AAHA > Sent: Saturday, March 30, 2013 4:08 AM > To: Gupta Ruchika-R66431 > Cc: Otavio Salvador; U-Boot Mailing List; Fleming Andy-AFLEMING > Subject: Re: [U-Boot] [PATCH 0/5] FSL SECURE BOOT: Add support for next > level image validation > > On

Re: [U-Boot] mmc: sdhci: Add a quirk to add delay during completion of sdhci_send_cmd

2013-04-09 Thread Jagan Teki
Hi Tushar, On Tue, Apr 9, 2013 at 3:23 PM, Jaehoon Chung wrote: > On 04/09/2013 06:41 PM, Jagan Teki wrote: >> Hi Tushar, >> >> On Mon, Apr 8, 2013 at 9:22 AM, Tushar Behera >> wrote: >>> On 04/07/2013 10:27 AM, Jagan Teki wrote: Hi, I saw that you have been added the SDHCI_QUIRK

Re: [U-Boot] [PATCH V8 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-04-09 Thread Jaehoon Chung
Hi Amar, I'm not sure that need to enable the auto-stop command feature. why do you enable this feature? Is there any benefit? Is it related with read/write issue? Best Regards, Jaehoon Chung On 04/03/2013 11:08 PM, Amar wrote: > This patch enumerates dwmci and set auto stop command during > dwm

Re: [U-Boot] [PATCH V8 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-04-09 Thread Jaehoon Chung
On 04/03/2013 11:08 PM, Amar wrote: > This patch adds FDT support for DWMMC, by reading the DWMMC node data > from the device tree and initialising DWMMC channels as per data > obtained from the node. > > Signed-off-by: Vivek Gautam > Signed-off-by: Amar > Acked-by: Simon Glass > --- > Changes

Re: [U-Boot] [PATCH V8 5/9] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-04-09 Thread Jaehoon Chung
Acked-by: Jaehoon Chung On 04/03/2013 11:08 PM, Amar wrote: > This patch initialises the local variable 'shift' to zero. > The uninitialised local variable 'shift' had garbage value and was > resulting in unwnated results in the functions exynos5_get_mmc_clk() > and exynos4_get_mmc_clk(). > > Si

Re: [U-Boot] [PATCH V8 9/9] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-04-09 Thread Minkyu Kang
Dear Amarendra, On 05/04/13 16:39, Amarendra Reddy wrote: > Hi Jaehoon, > > Please find the responses below > > Thanks & Regards > Amarendra Reddy > > On 5 April 2013 11:51, Jaehoon Chung wrote: > >> Hi Amar, >> >> On 04/03/2013 11:08 PM, Amar wrote: >>> This patch adds commands to access(ope

Re: [U-Boot] [PATCH V8 9/9] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-04-09 Thread Amarendra Reddy
Dear Minkyu, Thankyou for the review comments. Please find my responses below. Thanks & Regards Amarendra Reddy On 9 April 2013 16:25, Minkyu Kang wrote: > Dear Amarendra, > > On 05/04/13 16:39, Amarendra Reddy wrote: > > Hi Jaehoon, > > > > Please find the responses below > > > > Thanks & Reg

Re: [U-Boot] [U-Boot, 1/4] cam_enc_4xx: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Heiko Schocher
Hello Albert, On 09.04.2013 11:08, Albert ARIBAUD wrote: > Hi Heiko, > > On Tue, 09 Apr 2013 08:50:26 +0200, Heiko Schocher wrote: > >> Hello Tom, >> >> Am 08.04.2013 22:43, schrieb Tom Rini: >>> On Mon, Apr 08, 2013 at 09:58:26AM -, Albert ARIBAUD wrote: >>> CONFIG_SPL_MAX_SIZE wrongl

[U-Boot] [PATCH v3 1/4] ARM: vexpress: refactoring of Versatile Express CA9x4 support

2013-04-09 Thread Andre Przywara
From: Ryan Harkin The current ca9x4_ct_vxp platform contains support for a Versatile Express motherboard with a quad core A9 core tile. This patch separates the Versatile Express motherboard code and the A9 specific code, to ease supporting more core tiles in the next patches. Andre: merged the

[U-Boot] [PATCH v3 3/4] ARM: vexpress: add support for Versatile Express Cortex-A15-TC2

2013-04-09 Thread Andre Przywara
This adds support for the Cortex-A15-TC2 core tile for the Versatile Express board by ARM. This is mostly a copy of the A5 support file, but will be extended later with A15 specific options. Signed-off-by: Andre Przywara --- boards.cfg | 1 + include/configs/vexpress_ca

[U-Boot] [PATCH v3 4/4] ARM: vexpress: enable bootz and hush parser for all VExpress boards

2013-04-09 Thread Andre Przywara
Signed-off-by: Andre Przywara --- include/configs/vexpress_common.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/vexpress_common.h b/include/configs/vexpress_common.h index cd268e3..3c5683a 100644 --- a/include/configs/vexpress_common.h +++ b/include/configs/vexpress_c

[U-Boot] [PATCH v3 2/4] ARM: vexpress: create A5 specific board config

2013-04-09 Thread Andre Przywara
From: Ryan Harkin This patch creates a new config for the A5 dual core tile that includes the generic config for the Versatile Express platform. The generic config has been modified to provide support for the Extended Memory Map, as used on the A5 core tile. A5 does not support the legacy memor

[U-Boot] [PATCH v3 0/4] ARM: vexpress: add support for more core tiles

2013-04-09 Thread Andre Przywara
This series adds support for the Cortex-A5 and Cortex-A15 core tiles for the ARM Versatile Express boards. The first two patches have been around for about one and a half years in the Linaro tree now, they refactor the A9 support and add support for A5. I kept the original commits and authors, jus

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Fabio Estevam
Hi Benoît, On Mon, Apr 8, 2013 at 3:55 PM, Fabio Estevam wrote: > Hi Benoît, > > On Mon, Apr 8, 2013 at 3:47 PM, Benoît Thébaudeau > wrote: > >> Did you have a chance to perform this test? > > I have built v10 bundle and will have access to my mx31pdk tomorrow morning. > > Will let you know the

Re: [U-Boot] [PATCH V8 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-04-09 Thread Amarendra Reddy
Hi Jaehoon, Auto-stop command is not related to read/write issue. Today, I commented the 'auto-stop command' enable code and tested, SD/EMMC read write and EMMC boot work fine. Hence enabling Auto-stop command is not required. I shall update the same in next patchset. Thanks & Regards Amarendra R

Re: [U-Boot] [U-Boot, 1/4] cam_enc_4xx: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Albert ARIBAUD
Hi Heiko, On Tue, 09 Apr 2013 14:11:38 +0200, Heiko Schocher wrote: > > Let us assume I keep 12K. Here is a current build of cam_enc_4xx: > > > > text data bss dec hex filename > > 439526 13148 311092 763766 ba776 ./u-boot > > 9073840 500 10413 28ad ./spl/u-boot-sp

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Fabio Estevam
On Tue, Apr 9, 2013 at 9:30 AM, Fabio Estevam wrote: > Just tested v10 on mx31pdk. > > As reported in v9 I start to get reboots and never reach the prompt. > > Then I disabled watchdog options in mx31pdk.h and I get the following: > > U-Boot 2013.04-rc1-14135-gab21c72-dirty (Apr 09 2013 - 09:23:0

Re: [U-Boot] [U-Boot, 1/4] cam_enc_4xx: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Heiko Schocher
Hello Albert, on 09.04.2013 14:42, wrote Albert ARIBAUD: > Hi Heiko, > > On Tue, 09 Apr 2013 14:11:38 +0200, Heiko Schocher wrote: > >>> Let us assume I keep 12K. Here is a current build of cam_enc_4xx: >>> >>> text data bss dec hex filename >>> 439526 13148 311092 763766 ba776 ./u-b

Re: [U-Boot] [U-Boot, 1/4] cam_enc_4xx: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Albert ARIBAUD
Hi Heiko, On Tue, 09 Apr 2013 15:17:02 +0200, Heiko Schocher wrote: > Hello Albert, > > on 09.04.2013 14:42, wrote Albert ARIBAUD: > > Hi Heiko, > > > > On Tue, 09 Apr 2013 14:11:38 +0200, Heiko Schocher wrote: > > > >>> Let us assume I keep 12K. Here is a current build of cam_enc_4xx: > >>>

Re: [U-Boot] [PATCH 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Albert ARIBAUD
Hi Benoît, On Mon, 8 Apr 2013 23:43:37 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds > > index 3c0d99c..89ef9ce 100644 > > --- a/arch/arm/cpu/u-boot-spl.lds > > +++ b/arch/arm/cpu/u-boot-spl.lds > > @@ -88,6 +88,12

Re: [U-Boot] [PATCH 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Benoît Thébaudeau
Hi Albert, On Tuesday, April 9, 2013 4:23:58 PM, Albert ARIBAUD wrote: > Hi Benoît, > > On Mon, 8 Apr 2013 23:43:37 +0200 (CEST), Benoît Thébaudeau > wrote: > > > Hi Albert, > > > > diff --git a/arch/arm/cpu/u-boot-spl.lds b/arch/arm/cpu/u-boot-spl.lds > > > index 3c0d99c..89ef9ce 100644 > > >

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
Hi Fabio, On Tuesday, April 9, 2013 2:46:21 PM, Fabio Estevam wrote: > On Tue, Apr 9, 2013 at 9:30 AM, Fabio Estevam wrote: > > > Just tested v10 on mx31pdk. > > > > As reported in v9 I start to get reboots and never reach the prompt. > > > > Then I disabled watchdog options in mx31pdk.h and I g

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
On Tuesday, April 9, 2013 4:32:21 PM, Benoît Thébaudeau wrote: > Hi Fabio, > > On Tuesday, April 9, 2013 2:46:21 PM, Fabio Estevam wrote: > > On Tue, Apr 9, 2013 at 9:30 AM, Fabio Estevam wrote: > > > > > Just tested v10 on mx31pdk. > > > > > > As reported in v9 I start to get reboots and never

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
Hi Fabio, On Tuesday, April 9, 2013 2:46:21 PM, Fabio Estevam wrote: > On Tue, Apr 9, 2013 at 9:30 AM, Fabio Estevam wrote: > > > Just tested v10 on mx31pdk. > > > > As reported in v9 I start to get reboots and never reach the prompt. > > > > Then I disabled watchdog options in mx31pdk.h and I g

Re: [U-Boot] [PATCH 1/3] OMAP3/4/5/AM33xx: Correct logic for checking FAT or RAW MMC

2013-04-09 Thread Peter Korsgaard
> "Tom" == Tom Rini writes: Tom> In the case of booting from certain peripherals, such as UART, we must Tom> not see what the device descriptor says for RAW or FAT mode because in Tom> addition to being nonsensical, it leads to a hang. This is why we have Tom> a test currently for the bo

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
On Tuesday, April 9, 2013 4:38:23 PM, Benoît Thébaudeau wrote: > Hi Fabio, > > On Tuesday, April 9, 2013 2:46:21 PM, Fabio Estevam wrote: > > On Tue, Apr 9, 2013 at 9:30 AM, Fabio Estevam wrote: > > > > > Just tested v10 on mx31pdk. > > > > > > As reported in v9 I start to get reboots and never

[U-Boot] [Patch v2] cmd/gpt: Support gpt command for all devices

2013-04-09 Thread Egbert Eich
From: Egbert Eich The gpt command was only implemented for mmc devices. There is no reason why this command should not be generalized and be applied all other storage device classes. This change both simplifies the implementation and eliminates a build failure for systems that don't support mmcs.

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
On Tuesday, April 9, 2013 5:04:45 PM, Benoît Thébaudeau wrote: > On Tuesday, April 9, 2013 4:38:23 PM, Benoît Thébaudeau wrote: > > Hi Fabio, > > > > On Tuesday, April 9, 2013 2:46:21 PM, Fabio Estevam wrote: > > > On Tue, Apr 9, 2013 at 9:30 AM, Fabio Estevam wrote: > > > > > > > Just tested v1

Re: [U-Boot] [Patch v2] cmd/gpt: Support gpt command for all devices

2013-04-09 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/09/2013 11:11 AM, Egbert Eich wrote: > From: Egbert Eich > > The gpt command was only implemented for mmc devices. There is no > reason why this command should not be generalized and be applied > all other storage device classes. This change

Re: [U-Boot] [PATCH 7/8] mtd: nand: add driver for diskonchip g4 nand flash

2013-04-09 Thread Mike Dunn
On 04/08/2013 05:59 PM, Scott Wood wrote: > On 04/08/2013 01:25:01 AM, Marek Vasut wrote: >> Dear Mike Dunn, >> >> > This patch adds a driver for the diskonchip G4 nand flash device. It is >> > based on the driver from the linux kernel. >> > >> > This also includes a separate SPL driver. A separa

Re: [U-Boot] [PATCH 1/3] OMAP3/4/5/AM33xx: Correct logic for checking FAT or RAW MMC

2013-04-09 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 04/09/2013 10:52 AM, Peter Korsgaard wrote: >> "Tom" == Tom Rini writes: > > Tom> In the case of booting from certain peripherals, such as UART, > we must Tom> not see what the device descriptor says for RAW or FAT > mode because in Tom> addit

[U-Boot] [PATCH] am335x/ti814x: Correct MMC_BOOT_DEVICES_START/END

2013-04-09 Thread Tom Rini
Given that on TI814x we have MMC1/2 swapped, we also need to swap them in MMC_BOOT_DEVICES_START/END Reported-by: Peter Korsgaard Signed-off-by: Tom Rini --- arch/arm/include/asm/arch-am33xx/spl.h |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-am33xx/spl.h

[U-Boot] [Patch v2] disk/part_dos: check harder for partition table

2013-04-09 Thread Egbert Eich
From: Egbert Eich Devices that used to have a whole disk FAT filesystem but got then partitioned will most likely still have a FAT or FAT32 signature in the first sector as this sector does not get overwritten by a partitioning tool (otherwise the tool would risk to kill the mbr). The current pa

Re: [U-Boot] PPC4XX Custom Board - Failing to read I2C

2013-04-09 Thread Stefan Roese
Greg, On 08.04.2013 21:54, txcotrader wrote: > Yes, I am working with a 460SX and a board based off of AMCC Eiger > (unsupported as of 2010). 460SX is quite untested these days I'm afraid. I don't have such a board here as well. > IICx_STS Register settings: > 04 = MDBF Full = Master data buffer

[U-Boot] [Patch v2] disk/gpt: Fix GPT partition handling for blocksize != 512

2013-04-09 Thread Egbert Eich
From: Egbert Eich Disks beyond 2T in size use blocksizes of 4096 bytes. However a lot of code in u-boot still assumes a 512 byte blocksize. This patch fixes the handling of GPTs. Signed-off-by: Egbert Eich --- Changes for v2: - Coding style fixes. disk/part_efi.c| 38 ++

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Fabio Estevam
Hi Benoît, On Tue, Apr 9, 2013 at 11:38 AM, Benoît Thébaudeau wrote: > Can you try different values for the following configs in mx31pdk.h? > - CONFIG_SYS_NAND_U_BOOT_SIZE > - CONFIG_SPL_TEXT_BASE > - CONFIG_SYS_TEXT_BASE > - (CONFIG_ENV_OFFSET) > - (CONFIG_ENV_OFFSET_REDUND) > > I would tr

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
Hi Fabio, On Tuesday, April 9, 2013 6:40:45 PM, Fabio Estevam wrote: > Hi Benoît, > > On Tue, Apr 9, 2013 at 11:38 AM, Benoît Thébaudeau > wrote: > > > Can you try different values for the following configs in mx31pdk.h? > > - CONFIG_SYS_NAND_U_BOOT_SIZE > > - CONFIG_SPL_TEXT_BASE > > - CONF

Re: [U-Boot] [PATCH 3/8] pxa_lcd: allow L_BIAS line to be unused

2013-04-09 Thread Mike Dunn
On 04/07/2013 10:28 PM, Marek Vasut wrote: > Dear Mike Dunn, > >> This patch adds a config option CONFIG_SYS_LCD_PXA_NO_L_BIAS, which causes >> the lcd controller initialization code to leave as an ordinary gpio the >> line that is typically configured as the lcd L_BIAS alternate function >> (this

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
Hi Albert, On Wednesday, April 3, 2013 10:05:57 AM, Albert ARIBAUD wrote: > Hi Benoît, > > On Wed, 3 Apr 2013 08:30:12 +0200 (CEST), Benoît Thébaudeau > wrote: > > > Hi Albert, > > > > Here is the v10 bundle for those who want to test: > > http://dl.free.fr/vdXBGExyq > > Thanks, will build-te

Re: [U-Boot] [PATCH] mx28evk: add trimffs to nand command

2013-04-09 Thread Otavio Salvador
On Mon, Apr 8, 2013 at 3:59 PM, Eric Bénard wrote: > this is usefull when writing an UBI image which contains > and UBIFS volume (check README.nand and UBI FAQ for more details) > > Signed-off-by: Eric Bénard Acked-by: Otavio Salvador -- Otavio Salvador O.S. Systems

Re: [U-Boot] [PATCH] mx28evk: add trimffs to nand command

2013-04-09 Thread Fabio Estevam
Eric Bénard wrote: > this is usefull when writing an UBI image which contains > and UBIFS volume (check README.nand and UBI FAQ for more details) > > Signed-off-by: Eric Bénard > --- > include/configs/mx28evk.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/configs/mx28evk.h b

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
On Tuesday, April 9, 2013 6:56:18 PM, Benoît Thébaudeau wrote: > Hi Fabio, > > On Tuesday, April 9, 2013 6:40:45 PM, Fabio Estevam wrote: > > Hi Benoît, > > > > On Tue, Apr 9, 2013 at 11:38 AM, Benoît Thébaudeau > > wrote: > > > > > Can you try different values for the following configs in mx31

Re: [U-Boot] [PATCH 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Albert ARIBAUD
Hi Benoît, On Tue, 9 Apr 2013 16:24:36 +0200 (CEST), Benoît Thébaudeau wrote: > Hi Albert, > > On Tuesday, April 9, 2013 4:23:58 PM, Albert ARIBAUD wrote: > > Hi Benoît, > > > > On Mon, 8 Apr 2013 23:43:37 +0200 (CEST), Benoît Thébaudeau > > wrote: > > > > > Hi Albert, > > > > > > diff --gi

Re: [U-Boot] [v3] command/cache: Add flush command

2013-04-09 Thread Wolfgang Denk
Dear Scott, In message <1365449512.28843.10@snotra> you wrote: > > > > Maybe "cache" should be the toplevel command, with "icache" and > > > "dcache" refactored to be subcommands? Of course, then you're making > > > an incompatible interface change. How much is consistency worth? > > > > I thin

Re: [U-Boot] [PATCH 4/4] ARM: fix CONFIG_SPL_MAX_SIZE semantics

2013-04-09 Thread Benoît Thébaudeau
Hi Albert, On Tuesday, April 9, 2013 7:43:06 PM, Albert ARIBAUD wrote: > Hi Benoît, > > On Tue, 9 Apr 2013 16:24:36 +0200 (CEST), Benoît Thébaudeau > wrote: > > > Hi Albert, > > > > On Tuesday, April 9, 2013 4:23:58 PM, Albert ARIBAUD wrote: > > > Hi Benoît, > > > > > > On Mon, 8 Apr 2013 23:

Re: [U-Boot] [v3] command/cache: Add flush command

2013-04-09 Thread Wolfgang Denk
Dear Scott Wood, In message <1365450620.28843.12@snotra> you wrote: > > > I thought you said it was OK to flush more than the user asked for, if > the implementation does not have separate icache/dcache flushes? Why > is it fundamentally different if it's a hardware limitation, or a > limit

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Fabio Estevam
On Tue, Apr 9, 2013 at 2:37 PM, Benoît Thébaudeau wrote: > Especially, does it work with only: > -#define CONFIG_HW_WATCHDOG > -#define CONFIG_IMX_WATCHDOG > -#define CONFIG_SYS_NAND_U_BOOT_SIZE0x32000 > +#define CONFIG_SYS_NAND_U_BOOT_SIZE0x3f800 No, it hangs in "Net :". Also tried 0x40

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
Hi Fabio, On Tuesday, April 9, 2013 8:07:31 PM, Fabio Estevam wrote: > On Tue, Apr 9, 2013 at 2:37 PM, Benoît Thébaudeau > wrote: > > > Especially, does it work with only: > > -#define CONFIG_HW_WATCHDOG > > -#define CONFIG_IMX_WATCHDOG > > -#define CONFIG_SYS_NAND_U_BOOT_SIZE0x32000 > > +#d

Re: [U-Boot] [PATCH 1/3] iomux-v3: Place pad control definitions into common file

2013-04-09 Thread Otavio Salvador
On Fri, Apr 5, 2013 at 9:55 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Instead of having the same PAD control definition in each MX6 variant pin > file, > place it into a common location. > > Signed-off-by: Fabio Estevam Breaks Wandboard builds... > --- > arch/arm/include/asm/arch-mx

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Fabio Estevam
On Tue, Apr 9, 2013 at 3:10 PM, Benoît Thébaudeau wrote: > These values were very wide, just for testing. It'd be better to adjust them. > So > can you just try the following, and I'll stop asking for more tests: > -#define CONFIG_SPL_TEXT_BASE 0x87ec > -#define CONFIG_SYS_TEXT_BASE 0x87

Re: [U-Boot] [PATCH v9 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
On Tuesday, April 9, 2013 8:35:09 PM, Fabio Estevam wrote: > On Tue, Apr 9, 2013 at 3:10 PM, Benoît Thébaudeau > wrote: > > > These values were very wide, just for testing. It'd be better to adjust > > them. So > > can you just try the following, and I'll stop asking for more tests: > > -#define

[U-Boot] [PATCH v2 3/3] mx6sl: Add initial support for mx6slevk board

2013-04-09 Thread Fabio Estevam
mx6slevk board is a development board from Freescale based on the mx6 solo-lite processor. For details about mx6slevk, please refer to: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6SLEVK&parentCode=i.MX6SL&fpsp=1 Signed-off-by: Fabio Estevam --- Changes since v1: - None M

[U-Boot] [PATCH] mx31pdk: Remove watchdog support

2013-04-09 Thread Fabio Estevam
The conversion of mx31pdk to SPL NAND fixed the boot issue, but we start seeing resets in loop, which prevents us from reaching the U-boot prompt. Until the proper fix can be identified, disable watchdog, so that mx31pdk can be functional again. Signed-off-by: Fabio Estevam --- include/configs

Re: [U-Boot] [PATCH v2 1/3] iomux-v3: Place pad control definitions into common file

2013-04-09 Thread Otavio Salvador
On Tue, Apr 9, 2013 at 3:55 PM, Fabio Estevam wrote: > Instead of having the same PAD control definition in each MX6 variant pin > file, > place it into a common location. > > Signed-off-by: Fabio Estevam This fixes the build failure. Acked-by: Otavio Salvador -- Otavio Salvador

[U-Boot] [PATCH v2 1/3] iomux-v3: Place pad control definitions into common file

2013-04-09 Thread Fabio Estevam
Instead of having the same PAD control definition in each MX6 variant pin file, place it into a common location. Signed-off-by: Fabio Estevam --- Changes since v2: - Add missing IOMUX_CONFIG_SION definition arch/arm/include/asm/arch-mx6/mx6dl_pins.h | 27 --- arch/arm/i

[U-Boot] [PATCH v2 2/3] mx6: Add solo-lite variant support

2013-04-09 Thread Fabio Estevam
mx6 solo-lite is another member of the mx6 series. For more information about mx6 solo-lite, please visit: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6SL&nodeId=018rH3ZrDRB24A Signed-off-by: Fabio Estevam --- Changes since v1: - None arch/arm/cpu/armv7/mx6/clock.c

Re: [U-Boot] [PATCH] mx28evk: add trimffs to nand command

2013-04-09 Thread Eric Bénard
Hi Fabio, Le Tue, 9 Apr 2013 15:02:44 -0300, Fabio Estevam a écrit : > Eric Bénard wrote: > > this is usefull when writing an UBI image which contains > > and UBIFS volume (check README.nand and UBI FAQ for more details) > > > > Signed-off-by: Eric Bénard > > --- > > include/configs/mx28evk.h

[U-Boot] [PATCH v11 02/30] mtd: nand: mxc_nand: Fix is_16bit_nand()

2013-04-09 Thread Benoît Thébaudeau
From: Fabio Estevam Currently is_16bit_nand() is a per SoC function and it decides the bus nand width by reading some boot related registers. This method works when NAND is the boot medium, but does not work if another boot medium is used. For example: booting from a SD card and then using NAND

[U-Boot] [PATCH v11 01/30] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-04-09 Thread Benoît Thébaudeau
From: Fabio Estevam Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller drivers could use it when a 16-bit NAND is deployed. drivers/mtd/nand/ndfc has CONFIG_SYS_NDFC_16BIT, so just rename it, so that other NAND drivers could reuse the same symbol. Signed-off-by: Fabio

[U-Boot] [PATCH v11 03/30] nand: mxc: Prepare to add support for i.MX5

2013-04-09 Thread Benoît Thébaudeau
Add some abstraction to NFC definitions so that some parts of the current code can also be used for future i.MX5 code. Clean up a few things by the way. Signed-off-by: Benoît Thébaudeau Acked-by: Scott Wood Tested-by: Fabio Estevam --- Changes in v11: None Changes in v10: None Changes in v9: N

[U-Boot] [PATCH v11 08/30] nand: mxc: Use appropriate page number in syndrome functions

2013-04-09 Thread Benoît Thébaudeau
The syndrome functions should use the page number passed as argument instead of the page number saved upon NAND_CMD_READ0. This does not make any difference if the NAND_NO_AUTOINCR option is set, but otherwise this fixes accesses to the wrong pages. Signed-off-by: Benoît Thébaudeau Acked-by: Sco

[U-Boot] [PATCH v11 11/30] arm1136: Remove redundant relocate_code() return

2013-04-09 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - New patch, extracted from "nand: mxc: Switch NAND SPL to generic SPL". Changes in v5: None Changes in v4: None Changes in v3: None Changes i

[U-Boot] [PATCH v11 04/30] nand: mxc: Add support for i.MX5

2013-04-09 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Acked-by: Scott Wood Tested-by: Fabio Estevam --- Changes in v11: None Changes in v10: None Changes in v9: - Drop the now unused SRC register definitions. Changes in v8: - Rebase on Fabio's patches using CONFIG_SYS_NAND_BUSWIDTH_16BIT instead of NAND Flash

[U-Boot] [PATCH v11 09/30] arm: start.S: Fix _TEXT_BASE for SPL

2013-04-09 Thread Benoît Thébaudeau
_TEXT_BASE must be set to CONFIG_SPL_TEXT_BASE for generic SPL, and to CONFIG_SYS_TEXT_BASE for non-SPL builds. Signed-off-by: Benoît Thébaudeau Reviewed-by: Tom Rini --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - Apply to mxs SPL too. Changes in v7: None Ch

[U-Boot] [PATCH v11 10/30] arm: relocate_code() is no longer noreturn

2013-04-09 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made ARM's relocate_code() return to its caller, but it did not update its declaration accordingly. Fixing this function declaration fixes dropped C code following calls to relocate_code(). Signed-off-by: Benoît Thébaudeau --- Changes in v11: None

[U-Boot] [PATCH v11 05/30] imx: mx5: lowlevel_init: Simplify code

2013-04-09 Thread Benoît Thébaudeau
Don't use several instructions to build constant values. Signed-off-by: Benoît Thébaudeau Acked-by: Stefano Babic --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3:

[U-Boot] [PATCH v11 14/30] arm: crt0.S: Remove bogus .globl

2013-04-09 Thread Benoît Thébaudeau
The purpose of .globl is to export symbols for ld, not to declare external symbols. By the way, use the ENTRY() and ENDPROC() macros to define functions rather than using .global directly. Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes in v10: - Rebase on current u-boot-arm/m

[U-Boot] [PATCH v11 12/30] arm: relocate_code(): Remove useless relocation offset computation

2013-04-09 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - Make sure that r9 is initialized in all cases because it may be used after relocate_code(). Changes in v7: None Changes in v6: - New patch. Changes in v5: None Changes in v4:

[U-Boot] [PATCH v11 15/30] autoconfig.mk: Make it possible to define configs from other configs

2013-04-09 Thread Benoît Thébaudeau
Give more flexibility to define configs that can be interpreted by make, e.g. to define fallback values of configs like in the example below. Before this change, the config lines: #define CONFIG_SPL_MAX_SIZE2048 #define CONFIG_SPL_PAD_TO CONFIG_SPL_MAX_SIZE would have been changed in au

[U-Boot] [PATCH v11 13/30] arm: relocate_code(): Use __image_copy_end for end of relocation

2013-04-09 Thread Benoît Thébaudeau
Use __image_copy_end instead of __bss_start for the end of the image to relocate. This is the same as commit 033ca72, but applied to all ARM start.S. This is a more appropriate symbol naming for an image copy & relocate feature, and this also saves a useless copy of data put between __image_copy_e

[U-Boot] [PATCH v11 16/30] Makefile: Change CONFIG_SPL_PAD_TO to image offset

2013-04-09 Thread Benoît Thébaudeau
Change CONFIG_SPL_PAD_TO from a link address to an image offset since this is more handy and closer to the purpose of this config. Automatically define CONFIG_SPL_PAD_TO to CONFIG_SPL_MAX_SIZE (or 0 without CONFIG_SPL_MAX_SIZE). Test that CONFIG_SPL_PAD_TO >= CONFIG_SPL_MAX_SIZE if CONFIG_SPL_PAD

[U-Boot] [PATCH v11 19/30] arm926ejs: Remove deprecated and now unused NAND SPL

2013-04-09 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes in v10: - Rebase on current u-boot-arm/master. Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - New patch. Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/cp

[U-Boot] [PATCH v11 07/30] nand: mxc: Fix debug trace in mxc_nand_read_oob_syndrome()

2013-04-09 Thread Benoît Thébaudeau
The page number indicated in the debug trace of mxc_nand_read_oob_syndrome() did not match the page being worked on. By the way, replace the GCC-specific __FUNCTION__ with __func__. Signed-off-by: Benoît Thébaudeau Acked-by: Scott Wood --- Changes in v11: None Changes in v10: None Changes in v9

[U-Boot] [PATCH v11 06/30] imx: mx53ard: Add support for NAND Flash

2013-04-09 Thread Benoît Thébaudeau
Add support for the Samsung K9LAG08U0M NAND Flash (2-GiB MLC NAND Flash, 2-kiB pages, 256-kiB blocks, 30-ns R/W cycles, 1 CS) on mx53ard. eNFC_CLK_ROOT is set up with a cycle time of 37.5 ns (400 MHz / 3 / 5) for this board, which satisfies the 30-ns NF R/W cycle requirement. Signed-off-by: Benoî

[U-Boot] [PATCH v11 22/30] .gitignore: Add /SPL

2013-04-09 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None .gitignore |1 + 1 file changed, 1 insertio

[U-Boot] [PATCH v11 21/30] Makefile: Move SHELL setup to config.mk

2013-04-09 Thread Benoît Thébaudeau
make never uses the SHELL variable from the environment. Instead, it uses /bin/sh, or the value assigned to the SHELL variable by the Makefile. This makes the export of the SHELL variable useless for sub-makes (but still useful for the environment of recipes). However, we want all makes to use the

[U-Boot] [PATCH v11 17/30] imx: Fix automatic make targets for imx images

2013-04-09 Thread Benoît Thébaudeau
Automatically build the 'u-boot.imx' (i.e. imx header + u-boot.bin) and 'SPL' (i.e. imx header + u-boot-spl.bin) make targets for all imx processors supporting this header, so for arm926ejs, arm1136 and armv7. Some combinations were missing. At the same time, fix the build of SPL targets not suppo

[U-Boot] [PATCH v11 20/30] arm: Remove unused relocate_code() parameters

2013-04-09 Thread Benoît Thébaudeau
Commit e05e5de7fae5bec79617e113916dac6631251156 made the 2 1st parameters of ARM's relocate_code() useless since it moved the code handling them to crt0.S. So, drop these parameters. Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8:

[U-Boot] [PATCH v11 24/30] imx: Add u-boot-with-nand-spl.imx make target

2013-04-09 Thread Benoît Thébaudeau
This image combines the SPL with the i.MX header, the FCB and U-Boot. For i.MX25/35/51, the FCB is ignored by the boot ROM, so this image is just useful because it can be programmed on a NAND Flash page boundary. For i.MX53, the FCB is required by the boot ROM. This does not support i.MX6 so far

[U-Boot] [PATCH v11 23/30] imx: Add u-boot-with-spl.imx make target

2013-04-09 Thread Benoît Thébaudeau
This image combines the SPL with the i.MX header and U-Boot. This is a convenient way of having a single image to program on some boot devices. The i.MX header has to be added to the SPL before appending U-Boot, so that the boot ROM loads only the SPL. Signed-off-by: Benoît Thébaudeau --- Change

[U-Boot] [PATCH v11 18/30] nand: mxc: Switch NAND SPL to generic SPL

2013-04-09 Thread Benoît Thébaudeau
This also fixes support for mx31pdk and tx25, which had been broken by commit e05e5de7fae5bec79617e113916dac6631251156. Signed-off-by: Benoît Thébaudeau Acked-by: Scott Wood Tested-by: Fabio Estevam --- Changes in v11: - mx31pdk: Rename u-boot-nand.bin to u-boot-with-spl.bin (new target binary

[U-Boot] [PATCH v11 28/30] arm: Remove deprecated and now unused NAND SPL

2013-04-09 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/config.mk |2 -- arch/ar

[U-Boot] [PATCH v11 29/30] arm1176: Remove unused MMU setup from start.S

2013-04-09 Thread Benoît Thébaudeau
Following the removal of the smdk6400 board, the MMU setup code in arm1176/start.S becomes unused, so remove it. It will still be possible to restore it later from the Git history if necessary, in which case it should be moved out of the relocate_code() function. Signed-off-by: Benoît Thébaudeau

[U-Boot] [PATCH v11 30/30] arm: Make all linker scripts compatible with per-symbol sections

2013-04-09 Thread Benoît Thébaudeau
Let all ARM linker scripts handle properly -ffunction-sections and -fdata-sections. This will be useful for future changes in order to create symbol-specific sections in common .S files. Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes in v10: - Rebase on current u-boot-arm/mast

[U-Boot] [PATCH v11 26/30] Revert "mkconfig: start deprecating Makefile config targets"

2013-04-09 Thread Benoît Thébaudeau
This reverts commit 1285a2808a254f3d1a809c1a541f0c0f746e03d7 since the migration of boards from Makefile to boards.cfg is now complete. Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes in v10: None Changes in v9: None Changes in v8: - New patch. Changes in v7: None Changes in v

[U-Boot] [PATCH v11 25/30] arm: Remove support for smdk6400

2013-04-09 Thread Benoît Thébaudeau
The migration of boards from Makefile to boards.cfg was due for v2012.03, but smdk6400 did not follow, and it does not build, so move it to scrapyard. It will still be possible to restore it from the Git history before fixing it. Signed-off-by: Benoît Thébaudeau --- Changes in v11: None Changes i

Re: [U-Boot] [PATCH] mx28evk: add trimffs to nand command

2013-04-09 Thread Fabio Estevam
Hi Eric, On Tue, Apr 9, 2013 at 4:21 PM, Eric Bénard wrote: > > that's the second time you ask this but mx28evk_nand.h doesn't exist, > even in u-boot-imx tree, and you are the developer who added nand > support to mx28evk in commit > ab461be65dbfe3e2fa45f7cd836faa99663be5bb ;-) Right, mx28_evk.

Re: [U-Boot] [PATCH v11 01/30] mtd: nand: Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT

2013-04-09 Thread Benoît Thébaudeau
On Tuesday, April 9, 2013 9:48:30 PM, Benoît Thébaudeau wrote: > From: Fabio Estevam > > Introduce CONFIG_SYS_NAND_BUSWIDTH_16BIT option so that other NAND controller > drivers could use it when a 16-bit NAND is deployed. > > drivers/mtd/nand/ndfc has CONFIG_SYS_NDFC_16BIT, so just rename it, so

Re: [U-Boot] Patman / buildman pull request

2013-04-09 Thread Tom Rini
On Mon, Apr 08, 2013 at 03:26:43PM -0700, Simon Glass wrote: > Hi Tom, > > On Mon, Apr 8, 2013 at 9:54 AM, Tom Rini wrote: > > On Thu, Apr 04, 2013 at 02:28:26PM -0700, Simon Glass wrote: > > > >> Hi Tom, > >> > >> I have brought in the patman changes for this release and also some > >> changes

  1   2   >