Re: [U-Boot] u-boot hangs after enabling secured boot : gumstix-overo

2016-05-30 Thread Arun Kuttiyara Varghese
Hi Simon, Thanks a lot for your help. I was experimenting with few options : finally I got a working combination. I added below options in configs/omap3_overo_defconfig CONFIG_RSA=y CONFIG_DM=y and in include/configs/omap3_overo.h. #define CONFIG_OF_CONTROL #define CONFIG_OF_SEPARATE #define C

[U-Boot] [PATCH 2/2] cmd: usb_mass_storage: Staticize do_usb_mass_storage()

2016-05-30 Thread Fabio Estevam
From: Fabio Estevam Make do_usb_mass_storage() static to fix the following sparse warning: cmd/usb_mass_storage.c:136:5: warning: symbol 'do_usb_mass_storage' was not declared. Should it be static? Signed-off-by: Fabio Estevam --- cmd/usb_mass_storage.c | 2 +- 1 file changed, 1 insertion(+)

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-30 Thread Leo Li
On Tue, May 17, 2016 at 10:44 AM, York Sun wrote: > On 05/16/2016 08:28 PM, Yunhui Cui wrote: >> Hi York, >> >> I think you can move your code into timer_init() in cpu.c and follow the >> example of cltbenr. >> [Yunhui] During the u_boot imamge compiled by using the ls2080ardb_defconfig >> boot

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

2016-05-30 Thread Pavel Machek
Hi! If I do "make socfpga_cyclone5_config" and then build u-boot-SPL, it results in SPL that is way too big (49K is biggest image that works in my testing). pavel@amd:~/stahl/u-boot$ ls -al spl/u-boot-spl* -rwxr-xr-x 1 pavel pavel 888587 May 27 23:03 spl/u-boot-spl -rw-r--r-- 1 pavel pavel 55486

[U-Boot] [PATCH] Lower USB_MAX_XFER_BLK to 32767 for trimslice

2016-05-30 Thread Nicolas Chauvet
I'm experiencing an issue when loading a generic distro initramfs on trimslice-pro (with ssd using usb-ehci) with the default value of 65535 for USB_MAX_XFER_BLK EHCI timed out on TD - token=0x80008d80 As adviced by Marek on IRC, using a lower value for USB_MAX_XFER_BLK allows to load the file T

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

2016-05-30 Thread Pavel Machek
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). Signed-off-by: Pavel Machek diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index 6d20

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-30 Thread Leo Li
Sorry, I mistakenly clicked the send button before I really type stuff. Please ignore this mail. Leo On Fri, May 27, 2016 at 1:36 PM, York Sun wrote: > Leo, > > Did you type anything? I don't see any comment on top, or inline. > > York > > > On 05/27/2016 11:34 AM, Leo Li wrote: >> On Tue, May

Re: [U-Boot] Release cycle thoughts

2016-05-30 Thread Peter Robinson
On Fri, May 27, 2016 at 2:36 PM, Tom Rini wrote: > Hey all, > > So, when I said a few months back that we would try doing a 2 month > release cycle, I planned things out until the v2016.07 release, since > that coincided with the old schedule. As I was looking at the > ReleaseCycle page today I d

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-30 Thread Leo Li
On Tue, May 17, 2016 at 10:44 AM, York Sun wrote: > On 05/16/2016 08:28 PM, Yunhui Cui wrote: >> Hi York, >> >> I think you can move your code into timer_init() in cpu.c and follow the >> example of cltbenr. >> [Yunhui] During the u_boot imamge compiled by using the ls2080ardb_defconfig >> boot

[U-Boot] [PATCH v3 1/2] serial: Introduce linflex uart support

2016-05-30 Thread Eddy Petrișor
From: Stoica Cosmin-Stefan The Linflex module is integrated on some NXP automotive SoCs part of the former Freescale portfolio, like S32V234, an SoC for Advanced Driver Assistance Systems. Original-signed-off-by: Stoica Cosmin-Stefan Original-signed-off-by: Chircu Bogdan Original-signed-off-by

[U-Boot] [PATCH v3 2/2] armv8: s32v234: Introduce basic support for s32v234evb

2016-05-30 Thread Eddy Petrișor
Add initial support for NXP's S32V234 SoC and S32V234EVB board. The S32V230 family is designed to support computation-intensive applications for image processing. The S32V234, as part of the S32V230 family, is a high-performance automotive processor designed to support safe computation-intensive a

Re: [U-Boot] [PATCH v3 2/2] armv8: s32v234: Introduce basic support for s32v234evb

2016-05-30 Thread Alexander Graf
On 28.05.16 11:56, Eddy Petrișor wrote: > Add initial support for NXP's S32V234 SoC and S32V234EVB board. > > The S32V230 family is designed to support computation-intensive applications > for image processing. The S32V234, as part of the S32V230 family, is a > high-performance automotive proces

[U-Boot] [PATCH v3 0/2] Initial support for S32V234 - version 3

2016-05-30 Thread Eddy Petrișor
Hello, Here are the reworked patches (3rd version) for the initial s32v234evb support. Eddy Petrișor (1): armv8: s32v234: Introduce basic support for s32v234evb Stoica Cosmin-Stefan (1): serial: Introduce linflex uart support arch/arm/Kconfig| 5 + arch/ar

[U-Boot] [PATCH v4 1/2] serial: Introduce linflex uart support

2016-05-30 Thread Eddy Petrișor
From: Stoica Cosmin-Stefan The Linflex module is integrated on some NXP automotive SoCs part of the former Freescale portfolio, like S32V234, an SoC for Advanced Driver Assistance Systems. Original-signed-off-by: Stoica Cosmin-Stefan Original-signed-off-by: Chircu Bogdan Original-signed-off-by

[U-Boot] [PATCH v4 0/2] Initial support for s32v234

2016-05-30 Thread Eddy Petrișor
Changes in v4: Corrected a typo in the linflex driver: _debUG_uart_init -> _debug_uart_init Eddy Petrișor (1): armv8: s32v234: Introduce basic support for s32v234evb Stoica Cosmin-Stefan (1): serial: Introduce linflex uart support arch/arm/Kconfig| 5 + a

[U-Boot] [PATCH v4 2/2] armv8: s32v234: Introduce basic support for s32v234evb

2016-05-30 Thread Eddy Petrișor
Add initial support for NXP's S32V234 SoC and S32V234EVB board. The S32V230 family is designed to support computation-intensive applications for image processing. The S32V234, as part of the S32V230 family, is a high-performance automotive processor designed to support safe computation-intensive a

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

2016-05-30 Thread Marek Vasut
On 05/28/2016 10:55 AM, Pavel Machek 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). > > Signed-off-by: Pavel Machek Please us

Re: [U-Boot] [PATCH 3/3] MIPS: Abstract cache op loops with a macro

2016-05-30 Thread Marek Vasut
On 05/27/2016 04:48 PM, Paul Burton wrote: > On Fri, May 27, 2016 at 04:36:21PM +0200, Marek Vasut wrote: >>> The problem is that then both that function & its callers would need to >>> know about the types of cache ops, and there'd need to be some mapping >>> from flags to the actual cache op valu

Re: [U-Boot] [PATCH] Lower USB_MAX_XFER_BLK to 32767 for trimslice

2016-05-30 Thread Marek Vasut
On 05/28/2016 10:06 AM, Nicolas Chauvet wrote: > I'm experiencing an issue when loading a generic distro initramfs > on trimslice-pro (with ssd using usb-ehci) with the default value of > 65535 for USB_MAX_XFER_BLK > EHCI timed out on TD - token=0x80008d80 > > As adviced by Marek on IRC, using a

Re: [U-Boot] [PATCH v2 05/18] net: macb: Prepare for driver-model conversion

2016-05-30 Thread Andreas Bießmann
Hi Simon, On 05.05.16 15:28, Simon Glass wrote: > Adjust this driver to avoid using struct netdev in functions that driver > model will call. Also refactor the receive function to be compatible with > driver model. > > Signed-off-by: Simon Glass > Reviewed-by: Heiko Schocher > Tested-on: smartw

Re: [U-Boot] [PATCH v2 10/18] at91: Correct NAND ECC register access

2016-05-30 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > From: Andre Renaud > > This uses the wrote base register value. Fix it. > > Signed-off-by: Andre Renaud > Signed-off-by: Simon Glass Reviewed-by: Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v2 11/18] at91: nand: Set up the ECC strength correctly

2016-05-30 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > From: Andre Renaud > > This needs to be set to avoid a fatal error when ECC is used. > > Signed-off-by: Andre Renaud > Signed-off-by: Simon Glass Reviewed-by: Andreas Bießmann ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [PATCH] gpio: at91: Fix pullup/pulldown configuration on PIO3

2016-05-30 Thread Andreas Bießmann
On 04.05.16 23:05, Marek Vasut wrote: > On systems with PIO3 (SAMA5D3/D4/..), the pullup and pulldown configuration > is mutualy exclusive. This patch assures that the opposite pull resistor gets > disabled before the requested pull resistor is enabled. This changes behavior > of at91_set_pio_pulld

[U-Boot] [PATCH] Remove remaining remnants of unused "bcopy".

2016-05-30 Thread Robert P. J. Day
$ git diff --stat arch/microblaze/include/asm/string.h | 2 -- arch/powerpc/lib/ppcstring.S | 7 --- include/linux/string.h | 4 lib/string.c | 24 4 files changed, 37 deletions(-) $ Signed-off-by: Robert P. J. D

Re: [U-Boot] can the last traces of "bcopy" be removed?

2016-05-30 Thread Robert P. J. Day
On Mon, 23 May 2016, Michal Simek wrote: > Hi, > > 2016-05-22 20:54 GMT+02:00 Robert P. J. Day : > >   just noticed that this is all that's left of "bcopy": > > $ grep -rw bcopy * > arch/powerpc/lib/ppcstring.S:   .globl  bcopy > arch/powerpc/lib/ppcstring.S:bcopy: >

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

2016-05-30 Thread Teddy Reed
This allows a board to configure verified boot within the SPL using a FIT or FIT with external data. It also allows the SPL to perform signature verification without needing relocation. The board configuration will need to add the following feature defines: CONFIG_SPL_CRYPTO_SUPPORT CONFIG_SPL_HAS

Re: [U-Boot] [PATCH v7 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-05-30 Thread Tom Rini
On Sun, May 29, 2016 at 06:38:14PM +0200, Carlo Caione wrote: > On 08/05/16 08:30, Beniamino Galvani wrote: > > Hi, > > > > this series adds a very basic support for Amlogic S905 SoC (GXBaby) > > and for the ODROID-C2 board [1], and is based on u-boot sources > > available from the board vendor [2

Re: [U-Boot] Release cycle thoughts

2016-05-30 Thread Tom Rini
On Sat, May 28, 2016 at 10:00:10AM +0100, Peter Robinson wrote: > On Fri, May 27, 2016 at 2:36 PM, Tom Rini wrote: > > Hey all, > > > > So, when I said a few months back that we would try doing a 2 month > > release cycle, I planned things out until the v2016.07 release, since > > that coincided w

Re: [U-Boot] u-boot hangs after enabling secured boot : gumstix-overo

2016-05-30 Thread Simon Glass
Hi Arun, On 27 May 2016 at 15:01, Arun Kuttiyara Varghese wrote: > Hi Simon, > > Thanks a lot for your help. > > I was experimenting with few options : > finally I got a working combination. > > I added below options in configs/omap3_overo_defconfig > CONFIG_RSA=y > CONFIG_DM=y > > and in include

[U-Boot] Please pull u-boot-x86

2016-05-30 Thread Bin Meng
Hi Tom, The following changes since commit 6523dbf7cce8d8c903346f756e0e41e46ce6d6b9: Merge branch 'master' of git://git.denx.de/u-boot-mips (2016-05-25 20:22:48 -0400) are available in the git repository at: git://git.denx.de/u-boot-x86.git master for you to fetch changes up to d3d664725b4

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

2016-05-30 Thread Pavel Machek
Hi! On board with Altera Cyclone 5: => version U-Boot 2016.01-05658-g81689ec (May 29 2016 - 22:25:45 +0200) arm-linux-gnueabi-gcc (GCC) 4.8.2 GNU ld (GNU Binutils) 2.24 Saving Environment to SPI Flash... spi_flash_std_probe: slave=0bf367d0, cs=0 SF: Detected N25Q512 with page size 256 Bytes, era

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

2016-05-30 Thread Stefan Roese
Hi Pavel, On 29.05.2016 22:40, Pavel Machek wrote: Hi! On board with Altera Cyclone 5: => version U-Boot 2016.01-05658-g81689ec (May 29 2016 - 22:25:45 +0200) arm-linux-gnueabi-gcc (GCC) 4.8.2 GNU ld (GNU Binutils) 2.24 Saving Environment to SPI Flash... spi_flash_std_probe: slave=0bf367d0, c

Re: [U-Boot] [verified-boot] Multiple levels of signing keys

2016-05-30 Thread Teddy Reed
On Mon, 2 May 2016 16:29:12 -0600 Simon Glass wrote: Hey Simon, sorry for the delayed response! > Hi Teddy, > > On 2 May 2016 at 02:57, Teddy Reed wrote: > > On Sun, May 1, 2016 at 11:56 AM, Simon Glass wrote: > >> Hi Teddy, > >> > >> On 27 April 2016 at 11:32, Teddy Reed wrote: > >>> Hello

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 05:21:28, Stefan Roese wrote: > Hi Pavel, > > On 29.05.2016 22:40, Pavel Machek wrote: > >Hi! > > > >On board with Altera Cyclone 5: > > > >=> version > > > >U-Boot 2016.01-05658-g81689ec (May 29 2016 - 22:25:45 +0200) > >arm-linux-gnueabi-gcc (GCC) 4.8.2 > >GNU ld (GNU Binutils)

[U-Boot] [PATCH] ARM64: zynqmp: Enable Vitesse and RealTek ethernet phys

2016-05-30 Thread Michal Simek
Phys are available on zc1751-dc4 that's why enable them. Signed-off-by: Michal Simek --- include/configs/xilinx_zynqmp.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/xilinx_zynqmp.h b/include/configs/xilinx_zynqmp.h index cf7627b76a12..2b5588c4bc6a 100644 --- a/include/

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

2016-05-30 Thread Sumit Garg
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? May be you can use CONFIG_SPL_VERIFIED_BOOT? > -Original Message- > From: Teddy Reed [mailto:teddy.r...@gm

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 2:57 AM, 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] [RFC PATCH 3/5] spl: dfu: adding dfu support functions for SPL-DFU

2016-05-30 Thread Heiko Schocher
Hello Ravi, Am 27.05.2016 um 15:39 schrieb Ravi Babu: 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_mmc.c | 28

[U-Boot] [PATCH] ARM64: zynqmp: Add support for zc1751-dc4

2016-05-30 Thread Michal Simek
zc1751-dc4 contains four GEMs. Signed-off-by: Michal Simek --- arch/arm/dts/Makefile| 1 + arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts | 212 +++ configs/xilinx_zynqmp_zc1751_xm018_dc4_defconfig | 41 + include/configs/xilinx_zynqmp_zc

Re: [U-Boot] [PATCH 09/10][v3] armv8: ls1012a: Add support of ls1012aqds board

2016-05-30 Thread Prabhakar Kushwaha
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Friday, May 27, 2016 9:33 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: Calvin Johnson ; Pratiyush Srivastava > ; Abhimanyu Saini > > Subject: Re: [PATCH 09/10][v3] armv8: ls1012a: Add support of ls1012a

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

2016-05-30 Thread Pavel Machek
Hi! > 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 size 256 Bytes, erase size 4 KiB, total > 64 MiB >

[U-Boot] [PATCH] ARM64: zynqmp: Add debug uart for zc1751-dc2

2016-05-30 Thread Michal Simek
Add debug uart for zc1751-dc2. Signed-off-by: Michal Simek --- configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig b/configs/xilinx_zynqmp_zc1751_xm016_dc2_defconfig index 8a9fc1fac3a6..ae0e8

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 05:21:28, Stefan Roese wrote: > Hi Pavel, > > On 29.05.2016 22:40, Pavel Machek wrote: > >Hi! > > > >On board with Altera Cyclone 5: > > > >=> version > > > >U-Boot 2016.01-05658-g81689ec (May 29 2016 - 22:25:45 +0200) > >arm-linux-gnueabi-gcc (GCC) 4.8.2 > >GNU ld (GNU Binutils)

Re: [U-Boot] [PATCH v2 12/18] mtd: nand: Drop a blank line in nand_wait()

2016-05-30 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > From: Andre Renaud > > This empty line should not be there. Remove it. > > Signed-off-by: Andre Renaud > Signed-off-by: Simon Glass Reviewed-by: Andreas Bießmann ___ U-Boot mailing list U-Boot@lists.denx.de h

[U-Boot] [PATCH 1/2] cmd: usb_mass_storage: Use NULL for pointer

2016-05-30 Thread Fabio Estevam
From: Fabio Estevam Use NULL for pointer to fix the following sparse warning: cmd/usb_mass_storage.c:47:15: warning: Using plain integer as NULL pointer Signed-off-by: Fabio Estevam --- cmd/usb_mass_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/usb_mass_stor

[U-Boot] u-boot 2016.07-rc0 does not seem to compile for me

2016-05-30 Thread Pavel Machek
I did the following to fix it up. It still might be problem with some of my local changes, but you might want to test compile. Thanks, Pavel diff --git a/drivers/mmc/socfpga_dw_mmc.c b/drivers/mmc/socfpga_dw_mmc.c index 6a0e971..1

[U-Boot] [PATCH] ARM64: zynqmp: Extend page_table_size

2016-05-30 Thread Michal Simek
0xc000 is not sufficient page table size if dc4 with 4 gems is enabled. Signed-off-by: Michal Simek --- arch/arm/cpu/armv8/zynqmp/cpu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv8/zynqmp/cpu.c b/arch/arm/cpu/armv8/zynqmp/cpu.c index 5dd3cd86cf52..509f0aa387a6 100

Re: [U-Boot] [PATCH v2 07/18] net: macb: Convert to driver model

2016-05-30 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > Add driver-model support to this driver. The old code remains for now so > that we can convert boards one at a time. > > Signed-off-by: Simon Glass > Reviewed-by: Heiko Schocher > Tested-on: smartweb, corvus, taurus, axm > Tested-by: Heiko Schocher > Acke

Re: [U-Boot] [PATCH v2 14/18] at91: mtd: nand: Add dev_warn() to correct build error in driver

2016-05-30 Thread Scott Wood
On Thu, 2016-05-05 at 07:34 -0600, Simon Glass wrote: > The code does not compile if ECC is enabled. > > Signed-off-by: Andre Renaud > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/mtd/nand/atmel_nand.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers

Re: [U-Boot] [PATCH v2 13/18] at91: Add driver-model GPIO devices for AT91SAM9G45

2016-05-30 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > Add these definitions so that GPIOs can be used with driver model. > > Signed-off-by: Simon Glass > Reviewed-by: Heiko Schocher > Tested-on: smartweb, corvus, taurus, axm > Tested-by: Heiko Schocher Reviewed-by: Andreas Bießmann

Re: [U-Boot] [PATCH v2 08/18] arm: at91: dts: Bring in device tree file for AT91SAM9G45

2016-05-30 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > Add this file from Linux v4.5. > > Signed-off-by: Simon Glass > Reviewed-by: Heiko Schocher > Tested-on: smartweb, corvus, taurus, axm > Tested-by: Heiko Schocher Reviewed-by: Andreas Bießmann ___ U-Boot maili

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

2016-05-30 Thread Pavel Machek
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). Signed-off-by: Pavel Machek --- > Please use CONFIG_SPL_MAX_* Ok, that's simple enough. It co

Re: [U-Boot] [PATCH v2 14/18] at91: mtd: nand: Add dev_warn() to correct build error in driver

2016-05-30 Thread Andreas Bießmann
Hi Simon, On 05.05.16 15:28, Simon Glass wrote: > The code does not compile if ECC is enabled. > > Signed-off-by: Andre Renaud > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > drivers/mtd/nand/atmel_nand.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/mtd/

Re: [U-Boot] [PATCH v3 07/11] ARMv7: PSCI: add PSCI v1.0 functions skeleton

2016-05-30 Thread Hongbo Zhang
On Sat, May 28, 2016 at 1:25 AM, York Sun wrote: > On 05/19/2016 01:23 AM, Hongbo Zhang wrote: >> On Wed, May 18, 2016 at 6:39 PM, Andre Przywara >> wrote: >>> Hi, >>> >>> On 18/05/16 10:10, macro.wav...@gmail.com wrote: From: Hongbo Zhang > > > >>> ... >>> static int fdt_psci(

Re: [U-Boot] [PATCH 1/3] MIPS: Move cache sizes to Kconfig

2016-05-30 Thread Marek Vasut
On 05/27/2016 04:54 PM, Paul Burton wrote: > On Fri, May 27, 2016 at 04:40:07PM +0200, Marek Vasut wrote: >>> Hi Marek, >> >> Hi! > > Hi again Marek :) Hi! >>> We're already using the cache size auto-detection on Malta, and on 2 >>> other FPGA-based boards internally. I've submitted v2 which pre

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

2016-05-30 Thread Minkyu Kang
Dear Simon, On 26/05/16 23:52, Tom Rini wrote: > On Thu, May 26, 2016 at 02:03:08PM +0900, Minkyu Kang wrote: > >> Dear Tom, >> >> The following changes since commit fc15b9beed05dec6cc092c265042381a0eadb0e9: >> >> Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2016-05-24 >> 13:42

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

2016-05-30 Thread Simon Glass
Hi Minkyu, On 30 May 2016 at 14:31, Minkyu Kang wrote: > > Dear Simon, > > On 26/05/16 23:52, Tom Rini wrote: > > On Thu, May 26, 2016 at 02:03:08PM +0900, Minkyu Kang wrote: > > > >> Dear Tom, > >> > >> The following changes since commit > >> fc15b9beed05dec6cc092c265042381a0eadb0e9: > >> > >>

Re: [U-Boot] [PATCH 1/3] MIPS: Move cache sizes to Kconfig

2016-05-30 Thread Marek Vasut
On 05/27/2016 05:43 PM, Daniel Schwierzeck wrote: > > > Am 27.05.2016 um 16:40 schrieb Marek Vasut: >> On 05/27/2016 04:34 PM, Paul Burton wrote: >>> On Fri, May 27, 2016 at 04:32:26PM +0200, Marek Vasut wrote: On 05/27/2016 12:36 PM, Paul Burton wrote: > On Thu, May 26, 2016 at 06:10:38

Re: [U-Boot] [PATCH v2 09/18] arm: at91: Add a header file for the real-time clock

2016-05-30 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > From: Andre Renaud > > Add register definitions for the AT91 RTC so that this can potentially be > used in U-Boot. > > Signed-off-by: Andre Renaud > Signed-off-by: Simon Glass > Reviewed-by: Heiko Schocher Reviewed-by: Andreas Bießmann ___

Re: [U-Boot] [PATCH v2 06/18] net: macb: Flush correct cache portion when sending

2016-05-30 Thread Andreas Bießmann
On 05.05.16 15:28, Simon Glass wrote: > The end address of the cache flush must be cache-line-aligned since > otherwise (at least on ARM926-EJS) the request is ignored. When the cache > is enabled this means that packets are not sent. > > Signed-off-by: Simon Glass > Reviewed-by: Heiko Schocher

Re: [U-Boot] [PATCH] Remove remaining remnants of unused "bcopy".

2016-05-30 Thread Michal Simek
Hi, 2016-05-29 11:36 GMT+02:00 Robert P. J. Day : > $ git diff --stat > arch/microblaze/include/asm/string.h | 2 -- > arch/powerpc/lib/ppcstring.S | 7 --- > include/linux/string.h | 4 > lib/string.c | 24 > 4

Re: [U-Boot] [PATCHv4 3/7] ARMv8/layerscape: Add FSL PPA support

2016-05-30 Thread York Sun
Resend to fix address error in CC box On 05/23/2016 04:48 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The FSL Primary Protected Application (PPA) is a software component > loaded during boot which runs in TrustZone and remains resident > after boot. > > Signed-off-by: Hou Zhiqiang > --- >

Re: [U-Boot] [PATCH v3] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-05-30 Thread York Sun
Leo, Did you type anything? I don't see any comment on top, or inline. York On 05/27/2016 11:34 AM, Leo Li wrote: > On Tue, May 17, 2016 at 10:44 AM, York Sun wrote: >> On 05/16/2016 08:28 PM, Yunhui Cui wrote: >>> Hi York, >>> >>> I think you can move your code into timer_init() in cpu.c and

Re: [U-Boot] [PATCH 10/10][v3] armv8: ls1012a: Add support of ls1012ardb board

2016-05-30 Thread Prabhakar Kushwaha
> -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Saturday, May 14, 2016 11:44 PM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: Pratiyush Srivastava > Subject: Re: [U-Boot] [PATCH 10/10][v3] armv8: ls1012a: Add support of > ls1012ardb board > > > > O

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

2016-05-30 Thread Anatolij Gustschin
Hi Pavel, On Fri, 27 May 2016 23:05:44 +0200 Pavel Machek pa...@denx.de wrote: ... > (Based on commit 6523dbf7cce8d8c903346f756e0e41e46ce6d6b9). > > gcc based on eldk 5.6. Is there some trick for smaller images? please try enabling CONFIG_USE_TINY_PRINTF if not already done. It helped me with so

Re: [U-Boot] [PATCH v2] MIPS: provide a default u-boot-spl.lds

2016-05-30 Thread Daniel Schwierzeck
Am 26.05.2016 um 15:28 schrieb Daniel Schwierzeck: > Provide a default linker script for SPL binaries. Start address > and size of text section and BSS section are configurable. All > sections are arranged in a way that only relevant sections are > kept in the code section for maximum size reduct

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

2016-05-30 Thread 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 > >> of the remaining sectors. This fail, if dfu write size was not > >> a multiple of erasesize, example l

Re: [U-Boot] [PATCH] net: Add ag7xxx driver for Atheros MIPS

2016-05-30 Thread Daniel Schwierzeck
Am 24.05.2016 um 23:29 schrieb Marek Vasut: > Add ethernet driver for the AR933x and AR934x Atheros MIPS machines. > The driver could be easily extended to other WiSoCs. > > Signed-off-by: Marek Vasut > Cc: Daniel Schwierzeck > Cc: Joe Hershberger > Cc: Wills Wang > --- > V2: - Drop the prin

Re: [U-Boot] [PATCH 3/7] mips: ath79: Use uniform header for reset

2016-05-30 Thread Daniel Schwierzeck
Am 22.05.2016 um 13:32 schrieb Marek Vasut: > On 05/22/2016 01:29 PM, Wills Wang wrote: >> >> >> On 05/22/2016 07:08 PM, Marek Vasut wrote: >>> On 05/22/2016 05:59 AM, Wills Wang wrote: Collect all reset operation on platform and move them into a uniform header Signed-off-by:

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

2016-05-30 Thread Heiko Schocher
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 of the remaining sectors. This fail, if dfu write size

Re: [U-Boot] [PATCH] Remove remaining remnants of unused "bcopy".

2016-05-30 Thread Robert P. J. Day
On Mon, 30 May 2016, Michal Simek wrote: > Hi, > > 2016-05-29 11:36 GMT+02:00 Robert P. J. Day : >  $ git diff --stat >  arch/microblaze/include/asm/string.h |  2 -- >  arch/powerpc/lib/ppcstring.S         |  7 --- >  include/linux/string.h               |  4 >

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

2016-05-30 Thread Marek Vasut
On 05/30/2016 11:44 AM, Anatolij Gustschin wrote: > Hi Pavel, > > On Fri, 27 May 2016 23:05:44 +0200 > Pavel Machek pa...@denx.de wrote: > ... >> (Based on commit 6523dbf7cce8d8c903346f756e0e41e46ce6d6b9). >> >> gcc based on eldk 5.6. Is there some trick for smaller images? > > please try enablin

[U-Boot] [PATCH v2] Remove unneeded remnants of bcopy().

2016-05-30 Thread Robert P. J. Day
Since bcopy() is no longer used, delete all remaining references to it. Signed-off-by: Robert P. J. Day --- diff --git a/arch/microblaze/include/asm/string.h b/arch/microblaze/include/asm/string.h index 724f5bd..8f67ec7 100644 --- a/arch/microblaze/include/asm/string.h +++ b/arch/microblaze/i

[U-Boot] [PATCH] MIPS: malta: add defconfigs for MIPS64

2016-05-30 Thread Daniel Schwierzeck
Add defconfigs for recently introduced MIPS64 support on Malta boards to get more build coverage for MIPS64. Signed-off-by: Daniel Schwierzeck --- configs/malta64_defconfig | 16 configs/malta64el_defconfig | 17 + 2 files changed, 33 insertions(+) create mo

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

2016-05-30 Thread Andrew Shadura
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 --- configs/ge_b450v3_defconfig | 2 -- configs/ge_b650v3_defconfig | 2 -- configs/ge_b850v3_defconfig | 2 -- include/configs/g

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

2016-05-30 Thread Andrew Shadura
Disable unused FPGA, NFS, FAT and EFI support to reduce the bootloader size. Signed-off-by: Andrew Shadura --- configs/ge_b450v3_defconfig | 5 - configs/ge_b650v3_defconfig | 5 - configs/ge_b850v3_defconfig | 5 - 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/conf

[U-Boot] [PATCH v2 2/8] board: ge: bx50v3: don't configure the backlight when there's no display

2016-05-30 Thread Andrew Shadura
Don't try to configure the backlight when CONFIG_VIDEO_IPUV3 isn't set. Signed-off-by: Andrew Shadura --- board/ge/bx50v3/bx50v3.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/board/ge/bx50v3/bx50v3.c b/board/ge/bx50v3/bx50v3.c index e167cd5..fb112ee 100644 --- a/board/ge/bx50v3/bx50v3

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

2016-05-30 Thread Andrew Shadura
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 --- board/ge/bx50v3/bx50v3.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/board/ge/bx50v3/bx50v3.c b/

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

2016-05-30 Thread Andrew Shadura
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 --- configs/ge_b450v3_defconfig | 4 +--- configs/ge_b650v3_defconfig | 4 +--- configs/ge_b850v3_defconfig | 4 +--- include/co

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

2016-05-30 Thread Andrew Shadura
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-by: Andrew Shadura --- include/configs/ge_bx50v3.h | 8 +--- 1 file

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

2016-05-30 Thread Andrew Shadura
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 Signed-off-by: Andrew Shadura --- include/configs/ge_bx50v3.h | 6 +++--- 1

[U-Boot] [PATCH v2 6/8] board: ge: bx50v3: make SATA optional and disabled by default

2016-05-30 Thread Andrew Shadura
The SATA 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 --- include/configs/ge_bx50v3.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/configs/ge_bx50v3.h b

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

2016-05-30 Thread Lukasz Majewski
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). - Would it be hard to add SPL-DFU support also to BeagleBone Black(am335x) (BBB) board? I'm

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, > 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/Makefile | 12 +++- > 3 files changed, 23 insertions(+), 2 deletions

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

2016-05-30 Thread Lukasz Majewski
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_mmc.c | 28 > include/dfu.h |8 +

Re: [U-Boot] [RFC PATCH 4/5] dfu: spl: add generic spl-dfu function in common-spl

2016-05-30 Thread Lukasz Majewski
Hi Ravi, > Add generic spl-dfu function in common-spl, specific > implemention for configuring dfu memory device is > done in platform board specific source file. > > Signed-off-by: Ravi Babu > --- > common/spl/spl.c | 11 +++ > include/spl.h|1 + > 2 files changed, 12 inserti

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

2016-05-30 Thread Lukasz Majewski
Hi Ravi, > Adding SPL-DFU support for dra7x platform. The DFU > support for dra7x includes QSPI, MMC/SD and eMMC > memory devices. The SPL-DFU memory devices can be > selected through meunconfig->Boot Images. > > Signed-off-by: Ravi Babu > --- > board/ti/dra7xx/evm.c | 20

[U-Boot] a question about u-boot-2015.04 -for zynq

2016-05-30 Thread 赵延洲
execuse me : I am a fresh bird. I want to use xilinx zynq 7020 chip. our company made a board like zynq_zed board. but the uart1 isn't output from the chip .instead ,the uart0 is out. in the uboot version 2013.4,we can change the /include/configs/zynq_zed.h will "CONFIG_ZYNQ_SERIAL_UART0",b

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

2016-05-30 Thread Hamish Martin
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[] = { { .addr = 0x13, .ngpios = 32,

Re: [U-Boot] [PATCHv4 3/7] ARMv8/layerscape: Add FSL PPA support

2016-05-30 Thread Zhiqiang Hou
Hi York, Thanks for your comments and suggestion! > -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: 2016年5月28日 2:06 > To: Zhiqiang Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; scottw...@freescale.com; > mingkai...@freescale.com; york...@freescale.com; le.

Re: [U-Boot] [PATCHv4 3/7] ARMv8/layerscape: Add FSL PPA support

2016-05-30 Thread Zhiqiang Hou
Hi York, Thanks for your comments! > -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: 2016年5月28日 3:59 > To: Zhiqiang Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; scottw...@freescale.com; > mingkai...@freescale.com; york...@freescale.com; le...@freescale.co

Re: [U-Boot] [PATCH v7 0/4] Amlogic Meson GXBaby and ODROID-C2 support

2016-05-30 Thread Carlo Caione
On 08/05/16 08:30, Beniamino Galvani wrote: > Hi, > > this series adds a very basic support for Amlogic S905 SoC (GXBaby) > and for the ODROID-C2 board [1], and is based on u-boot sources > available from the board vendor [2]. At the moment the only supported > devices are the integrated UART and

Re: [U-Boot] [PATCHv4 4/7] ARMv8/Layerscape: switch SMP method to spin-table when the PSCI isn't available

2016-05-30 Thread Zhiqiang Hou
Hi York, Thanks a lot for your comments and suggestions! > -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: 2016年5月28日 2:06 > To: Zhiqiang Hou ; u-boot@lists.denx.de; > albert.u.b...@aribaud.net; scottw...@freescale.com; > mingkai...@freescale.com; york...@freescale.c

[U-Boot] [PATCH] armv8: ls1043aqds: fix usb PWRFAULT setting

2016-05-30 Thread shh.xie
From: Shaohui Xie SCFG_USBPWRFAULT_DEDICATED instead of SCFG_USBPWRFAULT_SHARED should be used for USB 3 & 2. Signed-off-by: Shaohui Xie --- board/freescale/ls1043aqds/ls1043aqds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/ls1043aqds/ls1043aqds.c

Re: [U-Boot] Sharing code between Linux and bootloader (U-boot) ?

2016-05-30 Thread Holger Schurig
Sebastian Frias writes: Barebox shares a good amount of code. For example, when you look at SPI at AT24/AT25 you'll see that many things are almost identical. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2016-05-30 Thread Martin Donnelly
On Mon, May 30, 2016 at 01:37:06PM +0200, Andrew Shadura wrote: > The SATA 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 > --- > include/configs/ge_bx5

[U-Boot] [PATCH 2/2] common: usb_storage : Seperate optimal blocks logic calculation for read/write

2016-05-30 Thread Rajesh Bhagat
Seperates optimal blocks logic calculation for read/write by defining the usb_max_xfer_blk variable for usb_stor_read and usb_stor_write. It has been observed, that USB devices are tend to be slower in write as compared to read operation. Hence, should be handled in diffrent manner. Signed-off-by

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

2016-05-30 Thread Rajesh Bhagat
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 checked for success starting from minimum to maximum, an

[U-Boot] [PATCH 0/2] common: usb_storage : Implement logic to calculate optimal

2016-05-30 Thread Rajesh Bhagat
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 Sample Behaviour: Fallback to 16384 blocks once failure is seen on 32768. => usb write a000 0 1;

Re: [U-Boot] [PATCH v2 2/8] board: ge: bx50v3: don't configure the backlight when there's no display

2016-05-30 Thread Martin Donnelly
On Mon, May 30, 2016 at 01:37:02PM +0200, Andrew Shadura wrote: > Don't try to configure the backlight when CONFIG_VIDEO_IPUV3 isn't set. > > Signed-off-by: Andrew Shadura Acked-by: Martin Donnelly > --- > board/ge/bx50v3/bx50v3.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/b

  1   2   3   >