[U-Boot] [PATCH 3/3] arm64: layerscape: Move CONFIG_HAS_FSL_DR_USB to Kconfig

2017-12-18 Thread Ran Wang
Rename to USB_EHCI_FSL, use Kconfig to select ehci accordingly. Signed-off-by: Ran Wang --- drivers/usb/host/Kconfig | 6 ++ include/configs/ls1012aqds.h | 11 --- include/configs/ls1021aqds.h | 11 --- include/configs/ls1021atwr.h | 20

[U-Boot] [PATCH 2/3] usb: ehci: fsl: Fix some compile warnings.

2017-12-18 Thread Ran Wang
Signed-off-by: Ran Wang --- drivers/usb/host/ehci-fsl.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 62c431b..17d1fae 100644 --- a/drivers/usb/host/ehci-fsl.c +++

[U-Boot] [PATCH 1/3] armv8: ls1012a: Add USB 2.0 controller phy type for ls1012aqds board

2017-12-18 Thread Ran Wang
Without this propertiy, U-Boot will pop warning of 'USB phy type not defined' when select CONFIG_HAS_FSL_DR_USB. Signed-off-by: Ran Wang --- arch/arm/dts/fsl-ls1012a-qds.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/fsl-ls1012a-qds.dtsi

Re: [U-Boot] [EXT] [PATCH] arm64: mvebu: armada-8k: support SD card environment

2017-12-18 Thread Baruch Siach
Hi Kostya, Thanks for reviewing. On Thu, Dec 14, 2017 at 11:28:18AM +, Kostya Porotchkin wrote: > > Allow storing the environment on the Macchiatobin SD card. This is > > useful for distribution of SD card software images. Currently, the > > environment is always loaded from the SPI flash

Re: [U-Boot] [PATCH 09/13] board: ti: am574x-idk: Add ddr data support

2017-12-18 Thread Lokesh Vutla
Hi Lukas, On Monday 18 December 2017 04:46 PM, Lukasz Majewski wrote: > Hi Lokesh, > >> AM574x-idk has the following DDR parts attached: >> EMIF1: MT41K256M16HA (1GB with ECC) >> EMIF2: MT41K256M16HA (1GB without ECC) >> >> Enabling 2GB DDR without interleaving between EMIFs. And >> enabling ECC

Re: [U-Boot] [PATCH 11/13] board: ti: am57xx: Enable CMD_DDR3

2017-12-18 Thread Lokesh Vutla
Hi Lukas, On Monday 18 December 2017 04:48 PM, Lukasz Majewski wrote: > Hi Lokesh, > >> Enable CMD_DDR3 on all am57xx based platforms. >> >> Signed-off-by: Lokesh Vutla >> --- >> arch/arm/mach-omap2/omap5/Kconfig | 1 + >> 1 file changed, 1 insertion(+) >> >> diff --git

Re: [U-Boot] [PATCH 2/5] board: TI K2G: FC SoC 1GHz and DDR3 1066 MT/s support

2017-12-18 Thread Lokesh Vutla
On Monday 18 December 2017 09:16 PM, Tom Rini wrote: > On Mon, Dec 18, 2017 at 03:10:04PM +0530, Lokesh Vutla wrote: > >> From: Rex Chang >> >> Added support for K2G EVM with FlipChip SoC of which >> ARM/DDR3 runs at 1GHz/1066 MT/s. The patch is also >> backward compatible with

Re: [U-Boot] [PATCH 04/13] arm: keystone: Move cmd_ddr3 to a common place

2017-12-18 Thread Lokesh Vutla
On Tuesday 19 December 2017 01:33 AM, Tom Rini wrote: > On Mon, Dec 18, 2017 at 03:04:16PM +0530, Lokesh Vutla wrote: > >> Move cmd_ddr3 to board/ti/common/ in order to make >> it build for non-keystone TI platforms. >> >> Signed-off-by: Lokesh Vutla > [snip] >> diff --git

Re: [U-Boot] [PATCH 6/7] tools: fix incorrect usage of DT node unit address

2017-12-18 Thread Simon Glass
On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Correct the generated unit names when U-Boot's mkimage

Re: [U-Boot] Please pull u-boot-mmc master

2017-12-18 Thread Jaehoon Chung
On 12/19/2017 08:36 AM, Tom Rini wrote: > On Thu, Dec 14, 2017 at 11:16:55AM +0900, Jaehoon Chung wrote: > >> Dear Tom, >> >> Could you pull these patches to u-boot/master? >> Sorry for late. We want to support HS200/UHS mode at v2018.01. >> >> I have tested the buildman about all configs. >> I

Re: [U-Boot] [PATCH 3/7] doc: fix incorrect usage of DT node unit address

2017-12-18 Thread Simon Glass
On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Fix all occurences in various documentation files where

Re: [U-Boot] [PATCH 4/7] fix incorrect usage of DT node unit address in comments

2017-12-18 Thread Simon Glass
On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Fix all occurences in the tree where node names were

Re: [U-Boot] [PATCH 7/7] armv8: secure firmware: fix incorrect unit address in node name

2017-12-18 Thread Simon Glass
Hi Andre, On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Remove the unit address from the config node

Re: [U-Boot] [PATCH 1/7] doc: FIT image: fix incorrect description of DT node unit address

2017-12-18 Thread Simon Glass
On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Fix all occurences in the FIT image documentation files

Re: [U-Boot] [PATCH 2/7] doc: FIT image: fix incorrect examples of DT node unit address

2017-12-18 Thread Simon Glass
On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address of a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Fix all occurences in the FIT image example files where

Re: [U-Boot] [PATCH 5/7] sunxi: arm64: correct usage of DT node address in FIT generation

2017-12-18 Thread Simon Glass
Hi Andre, On 3 December 2017 at 19:05, Andre Przywara wrote: > The DT spec demands a unit-address in a node name to match the "reg" > property in that node. Newer dtc versions will throw warnings if this is > not the case. > Adjust the FIT build script for 64-bit

[U-Boot] [PATCH] Powerpc: T208xQDS: Modify the comment of the CONFIG_FSL_PCIE_RESET macro

2017-12-18 Thread Bao Xiaowei
Remove duplicate macro CONFIG_FSL_PCIE_RESET and update its comment. It enables PCIe reset to fix link width 2x - 4x. Signed-off-by: Bao Xiaowei --- include/configs/T208xQDS.h |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git

Re: [U-Boot] [PATCH] spl: atf: fix the plat_params

2017-12-18 Thread Kever Yang
Hi Philipp, On 12/15/2017 05:07 PM, Dr. Philipp Tomsich wrote: Kever, If you need/want to disable this, could you make this conditional on a new Kconfig option? That way we can disable it for those boards that still ship with an old ATF That's not an "old" ATF, it's the latest upstream

[U-Boot] [ANN] U-Boot v2018.01-rc2 released

2017-12-18 Thread Tom Rini
Hey all, It's release day and v2018.01-rc2 is out. I'm mostly happy with the size of the changes here and I did remember to sync the defconfigs prior to tagging. Once again, at this point, any changes that come in need to be clear fixes to a problem or Kconfig migrations that can be shown as

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

2017-12-18 Thread Tom Rini
On Tue, Dec 19, 2017 at 12:25:28AM +0100, Dr. Philipp Tomsich wrote: > Tom, > > there’s a few stabilisation fixes and documentation/packaging improvements > on u-boot-rockchip/master for you for merge/pull. > > A matching Travis CI run is at >

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

2017-12-18 Thread Tom Rini
On Mon, Dec 18, 2017 at 04:26:24PM +, York Sun wrote: > Tom, > > The following changes since commit cf71338ee7a1dc16f13a4f1b89f32c624210df45: > > ata: Migrate CONFIG_MVSATA_IDE to Kconfig (2017-12-12 18:16:06 -0500) > > are available in the git repository at: > >

Re: [U-Boot] [GIT PULL] Xilinx fixes for v2018.01-rc2 v2

2017-12-18 Thread Tom Rini
On Mon, Dec 18, 2017 at 01:34:03PM +0100, Michal Simek wrote: > Hi Tom, +Stephen > > This is second pull request. I have removed that AES command enabling > which was causing compilation warning on arm64. > > Thanks, > Michal > > The following changes since commit

Re: [U-Boot] [U-Boot, u-boot] ARM: arch-meson: fix writel arguments order

2017-12-18 Thread Tom Rini
On Tue, Dec 12, 2017 at 02:23:39PM +0100, Neil Armstrong wrote: > From: Hans Verkuil > > Using writel causes a "Synchronous Abort". Invert the arguments. > > Signed-off-by: Hans Verkuil > Signed-off-by: Neil Armstrong

Re: [U-Boot] [U-Boot, u-boot] net: phy: meson-gxl: detect LPA corruption

2017-12-18 Thread Tom Rini
On Tue, Dec 12, 2017 at 04:03:55PM +0100, Neil Armstrong wrote: > From: Jerome Brunet > > This patch is ported from the Linux patch posted at [1] and applied to > net tree as commit f1e2400a80ff. > > The purpose of this change is to fix the incorrect detection of the link

Re: [U-Boot] common: image.c: Fix CACHE: Misaligned operation output

2017-12-18 Thread Tom Rini
On Thu, Dec 14, 2017 at 11:19:22AM +0100, Heiko Schocher wrote: > When booting a itb file with a Ramdisk on a imx6 based > board, U-Boot drops the warning: > > Loading Kernel Image ... OK > Loading Ramdisk to 4ecf1000, end 4ef8b11f ... \ > CACHE: Misaligned operation at range [4ecf1000,

Re: [U-Boot] [PULL] efi patch queue 2017-12-17

2017-12-18 Thread Tom Rini
On Sun, Dec 17, 2017 at 09:33:44PM +0100, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit 15616a0aa58173bce1efe47569bf2e10d023ae9c: > > Merge git://git.denx.de/u-boot-dm (2017-12-14 15:46:07 -0500)

Re: [U-Boot] am335x_evm: Fix DFU for eMMC

2017-12-18 Thread Tom Rini
On Tue, Dec 12, 2017 at 08:07:41PM +0200, Sam Protsenko wrote: > Use dfu_alt_info_emmc variable from include/environment/ti/dfu.h file. > It was probably overlooked when extracting DFU variables to mentioned > file. > > This patch fixes DFU on BeagleBone Black, so that we can use commands > like

Re: [U-Boot] [PATCH] am335x_hs_evm: Trim options in SPL to reduce binary size

2017-12-18 Thread Tom Rini
On Sat, Dec 16, 2017 at 11:04:53PM -0500, Tom Rini wrote: > The am335x_hs_evm runs into size constraint problems at times with > various toolchains as changes come in due to the config have a large > number of options in SPL (to showcase what is possible) while also > having rather constrained

Re: [U-Boot] Please pull u-boot-mmc master

2017-12-18 Thread Tom Rini
On Thu, Dec 14, 2017 at 11:16:55AM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches to u-boot/master? > Sorry for late. We want to support HS200/UHS mode at v2018.01. > > I have tested the buildman about all configs. > I didn't see any problem, but if i missed something,

Re: [U-Boot] [PATCH] dm: mmc: sandbox: Update SD card emulation

2017-12-18 Thread Tom Rini
On Thu, Dec 14, 2017 at 11:47:14AM +0100, Jean-Jacques Hiblot wrote: > The SDcard initialization procedure does a few more things than it did > earlier: > * switch the bus width even for 1-bit bus width > * check that speed has been properly set (in resp[4] of SD_CMD_SWITCH_FUNC) > > Update the

[U-Boot] [PULL] Please pull u-boot-rockchip/master

2017-12-18 Thread Dr. Philipp Tomsich
Tom, there’s a few stabilisation fixes and documentation/packaging improvements on u-boot-rockchip/master for you for merge/pull. A matching Travis CI run is at https://travis-ci.org/ptomsich/u-boot-rockchip/builds/318163689 Cheers, Philipp. The following changes since commit

Re: [U-Boot] [U-Boot, v3, 2/3] rockchip: firefly-rk3399: add FIT for rk3399

2017-12-18 Thread Philipp Tomsich
> Enable SPL_FIT_GENERATOR with path for it. > With this patch you can get u-boot.itb for rk3399-firefly with: > > make u-boot.itb > > Signed-off-by: Kever Yang > Reviewed-by: Mark Kettenis > Tested-by: Mark Kettenis >

Re: [U-Boot] [U-Boot, v3, 3/3] rockchip: evb-rk3399: update document for board bring up

2017-12-18 Thread Philipp Tomsich
> Since we support ATF in SPL and add script for it, let's make the > document up to date. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > Changes in v3: > - update addr for uboot.itb to 0x4000 > > Changes

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: add a common script for generate fit its

2017-12-18 Thread Philipp Tomsich
> Rockchip release bl31.elf file for armv8 SoCs like rk3399, rk3328, > the elf have more than one section, we need to decode it first and > packed them into u-boot.itb with its file. This script is to generate > the its script. > Need default bl31.elf in root directory of U-Boot source and dtb >

Re: [U-Boot] [PATCH v3] drivers: core: Add translation in live tree case

2017-12-18 Thread Stephen Warren
On 12/18/2017 03:33 PM, Stephen Warren wrote: On 12/18/2017 03:29 PM, Stephen Warren wrote: On 12/18/2017 01:34 AM, Mario Six wrote: The function dev_read_addr calls ofnode_get_addr_index in the live tree case, which does not apply bus translations to the address read from the device tree.

Re: [U-Boot] [PATCH v3] drivers: core: Add translation in live tree case

2017-12-18 Thread Stephen Warren
On 12/18/2017 03:29 PM, Stephen Warren wrote: On 12/18/2017 01:34 AM, Mario Six wrote: The function dev_read_addr calls ofnode_get_addr_index in the live tree case, which does not apply bus translations to the address read from the device tree. This results in illegal addresses on boards that

Re: [U-Boot] [PATCH v3] drivers: core: Add translation in live tree case

2017-12-18 Thread Stephen Warren
On 12/18/2017 01:34 AM, Mario Six wrote: The function dev_read_addr calls ofnode_get_addr_index in the live tree case, which does not apply bus translations to the address read from the device tree. This results in illegal addresses on boards that rely on bus translations being applied. Fix

[U-Boot] [PATCH] PCI: Drop CONFIG_TSI108_PCI

2017-12-18 Thread Tuomas Tynkkynen
Last user of this option went away in 2015 in commit: d928664f41 ("powerpc: 74xx_7xx: remove 74xx_7xx cpu support") Signed-off-by: Tuomas Tynkkynen --- drivers/pci/Makefile | 1 - drivers/pci/tsi108_pci.c | 167 --- 2 files

Re: [U-Boot] Socfpga: configure FPGA to SDRAM interface without reprogramming the FPGA

2017-12-18 Thread Marek Vasut
On 12/18/2017 09:44 PM, Jan Siegmund wrote: > Hi all, Hi, > Here is another question on the FPGA to SDRAM interface of the Cyclone V SoC. > Is is possible to configure the the interface in U-Boot or SPL, What is "the interface" ? If you mean DRAM, then yes, the CV/AV do _not_ configure the

Re: [U-Boot] Anyone using recentish u-boot on a GuruPlug?

2017-12-18 Thread Chris Packham
Hi Martin, On Mon, Dec 18, 2017 at 8:35 AM, Martin Husemann wrote: > I tested the RAM version now and indeed it does not work either. > > With my old u-boot I get: > > U-Boot 2013.10 (Oct 21 2013 - 20:54:41) > Marvell-GuruPlug > > SoC: Kirkwood 88F6281_A1 > DRAM: 512 MiB >

[U-Boot] Socfpga: configure FPGA to SDRAM interface without reprogramming the FPGA

2017-12-18 Thread Jan Siegmund
Hi all, Here is another question on the FPGA to SDRAM interface of the Cyclone V SoC. Is is possible to configure the the interface in U-Boot or SPL, without reprogramming the FPGA? Maybe through the usage of the generated header files from the Quartus synthesis? The SDRAM controller's registers

[U-Boot] [PATCH 2/2] ARM: sunxi: Enable DM MMC+SATA for the PcDuino3 Nano board

2017-12-18 Thread Tuomas Tynkkynen
After the previous commit which adds support for the cd-inverted property to the sunxi MMC driver, driver-model MMC works fine on this board. Signed-off-by: Tuomas Tynkkynen --- configs/Linksprite_pcDuino3_Nano_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 1/2] mmc: sunxi: Support cd-inverted DT property

2017-12-18 Thread Tuomas Tynkkynen
Commit 8620f384098b ("dm: sunxi: Linksprite_pcDuino3: Correct polarity of MMC card detect") claims that the Pcduino3 device tree has an incorrect polarity for the card detect pin, but the actual problem is that unlike the Linux MMC driver, the U-Boot driver isn't respecting the cd-invert property

Re: [U-Boot] [PATCH v2 7/8] db410c: configs: increase max kernel size

2017-12-18 Thread Jorge Ramirez
On 12/18/2017 08:31 PM, Tom Rini wrote: On Thu, Dec 14, 2017 at 02:26:59PM +0100, Jorge Ramirez-Ortiz wrote: the kernel fails to boot when it goes over the limit. Signed-off-by: Jorge Ramirez-Ortiz --- include/configs/dragonboard410c.h | 2 +- 1 file

Re: [U-Boot] [PATCH 12/13] ARM: dts: am574x-idk: Add initial support

2017-12-18 Thread Tom Rini
On Mon, Dec 18, 2017 at 03:04:24PM +0530, Lokesh Vutla wrote: > Add initial dts support for am574x-idk > > Signed-off-by: Lokesh Vutla > --- > - DTS patch posted to kernel: https://patchwork.kernel.org/patch/10118295/ > arch/arm/dts/Makefile | 1 + >

Re: [U-Boot] [PATCH 04/13] arm: keystone: Move cmd_ddr3 to a common place

2017-12-18 Thread Tom Rini
On Mon, Dec 18, 2017 at 03:04:16PM +0530, Lokesh Vutla wrote: > Move cmd_ddr3 to board/ti/common/ in order to make > it build for non-keystone TI platforms. > > Signed-off-by: Lokesh Vutla [snip] > diff --git a/board/ti/common/Makefile b/board/ti/common/Makefile > index

Re: [U-Boot] [PATCH v2 7/8] db410c: configs: increase max kernel size

2017-12-18 Thread Tom Rini
On Thu, Dec 14, 2017 at 02:26:59PM +0100, Jorge Ramirez-Ortiz wrote: > the kernel fails to boot when it goes over the limit. > > Signed-off-by: Jorge Ramirez-Ortiz > --- > include/configs/dragonboard410c.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [U-Boot] SPI Slave mode Device Tree

2017-12-18 Thread Fabio Estevam
Hi Amartya, On Mon, Dec 18, 2017 at 8:25 AM, Amartya Shreyank (RBEI/ESD2) wrote: > Hi, > > While going over device tree binding documentation I came across this: > > /doc/device-tree-bindins/spi/spi-bus.txt: "This binding does not describe SPI > controllers in

Re: [U-Boot] [PATCH] config: Enable part command for socfpga platform

2017-12-18 Thread Andrey Zhizhikin
Hello Marek, On Mon, Dec 18, 2017 at 12:39 PM, Marek Vasut wrote: > On 12/18/2017 12:10 PM, Andrey Zhizhikin wrote: >> Enable CONFIG_CMD_PART item, as default environment requires it >> and complains this command in unknown. > > Fine by me, but what about the other boards, don't

[U-Boot] [PATCH] ARM: socfpga: Enable part command for socfpga platform

2017-12-18 Thread Andrey Zhizhikin
Enable CONFIG_CMD_PART item, as default environment requires it and complains this command in unknown. Signed-off-by: Andrey Zhizhikin --- configs/socfpga_arria10_defconfig | 1 + configs/socfpga_arria5_defconfig | 1 + configs/socfpga_cyclone5_defconfig | 1 +

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-18 Thread Patrick Brünn
>From: Marek Vasut [mailto:ma...@denx.de] >Sent: Montag, 18. Dezember 2017 11:57 >On 12/18/2017 11:47 AM, Patrick Brünn wrote: >>> From: Marek Vasut [mailto:ma...@denx.de] >>> Sent: Montag, 18. Dezember 2017 10:17 >>> On 12/18/2017 10:02 AM, linux-kernel-...@beckhoff.com wrote: From: Patrick

Re: [U-Boot] [PULL] efi patch queue 2017-12-17

2017-12-18 Thread Emmanuel Vadot
On Mon, 18 Dec 2017 23:29:27 +1100 Jonathan Gray wrote: > On Sun, Dec 17, 2017 at 09:33:44PM +0100, Alexander Graf wrote: > > Hi Tom, > > > > This is my current patch queue for efi. Please pull. > > > > Alex > > > > > > The following changes since commit

[U-Boot] [PATCH] config: Enable part command for socfpga platform

2017-12-18 Thread Andrey Zhizhikin
Enable CONFIG_CMD_PART item, as default environment requires it and complains this command in unknown. Signed-off-by: Andrey Zhizhikin diff --git a/configs/socfpga_arria5_defconfig b/configs/socfpga_arria5_defconfig index 8ed6169..2685881 100644 ---

Re: [U-Boot] [PATCH] arm: imx: cx9020: remove usage of mx53_dram_size

2017-12-18 Thread Patrick Brünn
Hi Lothar, >From: Lothar Waßmann [mailto:l...@karo-electronics.de] >Sent: Freitag, 15. Dezember 2017 15:02 > >Hi, > >On Fri, 15 Dec 2017 13:56:15 +0100 linux-kernel-...@beckhoff.com wrote: >> From: Patrick Bruenn >> >> Global variables are not available during

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-18 Thread Patrick Brünn
>From: Marek Vasut [mailto:ma...@denx.de] >Sent: Montag, 18. Dezember 2017 12:52 >On 12/18/2017 12:40 PM, Patrick Brünn wrote: >>> From: Marek Vasut [mailto:ma...@denx.de] >>> Sent: Montag, 18. Dezember 2017 11:57 >>> On 12/18/2017 11:47 AM, Patrick Brünn wrote: > From: Marek Vasut

[U-Boot] SPI Slave mode Device Tree

2017-12-18 Thread Amartya Shreyank (RBEI/ESD2)
Hi, While going over device tree binding documentation I came across this: /doc/device-tree-bindins/spi/spi-bus.txt: "This binding does not describe SPI controllers in slave mode." Does this mean I cannot use device tree in case I want to configure the controller as SPI slave? If yes, please

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-18 Thread Patrick Brünn
>From: Marek Vasut [mailto:ma...@denx.de] >Sent: Montag, 18. Dezember 2017 10:17 >On 12/18/2017 10:02 AM, linux-kernel-...@beckhoff.com wrote: >> From: Patrick Bruenn >> >> Static variables are not available during board_init_f(). > >They are, since the board runs from RAM

[U-Boot] [PATCH] BCM283x ALT5 function for JTAG pins

2017-12-18 Thread henryzhang62
From: Henry Zhang BCM2835 ARM Peripherals doc shows gpio pins 4, 5, 6, 12 and 13 carry altenate function, ALT5 for ARM JTAG Signed-off-by: Henry Zhang --- arch/arm/dts/bcm283x.dtsi |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

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

2017-12-18 Thread Tom Rini
On Sun, Dec 17, 2017 at 10:50:49PM +0100, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx ("power: pmic/regulator allow dm be omitted > by SPL" dropped), thanks ! > > The following changes since commit fcc8250c2f7c982f3593a8eecf737f8e2c95f222: > > Merge

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

2017-12-18 Thread York Sun
Tom, The following changes since commit cf71338ee7a1dc16f13a4f1b89f32c624210df45: ata: Migrate CONFIG_MVSATA_IDE to Kconfig (2017-12-12 18:16:06 -0500) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: add a common script for generate fit its

2017-12-18 Thread Philipp Tomsich
> Rockchip release bl31.elf file for armv8 SoCs like rk3399, rk3328, > the elf have more than one section, we need to decode it first and > packed them into u-boot.itb with its file. This script is to generate > the its script. > Need default bl31.elf in root directory of U-Boot source and dtb >

Re: [U-Boot] [U-Boot, v3, 3/3] rockchip: evb-rk3399: update document for board bring up

2017-12-18 Thread Philipp Tomsich
> Since we support ATF in SPL and add script for it, let's make the > document up to date. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > Changes in v3: > - update addr for uboot.itb to 0x4000 > > Changes

Re: [U-Boot] [U-Boot, v3, 2/3] rockchip: firefly-rk3399: add FIT for rk3399

2017-12-18 Thread Philipp Tomsich
> Enable SPL_FIT_GENERATOR with path for it. > With this patch you can get u-boot.itb for rk3399-firefly with: > > make u-boot.itb > > Signed-off-by: Kever Yang > Reviewed-by: Mark Kettenis > Tested-by: Mark Kettenis >

Re: [U-Boot] [U-Boot, v3, 2/3] rockchip: firefly-rk3399: add FIT for rk3399

2017-12-18 Thread Philipp Tomsich
> Enable SPL_FIT_GENERATOR with path for it. > With this patch you can get u-boot.itb for rk3399-firefly with: > > make u-boot.itb > > Signed-off-by: Kever Yang > Reviewed-by: Mark Kettenis > Tested-by: Mark Kettenis >

Re: [U-Boot] [U-Boot, v3, 3/3] rockchip: evb-rk3399: update document for board bring up

2017-12-18 Thread Philipp Tomsich
> Since we support ATF in SPL and add script for it, let's make the > document up to date. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > Changes in v3: > - update addr for uboot.itb to 0x4000 > > Changes

Re: [U-Boot] [U-Boot,v2] rockchip: update boot0 hook

2017-12-18 Thread Philipp Tomsich
> Rockchip SoCs only need boot0 hook at SPL, and the U-Boot proper do not > need it. > > The very beginning of U-Boot proper is different between armv7 and armv8: > armv7 start with ARM_VECTORS while armv8 start with 'b reset'. > > Here is the map of very beginning for all cases: > armv7 SPL:

Re: [U-Boot] rockchip: config: update part table

2017-12-18 Thread Philipp Tomsich
> User do not need to access the reserved part in system, remove them > from partition table. > Rename atf to trust as generic name for armv7 do not use ATF. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich >

Re: [U-Boot] [U-Boot, v3, 1/3] rockchip: add a common script for generate fit its

2017-12-18 Thread Philipp Tomsich
> Rockchip release bl31.elf file for armv8 SoCs like rk3399, rk3328, > the elf have more than one section, we need to decode it first and > packed them into u-boot.itb with its file. This script is to generate > the its script. > Need default bl31.elf in root directory of U-Boot source and dtb >

Re: [U-Boot] rockchip: rk3399-puma: set gpio4cd iodomain to 1.8V

2017-12-18 Thread Philipp Tomsich
> The PCIe reset signal is connected to GPIO4_C6 on the Puma > module. This pin is supplied by 1.8V, but the default iodomain > setting is 3.0V and in this situation the pin is unable to go > high. > > Linux assumes that this signal works in early boot > as PCIe is probed before loading the

Re: [U-Boot] [U-Boot,v3] rockchip: update boot0 hook

2017-12-18 Thread Philipp Tomsich
> Rockchip SoCs only need boot0 hook at SPL, and the U-Boot proper do not > need it. > > The very beginning of U-Boot proper is different between armv7 and armv8: > armv7 start with ARM_VECTORS while armv8 start with 'b reset'. > > Here is the map of very beginning for all cases: > armv7 SPL:

Re: [U-Boot] rockchip: update ROCKCHIP_SPL_RESERVE_IRAM to 0

2017-12-18 Thread Philipp Tomsich
> Only rk3399 atf need ROCKCHIP_SPL_RESERVE_IRAM, so update it dtfault > 0 so that other SoCs do not need to define it. > > Signed-off-by: Kever Yang > Acked-by: Philipp Tomsich > --- > > arch/arm/mach-rockchip/Kconfig | 2 +-

Re: [U-Boot] [PATCH 2/5] board: TI K2G: FC SoC 1GHz and DDR3 1066 MT/s support

2017-12-18 Thread Tom Rini
On Mon, Dec 18, 2017 at 03:10:04PM +0530, Lokesh Vutla wrote: > From: Rex Chang > > Added support for K2G EVM with FlipChip SoC of which > ARM/DDR3 runs at 1GHz/1066 MT/s. The patch is also > backward compatible with old revision EVM and EVM > with WireBond SoC. Their ARM/DDR3

[U-Boot] [PATCH] power: tps65910: replace error() by pr_err()

2017-12-18 Thread Felix Brack
The patch replaces the former error() by the new pr_err(). This makes the TPS65910 driver conform to Masahiro's patch 'treewide:replace with error() with pr_err()' introduced October 2017. Signed-off-by: Felix Brack --- drivers/power/pmic/pmic_tps65910_dm.c| 4 ++--

Re: [U-Boot] [PATCH] ARM: socfpga: Enable part command for socfpga platform

2017-12-18 Thread Marek Vasut
On 12/18/2017 02:04 PM, Andrey Zhizhikin wrote: > Enable CONFIG_CMD_PART item, as default environment requires it > and complains this command in unknown. > > Signed-off-by: Andrey Zhizhikin > --- > configs/socfpga_arria10_defconfig | 1 + >

Re: [U-Boot] [PATCH] config: Enable part command for socfpga platform

2017-12-18 Thread Marek Vasut
On 12/18/2017 01:30 PM, Andrey Zhizhikin wrote: > Hello Marek, Hi, > On Mon, Dec 18, 2017 at 12:39 PM, Marek Vasut wrote: >> On 12/18/2017 12:10 PM, Andrey Zhizhikin wrote: >>> Enable CONFIG_CMD_PART item, as default environment requires it >>> and complains this command in

[U-Boot] [GIT PULL] Xilinx fixes for v2018.01-rc2 v2

2017-12-18 Thread Michal Simek
Hi Tom, +Stephen This is second pull request. I have removed that AES command enabling which was causing compilation warning on arm64. Thanks, Michal The following changes since commit 659208da4703de50826a469cbb38bf6afb938978: README: update the kernel coding style reference (2017-12-12

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-18 Thread Marek Vasut
On 12/18/2017 01:16 PM, Patrick Brünn wrote: >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Montag, 18. Dezember 2017 12:52 >> On 12/18/2017 12:40 PM, Patrick Brünn wrote: From: Marek Vasut [mailto:ma...@denx.de] Sent: Montag, 18. Dezember 2017 11:57 On 12/18/2017 11:47 AM,

Re: [U-Boot] [PULL] efi patch queue 2017-12-17

2017-12-18 Thread Jonathan Gray
On Sun, Dec 17, 2017 at 09:33:44PM +0100, Alexander Graf wrote: > Hi Tom, > > This is my current patch queue for efi. Please pull. > > Alex > > > The following changes since commit 15616a0aa58173bce1efe47569bf2e10d023ae9c: > > Merge git://git.denx.de/u-boot-dm (2017-12-14 15:46:07 -0500) >

Re: [U-Boot] [PATCH u-boot] net: phy: meson-gxl: detect LPA corruption

2017-12-18 Thread Neil Armstrong
On 12/12/2017 16:03, Neil Armstrong wrote: > From: Jerome Brunet > > This patch is ported from the Linux patch posted at [1] and applied to > net tree as commit f1e2400a80ff. > > The purpose of this change is to fix the incorrect detection of the link > partner (LP)

Re: [U-Boot] [PATCH u-boot] ARM: arch-meson: fix writel arguments order

2017-12-18 Thread Neil Armstrong
On 12/12/2017 14:23, Neil Armstrong wrote: > From: Hans Verkuil > > Using writel causes a "Synchronous Abort". Invert the arguments. > > Signed-off-by: Hans Verkuil > Signed-off-by: Neil Armstrong > --- >

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-18 Thread Marek Vasut
On 12/18/2017 12:40 PM, Patrick Brünn wrote: >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Montag, 18. Dezember 2017 11:57 >> On 12/18/2017 11:47 AM, Patrick Brünn wrote: From: Marek Vasut [mailto:ma...@denx.de] Sent: Montag, 18. Dezember 2017 10:17 On 12/18/2017 10:02 AM,

Re: [U-Boot] [PATCH] config: Enable part command for socfpga platform

2017-12-18 Thread Marek Vasut
On 12/18/2017 12:10 PM, Andrey Zhizhikin wrote: > Enable CONFIG_CMD_PART item, as default environment requires it > and complains this command in unknown. Fine by me, but what about the other boards, don't they need this as well ? > Signed-off-by: Andrey Zhizhikin btw

Re: [U-Boot] [PATCH 11/13] board: ti: am57xx: Enable CMD_DDR3

2017-12-18 Thread Lukasz Majewski
Hi Lokesh, > Enable CMD_DDR3 on all am57xx based platforms. > > Signed-off-by: Lokesh Vutla > --- > arch/arm/mach-omap2/omap5/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/mach-omap2/omap5/Kconfig > b/arch/arm/mach-omap2/omap5/Kconfig index

Re: [U-Boot] [PATCH 09/13] board: ti: am574x-idk: Add ddr data support

2017-12-18 Thread Lukasz Majewski
Hi Lokesh, > AM574x-idk has the following DDR parts attached: > EMIF1: MT41K256M16HA (1GB with ECC) > EMIF2: MT41K256M16HA (1GB without ECC) > > Enabling 2GB DDR without interleaving between EMIFs. And > enabling ECC on EMIF1. > > Signed-off-by: Lokesh Vutla >

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-18 Thread Marek Vasut
On 12/18/2017 11:47 AM, Patrick Brünn wrote: >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Montag, 18. Dezember 2017 10:17 >> On 12/18/2017 10:02 AM, linux-kernel-...@beckhoff.com wrote: >>> From: Patrick Bruenn >>> >>> Static variables are not available during

Re: [U-Boot] [PATCH v2 3/4] arm: imx: m53evk: remove usage of mx53_dram_size

2017-12-18 Thread Marek Vasut
On 12/18/2017 10:02 AM, linux-kernel-...@beckhoff.com wrote: > From: Patrick Bruenn > > Static variables are not available during board_init_f(). They are, since the board runs from RAM at that point already. > 'static uint32_t mx53_dram_size[2];' was used in board

Re: [U-Boot] rockchip: update ROCKCHIP_SPL_RESERVE_IRAM to 0

2017-12-18 Thread Philipp Tomsich
> Only rk3399 atf need ROCKCHIP_SPL_RESERVE_IRAM, so update it dtfault > 0 so that other SoCs do not need to define it. > > Signed-off-by: Kever Yang > --- > > arch/arm/mach-rockchip/Kconfig | 2 +- > configs/evb-rk3399_defconfig | 1 + >

Re: [U-Boot] [U-Boot, v4, 1/2] drivers/reset: support rockchip reset drivers

2017-12-18 Thread Philipp Tomsich
> From: Elaine Zhang > > Create driver to support all Rockchip SoCs soft reset. > Example of usage: > i2c driver: > ret = reset_get_by_name(dev, "i2c", _ctl); > if (ret) { > error("reset_get_by_name() failed: %d\n", ret); > } > >

Re: [U-Boot] [U-Boot,v3] rockchip: update boot0 hook

2017-12-18 Thread Philipp Tomsich
> Rockchip SoCs only need boot0 hook at SPL, and the U-Boot proper do not > need it. > > The very beginning of U-Boot proper is different between armv7 and armv8: > armv7 start with ARM_VECTORS while armv8 start with 'b reset'. > > Here is the map of very beginning for all cases: > armv7 SPL:

Re: [U-Boot] [U-Boot,v4,2/2] rockchip: clk: bind reset driver

2017-12-18 Thread Philipp Tomsich
> From: Elaine Zhang > > Bind rockchip reset to clock-controller with rockchip_reset_bind(). > > Signed-off-by: Elaine Zhang > Signed-off-by: Kever Yang > --- > > Changes in v4: > - fix compile error if

[U-Boot] [PATCH 0/5] arm: ti: misc updates and bug fixes

2017-12-18 Thread Lokesh Vutla
This series consolidates few bug fixes on TI platforms. Lokesh Vutla (3): configs: k2g_evm: Allocate more space for u-boot tools: omapimage: Fix mismatch of image size in header arm: am33xx: Avoid writing into reserved DPLL divider Rex Chang (1): board: TI K2G: FC SoC 1GHz and DDR3 1066

[U-Boot] [PATCH 4/5] arm: am33xx: Avoid writing into reserved DPLL divider

2017-12-18 Thread Lokesh Vutla
DPLL DRR doesn't have an M4 divider. But the clock driver is trying to configure M4 divider as 4(writing into a reserved register). Fixing it by making M4 divider as -1. Reported-by: Steve Kipisz Signed-off-by: Lokesh Vutla ---

[U-Boot] [PATCH 2/5] board: TI K2G: FC SoC 1GHz and DDR3 1066 MT/s support

2017-12-18 Thread Lokesh Vutla
From: Rex Chang Added support for K2G EVM with FlipChip SoC of which ARM/DDR3 runs at 1GHz/1066 MT/s. The patch is also backward compatible with old revision EVM and EVM with WireBond SoC. Their ARM/DDR3 run at 600MHz/800 MT/s. The new SoC supports 2 different speeds at 1GHz and

[U-Boot] [PATCH 1/5] configs: k2g_evm: Allocate more space for u-boot

2017-12-18 Thread Lokesh Vutla
Now that we have multi dtb enabled in u-boot allocate 128K more space for u-boot. Signed-off-by: Lokesh Vutla --- include/configs/k2g_evm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/k2g_evm.h b/include/configs/k2g_evm.h index

Re: [U-Boot] questions on SPL

2017-12-18 Thread Lukasz Majewski
On Wed, 13 Dec 2017 22:20:57 +0800 herbert wrote: > Hi > > I am very sorry to ask this simple question. I read a lot of document > and googled online, but I still feel puzzled by the SPL of U-Boot. > > > I has an ancient SoC s3c2440 which is armv4t architecture. s3c2440 >

[U-Boot] [PATCH 3/5] tools: omapimage: Fix mismatch of image size in header

2017-12-18 Thread Lokesh Vutla
The size field in GP header that is expected by ROM is size of the image + size of the header. But omapimage tool is updating size as image size + 2 * header size. Remove this extra header size bytes. Reported-by: Denys Dmytriyenko Debugged-by: Madan Srinivas

[U-Boot] [PATCH 5/5] board: ti: dra76: mux wakeup2 as gpio1_2

2017-12-18 Thread Lokesh Vutla
From: Tomi Valkeinen gpio1_2 is used for HPD interrupt with DRA76's DVI add-on board, so mux the pin as gpio and PIN_INPUT. Signed-off-by: Tomi Valkeinen --- board/ti/dra7xx/mux_data.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH 07/13] board: ti: am574x-idk: Add epprom support

2017-12-18 Thread Lokesh Vutla
am574x-idk is a board based on TI's am574 processor Add eeprom support. Signed-off-by: Lokesh Vutla --- board/ti/am57xx/board.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c index f79aefd400..082346d2b1 100644 ---

[U-Boot] [PATCH 13/13] env: ti: Select dtb name for dra76x and am574

2017-12-18 Thread Lokesh Vutla
Select dtb name for am574x-idk and dra76x evm with acd package. Signed-off-by: Lokesh Vutla --- include/environment/ti/boot.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h index

[U-Boot] [PATCH 11/13] board: ti: am57xx: Enable CMD_DDR3

2017-12-18 Thread Lokesh Vutla
Enable CMD_DDR3 on all am57xx based platforms. Signed-off-by: Lokesh Vutla --- arch/arm/mach-omap2/omap5/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/omap5/Kconfig b/arch/arm/mach-omap2/omap5/Kconfig index 8c1730a6be..deb9873cc5 100644 ---

  1   2   >