[U-Boot] [PATCH 11/11] configs: dra7xx: Enable lp873x options

2016-11-22 Thread Lokesh Vutla
From: Keerthy DRA71-evm uses LP873x regulator. Enable lp873x PMIC config options. Signed-off-by: Keerthy Signed-off-by: Lokesh Vutla --- configs/dra7xx_evm_defconfig| 3 +++ configs/dra7xx_hs_evm_defconfig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/configs/dra7xx_evm_defconfi

[U-Boot] [PATCH 10/11] configs: dra7xx: Enable pmic/regulator options

2016-11-22 Thread Lokesh Vutla
Enable pmic/regulator config options. Signed-off-by: Lokesh Vutla --- configs/dra7xx_evm_defconfig| 1 + configs/dra7xx_hs_evm_defconfig | 4 2 files changed, 5 insertions(+) diff --git a/configs/dra7xx_evm_defconfig b/configs/dra7xx_evm_defconfig index 4bd031d..0802898 100644 --- a/co

[U-Boot] [PATCH 09/11] configs: dra7xx: hs: Enable DM_ETH

2016-11-22 Thread Lokesh Vutla
Enable DM_ETH for hs boards. Signed-off-by: Lokesh Vutla --- configs/dra7xx_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/dra7xx_hs_evm_defconfig b/configs/dra7xx_hs_evm_defconfig index 390c569..0da6790 100644 --- a/configs/dra7xx_hs_evm_defconfig +++ b/configs/dra

[U-Boot] [PATCH 08/11] configs: ti_omap5_common: Select dtb name for dra71x

2016-11-22 Thread Lokesh Vutla
From: Nishanth Menon Select dtb name for dra71x-evm. Signed-off-by: Nishanth Menon --- include/configs/ti_omap5_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ti_omap5_common.h b/include/configs/ti_omap5_common.h index 8322f64..3bc7bf9 100644 --- a/include/conf

[U-Boot] [PATCH 07/11] ARM: dts: dra71x-evm: Add DT support

2016-11-22 Thread Lokesh Vutla
Add DT support for dra71-evm and built it as part of FIT image. Signed-off-by: Lokesh Vutla --- arch/arm/dts/Makefile | 2 +- arch/arm/dts/dra71-evm.dts | 230 board/ti/dra7xx/evm.c | 5 +- configs/dra7xx_evm_defconfig|

[U-Boot] [PATCH 05/11] ARM: OMAP4+: Add support for getting pbias info from board

2016-11-22 Thread Lokesh Vutla
Palmas driver assumes it is always TPS659xx regulator on all DRA7xx based boards to enable mmc regulator. This is not true always like in case of DRA71x-evm. So get this information based on the board. Signed-off-by: Lokesh Vutla Signed-off-by: Vignesh R Signed-off-by: Nishanth Menon --- arch/

[U-Boot] [PATCH 03/11] board: ti: dra72: Introduce optimization for rgmii timing for rev C

2016-11-22 Thread Lokesh Vutla
From: Nishanth Menon Rev C version of EVM does require IODelay to be configured for RGMII pins in MANUAL_1 configuration. Update the same based on PG2.0 initial simulation values. Data based on PCT_DRA72x_SR2.0_SR1.0_v1.3.0.7 Signed-off-by: Nishanth Menon Signed-off-by: Lokesh Vutla --- board

[U-Boot] [PATCH 04/11] board: ti: dra71x-evm: Add PMIC support

2016-11-22 Thread Lokesh Vutla
From: Keerthy Add the pmic_data for LP873x PMIC which is used to power up dra71x-evm. Note: As per the DM[1] DRA71x supports only OP_NOM. So, updating the efuse registers only to use OPP_NOM irrespective of any CONFIG_DRA7__OPP_{NOM,od,high} is defined. [1] http://www.ti.com/product/DRA718/tech

[U-Boot] [PATCH 02/11] board: ti: dra71x-evm: Add mux settings

2016-11-22 Thread Lokesh Vutla
Add mux and iodelay settings for dra71x-evm. Data generated using PCT_DRA71x_SR2.0_v1.0.0.0 version (June 2016). Signed-off-by: Lokesh Vutla --- board/ti/dra7xx/evm.c | 7 +- board/ti/dra7xx/mux_data.h | 200 + 2 files changed, 206 insertions(+)

[U-Boot] [PATCH 01/11] board: ti: dra71x-evm: Add epprom support

2016-11-22 Thread Lokesh Vutla
The dra71x-evm is a board based on TI's DRA718 processor targeting BOM-optimized entry infotainment systems such as display audio and is a software compatible derivative of the highly successful DRA74 and DRA72 processor families. More information can be found here[1]. Add epprom detection for dra

[U-Boot] [PATCH 00/11] ARM: ti: dra71: Add support for dra71-evm

2016-11-22 Thread Lokesh Vutla
This series adds support for dra71-evm. This is dependent on the OPP kconfig support series posted recently[1]. Testing: dra71-evm: http://pastebin.ubuntu.com/23521081/ dra72-evm-revc: http://pastebin.ubuntu.com/23521117/ dra7-evm: http://pastebin.ubuntu.com/23521091/ [1] https://www.mail-archi

[U-Boot] [PATCH v2 1/3] ARM: OMAP4+: Add support for dynamically selecting OPPs

2016-11-22 Thread Lokesh Vutla
It can be expected that different paper spins of a SoC can have different definitions for OPP and can have their own constraints on the boot up OPP for each voltage rail. In order to have this flexibility, add support for dynamically selecting the OPP voltage based on the board to handle any such e

[U-Boot] [PATCH v2 2/3] ARM: DRA7: Redefine voltage and efuse macros per OPP using Kconfig

2016-11-22 Thread Lokesh Vutla
From: Suman Anna Redefine the macros used to define the voltage values and the efuse register offsets based on OPP for all the voltage domains. This is done using Kconfig macros that can be set in a defconfig or selected during a config step. This allows a voltage domain to be configured/set to a

[U-Boot] [PATCH v2 3/3] ARM: DRA7: Fixup DSPEVE, IVA and GPU clock frequencies based on OPP

2016-11-22 Thread Lokesh Vutla
From: Suman Anna This patch adds support to update the device-tree blob to adjust the DSP and IVA DPLL clocks pertinent to the selected OPP choice, with the default being OPP_NOM. The voltage settings are done in u-boot, but the actual clock configuration itself is done in kernel because of the f

[U-Boot] [PATCH v2 0/3] ARM: DRA7: Add Kconfig support for selecting OPPs

2016-11-22 Thread Lokesh Vutla
This series adds support for selecting DSPEVE, IVA, GPU OPPs via Kconfig and fixup DT clock nodes as required. Changes since v1: - Added help option for Kconfig entries. Lokesh Vutla (1): ARM: OMAP4+: Add support for dynamically selecting OPPs Suman Anna (2): ARM: DRA7: Redefine voltage and

Re: [U-Boot] flashair and u-boot hooks script

2016-11-22 Thread Michal Simek
On 23.11.2016 00:25, Stephen Warren wrote: > On 11/22/2016 07:33 AM, Michal Simek wrote: >> On 22.11.2016 15:12, Michal Simek wrote: >>> Hi guys, >>> >>> did you see this problem before? >>> >>> [bin]$ ./u-boot-test-flash xilinx_zynqmp_zcu102 zcu102 >>> 192.168.0.103 push:/tmp/tmp.I2MxPKltj7 >>> P

[U-Boot] Query on qspi driver

2016-11-22 Thread Siva Durga Prasad Paladugu
Hi Jagan, I am planning to send ZynqMP qspi driver to mainline. As per your recent patches, I can see that, you are moving qspi flash stuff to spi-nor and these are not in main tree yet. As you said earlier, I have seen u-boot-spi.git and there are few branches on which you have spi-nor related

Re: [U-Boot] [PATCH v2] powerpc: mpc512x: Add support for get_svr() for mpc512x devices

2016-11-22 Thread york sun
On 10/13/2016 11:36 PM, Sriram Dash wrote: > Defines get_svr() for mpc512x devices > > Signed-off-by: Sriram Dash > Reviewed-by: Bin Meng > --- > Changes in v2: > - cosmetic changes Applied to fsl-qoriq, awaiting upstream. Thanks. York ___ U-Boot

Re: [U-Boot] [PATCH] defconfig: am43xx_evm: Enable DM_SPI and DM_SPI_FLASH

2016-11-22 Thread Mugunthan V N
On Tuesday 22 November 2016 02:42 PM, Vignesh R wrote: > Commit 4c4e3b37750f3("ARM: AM43xx: Enable FIT") accidentally disabled > DM_SPI and DM_SPI_FLASH. Add back DM_SPI and DM_SPI_FLASH to > am43xx_evm_defconfig in order to make use of DM framework for QSPI. > > Signed-off-by: Vignesh R Reviewe

Re: [U-Boot] [PATCH] configs: ls2080ardb: Enable DSPI flash support

2016-11-22 Thread york sun
On 10/10/2016 09:26 PM, Yuan Yao wrote: > From: Yuan Yao > > There is the stmicro DSPI flash on LS12080ARDB. > Enable DSPI flash related configure options. > > Signed-off-by: Yuan Yao > --- Applied to fsl-qoriq, awaiting upstream. Thanks. York ___ U

Re: [U-Boot] [PATCH 2/3] ARM: DRA7: Redefine voltage and efuse macros per OPP using Kconfig

2016-11-22 Thread Lokesh Vutla
On Tuesday 22 November 2016 08:32 PM, Tom Rini wrote: > On Tue, Nov 22, 2016 at 11:51:38AM +0530, Lokesh Vutla wrote: >> From: Suman Anna >> [..snip..] >> +if TARGET_DRA7XX_EVM || TARGET_AM57XX_EVM >> +menu "Voltage Domain OPP selections" >> + >> +choice >> +prompt "MPU Voltage Domain" >>

Re: [U-Boot] [PATCH] arm: exynos7420: remove custome low level init function

2016-11-22 Thread york sun
On 11/16/2016 05:44 PM, Alison Wang wrote: >> From: Thomas Abraham >> >> Remove the custom low-level initialization function and reuse the >> default low-level initialization function. But this requires the >> ARMV8_MULTIENTRY config option to be enabled for Exynos7420. >> >> On Exynos7420, the bo

Re: [U-Boot] [PATCH] ls2080: efi_loader: Move EL2 switch to function call based version

2016-11-22 Thread york sun
On 11/22/2016 09:31 AM, Alexander Graf wrote: > We moved the EL2 switch to be function call based rather than implicit. > This patch changes the EL3 -> EL2 switch to the new way of doing things. > > I've tested and verified this patch on LS2085ARDB. > > Signed-off-by: Alexander Graf > > --- > > Yo

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: Update CONFIG_LS2080A to CONFIG_FSL_LSCH3

2016-11-22 Thread york sun
On 11/11/2016 02:24 AM, Shengzhou Liu wrote: > Update CONFIG_LS2080A to CONFIG_FSL_LSCH3 to make those workaround > implementing of erratum reusable for more SoCs. > > Signed-off-by: Shengzhou Liu > --- Applied to fsl-qoriq, awaiting upstream. Thanks. York _

[U-Boot] FDT retrived raspberry pi bootargs length > 350 characters cause setenv errors, sequemce fdt get/ set/ get truncates at the first blank in the string.

2016-11-22 Thread dh
  Imove the fdt to 0x100 fdt move ${fdt_addr}  100 fdt addr 100   then fdt get value bootargs /chosen bootargs printenv bootargs 8250.nr_uarts=0 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=3840 bcm2708_fb.fbheight=2160 bcm2709.boardrev=0xa02082 bcm2709.serial=0x998f552d smsc95xx.macaddr=B8:27:EB:8F

Re: [U-Boot] [PATCH][v2] armv8: ls2080a: Update serdes protocol support

2016-11-22 Thread york sun
On 11/03/2016 05:30 AM, Priyanka Jain wrote: > Add serdes protocol support for > Serdes1 protocol: 0x39, 0x4B, 0x4C, 0x4D > Serdes2 protocol: 0x47, 0x57 > > Signed-off-by: Priyanka Jain > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Ashish Kumar > --- > Changes for v2: > Added signed-off-

Re: [U-Boot] [PATCH V2] Add support of ls1021a-iot

2016-11-22 Thread york sun
On 11/02/2016 11:23 PM, feng.l...@nxp.com wrote: > From: Feng Li > > The patch add support ls1021a-iot. > It supports I2C, MMC, PCIe, eTSEC, SATA, > EEPROM, CPLD, HDMI, Serial port, HXCI, > DSPI, SD boot, QSPI boot, Broadcom wifi > card, QCA wifi card. > > Signed-off-by: Feng Li > Cc: York Sun >

Re: [U-Boot] [PATCH][v2] driver: net: ldpaa_eth: Fix missing bracket issue

2016-11-22 Thread york sun
On 11/03/2016 05:45 AM, Priyanka Jain wrote: > Signed-off-by: Priyanka Jain > Signed-off-by: Prabhakar Kushwaha > Signed-off-by: Ashish Kumar > --- > Changes for v2: > Added signed-off-by > Applied to fsl-qoriq, awaiting upstream. Thanks. York ___

Re: [U-Boot] [PATCH 1/2][v2] lpuart: add a get_lpuart_clk function

2016-11-22 Thread york sun
On 10/27/2016 11:36 PM, shh@gmail.com wrote: > From: Shaohui Xie > > It's not always true that LPUART clock is CONFIG_SYS_CLK_FREQ, this > patch provides a weak function get_lpuart_clk, so that the clock can be > ovreride on a specific board which uses different clock for LPUART. > > Signed-of

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

2016-11-22 Thread york sun
Tom, The following changes since commit 693d4c9f1dc40fcf24ced459bc4d1b46db33298a: spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS (2016-11-18 21:20:59 -0500) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to 3db86f4bbd7a723421c8

Re: [U-Boot] [PATCH V2] Add support of ls1021a-iot

2016-11-22 Thread york sun
On 11/22/2016 04:51 PM, york@nxp.com wrote: > On 11/02/2016 11:23 PM, feng.l...@nxp.com wrote: >> From: Feng Li >> >> The patch add support ls1021a-iot. >> It supports I2C, MMC, PCIe, eTSEC, SATA, >> EEPROM, CPLD, HDMI, Serial port, HXCI, >> DSPI, SD boot, QSPI boot, Broadcom wifi >> card, QCA

Re: [U-Boot] [PATCH v8 0/3] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-22 Thread york sun
On 11/09/2016 07:02 PM, Alison Wang wrote: > This series is to support loading a 32-bit OS, the execution state will > change from AArch64 to AArch32 when jumping to kernel. The architecture > information will be got through checking FIT image, then U-Boot will load > 32-bit OS or 64-bit OS auto

Re: [U-Boot] [PATCH 0/6][v4] Update LS2080A SoC code to support LS2088A SoC

2016-11-22 Thread york sun
On 11/16/2016 11:00 PM, Priyanka Jain wrote: > From: Priyanka Jain > > LS2088A is similar to LS2080A SoC with some differences like > 1)Timer controller offset is different > 2)It has A72 cores > 3)Process to release secondary cores is different > 4)LS2088A SoC has TZASC controller > > In preparat

Re: [U-Boot] [PATCH v3] armv8: fsl-layerscape: Add Readme for deploy QSPI image

2016-11-22 Thread york sun
On 11/08/2016 08:03 PM, Yuan Yao wrote: > From: Yuan Yao > > Signed-off-by: Yuan Yao > --- > Changed in v3: > Rename README.deploy to README.qspi > Changed in v2: > Move the readme for QSPI deploy out of only for ls2080aqds. > --- Revised commit subject slightly. Applied to fsl-qori

Re: [U-Boot] [PATCH v2] arm: ls1021a: improve the core frequency to 1.2GHZ

2016-11-22 Thread york sun
On 11/08/2016 07:32 PM, Yuan Yao wrote: > From: Yuan Yao > > Change core clock to 1.2GHz in the configurations for SD and NAND boot. > > Signed-off-by: Yuan Yao > --- > Changed in v2: > Updated the commit message. Applied to fsl-qoriq, awaiting upstream. Thanks. York ___

Re: [U-Boot] [PATCH] armv8: ls2080aqds: fix SGMII repeater settings

2016-11-22 Thread york sun
On 10/17/2016 01:33 AM, shh@gmail.com wrote: > From: Shaohui Xie > > The current value to check whether the PHY was configured has dependency > on MC, it expects MC to start PCS AN, this is not true during boot up, > so it should be changed to remove the dependency. > > The PHY's register spac

Re: [U-Boot] [PATCH] fsl: serdes: fix a deadloop issue for P4080

2016-11-22 Thread york sun
On 10/30/2016 08:12 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > This deadloop is introduced by commit: > 71fe222 fsl: serdes: ensure accessing the initialized maps of serdes protocol > > deadloop detail: > cpu_init_r => fsl_serdes_init => p4080_erratum_serdes_a005 => > is_serdes_configured =>

Re: [U-Boot] [PATCH 2/2][v2] armv8: ls1046aqds: add lpuart support

2016-11-22 Thread york sun
On 10/27/2016 11:36 PM, shh@gmail.com wrote: > From: Shaohui Xie > > LPUART0 is used by default, and it's using platform clock. > > Signed-off-by: Shaohui Xie > --- > changes in v2: > 1. dropped CONFIG_LPUART_CLK. > 2. uses CONFIG_SYS_FSL_DDR4 in defconfig. > Applied to fsl-qoriq, awaiting

Re: [U-Boot] [PATCH] armv8:ls1012a: Update bootargs for fast-boot

2016-11-22 Thread york sun
On 10/10/2016 12:36 AM, Pratiyush Srivastava wrote: > Add optimization parameters like "quiet" in bootargs to reduce the system > boot time > > Signed-off-by: Pratiyush Mohan Srivastava > Signed-off-by: Harninder Rai > --- Applied to fsl-qoriq, awaiting upstream. Thanks. York _

[U-Boot] [PATCH u-boot 2/5] aspeed: Fixed incosistency in some SCU registers naming.

2016-11-22 Thread maxims
From: Maxim Sloyko Basically fixed FUC/FUN typo that went out of hand. Signed-off-by: Maxim Sloyko --- arch/arm/include/asm/arch-aspeed/regs-scu.h | 73 - arch/arm/mach-aspeed/ast-scu.c | 2 +- 2 files changed, 42 insertions(+), 33 deletions(-) diff -

[U-Boot] [PATCH u-boot 4/5] aspeed: Added function to configure pins for I2C devices.

2016-11-22 Thread maxims
From: Maxim Sloyko In the absence of pinmux driver, I2C driver will be configuring pins directly. Signed-off-by: Maxim Sloyko --- arch/arm/include/asm/arch-aspeed/ast_scu.h | 5 + arch/arm/mach-aspeed/ast-scu.c | 28 2 files changed, 33 insertions(

[U-Boot] [PATCH u-boot 1/5] aspeed/g5: Device Tree for ast2500, copied from openbmc/linux (include file), plus minimal device tree configuration for ast2500 eval board.

2016-11-22 Thread maxims
From: Maxim Sloyko aspeed-g5.dtsi include file is copied from https://github.com/openbmc/linux/blob/c5682cb/arch/arm/boot/dts/aspeed-g5.dtsi Signed-off-by: Maxim Sloyko --- arch/arm/dts/Makefile |2 + arch/arm/dts/aspeed-g5-evb.dts | 28 + arch/arm/dts/aspeed-g5.dtsi| 1278 +

Re: [U-Boot] flashair and u-boot hooks script

2016-11-22 Thread Stephen Warren
On 11/22/2016 07:33 AM, Michal Simek wrote: On 22.11.2016 15:12, Michal Simek wrote: Hi guys, did you see this problem before? [bin]$ ./u-boot-test-flash xilinx_zynqmp_zcu102 zcu102 192.168.0.103 push:/tmp/tmp.I2MxPKltj7 PUSH DIR: /tmp/tmp.I2MxPKltj7 ..PUSH FILE: u-boot.bin 200 [bin]$ ./

Re: [U-Boot] [RFC PATCH v2 4/7] env: Introduce "transient" and "system" access flags

2016-11-22 Thread Simon Glass
Hi Bernhard, On 22 November 2016 at 11:54, Bernhard Nortmann wrote: > Hi Simon! > > Am 19.11.2016 um 14:47 schrieb Simon Glass: >> >> Hi Bernhard, >> >> On 16 November 2016 at 03:29, Bernhard Nortmann >> wrote: >>> >>> "transient" (='t') is like "any", but requests that a variable >>> should not

[U-Boot] [PATCH] net/phy/vitesse: Rework RGMII skew configuration for VSC8601

2016-11-22 Thread Alexandru Gagniuc
The VSC8601 config tried to add an RGMII skew based on #defines that no config defines. That's quite an ugly way to do it. Since the skew is only needed on RGMII interfaces, check the interface mode at runtime, and apply the settings accordingly. Tested on custom board with AM3352 SOC and VSC801 P

Re: [U-Boot] [RFC PATCH v2 7/7] env: Automatically mark dynamic configuration info as "do not export"

2016-11-22 Thread Bernhard Nortmann
Hi Simon! Am 19.11.2016 um 14:47 schrieb Simon Glass: Hi Bernhard, On 16 November 2016 at 03:30, Bernhard Nortmann wrote: This is an attempt to prevent such information from ending up in exported environment data, especially when doing "saveenv". (http://lists.denx.de/pipermail/u-boot/2015-Se

[U-Boot] U-Boot vulnerable to CVE-2014-4607 (LZO)?

2016-11-22 Thread Thomas Deutschmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, could you please help me to determine if U-Boot was or still is vulnerable to CVE-2014-4607? The project uses LZO decompression in lib/lzo/lzo1x_decompress.c I found the following applied patch set http://lists.denx.de/pipermail/u-boot/20

Re: [U-Boot] [PATCH v2 5/6] efi_loader: Allow to compile helloworld.efi w/o bundling it

2016-11-22 Thread Alexander Graf
On 22/11/2016 18:50, Simon Glass wrote: Hi Alex, On 19 November 2016 at 17:13, Alexander Graf wrote: Am 20.11.2016 um 00:56 schrieb Simon Glass : Hi Alex, On 19 November 2016 at 14:47, Alexander Graf wrote: Am 19.11.2016 um 21:02 schrieb Simon Glass : Hi Alex, On 19 November 201

Re: [U-Boot] [PATCH] arm: exynos7420: remove custome low level init function

2016-11-22 Thread york sun
On 11/16/2016 05:44 PM, Alison Wang wrote: >> From: Thomas Abraham >> > Reviewed-by: Alison Wang > I will merge this patch. York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC PATCH v2 6/7] env: Introduce setenv_transient() helper function

2016-11-22 Thread Bernhard Nortmann
Hi Simon! Am 19.11.2016 um 14:47 schrieb Simon Glass: Hi Bernhard, On 16 November 2016 at 03:30, Bernhard Nortmann wrote: Like setenv(), but automatically marks the entry as "don't export". Signed-off-by: Bernhard Nortmann --- Changes in v2: None cmd/nvedit.c | 21 ++

Re: [U-Boot] [RFC PATCH v2 4/7] env: Introduce "transient" and "system" access flags

2016-11-22 Thread Bernhard Nortmann
Hi Simon! Am 19.11.2016 um 14:47 schrieb Simon Glass: Hi Bernhard, On 16 November 2016 at 03:29, Bernhard Nortmann wrote: "transient" (='t') is like "any", but requests that a variable should not be exported (ENV_FLAGS_VARACCESS_PREVENT_EXPORT). "system" (='S') is meant for 'internal' variab

Re: [U-Boot] [PATCH v2 5/6] efi_loader: Allow to compile helloworld.efi w/o bundling it

2016-11-22 Thread Alexander Graf
> Am 22.11.2016 um 19:27 schrieb Tom Rini : > >> On Tue, Nov 22, 2016 at 10:50:50AM -0700, Simon Glass wrote: >> Hi Alex, >> >> On 19 November 2016 at 17:13, Alexander Graf wrote: > [snip] >>> Unfortunately the hello world binary doesn't build on stm32 while there is >>> no reason to disable

Re: [U-Boot] [PATCH v2 5/6] efi_loader: Allow to compile helloworld.efi w/o bundling it

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 10:50:50AM -0700, Simon Glass wrote: > Hi Alex, > > On 19 November 2016 at 17:13, Alexander Graf wrote: [snip] > > Unfortunately the hello world binary doesn't build on stm32 while there is > > no reason to disable EFI_LOADER on that platform, so I want to keep the > > o

Re: [U-Boot] [PATCH v2 4/4] davinci: omapl138_lcdk: add u-boot sector for mmc/sd boot

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 06:13:33PM +0100, Fabien Parent wrote: > Set the correct CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR value in order > to be able to boot from MMC/SD. > > The SPL is stored at sector 0x75, while u-boot will follow at > sector 0xb5. > > Signed-off-by: Fabien Parent Reviewed-b

Re: [U-Boot] [PATCH v2 2/4] davinci: omapl138_lcdk: configure ddr2

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 06:13:31PM +0100, Fabien Parent wrote: > The SPL is unable to load u-boot because the DDR2 is not configured. > Configure the DDR2. > > Signed-off-by: Fabien Parent > --- > > V1 -> V2 > > * New patch > > --- > include/configs/omapl138_lcdk.h | 42 > ++

Re: [U-Boot] [PATCH v8 1/3] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-22 Thread york sun
On 11/22/2016 09:32 AM, Alexander Graf wrote: > On 11/21/2016 10:48 PM, york sun wrote: >> Alex, >> >> Since you are most familiar with EFI boot code, can you send a patch to >> address this? I can squash it with Alison's patch after testing. My >> current test branch is >> https://emea01.safelinks

Re: [U-Boot] [PATCH v2 1/4] davinci: omapl138_lcdk: configure pll0

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 06:13:30PM +0100, Fabien Parent wrote: > The SPL is not able to boot properly because the PLL0 is not > configured. Configure it. > > Signed-off-by: Fabien Parent > --- > > V1 -> V2 > * New patch > > --- > include/configs/omapl138_lcdk.h | 1 + > 1 file changed, 1 ins

Re: [U-Boot] [PATCH v2 5/6] efi_loader: Allow to compile helloworld.efi w/o bundling it

2016-11-22 Thread Simon Glass
Hi Alex, On 19 November 2016 at 17:13, Alexander Graf wrote: > > >> Am 20.11.2016 um 00:56 schrieb Simon Glass : >> >> Hi Alex, >> >>> On 19 November 2016 at 14:47, Alexander Graf wrote: >>> >>> Am 19.11.2016 um 21:02 schrieb Simon Glass : Hi Alex, > On 19 November 2016 a

[U-Boot] [PATCH 3/3] ARM: DRA7: Fixup DSPEVE, IVA and GPU clock frequencies based on OPP

2016-11-22 Thread Lokesh Vutla
From: Suman Anna This patch adds support to update the device-tree blob to adjust the DSP and IVA DPLL clocks pertinent to the selected OPP choice, with the default being OPP_NOM. The voltage settings are done in u-boot, but the actual clock configuration itself is done in kernel because of the f

[U-Boot] [PATCH 1/3] ARM: OMAP4+: Add support for dynamically selecting OPPs

2016-11-22 Thread Lokesh Vutla
It can be expected that different paper spins of a SoC can have different definitions for OPP and can have their own constraints on the boot up OPP for each voltage rail. In order to have this flexibility, add support for dynamically selecting the OPP voltage based on the board to handle any such e

Re: [U-Boot] [PATCH v8 1/3] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-22 Thread Alexander Graf
On 11/21/2016 10:48 PM, york sun wrote: Alex, Since you are most familiar with EFI boot code, can you send a patch to address this? I can squash it with Alison's patch after testing. My current test branch is http://git.denx.de/?p=u-boot/u-boot-fsl-qoriq.git;a=shortlog;h=refs/heads/test_qoriq.

[U-Boot] [PATCH] ls2080: efi_loader: Move EL2 switch to function call based version

2016-11-22 Thread Alexander Graf
We moved the EL2 switch to be function call based rather than implicit. This patch changes the EL3 -> EL2 switch to the new way of doing things. I've tested and verified this patch on LS2085ARDB. Signed-off-by: Alexander Graf --- York, feel free to squash this in with the EL2 switch. --- cmd/

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

2016-11-22 Thread Tom Rini
On Sun, Nov 20, 2016 at 05:29:41PM +0530, Jagan Teki wrote: > Hi Tom, > > On Sat, Nov 19, 2016 at 6:27 AM, Tom Rini wrote: > > On Fri, Nov 18, 2016 at 04:46:03PM +0530, Jagan Teki wrote: > > > >> Hi Tom, > >> > >> Please pull this PR. > >> > >> thanks! > >> Jagan. > >> > >> The following changes

Re: [U-Boot] [U-Boot,v2] MAINTAINERS: SUNXI: Update maintainership

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 05:14:06PM +0530, Jagan Teki wrote: > Add Jagan and Maxime as Maintainers for SUNXI > > Signed-off-by: Jagan Teki > Acked-by: Maxime Ripard Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH v2 4/4] davinci: omapl138_lcdk: add u-boot sector for mmc/sd boot

2016-11-22 Thread Fabien Parent
Set the correct CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR value in order to be able to boot from MMC/SD. The SPL is stored at sector 0x75, while u-boot will follow at sector 0xb5. Signed-off-by: Fabien Parent --- v1 -> v2 * Rebased on Sam's patches, i.e. use new Kconfig option instead of set

[U-Boot] [PATCH v2 1/4] davinci: omapl138_lcdk: configure pll0

2016-11-22 Thread Fabien Parent
The SPL is not able to boot properly because the PLL0 is not configured. Configure it. Signed-off-by: Fabien Parent --- V1 -> V2 * New patch --- include/configs/omapl138_lcdk.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/omapl138_lcdk.h b/include/configs/omapl138_lcdk.

[U-Boot] [PATCH v2 3/4] davinci: da850evm: fix empty boot method list in the SPL

2016-11-22 Thread Fabien Parent
The list of available boot method is not part of the binary which prevent the SPL from booting u-boot or Linux. Add the missing .u_boot_list* sections to the binary to fix it. Signed-off-by: Fabien Parent Reviewed-by: Tom Rini --- v1 -> v2: * No change --- board/davinci/da8xxevm/u-boot-

[U-Boot] [PATCH v2 0/4] davinci: omapl138_lcdk: fix a few bugs for SPL boot

2016-11-22 Thread Fabien Parent
This patchset tries to fix the SPL on omapl138_lcdk. With this patchset, the SPL will be able to boot from EMMC/SPI. The NAND support is still broken so the default u-boot.ais image still has a SPL that is unable to load u-boot. Change v1 .. v2: * Don't add an AIS config file but instead con

[U-Boot] [PATCH v2 2/4] davinci: omapl138_lcdk: configure ddr2

2016-11-22 Thread Fabien Parent
The SPL is unable to load u-boot because the DDR2 is not configured. Configure the DDR2. Signed-off-by: Fabien Parent --- V1 -> V2 * New patch --- include/configs/omapl138_lcdk.h | 42 + 1 file changed, 42 insertions(+) diff --git a/include/configs

Re: [U-Boot] [PATCH] arm: exynos: Use the generic lowlevel_init instead of the specific one

2016-11-22 Thread york sun
On 11/21/2016 09:25 PM, Alison Wang wrote: > > > 2016년 11월 16일 (수) 19:44, Alison Wang >님이작성: > > Hi, Thomas, > > I didn't see your patch. Maybe it isn't CC'ing me. Could you send me > and york the link? > > Minkyu Kang, > > Could you add review-by an

Re: [U-Boot] [PATCH v8 1/3] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-22 Thread Alexander Graf
On 11/22/2016 06:07 PM, york sun wrote: On 11/22/2016 09:02 AM, Alexander Graf wrote: On 11/21/2016 10:48 PM, york sun wrote: On 11/21/2016 01:07 PM, Alexander Graf wrote: On 21/11/2016 21:45, york sun wrote: On 11/21/2016 12:40 PM, Alexander Graf wrote: On 21/11/2016 21:23, york sun wrote:

Re: [U-Boot] [PATCH v8 1/3] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-22 Thread york sun
On 11/22/2016 09:02 AM, Alexander Graf wrote: > On 11/21/2016 10:48 PM, york sun wrote: >> On 11/21/2016 01:07 PM, Alexander Graf wrote: >>> >>> On 21/11/2016 21:45, york sun wrote: On 11/21/2016 12:40 PM, Alexander Graf wrote: > > On 21/11/2016 21:23, york sun wrote: >> On 11/09/2

Re: [U-Boot] [PATCH v8 1/3] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-22 Thread Alexander Graf
On 11/21/2016 10:48 PM, york sun wrote: On 11/21/2016 01:07 PM, Alexander Graf wrote: On 21/11/2016 21:45, york sun wrote: On 11/21/2016 12:40 PM, Alexander Graf wrote: On 21/11/2016 21:23, york sun wrote: On 11/09/2016 07:02 PM, Alison Wang wrote: To support loading a 32-bit OS, the execu

Re: [U-Boot] [PATCH v2 9/14] sunxi: Enable UBI and NAND support

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 04:54:53PM +0100, Maxime Ripard wrote: > Hi Tom, > > On Tue, Nov 22, 2016 at 10:24:27AM -0500, Tom Rini wrote: > > On Tue, Nov 22, 2016 at 01:38:39PM +0100, Maxime Ripard wrote: > > > From: Hans de Goede > > > > > > Enable the NAND and UBI support in the configuration hea

Re: [U-Boot] [PATCH 3/3] davinci: omapl138_lcdk: add MMC/SD SPL boot support

2016-11-22 Thread Sam Protsenko
On Fri, Nov 18, 2016 at 12:23 AM, Tom Rini wrote: > On Wed, Nov 16, 2016 at 05:33:35PM +0100, Fabien Parent wrote: >> Define CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR in order to be able >> to boot from MMC/SD. >> >> The SPL is stored at sector 0x75, while u-boot will follow at >> sector 0xb5. >> >>

[U-Boot] [PATCH] arm: armv7: add us timer for bootstage

2016-11-22 Thread Patrick Delaunay
From: Patrick Delaunay solve issue when bootstage is used with armV7 generic timer first call of timer_get_boot_us() use the function get_timer() before timer initialization (arch.timer_rate_hz = 0) => div by 0 Commit-notes When I activate bootstage on ARMV7 architecture with platform using the

Re: [U-Boot] [PATCH v2 12/14] scripts: sunxi: Build an raw SPL image

2016-11-22 Thread Heiko Schocher
Hello Maxime, Am 22.11.2016 um 13:38 schrieb 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 t

Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-22 Thread Sudeep Holla
On 22/11/16 15:08, Tom Rini wrote: On Tue, Nov 22, 2016 at 12:08:49PM +, Liviu Dudau wrote: On Tue, Nov 22, 2016 at 11:29:20AM +, Sudeep Holla wrote: Hi Liviu, On Tue, Nov 22, 2016 at 11:19 AM, Liviu Dudau wrote: Juno uses a 1:1 mapping between CPU and PCI addresses for IO. First,

[U-Boot] [PATCH v4 2/2] arc: use timer driver instead of arch/arc/lib/timer.c

2016-11-22 Thread Vlad Zakharov
This commit replaces legacy timer code with usage of arc timer driver. Also it adds timer0 device tree node with corresponding "clock-frequency" property. Therefore we remove legacy CONFIG_SYS_TIMER_RATE config symbol that is not longer required. Furthermore the commit selects CONFIG_TIMER and C

[U-Boot] [PATCH v4 0/2] drivers: timer: inroduce ARC timer driver

2016-11-22 Thread Vlad Zakharov
This patch series replaces legacy approach to access ARC timer via specific code in "arch/arc/lib/time.c" and uses timer driver instead. ARC cores may have up to 2 built-in timers: timer0 and timer1, usually at least one of them exists. They are controlled through auxiliary registers and so we do

[U-Boot] [PATCH v4 1/2] drivers: timer: Introduce ARC timer driver

2016-11-22 Thread Vlad Zakharov
This commit introduces timer driver for ARC. ARC timers are configured via ARC AUX registers so we use special functions to access timer control registers. This driver allows utilization of either timer0 or timer1 depending on which one is available in real hardware. Essentially only existing tim

Re: [U-Boot] [PATCH v2 9/14] sunxi: Enable UBI and NAND support

2016-11-22 Thread Maxime Ripard
Hi Tom, On Tue, Nov 22, 2016 at 10:24:27AM -0500, Tom Rini wrote: > On Tue, Nov 22, 2016 at 01:38:39PM +0100, Maxime Ripard wrote: > > 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 Goed

Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-22 Thread Ryan Harkin
On 22 November 2016 at 15:08, Tom Rini wrote: > On Tue, Nov 22, 2016 at 12:08:49PM +, Liviu Dudau wrote: >> On Tue, Nov 22, 2016 at 11:29:20AM +, Sudeep Holla wrote: >> > Hi Liviu, >> > >> > On Tue, Nov 22, 2016 at 11:19 AM, Liviu Dudau >> > wrote: >> > > Juno uses a 1:1 mapping between

Re: [U-Boot] [PATCH v2 9/14] sunxi: Enable UBI and NAND support

2016-11-22 Thread Peter Robinson
On Tue, Nov 22, 2016 at 3:24 PM, Tom Rini wrote: > On Tue, Nov 22, 2016 at 01:38:39PM +0100, Maxime Ripard wrote: >> 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: Maxi

Re: [U-Boot] [PATCH v2 9/14] sunxi: Enable UBI and NAND support

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 01:38:39PM +0100, Maxime Ripard wrote: > 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 > --- > board/sunxi/Kconfig| 8 +

Re: [U-Boot] [PATCH] mx6sx: Add initial support for Samtec VIN|ING 2000 board

2016-11-22 Thread Marek Vasut
On 11/22/2016 03:48 PM, Christoph Fritz wrote: > Commit message is missing [...] > diff --git a/board/samtec/vining2000/imximage.cfg > b/board/samtec/vining2000/imximage.cfg > new file mode 100644 > index 000..4133dda > --- /dev/null > +++ b/board/samtec/vining2000/imximage.cfg > @@ -0,0 +1,

Re: [U-Boot] [PATCH v2 8/14] mtd: sunxi: Change U-Boot offset

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 01:38:38PM +0100, Maxime Ripard wrote: > 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 off

Re: [U-Boot] [PATCH v2 10/14] sunxi: Add the default mtdids and mtdparts to our env

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 01:38:40PM +0100, Maxime Ripard wrote: > 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 -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH v2 5/14] common: Move environment choice to Kconfig

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 01:38:35PM +0100, Maxime Ripard wrote: > 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 confi

Re: [U-Boot] [PATCH v2 6/14] cmd: Add Kconfig option for CMD_MTDPARTS and related options

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 01:38:36PM +0100, Maxime Ripard wrote: > 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

[U-Boot] [PATCH] net: usb: r8152: Use ALLOC_CACHE_ALIGN_BUFFER() to allocate the buffers

2016-11-22 Thread Stefan Roese
Testing on theadorable (Armada XP) has shown, that using this driver results in many cache misaligned warning, such as: CACHE: Misaligned operation at range [7fabd8fc, 7fabd900] This patch now uses the ALLOC_CACHE_ALIGN_BUFFER() macro to allocate the buffers on a cache aligned boundary. This fixe

Re: [U-Boot] [PATCH v2 3/14] bch: Allow to build for the host

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 01:38:33PM +0100, Maxime Ripard wrote: > 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 -- Tom s

Re: [U-Boot] [PATCH] vexpress64: Juno: Change PCI buss addresses for IO to start from zero.

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 12:08:49PM +, Liviu Dudau wrote: > On Tue, Nov 22, 2016 at 11:29:20AM +, Sudeep Holla wrote: > > Hi Liviu, > > > > On Tue, Nov 22, 2016 at 11:19 AM, Liviu Dudau > > wrote: > > > Juno uses a 1:1 mapping between CPU and PCI addresses for IO. First, > > > that will t

Re: [U-Boot] [Resend RFC PATCH v1 0/3] GPT over MTD

2016-11-22 Thread Ladislav Michl
Hi, On Tue, Nov 22, 2016 at 02:24:39PM +0100, Patrick Delaunay wrote: > > I have a request to support GPT over MTD to be able to have dynamic > MTD informations without u-Boot environment(CONFIG_ENV_IS_NOWHERE > is a other requirement of my project). I'm just curious, could you provide some reas

Re: [U-Boot] [PATCH 2/3] ARM: DRA7: Redefine voltage and efuse macros per OPP using Kconfig

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 11:51:38AM +0530, Lokesh Vutla wrote: > From: Suman Anna > > Redefine the macros used to define the voltage values and the > efuse register offsets based on OPP for all the voltage domains. > This is done using Kconfig macros that can be set in a defconfig > or selected du

Re: [U-Boot] [PATCH] board: topic: Detect RAM size at boot

2016-11-22 Thread Mike Looijmans
On 22-11-16 12:00, Michal Simek wrote: On 21.11.2016 09:30, Mike Looijmans wrote: Miami boards can have memory sizes of 256M, 512M or 1GB. To prevent requiring separate bootloaders for each variant, just detect the RAM size at boot time instead of relying on the devicetree information. Signed-

[U-Boot] [PATCH] mx6sx: Add initial support for Samtec VIN|ING 2000 board

2016-11-22 Thread Christoph Fritz
Signed-off-by: Christoph Fritz --- arch/arm/cpu/armv7/mx6/Kconfig | 7 + board/samtec/vining2000/Kconfig | 12 + board/samtec/vining2000/MAINTAINERS | 6 + board/samtec/vining2000/Makefile | 6 + board/samtec/vining2000/imximage.cfg | 132 + board/samtec/vining2000

Re: [U-Boot] flashair and u-boot hooks script

2016-11-22 Thread Michal Simek
On 22.11.2016 15:33, Tom Rini wrote: > On Tue, Nov 22, 2016 at 03:12:52PM +0100, Michal Simek wrote: >> Hi guys, >> >> did you see this problem before? >> >> [bin]$ ./u-boot-test-flash xilinx_zynqmp_zcu102 zcu102 >> 192.168.0.103 push:/tmp/tmp.I2MxPKltj7 >> PUSH DIR: /tmp/tmp.I2MxPKltj7 >> ..PUSH

Re: [U-Boot] flashair and u-boot hooks script

2016-11-22 Thread Michal Simek
On 22.11.2016 15:12, Michal Simek wrote: > Hi guys, > > did you see this problem before? > > [bin]$ ./u-boot-test-flash xilinx_zynqmp_zcu102 zcu102 > 192.168.0.103 push:/tmp/tmp.I2MxPKltj7 > PUSH DIR: /tmp/tmp.I2MxPKltj7 > ..PUSH FILE: u-boot.bin > 200 > [bin]$ ./u-boot-test-flash xilinx_zy

Re: [U-Boot] flashair and u-boot hooks script

2016-11-22 Thread Tom Rini
On Tue, Nov 22, 2016 at 03:12:52PM +0100, Michal Simek wrote: > Hi guys, > > did you see this problem before? > > [bin]$ ./u-boot-test-flash xilinx_zynqmp_zcu102 zcu102 > 192.168.0.103 push:/tmp/tmp.I2MxPKltj7 > PUSH DIR: /tmp/tmp.I2MxPKltj7 > ..PUSH FILE: u-boot.bin > 200 > [bin]$ ./u-boot

  1   2   >