Re: [U-Boot] [PATCH] openrd: disable private arch memset, memcpy and libgcc

2017-02-27 Thread Albert ARIBAUD
Update: On Mon, 27 Feb 2017 07:52:10 +0100, Albert ARIBAUD wrote: > Hello Tom, > > On Sun, 26 Feb 2017 20:04:28 -0500, Tom Rini wrote: > > On Sun, Feb 26, 2017 at 04:29:32PM +0100, Albert ARIBAUD wrote: > > > > > The switch to private LIBGCC

Re: [U-Boot] [PATCH 1/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-02-27 Thread Andre Przywara
Hi, On 27/02/17 10:07, Maxime Ripard wrote: > On Mon, Feb 27, 2017 at 12:26:40AM +, Andre Przywara wrote: >> Instead of hard-coding GPIO pins used for a certain peripheral, we >> should just use the pinctrl information from the DT. >> The sun8i-emac driver has some simple implementation of

Re: [U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Stefano Babic
On 27/02/2017 14:22, Tom Rini wrote: > On Mon, Feb 27, 2017 at 10:12:59AM +0100, Stefano Babic wrote: >> Hi Tom, >> >> please pull from u-boot-imx, thanks ! >> >> The following changes since commit b24cf8540a85a9bf97975aadd6a7542f166c78a3: >> >> video: mxsfb: Fix reset hang when videomode

Re: [U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Tom Rini
On Mon, Feb 27, 2017 at 02:29:38PM +0100, Stefano Babic wrote: > On 27/02/2017 14:22, Tom Rini wrote: > > On Mon, Feb 27, 2017 at 10:12:59AM +0100, Stefano Babic wrote: > >> Hi Tom, > >> > >> please pull from u-boot-imx, thanks ! > >> > >> The following changes since commit > >>

[U-Boot] [PATCH v1] gpt: Fix uuid string format

2017-02-27 Thread Andy Shevchenko
From: Vincent Tinelli Change GPT UUID string format from UUID to GUID per specification. Signed-off-by: Vincent Tinelli --- cmd/gpt.c | 2 +- disk/part_efi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH 0/6] sunxi: update Pine64/A64 DTs

2017-02-27 Thread Chen-Yu Tsai
Hi, On Mon, Feb 27, 2017 at 5:53 PM, Andre Przywara wrote: > Hi, > > On 27/02/17 03:30, Chen-Yu Tsai wrote: >> On Mon, Feb 27, 2017 at 8:26 AM, Andre Przywara >> wrote: >>> Hi, >>> >>> in the wake of the sunxi DM enablement series it became

Re: [U-Boot] [PATCH] ARM: dts: uniphier: move aliases node up to make fdtgrep happy

2017-02-27 Thread Masahiro Yamada
Hi Simon, 2016-04-19 2:48 GMT+09:00 Simon Glass : > HI Masahiro, > > On 18 April 2016 at 00:50, Masahiro Yamada > wrote: >> >> Hi Simon, >> >> No news about fdtgrep? >> >> I will apply this patch in a few days, though I am not happy about it. >

Re: [U-Boot] DT warnings and travis-ci problems

2017-02-27 Thread Maxime Ripard
Hi Tom, On Fri, Feb 24, 2017 at 08:01:36PM -0500, Tom Rini wrote: > Hey guys, > > It seems as if perhaps travis-ci has recently implemented a limit on log > file size as the failure I see here: > https://travis-ci.org/trini/u-boot/jobs/204620482 > is unrelated, entirely, to the changes I'm

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

2017-02-27 Thread Jagan Teki
Hi Tom, Please pull this PR. thanks! Jagan The following changes since commit b24cf8540a85a9bf97975aadd6a7542f166c78a3: video: mxsfb: Fix reset hang when videomode variable is not present (2017-02-22 21:47:59 +0100) are available in the git repository at:

Re: [U-Boot] [PATCH 07/10] sunxi: Convert CONFIG_RGMII to Kconfig

2017-02-27 Thread Thomas Petazzoni
Hello, On Thu, 23 Feb 2017 16:44:16 +0100, Mylène Josserand wrote: > Convert CONFIG_RGMII to Kconfig. Thanks to that, it is possible to > update defconfig files of SYS_EXTRA_OPTIONS accordingly and > remove it when it is possible. > > Signed-off-by: Mylène Josserand

Re: [U-Boot] [PATCH] splash: Prevent splash_load_fs from writing to 0x0

2017-02-27 Thread Igor Grinberg
Hi Jonathan, On 02/27/17 10:10, Jonathan Golder wrote: > Hi Igor, > >> I haven't looked at fs_read() yet, but from the above it seems that >> a better approach would be to fix the fs_read()? Might there be use >> cases when it is legitimate to pass NULL? > > > Well, actually I have not dived

Re: [U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Tom Rini
On Mon, Feb 27, 2017 at 10:12:59AM +0100, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit b24cf8540a85a9bf97975aadd6a7542f166c78a3: > > video: mxsfb: Fix reset hang when videomode variable is not present > (2017-02-22 21:47:59

Re: [U-Boot] [PATCH v4 00/15] i.MX6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-27 Thread Sébastien Szymanski
Hello, On 02/26/2017 12:54 PM, Stefano Babic wrote: > On 24/02/2017 11:15, Jagan Teki wrote: >> From: Jagan Teki >> >> Changes for v3: >> - Rebase on master >> - Fix checkpatch.pl Warnings >> - Add IMX6_BMODE_UART macro for uart bootmode >> - Remove value assignment

Re: [U-Boot] [PATCH v1] env_mmc: configure environment offsets via device tree

2017-02-27 Thread Jaehoon Chung
Hi all, On 02/22/2017 04:35 PM, Igor Grinberg wrote: > Hi Philipp, Simon, This patch is delegated to me..but i didn't receive any email in my mail box. So i didn't know this...i don't read yet fully.. After reading mails, i will reply again. Thanks. Best Regards, Jaehoon Chung > > On

[U-Boot] [PATCH 1/4] ARM: dts: at91: add dts files for at91sam9n12ek

2017-02-27 Thread Wenyou Yang
The device tree source files of at91sam9n12ek boards are copied from the Linux v4.10, do the changes as below. - Add the reg property for the pinctrl node. - Move the gpio (pioA, pioB, pioC, pioD) nodes as the pinctrl's slibling nodes, instead of the child nodes. - Add spi0 aliases. -

[U-Boot] [PATCH 0/4] board: at91sam9n12ek: convert the board to support DM and DT

2017-02-27 Thread Wenyou Yang
The purpose of the patch set is to convert the board to support the Driver Model and the Device Tree. Wenyou Yang (4): ARM: dts: at91: add dts files for at91sam9n12ek configs: at91sam9n12ek: update for DT and DM support board: at91sam9n12ek: clean up code board: at91sam9n12ek: enable

Re: [U-Boot] [PATCH v3] armv8: spl: Call spl_relocate_stack_gd for ARMv8

2017-02-27 Thread André Przywara
Hi Tom, Simon, can we merge this patch for 2017.03 still? This fixes an SD card boot regression for arm64 SPLs for me, introduced shortly before -rc1. Commit b3d2861eb20a ("spl: Remove overwrite of relocated malloc limit"), introduced just a few commits before -rc1, broke MMC boot for arm64

Re: [U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Jagan Teki
On Mon, Feb 27, 2017 at 2:42 PM, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit b24cf8540a85a9bf97975aadd6a7542f166c78a3: > > video: mxsfb: Fix reset hang when videomode variable is not present > (2017-02-22

Re: [U-Boot] [PATCH 1/2 RFT] sunxi: power: Add AXP806 and AXP808 support

2017-02-27 Thread Jaehoon Chung
On 02/27/2017 04:01 AM, Rask Ingemann Lambertsen wrote: > An X-Powers AXP806 or AXP808 PMIC is usually found on boards using the > Allwinner A80 ARM SoC. This patch adds support for the PMIC's regulators > and sets up the runtime address and master/slave mode in pmic_bus_init(). > > AXP806/AXP808

Re: [U-Boot] [PATCH 06/20] arm: socfpga: add reset driver support for Arria 10

2017-02-27 Thread Ley Foon Tan
On Isn, 2017-02-27 at 11:19 +0100, Marek Vasut wrote: > On 02/27/2017 11:14 AM, Ley Foon Tan wrote: > > > > On Sab, 2017-02-25 at 22:28 +0100, Marek Vasut wrote: > > > > > > On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > > > > > > > > > > > > Add reset driver support for Arria 10. > > > > > >

Re: [U-Boot] [PATCH v3 1/2] mmc: pci: Add CONFIG_MMC_PCI

2017-02-27 Thread Jaehoon Chung
Hi Andy, On 02/20/2017 08:24 PM, Andy Shevchenko wrote: > From: Felipe Balbi > > We don't want pci_mmc to compile every time x86 compiles, only when > there's a platform that needs it. For that reason, we're adding a new > CONFIG_MMC_PCI which platforms can choose

Re: [U-Boot] [PATCH] ls1046ardb: SPL size reduction in case of non-xip boot

2017-02-27 Thread Sumit Garg
> -Original Message- > From: york sun > Sent: Monday, February 27, 2017 10:34 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Mingkai Hu ; Vini > Pillai

[U-Boot] [PATCH 2/4] configs: at91sam9n12ek: update for DT and DM support

2017-02-27 Thread Wenyou Yang
Support the device tree and enable CONFIG_CLK and CONFIG_PINCTRL options to support at91 clock driver and at91 pinctrl driver. Enable DM_GPIO, DM_MMC and DM_SPI support, move CONFIG_AT91_GPIO, CONFIG_GENERIC_ATMEL_MCI and CONFIG_ATMEL_SPI config option to the default config files. Due to the

[U-Boot] [PATCH 4/4] board: at91sam9n12ek: enable early debug UART

2017-02-27 Thread Wenyou Yang
Enable early debug UART to debug problems when an ICE or other debug mechanism is not available. Signed-off-by: Wenyou Yang --- board/atmel/at91sam9n12ek/at91sam9n12ek.c | 14 ++ configs/at91sam9n12ek_mmc_defconfig | 6 ++

Re: [U-Boot] [PATCH] ls1043ardb: SPL size reduction in case of non-xip boot

2017-02-27 Thread Sumit Garg
> -Original Message- > From: york sun > Sent: Monday, February 27, 2017 10:33 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Mingkai Hu ; Vini > Pillai

Re: [U-Boot] [PATCH v2] serial: Add serial driver for Intel MID

2017-02-27 Thread Kever Yang
Hi Andy, On 02/28/2017 12:22 AM, Andy Shevchenko wrote: Add a specific serial driver for Intel MID platforms. It has special fractional divider which can be programmed via UART_PS, UART_MUL, and UART_DIV registers. The UART clock is calculated as UART clock = XTAL * UART_MUL /

Re: [U-Boot] [PATCH v3] armv8: spl: Call spl_relocate_stack_gd for ARMv8

2017-02-27 Thread Tom Rini
On Tue, Feb 28, 2017 at 02:13:21AM +, André Przywara wrote: > Hi Tom, Simon, > > can we merge this patch for 2017.03 still? > This fixes an SD card boot regression for arm64 SPLs for me, introduced > shortly before -rc1. This seems like a reasonable thing to bring in, yes. Thanks for the

Re: [U-Boot] [PATCH v3 2/2] mmc: tangier: Add Intel Tangier eMMC/SDHCI driver

2017-02-27 Thread Jaehoon Chung
Hi Andy, On 02/20/2017 08:24 PM, Andy Shevchenko wrote: > From: Felipe Balbi > > This patch adds Intel Tangier eMMC/SDHCI driver. > > Intel Tangier SoC contains a hybrid of PCI and non-PCI devices. SDHCI > controller is one of the devices which are *not* on a PCI

[U-Boot] [PATCH 3/4] board: at91sam9n12ek: clean up code

2017-02-27 Thread Wenyou Yang
Since the introduction of the pinctrl and clk driver and the dts file, remove unneeded hard coded related code from the board file. Signed-off-by: Wenyou Yang --- board/atmel/at91sam9n12ek/at91sam9n12ek.c | 53 --- 1 file changed, 53

Re: [U-Boot] [RESEND PATCH 4/9] arm: mach-omap2: Add secure image name common to OMAP and keystone

2017-02-27 Thread Tom Rini
On Fri, Feb 24, 2017 at 06:59:41AM -0600, Andrew F. Davis wrote: > From: Madan Srinivas > > As K2 can directly boot U-Boot, add u-boot_HS_MLO as the secure image > name for secure K2 devices, for all boot modes other than SPI flash. > > Signed-off-by: Madan Srinivas

Re: [U-Boot] [PATCH v4 00/15] i.MX6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-27 Thread Jagan Teki
On Monday 27 February 2017 07:58 PM, Sébastien Szymanski wrote: Hello, On 02/26/2017 12:54 PM, Stefano Babic wrote: On 24/02/2017 11:15, Jagan Teki wrote: From: Jagan Teki Changes for v3: - Rebase on master - Fix checkpatch.pl Warnings - Add IMX6_BMODE_UART macro

Re: [U-Boot] [PATCH v4 00/15] i.MX6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-27 Thread Sébastien Szymanski
On 02/27/2017 03:38 PM, Jagan Teki wrote: > On Monday 27 February 2017 07:58 PM, Sébastien Szymanski wrote: >> Hello, >> >> On 02/26/2017 12:54 PM, Stefano Babic wrote: >>> On 24/02/2017 11:15, Jagan Teki wrote: From: Jagan Teki Changes for v3: -

Re: [U-Boot] [PATCH v4 00/15] i.MX6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-27 Thread Jagan Teki
Can you try export DTC from this repo if you haven't tried. git://jdl.com/software/dtc.git On Feb 27, 2017 8:17 PM, "Sébastien Szymanski" < sebastien.szyman...@armadeus.com> wrote: On 02/27/2017 03:38 PM, Jagan Teki wrote: > On Monday 27 February 2017 07:58 PM, Sébastien Szymanski wrote: >>

Re: [U-Boot] [RESEND PATCH 2/9] arm: mach-keystone: Implements FIT post-processing call for keystone SoCs

2017-02-27 Thread Tom Rini
On Fri, Feb 24, 2017 at 06:59:39AM -0600, Andrew F. Davis wrote: > From: Vitaly Andrianov > > This commit implements the board_fit_image_post_process() function for > the keystone architecture. This function calls into the secure boot > monitor for secure

Re: [U-Boot] [PATCH v4 2/7] arm: usb: dra7xx: xHCI registers based on USB port index

2017-02-27 Thread Roger Quadros
On 23/02/17 15:39, Uri Mashiach wrote: > Modify the determination of the base address of xHCI registers of DRA7XX > targets. > Before the commit: by the target. > After the commit: by the USB port index. > > Cc: Lokesh Vutla > Cc: Marek Vasut > Cc: Roger

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

2017-02-27 Thread Anatolij Gustschin
Hi Tom, please pull two bug fixes for -rc3. Thanks! The following changes since commit a0f3e3df4adc451bf56159c0672e570f9c934ee8: travis-ci: Temporarily disable using a newer device tree compiler (2017-02-26 15:25:30 -0500) are available in the git repository at:

Re: [U-Boot] [PATCH v4 4/7] arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks

2017-02-27 Thread Roger Quadros
Hi, On 26/02/17 14:27, Marek Vasut wrote: > On 02/23/2017 02:39 PM, Uri Mashiach wrote: >> Invoke enable_usb_clocks during board_usb_init and disable_usb_clocks >> during board_usb_exit to enable and disable clocks respectively. >> >> Modifications: >> * Enable USB clocks in the OMAP version of

Re: [U-Boot] [RESEND PATCH 6/9] doc: Updates info on using Keystone2 secure devices

2017-02-27 Thread Tom Rini
On Fri, Feb 24, 2017 at 06:59:43AM -0600, Andrew F. Davis wrote: > From: Madan Srinivas > > Add a section describing the secure boot image used on > Keystone2 secure devices. > > Signed-off-by: Madan Srinivas > Signed-off-by: Andrew F. Davis

Re: [U-Boot] [RESEND PATCH 8/9] defconfig: k2e_hs_evm: Add k2e_hs_evm_defconfig

2017-02-27 Thread Tom Rini
On Fri, Feb 24, 2017 at 06:59:45AM -0600, Andrew F. Davis wrote: > From: Vitaly Andrianov > > TI K2E secure devices have to be built with TI_SECURE_DEVICE, FIT, and > FIT_IMAGE_POST_PROCESS enabled. Add a dedicated defconfig for this. > > Signed-off-by: Vitaly Andrianov

Re: [U-Boot] [PATCH v4 3/3] configs: am43xx_evm: Enable SPL_DM

2017-02-27 Thread Tom Rini
On Tue, Feb 21, 2017 at 11:40:44AM +0530, Lokesh Vutla wrote: > Enable SPL_DM on all AM43xx based platforms > > Reviewed-by: Tom Rini > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [PATCH] travis-ci: Temporarily disable using a newer device tree compiler

2017-02-27 Thread Tom Rini
On Sun, Feb 26, 2017 at 11:52:21PM -0600, Robert Nelson wrote: > On Sun, Feb 26, 2017 at 11:29 PM, Heiko Schocher wrote: > > Hello Robert, > > > > Am 27.02.2017 um 05:34 schrieb Robert Nelson: > >> > >> On Sun, Feb 26, 2017 at 7:37 PM, Tom Rini wrote: > >>> >

Re: [U-Boot] [PATCH 15/20] drivers: Makefile: include fpga build in SPL

2017-02-27 Thread Michal Simek
On 25.2.2017 22:44, Marek Vasut wrote: > On 02/22/2017 10:47 AM, Ley Foon Tan wrote: >> Arria 10 SPL needs the drivers/fpga. >> >> Signed-off-by: Tien Fong Chee >> Signed-off-by: Ley Foon Tan >> --- >> drivers/Makefile | 1 + > > +CC Michal and

Re: [U-Boot] [PATCH] binman: Explicitly request python2 instead of python from env

2017-02-27 Thread Tom Rini
On Wed, Feb 22, 2017 at 10:25:38AM -0500, Tom Rini wrote: > On Thu, Feb 23, 2017 at 12:25:48AM +1100, Jonathan Gray wrote: > > On Mon, Feb 20, 2017 at 07:41:34PM +0100, Paul Kocialkowski wrote: > > > We now live in a world where python cannot be assumed to be python2. > > > As a matter of fact, it

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

2017-02-27 Thread Tom Rini
On Mon, Feb 27, 2017 at 07:51:38PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this PR. > > thanks! > Jagan > > The following changes since commit b24cf8540a85a9bf97975aadd6a7542f166c78a3: > > video: mxsfb: Fix reset hang when videomode variable is not present > (2017-02-22 21:47:59

[U-Boot] Mailing list moved

2017-02-27 Thread Wolfgang Denk
Hi all, hopefully unnoticed by anyone, we moved the mailing list to a new (faster, bigger, better) server. As far as we can tell, operation continues unchanged except for the fact that, when accessing the web interface for administration tasks, the "mailman" part of the URL was removed (but I

[U-Boot] [PATCH v2] serial: Add serial driver for Intel MID

2017-02-27 Thread Andy Shevchenko
Add a specific serial driver for Intel MID platforms. It has special fractional divider which can be programmed via UART_PS, UART_MUL, and UART_DIV registers. The UART clock is calculated as UART clock = XTAL * UART_MUL / UART_DIV The baudrate is calculated as baud rate = UART

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

2017-02-27 Thread Simon Glass
Hi Tom, On 26 February 2017 at 18:39, Tom Rini wrote: > > On Thu, Feb 23, 2017 at 09:42:57AM -0700, Simon Glass wrote: > > > Hi Tom, > > > > This includes support for two SoCs that have been in the works for a while: > > rk3188 from Heiko Stübner and and SPL for rk3399 from

Re: [U-Boot] [RESEND PATCH 7/9] Kconfig: Adds SYS_TEXT_BASE config option for Keystone2

2017-02-27 Thread Tom Rini
On Fri, Feb 24, 2017 at 06:59:44AM -0600, Andrew F. Davis wrote: > From: Madan Srinivas > > This patch makes SYS_TEXT_BASE a config option for Keystone2 > so that it can be used to load u-boot at different addresses > on secure and non-secure Keystone2 devices. > >

[U-Boot] [PATCH v5 11/16] sunxi: Enable UBI and NAND support

2017-02-27 Thread Maxime Ripard
From: Hans de Goede Enable the NAND and UBI support in the configuration header so that we can (finally) use it. Signed-off-by: Hans de Goede Signed-off-by: Maxime Ripard --- cmd/Kconfig| 4

[U-Boot] [PATCH v5 9/16] mtd: sunxi: Select the U-Boot location config option

2017-02-27 Thread Maxime Ripard
We'll need that symbol so that the default offset are defined Signed-off-by: Maxime Ripard --- drivers/mtd/nand/Kconfig | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index

[U-Boot] [PATCH v5 7/16] cmd: Expose a Kconfig option to enable UBIFS commands

2017-02-27 Thread Maxime Ripard
From: Boris Brezillon Create a new Kconfig entry to allow CMD_UBIFS selection from Kconfig and add an hidden LZO option that can be selected by CMD_UBIFS. Signed-off-by: Boris Brezillon Signed-off-by: Maxime Ripard

[U-Boot] [PATCH v5 8/16] cmd: nand: Expose optional suboptions in Kconfig

2017-02-27 Thread Maxime Ripard
From: Boris Brezillon Sometime we need to enable advanced suboptions of the nand command set. Expose these suboptions in Kconfig. Signed-off-by: Boris Brezillon Signed-off-by: Maxime Ripard

Re: [U-Boot] [PATCH v2] driver: net: ldpaa: Update priv->phydev after free()

2017-02-27 Thread Joe Hershberger
On Tue, Feb 21, 2017 at 7:09 AM, Er Krishna wrote: > Hi Guys, > > I want to understand cpu release command of u-boot and its implementation. > > When we do cpu release the satndalone application (may be kernel > or so) starts running on particular processor. How does it

Re: [U-Boot] [PATCH v4 2/7] arm: usb: dra7xx: xHCI registers based on USB port index

2017-02-27 Thread Marek Vasut
On 02/27/2017 05:14 PM, Roger Quadros wrote: > On 23/02/17 15:39, Uri Mashiach wrote: >> Modify the determination of the base address of xHCI registers of DRA7XX >> targets. >> Before the commit: by the target. >> After the commit: by the USB port index. >> >> Cc: Lokesh Vutla

Re: [U-Boot] [PATCH v4 2/7] arm: usb: dra7xx: xHCI registers based on USB port index

2017-02-27 Thread Marek Vasut
On 02/23/2017 02:39 PM, Uri Mashiach wrote: > Modify the determination of the base address of xHCI registers of DRA7XX > targets. > Before the commit: by the target. > After the commit: by the USB port index. > > Cc: Lokesh Vutla > Cc: Marek Vasut > Cc: Roger

Re: [U-Boot] [PATCH] ls1046ardb: SPL size reduction in case of non-xip boot

2017-02-27 Thread york sun
On 02/20/2017 04:30 AM, Sumit Garg wrote: > Using changes in this patch we were able to reduce approx 4k > size of u-boot-spl.bin image. Following is breif description of > changes to reduce SPL size: > 1. Changes in board/freescale/ls1046ardb/Makefile to remove >compilation of eth.c and

Re: [U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Tom Rini
On Mon, Feb 27, 2017 at 06:02:18PM +0100, Stefano Babic wrote: > On 27/02/2017 17:41, Fabio Estevam wrote: > > Hi Stefano, > > > > On Mon, Feb 27, 2017 at 10:29 AM, Stefano Babic wrote: > > > >> ok - I push it to -next, and I send my PR again after release. > > > > Peter

[U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit 66c246cce7c66019a93ff7105157c3e2126dd277: ARM: DRA7xx: Fix memory allocation overflow (2017-02-17 17:24:35 -0500) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master for you

Re: [U-Boot] [PATCH v2 09/10] armv8: mmu: Add a function to change mapping attributes

2017-02-27 Thread york sun
On 02/23/2017 09:54 AM, york@nxp.com wrote: > On 02/15/2017 03:18 PM, York Sun wrote: >> Function mmu_change_region_attr() is added to change existing mapping >> with updated PXN, UXN and memory type. This is a break-before-make >> process during which the mapping becomes fault (invalid)

[U-Boot] [PATCH v5 16/16] sunxi: Add support for the CHIP Pro

2017-02-27 Thread Maxime Ripard
The CHIP Pro is a SoM that features the GR8 SIP, an AXP209, a BT/WiFi chip and a 512MiB SLC NAND. This it's an SLC NAND, it doesn't suffer the same drawbacks than found on the MLC NANDs, and we can enable it right away. Signed-off-by: Maxime Ripard Reviewed-by:

[U-Boot] [PATCH v5 14/16] scripts: sunxi: Build an raw SPL image

2017-02-27 Thread Maxime Ripard
Introduce a new sunxi-spl-with-ecc.bin image with already the right header, ECC, randomizer and padding for the BROM to be able to read it. It needs to be flashed using a raw access to the NAND so that the controller doesn't change a thing to it, since we already have all the right parameters.

[U-Boot] [PATCH v5 13/16] nand: sunxi: Add options for the SPL NAND configuration

2017-02-27 Thread Maxime Ripard
The SPL image needs to be built with a different ECC configuration than the U-Boot binary. Add Kconfig options with defaults to provide a value that should work for anyone, but is still configurable if needs be. Signed-off-by: Maxime Ripard Acked-by: Boris

[U-Boot] [PATCH v5 3/16] tools: sunxi: Add spl image builder

2017-02-27 Thread Maxime Ripard
This program generates raw SPL images that can be flashed on the NAND with the ECC and randomizer properly set up. This has been copied (and tweaked to find the right headers) from the sunxi-tools (https://github.com/linux-sunxi/sunxi-tools) upstream repository, commit 1c3a6ca5. Signed-off-by:

Re: [U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Fabio Estevam
Hi Stefano, On Mon, Feb 27, 2017 at 10:29 AM, Stefano Babic wrote: > ok - I push it to -next, and I send my PR again after release. Peter Robinson's patches are bug fixes for mx6sx udoo neo to work correctly with distro config. Can we get them in for 2017.03? Thanks

[U-Boot] [PATCH v5 4/16] common: Move environment choice to Kconfig

2017-02-27 Thread Maxime Ripard
The environment location is something that might change per board (depending on what storage options are availaible there) or depending on the user choice (when we have several options). Instead of hardcoding it in our configuration header, create a Kconfig choice with the options we use for now,

[U-Boot] [PATCH v5 15/16] sunxi: Sync GR8 DTS and AXP209 with the kernel

2017-02-27 Thread Maxime Ripard
Those DT will be part of 4.10, sync them so we can have our own config. Signed-off-by: Maxime Ripard Reviewed-by: Hans de Goede --- arch/arm/dts/Makefile |1 +- arch/arm/dts/axp209.dtsi|6 +-

[U-Boot] [PATCH v5 0/16] sunxi: Add support for the CHIP Pro

2017-02-27 Thread Maxime Ripard
The CHIP Pro is a SoM made by NextThing Co, and that embeds a GR8 SIP, an AXP209 PMIC, a WiFi BT chip and a 512MB SLC NAND. Since the first Allwinner device coming whit an SLC NAND that doesn't have the shortcomings (and breakages) the MLC NAND has, we can finally enable the NAND support on a

Re: [U-Boot] [PATCH v5 6/16] mtd: ubi: Select RBTREE option from MTD_UBI Kconfig entry

2017-02-27 Thread Boris Brezillon
On Mon, 27 Feb 2017 18:22:05 +0100 Maxime Ripard wrote: > From: Boris Brezillon > > Expose the RBTREE feature through Kconfig and select this option from the > MTD_UBI option. > > Signed-off-by: Boris Brezillon

Re: [U-Boot] [PATCH] ls1043ardb: SPL size reduction in case of non-xip boot

2017-02-27 Thread york sun
On 02/20/2017 03:18 AM, Sumit Garg wrote: > Using changes in this patch we were able to reduce approx 10k > size of u-boot-spl.bin image. Following is breif description of > changes to reduce SPL size: > 1. Changes in board/freescale/ls1043ardb/Makefile to remove >compilation of eth.c and

[U-Boot] [PATCH v5 1/16] nand: sunxi: Fix modulo by zero error

2017-02-27 Thread Maxime Ripard
When trying to autodetect the ECC and randomization configurations, the driver starts with a randomization disabled and no seeds. In this case, the number of seeds is obviously 0, and the randomize boolean is set to false. However, the logic that retrieves the seed for a given page offset will

[U-Boot] [PATCH v5 5/16] cmd: Add Kconfig option for CMD_MTDPARTS and related options

2017-02-27 Thread Maxime Ripard
CMD_MTDPARTS is something the user might or might not want to select, and might depends on (or be selected by) other options too. This is even truer for the MTDIDS_DEFAULT and MTDPARTS_DEFAULT options that might change from one board to another, or from one user to the other, depending on what it

[U-Boot] [PATCH v5 6/16] mtd: ubi: Select RBTREE option from MTD_UBI Kconfig entry

2017-02-27 Thread Maxime Ripard
From: Boris Brezillon Expose the RBTREE feature through Kconfig and select this option from the MTD_UBI option. Signed-off-by: Boris Brezillon Signed-off-by: Maxime Ripard ---

Re: [U-Boot] [PATCH v3 00/10] stm32f7: add clock and pin control drivers

2017-02-27 Thread Vikas MANOCHA
Hi Tom, If it is ok, please apply this patchset. Cheers, Vikas > -Original Message- > From: Vikas MANOCHA > Sent: Sunday, February 12, 2017 10:26 AM > To: u-boot@lists.denx.de > Cc: Vikas MANOCHA > Subject: [PATCH v3 00/10] stm32f7: add clock and pin control

Re: [U-Boot] [PATCH] rockchip: video: fix 83500000 clock mistake in rockchip HDMI

2017-02-27 Thread Anatolij Gustschin
On Mon, 27 Feb 2017 17:04:21 +0800 Nickey Yang nickey.y...@rock-chips.com wrote: > There is one "0" too many in 8350 mpixelclock in rockchip_mpll_cfg[]. > fix it. > > Signed-off-by: Nickey Yang > --- > drivers/video/rockchip/rk_hdmi.c | 2 +- > 1 file changed, 1

Re: [U-Boot] [RESEND PATCH 3/9] arm: mach-omap2: Enable Kconfig support for K2 HS devices

2017-02-27 Thread Tom Rini
On Fri, Feb 24, 2017 at 06:59:40AM -0600, Andrew F. Davis wrote: > From: Vitaly Andrianov > > Like the OMAP54xx, AM43xx, & AM33xx family SoCs, the keystone family > of SoCs also have high security enabled models. Allow K2E devices to > be built with HS Device Type Support. > >

Re: [U-Boot] [RESEND PATCH 9/9] defconfig: k2hk_hs_evm: Add k2hk_hs_evm_defconfig

2017-02-27 Thread Tom Rini
On Fri, Feb 24, 2017 at 06:59:46AM -0600, Andrew F. Davis wrote: > TI K2HK secure devices have to be built with TI_SECURE_DEVICE, FIT, and > FIT_IMAGE_POST_PROCESS enabled. Add a dedicated defconfig for this. > > Signed-off-by: Andrew F. Davis > --- > configs/k2hk_hs_evm_defconfig

Re: [U-Boot] [RESEND PATCH 5/9] ARM: Keystone2: Build secure images for K2

2017-02-27 Thread Tom Rini
On Fri, Feb 24, 2017 at 06:59:42AM -0600, Andrew F. Davis wrote: > From: Madan Srinivas > > Adds an additional image type needed for supporting secure keystone > devices. The build generates u-boot_HS_MLO which can be used to boot > from all media on secure keystone devices. > >

Re: [U-Boot] [PATCH] arm: mach-omap2: Flush cache after FIT post-processing image

2017-02-27 Thread Tom Rini
On Wed, Feb 22, 2017 at 05:46:39PM -0600, Andrew F. Davis wrote: > After we authenticate/decrypt an image we need to flush the caches > as they may still contain bits of the encrypted image. This will > cause failures if we attempt to jump to this image. > > Reported-by: Yogesh

Re: [U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Peter Robinson
On Mon, Feb 27, 2017 at 1:29 PM, Stefano Babic wrote: > On 27/02/2017 14:22, Tom Rini wrote: >> On Mon, Feb 27, 2017 at 10:12:59AM +0100, Stefano Babic wrote: >>> Hi Tom, >>> >>> please pull from u-boot-imx, thanks ! >>> >>> The following changes since commit

Re: [U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Stefano Babic
On 27/02/2017 17:41, Fabio Estevam wrote: > Hi Stefano, > > On Mon, Feb 27, 2017 at 10:29 AM, Stefano Babic wrote: > >> ok - I push it to -next, and I send my PR again after release. > > Peter Robinson's patches are bug fixes for mx6sx udoo neo to work > correctly with distro

[U-Boot] [PATCH v5 2/16] bch: Allow to build for the host

2017-02-27 Thread Maxime Ripard
We will need the bch functions in the tool to generate the SPL images for the Allwinner SoCs. Do the needed adjustments so that we can use it on the host. Signed-off-by: Maxime Ripard Reviewed-by: Tom Rini --- lib/bch.c | 48

[U-Boot] [PATCH v5 10/16] mtd: sunxi: Change U-Boot offset

2017-02-27 Thread Maxime Ripard
The default U-Boot offset for the Allwinner SoCs was set to 32kB. This was probably to try to maintain some compatibility with the current image that we build for the MMC where the U-Boot binary is also located at a 32kB offset. However, this causes a number of issues. The first one is that it

[U-Boot] [PATCH v5 12/16] sunxi: Add the default mtdids and mtdparts to our env

2017-02-27 Thread Maxime Ripard
In order for the user to be able to see and modify them, add those variables to the default environment. Signed-off-by: Maxime Ripard Reviewed-by: Tom Rini --- include/configs/sunxi-common.h | 16 1 file changed, 16

Re: [U-Boot] [PATCH v4 00/15] i.MX6: Engicam i.CoreM6/Is.IoT eMMC boot support

2017-02-27 Thread Stefano Babic
Hi Sebastien, On 27/02/2017 15:28, Sébastien Szymanski wrote: > Hello, > > On 02/26/2017 12:54 PM, Stefano Babic wrote: >> On 24/02/2017 11:15, Jagan Teki wrote: >>> From: Jagan Teki >>> >>> Changes for v3: >>> - Rebase on master >>> - Fix checkpatch.pl Warnings >>>

Re: [U-Boot] [PATCH] splash: Prevent splash_load_fs from writing to 0x0

2017-02-27 Thread Anatolij Gustschin
On Fri, 24 Feb 2017 17:46:10 +0100 Jonathan Golder jonathan.gol...@kurz-elektronik.de wrote: > Passing NULL to fs_read() for actread value results in hanging U-Boot > at least on our ARM plattform (TI AM335x). Since fs_read() and > following functions do not catch nullpointers, writing to 0x0

Re: [U-Boot] [PATCH v4 3/7] usb: host: xhci-omap: fix double weak board_usb_init functions

2017-02-27 Thread Roger Quadros
Hi, On 23/02/17 15:39, Uri Mashiach wrote: > A weak version of the function board_usb_init is implemented in: > common/usb.c > drivers/usb/host/xhci-omap.c > > To fix the double implementations: > * Convert the board_usb_init function in drivers/usb/host/xhci-omap.c > normal (not weak). > *

[U-Boot] [PATCH] armv5te: make 'ret lr' produce iinterworking 'bx lr'

2017-02-27 Thread Albert ARIBAUD
Current ARM assembler helper for the 'return to caller' pseudo-instruction turns 'ret lr' into 'mov pc, lr' for ARMv5TE. This causes the core to remain in its current ARM state even when the routine doing the 'ret' was called from Thumb-1 state, triggering an undefined instruction exception. This

Re: [U-Boot] [PATCH v4 4/7] arm: am57xx: cl-som-am57x: invoke clock API to enable/disable clocks

2017-02-27 Thread Marek Vasut
On 02/27/2017 05:24 PM, Roger Quadros wrote: > Hi, > > On 26/02/17 14:27, Marek Vasut wrote: >> On 02/23/2017 02:39 PM, Uri Mashiach wrote: >>> Invoke enable_usb_clocks during board_usb_init and disable_usb_clocks >>> during board_usb_exit to enable and disable clocks respectively. >>> >>>

Re: [U-Boot] Complete verified uboot example

2017-02-27 Thread Rick Altherr
The projects I'm working on are based on Yocto so I've been using the u-boot signing support that is built in there. I believe the magic you are looking for is in http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/uboot-sign.bbclass. Specifically, when you run 'mkimage -F -k -K -r

Re: [U-Boot] Complete verified uboot example

2017-02-27 Thread Rick Altherr
You set the load address for the linux image to the same location as the FIT. U-Boot verified the hashes on the FIT and then tried to copy the kernel over top the FIT. I assume you put the FIT in flash. Pick a location in RAM for the kernel's load address. On Mon, Feb 27, 2017 at 1:49 PM, Ron

[U-Boot] [PATCH] rockchip: video: fix 83500000 clock mistake in rockchip HDMI

2017-02-27 Thread Nickey Yang
There is one "0" too many in 8350 mpixelclock in rockchip_mpll_cfg[]. fix it. Signed-off-by: Nickey Yang --- drivers/video/rockchip/rk_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/rockchip/rk_hdmi.c

Re: [U-Boot] [PATCH] rockchip: video: fix mpixelclock in rockchip HDMI

2017-02-27 Thread Nickey.Yang
Hi Simon, 在 2017年02月24日 00:19, Simon Glass 写道: Hi Nickey, On 22 February 2017 at 23:56, Nickey.Yang wrote: Hi Simon, 在 2017年02月23日 11:52, Simon Glass 写道: Hi, On 11 January 2017 at 22:08, Simon Glass wrote: On 28 December 2016 at 23:01,

Re: [U-Boot] [PATCH 01/20] arm: socfpga: restructure clock manager driver

2017-02-27 Thread Ley Foon Tan
On Sab, 2017-02-25 at 22:18 +0100, Marek Vasut wrote: > On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > > > > Restructure clock manager driver in the preparation to support A10. > > Move the Gen5 specific code to _gen5 files. No functional change. > > > > Change all uint32_t to u32 and change to

Re: [U-Boot] [U-boot] Question about bootp structure pack

2017-02-27 Thread Lukasz Majewski
On Sun, 26 Feb 2017 07:27:42 +0100 Eric BOUXIROT wrote: > I’m using u-boot-2015.07 in one of my project based on vpac270 soc > module. > > u-boot is well configured and build is fine without error. > > Gcc is v3.4.5 and glibc v2.3.6 built by crosstool 0.43 for >

[U-Boot] [PULL] Please pull u-boot-imx

2017-02-27 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit b24cf8540a85a9bf97975aadd6a7542f166c78a3: video: mxsfb: Fix reset hang when videomode variable is not present (2017-02-22 21:47:59 +0100) are available in the git repository at:

Re: [U-Boot] [PATCH 0/6] sunxi: update Pine64/A64 DTs

2017-02-27 Thread Andre Przywara
Hi, On 27/02/17 03:30, Chen-Yu Tsai wrote: > On Mon, Feb 27, 2017 at 8:26 AM, Andre Przywara > wrote: >> Hi, >> >> in the wake of the sunxi DM enablement series it became apparent that >> the current device tree files for the A64 SoC and its board are outdated. >> >>

Re: [U-Boot] [PATCH 05/20] arm: socfpga: add A10 defines

2017-02-27 Thread Ley Foon Tan
On Sab, 2017-02-25 at 22:20 +0100, Marek Vasut wrote: > On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > > > > add i2c, timer and other A10 defines. > Start with capital letter please. > > > > > Signed-off-by: Dinh Nguyen > > Signed-off-by: Ley Foon Tan

Re: [U-Boot] [PATCH 05/20] arm: socfpga: add A10 defines

2017-02-27 Thread Marek Vasut
On 02/27/2017 10:45 AM, Ley Foon Tan wrote: > On Sab, 2017-02-25 at 22:20 +0100, Marek Vasut wrote: >> On 02/22/2017 10:47 AM, Ley Foon Tan wrote: >>> >>> add i2c, timer and other A10 defines. >> Start with capital letter please. >> >>> >>> Signed-off-by: Dinh Nguyen

Re: [U-Boot] [PATCH 1/6] sunxi: GPIO: introduce sunxi_gpio_setup_dt_pins()

2017-02-27 Thread Maxime Ripard
On Mon, Feb 27, 2017 at 12:26:40AM +, Andre Przywara wrote: > Instead of hard-coding GPIO pins used for a certain peripheral, we > should just use the pinctrl information from the DT. > The sun8i-emac driver has some simple implementation of that, so > let's just generalize this and move the

Re: [U-Boot] [PATCH 05/20] arm: socfpga: add A10 defines

2017-02-27 Thread Ley Foon Tan
On Isn, 2017-02-27 at 11:00 +0100, Marek Vasut wrote: > On 02/27/2017 10:45 AM, Ley Foon Tan wrote: > > > > On Sab, 2017-02-25 at 22:20 +0100, Marek Vasut wrote: > > > > > > On 02/22/2017 10:47 AM, Ley Foon Tan wrote: > > > > > > > > > > > > add i2c, timer and other A10 defines. > > > Start

  1   2   >