Re: [U-Boot] [PATCH 7/7] mtd: nand: Sync with Linux v4.6

2016-05-30 Thread Heiko Schocher
Hello Scott, Am 30.05.2016 um 20:57 schrieb Scott Wood: Updates the NAND code to match Linux v4.6. The previous sync was from Linux v4.1 in commit d3963721d93fafa. Note that none of the individual NAND drivers tracked Linux closely enough to be synced themselves, other than manually applying a

Re: [U-Boot] [PATCH] env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used

2016-05-30 Thread Alexander Graf
> Am 31.05.2016 um 07:04 schrieb Michal Simek : > >> On 30.5.2016 21:36, Alexander Graf wrote: >> >> >>> On 05/30/2016 04:11 PM, Michal Simek wrote: >>> Setup flag when default environment are used to be able to >>> rewrite default distro boot variables based on SoC boot mode. >>> >>> Signed-

Re: [U-Boot] [RFC PATCH 1/5] spl: dfu: add dfu support in SPL

2016-05-30 Thread B, Ravi
Lukasz >> Hi Lukasz >> >> > On 30-May-2016, at 5:24 PM, Lukasz Majewski >> > wrote: >> > >> > Hi Ravi, >> > >> > Thanks for adding this functionality to DFU. >> > >> > Please find below organizational tips: >> > >> > - Please use 'patman' (./tools/patman/patman) tool when sending >> > patc

[U-Boot] Please pull u-boot-marvell/master

2016-05-30 Thread Stefan Roese
Hi Tom, please pull the following patches from the Marvell git repository. I've included 2 SPEAr patches there since we don't have a SPEAr git repository. I hope this okay. Thanks, Stefan The following changes since commit e4a94ce4ac77396b181663c0493c50bc2d5b9143: Merge git://git.denx.de/u-bo

Re: [U-Boot] [PATCH] dm: gpio: MPC85XX GPIO platform data support

2016-05-30 Thread Mario Six
Hi Hamish, On Mon, May 30, 2016 at 11:00 PM, Hamish Martin wrote: > Define a platform data structure for the MPC85XX GPIO driver to allow > use of the driver without device tree. Users should define the GPIO > blocks for their platform like this: > struct mpc85xx_gpio_plat gpio_blocks[] = { >

Re: [U-Boot] [PATCH] clearfog: add HUSH parser

2016-05-30 Thread Stefan Roese
On 26.05.2016 10:48, Peter Robinson wrote: In the big move of CONFIG_HUSH_PARSER to config files the clearfog somehow missed out. Signed-off-by: Peter Robinson Applied to u-boot-marvell/master Thanks, Stefan ___ U-Boot mailing list U-Boot@lists.den

Re: [U-Boot] [PATCH 1/3] arm: spear: x600: Add support for Micrel KSZ9031 PHY

2016-05-30 Thread Stefan Roese
On 27.04.2016 09:10, Stefan Roese wrote: As the old ethernet PHY is not available any more, the x600 board has been redesigned with the Micrel KSZ9031 PHY. This patch adds support to autodetect the PHY and configure the Micrel PHY correctly. Signed-off-by: Stefan Roese Applied to u-boot-marve

Re: [U-Boot] [PATCH 2/3] arm: spear: x600: Remove EFI support to reduce image size

2016-05-30 Thread Stefan Roese
On 27.04.2016 09:10, Stefan Roese wrote: EFI is not needed on x600. So lets remove the EFI support to make it fit into the 0x6 image size limit again. Signed-off-by: Stefan Roese Applied to u-boot-marvell/master Thanks, Stefan ___ U-Boot mailin

Re: [U-Boot] [PATCH] env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used

2016-05-30 Thread Michal Simek
On 30.5.2016 21:36, Alexander Graf wrote: > > > On 05/30/2016 04:11 PM, Michal Simek wrote: >> Setup flag when default environment are used to be able to >> rewrite default distro boot variables based on SoC boot mode. >> >> Signed-off-by: Michal Simek >> --- >> >> I didn't find any way how to d

Re: [U-Boot] Broken H3 EMAC Driver

2016-05-30 Thread Michal Simek
Hi, On 30.5.2016 16:12, Amit Tomer wrote: > Hello, > > Trying to add support for H3 EMAC driver. > > http://comments.gmane.org/gmane.comp.boot-loaders.u-boot/261544 > > It was working well until commit " > b733c278d7adc48c71bd06faf359db3d9e385185" was introduced. > > net: phy: Handle phy_start

Re: [U-Boot] [U-Boot, RFC] SPL: FIT: Align loading address for header

2016-05-30 Thread Lokesh Vutla
On Monday 30 May 2016 11:26 PM, Tom Rini wrote: > On Thu, Apr 28, 2016 at 10:36:11AM +0200, Michal Simek wrote: > >> If bl_len is not aligned it can caused a problem because another code >> expects that start is aligned. >> >> Signed-off-by: Michal Simek >> Reviewed-by: Simon Glass > > Applie

[U-Boot] [PATCH] serial: atmel_usart: Add device tree support

2016-05-30 Thread Wenyou Yang
Add device tree support. Signed-off-by: Wenyou Yang --- drivers/serial/atmel_usart.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/serial/atmel_usart.c b/drivers/serial/atmel_usart.c index 4fe992b..b78a94c 100644 --- a/drivers/serial/atmel_usart.c +++ b/drivers/seri

Re: [U-Boot] [PATCH 1/2] drivers/ddr/fsl: Update clk_adjust of sdram_clk_cntl

2016-05-30 Thread Shengzhou Liu
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Tuesday, May 17, 2016 12:55 AM > To: Shengzhou Liu ; u-boot@lists.denx.de > Subject: Re: [PATCH 1/2] drivers/ddr/fsl: Update clk_adjust of sdram_clk_cntl > > Shengzhou, > > Your understanding is correct. However, we

Re: [U-Boot] [PATCH 4/6] mips: ath79: Add support for ungating USB and ethernet on qca953x

2016-05-30 Thread Marek Vasut
On 05/31/2016 02:35 AM, Wills Wang wrote: > > > On 05/30/2016 11:18 PM, Marek Vasut wrote: >> On 05/30/2016 04:54 PM, Wills Wang wrote: >>> Add code to ungate USB and ethernet controller on qca953x >> Is this code coming from mainline Linux ? > > No, i refer to u-boot code from QSDK. Oh ok. I'd

Re: [U-Boot] [PATCH 4/6] mips: ath79: Add support for ungating USB and ethernet on qca953x

2016-05-30 Thread Wills Wang
On 05/30/2016 11:18 PM, Marek Vasut wrote: On 05/30/2016 04:54 PM, Wills Wang wrote: Add code to ungate USB and ethernet controller on qca953x Is this code coming from mainline Linux ? No, i refer to u-boot code from QSDK. Signed-off-by: Wills Wang --- arch/mips/mach-ath79/reset.c | 50

Re: [U-Boot] [PATCH 1/2] spl: Remove bogus GD_FLG_SPL_INIT check

2016-05-30 Thread Chin Liang See
On Mon, 2016-05-30 at 18:39 +0200, Stefan Roese wrote: > On 30.05.2016 17:22, Marek Vasut wrote: > > Remove the check for GD_FLG_SPL_INIT in spl_relocate_stack_gd(). > > The check will always fail. This is because spl_relocate_stack_gd() > > is called from ARM's crt0.S and it is called before board

Re: [U-Boot] [PATCH 2/2] arm: socfpga: Enable tiny printf and simple malloc in SPL

2016-05-30 Thread Chin Liang See
On Mon, 2016-05-30 at 18:39 +0200, Stefan Roese wrote: > On 30.05.2016 17:22, Marek Vasut wrote: > > Enable both features to reduce the SPL size by 6 kiB. > > > > Signed-off-by: Marek Vasut > > Cc: Chin Liang See > > Cc: Dinh Nguyen > > Cc: Pavel Machek > > Cc: Stefan Roese > > Reviewed-by:

Re: [U-Boot] [PATCH 1/2] [RFC] lib: Implement support for tiny sprintf()

2016-05-30 Thread Marek Vasut
On 05/30/2016 07:55 PM, Tom Rini wrote: > On Thu, May 26, 2016 at 06:00:24PM +0200, Marek Vasut wrote: > >> Tweak the tiny printf code to also provide similarly tiny sprintf() >> implementation. This is not comformant with POSIX for sure, but it >> keeps the size down while still behaving rather r

Re: [U-Boot] [PATCH 2/2] [RFC] ARM: omap: Enable tiny printf/sprintf on omap3_logic

2016-05-30 Thread Marek Vasut
On 05/30/2016 07:55 PM, Tom Rini wrote: > On Thu, May 26, 2016 at 06:00:25PM +0200, Marek Vasut wrote: > >> Enable support for tiny printf and tiny sprintf on the omap3_logic >> board to trim down the SPL size. This makes the SPL actually build >> again and fit into the SRAM. >> >> Signed-off-by:

Re: [U-Boot] [PATCH 1/2] common: usb_storage : Implement logic to calculate optimal usb maximum trasfer blocks

2016-05-30 Thread Marek Vasut
On 05/30/2016 01:23 PM, Rajesh Bhagat wrote: > Implements the logic to calculate the optimal usb maximum trasfer blocks > instead of sending USB_MAX_XFER_BLK blocks which is 65535 and 20 in case > of EHCI and other USB protocols respectively. > > It adds an array of trasfer blocks that should be c

Re: [U-Boot] [PATCH 1/2] sunxi: Downclock AHB1 to 100MHz on Allwinner A64

2016-05-30 Thread Siarhei Siamashka
On Tue, 31 May 2016 01:48:05 +0300 Siarhei Siamashka wrote: > Currently the AHB1 clock speed is configured as 200MHz by > the SPL, but this causes a subtle and hard to reproduce data > corruption in SRAM C (for example, this can't be easily > detected with a trivial memset/memcmp test). > > For

[U-Boot] [PATCH 1/2] sunxi: Downclock AHB1 to 100MHz on Allwinner A64

2016-05-30 Thread Siarhei Siamashka
Currently the AHB1 clock speed is configured as 200MHz by the SPL, but this causes a subtle and hard to reproduce data corruption in SRAM C (for example, this can't be easily detected with a trivial memset/memcmp test). For what it's worth, the Allwinner's BSP configures AHB1 as 200MHz, as can be

[U-Boot] [PATCH 0/2] sunxi: Fix SRAM C corruption issue on Allwinner A64

2016-05-30 Thread Siarhei Siamashka
The full SPL support is not quite ready for Allwinner A64 yet, but these fixes are likely to be necessary. Of course, unless the problem is actually caused by wrong voltages and the AXP803 PMIC support magically fixes it. PS. Discovered when developing a sunxi-fel based SPI flash programmer tool a

[U-Boot] [PATCH 2/2] sunxi: Move the SPL stack top to 0x1A000 on Allwinner A64/A80

2016-05-30 Thread Siarhei Siamashka
Since the SRAM C corruption issue is now resolved on Allwinner A64, it is possible to move the stack top to the address 0x1A000 on both A64 and A80. The boot ROM can load SPL binaries with up to 32 KiB size on A64 (the 24 KiB SPL size limitation only affects A10/A20), and this patch also ensures th

Re: [U-Boot] Between 2015.10 and 2016.01, SPI flash changed erase size, and saveenv stopped working

2016-05-30 Thread Fabio Estevam
On Mon, May 30, 2016 at 5:25 PM, Pavel Machek wrote: > Yes, it helps. Thanks! I can now write to the enviornment. Ok, good. What happens if you revert the hack and boot a fresh 2016.05 U-boot? Are you able to write/save to the env? I want to understand if your flash always come up with the SR

Re: [U-Boot] [PATCH] verified-boot: Minimal support for booting U-Boot proper from SPL

2016-05-30 Thread Teddy Reed
Hi Sumit! On Sun, May 29, 2016 at 10:32 PM, Sumit Garg wrote: > Can you make this support more generic as you have used only > CONFIG_SPL_FIT_SIGNATURE for SPL verified boot while our platforms doesn't > use fit signature approach for verification? > CONFIG_SPL_FIT_SIGNATURE only adds ./lib/rs

Re: [U-Boot] [PATCH] malloc: Remove control-L in malloc.h

2016-05-30 Thread Marek Vasut
On 05/30/2016 10:37 PM, Marek Vasut wrote: > On 05/30/2016 10:15 PM, Wolfgang Denk wrote: >> Dear Marek, >> >> In message <1464621732-7617-1-git-send-email-ma...@denx.de> you wrote: >>> Remove what must've been a typo. >>> >>> Signed-off-by: Marek Vasut >>> Cc: Tom Rini >>> Cc: Simon Glass >>> -

Re: [U-Boot] [PATCH] malloc: Remove control-L in malloc.h

2016-05-30 Thread Marek Vasut
On 05/30/2016 10:15 PM, Wolfgang Denk wrote: > Dear Marek, > > In message <1464621732-7617-1-git-send-email-ma...@denx.de> you wrote: >> Remove what must've been a typo. >> >> Signed-off-by: Marek Vasut >> Cc: Tom Rini >> Cc: Simon Glass >> --- >> include/malloc.h | 1 - >> 1 file changed, 1 d

Re: [U-Boot] Between 2015.10 and 2016.01, SPI flash changed erase size, and saveenv stopped working

2016-05-30 Thread Pavel Machek
On Mon 2016-05-30 10:43:39, Fabio Estevam wrote: > On Mon, May 30, 2016 at 5:33 AM, Pavel Machek wrote: > > > Commit c3c016cf75360c2a0d0a065b64b438aaf7720576 is a part of the problem: > > > > offset 0x4 is protected and cannot be erased > > => sf help > > No SPI flash selected. Please run `sf

Re: [U-Boot] [PATCH] malloc: Remove control-L in malloc.h

2016-05-30 Thread Wolfgang Denk
Dear Marek, In message <1464621732-7617-1-git-send-email-ma...@denx.de> you wrote: > Remove what must've been a typo. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass > --- > include/malloc.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/malloc.h b/include/ma

Re: [U-Boot] u-boot 2016.07-rc0: socfpga SPL too big in default configuration

2016-05-30 Thread Wolfgang Denk
Dear Marek, In message <574c1963.8000...@denx.de> you wrote: > > That's a start, otherwise it boils down the readelf and analyzing what > is taking space and where to save space. Does not the .map file provide exactly this type of information? Best regards, Wolfgang Denk -- DENX Software Engi

Re: [U-Boot] [PATCHv2] check u-boot SPL size to avoid producing non-working images

2016-05-30 Thread Wolfgang Denk
Dear Pavel, In message <20160528194124.GA27144@amd> you wrote: > Debugging SPL is hard, and if SPL is too big, it tends to crash in > mysterious ways. > > (I'm not sure what the exact threshold is, 49762 bytes works, 52426 > bytes does not, so 5 should be good value). Can you please make cle

Re: [U-Boot] [PATCH] env: Setup GD_FLG_ENV_DEFAULT flag when default environment are used

2016-05-30 Thread Alexander Graf
On 05/30/2016 04:11 PM, Michal Simek wrote: Setup flag when default environment are used to be able to rewrite default distro boot variables based on SoC boot mode. Signed-off-by: Michal Simek --- I didn't find any way how to detect that default or saved variables are used. I want to have a

Re: [U-Boot] [PATCH] malloc: Remove control-L in malloc.h

2016-05-30 Thread Måns Rullgård
Marek Vasut writes: > Remove what must've been a typo. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass > --- > include/malloc.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/include/malloc.h b/include/malloc.h > index 8175c75..e065473 100644 > --- a/include/malloc.h

[U-Boot] [PATCH 7/7] mtd: nand: Sync with Linux v4.6

2016-05-30 Thread Scott Wood
Updates the NAND code to match Linux v4.6. The previous sync was from Linux v4.1 in commit d3963721d93fafa. Note that none of the individual NAND drivers tracked Linux closely enough to be synced themselves, other than manually applying a few cross-tree changes. Signed-off-by: Scott Wood --- d

[U-Boot] [PATCH 6/7] mtd: nand: Add page argument to write_page() etc.

2016-05-30 Thread Scott Wood
This change is part of the Linux 4.6 sync. It is being done before the main sync patch in order to make it easier to address the issue across all NAND drivers (many/most of which do not closely track their Linux counterparts) separately from other merge issues. Signed-off-by: Scott Wood --- dri

[U-Boot] [PATCH 5/7] mtd: nand: Add+use mtd_to/from_nand and nand_get/set_controller_data

2016-05-30 Thread Scott Wood
These functions are part of the Linux 4.6 sync. They are being added before the main sync patch in order to make it easier to address the issue across all NAND drivers (many/most of which do not closely track their Linux counterparts) separately from other merge issues. Signed-off-by: Scott Wood

[U-Boot] [PATCH 2/7] mtd: nand: Remove docg4 driver and palmtreo680 flashing tool

2016-05-30 Thread Scott Wood
Commit ad4f54ea86b ("arm: Remove palmtreo680 board") removed the only user of the docg4 driver and the palmtreo680 image flashing tool. This patch removes them. Signed-off-by: Scott Wood Cc: Mike Dunn Cc: Simon Glass --- drivers/mtd/nand/Makefile|2 - drivers/mtd/nand/docg4.c

[U-Boot] [PATCH 3/7] mtd: nand: Remove nand_info_t typedef

2016-05-30 Thread Scott Wood
This typedef serves no purpose other than causing confusion with struct nand_chip. Signed-off-by: Scott Wood --- cmd/bootm.c| 30 +++ cmd/jffs2.c| 6 +- cmd/nand.c | 161 ++- common/env

[U-Boot] [PATCH 1/7] mtd: nand: Remove jz4740 driver

2016-05-30 Thread Scott Wood
From: Marek Vasut This driver is not used by anyone, remove it. Signed-off-by: Marek Vasut Cc: Daniel Schwierzeck Cc: Paul Burton Cc: Scott Wood Acked-by: Daniel Schwierzeck Signed-off-by: Scott Wood --- drivers/mtd/nand/Makefile | 1 - drivers/mtd/nand/jz4740_nand.c | 258

[U-Boot] [PATCH 4/7] nand: Embed mtd_info in struct nand_chip

2016-05-30 Thread Scott Wood
nand_info[] is now an array of pointers, with the actual mtd_info instance embedded in struct nand_chip. This is in preparation for syncing the NAND code with Linux 4.6, which makes the same change to struct nand_chip. It's in a separate commit due to the large amount of changes required to accom

Re: [U-Boot] [PATCH v3] arm64: arm: implement a boot header capability

2016-05-30 Thread Steve Rae
Hi Tom, On Mon, May 30, 2016 at 11:14 AM, Tom Rini wrote: > > On Mon, May 30, 2016 at 09:51:22AM -0700, Steve Rae wrote: > > > From: Andre Przywara > > > > Some SPL loaders (like Allwinner's boot0, and Broadcom's boot0) > > require a header before the actual U-Boot binary to both check its > > v

Re: [U-Boot] [PATCH] serial: 16550: Make serial_io/out_shift available to debug mode

2016-05-30 Thread Simon Glass
On 25 May 2016 at 12:13, Marek Vasut wrote: > The ns16550 driver needs serial_in_shift() and serial_out_shift() > when compiled in debug UART mode, so shift the DM_SERIAL check a > little to make these functions available. > > Signed-off-by: Marek Vasut > Cc: Tom Rini > Cc: Simon Glass > --- >

Re: [U-Boot] [U-Boot, v3, 01/15] doc: Add info on using secure devices from TI

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:41PM -0500, Daniel Allred wrote: > Adds doc/README.ti-secure file to explain in generic terms > how boot images need to be created for secure devices from > Texas Instruments. > > Specific details for creating secure boot images for the > AM43xx, DRA7xx and AM57xx se

Re: [U-Boot] Delete tests of CONFIG_OF_LIBFDT when testing CONFIG_OF_BOARD_SETUP

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 03:23:12PM -0400, Robert P. J. Day wrote: > Since CONFIG_OF_BOARD_SETUP depends on CONFIG_OF_LIBFDT: > > config OF_BOARD_SETUP > bool "Set up board-specific details in device tree before boot" > depends on OF_LIBFDT > ... > > remove superfl

Re: [U-Boot] [PATCH v3] arm64: arm: implement a boot header capability

2016-05-30 Thread Tom Rini
On Mon, May 30, 2016 at 09:51:22AM -0700, Steve Rae wrote: > From: Andre Przywara > > Some SPL loaders (like Allwinner's boot0, and Broadcom's boot0) > require a header before the actual U-Boot binary to both check its > validity and to find other data to load. Sometimes this header may > only b

Re: [U-Boot] tools: Add entry for generated tools/bin2header to tools/.gitignore

2016-05-30 Thread Tom Rini
On Sun, May 22, 2016 at 05:46:05AM -0400, Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day > > diff --git a/tools/.gitignore b/tools/.gitignore > index ff07680..cb1e722 100644 Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 3/3] arm64: rename __asm_flush_dcache_level to __asm_dcache_level

2016-05-30 Thread Tom Rini
On Tue, May 17, 2016 at 04:38:08PM +0900, Masahiro Yamada wrote: > Since 1e6ad55c0582 ("armv8/cache: Change cache invalidate and flush > function"), this routine can be used for both cache flushing and > cache invalidation. So, it is better to not include "flush" in > this routine name. > > Sign

Re: [U-Boot] [U-Boot, 1/3] arm64: optimize __asm_{flush, invalidate}_dcache_all

2016-05-30 Thread Tom Rini
On Tue, May 17, 2016 at 04:38:06PM +0900, Masahiro Yamada wrote: > __asm_dcache_all can directly return to the caller of > __asm_{flush,invalidate}_dcache_all. > > We do not have to waste x16 register here. > > Signed-off-by: Masahiro Yamada > Reviewed-by: York Sun Applied to u-boot/master, t

Re: [U-Boot] ARM: OMAP4+: Fix DPLL programming sequence

2016-05-30 Thread Tom Rini
On Mon, May 23, 2016 at 01:31:19PM +0530, Lokesh Vutla wrote: > All the output clock parameters of a DPLL needs to be programmed before > locking the DPLL. But it is being configured after locking the DPLL which > could potentially bypass DPLL. So fixing this sequence. > > Reported-by: Richard Wo

Re: [U-Boot] omap3: Fix SPI registers on am33xx and am34xx

2016-05-30 Thread Tom Rini
On Wed, May 18, 2016 at 03:00:15PM +0200, Martin Hejnfelt wrote: > When the base registers are read from device tree the base is not > 0x48030100 as the driver expects, but 0x4803, resulting in > non functioning SPI. To deal with this, use same idea as how this > is done in the linux kernel (d

Re: [U-Boot] [U-Boot, v2, 8/8] board: am335x: Allow to choose serial device dynamically

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:47:29AM +0530, Lokesh Vutla wrote: > Different AM335x based platforms have different serial consoles. As serial > console is Kconfig option a separate defconfig has to be created for each > platform. So pass the serial device dynamically. > > Signed-off-by: Lokesh Vutla

Re: [U-Boot] [U-Boot,2/3] arm64: fix comment "flush & invalidate"

2016-05-30 Thread Tom Rini
On Tue, May 17, 2016 at 04:38:07PM +0900, Masahiro Yamada wrote: > We should say "clean & invalidate", or simply "flush". > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] Please pull u-boot-dm

2016-05-30 Thread Tom Rini
On Fri, May 27, 2016 at 10:28:37AM -0600, Simon Glass wrote: > Hi Tom, > > This improves the driver-model block support in MMC, brings in a > mailbox uclass and fixes/improves a few minor things in the rockchip > support. > > > The following changes since commit 6523dbf7cce8d8c903346f756e0e41e4

Re: [U-Boot] tools/genboardscfg.py: remove bogus import subprocess

2016-05-30 Thread Tom Rini
On Sun, May 22, 2016 at 03:16:47PM +0900, Masahiro Yamada wrote: > Since f6c8f38ec601 ("tools/genboardscfg.py: improve performance more > with Kconfiglib"), this tool does not use the subprocess module. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.as

Re: [U-Boot] image.h: Tighten up content using handy CONFIG_IS_ENABLED() macro.

2016-05-30 Thread Tom Rini
On Sat, May 21, 2016 at 05:06:31AM -0400, Robert P. J. Day wrote: > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx

Re: [U-Boot] [U-Boot,v2,5/8] board: AM335x-ICEv2: Add cpsw support

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:47:26AM +0530, Lokesh Vutla wrote: > In order to enable cpsw on AM335x ICEv2 board, the following needs to be done: > > 1)There are few on board jumper settings which gives a choice between > cpsw and PRUSS, that needs to be properly selected[1]. Even after selecting >

Re: [U-Boot] [U-Boot, v2, 4/8] ARM: AM33xx: Add support for Clock Synthesizer

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:47:25AM +0530, Lokesh Vutla wrote: > The CDCE913 and CDCEL913 devices are modular PLL-based, low cost, > high performance , programmable clock synthesizers. They generate > upto 3 output clocks from a single input frequency. Each output can > be programmed for any clock-

Re: [U-Boot] [U-Boot, v2, 7/8] ARM: dts: AM335x-ICEv2: Add minimal dts support

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:47:28AM +0530, Lokesh Vutla wrote: > Add minimal dts support for AM335x-ICEv2 board > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla > Signed-off-by: Roger Quadros Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v2, 2/8] board: AM335x-ICEv2: Add pinmux support

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:47:23AM +0530, Lokesh Vutla wrote: > Add necessary pinmux support for AM335x ICEv2 board. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v2,3/8] board: AM335x-ICEv2: Add DDR data

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:47:24AM +0530, Lokesh Vutla wrote: > AM335x ICEv2 contains a 2Gbit(128Mx16) of DDR3 SDRAM(MT41J128M16JT-125), > capable of running at 400MHz. Adding this specific DDR configuration > details running at 400MHz. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla A

Re: [U-Boot] [U-Boot,v2,4/5] ARM: dts: AM437x-IDK Initial Support

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:11:18AM +0530, Lokesh Vutla wrote: > Add initial DTS support for AM437x-IDK evm. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 1/8] board: AM335x-ICEv2: Add epprom support

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:47:22AM +0530, Lokesh Vutla wrote: > Similar to other TI's AM335x platforms, AM335x ICEv2 also has an > eeprom populated for its unique identification. Adding this info > so that AM335x ICEv2 specific initialization can be done. > > Reviewed-by: Tom Rini > Signed-off-b

Re: [U-Boot] [U-Boot, v2, 6/8] config: env: Set AM335x-ICEv2 board specific env

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:47:27AM +0530, Lokesh Vutla wrote: > Populate the right dtb file and console for AM335x-ICEv2 board. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 7/7] configs: am335x_evm: Switch to env on FAT SD by default

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:32:49AM +0530, Lokesh Vutla wrote: > From: Tom Rini > > Re-org env sections so that we can fall back to env is in FAT on SD > card, for broader board compatibility > > Signed-off-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 4/7] ARM: dts: am335x: fix cd-gpios definition as per hardware design and dt binding docs

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:24:27AM +0530, Lokesh Vutla wrote: > From: Mugunthan V N > > As per mmc device tree binding documentation card detect gpio has > to be active low signal. When a hardware is designed with active > high card detect, gpio polarity has to be changed with > cd-inverted dt p

Re: [U-Boot] [U-Boot, v2, 7/7] configs: am335x_evm: Switch to env on FAT SD by default

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:32:49AM +0530, Lokesh Vutla wrote: > From: Tom Rini > > Re-org env sections so that we can fall back to env is in FAT on SD > card, for broader board compatibility > > Signed-off-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 5/7] ARM: dts: AM335x-evmsk: Add initial support

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:24:28AM +0530, Lokesh Vutla wrote: > Add initial DTS support for AM335x-evm sk. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v2, 6/7] ARM: dts: AM335x-BBG: Add initial support

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:24:29AM +0530, Lokesh Vutla wrote: > Add initial DTS support for AM335x-BBG > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v2, 2/7] ARM: dts: am335x-bone: Enable uart and timer

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:24:25AM +0530, Lokesh Vutla wrote: > Allow am335x-bone.dts to be built and enable uart and timer > for all beaglebones. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v2, 1/7] board: am33xx: fit: add support for selecting dtb dynamically

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:24:24AM +0530, Lokesh Vutla wrote: > FIT allows for a multiple dtb in a single image. SPL needs a way to > detect the right dtb to be used. Adding support for the same. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v2,3/5] ARM: dts: AM43x-EPOS Initial Support

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:11:17AM +0530, Lokesh Vutla wrote: > Add initial DTS support for AM43-EPOS evm. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,v2,3/7] ARM: AM335x: Enable FIT

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:24:26AM +0530, Lokesh Vutla wrote: > Use a single defconfig for all AM335x platforms by enabling FIT > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 5/5] ARM: AM43xx: configs: Update usb host boot defconfig

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:11:19AM +0530, Lokesh Vutla wrote: > Convert usb host boot defconfig to use DM, DT. Also enable FIT > support. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,v2,2/5] ARM: AM43xx: Enable FIT

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:11:16AM +0530, Lokesh Vutla wrote: > Use a single defconfig for all AM43xx platforms by enabling FIT and delete > the platform specific defconfigs. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Desc

Re: [U-Boot] [U-Boot, v2, 1/5] board: AM43xx: fit: add support for selecting dtb dynamically

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 11:11:15AM +0530, Lokesh Vutla wrote: > FIT allows for a multiple dtb in a single image. SPL needs a way to > detect the right dtb to be used. Adding support for the same. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2, 1/3] board: dra7: fit: add support for selecting dtb dynamically

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 10:51:23AM +0530, Lokesh Vutla wrote: > FIT allows for a multiple dtb in a single image. SPL needs a way to > detect the right dtb to be used. Adding support for the same. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v2,2/3] ARM: DRA7: Enable FIT

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 10:51:24AM +0530, Lokesh Vutla wrote: > Use a single defconfig for all DRA7 platforms by enabling FIT and delete > the platform specific defconfigs. > > Signed-off-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Descri

Re: [U-Boot] [U-Boot, v2, 3/3] ARM: DRA7: configs: Remove obsolete configs

2016-05-30 Thread Tom Rini
On Mon, May 16, 2016 at 10:51:25AM +0530, Lokesh Vutla wrote: > Removing: > uart3_defconfig: > Now uart3 can be selected using menuconfig, removing separate > config for uart mode. Doing uart boot is not straight forward as ROM uses > uart3 as default serial console. In order to boot to prompt, co

Re: [U-Boot] [U-Boot,v6,6/8] spl: Support loading a FIT from NAND

2016-05-30 Thread Tom Rini
On Tue, May 24, 2016 at 10:34:42AM +0530, Lokesh Vutla wrote: > Detect a FIT when loading from NAND and handle it using the > new FIT SPL support. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] Remove unused BOOTFLAG definitions

2016-05-30 Thread Tom Rini
On Fri, May 13, 2016 at 01:08:56PM +1200, Chris Packham wrote: > This follows on from commit d98b052 ("powerpc: Cleanup BOOTFLAG_* > references") and commit fc3d297 ("Drop bogus BOOTFLAG_* definitions"). > Remove the definitions that have crept in since. > > Signed-off-by: Chris Packham Applied

Re: [U-Boot] [U-Boot, v6, 5/8] mtd: nand: am335x: spl: Fix copying of image

2016-05-30 Thread Tom Rini
On Tue, May 24, 2016 at 10:34:41AM +0530, Lokesh Vutla wrote: > When offset is not aligned to page address, it is possible that extra offset > will be read from nand. Adjust the image such that first byte of the image > is at load address after the first page is read. > > Reviewed-by: Tom Rini >

Re: [U-Boot] [U-Boot, v6, 8/8] spl: Add an option to load a FIT containing U-Boot from UART

2016-05-30 Thread Tom Rini
On Tue, May 24, 2016 at 10:34:44AM +0530, Lokesh Vutla wrote: > This provides a way to load a FIT containing U-Boot and a selection of device > tree files from UART. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v6, 7/8] spl: fit: Do not print selected dtb during fit load

2016-05-30 Thread Tom Rini
On Tue, May 24, 2016 at 10:34:43AM +0530, Lokesh Vutla wrote: > No prints should be allowed during UART load. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v6, 2/8] spl: Allow to load a FIT containing U-Boot from FS

2016-05-30 Thread Tom Rini
On Tue, May 24, 2016 at 10:34:38AM +0530, Lokesh Vutla wrote: > This provides a way to load a FIT containing U-Boot and a selection of device > tree files from a File system. Making sure that all the reads and writes > are aligned to their respective needs. > > Tested-by: Michal Simek > Reviewed

Re: [U-Boot] [U-Boot, v6, 3/8] spl: Support loading a FIT from FAT FS

2016-05-30 Thread Tom Rini
On Tue, May 24, 2016 at 10:34:39AM +0530, Lokesh Vutla wrote: > Detect a FIT when loading from a FAT File system and handle it using the > new FIT SPL support. > > Tested-by: Michal Simek > Reviewed-by: Simon Glass > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/maste

Re: [U-Boot] [U-Boot,v6,4/8] spl: Support loading a FIT from SPI

2016-05-30 Thread Tom Rini
On Tue, May 24, 2016 at 10:34:40AM +0530, Lokesh Vutla wrote: > Detect a FIT when loading from SPI and handle it using the > new FIT SPL support. > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, v3, 15/15] defconfig: ti: Add configs for OMAP5-class secure parts

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:55PM -0500, Daniel Allred wrote: > Adds new defconfig files for DRA7xx and AM57xx secure devices. > These are the same as the non-secure parts, but with the addition > of the CONFIG_TI_SECURE_DEVICE option set to 'y'. > > Signed-off-by: Daniel Allred > Signed-off-by

Re: [U-Boot] [U-Boot, v3, 13/15] ARM: omap5: add hooks for cpu/SoC fdt fixups

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:53PM -0500, Daniel Allred wrote: > Adds an fdt.c file in that defines the ft_cpu_setup() function, > which should be called from a board-specific ft_board_setup()). > This ft_cpu_setup() will currently do nothing for non-secure (GP) > devices but contains pertin

Re: [U-Boot] [U-Boot, v6, 1/8] spl: fit: Fix the number of bytes read when reading fdt from fit

2016-05-30 Thread Tom Rini
On Tue, May 24, 2016 at 10:34:37AM +0530, Lokesh Vutla wrote: > sectors field is not being updated when reading fdt from fit image. Because of > this size_of(u-boot.bin) is being read when reading fdt. Fixing it by updating > the sectors field properly. > > Tested-by: Michal Simek > Reviewed-by:

Re: [U-Boot] [U-Boot, v3, 10/15] ti_omap5_common: Update SPL start address on secure parts

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:50PM -0500, Daniel Allred wrote: > Updated the CONFIG_SPL_TEXT_BASE to support secure parts (moving > the start address past secure reserved memory and the size of the > security certificate that precedes the boot image on secure devices). > Updated the related CONFIG

Re: [U-Boot] [U-Boot, v3, 14/15] ARM: omap5: add ft_board_setup for dra7xx/am57xx

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:54PM -0500, Daniel Allred wrote: > Adds the board specific ft_board_setup() functions that > are called when CONFIG_OF_BOARD_SETUP is defined. These functions > will currently just call the ft_cpu_setup() function. > > Adds CONFIG_OF_BOARD_SETUP to the defconfig file

Re: [U-Boot] [U-Boot, v3, 12/15] ARM: omap-common: Add device type to CPU string

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:52PM -0500, Daniel Allred wrote: > Update the CPU string output so that the device > type is now included as part of the CPU string that > is printed as the SPL or u-boot comes up. This update > adds a suffix of the form "-GP" or "-HS" for production > devices, so tha

Re: [U-Boot] [U-Boot, v3, 11/15] spl: build: ti: add support for secure boot images

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:51PM -0500, Daniel Allred wrote: > Updates the SPL build so that when CONFIG_TI_SECURE_DEVICE > is in use (which it should be when building for secure parts), > the TI secure development package is used to create a valid > secure boot image. The u-boot SPL build proce

Re: [U-Boot] [U-Boot, v3, 08/15] ti: AM43xx: board: Detect AM43xx HS EVM

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:48PM -0500, Daniel Allred wrote: > From: Madan Srinivas > > Adds code to detect AM43xx HS EVMS - the string in the > I2C EEPROM for HS EVMs differs from GP EVMs. Adds code to > for evm detection, regardless of whether the evm is for > GP or HS parts, and updates boa

Re: [U-Boot] [U-Boot, v3, 09/15] defconfig: Add a config for AM43xx secure part

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:49PM -0500, Daniel Allred wrote: > From: Madan Srinivas > > Adds a new defconfig file for the AM43xx secure device. > This is the same as for the non-secure part, except for: > CONFIG_TI_SECURE_DEVICE option set to 'y' > CONFIG_ISW_ENTRY_ADDR updated for

Re: [U-Boot] [U-Boot, v3, 05/15] ti: omap-common: Add commands for generating secure SPL images

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:45PM -0500, Daniel Allred wrote: > Adds a centralized config_secure.mk in omap-common for > OMAP-style TI secure devices to use for boot image generation > > Depending on the boot media, different images are needed for > secure devices. These commands generates u-boo

Re: [U-Boot] [U-Boot, v3, 07/15] ti: AM43xx: Use CONFIG options from SOC Kconfig

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:47PM -0500, Daniel Allred wrote: > From: Madan Srinivas > > Updates configs/am43xx_evm.h to use CONFIG options from > SOC specific Kconfig file for various calculations. > > On AM43x devices, the address of SPL entry point depends on > the device type, i.e. whethe

Re: [U-Boot] [U-Boot, v3, 06/15] ti: AM43xx: config.mk: Add support for generating secure boot images

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:46PM -0500, Daniel Allred wrote: > Modifies the config.mk to build secure images when building > the SPL for secure devices. > > Depending on the boot media, different images are needed > for secure devices. The build generates u-boot*_HS_* files > as appropriate for

Re: [U-Boot] [U-Boot, v3, 04/15] ti: omap-common: Add Kconfig file for secure device support

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:44PM -0500, Daniel Allred wrote: > From: Madan Srinivas > > Defines CONFIG_TI_SECURE_DEVICE which needs to be turned on > when building images for secure devices. This flag is used > to invoke the secure image creation tools for creating a > boot image that can be u

  1   2   3   >