[U-Boot] [PATCH v2 0/2] This series introduces the ability to override the environment offets

2017-04-25 Thread Philipp Tomsich
from the device tree by setting the following nodes in '/config': 'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET 'u-boot,mmc-env-offset-redundant' - overrides CONFIG_ENV_OFFSET_REDUND and adds the appropriate documentation in config.txt. Ch

[U-Boot] [PATCH v2 1/2] env_mmc: configure environment offsets via device tree

2017-04-25 Thread Philipp Tomsich
This introduces the ability to override the environment offets from the device tree by setting the following nodes in '/config': 'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET 'u-boot,mmc-env-offset-redundant' - overrides CONFIG_ENV_OFFSET_REDU

[U-Boot] [PATCH v2 2/2] doc: document u-boot, mmc-env-offset and u-boot, mmc-env-offset-redund

2017-04-25 Thread Philipp Tomsich
Adding documentation on the new config properties: 'u-boot,mmc-env-offset' - overrides CONFIG_ENV_OFFSET 'u-boot,mmc-env-offset-redundant' - overrides CONFIG_ENV_OFFSET_REDUND Signed-off-by: Philipp Tomsich --- Changes in v2: - added documentation in

[U-Boot] [PATCH 0/2] With the update of the RK3399 DTS (to sync it with what the kernel uses),

2017-04-25 Thread Philipp Tomsich
the support for the Designware driver in the RK3399 needs some minor adjustments to successfully attach: - the clock identifier that the simple clk driver for the RK3399 sees has changed (SCLK_SDMMC -> HCLK_SDMMC) - the 'clock-freq-min-max' property has been deprecated upstream For the submit

[U-Boot] [PATCH 2/2] rockchip: mmc: handle deprecation of 'clock-freq-min-max'

2017-04-25 Thread Philipp Tomsich
The 'clock-freq-min-max' property was deprecated in the upstream (i.e. Linux) DTS bindings in favor of the 'max-frequency' property. With the latest RK3399 DTSI does no longer include the deprecated property and the rockchip_dw_mmc driver requiring it to be present, the driver doesn't bind to the

[U-Boot] [PATCH 1/2] rockchip: clk: rk3399: adapt MMC clk configuration to the updated RK3399 DTS

2017-04-25 Thread Philipp Tomsich
The clocking of the designware MMC controller in the upstream (i.e. Linux) RK3399 has changed/does not match what the current DTS in U-Boot uses: the first clock entry now is HCLK_SDMMC instead of SCLK_SDMMC. With the simple clock driver used for the RK3399, this needs a change in the selector und

Re: [U-Boot] [PATCH 07/11] i2c: Drop use of CONFIG_I2C_HARD

2017-04-25 Thread Heiko Schocher
Hello Lokesh, Am 25.04.2017 um 05:03 schrieb Lokesh Vutla: Hi Simon, On Sunday 23 April 2017 09:05 PM, Simon Glass wrote: Drop use of this long-deprecated option. Signed-off-by: Simon Glass --- README | 16 board/ti/am335x/board.c | 6 +-

Re: [U-Boot] [PATCH v2 00/22] x86: Add ACPI S3 resume support

2017-04-25 Thread Bin Meng
Hi Stefan, On Mon, Apr 24, 2017 at 5:28 PM, Stefan Roese wrote: > Hi Bin, > > On 21.04.2017 16:24, Bin Meng wrote: >> >> This adds ACPI S3 (suspend to ram) resume capability in U-Boot. >> With S3 support within U-Boot, the board wakes up and resumes to >> OS very quickly. >> >> This so far is ena

Re: [U-Boot] [PATCH 07/11] i2c: Drop use of CONFIG_I2C_HARD

2017-04-25 Thread Lokesh Vutla
On Tuesday 25 April 2017 01:26 PM, Heiko Schocher wrote: > Hello Lokesh, > > Am 25.04.2017 um 05:03 schrieb Lokesh Vutla: >> Hi Simon, >> >> On Sunday 23 April 2017 09:05 PM, Simon Glass wrote: >>> Drop use of this long-deprecated option. >>> >>> Signed-off-by: Simon Glass >>> --- >>> >>> REA

[U-Boot] [PATCH v7] usb: gadget: avoid variable name clipping in cb_getvar

2017-04-25 Thread nicolas.le.bayon
From: Nicolas Le Bayon Instead of using a fixed-size array to store variable name, preferring a dynamic allocation treats correctly all variable name lengths. Variable names are growing through releases and features. By this way, name clipping is prevented. Signed-off-by: Nicolas Le Bayon Revie

Re: [U-Boot] sunxi: Build issue with Bananapi_M2_Ultra

2017-04-25 Thread Chen-Yu Tsai
Hi, On Tue, Apr 25, 2017 at 1:56 PM, Jagan Teki wrote: > Hi, > > We're unable to build with buildman with gcc-4.9.x > >arm: + Bananapi_M2_Ultra > +arm-unknown-linux-gnueabi-ld.bfd: u-boot-spl section `.rodata' will > not fit in region `.sram' > +arm-unknown-linux-gnueabi-ld.bfd: region

Re: [U-Boot] [PATCH v2 00/22] x86: Add ACPI S3 resume support

2017-04-25 Thread Stefan Roese
Hi Bin, On 25.04.2017 10:02, Bin Meng wrote: >> Booting Ubuntu 16.04 (kernel 4.4) with graphical interface seems to >> have some (rare) problems though. When I boot into Ubuntu with the >> correct "console=" configuration (log via serial console), suspend >> / resume seems to work fine as well

Re: [U-Boot] [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-04-25 Thread Maxime Ripard
On Mon, Apr 24, 2017 at 11:54:22PM +0200, Jernej Škrabec wrote: > Hi Maxime, > > Dne ponedeljek, 24. april 2017 ob 09:19:40 CEST je Maxime Ripard napisal(a): > > Hi Jernej, > > > > On Fri, Apr 21, 2017 at 07:24:12PM +0200, Jernej Škrabec wrote: > > > Dne petek, 21. april 2017 ob 09:04:13 CEST je

[U-Boot] [PATCH 1/1] arm/lib/bootm.c: keep ARM v7M in thumb mode during boot_jump_linux()

2017-04-25 Thread patrice.chotard
From: Patrice Chotard On ARM v7M, the processor will return to ARM mode when executing a blx instruction with bit 0 of the address == 0. Always set it to 1 to stay in thumb mode. Tested on STM32f746-disco board Similar commit: f3c10882f7dc8ec35993d5febe59aac01e6a Author: Matt Porter Signe

Re: [U-Boot] [PATCH v2 00/22] x86: Add ACPI S3 resume support

2017-04-25 Thread Bin Meng
Hi Stefan, On Tue, Apr 25, 2017 at 4:51 PM, Stefan Roese wrote: > Hi Bin, > > On 25.04.2017 10:02, Bin Meng wrote: > > > >>> Booting Ubuntu 16.04 (kernel 4.4) with graphical interface seems to >>> have some (rare) problems though. When I boot into Ubuntu with the >>> correct "console=" configura

Re: [U-Boot] [PATCH] sunxi: fix the default value of CONS_INDEX on non-A23/A33 SUN8I

2017-04-25 Thread Maxime Ripard
On Tue, Apr 25, 2017 at 01:39:51AM +0800, Icenowy Zheng wrote: > Only A23/A33 in SUN8I want a default value of CONS_INDEX of 5, for other > chips the default value is 1 like other Allwinner SoCs. > > Fix this default value. > > The original wrong value has lead to wrong console on H3 Orange Pi >

Re: [U-Boot] [PATCH 1/2] ARM: sunxi: move board/sunxi/Kconfig to arch/arm/mach-sunxi/Kconfig

2017-04-25 Thread Maxime Ripard
Hello Masahiro, On Tue, Apr 25, 2017 at 01:42:06PM +0900, Masahiro Yamada wrote: > For the consistent location of SoC-level Kconfig. > > Signed-off-by: Masahiro Yamada This patch doesn't seem to apply, which tree did you base this on? Thanks! Maxime -- Maxime Ripard, Free Electrons Embedded

Re: [U-Boot] [PATCH 1/2] ARM: sunxi: move board/sunxi/Kconfig to arch/arm/mach-sunxi/Kconfig

2017-04-25 Thread Masahiro Yamada
Hi Maxime, 2017-04-25 18:46 GMT+09:00 Maxime Ripard : > Hello Masahiro, > > On Tue, Apr 25, 2017 at 01:42:06PM +0900, Masahiro Yamada wrote: >> For the consistent location of SoC-level Kconfig. >> >> Signed-off-by: Masahiro Yamada > > This patch doesn't seem to apply, which tree did you base this

Re: [U-Boot] sunxi: Build issue with Bananapi_M2_Ultra

2017-04-25 Thread Chen-Yu Tsai
On Tue, Apr 25, 2017 at 4:46 PM, Chen-Yu Tsai wrote: > Hi, > > On Tue, Apr 25, 2017 at 1:56 PM, Jagan Teki wrote: >> Hi, >> >> We're unable to build with buildman with gcc-4.9.x >> >>arm: + Bananapi_M2_Ultra >> +arm-unknown-linux-gnueabi-ld.bfd: u-boot-spl section `.rodata' will >> not

Re: [U-Boot] orangepi_pc2: Build error

2017-04-25 Thread Andre Przywara
Hi, On 24/04/17 07:54, Jagan Teki wrote: > On Sat, Apr 8, 2017 at 5:01 AM, André Przywara wrote: >> On 07/04/17 06:10, Jagan Teki wrote: >> >> Hi Jagan, >> >>> Can you check this error on master? >>> >>> COPYspl/u-boot-spl.bin >>> MKSUNXI spl/sunxi-spl.bin >>> ERROR: File too large! >>> m

[U-Boot] [PATCH 1/2][v4] board: freescale: ls2080ardb: Update QIXIS code

2017-04-25 Thread Priyanka Jain
Update QIXIS related code to be executed only if CONFIG_FSL_QIXIS flag is enabled As per board documentation, default sysclk is 100MHz. In case QIXIS code is not enabled, update default sysclk value to 100MHz Signed-off-by: Priyanka Jain --- Changes for v4: Added changes for default sys

[U-Boot] [PATCH 2/2][v4] nxp/ls2080ardb: Add QSPI-boot support

2017-04-25 Thread Priyanka Jain
QSPI-boot is verified on LS20080ARDB RevF board with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS can not be access, so QIXIS flag is kept disabled Signed-off-by: Priyanka Jain Signed-off-by: Suresh Gupta --- Changes for v4: Updated copyright Changes for v3: Updated README Ch

[U-Boot] [PATCH v7 00/16] Add Intel Arria 10 SoC support

2017-04-25 Thread Ley Foon Tan
This is the 7th version of patchset to adds support for Intel Arria 10 SoC. This is initial patchset enables the basic support for Arria 10 and other features will come after this. This series is rebased on top of http://git.denx.de/?p=u-boot/u-boot-socfpga.git. v6 -> v7 changes: ---

[U-Boot] [PATCH v7 01/16] arm: socfpga: Restructure clock manager driver

2017-04-25 Thread Ley Foon Tan
Restructure clock manager driver in the preparation to support A10. Move the Gen5 specific code to _gen5 files. - Change all uint32_t to u32 and change to use macro BIT(n) for bit shift. - Check return value from wait_for_bit(). So change return type to int for cm_write_with_phase() and cm_basic

[U-Boot] [PATCH v7 02/16] arm: socfpga: Restructure reset manager driver

2017-04-25 Thread Ley Foon Tan
Restructure reset manager driver in the preparation to support A10. Move the Gen5 specific code to gen5 files. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 2 +- arch/arm/mach-socfpga/include/mach/reset_manager.h | 48 ++- .../mach-socfpga/include

[U-Boot] [PATCH v7 04/16] arm: socfpga: Restructure misc driver

2017-04-25 Thread Ley Foon Tan
Restructure misc driver in the preparation to support A10. Move the Gen5 specific code to gen5 file. Change all uint32_t_to u32. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 2 +- arch/arm/mach-socfpga/include/mach/misc.h | 25 ++ arch/arm/mach-socfpga/

[U-Boot] [PATCH v7 06/16] arm: socfpga: Add reset driver support for Arria 10

2017-04-25 Thread Ley Foon Tan
Add reset driver support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 2 + arch/arm/mach-socfpga/include/mach/reset_manager.h | 2 + .../include/mach/reset_manager_arria10.h | 147 arch/ar

[U-Boot] [PATCH v7 07/16] arm: socfpga: Add clock driver for Arria 10

2017-04-25 Thread Ley Foon Tan
Add clock driver support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |3 +- arch/arm/mach-socfpga/clock_manager.c | 10 + arch/arm/mach-socfpga/clock_manager_arria10.c | 1096 +

[U-Boot] [PATCH v7 05/16] arm: socfpga: Add A10 macros

2017-04-25 Thread Ley Foon Tan
Add i2c, timer and other A10 macros. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/include/mach/base_addr_a10.h b/arch/arm/mach-socfpga/include/mach/base_addr_a1

[U-Boot] [PATCH v7 09/16] arm: socfpga: Add sdram header file for Arria 10

2017-04-25 Thread Ley Foon Tan
Add sdram header file for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/sdram_arria10.h | 380 + 1 file changed, 380 insertions(+) create mode 100644 arch/arm/mach-socfpga/include/mach/sdram_arria10.h diff --git

[U-Boot] [PATCH v7 08/16] arm: socfpga: Add system manager for Arria 10

2017-04-25 Thread Ley Foon Tan
Add system manager register struct and macros for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- .../arm/mach-socfpga/include/mach/system_manager.h | 74 +--- .../include/mach/system_manager_arria10.h | 81 ++ 2 files changed

[U-Boot] [PATCH v7 13/16] arm: socfpga: Add SPL support for Arria 10

2017-04-25 Thread Ley Foon Tan
Add SPL support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/spl.c | 53 +++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-socfpga/spl.c b/arch/arm/mach-socfpga/spl.c in

[U-Boot] [PATCH v7 03/16] arm: socfpga: Restructure system manager

2017-04-25 Thread Ley Foon Tan
Restructure system manager in the preparation to support A10. No functional change. Change uint32_t to u32. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 5 +- .../arm/mach-socfpga/include/mach/system_manager.h | 128 ++--- .../{system_ma

[U-Boot] [PATCH v7 11/16] arm: socfpga: Add misc support for Arria 10

2017-04-25 Thread Ley Foon Tan
Add misc support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 1 + arch/arm/mach-socfpga/include/mach/misc.h | 6 + arch/arm/mach-socfpga/misc_arria10.c | 259 ++ 3 files changed, 266

[U-Boot] [PATCH v7 10/16] arm: socfpga: Add pinmux for Arria 10

2017-04-25 Thread Ley Foon Tan
Add pinmux support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/include/mach/pinmux.h | 17 + arch/arm/mach-socfpga/pinmux_arria10.c | 96 + 3 files chan

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

2017-04-25 Thread Marek Vasut
This was rotting in for too long, might as well push it upstream ... The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git

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

2017-04-25 Thread Marek Vasut
The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to 83cb46c286beb5406aaed2e0d589571971

[U-Boot] [PATCH v7 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-25 Thread Ley Foon Tan
Add config and defconfig for the Arria10 and update socfpga_common.h. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- configs/socfpga_arria10_defconfig | 29 +++ include/configs/socfpga_arria10_socdk.h | 66 + include/configs/socfp

[U-Boot] [PATCH v7 12/16] arm: dts: Add dts and dtsi for Arria 10

2017-04-25 Thread Ley Foon Tan
Device tree files for Arria 10 Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_arria10.dtsi | 869 + arch/arm/dts/socfpga_arria10_socdk_sdmmc.dts | 38 + ..

[U-Boot] [PATCH v7 16/16] arm: socfpga: Enable build for Arria 10

2017-04-25 Thread Ley Foon Tan
Update Kconfig and Makefile to enable Arria 10. Clean up Makefile and sorting *.o alphanumerically. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Kconfig | 10 + arch/arm/mach-socfpga/Makefile | 46 ++ 2 file

[U-Boot] [PATCH v7 15/16] arm: socfpga: Add board files for the Arria10

2017-04-25 Thread Ley Foon Tan
Add support for the Arria10 SoCDK. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- board/altera/arria10-socdk/Kconfig | 18 ++ board/altera/arria10-socdk/Makefile | 7 +++ board/altera/arria10-socdk/socfpga.c | 7 +++ 3 files changed, 32 insertions(+)

Re: [U-Boot] [PATCH v7 00/16] Add Intel Arria 10 SoC support

2017-04-25 Thread Marek Vasut
On 04/25/2017 08:44 PM, Ley Foon Tan wrote: > This is the 7th version of patchset to adds support for Intel Arria 10 SoC. > This is initial patchset enables the basic support for Arria 10 and other > features will come after this. > > This series is rebased on top of > http://git.denx.de/?p=u-boo

Re: [U-Boot] [PATCH v2 00/22] x86: Add ACPI S3 resume support

2017-04-25 Thread Stefan Roese
Hi Bin, On 25.04.2017 11:34, Bin Meng wrote: >>> What do you mean by "display >>> stays in power safe mode"? Is it a black screen, or is it just >>> U-Boot's video output screen? >> >> Blank screen and the monitor does not wake up from power-safe >> mode. I see the log on the serial console, si

Re: [U-Boot] sunxi: Build issue with Bananapi_M2_Ultra

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 05:59:43PM +0800, Chen-Yu Tsai wrote: > On Tue, Apr 25, 2017 at 4:46 PM, Chen-Yu Tsai wrote: > > Hi, > > > > On Tue, Apr 25, 2017 at 1:56 PM, Jagan Teki > > wrote: > >> Hi, > >> > >> We're unable to build with buildman with gcc-4.9.x > >> > >>arm: + Bananapi_M2

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

2017-04-25 Thread Tom Rini
On Fri, Apr 21, 2017 at 05:02:14PM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > please pull two bugfixes for qemu_mips, thanks. > > > The following changes since commit f6c1df44b815a08585e7fd3805a1db51a5955d09: > > Prepare v2017.05-rc2 (2017-04-17 18:16:49 -0400) > > are available in the

Re: [U-Boot] pull request: u-boot-uniphier/master

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 02:08:53AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Here is a small pull request for UniPhier SoCs. > Please pull! > > - Add USB PHY settings > - Use PSCI system reset when used with ARM Trusted Firmware > - Improve boot log to show SCP status > - Sync DT with Linux >

[U-Boot] [PATCH 1/2] armv8: ls1046ardb: Make NET independent of FMan

2017-04-25 Thread York Sun
This allows using PCIe NIC without enabling DPAA FMan. Signed-off-by: York Sun CC: Mingkai Hu --- board/freescale/ls1046ardb/Makefile | 2 +- include/configs/ls1046ardb.h| 15 +-- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/board/freescale/ls1046ardb/Mak

[U-Boot] [PATCH 2/2] armv8: ls1043ardb: Make NET independent of FMan

2017-04-25 Thread York Sun
This allows using PCIe NIC without enabling DPAA FMan. Signed-off-by: York Sun CC: Mingkai Hu --- board/freescale/ls1043ardb/Makefile | 2 +- include/configs/ls1043ardb.h| 13 - 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/board/freescale/ls1043ardb/Makefi

[U-Boot] Please pull u-boot-fsl-qoriq master

2017-04-25 Thread York Sun
Tom, The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to fedebf0d08a7aa152f8f27de1d40

Re: [U-Boot] [PATCH 0/4] MIPS: call debug_uart_init right before board_init_f

2017-04-25 Thread Álvaro Fernández Rojas
I've just realized I sent this without v2 prefix. Should I resend it? El 24/04/2017 a las 19:03, Álvaro Fernández Rojas escribió: > All MIPS boards that support debug uart are calling debug_uart_init right at > the beginning of board_early_init_f. > Instead of doing that, let's provide a generic c

Re: [U-Boot] [PATCH 2/2][v4] nxp/ls2080ardb: Add QSPI-boot support

2017-04-25 Thread York Sun
On 04/25/2017 03:18 AM, Priyanka Jain wrote: QSPI-boot is verified on LS20080ARDB RevF board Typo here. It is LS2080ARDB. with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS Is the board marked as LS2088ARDB? Is the limitation on rev F board, or the boot method? can not be

Re: [U-Boot] [PATCH 0/4] MIPS: call debug_uart_init right before board_init_f

2017-04-25 Thread Daniel Schwierzeck
2017-04-25 17:48 GMT+02:00 Álvaro Fernández Rojas : > I've just realized I sent this without v2 prefix. > Should I resend it? no, I've found the right patches in patchwork ;) > > El 24/04/2017 a las 19:03, Álvaro Fernández Rojas escribió: >> All MIPS boards that support debug uart are calling deb

Re: [U-Boot] [PATCH] patman: encode CC list to UTF-8

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 05:53:36PM -0600, Simon Glass wrote: > +Tom > > On 19 April 2017 at 07:24, Philipp Tomsich > wrote: > > > > This change encodes the CC list to UTF-8 to avoid failures on > > maintainer-addresses that include non-ASCII characters (observed on > > Debian 7.11 with Python 2.7

Re: [U-Boot] [PATCH v1 0/2] DS1307 RTC update

2017-04-25 Thread Tom Rini
On Sun, Apr 23, 2017 at 09:38:58PM -0600, Simon Glass wrote: > +Tom > > Hi Chris, > > On 21 April 2017 at 10:27, Chris Packham wrote: > > > > The first patch is the addition of a KConfig option for the date > > command. I haven't updated any boards to use the new option due to the > > sheer numb

Re: [U-Boot] [RFC PATCH] ext4: Fix comparision of unsigned expression with < 0

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 10:22:27AM +0530, Lokesh Vutla wrote: > In file ext4fs.c funtion ext4fs_read_file() compares an > unsigned expression with < 0 like below > > lbaint_t blknr; > blknr = read_allocated_block(&(node->inode), i); > if (blknr < 0) > return -1; >

Re: [U-Boot] [PATCH 1/5] i.MX6Q: icorem6: Add modeboot env via board_late_init

2017-04-25 Thread Jagan Teki
Hi Stefano, On Mon, Apr 17, 2017 at 9:18 PM, Jagan Teki wrote: > On Wed, Apr 12, 2017 at 9:27 PM, Stefano Babic wrote: >> On 07/04/2017 19:50, Jagan Teki wrote: >>> Hi Stefano, >>> >>> On Mon, Mar 27, 2017 at 11:32 PM, Jagan Teki wrote: From: Jagan Teki Add runtime, modeboot env

Re: [U-Boot] [PATCH v4 00/35] ARM: i.MX6: SabreSD: Add dts support

2017-04-25 Thread Jagan Teki
On Mon, Apr 17, 2017 at 6:58 PM, Jagan Teki wrote: > On Mon, Apr 10, 2017 at 4:43 AM, Fabio Estevam wrote: >> On Sun, Apr 9, 2017 at 4:12 PM, Jagan Teki wrote: >> >>> Bcz we need to define dtb through CONFIG_DEFAULT_DEVICE_TREE >> >> Having 3 defconfigs for SPL is not good. Looks like a step in

[U-Boot] Pull request: u-boot-sunxi/master

2017-04-25 Thread Jagan Teki
Hi Tom, Please take this PR, probably the last PR for the release. thanks! Jagan. The following changes since commit f6c1df44b815a08585e7fd3805a1db51a5955d09: Prepare v2017.05-rc2 (2017-04-17 18:16:49 -0400) are available in the git repository at: git://git.denx.de/u-boot-sunxi.git master

Re: [U-Boot] [PATCH v4 00/35] ARM: i.MX6: SabreSD: Add dts support

2017-04-25 Thread Fabio Estevam
Hi Jagan, On Tue, Apr 25, 2017 at 3:35 PM, Jagan Teki wrote: > >> This isn't a limitation, all the defconfigs on various boards follows >> the same but except by giving dtb explicitly doing make, like >> make DEVICE_TREE=imx6l-sabresd > > Any help? Take imx6 cubox or imx6 wandboard as reference.

Re: [U-Boot] [PATCH v4 0/7] am57xx: cl-som-am57x: fix usb

2017-04-25 Thread Marek Vasut
On 04/25/2017 03:09 AM, Tom Rini wrote: > On Sun, Apr 23, 2017 at 11:18:04AM +0300, Uri Mashiach wrote: >> Hello Tom, >> >> A gentle ping on this patch series. >> >> On 02/23/2017 03:39 PM, Uri Mashiach wrote: >>> Various USB related comits for the CL-SOM-AM57x module. >>> >>> --- >>> V1 -> V2: Rep

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

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 12:49:41PM +0200, Marek Vasut wrote: > This was rotting in for too long, might as well push it upstream ... > > The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) > > are

Re: [U-Boot] [PATCH] power: twl4030: Add CONFIG_CMD_POWEROFF support

2017-04-25 Thread Tom Rini
On Mon, Apr 24, 2017 at 01:34:43PM -0500, Adam Ford wrote: > With the addition of twl4030_power_off(), let's allow the 'poweroff' command > to run this function when CONFIG_CMD_POWEROFF is enabled. > > Tested on a DM3730 with twl4030 PMIC. > > Signed-off-by: Adam Ford > > diff --git a/drivers/

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

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 12:51:10PM +0200, Marek Vasut wrote: > The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) > > are available in the git repository at: > > git://git.denx.de/u-boot-usb.g

Re: [U-Boot] [PATCH v2] Kconfig: Enable FIT support by default for TI platforms

2017-04-25 Thread Tom Rini
On Fri, Apr 21, 2017 at 10:01:28AM -0500, Andrew F. Davis wrote: > Almost all TI defconfigs enable this already, add this as a default > and remove the explicit assignment. > > Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] ARM: omap2+: rename config to ARCH_OMAP2PLUS and consolidate Kconfig

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 01:10:11PM +0900, Masahiro Yamada wrote: > In Linux, CONFIG_ARCH_OMAP2PLUS is used for OMAP2 or later SoCs. > Rename CONFIG_ARCH_OMAP2 to CONFIG_ARCH_OMAP2PLUS to follow this > naming. > > Move the OMAP2+ board/SoC choice down to mach-omap2/Kconfig to slim > down the arch/

Re: [U-Boot] [PATCH] patman: encode CC list to UTF-8

2017-04-25 Thread Simon Glass
Hi Tom, On 25 April 2017 at 11:12, Tom Rini wrote: > > On Sat, Apr 22, 2017 at 05:53:36PM -0600, Simon Glass wrote: > > +Tom > > > > On 19 April 2017 at 07:24, Philipp Tomsich > > wrote: > > > > > > This change encodes the CC list to UTF-8 to avoid failures on > > > maintainer-addresses that inc

Re: [U-Boot] [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-04-25 Thread Jernej Škrabec
Hi Maxime, Dne torek, 25. april 2017 ob 10:57:05 CEST je Maxime Ripard napisal(a): > On Mon, Apr 24, 2017 at 11:54:22PM +0200, Jernej Škrabec wrote: > > Hi Maxime, > > > > Dne ponedeljek, 24. april 2017 ob 09:19:40 CEST je Maxime Ripard napisal(a): > > > Hi Jernej, > > > > > > On Fri, Apr 21, 2

Re: [U-Boot] [PATCH 2/2] asm-generic: global_data: change timebase_l/h to unsigned int

2017-04-25 Thread Peng Fan
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Monday, April 24, 2017 11:38 AM > To: Peng Fan > Cc: U-Boot Mailing List ; Tom Rini > ; Eddie Cai ; Jagan Teki > ; york sun ; Robert P. J. Day > ; Michal Simek > Subject: Re:

Re: [U-Boot] [PATCH 1/6] dm: mmc: omap_hsmmc: Update to support of-platdata

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:43PM +0530, Lokesh Vutla wrote: > This is to aid platforms that uses OF_PLATDATA. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Bo

Re: [U-Boot] [PATCH 2/6] dm: mmc: omap_hsmmc: Add pre-reloc flag to the driver

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:44PM +0530, Lokesh Vutla wrote: > For platforms that don't use device tree in SPL the only > way to mark this driver as 'required by relocation' is > with the DM_FLAG_PRE_RELOC flag. Add this to ensure that > the driver is bound. > > Signed-off-by: Lokesh Vutla Rev

Re: [U-Boot] [PATCH 3/6] configs: am335x_evm: Use omap2 generic spl load script

2017-04-25 Thread Tom Rini
On Mon, Apr 24, 2017 at 10:23:17AM -0500, Andrew F. Davis wrote: > On 04/22/2017 01:50 AM, Lokesh Vutla wrote: > > No reason to use a separate load script for am33xx than using > > omap-common load script. > > > > Signed-off-by: Lokesh Vutla > > --- > > include/configs/am335x_evm.h | 2 +- > > 1

Re: [U-Boot] [PATCH 5/6] configs: am335x_evm: Enable SPL_DM

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:47PM +0530, Lokesh Vutla wrote: > Enable SPL_DM on all AM335x based TI platforms. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Bo

Re: [U-Boot] [PATCH 4/6] am33xx: Provide platform data for mmc

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:46PM +0530, Lokesh Vutla wrote: > Signed-off-by: Lokesh Vutla > --- > board/ti/am335x/board.c | 32 > 1 file changed, 32 insertions(+) > > diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c > index 3e842d3187..566183e669

Re: [U-Boot] [PATCH 6/6] arm: am335x: Enable tiny printf in SPL

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:48PM +0530, Lokesh Vutla wrote: > am335x_evm SPL is very close to its limit in SRAM space. > Switch to use tiny printf to reclaim some size. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [EXT] Armada 385: PEX detection pulse width

2017-04-25 Thread Rene Straub
Hello Adam, first of all thanks the quick reply. First trials with reduced pulse length, showed promising results. To better understand the root cause of the problem, it would be helpful if you explained us briefly what the register change actually performs. I/we understand that the problem is

Re: [U-Boot] [EXT] Armada 385: PEX detection pulse width

2017-04-25 Thread Adam Shobash
Hi Rene, These bits that I have sent changes the pulse width of the "detection pulse" during the detect state, and purpose of it is to measure the slew rate of the common mode voltage change and according to the slew rate it is decided whether there is a Termination(usually it is the Rx impedan

[U-Boot] [PATCH] config: remove CONFIG_SPI_FLASH_BAR from some platforms

2017-04-25 Thread Suresh Gupta
ls1012ardb, ls1046ardb, ls2080ardb has S25FS512S flash which do not support Bank Address Register commands Signed-off-by: Suresh Gupta --- include/configs/ls1012a_common.h | 1 - include/configs/ls1046ardb.h | 1 - include/configs/ls2080ardb.h | 1 - 3 files changed, 3 deletions(-) diff

Re: [U-Boot] [EXT] Armada 385: PEX detection pulse width

2017-04-25 Thread Assaf Hoffman
+ Torsten -Original Message- From: Adam Shobash Sent: Tuesday, April 25, 2017 10:26 AM To: Rene Straub; Stefan Eichenberger Cc: Assaf Hoffman; s...@denx.de; u-boot@lists.denx.de Subject: RE: [EXT] Armada 385: PEX detection pulse width Hi Rene, These bits that I have sent changes the pul

[U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-04-25 Thread Suresh Gupta
As per data sheet, S25FS512S support Uniform sector option or erase size of 256 kbytes and Page Programming buffer of 256 or 512 Bytes. So, flag SECT_4K have no significance for this flash. Signed-off-by: Suresh Gupta --- drivers/mtd/spi/spi_flash_ids.c | 2 +- 1 file changed, 1 insertion(+), 1

[U-Boot] [PATCH] LS1012A: change the size of flash

2017-04-25 Thread Suresh Gupta
LS1012A has S25FS512S flash of 64M size Signed-off-by: Suresh Gupta --- include/configs/ls1012a_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index 0db926f..861cbc3 100644 --- a/include/configs/ls1

[U-Boot] [Turris Omnia] Is there a standard approach to write a driver for CryptoAuthentication/EEPROM chip?

2017-04-25 Thread Marek Behún
Hello, I have few questions about upstreaming support for the Turris Omnia into u-boot. The Turris Omnia has (on I2C interface) an Atmel ATSHA204 CryptoAuthentication chip for storage of MAC adresses, device serial number, device configuration (1 GB RAM vs 2 GB RAM). This data is stored in the int

[U-Boot] [PATCH] LS1088A: PPA Enable for ls1088a rdb and qds.

2017-04-25 Thread Amrita Kumari
Signed-off-by: Amrita Kumari --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 + board/freescale/ls1088a/ls1088a.c | 4 configs/ls1088aqds_qspi_defconfig | 1 + configs/ls1088ardb_qspi_defconfig | 1 + 4 files changed, 7 insertions(+) diff --git a/arch/arm/cpu/armv8

[U-Boot] [Turris Omnia] Btrfs support status?

2017-04-25 Thread Marek Behún
Hello, the Turris Omnia router uses btrfs as the main filesystem, from which it also loads kernel and dts. We have an implementation in our internal u-boot (https://gitlab.labs.nic.cz/turris/turris-omnia-uboot/tree/master/fs/btrfs). As I understand it, this code was already proposed for u-boot: h

[U-Boot] "syntax error" after erasing flash sector

2017-04-25 Thread Ohad Peleg
hello, from the hush cli im trying to update the uboot within the uboot. but after erasing a flash sector (which is succeded) i get: "syntax error" for every coomand.. im not sure why, uboot supposed to run from ram at this point so why does it matter i erased the flash? __

Re: [U-Boot] [PATCH] patman: encode CC list to UTF-8

2017-04-25 Thread Dr. Philipp Tomsich
Hi Simon, > On 25 Apr 2017, at 22:31, Simon Glass wrote: > > Hi Tom, > > On 25 April 2017 at 11:12, Tom Rini wrote: >> >> On Sat, Apr 22, 2017 at 05:53:36PM -0600, Simon Glass wrote: >>> +Tom >>> >>> On 19 April 2017 at 07:24, Philipp Tomsich >>> wrote: This change encodes the CC

[U-Boot] [U-boot] use of CONFIG_SYS_EARLY_PCI_INIT with DM PCI

2017-04-25 Thread Suneel Garapati
Hi Simon, Request your inputs on below query - Boards I work on have most of the devices on PCI bus, driver model support enabled, would like to use CONFIG_SYS_EARLY_PCI_INIT to call pci_init but the below snippet would hinder. #ifdef CONFIG_PCI static int initr_pci(void) { -#ifndef CONFIG_DM

Re: [U-Boot] [PATCH 4/6] am33xx: Provide platform data for mmc

2017-04-25 Thread Adam Ford
On Tue, Apr 25, 2017 at 4:10 PM, Tom Rini wrote: > On Sat, Apr 22, 2017 at 12:20:46PM +0530, Lokesh Vutla wrote: >> Signed-off-by: Lokesh Vutla >> --- >> board/ti/am335x/board.c | 32 >> 1 file changed, 32 insertions(+) >> >> diff --git a/board/ti/am335x/board.c

[U-Boot] [PATCH v4 01/20] SPL: FIT: refactor FDT loading

2017-04-25 Thread Andre Przywara
Currently the SPL FIT loader uses the spl_fit_select_fdt() function to find the offset to the right DTB within the FIT image. For this it iterates over all subnodes of the /configuration node in the FIT tree and compares all "description" strings therein using a board specific matching function. If

[U-Boot] [PATCH v4 00/20] SPL: extend FIT loading support

2017-04-25 Thread Andre Przywara
Another round of smaller fixes for the SPL FIT loading series and the respective patches to enable this feature on 64-bit Allwinner SoCs. The README has been changed to address all 64-bit Allwinner boards and has consequently been renamed to README.sunxi64. Also we can now point U-Boot to the ARM T

[U-Boot] [PATCH v4 04/20] SPL: FIT: factor out spl_load_fit_image()

2017-04-25 Thread Andre Przywara
At the moment we load two images from a FIT image: the actual U-Boot image and the .dtb file. Both times we have very similar code, that deals with alignment requirements the media we load from imposes upon us. Factor out this code into a new function, which we just call twice. Signed-off-by: Andr

[U-Boot] [PATCH v4 02/20] SPL: FIT: rework U-Boot image loading

2017-04-25 Thread Andre Przywara
Currently the SPL FIT loader always looks only for the first image in the /images node a FIT tree, which it loads and later executes. Generalize this by looking for a "firmware" property in the matched configuration subnode, or, if that does not exist, for the first string in the "loadables" prope

[U-Boot] [PATCH v4 08/20] armv8: SPL: only compile GIC code if needed

2017-04-25 Thread Andre Przywara
Not every SoC needs to set up the GIC interrupt controller, so link think code only when the respective config option is set. This shaves off some bytes from the SPL code size. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass --- arch/arm/lib/Makefile | 2 ++ 1 file changed, 2 insertions(

[U-Boot] [PATCH v4 05/20] SPL: FIT: allow loading multiple images

2017-04-25 Thread Andre Przywara
So far we were not using the FIT image format to its full potential: The SPL FIT loader was just loading the first image from the /images node plus one of the listed DTBs. Now with the refactored loader code it's easy to load an arbitrary number of images in addition to the two mentioned above. As

[U-Boot] [PATCH v4 07/20] tools: mksunxiboot: allow larger SPL binaries

2017-04-25 Thread Andre Przywara
mksunxiboot limits the size of the resulting SPL binaries to pretty conservative values to cover all SoCs and all boot media (NAND). It turns out that we have limit checks in place in the build process, so mksunxiboot can be relaxed and allow packaging binaries up to the actual 32KB the mask boot R

[U-Boot] [PATCH v4 03/20] SPL: FIT: improve error handling

2017-04-25 Thread Andre Przywara
At the moment we ignore any errors due to missing FIT properties, instead go ahead and calculate our addresses with the -1 return value. Fix this and bail out if any of the mandatory properties are missing. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass --- common/spl/spl_fit.c | 15 +++

[U-Boot] [PATCH v4 09/20] armv8: fsl: move ccn504 code into FSL Makefile

2017-04-25 Thread Andre Przywara
The generic ARMv8 assembly code contains routines for setting up a CCN interconnect, though the Freescale SoCs are the only user. Link this code only for Freescale targets, this saves some precious bytes in the chronically tight SPL. Signed-off-by: Andre Przywara --- arch/arm/lib/Makefile | 2 +-

[U-Boot] [PATCH v4 12/20] sunxi: SPL: add FIT config selector for Pine64 boards

2017-04-25 Thread Andre Przywara
For a board or platform to support FIT loading in the SPL, it has to provide a board_fit_config_name_match() routine, which helps to select one of possibly multiple DTBs contained in a FIT image. Provide a simple function which chooses the DT name U-Boot was configured with. If the DT name is one o

[U-Boot] [PATCH v4 06/20] Kconfig: fix SPL_FIT dependency

2017-04-25 Thread Andre Przywara
SPL_FIT obviously requires libfdt in SPL, so let Kconfig express that by selecting SPL_OF_LIBFDT. Also make the actual options that users want (SPL signature and SPL FIT loading) visible in the menu and let them select the SPL_FIT as a requirement. Also remove the now redundant SPL_OF_LIBFDT from t

[U-Boot] [PATCH v4 13/20] Makefile: add rules to generate SPL FIT images

2017-04-25 Thread Andre Przywara
Some platforms require more complex U-Boot images than we can easily generate via the mkimage command line, for instance to load additional image files. Introduce a CONFIG_SPL_FIT_SOURCE and CONFIG_SPL_FIT_GENERATOR symbol, which can either hold an .its source file describing the image layout, or,

[U-Boot] [PATCH v4 20/20] sunxi: Move maintainership for Pine64

2017-04-25 Thread Andre Przywara
After speaking to Hans at FOSDEM, he is fine with transferring the maintainership of the Pine64 boards over to me. Signed-off-by: Andre Przywara --- board/sunxi/MAINTAINERS | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS

  1   2   >