Re: [U-Boot] [PATCH RESEND] imx-common: hab: fix return value from hab_auth_img

2016-11-28 Thread Eric Nelson
Hi all, On 11/27/2016 08:27 AM, Eric Nelson wrote: > The authenticate_image routine returns a boolean to indicate > a valid (1) or invalid (0) image. > An off-list discussion highlighted that the expected return value from the authenticate_image() routine isn't obvious since there isn't any

Re: [U-Boot] [PATCH v5 0/7] toradex: config block handling

2016-11-28 Thread Marcel Ziswiler
Hi Tom Could you please apply that series or let me know what else would be needed/missing to having that done? http://patchwork.ozlabs.org/patch/695699/ http://patchwork.ozlabs.org/patch/695695/ http://patchwork.ozlabs.org/patch/695697/ http://patchwork.ozlabs.org/patch/695693/

Re: [U-Boot] [PATCH v2 8/8] spi: cadence_qspi: Support specifying the sample edge used

2016-11-28 Thread See, Chin Liang
Hi Phil, On Jum, 2016-11-25 at 14:38 +, Phil Edworthy wrote: > Whilst at it, move the code to read the "sram-size" property > into the other code that reads properties from the node, rather > than the SF subnode. > > Also change the code to use a bool for the bypass arg. > > Signed-off-by:

Re: [U-Boot] [PATCH] sunxi: move CONFIG_SATAPWR to Kconfig option

2016-11-28 Thread Maxime Ripard
Hi Hans, On Fri, Nov 25, 2016 at 09:12:30AM +0100, Hans de Goede wrote: > Hi, > > On 24-11-16 22:22, Maxime Ripard wrote: > > On Wed, Nov 23, 2016 at 07:28:16PM +0100, Jelle van der Waa wrote: > > > Introduce a new CONFIG_SATAPWR Kconfig option to replace the > > > option in

Re: [U-Boot] [PATCH] usb: xhci: Limit transfer length in a single TD

2016-11-28 Thread Marek Vasut
On 11/28/2016 07:15 AM, Dongwoo Lee wrote: > On 11/26/2016 03:25 AM, Marek Vasut wrote: >> On 11/22/2016 03:42 AM, Dongwoo Lee wrote: >>> On 2016년 11월 18일 23:01, Marek Vasut wrote: On 11/18/2016 08:24 AM, Jaehoon Chung wrote: > Hi, > > Added Marek as USB maintainer. > > On

Re: [U-Boot] [PATCH] SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-11-28 Thread Marek Vasut
On 11/28/2016 07:27 AM, Lukasz Majewski wrote: > This define gives the possibility to copy entire image (including header) > from NOR parallel memory to e.g. SDRAM. > > The legacy behavior is preserved, since other board don't enabled this option. > > Signed-off-by: Lukasz Majewski

Re: [U-Boot] [PATCH 06/14] net: core: Using an ethernet address from ROM is not bad

2016-11-28 Thread Michal Simek
On 28.11.2016 11:48, Olliver Schinagl wrote: > On 28-11-16 08:59, Michal Simek wrote: >> On 25.11.2016 16:30, Olliver Schinagl wrote: >>> Currently we print a warning if the MAC address is read from >>> ROM/Hardware. This should not be concidered a bad or erronous thing. A >>> MAC address should

[U-Boot] [PATCH 12/15 v2] pci: mvebu: Add PCIe driver for Armada-8K

2016-11-28 Thread Stefan Roese
From: Shadi Ammouri This patch adds a driver for the PCIe controller integrated in the Marvell Armada-8K SoC. This controller is based on the DesignWare IP core. The original version was written by Shadi and Yehuda. I ported this driver to the latest mainline U-Boot version

Re: [U-Boot] [PATCH v2 7/8] spi: cadence_qspi: Fix CS timings

2016-11-28 Thread See, Chin Liang
Hi Phil, On Jum, 2016-11-25 at 14:38 +, Phil Edworthy wrote: > > The Cadence QSPI controller has specified overheads for the various > CS > times that are in addition to those programmed in to the Device Delay > register. The overheads are different for the delays. > > In addition, the

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-28 Thread Marek Vasut
On 11/28/2016 10:37 AM, Vignesh R wrote: > > > On Friday 25 November 2016 10:21 PM, Marek Vasut wrote: >> On 11/24/2016 06:35 AM, Vignesh R wrote: >>> According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC >>> TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit

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

2016-11-28 Thread Fabien Parent
On Tue, Nov 22, 2016 at 7:10 PM, Tom Rini wrote: > 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 >> ---

Re: [U-Boot] [PATCH] sunxi: move CONFIG_SATAPWR to Kconfig option

2016-11-28 Thread Hans de Goede
HI, On 28-11-16 13:42, Maxime Ripard wrote: Hi Hans, On Fri, Nov 25, 2016 at 09:12:30AM +0100, Hans de Goede wrote: Hi, On 24-11-16 22:22, Maxime Ripard wrote: On Wed, Nov 23, 2016 at 07:28:16PM +0100, Jelle van der Waa wrote: Introduce a new CONFIG_SATAPWR Kconfig option to replace the

Re: [U-Boot] [PATCH v2 0/8] SF: Cadence QSPI driver fixes and clean up

2016-11-28 Thread Jagan Teki
On Mon, Nov 28, 2016 at 6:20 PM, Marek Vasut wrote: > On 11/28/2016 09:07 AM, Jagan Teki wrote: >> On Fri, Nov 25, 2016 at 8:08 PM, Phil Edworthy >> wrote: >>> This series has fixes, patches to clean the code up, and add support for >>> specifying the

Re: [U-Boot] [PATCHv4] Retrieve MAC address from EEPROM

2016-11-28 Thread Igor Grinberg
Added Nikita to Cc. On 11/28/16 12:45, Olliver Schinagl wrote: > On 28-11-16 10:13, Igor Grinberg wrote: >> Hi Olliver, >> >> On 11/25/16 17:30, Olliver Schinagl wrote: >> >> [...] >> >>> The current idea of the eeprom layout, is to skip the first 8 bytes, so that >>> other information can be

Re: [U-Boot] [PATCH v2 0/8] SF: Cadence QSPI driver fixes and clean up

2016-11-28 Thread Marek Vasut
On 11/28/2016 09:07 AM, Jagan Teki wrote: > On Fri, Nov 25, 2016 at 8:08 PM, Phil Edworthy > wrote: >> This series has fixes, patches to clean the code up, and add support for >> specifying the sampling edge. >> >> Changed in v2: >> spi: cadence_qspi: Fix baud rate

Re: [U-Boot] [PATCH v2] tools/env: fix environment alignment tests for block devices

2016-11-28 Thread Max Krummenacher
Hi Andreas 2016-11-28 10:47 GMT+01:00 Andreas Fenkart : > Hi Max, > > LGTM, see one nit below, can fixed later > > > On 11/19/2016 01:58 PM, Max Krummenacher wrote: >> >> commit 183923d3e412500bdc597d1745e2fb6f7f679ec7 enforces that the >> environment must start

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-28 Thread See, Chin Liang
On Jum, 2016-11-25 at 17:51 +0100, Marek Vasut wrote: > On 11/24/2016 06:35 AM, Vignesh R wrote: > > > > According to Section 11.15.4.9.2 Indirect Write Controller of K2G > > SoC > > TRM SPRUHY8D[1], the external master is only permitted to issue 32- > > bit > > data interface writes until the

[U-Boot] [PATCH] imx6: clock: Enable External Memory Interface [EIM] clock (eim_slow_clock)

2016-11-28 Thread Lukasz Majewski
This patch extends the imx6 clock code to enable or disable the EIM slow clock, which in necessary when one wants to use EIM interface t o read/write from external memory (e.g. NOR). Signed-off-by: Lukasz Majewski --- arch/arm/cpu/armv7/mx6/clock.c| 14

Re: [U-Boot] [Resend RFC PATCH v1 1/3] add support of GPT partitioning over MTD

2016-11-28 Thread Patrick DELAUNAY
Hi Simon, > > Hi Patrick, > > On 24 November 2016 at 03:27, Patrick DELAUNAY > wrote: > > Hi Simon, > > > >> > >> Hi Patrick, > >> > >> On 22 November 2016 at 06:24, Patrick Delaunay > >> wrote: > >> > From: Patrick Delaunay

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

2016-11-28 Thread Patrick DELAUNAY
Hi Ladislav, > > Hi Patrick, > > On Thu, Nov 24, 2016 at 02:14:22PM +, Patrick DELAUNAY wrote: > > Hi Ladislav, > > > > > > > > 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 > > >

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

2016-11-28 Thread Tom Rini
On Mon, Nov 28, 2016 at 02:38:34PM +0100, Fabien Parent wrote: > On Tue, Nov 22, 2016 at 7:10 PM, Tom Rini wrote: > > 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

[U-Boot] [PATCH 1/1] rpi: set serial port clock to 48 MHz

2016-11-28 Thread Mirza Krak
From: Mirza Krak Recently the default UART clock rate has been changed to 48 MHz on all pi`s in the firmware files, which broke UART support in u-boot. Align configuration to boot firmware. Signed-off-by: Mirza Krak --- It was changed here

Re: [U-Boot] Macronix NOR_SPI and Quad I/O

2016-11-28 Thread Champ, Andy
I don't have anything that does Quad IO, so I can't test it either. I think the best thing to do is to disable it for the Macronix parts, and put a comment in the table explaining why. With any luck one day somebody somewhere will have a device with a Macronix chip and quad I/O, and they can do

[U-Boot] [PATCH] SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-11-28 Thread Lukasz Majewski
This define gives the possibility to copy entire image (including header) from NOR parallel memory to e.g. SDRAM. The legacy behavior is preserved, since other board don't enabled this option. Signed-off-by: Lukasz Majewski --- common/spl/Kconfig | 10 ++

Re: [U-Boot] Macronix NOR_SPI and Quad I/O

2016-11-28 Thread Champ, Andy
Hi Radu, As far as I am concerned there is no urgency at all. I just happened to notice as I was looking through the code that the command does not agree with the Macronix device spec, and I thought I should tell someone! Our device does not support Quad I/O. Thanks Andy Champ -Original

Re: [U-Boot] [RFC PATCH 0/3] spl: Add D-cache support

2016-11-28 Thread Tom Rini
On Mon, Nov 28, 2016 at 03:04:42PM +0530, Lokesh Vutla wrote: > This series tries to add D-cache support in spl in order to reduce boot time > either in 2stage boot or Falcon Boot. I assume you've measured and confirmed that there is a speed increase? I ask since I'd tried this ages ago but.. >

Re: [U-Boot] [RFC PATCH 1/3] arch: arm: omap: Declare size of ddr very early

2016-11-28 Thread Tom Rini
On Mon, Nov 28, 2016 at 03:04:43PM +0530, Lokesh Vutla wrote: > Declare the size of ddr very early in spl, so that this can be > used to enable cache. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital

Re: [U-Boot] [RFC PATCH 3/3] spl: Add support for enabling dcache

2016-11-28 Thread Tom Rini
On Mon, Nov 28, 2016 at 03:04:45PM +0530, Lokesh Vutla wrote: > Add support for enabling d-cache in SPL. The sequence in SPL tries to > replicate the sequence done in U-Boot except that MMU entries were added > for SRAM. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini

Re: [U-Boot] [PATCH 3/5] davinci: omapl138_lcdk: add DT support for EMMC boot

2016-11-28 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:11:25AM +0100, Fabien Parent wrote: > When booting from EMMC, load the DTB and pass it to the kernel. > > Signed-off-by: Fabien Parent Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-11-28 Thread Tom Rini
On Mon, Nov 28, 2016 at 01:43:44PM +0100, Marek Vasut wrote: > On 11/28/2016 07:27 AM, Lukasz Majewski wrote: > > This define gives the possibility to copy entire image (including header) > > from NOR parallel memory to e.g. SDRAM. > > > > The legacy behavior is preserved, since other board don't

Re: [U-Boot] [PATCH 1/5] davinci: omapl138_lcdk: fixup mac address in dtb

2016-11-28 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:11:23AM +0100, Fabien Parent wrote: > In order to avoid having a random mac address assigned by Linux, let's > fixup the dtb with the mac address that was programmed in the EEPROM. > > Signed-off-by: Fabien Parent > --- >

Re: [U-Boot] [RFC PATCH 2/3] spl: reorder the assignment of board info to global data

2016-11-28 Thread Tom Rini
On Mon, Nov 28, 2016 at 03:04:44PM +0530, Lokesh Vutla wrote: > Move the assignment of board info to global data a bit early which is safe, > so that ram details can be used to enable caches. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini --

Re: [U-Boot] [PATCH 2/5] davinci: omapl138_lcdk: improve readability of boot command

2016-11-28 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:11:24AM +0100, Fabien Parent wrote: > Improve the readability of the boot command. This will help a later > commit that adds support for dtb and system setup. > > Signed-off-by: Fabien Parent Reviewed-by: Tom Rini -- Tom

Re: [U-Boot] Macronix NOR_SPI and Quad I/O

2016-11-28 Thread Bacrau, Dumitru
Hi guys, I do have Macronix parts and Quad capability. Unfortunately I am not using the latest U-Boot code (but looks similar) and also I do not have much time today and tomorrow. Would it be OK if you waited until Wednesday so I can investigate and test this? If it is urgent go ahead and do

Re: [U-Boot] [PATCH] SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-11-28 Thread Marek Vasut
On 11/28/2016 05:50 PM, Tom Rini wrote: > On Mon, Nov 28, 2016 at 01:43:44PM +0100, Marek Vasut wrote: >> On 11/28/2016 07:27 AM, Lukasz Majewski wrote: >>> This define gives the possibility to copy entire image (including header) >>> from NOR parallel memory to e.g. SDRAM. >>> >>> The legacy

Re: [U-Boot] [PATCH v4 0/6] Add ARMv8 PSCI framework

2016-11-28 Thread york sun
On 11/25/2016 02:47 AM, Hongbo Zhang wrote: > v3-v4 changes: > - Re-added the 1/6 from v2, and move the newly re-named macro into Kconfig > - Add "Reviewed-by: Tom Rini " for patch 4/6 ~ 6/6. > > v2-v3 changes: > - Drop the previous 1/6, since the previous CONFIG_ARMV8_PSCI

Re: [U-Boot] Macronix NOR_SPI and Quad I/O

2016-11-28 Thread Bacrau, Dumitru
Hi Andy, I have double-checked the datasheets and indeed the Quad Page Program opcode for Macronix is 0x38 and not 0x32 like the U-Boot code has defined in CMD_QUAD_PAGE_PROGRAM. My version of the code is similar to the current u-boot mainline, and it also has the WR_QPP flag. But its usage

Re: [U-Boot] [U-Boot, 3/8] spl: Move the loading code into its own function

2016-11-28 Thread Tom Rini
On Thu, Nov 17, 2016 at 10:29:30AM -0700, Simon Glass wrote: > Create a boot_from_devices() function to handle trying each device. This > helps to reduce the size of the already-large board_init_r() function. > > Signed-off-by: Simon Glass So with gcc-5.x and later: +In file

Re: [U-Boot] [U-Boot, 3/8] spl: Move the loading code into its own function

2016-11-28 Thread Simon Glass
Hi Tom, On 28 November 2016 at 13:09, Tom Rini wrote: > On Thu, Nov 17, 2016 at 10:29:30AM -0700, Simon Glass wrote: > >> Create a boot_from_devices() function to handle trying each device. This >> helps to reduce the size of the already-large board_init_r() function. >> >>

[U-Boot] static var mem alignment issue/question

2016-11-28 Thread Tim Harvey
Greetings, In debugging an issue with a rather old branch of U-Boot (2015-04) I found that the static assignment of a data buffer was not 32-bit aligned which caused data aborts. However I find that current U-boot master does not suffer this issue and no matter what I declare static before the

Re: [U-Boot] [PATCH 4/5] davinci: omapl138_lcdk: do fdt systemsetup when loading DT

2016-11-28 Thread Tom Rini
On Fri, Nov 25, 2016 at 11:11:26AM +0100, Fabien Parent wrote: > When loading the DTB, let's also do the systemsetup in order to patch > the DT with the mac address. > > Signed-off-by: Fabien Parent Like the first patch, we shouldn't need to do this, something deeper must

Re: [U-Boot] Macronix NOR_SPI and Quad I/O

2016-11-28 Thread Champ, Andy
Hi Radu, It seems to me there are two approaches: - Set a different flag for this different command - Check the manufacturer ID before selecting the command. Either way the data we'd need is in the params variable, nicely to hand. The code I've been working on is for write protecting Macronix

Re: [U-Boot] [PATCH 08/14] mmc: Add JZ47xx SD/MMC controller driver

2016-11-28 Thread Marek Vasut
On 11/28/2016 03:58 AM, Jaehoon Chung wrote: > Hi Marek, > > On 11/26/2016 07:32 AM, Marek Vasut wrote: >> From: Paul Burton >> >> Add driver for the JZ47xx MSC controller. > > There are some checkpatch error and warings. Could you fix them? Yeah > And i don't know

Re: [U-Boot] [PATCH v5 10/13] tegra: Use a U-Boot-specific .dtsi file

2016-11-28 Thread Simon Glass
Hi Stephen, On 17 November 2016 at 12:45, Stephen Warren wrote: > > On 11/16/2016 06:13 PM, Simon Glass wrote: >> >> With the new device-tree rules it is possible to put device-tree changes >> needed by U-Boot into their own file. As an example of this approach, move >>

Re: [U-Boot] Rockchip RK3288 u-boot with mainline kernel

2016-11-28 Thread Simon Glass
+ A few rockchip people and linux-rockchip Hi Rick, On 25 November 2016 at 11:20, Rick Bronson wrote: > Hi All, > > I've got unsupported RK3288 hardware running the latest git u-boot to > SPL as explained in > http://git.denx.de/?p=u-boot.git;a=blob;f=doc/README.rockchip. My

[U-Boot] [PATCH] arch: powerpc: Retain compatible property for L2 cache

2016-11-28 Thread Chris Packham
Instead of setting the compatible property to "cache", append the desired value retaining what may already be set in the current property. Signed-off-by: Chris Packham --- On Thu, Nov 24, 2016 at 6:41 AM, york sun wrote: > On 11/23/2016 01:43 AM, Chris

[U-Boot] [PATCH] SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-11-28 Thread Lukasz Majewski
This define gives the possibility to copy entire image (including header - e.g. u-boot.img) from NOR parallel memory to e.g. SDRAM. The current code only supports loading the raw binary image (the u-boot.bin). The legacy behavior is preserved, since other board don't enabled this option.

Re: [U-Boot] spl: add check for FIT-header when loading image

2016-11-28 Thread Tom Rini
On Wed, Nov 16, 2016 at 12:54:39PM +0200, tomas.me...@vaisala.com wrote: > Add check for FDT_MAGIC, otherwise also legacy images will be loaded as > a FIT. With this check in place, the loader works correct both > with legacy and FIT images. > > Signed-off-by: Tomas Melin

Re: [U-Boot] spl: remove redundant call to parse_image_header()

2016-11-28 Thread Tom Rini
On Wed, Nov 16, 2016 at 01:15:05PM +0200, tomas.me...@vaisala.com wrote: > Image header was checked twice. > > Signed-off-by: Tomas Melin > Acked-by: Lokesh Vutla > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v5, 1/7] Revert "generic-board: allow showing custom board info"

2016-11-28 Thread Tom Rini
On Wed, Nov 16, 2016 at 05:49:19PM +0100, Marcel Ziswiler wrote: > Drop CONFIG_CUSTOM_BOARDINFO as it is not Kconfig compliant and anyway > not really used anywhere plus the upcoming weak show_board_info() > approach seems much superior. > > This reverts commit

Re: [U-Boot] xyz-modem: Change getc timeout loop waiting

2016-11-28 Thread Tom Rini
On Mon, Nov 21, 2016 at 10:18:51AM +0200, tomas.me...@vaisala.com wrote: > This fixes the loop delay when using a hw watchdog. > > In case a watchdog is used that accesses CPU registers, > the defined delay of 20us in a tight loop will cause a > huge delay in the actual timeout seen. This is

Re: [U-Boot] [U-Boot, v4, 2/3] spl: dfu: move DFU Kconfig to SPL Kconfig

2016-11-28 Thread Tom Rini
On Mon, Nov 21, 2016 at 10:58:52AM -0800, Stefan Agner wrote: > From: Stefan Agner > > The DFU Kconfig menu entries should be part of the SPL > Kconfig file. Also avoid using the top level Makefile by > moving the config dependent build artifacts to the driver/ > and

Re: [U-Boot] [U-Boot, v4, 1/3] spl: add RAM boot device only if it is actually defined

2016-11-28 Thread Tom Rini
On Mon, Nov 21, 2016 at 10:58:51AM -0800, Stefan Agner wrote: > From: Stefan Agner > > Some devices (e.g. dra7xx) support loading to RAM using DFU without > having direct boot from RAM support. Make sure the linker list > does not contain BOOT_DEVICE_RAM if

Re: [U-Boot] README: fix typo FAT_ENV_DEV_AND_PART

2016-11-28 Thread Tom Rini
On Mon, Nov 21, 2016 at 05:33:58PM +0200, Nicolae Rosia wrote: > From: Nicolae Rosia > > The actual define symbol is FAT_ENV_DEVICE_AND_PART > > Signed-off-by: Nicolae Rosia Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [RESEND][PATCH 00/24] sh: add generic board support and fixes

2016-11-28 Thread Vladimir Zapolskiy
Hi Tom, On 11/28/2016 05:43 PM, Tom Rini wrote: > On Mon, Nov 28, 2016 at 12:15:12AM +0200, Vladimir Zapolskiy wrote: > >> This is a combined series of the fixes to SH2/SH3/SH4/SH4A architecture port >> of U-boot on top of the master branch, there is no functional difference >> between this

Re: [U-Boot] [U-Boot,v5,4/7] toradex: config block handling

2016-11-28 Thread Tom Rini
On Wed, Nov 16, 2016 at 05:49:22PM +0100, Marcel Ziswiler wrote: > Add Toradex factory configuration block handling. The config block is a > data structure which gets stored to flash during production testing. The > structure holds such information as board resp. hardware revision, > product ID

Re: [U-Boot] [U-Boot, v5, 6/7] apalis/colibri_t30: move environment location

2016-11-28 Thread Tom Rini
On Wed, Nov 16, 2016 at 05:49:24PM +0100, Marcel Ziswiler wrote: > Now with the config block handling in place move the U-Boot environment > location before the config block at the end of 1st "boot sector" as > deployed during production using our downstream BSP. > > Signed-off-by: Marcel

Re: [U-Boot] [U-Boot, v5, 5/7] apalis/colibri_imx7/pxa270/t20/t30/vf: integrate config block handling

2016-11-28 Thread Tom Rini
On Wed, Nov 16, 2016 at 05:49:23PM +0100, Marcel Ziswiler wrote: > With our common code in place actually make use of it across all our > modules. > > Signed-off-by: Marcel Ziswiler > Acked-by: Max Krummenacher Applied to

Re: [U-Boot] tools/Makefile: suppress "which swig" error output

2016-11-28 Thread Tom Rini
On Sat, Nov 19, 2016 at 12:04:59PM +, Andre Przywara wrote: > The Makefile in tools/ tries to find the "swig" utility by calling "which". > If nothing is found in the path, some versions of which will print an error > message: > $ make clean > which: no swig in (/usr/local/bin:/usr/bin:/bin)

Re: [U-Boot] [U-Boot, v2] tools/env: fix environment alignment tests for block devices

2016-11-28 Thread Tom Rini
On Sat, Nov 19, 2016 at 01:58:56PM +0100, Max Krummenacher wrote: > commit 183923d3e412500bdc597d1745e2fb6f7f679ec7 enforces that the > environment must start at an erase block boundary. > > For block devices the sample fw_env.config does not mandate a erase block size > for block devices. A

Re: [U-Boot] [PATCH v4 0/6] Add ARMv8 PSCI framework

2016-11-28 Thread Hongbo Zhang
Hi York, This generic PSCI is controlled by CONFIG_ARMV8_PSCI, if enabled, any platform can implement their own PSCI functions under this framework, this is all similar with ARMv7's. While PPA is controlled by CONFIG_FSL_LS_PPA, and the private PSCI inside the PPA is controlled by

Re: [U-Boot] [U-Boot,v2] timer: Support clocks via phandle

2016-11-28 Thread Tom Rini
On Sat, Nov 19, 2016 at 07:57:27PM +0300, Zakharov Vlad wrote: > Earlier timer driver needed a clock-frequency property in compatible > device-tree nodes. Another way is to reference a clock via a phandle. > > So now timer_pre_probe tries to get clock by reference through device > tree. In case

Re: [U-Boot] [U-Boot, v5, 3/7] apalis/colibri_t20/t30: deactivate displaying board info

2016-11-28 Thread Tom Rini
On Wed, Nov 16, 2016 at 05:49:21PM +0100, Marcel Ziswiler wrote: > Deactivate CONFIG_DISPLAY_BOARDINFO in favour of > CONFIG_DISPLAY_BOARDINFO_LATE which also displays on the LCD. > > Signed-off-by: Marcel Ziswiler > Acked-by: Max Krummenacher

Re: [U-Boot] [U-Boot, v5, 2/7] generic-board: make show_board_info a weak function

2016-11-28 Thread Tom Rini
On Wed, Nov 16, 2016 at 05:49:20PM +0100, Marcel Ziswiler wrote: > Make show_board_info() a weak function which allows for custom board > specific implementations thereof. > > Signed-off-by: Marcel Ziswiler > Reviewed-by: Tom Rini > Acked-by:

Re: [U-Boot] [U-Boot, v2, 2/2] ti_armv7_keystone2: env: Add NFS loading support for PMMC and MON

2016-11-28 Thread Tom Rini
On Fri, Nov 18, 2016 at 11:56:16AM -0600, Andrew F. Davis wrote: > NFS loading support has been added to the default environment for > most boot components, as PMMC and MON loading were added later they > did not originally get the NFS commands added, add these now. > > Signed-off-by: Andrew F.

Re: [U-Boot] [U-Boot, v2, 1/2] keystone2: Move target selection to Kconfig

2016-11-28 Thread Tom Rini
On Fri, Nov 18, 2016 at 11:56:15AM -0600, Andrew F. Davis wrote: > The config option TARGET_K2x_EVM is set by the k2x defconfigs to pick > a board target, but the header configs also set K2x_EVM. This config > is redundant, remove it and use TARGET_K2x_EVM everywhere in its place. > >

Re: [U-Boot] bootcounter_ram: Fix misaligned cache warning

2016-11-28 Thread Tom Rini
On Fri, Nov 18, 2016 at 05:21:52PM +0100, Stefan Roese wrote: > This patch fixes the warning about misaligned cache on Armada XP: > > CACHE: Misaligned operation at range [7000, 7fac] > > Signed-off-by: Stefan Roese > Cc: Valentin Longchamp

Re: [U-Boot] sata: fix sata command can not being executed bug

2016-11-28 Thread Tom Rini
On Mon, Nov 21, 2016 at 10:24:20AM +0800, tang yuantian wrote: > From: Tang Yuantian > > Commit d97dc8a0 separated the non-command code into its own file > which caused variable sata_curr_device can not be set to a correct > value. > > Before commit d97dc8a0, variable

Re: [U-Boot] [U-Boot,v4,3/3] spl: add USB Gadget config option

2016-11-28 Thread Tom Rini
On Mon, Nov 21, 2016 at 10:58:53AM -0800, Stefan Agner wrote: > From: Stefan Agner > > Introduce USB Gadget config option. This allows to combine Makefile > entries for SPL_USBETH_SUPPORT and SPL_DFU_SUPPORT. > > Signed-off-by: Stefan Agner

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

2016-11-28 Thread Tom Rini
On Mon, Nov 28, 2016 at 01:45:59PM +0530, Jagan Teki wrote: > Hi Tom, > > Please pull this sunxi PR. > > Changes for v3: > - Dropped patches from 'Chen-Yu Tsai' > - Added two new patches. > Changes for v2: > - Dropped 3 patches, which are still in review. > > thanks! > Jagan. > > The

Re: [U-Boot] [U-Boot, v5, 7/7] colibri_vf: usb gadget: toradex pid is now set generically

2016-11-28 Thread Tom Rini
On Wed, Nov 16, 2016 at 05:49:25PM +0100, Marcel Ziswiler wrote: > From: Max Krummenacher > > remove now unused CONFIG_TRDX_PID_XXX > > Signed-off-by: Marcel Ziswiler > Acked-by: Stefan Agner > Acked-by: Max

Re: [U-Boot] linux/compat.h: Properly implement ndelay fallback

2016-11-28 Thread Tom Rini
On Fri, Nov 18, 2016 at 02:40:37PM +0100, mario@gdsys.cc wrote: > Commit c68c62 ("i2c: mvtwsi: Make delay times frequency-dependent") > extensively used the ndelay function with a calculated parameter > which is dependant on the configured frequency of the I2C bus. If > standard speed is

Re: [U-Boot] [PATCH 05/24] SPL: tiny-printf: add "l" modifier

2016-11-28 Thread André Przywara
On 28/11/16 00:22, André Przywara wrote: > On 27/11/16 17:02, Simon Glass wrote: > > Hi, > >> On 23 November 2016 at 20:19, Siarhei Siamashka >> wrote: >>> On Sun, 20 Nov 2016 14:56:59 + >>> Andre Przywara wrote: >>> tiny-printf

Re: [U-Boot] [RESEND][PATCH 00/24] sh: add generic board support and fixes

2016-11-28 Thread Tom Rini
On Tue, Nov 29, 2016 at 02:58:41AM +0200, Vladimir Zapolskiy wrote: > Hi Tom, > > On 11/28/2016 05:43 PM, Tom Rini wrote: > > On Mon, Nov 28, 2016 at 12:15:12AM +0200, Vladimir Zapolskiy wrote: > > > >> This is a combined series of the fixes to SH2/SH3/SH4/SH4A architecture > >> port > >> of

[U-Boot] [PATCH] powerpc: Retain compatible property for L2 cache

2016-11-28 Thread Chris Packham
Instead of setting the compatible property to "cache", append the desired value retaining what may already be set in the current property. Signed-off-by: Chris Packham --- On Thu, Nov 24, 2016 at 6:41 AM, york sun wrote: > On 11/23/2016 01:43 AM, Chris

Re: [U-Boot] [PATCH] SPL: NOR: Add CONFIG_SPL_NOR_COPY_ENTIRE_IMAGE define to enable whole image copy from NOR

2016-11-28 Thread Marek Vasut
On 11/28/2016 10:09 PM, Lukasz Majewski wrote: > This define gives the possibility to copy entire image (including header - > e.g. u-boot.img) from NOR parallel memory to e.g. SDRAM. The current code > only supports loading the raw binary image (the u-boot.bin). > > The legacy behavior is

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-28 Thread Vignesh R
On Monday 28 November 2016 06:11 PM, Marek Vasut wrote: > On 11/28/2016 10:37 AM, Vignesh R wrote: >> >> >> On Friday 25 November 2016 10:21 PM, Marek Vasut wrote: >>> On 11/24/2016 06:35 AM, Vignesh R wrote: According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC TRM

Re: [U-Boot] Query on qspi driver

2016-11-28 Thread Siva Durga Prasad Paladugu
Hi Jagan, > -Original Message- > From: Jagan Teki [mailto:ja...@openedev.com] > Sent: Thursday, November 24, 2016 11:48 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek (michal.si...@xilinx.com) > > Subject: Re:

Re: [U-Boot] [PATCH v2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2016-11-28 Thread Vignesh R
On Monday 28 November 2016 07:45 PM, See, Chin Liang wrote: > On Jum, 2016-11-25 at 17:51 +0100, Marek Vasut wrote: >> On 11/24/2016 06:35 AM, Vignesh R wrote: >>> >>> According to Section 11.15.4.9.2 Indirect Write Controller of K2G >>> SoC >>> TRM SPRUHY8D[1], the external master is only

[U-Boot] [PATCH] configs: am43x: hs: Modify SPL load address to fix UART boot issue

2016-11-28 Thread Lokesh Vutla
From: Madan Srinivas An issue in the TI secure image generation tool causes the ROM to load the SPL at a different load address than what is specified by CONFIG_ISW_ENTRY_ADDR while doing a peripheral boot. This causes the SPL to fail on secure devices during peripheral boot.

[U-Boot] [PATCH 5/5] ARM: AMx3xx: Make FIT boot as default boot on HS devices

2016-11-28 Thread Lokesh Vutla
Verification has to be done before booting any images on HS devices. So default the boot to FIT on HS devices. Signed-off-by: Lokesh Vutla --- board/ti/am335x/board.c | 7 +++ board/ti/am43xx/board.c | 7 +++ 2 files changed, 14 insertions(+) diff --git

[U-Boot] [PATCH 4/5] ARM: AM57xx: Make FIT boot as default boot on HS devices

2016-11-28 Thread Lokesh Vutla
Verification has to be done before booting any images on HS devices. So default the boot to FIT on HS devices. Signed-off-by: Lokesh Vutla --- board/ti/am57xx/board.c | 8 1 file changed, 8 insertions(+) diff --git a/board/ti/am57xx/board.c

[U-Boot] [PATCH 3/5] ARM: DRA7: Make FIT boot as default boot on HS devices

2016-11-28 Thread Lokesh Vutla
Verification has to be done before booting any images on HS devices. So default the boot to FIT on HS devices. Signed-off-by: Lokesh Vutla --- board/ti/dra7xx/evm.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index

Re: [U-Boot] [RFC PATCH 0/3] spl: Add D-cache support

2016-11-28 Thread Lokesh Vutla
On Monday 28 November 2016 10:10 PM, Tom Rini wrote: > On Mon, Nov 28, 2016 at 03:04:42PM +0530, Lokesh Vutla wrote: > >> This series tries to add D-cache support in spl in order to reduce boot time >> either in 2stage boot or Falcon Boot. > > I assume you've measured and confirmed that there

[U-Boot] [PATCH 0/5] ti_armv7_common: env: Add support for loading FIT images

2016-11-28 Thread Lokesh Vutla
This series adds env support for loading FIT images on TI platforms and making it as default on HS platforms. Lokesh Vutla (5): ti_armv7_common: env: Consolidate support for loading images from mmc ti_armv7_common: env: Add support for loading FIT images ARM: DRA7: Make FIT boot as default

[U-Boot] [PATCH 1/5] ti_armv7_common: env: Consolidate support for loading images from mmc

2016-11-28 Thread Lokesh Vutla
Support for loading images from mmc is duplicated in all TI platforms. Add this information to DEFAULT_MMC_TI_ARGS so that it can be reused in all TI platforms. Reviewed-by: Andrew F. Davis Signed-off-by: Lokesh Vutla --- include/configs/am335x_evm.h | 25

[U-Boot] [PATCH 2/5] ti_armv7_common: env: Add support for loading FIT images

2016-11-28 Thread Lokesh Vutla
FIT is a new image format which is a Tree like structure and gives more flexibility in handling of various images. Mainly used for unification of multiple images in a single blob and provide security information for each image. U-Boot already has support for loading such images, so adding the

[U-Boot] [PATCH] ARM: K2G: DDR3: Fix up priv ID for MPU

2016-11-28 Thread Lokesh Vutla
From: Nishanth Menon For ECC enabled DDR, we use EDMA to reset all memory values to 0. For K2E/L/H/K the priv ID of 8 was indicative of ARM, but that is not the case for K2G, where it is 1. Unfortunately, ddr3 code had hard coded the privID and had missed identification previously.

Re: [U-Boot] [PATCH 06/14] net: core: Using an ethernet address from ROM is not bad

2016-11-28 Thread Michal Simek
On 25.11.2016 16:30, Olliver Schinagl wrote: > Currently we print a warning if the MAC address is read from > ROM/Hardware. This should not be concidered a bad or erronous thing. A > MAC address should come either from the hardware (ROM) or may be > set/overriden in the environment. Neither is a

Re: [U-Boot] [PATCH] sun8i_emac: Fix mdio read sequence

2016-11-28 Thread Jagan Teki
On Fri, Nov 25, 2016 at 9:50 PM, Dr. Philipp Tomsich wrote: > Jagan, > >> On 25 Nov 2016, at 17:18, Jagan Teki wrote: >> >> On Wed, Nov 16, 2016 at 7:10 AM, Andre Przywara >> wrote: >>> From: Philipp Tomsich

Re: [U-Boot] [PATCH v2 0/8] SF: Cadence QSPI driver fixes and clean up

2016-11-28 Thread Jagan Teki
On Fri, Nov 25, 2016 at 8:08 PM, Phil Edworthy wrote: > This series has fixes, patches to clean the code up, and add support for > specifying the sampling edge. > > Changed in v2: > spi: cadence_qspi: Fix baud rate calculation > spi: cadence_qspi: Fix CS timings

Re: [U-Boot] [PATCH] cmd: usb: run 'usb start' when USB is stopped

2016-11-28 Thread Hans de Goede
Hi, On 28-11-16 07:54, Minkyu Kang wrote: Hi Jaehoon, On 28/11/16 14:08, Jaehoon Chung wrote: Hi Marek, On 09/23/2016 01:15 PM, Simon Glass wrote: +Marek On 9 September 2016 at 04:20, Jaehoon Chung wrote: If USB is stopped, just run 'usb start' instead of printing

Re: [U-Boot] [PATCH 09/14] net: Add ability to set MAC address via EEPROM

2016-11-28 Thread Michal Simek
On 25.11.2016 16:30, Olliver Schinagl wrote: > This patch allows Kconfig to enable and set parameters to make it > possible to read the MAC address from an EEPROM. The net core layer then > uses this information to read MAC addresses from this EEPROM. > > Besides the various tuneables as to how

Re: [U-Boot] [PATCH] sunxi: add support for Nintendo NES Classic Edition

2016-11-28 Thread Jagan Teki
On Fri, Nov 18, 2016 at 5:01 AM, FUKAUMI Naoki wrote: > Signed-off-by: FUKAUMI Naoki Added commit message body and Applied to u-boot-spi/sunxi thanks! -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream Maintainer Hyderabad,

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

2016-11-28 Thread Jagan Teki
Hi Tom, Please pull this sunxi PR. Changes for v3: - Dropped patches from 'Chen-Yu Tsai' - Added two new patches. Changes for v2: - Dropped 3 patches, which are still in review. thanks! Jagan. The following changes since commit 136179bec19f4bc84227cba138214ea392a723ea: colibri_pxa270:

Re: [U-Boot] [PATCH 00/14] [PATCHv4] Retrieve MAC address from EEPROM

2016-11-28 Thread Michal Simek
Hi, On 25.11.2016 16:43, Olliver Schinagl wrote: > This patch-series introduces methods to retrieve the MAC address from an > onboard EEPROM. The series does a few small cleanups at the start, as > either > I ran into them while doing this series and fixed them along the way or > actually

[U-Boot] [PATCH 3/4] imx: dts: mx6sxsabreauto: enable i2c2/3

2016-11-28 Thread Peng Fan
Enable i2c2/3, add pinctrl settings. Add max7310 for i2c3. Signed-off-by: Peng Fan Cc: Stefano Babic --- arch/arm/dts/imx6sx-sabreauto.dts | 42 +++ 1 file changed, 42 insertions(+) diff --git

[U-Boot] [PATCH 2/4] imx: mx6sxsabreauto: enable pinctrl driver

2016-11-28 Thread Peng Fan
Enable pinctrl driver for mx6sxsabreauto board. Signed-off-by: Peng Fan Cc: Stefano Babic --- configs/mx6sxsabreauto_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/mx6sxsabreauto_defconfig b/configs/mx6sxsabreauto_defconfig index

Re: [U-Boot] [PATCHv4] Retrieve MAC address from EEPROM

2016-11-28 Thread Igor Grinberg
Hi Olliver, On 11/25/16 17:30, Olliver Schinagl wrote: [...] > > The current idea of the eeprom layout, is to skip the first 8 bytes, so that > other information can be stored there if needed, for example a header with > some > magic to identify the EEPROM. Or equivalent purposes. > > After

[U-Boot] [PATCH] dm: core: Add dev_get_addr_size_index() to retrieve addr and size

2016-11-28 Thread Stefan Roese
The currently available functions accessing the 'reg' property of a device only retrieve the address. Sometimes its also necessary to retrieve the size described by the 'reg' property. This patch adds the new function dev_get_addr_size_index() which retrieves both, the address and the size

  1   2   >