Re: [U-Boot] [PATCH] tools: imagetool: Remove "INSERT BEFORE" from linker script

2015-02-17 Thread Lukasz Majewski
Hi Andreas, > On 16.02.15 17:55, Tom Rini wrote: > > On Mon, Feb 16, 2015 at 03:05:45PM +0100, Lukasz Majewski wrote: > > > >> Not all linkers are able to parse "INSERT BEFORE" part of the > >> linker script. For example following (rather new) "gold" one: > >> > >> GNU gold (GNU Binutils for Debi

Re: [U-Boot] [PATCH v2 06/12] virt-dt: Allow reservation of the secure region when it is in a RAM carveout.

2015-02-17 Thread Jan Kiszka
On 2015-02-16 16:38, Jan Kiszka wrote: > On 2015-02-16 15:56, Mark Rutland wrote: >> On Mon, Feb 16, 2015 at 02:31:21PM +, Jan Kiszka wrote: >>> On 2015-02-16 15:25, Mark Rutland wrote: On Mon, Feb 16, 2015 at 01:51:37PM +, Jan Kiszka wrote: > On 2015-02-16 14:42, Mark Rutland wrot

Re: [U-Boot] [PATCH 4/4] warp: Add initial WaRP Board support

2015-02-17 Thread Marek Vasut
On Monday, February 16, 2015 at 10:38:03 PM, Otavio Salvador wrote: > The WaRP Board is a Wearable Reference Plaform. The board features: > > - Freescale i.MX6 SoloLite processor with 512MB of RAM > - Freescale FXOS8700CQ 6-axis Xtrinsic sensor > - Freescale Kinetis KL16 MCU > - Freescale Xtri

Re: [U-Boot] [PATCH 1/4] mmc: fsl_esdhc: Add CMD11 support to switch to 1.8V

2015-02-17 Thread Marek Vasut
On Monday, February 16, 2015 at 10:38:00 PM, Otavio Salvador wrote: > This adds support to switch to 1.8V in case CMD11 succeeds. > > Signed-off-by: Otavio Salvador > --- [...] > @@ -413,6 +424,11 @@ out: > while ((esdhc_read32(®s->sysctl) & SYSCTL_RSTD)) >

Re: [U-Boot] [PATCHv1 09/22] arm: socfpga: spl: allow bootrom to enable IOs after warm reset

2015-02-17 Thread Marek Vasut
On Monday, February 16, 2015 at 10:36:44 PM, Pavel Machek wrote: > On Wed 2015-01-14 10:40:49, dingu...@opensource.altera.com wrote: > > From: Dinh Nguyen > > > > Signed-off-by: Dinh Nguyen > > Acked-by: Pavel Machek > > ...Actually, you can merge this with 7/10, I guess. One 2000 lines > pat

Re: [U-Boot] [PATCH 2/4] mmc: fsl_esdhc: Add support to force VSELECT set

2015-02-17 Thread Marek Vasut
On Tuesday, February 17, 2015 at 02:38:31 AM, Troy Kisky wrote: > On 2/16/2015 2:38 PM, Otavio Salvador wrote: > > Some boards cannot do voltage negotiation but need to set the VSELECT > > bit forcely to ensure it to work at 1.8V. > > > > This commit adds CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT flag fo

Re: [U-Boot] spi: ftssp010_spi: Use to_ftssp010_spi() to ensure free correct address

2015-02-17 Thread Jagan Teki
On 9 February 2015 at 12:41, Axel Lin wrote: > Don't assume slave is always the first member of struct ftssp010_spi. > Use to_ftssp010_spi() to ensure free correct address in spi_free_slave(). > > Signed-off-by: Axel Lin > --- > drivers/spi/ftssp010_spi.c | 4 +++- > 1 file changed, 3 insertions

Re: [U-Boot] [PATCH] spi: cf_qspi: Fixup to_cf_qspi_slave macro

2015-02-17 Thread Jagan Teki
On 15 January 2015 at 11:02, Axel Lin wrote: > The third parameter of container_of is the name of the member within the > struct. > Current code only works if the parameter passed to to_cf_qspi_slave named > slave. > Fix it. > > Signed-off-by: Axel Lin > --- > drivers/spi/cf_qspi.c | 2 +- > 1

Re: [U-Boot] [PATCH] spi: davinci: Remove duplicate code to set bus and cs for slave

2015-02-17 Thread Jagan Teki
On 13 January 2015 at 06:31, Axel Lin wrote: > It's done in spi_alloc_slave(). > > Signed-off-by: Axel Lin > --- > drivers/spi/davinci_spi.c | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c > index 0ec5b9d..bf18362 100644 > --- a/dr

Re: [U-Boot] [PATCH] qspi: dra7x: enable quad mode read for ti-qspi driver

2015-02-17 Thread Jagan Teki
On 12 February 2015 at 05:24, Tom Rini wrote: > From: Ravi Babu > > This patch enables QUAD read mode for qspi to improve the > read performace while loading the binaries from qspi. > > Signed-off-by: Ravi Babu > --- > drivers/spi/ti_qspi.c|7 +++ > include/configs/dra7xx_evm.h

Re: [U-Boot] [PATCH v2 5/8] lpc32xx: add LPC32xx SSP support (SPI mode)

2015-02-17 Thread Jagan Teki
On 12 February 2015 at 23:07, Albert ARIBAUD (3ADEV) wrote: > Signed-off-by: Albert ARIBAUD (3ADEV) > --- > > Changes in v2: > - added MUX setting for SSP0 > > arch/arm/cpu/arm926ejs/lpc32xx/devices.c | 14 +++ > arch/arm/include/asm/arch-lpc32xx/clk.h | 3 + > arch/arm/include/asm

Re: [U-Boot] [PATCH 2/2] nitrogen6x: set environment variable reset_cause

2015-02-17 Thread Stefano Babic
Hi Eric, On 15/02/2015 22:37, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- > This patch replaces the following two patches, but only applies > to Nitrogen6x and SABRE Lite boards: > http://patchwork.ozlabs.org/patch/436972/ > http://patchwork.ozlabs.org/patch/436974/ > board

Re: [U-Boot] [PATCH 1/2] cmd_eeprom: make it possible to define the used i2c bus

2015-02-17 Thread Stefano Babic
Hi Christian, On 11/02/2015 15:19, Christian Gmeiner wrote: > A SoC like the i.MX6 supports more then one i2c bus. In oder to be > able to use the eeprom command add a new define to specify the > i2c bus to use. If CONFIG_SYS_I2C_EEPROM_BUS is not defined there > is no functional change, else a ca

Re: [U-Boot] [PATCH 3/6] x86: spi: Add support for lynxpoint

2015-02-17 Thread Jagan Teki
On 11 February 2015 at 07:29, Simon Glass wrote: > Add Lynxpoint to the driver so that the Asus Chromebox can be supported. > > Signed-off-by: Simon Glass > --- > > drivers/spi/ich.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/spi/ich.c b/drivers/spi/ich.c

Re: [U-Boot] [PATCH 2/2] ot1200: add eeprom command to non-SPL build

2015-02-17 Thread Stefano Babic
On 11/02/2015 15:20, Christian Gmeiner wrote: > Signed-off-by: Christian Gmeiner > --- > include/configs/ot1200.h | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/include/configs/ot1200.h b/include/configs/ot1200.h > index c061e93..3c60b4f 100644 > --- a/include/configs/ot120

Re: [U-Boot] [PATCH v2 01/11] arm: mvebu: maxbcm: Fix compilation warning and add Spansion SPI NOR support

2015-02-17 Thread Jagan Teki
On 19 January 2015 at 16:03, Stefan Roese wrote: > This patch fixes the following compilation warning for maxbcm: > > Building maxbcm board... >textdata bss dec hex filename > 1600756596 38240 204911 3206f ./u-boot > board/maxbcm/maxbcm.c: In function 'reset_phy': > b

Re: [U-Boot] [PATCH 4/4] warp: Add initial WaRP Board support

2015-02-17 Thread Stefano Babic
Hi Otavio, On 16/02/2015 22:38, Otavio Salvador wrote: > The WaRP Board is a Wearable Reference Plaform. The board features: > > - Freescale i.MX6 SoloLite processor with 512MB of RAM > - Freescale FXOS8700CQ 6-axis Xtrinsic sensor > - Freescale Kinetis KL16 MCU > - Freescale Xtrinsic MMA955x

Re: [U-Boot] [PATCH v2 5/8] lpc32xx: add LPC32xx SSP support (SPI mode)

2015-02-17 Thread Albert ARIBAUD
Bonjour Jagan, Le Tue, 17 Feb 2015 15:03:16 +0530, Jagan Teki a écrit : > On 12 February 2015 at 23:07, Albert ARIBAUD (3ADEV) > wrote: > > Signed-off-by: Albert ARIBAUD (3ADEV) > > --- > > > > Changes in v2: > > - added MUX setting for SSP0 > > > > arch/arm/cpu/arm926ejs/lpc32xx/devices.c

Re: [U-Boot] [PATCH 2/3] ARM: imx6: disable bandgap self-bias after boot

2015-02-17 Thread Stefano Babic
Hi Peng, On 15/01/2015 07:22, Peng Fan wrote: > The self-bias circuit is used by the bandgap during startup. > Once the bandgap has stabilized, the self-bias circuit should > be disabled for best noise performance of analog blocks. > Also this bit should be disabled before the chip enters STOP mod

Re: [U-Boot] [PATCH 3/3] ARM: imx6 Add WDOG3 for i.MX6SX

2015-02-17 Thread Stefano Babic
Hi Peng, On 15/01/2015 07:22, Peng Fan wrote: > There are three wdogs for i.MX 6SoloX. Add wdog3 support > in function imx_set_wdog_powerdown. > > Signed-off-by: Peng Fan > --- Ye's patch (replaces your 1/3) was alread merged. Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 2/2] ot1200: add eeprom command to non-SPL build

2015-02-17 Thread Stefano Babic
On 11/02/2015 15:20, Christian Gmeiner wrote: > Signed-off-by: Christian Gmeiner > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HR

Re: [U-Boot] [PATCH 1/2] cmd_eeprom: make it possible to define the used i2c bus

2015-02-17 Thread Stefano Babic
On 11/02/2015 15:19, Christian Gmeiner wrote: > A SoC like the i.MX6 supports more then one i2c bus. In oder to be > able to use the eeprom command add a new define to specify the > i2c bus to use. If CONFIG_SYS_I2C_EEPROM_BUS is not defined there > is no functional change, else a call to i2c_set_b

Re: [U-Boot] [PATCH 1/2] ARM: i.MX: provide access to reset cause through get_imx_reset_cause()

2015-02-17 Thread Stefano Babic
On 15/02/2015 22:37, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Muni

Re: [U-Boot] [PATCH 2/2] nitrogen6x: set environment variable reset_cause

2015-02-17 Thread Stefano Babic
On 15/02/2015 22:37, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Mun

Re: [U-Boot] [PATCH v2 12/12] tegra: Set CNTFRQ for secondary CPUs

2015-02-17 Thread Mark Rutland
On Tue, Feb 17, 2015 at 07:01:57AM +, Jan Kiszka wrote: > On 2015-02-16 15:02, Jan Kiszka wrote: > > On 2015-02-16 14:51, Mark Rutland wrote: > >> On Mon, Feb 16, 2015 at 01:44:36PM +, Jan Kiszka wrote: > >>> On 2015-02-16 14:37, Mark Rutland wrote: > On Mon, Feb 16, 2015 at 12:54:49PM

Re: [U-Boot] [PATCH v2 12/12] tegra: Set CNTFRQ for secondary CPUs

2015-02-17 Thread Jan Kiszka
On 2015-02-17 11:21, Mark Rutland wrote: > On Tue, Feb 17, 2015 at 07:01:57AM +, Jan Kiszka wrote: >> On 2015-02-16 15:02, Jan Kiszka wrote: >>> On 2015-02-16 14:51, Mark Rutland wrote: On Mon, Feb 16, 2015 at 01:44:36PM +, Jan Kiszka wrote: > On 2015-02-16 14:37, Mark Rutland wrot

[U-Boot] [PATCH] vexpress64: juno: support SMC9118 ethernet

2015-02-17 Thread Linus Walleij
This configures the Juno board to enable ethernet using the SMSC9118 ethernet controller found in the board. Tested by TFTP-booting a kernel over ethernet. Signed-off-by: Linus Walleij --- board/armltd/vexpress64/vexpress64.c | 3 +++ include/configs/vexpress_aemv8a.h| 12 ++-- 2 fi

[U-Boot] [PATCH v3] armv8/vexpress64: make multientry conditional

2015-02-17 Thread Linus Walleij
While the Freescale ARMv8 board LS2085A will enter U-Boot both on a master and a secondary (slave) CPU, this is not the common behaviour on ARMv8 platforms. The norm is that U-Boot is entered from the master CPU only, while the other CPUs are kept in WFI (wait for interrupt) state. The code determ

Re: [U-Boot] please pull u-boot-samsung master

2015-02-17 Thread Minkyu Kang
Dear Simon, On 14/02/15 00:13, Simon Glass wrote: > Hi Minkyu, > > On 13 February 2015 at 01:31, Minkyu Kang wrote: >> Dear Tom, >> >> The following changes since commit bd2a4888b123713adec271d6c8040ca9f609aa2f: >> >> sunxi: configs/sunxi-common.h: Enable CONFIG_CMD_PART (2015-02-11 19:43:45

Re: [U-Boot] [PATCH v2 06/12] virt-dt: Allow reservation of the secure region when it is in a RAM carveout.

2015-02-17 Thread Mark Rutland
On Tue, Feb 17, 2015 at 08:09:57AM +, Jan Kiszka wrote: > On 2015-02-16 16:38, Jan Kiszka wrote: > > On 2015-02-16 15:56, Mark Rutland wrote: > >> On Mon, Feb 16, 2015 at 02:31:21PM +, Jan Kiszka wrote: > >>> On 2015-02-16 15:25, Mark Rutland wrote: > On Mon, Feb 16, 2015 at 01:51:37PM

[U-Boot] [PATCH 1/2] dfu: samsung: move call to set_dfu_alt_info() to dfu common code

2015-02-17 Thread Przemyslaw Marczak
This common call can be used for setting proper entities based on dfu command arguments. The config: CONFIG_SET_DFU_ALT_INFO, was used only for few configs, and now it is common. The board file should implement: - set_dfu_alt_info() function Signed-off-by: Przemyslaw Marczak Cc: Lukasz Majewski

[U-Boot] [PATCH 2/2] odroid: adjust get_dfu_alt_*() functions to new declarations

2015-02-17 Thread Przemyslaw Marczak
From: Inha Song This change is required after updated dfu_alt_system/boot declarations. Signed-off-by: Inha Song Cc: Lukasz Majewski Cc: Stephen Warren Cc: Marek Vasut --- board/samsung/odroid/odroid.c | 31 +-- 1 file changed, 17 insertions(+), 14 deletions(-)

[U-Boot] [PATCH 0/2] dfu: allow to autoset configuration

2015-02-17 Thread Przemyslaw Marczak
Since the dfu supports multiple inferfaces, using a single ${dfu_alt_info} variable, or manually presetting it for various interfaces is uncomfortable. The interface is given as an argument to the dfu/thor commands, so it can be easy used to set the environment. The odroid, as an example, can boo

Re: [U-Boot] [PATCH v2 06/12] virt-dt: Allow reservation of the secure region when it is in a RAM carveout.

2015-02-17 Thread Jan Kiszka
On 2015-02-17 11:46, Mark Rutland wrote: > On Tue, Feb 17, 2015 at 08:09:57AM +, Jan Kiszka wrote: >> On 2015-02-16 16:38, Jan Kiszka wrote: >>> On 2015-02-16 15:56, Mark Rutland wrote: On Mon, Feb 16, 2015 at 02:31:21PM +, Jan Kiszka wrote: > On 2015-02-16 15:25, Mark Rutland wrot

Re: [U-Boot] [PATCH v2 07/11] Exynos542x: cache: Disable clean/evict push to external

2015-02-17 Thread Minkyu Kang
Hi, On 03/02/15 17:18, Akshay Saraswat wrote: > L2 Auxiliary Control Register provides configuration > and control options for the L2 memory system. Bit 3 > of L2ACTLR stands for clean/evict push to external. > Setting bit 3 disables clean/evict which is what > this patch intends to do. > > Signe

Re: [U-Boot] [PATCH v2 08/11] Exynos542x: add L2 control register configuration

2015-02-17 Thread Minkyu Kang
Hi, On 03/02/15 17:18, Akshay Saraswat wrote: > This patch does 3 things: > 1. Enables ECC by setting 21st bit of L2CTLR. > 2. Restore data and tag RAM latencies to 3 cycles because iROM sets >0x3000400 L2CTLR value during switching. > 3. Disable clean/evict push to external by setting 3rd bit

Re: [U-Boot] [PATCH v2 06/12] virt-dt: Allow reservation of the secure region when it is in a RAM carveout.

2015-02-17 Thread Mark Rutland
[...] > >> This is getting invasive: > >> > >> If I add carveouts via adjusting memory banks, I need to account for the > >> case that an existing bank is split into two halves, creating additional > >> banks this way. But then current fdt_fixup_memory_banks will no longer > >> work due to its lim

Re: [U-Boot] [PATCH 2/4] mmc: fsl_esdhc: Add support to force VSELECT set

2015-02-17 Thread Otavio Salvador
On Mon, Feb 16, 2015 at 11:38 PM, Troy Kisky wrote: > On 2/16/2015 2:38 PM, Otavio Salvador wrote: >> Some boards cannot do voltage negotiation but need to set the VSELECT >> bit forcely to ensure it to work at 1.8V. >> >> This commit adds CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT flag for this use. >> >

Re: [U-Boot] [PATCH 1/4] mmc: fsl_esdhc: Add CMD11 support to switch to 1.8V

2015-02-17 Thread Otavio Salvador
On Tue, Feb 17, 2015 at 5:11 AM, Marek Vasut wrote: > On Monday, February 16, 2015 at 10:38:00 PM, Otavio Salvador wrote: >> This adds support to switch to 1.8V in case CMD11 succeeds. >> >> Signed-off-by: Otavio Salvador >> --- > > [...] > >> @@ -413,6 +424,11 @@ out: >> wh

[U-Boot] [PATCH v2 3/4] imx: mx6sl: Extend USDHC SD2 pins to support 8-wire use

2015-02-17 Thread Otavio Salvador
This adds the DATA[4-7] and RST pin definitions. Signed-off-by: Otavio Salvador --- Changes in v2: None arch/arm/include/asm/arch-mx6/mx6sl_pins.h | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/mx6sl_pins.h b/arch/arm/include/asm/arch-mx6/mx6sl_pins.h i

[U-Boot] [PATCH v2 4/4] warp: Add initial WaRP Board support

2015-02-17 Thread Otavio Salvador
The WaRP Board is a Wearable Reference Plaform. The board features: - Freescale i.MX6 SoloLite processor with 512MB of RAM - Freescale FXOS8700CQ 6-axis Xtrinsic sensor - Freescale Kinetis KL16 MCU - Freescale Xtrinsic MMA955xL intelligent motion sensing platform The board implements a hybrid

[U-Boot] [PATCH v2 2/4] mmc: fsl_esdhc: Add support to force VSELECT set

2015-02-17 Thread Otavio Salvador
Some boards cannot do voltage negotiation but need to set the VSELECT bit forcely to ensure it to work at 1.8V. This commit adds CONFIG_SYS_FSL_ESDHC_FORCE_VSELECT flag for this use. Signed-off-by: Otavio Salvador --- Changes in v2: None doc/README.fsl-esdhc| 1 + drivers/mmc/fsl_esdhc.c

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-17 Thread Dileep Katta
On 17 February 2015 at 02:51, Steve Rae wrote: > > > On 15-02-16 12:40 PM, Dileep Katta wrote: > >> Hi Steve, >> >> On 14 February 2015 at 02:15, Steve Rae wrote: >> >> >>> >>> On 15-02-12 12:29 AM, Dileep Katta wrote: >>> >>> Hi Steve, On 11 February 2015 at 05:25, Steve Rae wrote:

[U-Boot] [PATCH 0/4] exynos-dwmmc: check set init priority for boot channel

2015-02-17 Thread Przemyslaw Marczak
The dw mmc driver init priority was always the same: ch 0, ch 1, ch 2. On some boards (e.g. Odroid XU3) the dwmmc driver is enabled for all mmc channels. In this case, when boot device is switchable (SD/eMMC), then the MMC boot device will be 0 or 1. Change the init priority to boot device, always

[U-Boot] [PATCH 2/4] s5p: gpio: add implementation of dm_gpio_set_pull()

2015-02-17 Thread Przemyslaw Marczak
This commit adds implementation of driver model gpio pull setting to s5p gpio driver. Signed-off-by: Przemyslaw Marczak Cc: Simon Glass Cc: Minkyu Kang --- drivers/gpio/s5p_gpio.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/gpio/s5p_gpio.c b/drivers/gpio/s5p_gpio.c

[U-Boot] [PATCH 1/4] dm: gpio: extend gpio api by dm_gpio_set_pull()

2015-02-17 Thread Przemyslaw Marczak
This commits extends: - dm gpio ops by: 'set_pull' call - dm gpio uclass by: dm_gpio_set_pull() function The pull mode is not defined so should be driver specific. Signed-off-by: Przemyslaw Marczak CC: Simon Glass --- drivers/gpio/gpio-uclass.c | 12 include/asm-generic/gpio.h | 1

[U-Boot] [PATCH 4/4] mmc: print SD/eMMC type for inited mmc devices

2015-02-17 Thread Przemyslaw Marczak
Depending on the boot priority, the eMMC/SD cards, can be initialized with the same numbers for each boot. To be sure which mmc device is SD and which is eMMC, this info is printed by 'mmc list' command, when the init is done. Signed-off-by: Przemyslaw Marczak Cc: Pantelis Antoniou --- drivers

[U-Boot] [PATCH 3/4] mmc: exynos dwmmc: check boot mode before init dwmmc

2015-02-17 Thread Przemyslaw Marczak
Before this commit, the mmc devices were always registered in the same order. So dwmmc channel 0 was registered as mmc 0, channel 1 as mmc 1, etc. In case of possibility to boot from more then one device, the CONFIG_SYS_MMC_ENV_DEV should always point to right mmc device. This can be achieved by i

Re: [U-Boot] [PATCH v2 5/8] lpc32xx: add LPC32xx SSP support (SPI mode)

2015-02-17 Thread Jagan Teki
Hi Albert, On 17 February 2015 at 15:21, Albert ARIBAUD wrote: > Bonjour Jagan, > > Le Tue, 17 Feb 2015 15:03:16 +0530, Jagan Teki > a écrit : > >> On 12 February 2015 at 23:07, Albert ARIBAUD (3ADEV) >> wrote: >> > Signed-off-by: Albert ARIBAUD (3ADEV) >> > --- >> > >> > Changes in v2: >> > -

[U-Boot] [PATCH v2 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-17 Thread Dileep Katta
Adds the fastboot erase functionality, to erase a partition specified by name. The erase is performed based on erase group size, to avoid erasing other partitions. The start address and the size is aligned to the erase group size for this. Currently only supports erasing from eMMC. Signed-off-by:

[U-Boot] [PATCH 0/3] samsung: board: reserve dram for the secure firmware

2015-02-17 Thread Przemyslaw Marczak
Since the few exynos based boards requires memory reservation, of last DRAM bank, the code could be in a common place. This patchset moves the reservation code from odroid board file to common samsung board file. Przemyslaw Marczak (3): board: samsung: reserve memory for the secure firmware O

[U-Boot] [PATCH 3/3] Odroid U3: use common code for dram reservation

2015-02-17 Thread Przemyslaw Marczak
This commit removes the dram reservation from board file, because it is done in a common code. Signed-off-by: Przemyslaw Marczak Cc: Minkyu Kang --- board/samsung/odroid/odroid.c | 4 include/configs/odroid.h | 5 +++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/bo

[U-Boot] [PATCH 2/3] Odroid-XU3: enable the last dram bank and reserve 22MiB

2015-02-17 Thread Przemyslaw Marczak
This commit enables the last DRAM bank and reserves the last 22 MiB of it, for the secure firmware. Signed-off-by: Przemyslaw Marczak Cc: Akshay Saraswat Cc: Hyungwon Hwang Cc: Minkyu Kang --- include/configs/odroid_xu3.h | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff

[U-Boot] [PATCH 1/3] board: samsung: reserve memory for the secure firmware

2015-02-17 Thread Przemyslaw Marczak
Since more than one board requires memory reservation for the secure firmware, the reservation code can be made in a common code. Now, to reserve some part of the the last bank, board config should define: - CONFIG_TZSW_RESERVED_DRAM - len in bytes - CONFIG_NR_DRAM_BANKS - number of memory banks S

Re: [U-Boot] [PATCH] mtd: nand: omap_gpmc: Make ready/busy pins configurable

2015-02-17 Thread Stefan Roese
Hi Michal, On 17.02.2015 14:52, Michal Sojka wrote: + omap_nand_info[cs].ws = ws[cs]; +#endif I've attached a new version of this patch. It removed the ifdef from the code. Please take a look at it and let me know what you think. Yes, it's better and it works for us. Just one point

[U-Boot] [PATCH 1/4] dm: tegra: dts: add aliases for spi on apalis_t30

2015-02-17 Thread Marcel Ziswiler
All boards with a SPI interface have a suitable spi alias except Apalis T30. Add these missing aliases just as the following commit did for the others: d2f60f93325ac31f5f30ee94f15b87c89db46aec Signed-off-by: Marcel Ziswiler --- arch/arm/dts/tegra30-apalis.dts | 4 1 file changed, 4 inserti

[U-Boot] [PATCH 0/4] various fixes for apalis/colibri_t30

2015-02-17 Thread Marcel Ziswiler
The following is a set of various fixes for Toradex Apalis and Colibri T30. Marcel Ziswiler (4): dm: tegra: dts: add aliases for spi on apalis_t30 apalis/colibri_t30: fix MMC/SD card detect GPIOs apalis_t30: enable gigabit ethernet via pcie apalis/colibri_t30: add misc cmds increase buf si

[U-Boot] [PATCH 3/4] apalis_t30: enable gigabit ethernet via pcie

2015-02-17 Thread Marcel Ziswiler
Now with all the Tegra PCIe and Intel E1000 gigabit Ethernet driver updates being merged actually make use of it. While at it get rid of the USB networking support which now does not make much sense any longer. Signed-off-by: Marcel Ziswiler --- include/configs/apalis_t30.h | 10 +++--- 1 f

[U-Boot] [PATCH 2/4] apalis/colibri_t30: fix MMC/SD card detect GPIOs

2015-02-17 Thread Marcel Ziswiler
This fixes the MMC/SD card detect GPIOs for Apalis T30 which got broken by the following commit: 2b2b50bc8748bf1ddb2d96da7157f9eecbe24961 While at it also re-add the comments describing which particular Apalis/Colibri pins those GPIOs are on. Signed-off-by: Marcel Ziswiler --- arch/arm/dts/teg

[U-Boot] [PATCH 4/4] apalis/colibri_t30: add misc cmds increase buf sizes and max args

2015-02-17 Thread Marcel Ziswiler
In order to work with our downstream U-Boot environment and update scripts add support for the following miscellaneous commands: CONFIG_CMD_SETEXPR CONFIG_FAT_WRITE CONFIG_CMDLINE_EDITING CONFIG_CMD_FS_GENERIC Increase the console I/O and print as well as argument buffer sizes: CONFIG_SYS_CBSIZE

[U-Boot] [PATCH] fs: ext4 write: return file len on success

2015-02-17 Thread Przemyslaw Marczak
After rework of the file system API, the size of ext4 write was missed. This causes printing unreliable write size at the end of the file system write operation. Signed-off-by: Przemyslaw Marczak Cc: Sjoerd Simons Cc: Lukasz Majewski Cc: Simon Glass --- fs/ext4/ext4_write.c | 3 +++ 1 file ch

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

2015-02-17 Thread Tom Rini
On Mon, Feb 16, 2015 at 09:25:06PM +0100, Andreas Bießmann wrote: > Hi Tom, > > finally generic board support for avr32! > > The following changes since commit bd2a4888b123713adec271d6c8040ca9f609aa2f: > > sunxi: configs/sunxi-common.h: Enable CONFIG_CMD_PART (2015-02-11 19:43:45 > -0500) >

Re: [U-Boot] [PATCH] tools: imagetool: Remove "INSERT BEFORE" from linker script

2015-02-17 Thread Guilherme Ferreira
Hi Tom, Confirmed, Andreas sent the patch and I've tested both versions. The tools still works on Ubuntu host. Kind regards, 2015-02-16 15:12 GMT-02:00 Tom Rini : > On Mon, Feb 16, 2015 at 11:55:09AM -0500, Tom Rini wrote: > > On Mon, Feb 16, 2015 at 03:05:45PM +0100, Lukasz Majewski wrote: > >

Re: [U-Boot] [U-Boot,v3,10/12] avr32: add generic board support

2015-02-17 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Signed-off-by: Andreas Bießmann >--- >This version still has the mmu_init_r() in common/board_r. Removing this now is >not that easy ... I'd love to get it in as is and change it later to the >board_init_f_r() sequence. > >Changes in v3: >- remove unnec

[U-Boot] [PATCH v2 1/4] mmc: fsl_esdhc: Add CMD11 support to switch to 1.8V

2015-02-17 Thread Otavio Salvador
This adds support to switch to 1.8V in case CMD11 succeeds. Signed-off-by: Otavio Salvador --- Changes in v2: - Fixed split string (Marek) drivers/mmc/fsl_esdhc.c | 29 ++--- include/fsl_esdhc.h | 2 ++ include/mmc.h | 1 + 3 files changed, 25 insertions

Re: [U-Boot] [U-Boot,v3,07/12] common/board_f: factor out reserve_stacks

2015-02-17 Thread Andreas Bießmann
Dear Andreas Devel, Andreas Devel writes: >Introduce arch_reserve_stacks() to tailor gd->start_addr_sp and gd->irq_sp to >the architecture needs. > >Signed-off-by: Andreas Bießmann >Reviewed-by: Simon Glass >--- > >Changes in v3: >- make arch_reserve_stacks weak and adopt ppc/arm versions > >Ch

Re: [U-Boot] [PATCH v2 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-02-17 Thread Albert ARIBAUD
Bonjour Tom, Le Tue, 17 Feb 2015 08:20:09 -0500, Tom Rini a écrit : > On Thu, Feb 12, 2015 at 06:36:59PM +0100, Albert ARIBAUD (3ADEV) wrote: > > > This series extends functionality for the LPC32xx platform and > > introduces the WORK Microwave work_92105 board which makes use > > of the extend

Re: [U-Boot] [PATCH v2 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-02-17 Thread Tom Rini
On Thu, Feb 12, 2015 at 06:36:59PM +0100, Albert ARIBAUD (3ADEV) wrote: > This series extends functionality for the LPC32xx platform and > introduces the WORK Microwave work_92105 board which makes use > of the extended functionality. Along with the work_92105 problem, just dropping that patch re

Re: [U-Boot] [PATCH] mtd: nand: omap_gpmc: Make ready/busy pins configurable

2015-02-17 Thread Michal Sojka
Hi Stefan, On Wed, Feb 11 2015, Stefan Roese wrote: > On 10.02.2015 14:21, Michal Sojka wrote: >> Commit fb384c4720ca7496775d6578f184bf628db73456 introduced the use of >> WAIT0 pin for determining whether the NAND is ready or not. This only >> works if all NAND chips are connected to WAIT0. If som

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

2015-02-17 Thread Andreas Bießmann
Hi Tom, On 02/17/2015 04:12 PM, Tom Rini wrote: > On Mon, Feb 16, 2015 at 09:25:06PM +0100, Andreas Bießmann wrote: > >> Hi Tom, >> >> finally generic board support for avr32! >> >> The following changes since commit bd2a4888b123713adec271d6c8040ca9f609aa2f: >> >> sunxi: configs/sunxi-common.h:

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

2015-02-17 Thread Tom Rini
On Tue, Feb 17, 2015 at 04:48:36PM +0100, Andreas Bießmann wrote: > Hi Tom, > > On 02/17/2015 04:12 PM, Tom Rini wrote: > > On Mon, Feb 16, 2015 at 09:25:06PM +0100, Andreas Bießmann wrote: > > > >> Hi Tom, > >> > >> finally generic board support for avr32! > >> > >> The following changes since c

Re: [U-Boot] [PATCH v1 1/1] usb: gadget: fastboot: Add fastboot erase

2015-02-17 Thread Matt Reimer
On Tue, Feb 17, 2015 at 5:57 AM, Dileep Katta wrote: > On 17 February 2015 at 02:51, Steve Rae wrote: > > > > > > > On 15-02-16 12:40 PM, Dileep Katta wrote: > > > >> Hi Steve, > >> > >> On 14 February 2015 at 02:15, Steve Rae wrote: > >> > >> > >>> > >>> On 15-02-12 12:29 AM, Dileep Katta wrot

Re: [U-Boot] [PATCH v2 0/8] Extend LPC32xx functionality and add LPC32xx-based work_92015 board

2015-02-17 Thread Tom Rini
On Tue, Feb 17, 2015 at 02:26:47PM +0100, Albert ARIBAUD wrote: > Bonjour Tom, > > Le Tue, 17 Feb 2015 08:20:09 -0500, Tom Rini a écrit : > > > On Thu, Feb 12, 2015 at 06:36:59PM +0100, Albert ARIBAUD (3ADEV) wrote: > > > > > This series extends functionality for the LPC32xx platform and > > >

[U-Boot] [PATCH v2] mtd: nand: omap_gpmc: Make ready/busy pins configurable

2015-02-17 Thread sojkam1
From: Michal Sojka Commit fb384c4720ca7496775d6578f184bf628db73456 introduced the use of WAIT0 pin for determining whether the NAND is ready or not. This only works if all NAND chips are connected to WAIT0. If some chips are connected to the other available pin WAIT1, nand_wait() does not really

[U-Boot] [U-boot][PATCH v2] keystone2: add support for UART download

2015-02-17 Thread Vitaly Andrianov
Currently to flash u-boot image onto NAND or SPI NOR flash, very first time user need to use Code Composer Studio (CCS). This is cumbersome for an user not familiar with CCS. This patch add simpler procedure using uart boot mode for K2 EVMs. When UART bootmode is set and board is rebooted, the ROM

Re: [U-Boot] u-boot tftp problem

2015-02-17 Thread Joe Hershberger
On Fri, Feb 13, 2015 at 8:05 PM, PF4Public wrote: > > Hi all > > I'm asking for your help to figure out what interferes with u-boot's tftp in my setup. > I have a custom board with TI OMAP SoC. I'm trying to download uImage from linux machine via tftp. It fails with timeouts (most of the tries tim

Re: [U-Boot] [U-boot][PATCH v2] keystone2: add support for UART download

2015-02-17 Thread Nishanth Menon
On 02/17/2015 10:39 AM, Vitaly Andrianov wrote: > Currently to flash u-boot image onto NAND or SPI NOR flash, very first > time user need to use Code Composer Studio (CCS). This is cumbersome for > an user not familiar with CCS. This patch add simpler procedure using > uart boot mode for K2 EVMs. >

Re: [U-Boot] [PATCH 2/4] mmc: fsl_esdhc: Add support to force VSELECT set

2015-02-17 Thread Troy Kisky
On 2/17/2015 5:36 AM, Otavio Salvador wrote: > On Mon, Feb 16, 2015 at 11:38 PM, Troy Kisky > wrote: >> On 2/16/2015 2:38 PM, Otavio Salvador wrote: >>> Some boards cannot do voltage negotiation but need to set the VSELECT >>> bit forcely to ensure it to work at 1.8V. >>> >>> This commit adds CONF

[U-Boot] [PATCH V2 1/2] gunzip: add gzwrite routine for extracting compresed images to block device

2015-02-17 Thread Eric Nelson
Initial filesystem images are generally highly compressible. Add a routine gzwrite that allows gzip-compressed images to be written to block devices. Signed-off-by: Eric Nelson --- V2 removes floating point references from u64 division include/common.h | 39 +++ lib/gunzip.c | 195

[U-Boot] [PATCH 2/2] ARM: tegra: import latest Jetson TK1 pinmux

2015-02-17 Thread Stephen Warren
From: Stephen Warren Syseng has revamped the Jetson TK1 pinmux spreadsheet, basing the content completely on correct configuration for the board/schematic, rather than the previous version which was based on the bare minimum changes relative to another reference board. The new spreadsheet sets T

[U-Boot] [PATCH 1/2] ARM: tegra: add function to clear pinmux CLAMPING bit

2015-02-17 Thread Stephen Warren
From: Stephen Warren This is needed to correctly apply the new Jetson TK1 pinmux config. Signed-off-by: Stephen Warren --- arch/arm/cpu/tegra-common/pinmux-common.c | 10 ++ arch/arm/include/asm/arch-tegra/pinmux.h | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] add example for file on VFAT filesystem usage

2015-02-17 Thread Tom Rini
On Mon, Feb 16, 2015 at 05:59:09AM +0100, Waldemar Brodkorb wrote: > For example on a raspberry pi the u-boot environment can be > saved in a file on the first VFAT partition. > This example illustrates how to use it with fw_printenv/fw_setenv. > > Signed-off-by: Waldemar Brodkorb Applied to u-

Re: [U-Boot] [PATCH V3 3/3] rpi: add support for Raspberry Pi 2 model B

2015-02-17 Thread Stephen Warren
On 02/16/2015 06:03 PM, Tom Rini wrote: On Mon, Feb 16, 2015 at 12:16:15PM -0700, Stephen Warren wrote: USB doesn't seem to work yet; the controller detects the on-board Hub/ Ethernet device but can't read the descriptors from it. I haven't investigated yet. Signed-off-by: Stephen Warren ---

Re: [U-Boot] [PATCH 2/4] mmc: fsl_esdhc: Add support to force VSELECT set

2015-02-17 Thread Marek Vasut
On Tuesday, February 17, 2015 at 06:18:31 PM, Troy Kisky wrote: > On 2/17/2015 5:36 AM, Otavio Salvador wrote: > > On Mon, Feb 16, 2015 at 11:38 PM, Troy Kisky > > > > wrote: > >> On 2/16/2015 2:38 PM, Otavio Salvador wrote: > >>> Some boards cannot do voltage negotiation but need to set the VSEL

Re: [U-Boot] [PATCH 1/2] gunzip: add gzwrite routine for extracting compresed images to block device

2015-02-17 Thread Marek Vasut
On Monday, February 16, 2015 at 06:33:35 PM, Eric Nelson wrote: > Hi Tom and Marek, > > On 02/16/2015 10:03 AM, Tom Rini wrote: > > On Mon, Feb 16, 2015 at 05:27:59PM +0100, Marek Vasut wrote: > >> On Monday, February 16, 2015 at 12:16:06 AM, Eric Nelson wrote: > >>> Initial filesystem images are

Re: [U-Boot] [PATCH 11/14] usb: UniPhier: add UniPhier on-chip xHCI host driver support

2015-02-17 Thread Marek Vasut
On Tuesday, February 17, 2015 at 08:00:27 AM, Masahiro Yamada wrote: > Support xHCI host driver used on Panasonic UniPhier platform. > > Signed-off-by: Masahiro Yamada > --- > Hi Marek, > > I want apply this patch onto u-boot-uniphier/master > to avoid conflicts. > > If you are OK with it, coul

Re: [U-Boot] [PATCH v2 1/4] mmc: fsl_esdhc: Add CMD11 support to switch to 1.8V

2015-02-17 Thread Marek Vasut
On Tuesday, February 17, 2015 at 01:42:43 PM, Otavio Salvador wrote: > This adds support to switch to 1.8V in case CMD11 succeeds. > > Signed-off-by: Otavio Salvador > --- > > Changes in v2: > - Fixed split string (Marek) > > drivers/mmc/fsl_esdhc.c | 29 ++--- > includ

[U-Boot] [PULL] u-boot-socfpga/master

2015-02-17 Thread Marek Vasut
Hi Tom, SoCFPGA stuff for current release. The following changes since commit 7f641d53bbb3a426a3bfb132d8346153e86a9d08: Merge branch 'master' of git://git.denx.de/u-boot-ubi (2015-02-04 13:30:00 -0500) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git HEAD for

Re: [U-Boot] [PATCH 2/4] mmc: fsl_esdhc: Add support to force VSELECT set

2015-02-17 Thread Otavio Salvador
On Tue, Feb 17, 2015 at 5:43 PM, Marek Vasut wrote: > On Tuesday, February 17, 2015 at 06:18:31 PM, Troy Kisky wrote: >> On 2/17/2015 5:36 AM, Otavio Salvador wrote: >> > On Mon, Feb 16, 2015 at 11:38 PM, Troy Kisky >> > >> > wrote: >> >> On 2/16/2015 2:38 PM, Otavio Salvador wrote: >> >>> Some b

[U-Boot] [PATCH v4] imx6: Added DEK blob generator command

2015-02-17 Thread Ulises.Cardenas
From: Raul Cardenas Freescale's SEC block has built-in Data Encryption Key(DEK) Blob Protocol which provides a method for protecting a DEK for non-secure memory storage. SEC block protects data in a data structure called a Secret Key Blob, which provides both confidentiality and integrity protect

Re: [U-Boot] [PATCH V3 3/3] rpi: add support for Raspberry Pi 2 model B

2015-02-17 Thread Tom Rini
On Tue, Feb 17, 2015 at 12:35:41PM -0700, Stephen Warren wrote: > On 02/16/2015 06:03 PM, Tom Rini wrote: > >On Mon, Feb 16, 2015 at 12:16:15PM -0700, Stephen Warren wrote: > > > >>USB doesn't seem to work yet; the controller detects the on-board Hub/ > >>Ethernet device but can't read the descript

Re: [U-Boot] [U-Boot, v2] PCI: add 64-bit prefetchable memory support

2015-02-17 Thread Tom Rini
On Mon, Feb 02, 2015 at 04:53:13PM +0800, feng...@phytium.com.cn wrote: > From: David Feng > > PCI specification allow prefetchable memory to be 32-bit or 64-bit. > PCI express specification states that all memmory bars for prefetchable > memory must be implemented as 64-bit. They all require th

Re: [U-Boot] .travis.yml: remove 824x builds

2015-02-17 Thread Tom Rini
On Tue, Feb 03, 2015 at 10:34:10AM +0100, Heiko Schocher wrote: > remove powerpc 824x build, as this architecture not longer > exists. > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2] config_distro_bootcmd.h: Enable CONFIG_CMD_PART

2015-02-17 Thread Tom Rini
On Sat, Feb 07, 2015 at 01:38:19PM +0100, Hans de Goede wrote: > The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be > defined, as the default bootcmd now uses the "part" command. > > This fixes sunxi boards not booting with v2015.04-rc1. > > Signed-off-by: Hans de Goede

Re: [U-Boot] [U-Boot, v2] image: Convert to use fdt_for_each_subnode macro

2015-02-17 Thread Tom Rini
On Sat, Feb 07, 2015 at 09:12:39AM +0800, Axel Lin wrote: > Use fdt_for_each_subnode macro to simplify the code a bit. > > Signed-off-by: Axel Lin > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,v1] tools/imagetool: remove linker script

2015-02-17 Thread Tom Rini
On Mon, Feb 09, 2015 at 12:06:10AM +0100, Andreas Bießmann wrote: > Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated > lists for imagetool which is the base for some host tools (mkimage, dumpimage, > et al.). Unfortunately some host tool chains do not support the used t

Re: [U-Boot] [U-Boot,v2] spl, spl_nor: fix compiler warning

2015-02-17 Thread Tom Rini
On Fri, Feb 06, 2015 at 09:31:36AM +0100, Heiko Schocher wrote: > executing "tools/buildman/buildman mpc5xx" drops this warning: > > common/spl/spl_nor.c: In function 'spl_nor_load_image': > common/spl/spl_nor.c:26:10: warning: assignment discards 'const' qualifier > from pointer target type [en

Re: [U-Boot] [U-Boot, v3, 3/6] 85xx/kmp204x: read the IVM eeprom earlier

2015-02-17 Thread Tom Rini
On Tue, Feb 10, 2015 at 05:10:15PM +0100, Valentin Longchamp wrote: > This allows to define the ethaddr env variable according to the the IVM > content by reading the IVM in misc_init_r. > > Later, when HUSH is available the content read earlier is analyzed to > populate some non env variables. >

Re: [U-Boot] [U-Boot, v3, 3/6] 85xx/kmp204x: read the IVM eeprom earlier

2015-02-17 Thread Tom Rini
On Tue, Feb 10, 2015 at 05:10:15PM +0100, Valentin Longchamp wrote: > This allows to define the ethaddr env variable according to the the IVM > content by reading the IVM in misc_init_r. > > Later, when HUSH is available the content read earlier is analyzed to > populate some non env variables. >

Re: [U-Boot] [U-Boot, v3, 5/6] 82xx/km82xx: read the IVM eeprom earlier

2015-02-17 Thread Tom Rini
On Tue, Feb 10, 2015 at 05:10:17PM +0100, Valentin Longchamp wrote: > This allows to define the ethaddr env variable according to the the IVM > content by reading the IVM in misc_init_r. > > Later, when HUSH is available the content read earlier is analyzed to > populate some non env variables. >

  1   2   >