Re: [U-Boot] [PATCH v2 8/8] board: ge: bx50v3: add missing partnum variable

2016-05-30 Thread Martin Donnelly
On Mon, May 30, 2016 at 01:37:08PM +0200, Andrew Shadura wrote: > From: Kimmo Surakka > > Add missing ${partnum} to set rootdev correctly when > booting from USB or MMC. > > Signed-off-by: Kimmo Surakka > [Rebased against v2016.05 and adjusted the variable name] > Signed-off-by: Andrew Shadura

Re: [U-Boot] [PATCH v2 1/8] board: ge: bx50v3: move detect_baseboard() out of CONFIG_VIDEO_IPUV3

2016-05-30 Thread Martin Donnelly
On Mon, May 30, 2016 at 01:37:01PM +0200, Andrew Shadura wrote: > detect_baseboard() function doesn't depend on CONFIG_VIDEO_IPUV3. > Make sure it's available when CONFIG_VIDEO_IPUV3 is off. > > Signed-off-by: Andrew Shadura Acked-by: Martin Donnelly > --- > board/ge/bx50v3/bx50v3.c | 18

Re: [U-Boot] [PATCH v2 5/8] board: ge: bx50v3: make network support optional and disabled by default

2016-05-30 Thread Martin Donnelly
On Mon, May 30, 2016 at 01:37:05PM +0200, Andrew Shadura wrote: > The network support is only useful for development and shouldn't be enabled > in production, so it has to be disabled in U-boot by default. > > Signed-off-by: Andrew Shadura Acked-by: Martin Donnelly > --- > configs/ge_b450v3_d

Re: [U-Boot] [PATCH v2 4/8] board: ge: bx50v3: make USB support optional and disabled by default

2016-05-30 Thread Martin Donnelly
On Mon, May 30, 2016 at 01:37:04PM +0200, Andrew Shadura wrote: > The USB support is only useful for development and shouldn't be enabled > in production, so it has to be disabled in U-boot by default. > > Signed-off-by: Andrew Shadura Acked-by: Martin Donnelly > --- > configs/ge_b450v3_defco

Re: [U-Boot] [RFC PATCH 3/5] spl: dfu: adding dfu support functions for SPL-DFU

2016-05-30 Thread B, Ravi
Hi Lukasz > On 30-May-2016, at 5:34 PM, Lukasz Majewski wrote: > > Hi Ravi, > >> Adding support functions to run dfu commands >> with support for eMMC/MMC/SD memory device. >> >> Signed-off-by: Ravi Babu >> --- >> drivers/dfu/dfu.c | 28 >> drivers/dfu/dfu_m

Re: [U-Boot] [RFC PATCH 2/5] spl: dfu: fs: adding ext4/fat filesystem support for SPL-DFU

2016-05-30 Thread B, Ravi
Hi Lukasz > On 30-May-2016, at 5:30 PM, Lukasz Majewski wrote: > > Hi Ravi, > >> Adding ext4/fat filesytem support for SPL-DFU to >> write ext4/fat files to eMMC, MMC/SD device >> >> Signed-off-by: Ravi Babu >> --- >> cmd/Makefile|9 + >> common/Makefile |4 +++- >> fs/Mak

Re: [U-Boot] [PATCH v2 3/8] board: ge: bx50v3: make CONFIG_VIDEO optional and disabled by default

2016-05-30 Thread Martin Donnelly
On Mon, May 30, 2016 at 01:37:03PM +0200, Andrew Shadura wrote: > The kernel already knows how to initialise the display, and initialising > the display from U-boot is only useful for debugging and isn't necessary > in production, so no need to have it enabled in U-boot by default. > > Signed-off-

[U-Boot] [PATCH] ARM64: zynq: Fix boot.bin generation for Zynq and ZynqMP

2016-05-30 Thread Michal Simek
Fix boot.bin generation for Zynq and ZynqMP. Signed-off-by: Michal Simek --- scripts/Makefile.spl | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index 6d2017da7e97..0997fd9fddfc 100644 --- a/scripts/Makefile.spl +++ b/scrip

Re: [U-Boot] [PATCH v2 7/8] board: ge: bx50v3: disable unused features to improve size

2016-05-30 Thread Martin Donnelly
On Mon, May 30, 2016 at 01:37:07PM +0200, Andrew Shadura wrote: > Disable unused FPGA, NFS, FAT and EFI support to reduce the bootloader > size. > > Signed-off-by: Andrew Shadura Acked-by: Martin Donnelly > --- > configs/ge_b450v3_defconfig | 5 - > configs/ge_b650v3_defconfig | 5 - >

Re: [U-Boot] [PATCH] ARM64: zynq: Fix boot.bin generation for Zynq and ZynqMP

2016-05-30 Thread Marek Vasut
On 05/30/2016 02:59 PM, Michal Simek wrote: > Fix boot.bin generation for Zynq and ZynqMP. > > Signed-off-by: Michal Simek Acked-by: Marek Vasut > --- > > scripts/Makefile.spl | 7 ++- > 1 file changed, 2 insertions(+), 5 deletions(-) > > diff --git a/scripts/Makefile.spl b/scripts/Make

Re: [U-Boot] [PATCH v1 6/7] dfu, nand, ubi: fix erasing after write finish

2016-05-30 Thread Lukasz Majewski
Hi Heiko, > Hello Lukasz, > > Am 30.05.2016 um 11:51 schrieb Lukasz Majewski: > > Hi Heiko, > > > >> Hello Scott, > >> > >> Am 25.05.2016 um 07:33 schrieb Scott Wood: > >>> On 05/25/2016 12:07 AM, Heiko Schocher wrote: > writting to ubi nand partitions need after write ends an erase > o

Re: [U-Boot] [RFC PATCH 2/5] spl: dfu: fs: adding ext4/fat filesystem support for SPL-DFU

2016-05-30 Thread Lukasz Majewski
Hi Ravi, > > > > How large could be the SPL code for your board (dra7x)? > > > > The SPL code size is about 152K. And what is the overall size of IRAM on this board? My concern here is that other potential users of DFU SPL boards could have smaller available memory (for example 64KiB or eve

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: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 probe' > => sf probe > ... > SF: Detected N25Q512 with page si

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

2016-05-30 Thread B, Ravi
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 patches > (it adds me automatically to CC). > > - Woul

Re: [U-Boot] [RFC PATCH 2/5] spl: dfu: fs: adding ext4/fat filesystem support for SPL-DFU

2016-05-30 Thread B, Ravi
Lucasz > On 30-May-2016, at 6:51 PM, Lukasz Majewski wrote: > > Hi Ravi, > >>> >>> How large could be the SPL code for your board (dra7x)? >> >> The SPL code size is about 152K. > > And what is the overall size of IRAM on this board? > > My concern here is that other potential users of DF

[U-Boot] Broken H3 EMAC Driver

2016-05-30 Thread Amit Tomer
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_startup() error codes properly - genphy_update_link(phydev);

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

2016-05-30 Thread Michal Simek
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 flag to be able to rewrite boot_targets variable

[U-Boot] [PATCH 1/6] mips: ath79: Rename get_bootstrap into ath79_get_bootstrap

2016-05-30 Thread Wills Wang
Add a platform prefix for function name in order to make more readable, and move it into ath79.h Signed-off-by: Wills Wang Acked-by: Marek Vasut --- arch/mips/mach-ath79/ar933x/clk.c | 4 ++-- arch/mips/mach-ath79/ar933x/ddr.c | 4 ++-- arch/mips/mach-ath79/ar934x/clk.c

[U-Boot] [PATCH 2/6] mips: ath79: ap121: Enable ethernet

2016-05-30 Thread Wills Wang
This patch enable network function for ap121 board. Signed-off-by: Wills Wang Acked-by: Marek Vasut --- arch/mips/dts/ap121.dts | 5 + arch/mips/dts/ar933x.dtsi | 4 ++-- board/qca/ap121/ap121.c | 2 ++ configs/ap121_defconfig | 9 +++-- 4 files changed, 16 insertions(+), 4 delet

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

2016-05-30 Thread Wills Wang
Add code to ungate USB and ethernet controller on qca953x Signed-off-by: Wills Wang --- arch/mips/mach-ath79/reset.c | 50 1 file changed, 50 insertions(+) diff --git a/arch/mips/mach-ath79/reset.c b/arch/mips/mach-ath79/reset.c index 33bf979..a5ee1

[U-Boot] [PATCH 5/6] mips: ath79: Use AR933X_PLL_SWITCH_CLOCK_CONTROL_REG macro define

2016-05-30 Thread Wills Wang
Add AR933X_PLL_SWITCH_CLOCK_CONTROL_REG define for ar933x chip. Signed-off-by: Wills Wang --- arch/mips/mach-ath79/include/mach/ar71xx_regs.h | 1 + arch/mips/mach-ath79/reset.c| 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/mips/mach-ath79/include

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

2016-05-30 Thread Lukasz Majewski
Hi Ravi, > 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 > > patches (it adds

[U-Boot] [PATCH 3/6] mips: ath79: Use 8MB flash profile for mtd partition by default

2016-05-30 Thread Wills Wang
Change bootm flash address and mtd partition table for 8MB flash profile. Signed-off-by: Wills Wang --- include/configs/ap121.h | 4 ++-- include/configs/ap143.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/configs/ap121.h b/include/configs/ap121.h index 6f

[U-Boot] [PATCH 6/6] mips: ath79: ap143: Reset ethernet on boot

2016-05-30 Thread Wills Wang
This patch reset the ethernet controller for ap143 board Signed-off-by: Wills Wang --- board/qca/ap143/ap143.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/board/qca/ap143/ap143.c b/board/qca/ap143/ap143.c index 1572472..e921ea5 100644 --- a/board/qca/ap143/ap143.c +++ b/board/qca/ap14

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/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 ? > Signed-off-by: Wills Wang > --- > > arch/mips/mach-ath79/reset.c | 50 > > 1 file changed, 50 insertio

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

2016-05-30 Thread Marek Vasut
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 +++ b/include/malloc.h @@ -215,7 +215,6 @@

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

2016-05-30 Thread Marek Vasut
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 --- configs/socfpga_arria5_defconfig | 2 ++ configs/socfpga_cyclone5_defconfig | 2 ++ configs/socfpga_de0_nano_soc_defconfig | 2 +

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

2016-05-30 Thread Marek Vasut
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_init_r(). The board_init_r() calls spl_init(), which sets the GD_FLG_SPL_INIT flag. Note that reserving the

[U-Boot] [PATCH v2] splash_source: add support for ubifs formatted nand

2016-05-30 Thread Eran Matityahu
Add support for loading splash image from NAND Flash formatted with a (UBI) filesystem. Signed-off-by: Eran Matityahu Cc: Igor Grinberg Cc: Tom Rini Cc: Nikita Kiryanov Cc: Stefano Babic --- Changes for v2: - Following Nikita's comments: - Use the ubi volume field to

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

2016-05-30 Thread Stefan Roese
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_init_r(). The board_init_r() calls spl_init(), which sets the GD_F

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

2016-05-30 Thread Stefan Roese
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: Stefan Roese Thanks, Stefan ___ U-Boot m

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

2016-05-30 Thread Steve Rae
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 be a few bytes of information, and sometimes this might simply be space t

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

2016-05-30 Thread Tom Rini
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: Marek Vasut > Cc: Simon Glass > Cc: Tom Rini

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

2016-05-30 Thread Tom Rini
On Wed, May 25, 2016 at 02:13:03AM +0200, 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: Sim

Re: [U-Boot] [U-Boot, v2, 1/5] tools/env: pass key as argument to env_aes_cbc_crypt

2016-05-30 Thread Tom Rini
On Tue, Apr 19, 2016 at 10:43:39PM +0200, Andreas Fenkart wrote: > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

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

2016-05-30 Thread Tom Rini
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 reasonably. > > Signed-off-by: Marek Vasut > C

Re: [U-Boot] [U-Boot, v2, 3/5] tools/env: fw_printenv pass value_only as argument

2016-05-30 Thread Tom Rini
On Tue, Apr 19, 2016 at 10:43:41PM +0200, Andreas Fenkart wrote: > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [U-Boot, v2, 2/5] tools/env: remove 'extern' from function prototype in fw_env.h

2016-05-30 Thread Tom Rini
On Tue, Apr 19, 2016 at 10:43:40PM +0200, Andreas Fenkart wrote: > checkpatch complains about in succeding patch. Prefer to fix all > declarations in a dedicated patch. > > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

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

2016-05-30 Thread Tom Rini
On Fri, May 27, 2016 at 10:19:48AM -0600, Simon Glass wrote: > Hi Tom, > > Here's a rebased version of the last pull request. > > The following changes since commit 6523dbf7cce8d8c903346f756e0e41e46ce6d6b9: > > Merge branch 'master' of git://git.denx.de/u-boot-mips (2016-05-25 > 20:22:48 -040

Re: [U-Boot] dm: gpio: pca953x: Support PCA953X with 40 GPIOs

2016-05-30 Thread Tom Rini
On Mon, Apr 25, 2016 at 03:25:37PM +0200, mario@gdsys.cc wrote: > A DM driver for PCA953x was recently introduced by Peng Fan, which lacked > support for the 40 GPIO versions. > > This patch adds support for these chips. > > Signed-off-by: Mario Six > Reviewed-by: Peng Fan > Reviewed-by:

Re: [U-Boot] [U-Boot, v2, 4/5] tools/env: compute size of usable area only once

2016-05-30 Thread Tom Rini
On Tue, Apr 19, 2016 at 10:43:42PM +0200, Andreas Fenkart wrote: > for double buffering to work, redundant buffers must have equal size > > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

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

2016-05-30 Thread Tom Rini
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 Applied to u-boot/master, thanks! -- Tom signature.asc Descripti

Re: [U-Boot] cmd: replace the cast of the memory access to a fixed bit type in itest

2016-05-30 Thread Tom Rini
On Wed, May 04, 2016 at 02:20:04PM +0900, Masahiro Yamada wrote: > From: Kunihiko Hayashi > > This patch fixes a bug that long word(.l) memory access in 'itest' > command reads the 8bytes of the actual memory on 64-bit architecture. > The cast to the memory pointer should use a fixed bit type. >

Re: [U-Boot] cmd: disk: Fix unused variable warning

2016-05-30 Thread Tom Rini
On Sun, May 01, 2016 at 12:35:54AM +0200, Marek Vasut wrote: > If serial support is not compiled into U-Boot, which may be the case > for some SPL builds, the following warning will be generated in disk.c: > > cmd/disk.c: In function 'common_diskboot': > cmd/disk.c:16:6: warning: variable 'dev' s

Re: [U-Boot] [U-Boot, v1] disk: part_efi: fix check of the max partition size

2016-05-30 Thread Tom Rini
On Mon, May 02, 2016 at 02:43:33PM +0200, Patrick Delaunay wrote: > the last value acceptable value for offset is last_usable_lba + 1 > and not last_usable_lba - 1 > > > issue found with SDCARD partition commands on u-boot 2015.10 > but this part of code don't change > > 1- create GPT partion o

Re: [U-Boot] [U-Boot, v2, 1/7] efi_loader: Add network access support

2016-05-30 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:01PM +0200, Alexander Graf wrote: > We can now successfully boot EFI applications from disk, but users > may want to also run them from a PXE setup. > > This patch implements rudimentary network support, allowing a payload > to send and receive network packets. > >

Re: [U-Boot] [U-Boot, v2, 2/7] bootp: Move vendor class identifier set to function

2016-05-30 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:02PM +0200, Alexander Graf wrote: > Both the dhcp as well as the bootp case add vendor class identifier > parameters into their packets. Let's move that into a separate function > to make overlaying easier. > > Signed-off-by: Alexander Graf > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot,v2,4/7] net: Fix client identifiers for ARM

2016-05-30 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:04PM +0200, Alexander Graf wrote: > There are client identifiers specifically reserved for ARM U-Boot > according to > http://www.ietf.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xml#processor-architecture. > > So let's actually make use of them rather than

Re: [U-Boot] test/py: fix NameError exception if bdi cmd is not supported

2016-05-30 Thread Tom Rini
On Fri, May 06, 2016 at 07:33:51AM +0200, Heiko Schocher wrote: > test/py raises an error, if a board has not enabled bdi command > > > pytest.skip('bdinfo command not supported') > E NameError: global name 'pytest' is not defined > > import pytest in test/py/u_boot_utils.py

Re: [U-Boot] [U-Boot, v2, 3/7] net: Move the VCI and client arch values to Kconfig

2016-05-30 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:03PM +0200, Alexander Graf wrote: > We have a bunch of boards that define their vendor class identifier and > client archs in the board files or in the distro config. Move everything > to the generic Kconfig options. > > We're missing the distinction between i386 and

Re: [U-Boot] [U-Boot, v2, 5/7] net: Move CONFIG_SPL_NET_VCI_STRING into Kconfig

2016-05-30 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:05PM +0200, Alexander Graf wrote: > This patch also adds the SPL time VCI string into Kconfig. > > Signed-off-by: Alexander Graf > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,v2,7/7] distro: Add efi pxe boot code

2016-05-30 Thread Tom Rini
On Fri, May 06, 2016 at 09:01:07PM +0200, Alexander Graf wrote: > Now that we can expose network functionality to EFI applications, > the logical next step is to load them via pxe to execute them as > well. > > This patch adds the necessary bits to the distro script to automatically > load and ex

Re: [U-Boot] [U-Boot, v7, 1/4] arm: implement generic PSCI reset call for armv8

2016-05-30 Thread Tom Rini
On Sun, May 08, 2016 at 08:30:14AM +0200, Beniamino Galvani wrote: > Add a psci_system_reset() which calls the SYSTEM_RESET function of > PSCI 0.2 and can be used by boards that support it to implement > reset_cpu(). > > Signed-off-by: Beniamino Galvani > Reviewed-by: Simon Glass Applied to u-

Re: [U-Boot] [U-Boot, v7, 1/4] arm: implement generic PSCI reset call for armv8

2016-05-30 Thread Tom Rini
On Sun, May 08, 2016 at 08:30:14AM +0200, Beniamino Galvani wrote: > Add a psci_system_reset() which calls the SYSTEM_RESET function of > PSCI 0.2 and can be used by boards that support it to implement > reset_cpu(). > > Signed-off-by: Beniamino Galvani > Reviewed-by: Simon Glass Applied to u-

Re: [U-Boot] [U-Boot, v7, 3/4] arm: add initial support for Amlogic Meson and ODROID-C2

2016-05-30 Thread Tom Rini
On Sun, May 08, 2016 at 08:30:16AM +0200, Beniamino Galvani wrote: > This adds platform code for the Amlogic Meson GXBaby (S905) SoC and a > board definition for ODROID-C2. This initial submission only supports > UART and Ethernet (through the existing Designware driver). DTS files > are the ones

Re: [U-Boot] [U-Boot, v7, 2/4] net: designware: fix descriptor layout and warnings on 64-bit archs

2016-05-30 Thread Tom Rini
On Sun, May 08, 2016 at 08:30:15AM +0200, Beniamino Galvani wrote: > All members of the DMA descriptor must be 32-bit, even on 64-bit > architectures: change the type to u32 to ensure this. Also, fix > other warnings. > > Signed-off-by: Beniamino Galvani > Acked-by: Joe Hershberger > Reviewed-b

Re: [U-Boot] [U-Boot, RESEND] cosmetic: debug: Replace #ifdef DEBUG with debug() macro

2016-05-30 Thread Tom Rini
On Sun, May 08, 2016 at 08:52:21AM +0200, Lukasz Majewski wrote: > Replace #ifdef DEBUG with dedicated debug() macro. > > Signed-off-by: Lukasz Majewski Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Bo

Re: [U-Boot] [U-Boot, 3/4] usb: dwc3: Makefile: Don't build gadget code if USB_GADGET is disabled

2016-05-30 Thread Tom Rini
On Fri, May 13, 2016 at 03:17:52PM +0300, Roger Quadros wrote: > It is pointless to build gadget driver if USB_GADGET is disabled. > > Signed-off-by: Roger Quadros > Acked-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v7, 4/4] arm: meson: implement calls to secure monitor

2016-05-30 Thread Tom Rini
On Sun, May 08, 2016 at 08:30:17AM +0200, Beniamino Galvani wrote: > Implement calls to secure monitor to read the MAC address from e-fuse. > > Signed-off-by: Beniamino Galvani Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 01/12] openrisc: Drop the arch-specific board init

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:26PM -0600, Simon Glass wrote: > It is well past the deadline for conversion to generic board init. Remove > the old code. > > Stefan, can you test this please and perhaps send a follow-up patch if needed? > > Signed-off-by: Simon Glass Applied to u-boot/master, t

Re: [U-Boot] [U-Boot, 02/12] Remove/update old generic-board documentation and warning

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:27PM -0600, Simon Glass wrote: > Remove the warning from the Makefile, since boards that do not use generic > board will no longer build. Also update documentation. > > Signed-off-by: Simon Glass > Reviewed-by: Andreas Bießmann Applied to u-boot/master, thanks! -

Re: [U-Boot] [U-Boot,04/12] sh: Fix build errors for generic board

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:29PM -0600, Simon Glass wrote: > This includes the following fixes: > - Define needed __init_end symbol - see initr_reloc_global_data() > - Drop SH-specific struct bd_info > - Add an empty relocate_code() function > > This prevents build errors with generic board, bu

Re: [U-Boot] [U-Boot,06/12] avr32: Drop unused code in u-boot.h

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:31PM -0600, Simon Glass wrote: > Since generic board init is enabled, this is not used. Drop it. > > Signed-off-by: Simon Glass > Acked-by: Andreas Bießmann Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot,07/12] m68k: Drop unused code in u-boot.h

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:32PM -0600, Simon Glass wrote: > Since generic board init is enabled, this is not used. Drop it. > > Signed-off-by: Simon Glass > Acked-by: Angelo Dureghello Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 09/12] powerpc: Drop unused code related to generic board

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:34PM -0600, Simon Glass wrote: > Since generic board init is enabled, this is not used. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 09/12] powerpc: Drop unused code related to generic board

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:34PM -0600, Simon Glass wrote: > Since generic board init is enabled, this is not used. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,08/12] mips: Drop unused code in u-boot.h

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:33PM -0600, Simon Glass wrote: > Since generic board init is enabled, this is not used. Drop it. > > Signed-off-by: Simon Glass > Acked-by: Daniel Schwierzeck Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 2/2] efi_loader: Select bounce buffers for known-bad boards

2016-05-30 Thread Tom Rini
On Wed, May 11, 2016 at 06:25:49PM +0200, Alexander Graf wrote: > We know for certain that we have 32bit DMA hardware, but 64bit addresses > on LS2085A and ZynqMP, so let's enable EFI bounce buffers for all defconfigs > on these SoCs. > > Signed-off-by: Alexander Graf Applied to u-boot/master,

Re: [U-Boot] [U-Boot,1/2] efi_loader: Add bounce buffer support

2016-05-30 Thread Tom Rini
On Wed, May 11, 2016 at 06:25:48PM +0200, Alexander Graf wrote: > Some hardware that is supported by U-Boot can not handle DMA above 32bits. > For these systems, we need to come up with a way to expose the disk interface > in a safe way. > > This patch implements EFI specific bounce buffers. For

Re: [U-Boot] [U-Boot, 11/12] Drop references to CONFIG_SYS_GENERIC_BOARD in config files

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:36PM -0600, Simon Glass wrote: > This option is no longer used so need not be enabled. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot ma

Re: [U-Boot] [U-Boot, 03/12] board_f: Don't require CONFIG_SYS_MONITOR_BASE

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:28PM -0600, Simon Glass wrote: > Allow this to be unset, such that gd->mon_len is invalid. This seems to be > what the sh architecture does. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v4, 6/7] net: Optionally use pxe client arch from variable

2016-05-30 Thread Tom Rini
On Thu, May 12, 2016 at 03:51:45PM +0200, Alexander Graf wrote: > The client architecture that we pass to a dhcp server depends on the target > payload that we want to execute. An EFI binary has a different client arch > than a legacy binary or a u-boot binary. > > So let's parameterize the pxe c

Re: [U-Boot] [U-Boot, 10/12] Drop use of CONFIG_SYS_GENERIC_BOARD in U-Boot

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:35PM -0600, Simon Glass wrote: > This option is always enabled and is about to be removed. Drop references > to it. > > Signed-off-by: Simon Glass > Reviewed-by: Andreas Bießmann Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signa

Re: [U-Boot] MARVELL: Delete now-superfluous board/Marvell/{common, include} dirs.

2016-05-30 Thread Tom Rini
On Sun, May 15, 2016 at 12:12:07PM -0400, Robert P. J. Day wrote: > With dropping support for some boards and the deletion of some source > files, it appears that both of these directories are now superfluous. > > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] [U-Boot,05/12] sh: Drop the arch-specific board init

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:30PM -0600, Simon Glass wrote: > It is well past the deadline for conversion to generic board init. Remove > the old code. > > Please test this and perhaps send a follow-up patch if needed. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 12/12] Drop HAVE_GENERIC_BOARD and SYS_GENERIC_BOARD options

2016-05-30 Thread Tom Rini
On Sat, May 14, 2016 at 06:49:37PM -0600, Simon Glass wrote: > These are no longer used. The migration is complete. Drop these options. > > Signed-off-by: Simon Glass > Acked-by: Angelo Dureghello > Acked-by: Andreas Bießmann Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] MARVELL: Delete now-superfluous board/Marvell/{common, include} dirs.

2016-05-30 Thread Tom Rini
On Sun, May 15, 2016 at 12:12:07PM -0400, Robert P. J. Day wrote: > With dropping support for some boards and the deletion of some source > files, it appears that both of these directories are now superfluous. > > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom sign

Re: [U-Boot] [U-Boot, 5/5] tools/env: no global variable sharing between application and library

2016-05-30 Thread Tom Rini
On Tue, Apr 05, 2016 at 11:13:42PM +0200, Andreas Fenkart wrote: > Signed-off-by: Andreas Fenkart Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] efi_loader: gop: Don't expose fb address

2016-05-30 Thread Tom Rini
On Wed, May 18, 2016 at 02:04:24AM +0200, Alexander Graf wrote: > Recently Linux is gaining support for efifb on AArch64 and that support > actually > tries to make use of the frame buffer address we expose to it via gop. > > While this wouldn't be bad in theory, in practice it means a few bad t

Re: [U-Boot] [U-Boot, v3, 02/15] arm: am33xx: Kconfig: Add secure device definitions

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:42PM -0500, Daniel Allred wrote: > From: Madan Srinivas > > Adds a new Kconfig file for AM33xx class devices. We > need a common place to define CONFIG parameters > for these SOCs, especially for adding support > for secure devices. > > a) Adds a definition for ISW

Re: [U-Boot] [U-Boot, v3, 03/15] arm: Kconfig: Add support for AM43xx SoC specific Kconfig

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:10:43PM -0500, Daniel Allred wrote: > From: Madan Srinivas > > Adding support for AM43xx secure devices require the addition > of some SOC specific config options like the amount of memory > used by public ROM and the address of the entry point of u-boot > or SPL, as s

Re: [U-Boot] [U-Boot, v3] test/py: Support setting up specific timeout

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 07:57:41AM +0200, Michal Simek wrote: > Large file transfers, flash erasing and more complicated tests > requires more time to finish. Provide a way to setup specific > timeout directly in test. > > For example description for 50s test: > timeout = 5 > with u_boot_cons

Re: [U-Boot] tools/env: check that redundant environments have equal size

2016-05-30 Thread Tom Rini
On Mon, May 30, 2016 at 01:59:51PM -0400, Tom Rini wrote: > On Thu, May 19, 2016 at 12:43:51PM +0200, Andreas Fenkart wrote: > > > For double buffering to work, the target buffer must always be big > > enough to hold all data. This can only be ensured if buffers are of > > equal size, otherwise on

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] tools/env: check that redundant environments have equal size

2016-05-30 Thread Tom Rini
On Thu, May 19, 2016 at 12:43:51PM +0200, Andreas Fenkart wrote: > For double buffering to work, the target buffer must always be big > enough to hold all data. This can only be ensured if buffers are of > equal size, otherwise one must be smaller and we risk data loss > when copying from the bigg

Re: [U-Boot] efi_loader: Clean up system table on exit

2016-05-30 Thread Tom Rini
On Wed, May 18, 2016 at 12:54:47AM +0200, Alexander Graf wrote: > We put the system table into our runtime services data section so that > payloads may still access it after exit_boot_services. However, most fields > in it are quite useless once we're in that state, so let's just patch them > out.

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

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, 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, 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, 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, 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, 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, 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, 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, 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, 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,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 __

<    1   2   3   >