Re: [U-Boot] [PATCH v3 2/2] nand: extend nand torture

2016-06-14 Thread Benoît Thébaudeau
Hi Max, On Mon, Jun 13, 2016 at 10:15 AM, Max Krummenacher wrote: > nand torture currently works on exactly one nand block which is specified > by giving the byteoffset to the beginning of the block. > > Extend this by allowing for a second parameter specifying the byte size > to be tested. > > e

[U-Boot] [RFC PATCH V3] common: image-fdt: support dts from the second address of android image

2016-06-14 Thread Michael Trimarchi
We can support dts load from the second address of android image. This let us to boot board (aka freescale) Signed-off-by: Michael Trimarchi --- Changes: v2 -> v3: Move variable fdt_data and fdt_len in main body v1 -> v2: reduce code and cleanup --- common/image-android.c | 21 ++

Re: [U-Boot] [PATCH] net: smsc95xx: Use correct get_unaligned functions

2016-06-14 Thread Chris Packham
On Mon, Jun 13, 2016 at 8:01 PM, Chris Packham wrote: > Hi Mark, > > On Mon, Jun 13, 2016 at 5:00 PM, Mark Tomlinson > wrote: >> The __get_unaligned_le* functions may not be declared on all platforms. >> Instead, get_unaligned_le* should be used. On many platforms both of >> these are the same fu

Re: [U-Boot] [PATCH] net: Allow setenv to set net global variables

2016-06-14 Thread Chris Packham
On 06/14/2016 06:34 AM, Joe Hershberger wrote: > Hi Chris, > > On Sun, Jun 12, 2016 at 3:58 PM, Chris Packham > wrote: >> Hi Joe, >> >> On 06/11/2016 03:56 AM, Joe Hershberger wrote: >>> On Thu, Jun 9, 2016 at 8:40 PM, Matthew Bright >>> wrote: The patch fd3056337e6fcc introduces env callbac

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

2016-06-14 Thread Hamish Martin
Define a platform data structure for the MPC85XX GPIO driver to allow use of the driver without device tree. Users should define the GPIO blocks for their platform like this: struct mpc85xx_gpio_plat gpio_blocks[] = { { .addr = 0x13, .ngpios = 32,

Re: [U-Boot] [PATCH] net: Allow setenv to set net global variables

2016-06-14 Thread Joe Hershberger
Hi Chris, On Mon, Jun 13, 2016 at 4:13 PM, Chris Packham wrote: > On 06/14/2016 06:34 AM, Joe Hershberger wrote: >> Hi Chris, >> >> On Sun, Jun 12, 2016 at 3:58 PM, Chris Packham >> wrote: >>> Hi Joe, >>> >>> On 06/11/2016 03:56 AM, Joe Hershberger wrote: On Thu, Jun 9, 2016 at 8:40 PM, Mat

Re: [U-Boot] [PATCH] net: Allow setenv to set net global variables

2016-06-14 Thread Chris Packham
On 06/14/2016 10:19 AM, Joe Hershberger wrote: > Hi Chris, > > On Mon, Jun 13, 2016 at 4:13 PM, Chris Packham > wrote: >> On 06/14/2016 06:34 AM, Joe Hershberger wrote: >>> Hi Chris, >>> >>> On Sun, Jun 12, 2016 at 3:58 PM, Chris Packham >>> wrote: Hi Joe, On 06/11/2016 03:56 AM, J

[U-Boot] [PATCH v5 1/8] ARMv7: PSCI: add PSCI v1.0 functions skeleton

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang This patch adds all the PSCI v1.0 functions in to the common framework, with all the functions returning "not implemented" by default, as a common framework all the dummy functions are added here, it is up to every platform developer to decide which version of PSCI and which fu

[U-Boot] [PATCH v5 5/8] ARMv7: PSCI: ls102xa: check target CPU ID before further operations

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang The input parameter CPU ID needs to be validated before furher oprations such as CPU_ON, this patch introduces the function to do this. Signed-off-by: Wang Dongsheng Signed-off-by: Hongbo Zhang --- arch/arm/cpu/armv7/ls102xa/psci.S | 34 +- 1

[U-Boot] [PATCH v5 6/8] ARMv7: PSCI: ls102xa: check ALREADY_ON or ON_PENDING for CPU_ON

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang For the robustness of codes, while powering on a CPU, it is better to check if the target CPU is already on or in the process of power on, if yes the power on routine shouldn't be executed further and should return with the corresponding status immediately. Signed-off-by: Hong

[U-Boot] [PATCH v5 7/8] ARMv7: PSCI: ls102xa: add more PSCI v1.0 functions implemention

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang This patch implements PSCI functions for ls102xa SoC following PSCI v1.0, they are as the list: psci_version, psci_features, psci_cpu_suspend, psci_affinity_info, psci_system_reset, psci_system_off. Tested on LS1021aQDS, LS1021aTWR. Signed-off-by: Wang

[U-Boot] [PATCH v5 8/8] ARMv7: PSCI: ls102xa: move secure text section into OCRAM

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang LS1021 offers two secure OCRAM blocks for trustzone. This patch moves all the secure text sections into the OCRAM. Signed-off-by: Wang Dongsheng Signed-off-by: Hongbo Zhang --- arch/arm/include/asm/arch-ls102xa/config.h | 2 +- include/configs/ls1021atwr.h | 2

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-14 Thread David Gibson
On Fri, Jun 10, 2016 at 05:28:11PM +0300, Pantelis Antoniou wrote: > Hi Maxime, > > > On May 27, 2016, at 12:13 , Maxime Ripard > > wrote: > > > > The device tree overlays are a good way to deal with user-modifyable > > boards or boards with some kind of an expansion mechanism where we can > >

Re: [U-Boot] [PATCH] ARM: AM57xx: Enable FIT for HS Devices

2016-06-14 Thread Lokesh Vutla
On Tuesday 14 June 2016 04:55 AM, Andreas Dannenberg wrote: > Enable FIT support for AM57xx platforms using the high-security (HS) > device variant. > > Signed-off-by: Andreas Dannenberg Reviewed-by: Lokesh Vutla Thanks and regards, Lokesh > --- > > This patch is based on the the patch ser

Re: [U-Boot] HTTP access to u-boot-x86

2016-06-14 Thread Bin Meng
On Mon, Jun 13, 2016 at 4:28 PM, Philipp, Damian wrote: > Hello U-Boot Developers, > > just to let you know, I found that http access to the repository > http://git.denx.de/u-boot-x86.git is broken. When I attempt to git clone, I > receive the following message: > > $ git clone http://git.denx.d

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

2016-06-14 Thread Rajesh Bhagat
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Monday, June 13, 2016 7:07 PM > To: Rajesh Bhagat ; u-boot@lists.denx.de > Cc: s...@chromium.org; york sun ; Sriram Dash > ; Rajesh Bhagat > Subject: Re: [PATCH v5 2/2] common: usb_storage : Implement logic to calcul

Re: [U-Boot] [PATCH v5 1/2] common: usb_storage: Make common function for usb_stor_read/usb_stor_write

2016-06-14 Thread Rajesh Bhagat
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Monday, June 13, 2016 7:00 PM > To: Rajesh Bhagat ; u-boot@lists.denx.de > Cc: s...@chromium.org; york sun ; Sriram Dash > > Subject: Re: [PATCH v5 1/2] common: usb_storage: Make common function for > usb_stor_read/u

Re: [U-Boot] [PATCH v2 2/4] usb: dwc3: Add helper functions to enable snooping and burst settings

2016-06-14 Thread Rajesh Bhagat
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Friday, June 10, 2016 6:05 AM > To: Rajat Srivastava > Cc: U-Boot Mailing List ; Lukasz Majewski > ; Marek Vašut ; Albert ARIBAUD > ; Prabhakar Kushwaha ; > york sun ; Mingkai Hu ; Raje

Re: [U-Boot] [PATCH v2 3/4] armv8/fsl-layerscape: add dwc3 gadget driver support

2016-06-14 Thread Rajesh Bhagat
> -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Friday, June 10, 2016 6:05 AM > To: Rajat Srivastava > Cc: U-Boot Mailing List ; Lukasz Majewski > ; Marek Vašut ; Albert ARIBAUD > ; Prabhakar Kushwaha ; > york sun ; Mingkai Hu ; Raje

[U-Boot] arc: axs103 compile broken ?

2016-06-14 Thread Heiko Schocher
Hello Sjoerd, as I just write a tbot testcase, which checks patches, which moves a config option to Kconfig, I tested also to compile arc boards, and the first try immediately failed with: pollux:u-boot-dxr2 hs [master] $ make axs103_defconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/kco

[U-Boot] powerpc/85xx: usb: Limit controllers initialized by usb_init()

2016-06-14 Thread Matthew Bright
Hi, I am looking for a way to limit which usb host interfaces are initiali- zed by usb_init() in order to skip unused interfaces. This is currently governed CONFIG_USB_MAX_CONTROLLER_COUNT, which is possible to redefine at the board level. However this doesn't cover more complex cases where a SoC

Re: [U-Boot] [PATCH 22/27] net: phy: marvell: Add a missing errno.h header

2016-06-14 Thread Michal Simek
On 13.6.2016 20:21, Joe Hershberger wrote: > Hi Simon, > > On Mon, Jun 13, 2016 at 12:30 AM, Simon Glass wrote: >> This corrects a build error on zynqmp. >> >> Signed-off-by: Simon Glass Maybe fix this address too. Thanks, Michal ___ U-Boot mailing l

[U-Boot] [PATCH v5 4/8] ARMv7: PSCI: add codes to save context ID for CPU_ON

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang According to latest PSCI specification, the context ID is needed by CPU_ON. This patch saves context ID to the second lowest address of the stack (next to where target PC is saved), and restores it to r0 when needed while target CPU booting up. Signed-off-by: Hongbo Zhang Sig

Re: [U-Boot] [PATCH] net: Allow setenv to set net global variables

2016-06-14 Thread Joe Hershberger
Hi Chris, On Mon, Jun 13, 2016 at 5:52 PM, Chris Packham wrote: > On 06/14/2016 10:19 AM, Joe Hershberger wrote: >> Hi Chris, >> >> On Mon, Jun 13, 2016 at 4:13 PM, Chris Packham >> wrote: >>> On 06/14/2016 06:34 AM, Joe Hershberger wrote: Hi Chris, On Sun, Jun 12, 2016 at 3:58 PM

[U-Boot] [PATCH] ARM: AM57xx: Enable FIT for HS Devices

2016-06-14 Thread Andreas Dannenberg
Enable FIT support for AM57xx platforms using the high-security (HS) device variant. Signed-off-by: Andreas Dannenberg --- This patch is based on the the patch series [1] by Lokesh. Although there is currently only 1 device supported by this defconfig the SPL FIT support is needed in preparation

Re: [U-Boot] MinnowMax GPIO for USB3

2016-06-14 Thread Bin Meng
Hi George, On Sun, Jun 12, 2016 at 5:26 PM, Bin Meng wrote: > On Sun, Jun 12, 2016 at 4:43 PM, Bin Meng wrote: >> Hi, >> >> My testing shows that only pin_usb_host_en1 is needed to turn on the >> power on the USB3 port. The USB2 port power is turned on by default. >> > > Seems I was confused by

Re: [U-Boot] x86: acpi: Disabling SoC functions defined in ASL on a per board basis

2016-06-14 Thread Bin Meng
Hi George, On Tue, Jun 14, 2016 at 12:12 AM, George McCollister wrote: > On Fri, Jun 10, 2016 at 7:25 PM, Bin Meng wrote: >> Hi George, >> >> +Simon, Stefan >> >> On Fri, Jun 10, 2016 at 1:17 AM, George McCollister >> wrote: >>> Does anyone have any ideas on how we might go about disabling >>>

Re: [U-Boot] U-boot VESA driver Initialization

2016-06-14 Thread Bin Meng
On Mon, Jun 13, 2016 at 5:41 PM, vinoth eswaran wrote: > Hello Mr.Bin, > Hello Mr.George McCollister, > > I am working on an embedded project to optimize Linux boot up time. I have > a camera application, which I need to run as fast as possible after powering > up the board. > > For this currentl

Re: [U-Boot] U-boot Minnowmax image overlaps with region './board/intel/minnowmax/vga.bin'

2016-06-14 Thread Bin Meng
On Mon, Jun 13, 2016 at 8:04 PM, vinoth eswaran wrote: > Hello U-Boot developers, > > In Minnowmax board, I am trying to enable the debug messages of > u-boot. When I try to enable the debug messages either through adding > -DDEBUG flag in config.mk or by adding #define DEBUG in > include/comm

Re: [U-Boot] [RFC] x86: baytrail: azalia DT configuration mock-up

2016-06-14 Thread Bin Meng
Hi George, On Mon, Jun 13, 2016 at 9:09 PM, George McCollister wrote: > On Fri, Jun 10, 2016 at 7:17 PM, Bin Meng wrote: >> Hi George, >> >> On Fri, Jun 10, 2016 at 4:57 AM, George McCollister >> wrote: >>> I'm looking for feedback on this mock-up of fsp,azalia-config DT >>> before I proceed to

[U-Boot] [PATCH v5 0/8] ARMv7: PSCI: add PSCI v1.0 support

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang v5 changes: - Give up fixing the potential bug of PSCI stack overlap with secure text end when there is more CPUs in system. Because I just want to keep this series as simple as it could be: adding basic PSCI v1.0 support and adding more PSCI v1.0 implements of our platform. Wh

Re: [U-Boot] HTTP access to u-boot-x86

2016-06-14 Thread Wolfgang Denk
Dear Bin Meng, In message you wrote: > > I am not sure what's the issue. I've always been using git protocol to > do the clone. I also have no idea. For some reason, HTTP accesses are broken. I speculate that the gitweb code we run on our git server has become incompatible with recent versio

Re: [U-Boot] arc: axs103 compile broken ?

2016-06-14 Thread Alexey Brodkin
Hi Heiko, On Tue, 2016-06-14 at 07:07 +0200, Heiko Schocher wrote: > Hello Sjoerd, > > as I just write a tbot testcase, which checks patches, which moves > a config option to Kconfig, I tested also to compile arc boards, and > the first try immediately failed with: > > pollux:u-boot-dxr2 hs [mas

[U-Boot] [PATCH v5 3/8] ARMv7: PSCI: update the place of saving target PC

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang The legacy code saves target PC at stack top, this patch changes it to stack bottom, because we will save more contents for PSCI v1.0, by this way we don't need to adjust the stack pointer when more contents are saved. Signed-off-by: Hongbo Zhang Signed-off-by: Wang Dongsheng

[U-Boot] [PATCH v1] OMAP3: fix twister board

2016-06-14 Thread Stefano Babic
twister board was not updated after changing SPL defines, resulting in a broken board. Signed-off-by: Stefano Babic --- include/configs/tam3517-common.h | 16 1 file changed, 16 insertions(+) diff --git a/include/configs/tam3517-common.h b/include/configs/tam3517-common.h inde

[U-Boot] [PATCH v5 2/8] ARMv7: PSCI: factor out reusable psci_cpu_on_common

2016-06-14 Thread macro . wave . z
From: Hongbo Zhang There are codes for saving target PC in each platform psci_cpu_on routines, these can be factored out as psci_cpu_on_common. Another purpose is that the codes of saving target PC will be changed a bit and a new context ID will be saved in the following patches, then we can upda

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

2016-06-14 Thread Minkyu Kang
2016년 6월 10일 금요일, Tom Rini님이 작성한 메시지: > On Fri, Jun 10, 2016 at 03:03:37PM +0900, Minkyu Kang wrote: > > On 30/05/16 11:39, Simon Glass wrote: > > > Hi Minkyu, > > > > > > On 30 May 2016 at 14:31, Minkyu Kang > wrote: > > >> > > >> Dear Simon, > > >> > > >> On 26/05/16 23:52, Tom Rini wrote: > >

[U-Boot] [PATCH 2/3] pci: Make load_oprom and run_oprom independent

2016-06-14 Thread Bin Meng
At present should_load_oprom() calls board_should_run_oprom() to determine whether oprom should be loaded. But sometimes we just want to load oprom without running. Make them independent. Signed-off-by: Bin Meng --- drivers/pci/pci_rom.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-)

[U-Boot] [PATCH 3/3] pci: Add board_ prefix to should_load_oprom() and make it weak

2016-06-14 Thread Bin Meng
For consistency with board_should_run_oprom(), do the same to should_load_oprom(). Board support codes can provide this one to override the default weak one. Signed-off-by: Bin Meng --- drivers/pci/pci_rom.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/pci

[U-Boot] [PATCH 1/3] pci: Remove CONFIG_ALWAYS_LOAD_OPROM

2016-06-14 Thread Bin Meng
This option is defined at nowhere. Remove it. Signed-off-by: Bin Meng --- drivers/pci/pci_rom.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pci/pci_rom.c b/drivers/pci/pci_rom.c index 9eb605b..3ae9231 100644 --- a/drivers/pci/pci_rom.c +++ b/drivers/pci/pci_rom.c @@ -41,8 +41,6

Re: [U-Boot] U-boot VESA driver Initialization

2016-06-14 Thread Bin Meng
On Tue, Jun 14, 2016 at 2:57 PM, vinoth eswaran wrote: > Hello Bin, > > On Tue, Jun 14, 2016 at 4:04 AM, Bin Meng wrote: >> On Mon, Jun 13, 2016 at 5:41 PM, vinoth eswaran >> wrote: >>> Hello Mr.Bin, >>> Hello Mr.George McCollister, >>> >>> I am working on an embedded project to optimize Linux

Re: [U-Boot] [PATCH v2 1/3] spi: spi_flash: Dont set quad enable for micron in all cases

2016-06-14 Thread Siva Durga Prasad Paladugu
-Original Message- From: Siva Durga Prasad Paladugu [mailto:siva.durga.palad...@xilinx.com] Sent: Thursday, May 26, 2016 12:28 PM To: u-boot@lists.denx.de Cc: Michal Simek ; jagannadh.t...@gmail.com; Siva Durga Prasad Paladugu Subject: [PATCH v2 1/3] spi: spi_flash: Dont set quad enable

Re: [U-Boot] [PATCH 1/9] spi: zynq_qspi: Add quad support for zynq qspi

2016-06-14 Thread Siva Durga Prasad Paladugu
-Original Message- From: Siva Durga Prasad Paladugu [mailto:siva.durga.palad...@xilinx.com] Sent: Monday, June 06, 2016 3:15 PM To: u-boot@lists.denx.de Cc: Michal Simek ; jagannadh.t...@gmail.com; Siva Durga Prasad Paladugu Subject: [PATCH 1/9] spi: zynq_qspi: Add quad support for zynq

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-14 Thread Pantelis Antoniou
Hi David, > On Jun 14, 2016, at 03:25 , David Gibson wrote: > > On Fri, Jun 10, 2016 at 05:28:11PM +0300, Pantelis Antoniou wrote: >> Hi Maxime, >> >>> On May 27, 2016, at 12:13 , Maxime Ripard >>> wrote: >>> >>> The device tree overlays are a good way to deal with user-modifyable >>> boards

Re: [U-Boot] U-boot VESA driver Initialization

2016-06-14 Thread vinoth eswaran
On Tue, Jun 14, 2016 at 11:13 AM, Bin Meng wrote: > On Tue, Jun 14, 2016 at 2:57 PM, vinoth eswaran wrote: >> Hello Mr.Bin, >> >> On Tue, Jun 14, 2016 at 4:04 AM, Bin Meng wrote: >>> On Mon, Jun 13, 2016 at 5:41 PM, vinoth eswaran >>> wrote: Hello Mr.Bin, Hello Mr.George McCollister,

[U-Boot] [PATCH] SPL ext: cosmetic: correct error message in spl_load_image_ext()

2016-06-14 Thread Petr Kulhavy
Correct the error message in spl_load_image_ext() when image parsing fails. Instead of "ext4fs_read failed" print "failed to parse image header". Signed-off-by: Petr Kulhavy CC: Guillaume GARDET --- common/spl/spl_ext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/

Re: [U-Boot] U-boot VESA driver Initialization

2016-06-14 Thread Bin Meng
On Tue, Jun 14, 2016 at 5:29 PM, vinoth eswaran wrote: > On Tue, Jun 14, 2016 at 11:13 AM, Bin Meng wrote: >> On Tue, Jun 14, 2016 at 2:57 PM, vinoth eswaran >> wrote: >>> Hello Mr.Bin, >>> >>> On Tue, Jun 14, 2016 at 4:04 AM, Bin Meng wrote: On Mon, Jun 13, 2016 at 5:41 PM, vinoth eswara

[U-Boot] [PATCH] SPL: ext: remove redundant ifdef statement

2016-06-14 Thread Petr Kulhavy
Remove redundant #if defined(CONFIG_SPL_OS_BOOT) statement around getenv() calls in spl_load_image_ext_os(). The whole function is surrounded by #ifdef CONFIG_SPL_OS_BOOT. No functional change. Signed-off-by: Petr Kulhavy CC: Guillaume GARDET --- common/spl/spl_ext.c | 3 +-- 1 file changed,

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

2016-06-14 Thread Heiko Schocher
Hello Tom, please pull from u-boot-ubi.git master The following changes since commit 6b3943f1b04be60f147ee540fbd72c4c7ea89f80: siemens,am33x: add draco etamin board (2016-06-09 13:53:13 -0400) are available in the git repository at: git://git.denx.de/u-boot-ubi.git master for you to fetc

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

2016-06-14 Thread Ravi Babu
Traditionally the DFU support is available only as part 2nd stage boot loader(u-boot) and DFU is not supported in SPL. The SPL-DFU feature is useful for boards which has only USB inteface and do not have external interface like ethernet or MMC/SD to boot the board. This patch add DFU support in S

[U-Boot] [RFC PATCH v1 2/6] spl: dfu: adding dfu support functions for SPL-DFU

2016-06-14 Thread Ravi Babu
Adding support functions to run dfu commands Signed-off-by: Ravi Babu --- common/spl/Makefile |1 + common/spl/spl_dfu.c | 153 ++ include/spl.h| 10 3 files changed, 164 insertions(+) create mode 100644 common/spl/spl_dfu.c

[U-Boot] [RFC PATCH v1 3/6] dfu: spl: add generic spl-dfu function in common-spl

2016-06-14 Thread Ravi Babu
Add generic spl-dfu function in common-spl, specific implemention for configuring dfu memory device is done in platform board specific source file. Signed-off-by: Ravi Babu --- common/spl/spl.c |9 + include/spl.h|1 + 2 files changed, 10 insertions(+) diff --git a/common/sp

[U-Boot] [RFC PATCH v1 5/6] dfu: spl: dra7x: enable SPL-dfu support for dra7x platform

2016-06-14 Thread Ravi Babu
Enable the SPL-DFU support for dra7x platform. Signed-off-by: Ravi Babu --- include/configs/dra7xx_evm.h |8 include/configs/ti_omap5_common.h |2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h i

[U-Boot] [RFC PATCH v1 4/6] dra7x: spl: dfu: adding SPL-DFU support for dra7x platform

2016-06-14 Thread Ravi Babu
Adding SPL-DFU support for dra7x platform. The DFU support for dra7x includes QSPI, MMC/SD and eMMC memory devices. The SPL-DFU memory devices can be selected through meunconfig->Boot Images. --- board/ti/dra7xx/evm.c | 17 + 1 file changed, 17 insertions(+) diff --git a/board/t

[U-Boot] [RFC PATCH v1 0/6] SPL: DFU Support in SPL

2016-06-14 Thread Ravi Babu
Traditionally the DFU support is available only as part 2nd stage boot loader(u-boot) and DFU is not supported in SPL. The SPL-DFU feature is useful for boards which has only USB inteface and do not have external interface like ethernet or MMC/SD to boot the board. This feature enable DFU to be b

[U-Boot] [RFC PATCH v1 6/6] dfu: spl: am335x: SPL-DFU support for am335x

2016-06-14 Thread Ravi Babu
enable the SPL-DFU support for am335x platform. Signed-off-by: Ravi Babu --- Kconfig |2 +- board/ti/am335x/board.c | 15 +++ common/spl/spl_dfu.c |1 + include/configs/am335x_evm.h | 17 - 4 files changed, 33 insertions(+

[U-Boot] [PATCH v5 1/2] powerpc/mpc85xx: SECURE BOOT- Enable chain of trust in SPL

2016-06-14 Thread Sumit Garg
As part of Chain of Trust for Secure boot, the SPL U-Boot will validate the next level U-boot image. Add a new function spl_validate_uboot to perform the validation. Enable hardware crypto operations in SPL using SEC block. In case of Secure Boot, PAMU is not bypassed. For allowing SEC block acces

[U-Boot] [PATCH v5 2/2] powerpc/mpc85xx: T104x: Add nand secure boot target

2016-06-14 Thread Sumit Garg
For mpc85xx SoCs, the core begins execution from address 0xFFFC. In non-secure boot scenario from NAND, this address will map to CPC configured as SRAM. But in case of secure boot, this default address always maps to IBR (Internal Boot ROM). The IBR code requires that the bootloader(U-boot) mus

[U-Boot] [PATCH 1/4] DM: crypto/fsl: Enable rsa DM driver usage before relocation

2016-06-14 Thread Sumit Garg
Enable rsa signature verification in SPL framework before relocation for verification of main u-boot. Reviewed-by: Aneesh Bansal Signed-off-by: Sumit Garg --- drivers/crypto/fsl/fsl_rsa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/fsl/fsl_rsa.c b/drivers/crypto/fsl/fsl_r

[U-Boot] [PATCH 2/4] SECURE_BOOT: Enable chain of trust in SPL framework

2016-06-14 Thread Sumit Garg
Override jump_to_image_no_args function to include validation of u-boot image using spl_validate_uboot before jumping to u-boot image. Also define macros in SPL framework to enable crypto operations. Reviewed-by: Aneesh Bansal Signed-off-by: Sumit Garg --- arch/arm/include/asm/fsl_secure_boot.h

[U-Boot] [PATCH 3/4] SECURE_BOOT: Enable SD as a source for bootscript

2016-06-14 Thread Sumit Garg
Add support for reading bootscript and bootscript header from SD. Also renamed macros *_FLASH to *_DEVICE to represent SD alongwith NAND and NOR flash. Reviewed-by: Aneesh Bansal Signed-off-by: Sumit Garg --- arch/arm/include/asm/fsl_secure_boot.h | 43 -- arch/p

[U-Boot] [PATCH 4/4] arm: ls1021atwr: Add SD secure boot target

2016-06-14 Thread Sumit Garg
Add SD secure boot target for ls1021atwr. Implement board specific spl_board_init() to setup CAAM stream ID and corresponding stream ID in SMMU. Change the u-boot size defined by a macro for copying the main U-Boot by SPL to also include the u-boot Secure Boot header size as header is appended to u

[U-Boot] [PATCH 0/4] Add SECURE BOOT support in SPL framework

2016-06-14 Thread Sumit Garg
The patch-set does the following : 1. Enable chain of trust in SPL framework for ARM based platforms. 3. Add SD secure boot target for ls1021atwr platform. Sumit Garg (4): DM: crypto/fsl: Enable rsa DM driver usage before relocation SECURE_BOOT: Enable chain of trust in SPL framework SECURE

[U-Boot] U-boot VESA driver Unsupported software interrupt #0x15

2016-06-14 Thread vinoth eswaran
Hello Mr.Bin, In the latest U-boot-x86 version I am seeing some error messages when I enable the debug messages in the bios.c file. I am checking the VESA driver initialization and it seems that for a particular functional call it takes more time to process. realmode_call(addr + 0x0003, num_

Re: [U-Boot] x86: acpi: Disabling SoC functions defined in ASL on a per board basis

2016-06-14 Thread George McCollister
On Mon, Jun 13, 2016 at 8:45 PM, Bin Meng wrote: > Hi George, > > On Tue, Jun 14, 2016 at 12:12 AM, George McCollister > wrote: >> On Fri, Jun 10, 2016 at 7:25 PM, Bin Meng wrote: >>> Hi George, >>> >>> +Simon, Stefan >>> >>> On Fri, Jun 10, 2016 at 1:17 AM, George McCollister >>> wrote: D

Re: [U-Boot] powerpc/85xx: usb: Limit controllers initialized by usb_init()

2016-06-14 Thread Marek Vasut
On 06/14/2016 07:40 AM, Matthew Bright wrote: > Hi, Hi, > I am looking for a way to limit which usb host interfaces are initiali- > zed by usb_init() in order to skip unused interfaces. This is currently > governed CONFIG_USB_MAX_CONTROLLER_COUNT, which is possible to redefine > at the board le

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

2016-06-14 Thread Marek Vasut
On 06/14/2016 05:41 AM, Rajesh Bhagat wrote: > > >> -Original Message- >> From: Marek Vasut [mailto:ma...@denx.de] >> Sent: Monday, June 13, 2016 7:07 PM >> To: Rajesh Bhagat ; u-boot@lists.denx.de >> Cc: s...@chromium.org; york sun ; Sriram Dash >> ; Rajesh Bhagat >> Subject: Re: [PATCH

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

2016-06-14 Thread Rajesh Bhagat
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Tuesday, June 14, 2016 5:41 PM > To: Rajesh Bhagat ; u-boot@lists.denx.de > Cc: s...@chromium.org; york sun ; Sriram Dash > ; Rajesh Bhagat > Subject: Re: [PATCH v5 2/2] common: usb_storage : Implement logic to calcu

Re: [U-Boot] U-boot VESA driver Unsupported software interrupt #0x15

2016-06-14 Thread Bin Meng
On Tue, Jun 14, 2016 at 8:41 PM, vinoth eswaran wrote: > Hello Mr.Bin, > > In the latest U-boot-x86 version I am seeing some error messages when > I enable the debug messages in the bios.c file. > > I am checking the VESA driver initialization and it seems that for a > particular functional call

[U-Boot] [PATCH] common/Kconfig: Change the default BOOTDELAY to 2

2016-06-14 Thread Tom Rini
The value of 0 is fairly uncommon while 2 is one of the more common ones so switch. Signed-off-by: Tom Rini --- common/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/Kconfig b/common/Kconfig index 4d17b10..e691145 100644 --- a/common/Kconfig +++ b/common/Kconf

Re: [U-Boot] u-boot-x86 sf probe fail

2016-06-14 Thread Simon Glass
Hi Hilbert, On 2 June 2016 at 19:40, Bin Meng wrote: > Hi Hilbert, > > On Thu, Jun 2, 2016 at 11:46 AM, Hilbert Tu(杜睿哲_Pegatron) > wrote: >> Hi Bin, >> >> Sorry for the late. >> >> I have checked with Intel's support and following is their response: >> On the other hand, for the question abo

[U-Boot] [PATCH] configs: Re-sync BOOTDELAY changes

2016-06-14 Thread Tom Rini
With updated moveconfig.py and an better default, re-generate the migration of BOOTDELAY to the defconfig. Signed-off-by: Tom Rini --- configs/A10-OLinuXino-Lime_defconfig | 1 + configs/A20-OLinuXino_MICRO_defconfig| 2 +- configs/A20-Olimex-SOM-EVB_defconfig

[U-Boot] [PATCH] nand: doc: fix example ecc scheme calculation

2016-06-14 Thread Fabian Mewes
Signed-off-by: Fabian Mewes --- doc/README.nand | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/README.nand b/doc/README.nand index 96ffc48..9aa6cc4 100644 --- a/doc/README.nand +++ b/doc/README.nand @@ -271,7 +271,7 @@ Platform specific options However,

[U-Boot] [PATCH 0/3] Series short description

2016-06-14 Thread Benjamin Tietz
The following series fixes som issues in the STM32 gpio driver --- Benjamin Tietz (3): stm32: gpio: fix otype access stm32: gpio_direction_output: make sure, output is set to push-pull stm32: gpio_get_value: always return 0 or 1 drivers/gpio/stm32_gpio.c |5 +++-- 1 file

[U-Boot] [PATCH2/3] stm32: gpio_direction_output: make sure, output is set to push-pull

2016-06-14 Thread Benjamin Tietz
otherwise, the output type is uninitialized --- drivers/gpio/stm32_gpio.c |1 + 1 file changed, 1 insertion(+) otherwise, the output type is uninitialized --- drivers/gpio/stm32_gpio.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/stm32_gpio.c b/drivers/gpio/stm32_gpio.c

[U-Boot] [PATCH1/3] stm32: gpio: fix otype access

2016-06-14 Thread Benjamin Tietz
the GPIOx_OTYPER register has only one bit for every pin. --- drivers/gpio/stm32_gpio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) the GPIOx_OTYPER register has only one bit for every pin. --- drivers/gpio/stm32_gpio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -

[U-Boot] [PATCH3/3] stm32: gpio_get_value: always return 0 or 1

2016-06-14 Thread Benjamin Tietz
Previously, a set gpio had returned any power of 2. Some function check for 1 explicitly. --- drivers/gpio/stm32_gpio.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Previously, a set gpio had returned any power of 2. Some function check for 1 explicitly. --- drivers/gpio/stm32_gpio.

[U-Boot] [PATCH] armv8: dts: fsl: Remove cpu nodes from Layerscape DTSIs

2016-06-14 Thread Abhimanyu Saini
Currently layescape SoCs are not using cpu nodes. So removing them in favour of compatibly with similar SoCs that have different cores like LS2080A and LS2088A. This has been tested on LS2080AQDS, LS1043ARDB, LS1012ARDB. Signed-off-by: Prabhakar Kushwaha Signed-off-by: Abhimanyu Saini --- arc

[U-Boot] [PATCH] Orphan dbau1x00 boards

2016-06-14 Thread Thomas Lange
I no longer have access to such a board Signed-off-by: Thomas Lange --- board/dbau1x00/MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/dbau1x00/MAINTAINERS b/board/dbau1x00/MAINTAINERS index b94ed81..21853ed 100644 --- a/board/dbau1x00/MAINTAINERS +++ b/

Re: [U-Boot] [RFC] x86: baytrail: azalia DT configuration mock-up

2016-06-14 Thread George McCollister
On Mon, Jun 13, 2016 at 9:09 PM, Bin Meng wrote: > Hi George, > > On Mon, Jun 13, 2016 at 9:09 PM, George McCollister > wrote: >> On Fri, Jun 10, 2016 at 7:17 PM, Bin Meng wrote: >>> Hi George, >>> >>> On Fri, Jun 10, 2016 at 4:57 AM, George McCollister >>> wrote: I'm looking for feedback

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Fabio Estevam
Hi Peng, On Tue, Apr 26, 2016 at 3:54 AM, Peng Fan wrote: > Introudce wp_enable. If want to check WPSPL, then in board code, > need to set wp_enable to 1. > > Take i.MX6UL for example, to some boards, they do not use WP singal, > so they does not configure USDHC1_WP_SELECT_INPUT, and its default

Re: [U-Boot] MinnowMax GPIO for USB3

2016-06-14 Thread George McCollister
On Mon, Jun 13, 2016 at 8:55 PM, Bin Meng wrote: > Hi George, > > On Sun, Jun 12, 2016 at 5:26 PM, Bin Meng wrote: >> On Sun, Jun 12, 2016 at 4:43 PM, Bin Meng wrote: >>> Hi, >>> >>> My testing shows that only pin_usb_host_en1 is needed to turn on the >>> power on the USB3 port. The USB2 port po

Re: [U-Boot] [RFC PATCH] env: Add a setenv that allows passing flags

2016-06-14 Thread Chris Packham
Hi Joe, On 06/15/2016 07:01 AM, Joe Hershberger wrote: > In some cases an interactive feature will be implemented using the > programmatic APIs, so the developer will want "interactive" behavior as > a result, so provide an API that will allow that to be specified. > > Signed-off-by: Joe Hershberg

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Fabio Estevam
Hi Peng, On Tue, Jun 14, 2016 at 8:01 PM, Fabio Estevam wrote: > Just saw this issue on a mx6ul pico board: after adding I2C support > then the eMMC could not longer be written: > > => saveenv > Saving Environment to MMC... > Writing to MMC(0)... > The SD card is locked. Can not write to a locke

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Peng Fan
Hi Fabio, On Tue, Jun 14, 2016 at 08:23:27PM -0300, Fabio Estevam wrote: >Hi Peng, > >On Tue, Jun 14, 2016 at 8:01 PM, Fabio Estevam wrote: > >> Just saw this issue on a mx6ul pico board: after adding I2C support >> then the eMMC could not longer be written: >> >> => saveenv >> Saving Environment

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Fabio Estevam
Hi Peng, On Tue, Jun 14, 2016 at 10:17 PM, Peng Fan wrote: > No. We can not avoid such issue for now. You changed register 20e066c'value > to 2 > 2 means "CSI_DATA04_ALT8 — Selecting Pad: CSI_DATA04 for Mode: ALT8" > > Look at "Figure 31-3. Daisy chain illustration" of i.MX6UL RM, if changed t

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Peng Fan
Hi Fabio, On Tue, Jun 14, 2016 at 10:46:15PM -0300, Fabio Estevam wrote: >On Tue, Jun 14, 2016 at 10:17 PM, Peng Fan wrote: > Your patch allows me to write to the eMMC succesfully: Tested-by: Fabio Estevam >> >> Thanks. This patch set was posted some time ago. > >Care to resend th

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Fabio Estevam
On Tue, Jun 14, 2016 at 10:17 PM, Peng Fan wrote: >>> Your patch allows me to write to the eMMC succesfully: >>> >>> Tested-by: Fabio Estevam > > Thanks. This patch set was posted some time ago. Care to resend this series, please? Thanks ___ U-Boot m

[U-Boot] [PATCH V2 1/3] mmc: fsl: reset to normal boot mode when eMMC fast boot

2016-06-14 Thread Peng Fan
When booting in eMMC fast boot, MMC host does not exit from boot mode after bootrom loading image. So the first command 'CMD0' sent in uboot will pull down the CMD line to low and cause errors. This patch cleans the MMC boot register in "mmc_init" to put the MMC host back to normal mode. Also cle

[U-Boot] [PATCH V2 2/3] fsl_esdhc: Update clock enable bits for USDHC

2016-06-14 Thread Peng Fan
From: Ye Li The USDHC move the 4 clock bits CARD_CLK_SOFT_EN, IPG_PERCLK_SOFT_EN, HCLK_SOFT_EN, and IPG_CLK_SOFT_EN from sysctl register to vendorspec register. The driver uses RSTA to replace the clock gate off operation. But this is not a good solution. This is because: 1. when using RSTA, we s

[U-Boot] Patch revisions

2016-06-14 Thread Simon Glass
Hi Stephen, When you get a moment can you respin your driver-model patches? It would be good to get these in for the upcoming release... Regards, Simon ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 7/9] libfdt: Add overlay application function

2016-06-14 Thread David Gibson
On Tue, Jun 14, 2016 at 12:22:23PM +0300, Pantelis Antoniou wrote: > Hi David, > > On Jun 14, 2016, at 03:25 , David Gibson > > wrote: > > On Fri, Jun 10, 2016 at 05:28:11PM +0300, Pantelis Antoniou wrote: [snip] > >>> +static int fdt_overlay_merge(void *dt, void *dto) > >>> +{ > >>> + int root,

[U-Boot] [PATCH V2 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread Peng Fan
Introudce wp_enable. If want to check WPSPL, then in board code, need to set wp_enable to 1. Take i.MX6UL for example, to some boards, they do not use WP singal, so they does not configure USDHC1_WP_SELECT_INPUT, and its default value is 0(GPIO1_IO02). However GPIO1_IO02 is muxed for i2c usage and

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

2016-06-14 Thread Huan Wang
Hi, Alex, > On 06/08/2016 07:14 AM, Alison Wang wrote: > > 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

Re: [U-Boot] [PATCH] configs: Re-sync BOOTDELAY changes

2016-06-14 Thread Wolfgang Denk
Dear Tom Rini, In message <1465914280-5420-2-git-send-email-tr...@konsulko.com> you wrote: > With updated moveconfig.py and an better default, re-generate > the migration of BOOTDELAY to the defconfig. There are a number of changes that are unrelated to BOOTDELAY; should this eventually be split

[U-Boot] [PATCH 2/2] x86: fsp: Wrap setup_internal_uart() call with CONFIG_INTERNAL_UART

2016-06-14 Thread Bin Meng
For any FSP enabled boards that want to enable debug UART support, setup_internal_uart() will be called, but this API is only available on BayTrail platform. Change to wrap it with CONFIG_INTERNAL_UART. Signed-off-by: Bin Meng --- arch/x86/lib/fsp/fsp_support.c | 2 +- 1 file changed, 1 inserti

[U-Boot] [PATCH 1/2] x86: baytrail: Introduce a Kconfig option for the internal UART

2016-06-14 Thread Bin Meng
There are quite a number of BayTrail boards that uses an external SuperIO chipset to provide the legacy UART. For such cases, it's better to have a Kconfig option to enable the internal UART. So far BayleyBay and MinnowMax boards are using internal UART as the U-Boot console, enable this on these

Re: [U-Boot] [PATCH 3/3] mmc: fsl: introduce wp_enable

2016-06-14 Thread york sun
On 06/14/2016 06:35 PM, Fabio Estevam wrote: > Hi Peng, > > On Tue, Jun 14, 2016 at 10:17 PM, Peng Fan wrote: > >> No. We can not avoid such issue for now. You changed register 20e066c'value >> to 2 >> 2 means "CSI_DATA04_ALT8 — Selecting Pad: CSI_DATA04 for Mode: ALT8" >> >> Look at "Figure 31-

[U-Boot] [PATCH 2/5] tools: moveconfig: change class WorkDir to class ReferenceSource

2016-06-14 Thread Masahiro Yamada
The class WorkDir can be used in a very generic way, but currently it is only used for containing a reference source directory. This commit changes it for a more dedicated use. The move_config function can be more readable by enclosing the git-clone and git- checkout in the class constructor. Si

[U-Boot] [PATCH] usb: ehci: only shutdown opened controller

2016-06-14 Thread Peng Fan
If the usb controller is not running, no need to shutdown it, otherwise `usb stop` complains about: "EHCI failed to shut down host controller". To i.MX7D SDB, there are two usb ports, one Host, one OTG. If we only plug one udisk to the Host port and then `usb start`, the OTG controller for OTG por

  1   2   >