Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-06 Thread Phil Reid
On 6/04/2016 6:03 AM, Marek Vasut wrote: On 04/05/2016 10:33 AM, Phil Reid wrote: On 27/03/2016 4:52 AM, Marek Vasut wrote: On 03/22/2016 06:06 PM, Dinh Nguyen wrote: On 03/20/2016 11:42 AM, Marek Vasut wrote: Sorry, I know that doesn't help. So let's walk through my workflow. I am not usi

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-06 Thread Lukasz Majewski
Hi Steve, Marek, Sam > On Apr 5, 2016 3:07 PM, "Marek Vasut" wrote: > > > > On 04/05/2016 08:31 PM, Steve Rae wrote: > > > commit 9e4b510 fastboot: OUT transaction length must be aligned to > wMaxPacketSize > > > breaks some boards... > > > > > > Therefore add a conditional Kconfig to optionally

[U-Boot] [PATCH] bootcounter_ram: Flush dcache after data is written into SDRAM

2016-04-06 Thread Stefan Roese
This patch adds a call to flush_dcache_range() to bootcount_store() to make sure, that the bootcounter data (including the patterns) is written to memory. Without this, platforms with dcache enabled may not have the bootcounter updated upon reset. Signed-off-by: Stefan Roese Cc: Valentin Longcham

Re: [U-Boot] Using U-Boot to load RTOS

2016-04-06 Thread Peng Fan
Hi Niti, On Wed, Apr 06, 2016 at 01:39:31PM +0800, Bin Meng wrote: >On Wed, Apr 6, 2016 at 1:21 PM, Niti Gupta wrote: >> Hello Bin, >> >> I am trying to load Segger's embOS. >> > >Please avoid top-posting. > >I don't know this OS, but you can try 'bootelf' command if embOS image >is an ELF image.

[U-Boot] [PATCH] mmc:fsl_esdhc: fix invalidate dcache scope

2016-04-06 Thread Shengzhou Liu
commit 4683b220655 "mmc:fsl_esdhc invalidate dcache before read" intended for ARM, which broke on PowerPC(caused memory allocation failure under SD boot), so add condition CONFIG_ARM. Signed-off-by: Shengzhou Liu --- drivers/mmc/fsl_esdhc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/d

[U-Boot] imx6 nand support in u-boot

2016-04-06 Thread Maxim Podbereznyy
Hi! I have a custom imx6q board with NAND сhip (MT29F2G08ABAEA). I've already compiled a few u-boot versions from different vendors and repositories including Freescale, Boundary and Denx mainline. I have to mention that in all repositories I use nitrogen6x board as reference because it has simi

Re: [U-Boot] [PATCH] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-04-06 Thread Jagan Teki
Hi Stefan, On 5 April 2016 at 11:32, Stefan Roese wrote: > Hi Jagan, > > > On 23.03.2016 15:36, Stefan Roese wrote: >> >> Hi Jagan, >> >> please excuse the long delay here. Some comments below. >> >> On 12.02.2016 21:27, Jagan Teki wrote: >>> >>> On 12 February 2016 at 18:15, Stefan Roese wrote:

Re: [U-Boot] [PATCH] sf: fix timebase data type in _wait_ready()

2016-04-06 Thread Jagan Teki
On 5 April 2016 at 05:31, Tom Rini wrote: > On Mon, Apr 04, 2016 at 11:03:52AM -0600, Stephen Warren wrote: > >> From: Stephen Warren >> >> get_timer() returns an unsigned 64-bit value, but is currently assigned to >> a signed 32-bit variable. Due to sign extension and data truncation, this >> ca

Re: [U-Boot] [PATCH 1/3] usb: bcm_udc_otg: enable clocks

2016-04-06 Thread Marek Vasut
On 04/06/2016 07:20 AM, Steve Rae wrote: > > On Apr 5, 2016 3:08 PM, "Marek Vasut" > wrote: >> >> On 04/04/2016 10:30 PM, Steve Rae wrote: >> > Hi Marek, >> > >> > On Mon, Apr 4, 2016 at 1:02 PM, Marek Vasut > wrote: >> >> >> >> On 04/04/2016 09:59 PM,

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-06 Thread Marek Vasut
On 04/06/2016 03:17 AM, George Broz wrote: > On 5 April 2016 at 17:45, Marek Vasut wrote: >> On 04/06/2016 02:31 AM, George Broz wrote: >>> On 5 April 2016 at 15:03, Marek Vasut wrote: On 04/05/2016 10:33 AM, Phil Reid wrote: > On 27/03/2016 4:52 AM, Marek Vasut wrote: >> On 03/22/20

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-06 Thread Marek Vasut
On 04/06/2016 09:09 AM, Lukasz Majewski wrote: > Hi Steve, Marek, Sam > >> On Apr 5, 2016 3:07 PM, "Marek Vasut" wrote: >>> >>> On 04/05/2016 08:31 PM, Steve Rae wrote: commit 9e4b510 fastboot: OUT transaction length must be aligned to >> wMaxPacketSize breaks some boards... T

Re: [U-Boot] [PATCH 1/5] tools/env: make env_aes_cbc_crypt re-entrant

2016-04-06 Thread Stefano Babic
Hi Andreas, thanks for fixing this: On 05/04/2016 23:13, Andreas Fenkart wrote: > Signed-off-by: Andreas Fenkart > --- > tools/env/fw_env.c | 17 +++-- > 1 file changed, 11 insertions(+), 6 deletions(-) > > diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c > index 1420ac5..c362a

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-06 Thread Marek Vasut
On 04/06/2016 07:35 AM, Steve Rae wrote: > > On Apr 5, 2016 3:07 PM, "Marek Vasut" > wrote: >> >> On 04/05/2016 08:31 PM, Steve Rae wrote: >> > commit 9e4b510 fastboot: OUT transaction length must be aligned to > wMaxPacketSize >> > breaks some boards... >> > >> > Therefore

Re: [U-Boot] [PATCH] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-04-06 Thread Stefan Roese
Hi Jagan, On 06.04.2016 13:21, Jagan Teki wrote: On 5 April 2016 at 11:32, Stefan Roese wrote: Hi Jagan, On 23.03.2016 15:36, Stefan Roese wrote: Hi Jagan, please excuse the long delay here. Some comments below. On 12.02.2016 21:27, Jagan Teki wrote: On 12 February 2016 at 18:15, Stefa

[U-Boot] [uboot][PATCH v3 2/2] net: phy: ti: Allow the driver to be more configurable

2016-04-06 Thread Dan Murphy
Not all devices use the same internal delay or fifo depth. Add the ability to set the internal delay for rx or tx and the fifo depth via the devicetree. If the value is not set in the devicetree then set the delay to the default. If devicetree is not used then use the default defines within the d

[U-Boot] [uboot][PATCH v3 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-06 Thread Dan Murphy
Add the device tree bindings and the accompanying documentation for the TI DP83867 Giga bit ethernet phy driver. The original document was from: [commit 2a10154abcb75ad0d7b6bfea6210ac743ec60897 from the Linux kernel] Signed-off-by: Dan Murphy --- v3 - Modify the binding to the kernel change

[U-Boot] [PATCH v2] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-04-06 Thread Stefan Roese
Currently only chip-select 0 is supported by the kirkwood SPI driver. The Armada XP / 38x SoCs also use this driver and support multiple chip selects. This patch adds support for multiple CS on MVEBU. The register definitions are restructured a bit with this patch. Grouping them to the correspondi

[U-Boot] [PATCH v3] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-04-06 Thread Stefan Roese
Currently only chip-select 0 is supported by the kirkwood SPI driver. The Armada XP / 38x SoCs also use this driver and support multiple chip selects. This patch adds support for multiple CS on MVEBU. The register definitions are restructured a bit with this patch. Grouping them to the correspondi

[U-Boot] [PATCH] armv8: ls2080: enable sec_init in U-Boot

2016-04-06 Thread Aneesh Bansal
Define CONFIG_FSL_CAAM for LS2080 which would enable call to sec_init() during U-Boot. Signed-off-by: Aneesh Bansal --- include/configs/ls2080a_common.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/include/configs/ls2080a_common.h b/include/configs/ls2080a_common.h index 13ce349..4

[U-Boot] [PATCH 0/2] spl: Support loading a FIT from SPI

2016-04-06 Thread Lokesh Vutla
This series makes sure that raw read of fit is dma aligned and supports loading a fit from SPI. Verified on DRA7-evm. Lokesh Vutla (2): spl: Make sure destination address is dma aligned when loading fit spl: Support loading a FIT from SPI common/spl/spl_fit.c | 11 +++ dri

[U-Boot] [PATCH 2/2] spl: Support loading a FIT from SPI

2016-04-06 Thread Lokesh Vutla
Detect a FIT when loading from SPI and handle it using the new FIT SPL support. Signed-off-by: Lokesh Vutla --- drivers/mtd/spi/spi_spl_load.c | 32 +--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/drivers/mtd/spi/spi_spl_load.c b/drivers/mtd/spi/sp

[U-Boot] [PATCH 1/2] spl: Make sure destination address is dma aligned when loading fit

2016-04-06 Thread Lokesh Vutla
Peripherals like spi etc. uses DMA for transfers. So, when loading the fit image the destination address should be dma aligned. Signed-off-by: Lokesh Vutla --- - Assuming u-boot.bin load addr will always be dma aligned. common/spl/spl_fit.c | 11 +++ 1 file changed, 7 insertions(+), 4 d

Re: [U-Boot] [U-Boot, 1/3] musb: sunxi: Do not allocate musb struct multiple times

2016-04-06 Thread Hans de Goede
Hi, On 06-04-16 01:12, Marek Vasut wrote: On 04/05/2016 11:00 AM, Hans de Goede wrote: Marek, Simon, Any news on this patch-set ? Patch 1 is sunxi specific, but patch 2 is a generic musb patch and patch 3 (of which I've send a v2 fixing some compiler warnings) is a generic (dm) usb patch, so

Re: [U-Boot] [PATCH v3] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-04-06 Thread Jagan Teki
On 6 April 2016 at 17:24, Stefan Roese wrote: > Currently only chip-select 0 is supported by the kirkwood SPI driver. > The Armada XP / 38x SoCs also use this driver and support multiple chip > selects. This patch adds support for multiple CS on MVEBU. > > The register definitions are restructured

Re: [U-Boot] [PATCH v3] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-04-06 Thread Stefan Roese
On 06.04.2016 14:25, Jagan Teki wrote: On 6 April 2016 at 17:24, Stefan Roese wrote: Currently only chip-select 0 is supported by the kirkwood SPI driver. The Armada XP / 38x SoCs also use this driver and support multiple chip selects. This patch adds support for multiple CS on MVEBU. The regi

Re: [U-Boot] [U-Boot, 1/3] musb: sunxi: Do not allocate musb struct multiple times

2016-04-06 Thread Marek Vasut
On 04/06/2016 02:21 PM, Hans de Goede wrote: > Hi, > > On 06-04-16 01:12, Marek Vasut wrote: >> On 04/05/2016 11:00 AM, Hans de Goede wrote: >>> Marek, Simon, >>> >>> Any news on this patch-set ? >>> >>> Patch 1 is sunxi specific, but patch 2 is a generic musb patch >>> and patch 3 (of which I've

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-06 Thread Marek Vasut
On 04/06/2016 09:00 AM, Phil Reid wrote: > On 6/04/2016 6:03 AM, Marek Vasut wrote: >> On 04/05/2016 10:33 AM, Phil Reid wrote: >>> On 27/03/2016 4:52 AM, Marek Vasut wrote: On 03/22/2016 06:06 PM, Dinh Nguyen wrote: > > > On 03/20/2016 11:42 AM, Marek Vasut wrote: >>> >>>

Re: [U-Boot] Using U-Boot to load RTOS

2016-04-06 Thread Peng Fan
On Wed, Apr 06, 2016 at 03:32:01PM +0530, Niti Gupta wrote: > >On 6 April 2016 at 14:33, Peng Fan wrote: > >Hi Niti, > >On Wed, Apr 06, 2016 at 01:39:31PM +0800, Bin Meng wrote: >>On Wed, Apr 6, 2016 at 1:21 PM, Niti Gupta wrote: >>> Hello Bin, >>> >>> I am trying to lo

[U-Boot] [PATCH V2] dm: core: device: set pinctrl state for pinctrl device

2016-04-06 Thread Peng Fan
We may have pinmux settings for pinctrl device, like the following example: " &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog_1>; imx6ul-evk { pinctrl_hog_1: hoggrp-1 { fsl,pins = < MX6UL_

Re: [U-Boot] [PATCH v3] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-04-06 Thread Jagan Teki
On Apr 6, 2016 6:01 PM, "Stefan Roese" wrote: > > On 06.04.2016 14:25, Jagan Teki wrote: >> >> On 6 April 2016 at 17:24, Stefan Roese wrote: >>> >>> Currently only chip-select 0 is supported by the kirkwood SPI driver. >>> The Armada XP / 38x SoCs also use this driver and support multiple chip >>

Re: [U-Boot] [PATCH v2] kirkwood_nand: claim MPP pins on the fly

2016-04-06 Thread Stefan Roese
On 05.04.2016 00:48, Scott Wood wrote: On 03/24/2016 03:40 AM, Stefan Roese wrote: On 02.02.2016 00:35, Chris Packham wrote: Claim the MPP pins for the NAND flash controller only when it's actually being used. This allows the pins to be shared with the SPI interface which already supports an eq

Re: [U-Boot] [PATCH v3] spi: kirkwood_spi: Add support for multiple chip-selects on MVEBU

2016-04-06 Thread Stefan Roese
On 06.04.2016 15:31, Jagan Teki wrote: On Apr 6, 2016 6:01 PM, "Stefan Roese" mailto:s...@denx.de>> wrote: > > On 06.04.2016 14:25, Jagan Teki wrote: >> >> On 6 April 2016 at 17:24, Stefan Roese mailto:s...@denx.de>> wrote: >>> >>> Currently only chip-select 0 is supported by the kirkwood

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

2016-04-06 Thread Stefan Roese
Hi Tom, please pull those 2 Marvell related patches. Thanks, Stefan The following changes since commit 4ed6ed3c27a069a00c8a557d606a05276cc4653e: Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze (2016-04-04 14:34:09 -0400) are available in the git repository at: git://www.

Re: [U-Boot] [PATCH 0/5] tools/env: pass arguments as parameters not global structure

2016-04-06 Thread Stefano Babic
Hi Andreas, On 05/04/2016 23:13, Andreas Fenkart wrote: > u-boot tools can be built as a library (ibubootenv.a). Passing arguments > to the library using global structures is not a good interface. > > Andreas Fenkart (5): > tools/env: make env_aes_cbc_crypt re-entrant > tools/env: remove 'ext

[U-Boot] [PATCH 1/2] pinctrl: add the DM_UC_FLAG_SEQ_ALIAS flag for numbering the devices

2016-04-06 Thread Thomas Abraham
It is possible to have multiple pin controllers in the system. Use the DM_UC_FLAG_SEQ_ALIAS flag so that the pinctrl instances are assigned a sequence number. Cc: Masahiro Yamada Cc: Simon Glass Signed-off-by: Thomas Abraham --- drivers/pinctrl/pinctrl-uclass.c |1 + 1 files changed, 1 ins

[U-Boot] [PATCH 2/2] pinctrl: Add pinctrl driver support for Exynos7420 SoC

2016-04-06 Thread Thomas Abraham
Add pinctrl driver support for Samsung's Exynos7420 SoC. The changes have been split into Exynos7420 specific and common Exynos specific portions so that this implementation is reusable on other Exynos SoCs as well. The Exynos pinctrl driver supports only device tree based pin configuration. The b

[U-Boot] [PATCH 0/2] pinctrl: add support for exynos7420 pinctrl driver

2016-04-06 Thread Thomas Abraham
This patch series adds initial support for Exynos7420 pinctrl driver. The portions of the code that are reusable on other Exynos SoCs has been factored out into a different file. The pin state configurations are looked up from the device tree and the bindings are similar to the bindings used in the

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-06 Thread Wenbin Song
Hi: York Do you mean that I should use $mtdpart to instead of "MTDPARTS_DEFAULT" ? As follows: #define CONFIG_BOOTARGS "console=ttyS0,115200 root=/dev/ram0 " \ "earlycon=uart8250,mmio,0x21c0500 " \

Re: [U-Boot] Using U-Boot to load RTOS

2016-04-06 Thread Niti Gupta
Hello Bin, I am trying to load Segger's embOS. Thanks, Niti Gupta On 6 April 2016 at 07:18, Bin Meng wrote: > On Wed, Apr 6, 2016 at 3:07 AM, Niti Gupta wrote: > > Hello, > > > > > > I am working on embedded systems. I want to use u-boot to load rtos on > > freescale i.MUX6UL board but failed

Re: [U-Boot] [PATCH v4] armv8: LS2080A: Consolidate LS2080A and LS2085A

2016-04-06 Thread Prabhakar Kushwaha
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Tuesday, April 05, 2016 12:11 AM > To: U-Boot Mailing List > Cc: Stuart Yoder ; Scott Wood ; > Huan Wang ; york sun ; > Prabhakar Kushwaha ; Saksham Jain > ; Ramneek Mehresh > ; Pratiyush Mohan Srivastava > ; Stuart Y

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-06 Thread Wenbin Song
Hi: York 1, There is an issue for sdk2.0 kernel that the nor-flash can't be probed . we can fix it as follow: $make menuconfig x -> Device Drivers

Re: [U-Boot] Using U-Boot to load RTOS

2016-04-06 Thread Niti Gupta
On 6 April 2016 at 11:09, Bin Meng wrote: > On Wed, Apr 6, 2016 at 1:21 PM, Niti Gupta wrote: > > Hello Bin, > > > > I am trying to load Segger's embOS. > > > > Please avoid top-posting. > > I don't know this OS, but you can try 'bootelf' command if embOS image > is an ELF image. If there is any

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-06 Thread Wenbin Song
Hi: York I set bootargs as the following steps: => env default mtdparts => printenv mtdparts mtdparts=mtdparts=6000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_bank4_rcw),1m(nor_bank4_uboot),1m(nor_bank4_uboot_env),1m(

Re: [U-Boot] Fwd: Marvell Armada XP u-boot from uart

2016-04-06 Thread pani
I have a Armada A388 board that I have the same problem with. (Using u-boot git master branch from today) After downloading the kwb-file, the output is as below. This is the same with the BOOT_FROM untouched or set to uart. Did you have any luck finding out what the problem was? Sending boot mes

Re: [U-Boot] Using U-Boot to load RTOS

2016-04-06 Thread Niti Gupta
On 6 April 2016 at 14:33, Peng Fan wrote: > Hi Niti, > > On Wed, Apr 06, 2016 at 01:39:31PM +0800, Bin Meng wrote: > >On Wed, Apr 6, 2016 at 1:21 PM, Niti Gupta > wrote: > >> Hello Bin, > >> > >> I am trying to load Segger's embOS. > >> > > > >Please avoid top-posting. > > > >I don't know this O

Re: [U-Boot] [PATCH 0/8] usb: Move DWC3 and some gadget options to Kconfig

2016-04-06 Thread Lukasz Majewski
Hi Semen, > > Hi All, > > This patch series move next options to Kconfigs/defconfigs: > - CONFIG_USB_DWC3* > - CONFIG_USB_GADGET_VBUS_DRAW > - CONFIG_USB_GADGET_DUALSPEED (partially, only for DWC3 platforms > for now) > - CONFIG_USB_GADGET_DOWNLOAD > - CONFIG_G_DNL_* > > All defconfig file

Re: [U-Boot] [PATCH] board: ge: bx50v3: Use pwm for display backlight

2016-04-06 Thread Akshay Bhat
On Tue, Mar 15, 2016 at 2:24 PM, Akshay Bhat wrote: > Setup the LCD backlight brightness control pin to use PWM > > Signed-off-by: Akshay Bhat > Cc: Stefano Babic > --- > Hi Stefano, Can this be applied if there are no review comments? Thanks, Akshay > board/ge/bx50v3/bx50v3.c| 11 +++

Re: [U-Boot] [PATCH] imx: mx6var_som: Add support for Variscite mx6 boards

2016-04-06 Thread Stefano Babic
Hi Eran, On 31/03/2016 15:53, Eran Matityahu wrote: > Add support for Variscite VAR-SOM-MX6 / DART-MX6 / VAR-SOM-SOLO/DUAL boards > with features: > PMIC, NAND flash, SD/MMC, USB, Ethernet, I2C, LVDS, HDMI. > > Signed-off-by: Eran Matityahu > --- > arch/arm/cpu/armv7/mx6/Kconfig

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

2016-04-06 Thread Tom Rini
On Wed, Apr 06, 2016 at 03:47:07PM +0200, Stefan Roese wrote: > Hi Tom, > > please pull those 2 Marvell related patches. > > Thanks, > Stefan > > The following changes since commit 4ed6ed3c27a069a00c8a557d606a05276cc4653e: > > Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze

Re: [U-Boot] Fwd: Marvell Armada XP u-boot from uart

2016-04-06 Thread Stefan Roese
On 06.04.2016 12:20, pani wrote: I have a Armada A388 board that I have the same problem with. (Using u-boot git master branch from today) After downloading the kwb-file, the output is as below. This is the same with the BOOT_FROM untouched or set to uart. Did you have any luck finding out what

Re: [U-Boot] [PATCH 1/2] arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_CLEAN_INVAL_ALL) with asm code

2016-04-06 Thread Tom Rini
On Mon, Apr 04, 2016 at 08:31:48PM +0200, Hans de Goede wrote: > v7_maint_dcache_all() does not work reliable when build with gcc6, > see: https://bugzilla.redhat.com/show_bug.cgi?id=1318788 > > While debugging this I learned that v7_maint_dcache_all() is unreliable > when build with gcc5 too whe

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-06 Thread Phil Reid
On 6/04/2016 7:51 PM, Marek Vasut wrote: On 04/06/2016 09:00 AM, Phil Reid wrote: On 6/04/2016 6:03 AM, Marek Vasut wrote: On 04/05/2016 10:33 AM, Phil Reid wrote: On 27/03/2016 4:52 AM, Marek Vasut wrote: On 03/22/2016 06:06 PM, Dinh Nguyen wrote: On 03/20/2016 11:42 AM, Marek Vasut wrote

Re: [U-Boot] [PATCH] board: ge: bx50v3: Use pwm for display backlight

2016-04-06 Thread Stefano Babic
Hi Akshay, On 06/04/2016 16:39, Akshay Bhat wrote: > > On Tue, Mar 15, 2016 at 2:24 PM, Akshay Bhat > wrote: > > Setup the LCD backlight brightness control pin to use PWM > > Signed-off-by: Akshay Bhat > > Cc: Ste

[U-Boot] [PATCH] WIP: Example changes to build EFI stub for x86

2016-04-06 Thread Simon Glass
Currently it is not possible to build the 64-bit EFI stub due to changes in the build. To prevent future bit rot, we should add target for building qemu-x86 as an EFI stub (with U-Boot as a 32-bit payload). This patch provides some hints. Reported-by: Nicolae Rosia Signed-off-by: Simon Glass -

Re: [U-Boot] FPGA detection failure on Cyclone V soc development kit

2016-04-06 Thread Marek Vasut
On 01/27/2016 03:18 PM, Måns Rullgård wrote: > Chin Liang See writes: > >> On Wed, 2016-01-27 at 13:46 +, Måns Rullgård wrote: >>> Chin Liang See writes: >>> On Fri, 2016-01-22 at 10:35 -0600, Dinh Nguyen wrote: > On 01/21/2016 10:31 AM, Marek Vasut wrote: >> On Thursday, Januar

Re: [U-Boot] [PATCH] board: ge: bx50v3: Update display setup

2016-04-06 Thread Stefano Babic
Hi Akshay, On 15/03/2016 19:10, Akshay Bhat wrote: > Implements the below changes: > - Disable LVDS1 on B450v3/B650v3 boards since the final boards no longer > have connectors for the same. Only LVDS0 hardware connectors are present. > - Implement imx6 EB821 or ERR009219 errata for LVDS clock swit

Re: [U-Boot] [PATCH] board: ge: bx50v3: Update display setup

2016-04-06 Thread Fabio Estevam
On Wed, Apr 6, 2016 at 12:18 PM, Stefano Babic wrote: > I frankly ask you if you think that this function can be factorized and > moved from board code to common code. What do you think ? Is there > something that let the implementation bound to the board (I have not > seen it) ? Agreed. This sh

Re: [U-Boot] [PATCH 1/2] arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_CLEAN_INVAL_ALL) with asm code

2016-04-06 Thread Hans de Goede
Hi, On 06-04-16 16:51, Tom Rini wrote: On Mon, Apr 04, 2016 at 08:31:48PM +0200, Hans de Goede wrote: v7_maint_dcache_all() does not work reliable when build with gcc6, see: https://bugzilla.redhat.com/show_bug.cgi?id=1318788 While debugging this I learned that v7_maint_dcache_all() is unreli

Re: [U-Boot] Ethernet via USB on Sinlinx SinA33

2016-04-06 Thread Hans de Goede
Hi, On 29-03-16 08:38, Quentin Schulz wrote: Hi, On 28/03/2016 14:56, Hans de Goede wrote: Hi, On 25-03-16 18:14, Quentin Schulz wrote: Hi, I am trying to get Ethernet to work through the USB port of the Sinlinx SinA33 on U-Boot to use TFTP to get the kernel and dtb files. However, I am ge

Re: [U-Boot] [PATCH 1/2] arm: Replace v7_maint_dcache_all(ARMV7_DCACHE_CLEAN_INVAL_ALL) with asm code

2016-04-06 Thread Tom Rini
On Wed, Apr 06, 2016 at 05:22:25PM +0200, Hans de Goede wrote: > Hi, > > On 06-04-16 16:51, Tom Rini wrote: > >On Mon, Apr 04, 2016 at 08:31:48PM +0200, Hans de Goede wrote: > > > >>v7_maint_dcache_all() does not work reliable when build with gcc6, > >>see: https://bugzilla.redhat.com/show_bug.cgi

Re: [U-Boot] [PATCH] mmc:fsl_esdhc: fix invalidate dcache scope

2016-04-06 Thread York Sun
On 04/06/2016 03:22 AM, Shengzhou Liu wrote: > commit 4683b220655 "mmc:fsl_esdhc invalidate dcache before read" > intended for ARM, which broke on PowerPC(caused memory allocation > failure under SD boot), so add condition CONFIG_ARM. > > Signed-off-by: Shengzhou Liu > --- > drivers/mmc/fsl_esdh

Re: [U-Boot] FPGA detection failure on Cyclone V soc development kit

2016-04-06 Thread Dinh Nguyen
On Wed, Apr 6, 2016 at 10:07 AM, Marek Vasut wrote: > > I pushed some DDR fixes into u-boot-socfpga/ddr branch [1], which fixed > DDR calibration issue on a board I have in here. Can you try them ? Thanks > > [1] > http://git.denx.de/?p=u-boot/u-boot-socfpga.git;a=shortlog;h=refs/heads/ddr > I'll

Re: [U-Boot] Fwd: Marvell Armada XP u-boot from uart

2016-04-06 Thread PA Nilsson
On 2016-04-06 16:46, Stefan Roese wrote: On 06.04.2016 12:20, pani wrote: I have a Armada A388 board that I have the same problem with. (Using u-boot git master branch from today) After downloading the kwb-file, the output is as below. This is the same with the BOOT_FROM untouched or set to u

Re: [U-Boot] [PATCH] WIP: Example changes to build EFI stub for x86

2016-04-06 Thread Nicolae Rosia
Hi, On Wed, Apr 6, 2016 at 6:06 PM, Simon Glass wrote: > Currently it is not possible to build the 64-bit EFI stub due to changes in > the build. To prevent future bit rot, we should add target for building > qemu-x86 as an EFI stub (with U-Boot as a 32-bit payload). > > This patch provides some

Re: [U-Boot] FPGA detection failure on Cyclone V soc development kit

2016-04-06 Thread Phil Reid
On 6/04/2016 11:07 PM, Marek Vasut wrote: On 01/27/2016 03:18 PM, Måns Rullgård wrote: Chin Liang See writes: On Wed, 2016-01-27 at 13:46 +, Måns Rullgård wrote: Chin Liang See writes: On Fri, 2016-01-22 at 10:35 -0600, Dinh Nguyen wrote: On 01/21/2016 10:31 AM, Marek Vasut wrote: O

Re: [U-Boot] SoCFPGA cache / S-bit problem - was Re: Newbie SPL question for socfpga_sockit

2016-04-06 Thread Dinh Nguyen
On Wed, Mar 23, 2016 at 10:37 AM, Stefan Roese wrote: > > I can't really comment on the USB problem, as I've only seen this > d-cache / S-bit problem with SPI NOR flash. This is because I've never > really used USB on this platform intensively. But I'm nearly 100% > sure, that all changes that add

Re: [U-Boot] FPGA detection failure on Cyclone V soc development kit

2016-04-06 Thread Marek Vasut
On 04/06/2016 05:29 PM, Dinh Nguyen wrote: > On Wed, Apr 6, 2016 at 10:07 AM, Marek Vasut wrote: >> >> I pushed some DDR fixes into u-boot-socfpga/ddr branch [1], which fixed >> DDR calibration issue on a board I have in here. Can you try them ? Thanks >> >> [1] >> http://git.denx.de/?p=u-boot/u-b

Re: [U-Boot] SoCFPGA cache / S-bit problem - was Re: Newbie SPL question for socfpga_sockit

2016-04-06 Thread Marek Vasut
On 04/06/2016 06:35 PM, Dinh Nguyen wrote: > On Wed, Mar 23, 2016 at 10:37 AM, Stefan Roese wrote: >> >> I can't really comment on the USB problem, as I've only seen this >> d-cache / S-bit problem with SPI NOR flash. This is because I've never >> really used USB on this platform intensively. But

Re: [U-Boot] SoCFPGA cache / S-bit problem - was Re: Newbie SPL question for socfpga_sockit

2016-04-06 Thread Dinh Nguyen
On Wed, Apr 6, 2016 at 11:46 AM, Marek Vasut wrote: > If this is about disabling PL310 (L2 cache controller), then I already > tried that. It did not help :( > Yes, it is...I'll continue to troll around some more. Dinh ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [PATCH] armv8/ls1043a: Add MTD partition scheme

2016-04-06 Thread York Sun
On 04/06/2016 12:11 AM, Wenbin Song wrote: > Hi: York > > I set bootargs as the following steps: > > => env default mtdparts > => printenv mtdparts > mtdparts=mtdparts=6000.nor:1m(nor_bank0_rcw),1m(nor_bank0_uboot),1m(nor_bank0_uboot_env),1m(nor_bank0_fman_uconde),40m(nor_bank0_fit),1m(nor_b

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-06 Thread Steve Rae
No -- I do not believe that this issue is caused by different fastboot (client) versions (the executable that runs on the host computer - Linux, Windows, Mac, etc.) I have personally attempted three (3) different versions, and the results are consistent. And no I don't think that I "am the only ho

Re: [U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-04-06 Thread York Sun
On 03/24/2016 11:26 PM, Peng Fan wrote: > Support Driver Model for fsl esdhc driver. > > 1. Introduce a new structure struct fsl_esdhc_priv > 2. Refactor fsl_esdhc_initialize which is originally used by board code. >- Introduce fsl_esdhc_init to be common usage for DM and non-DM >- Introdu

Re: [U-Boot] [PATCH V2] fsl: esdhc: consolidate fsl_esdhc_cfg structure

2016-04-06 Thread York Sun
On 03/15/2016 03:14 AM, Peng Fan wrote: > We can use phys_addr_to for esdhc_base to discard > the #ifdef. > > Signed-off-by: Peng Fan > Cc: York Sun > Cc: Yangbo Lu > Cc: Eric Nelson > Cc: Fabio Estevam > Cc: Pantelis Antoniou > Cc: Tom Rini > --- > > V2: > Split this patch from the V1 pa

Re: [U-Boot] [PATCH] drivers: net: vsc9953: Do not configure disabled ports

2016-04-06 Thread York Sun
On 03/14/2016 04:47 AM, Codrin Ciubotariu wrote: > Some SerDes protocols might not enable all l2switch ports. In this case, > these ports should not be configured to perform Rx/Tx operations. > This also fixes an issue when flooded frames were also switched to > disabled ports and frames start to a

Re: [U-Boot] [PATCH] drivers: net: vsc9953: Fix bug when PVID is shown for disabled ports only

2016-04-06 Thread York Sun
On 03/14/2016 04:47 AM, Codrin Ciubotariu wrote: > Signed-off-by: Codrin Ciubotariu > --- > drivers/net/vsc9953.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York ___ U-Boo

Re: [U-Boot] FPGA detection failure on Cyclone V soc development kit

2016-04-06 Thread Måns Rullgård
Marek Vasut writes: > On 04/06/2016 05:29 PM, Dinh Nguyen wrote: >> On Wed, Apr 6, 2016 at 10:07 AM, Marek Vasut wrote: >>> >>> I pushed some DDR fixes into u-boot-socfpga/ddr branch [1], which fixed >>> DDR calibration issue on a board I have in here. Can you try them ? Thanks >>> >>> [1] >>> h

Re: [U-Boot] [PATCH] armv8: ls1043aqds: make sure fixed-link property is big endian

2016-04-06 Thread York Sun
On 03/24/2016 08:46 PM, shh@gmail.com wrote: > From: Shaohui Xie > > When setting fixed-link property to DTS, the values should be converted > with using cpu_to_fdt32 so that to have correct value on little endian > Soc. > > Signed-off-by: Shaohui Xie > --- > board/freescale/ls1043aqds/eth

Re: [U-Boot] [PATCH RESEND] armv8: LSCH2 early and final mmu needs matching NS attribute

2016-04-06 Thread York Sun
On 03/28/2016 02:16 PM, Ed Swarthout wrote: > When switching between the early and final mmu tables, the stack will > get corrupted if the Non-Secure attribute is different. For ls1043a, > this issue is currently masked because flush_dcache_all is called > before the switch when CONFIG_SYS_DPAA_FM

Re: [U-Boot] [PATCH] arm: Fix order of CSU indexes in ns_access.h

2016-04-06 Thread York Sun
On 03/29/2016 12:41 AM, Vincent Siles wrote: > This patch aims to fix the order of CSU slave index for the LS1021a > board. > > Signed-off-by: Vincent Siles > > --- > > arch/arm/include/asm/arch-ls102xa/ns_access.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > Revised tag i

Re: [U-Boot] [PATCH] armv8/ls1043aqds modify CONFIG_SYS_MAX_FLASH_BANKS to 1

2016-04-06 Thread York Sun
On 04/01/2016 02:37 AM, Wenbin Song wrote: > There is only one flash bank for ls1043aqds. > Signed-off-by: Wenbin Song > --- > include/configs/ls1043aqds.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Add ":" sign in subject to separate tag from subject. Applied to u-boot-fsl-qoriq

Re: [U-Boot] [PATCH 1/2] armv8: ls1043a: load Fman ucode from NAND flash under NAND boot

2016-04-06 Thread York Sun
On 04/01/2016 03:02 AM, Gong Qianyu wrote: > Signed-off-by: Gong Qianyu > --- > include/configs/ls1043a_common.h | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York ___ U

Re: [U-Boot] [PATCH 2/2] armv8: ls1043a: load Fman ucode from SD/MMC under SD boot

2016-04-06 Thread York Sun
On 04/01/2016 03:02 AM, Gong Qianyu wrote: > Signed-off-by: Gong Qianyu > --- > include/configs/ls1043a_common.h | 10 +- > 1 file changed, 9 insertions(+), 1 deletion(-) > Applied to u-boot-fsl-qoriq master. Awaiting upstream. Thanks. York

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

2016-04-06 Thread York Sun
Tom, The following changes since commit 4ed6ed3c27a069a00c8a557d606a05276cc4653e: Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze (2016-04-04 14:34:09 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git master for you to fetch changes up

[U-Boot] [PATCH] test/py: README: link to example hook scripts

2016-04-06 Thread Stephen Warren
From: Stephen Warren When implementing test/py hook scripts, it's helpful to read some working examples. Provide a link to some. The link was mentioned in the commit message which first added test/py, but not in any documentation file. Suggested-by: Lukasz Majewski Signed-off-by: Stephen Warren

[U-Boot] [PATCH v2 1/2] kconfig: Move CONFIG_OF_LIBFDT to Kconfig

2016-04-06 Thread Michal Simek
This patch follows work done by: "Move CONFIG_OF_LIBFDT to Kconfig" (sha1: 69e173eb57d1f4848f070c83456096ba5d2ba1b4) Signed-off-by: Michal Simek --- Changes in v2: - new patch in series. Masahiro asked for it. configs/legoev3_defconfig | 2 ++ configs/ma5d4evk_defconfig| 2 ++

[U-Boot] [PATCH v2 2/2] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-06 Thread Michal Simek
Create CMD_FDT Kconfig entry to have an option to disable fdt command which is not required for small configuration which requires libfdt only. Enable it by default for all targets which enables OF_LIBFDT. Signed-off-by: Michal Simek --- Changes in v2: None cmd/Kconfig | 7 +++ cmd/Makefi

Re: [U-Boot] [PATCH] cmd: fdt: Use separate CMD_FDT Kconfig entry instead of OF_LIBFDT

2016-04-06 Thread Michal Simek
On 6.4.2016 03:28, Masahiro Yamada wrote: > Hi. > > > 2016-04-06 4:09 GMT+09:00 Simon Glass : >> Hi Michal, >> >> On 5 April 2016 at 04:15, Michal Simek wrote: >>> Hi Simon, >>> >>> On 5.4.2016 02:03, Simon Glass wrote: Hi Michal, On 4 April 2016 at 11:50, Michal Simek wrote: >>>

Re: [U-Boot] [PATCH] WIP: Example changes to build EFI stub for x86

2016-04-06 Thread Simon Glass
Hi Nicolae, On 6 April 2016 at 09:50, Nicolae Rosia wrote: > Hi, > > On Wed, Apr 6, 2016 at 6:06 PM, Simon Glass wrote: >> Currently it is not possible to build the 64-bit EFI stub due to changes in >> the build. To prevent future bit rot, we should add target for building >> qemu-x86 as an EFI

Re: [U-Boot] EFI Stub compilation errors

2016-04-06 Thread Simon Glass
Hi Nicolae, On 5 April 2016 at 02:02, Nicolae Rosia wrote: > > Hello, > > I'm trying to build U-Boot as an UEFI Payload, head > 4ed6ed3c27a069a00c8a557d606a05276cc4653e, branch master. > I did the following: > make qemu-x86_defconfig > make menuconfig > Enable the following: > CONFIG_EFI=y > EFI_

[U-Boot] [PATCH] fdt: implement dev_get_addr_name()

2016-04-06 Thread Stephen Warren
From: Stephen Warren This function parses the reg property based on an index found in the reg-names property. This is required for bindings that are written using reg-names rather than hard-coding indices in reg. Signed-off-by: Stephen Warren --- drivers/core/device.c | 16 in

Re: [U-Boot] FPGA detection failure on Cyclone V soc development kit

2016-04-06 Thread Marek Vasut
On 04/06/2016 07:16 PM, Måns Rullgård wrote: > Marek Vasut writes: > >> On 04/06/2016 05:29 PM, Dinh Nguyen wrote: >>> On Wed, Apr 6, 2016 at 10:07 AM, Marek Vasut wrote: I pushed some DDR fixes into u-boot-socfpga/ddr branch [1], which fixed DDR calibration issue on a board I hav

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-06 Thread Marek Vasut
On 04/06/2016 07:18 PM, Steve Rae wrote: > No -- I do not believe that this issue is caused by different fastboot > (client) versions (the executable that runs on the host computer - > Linux, Windows, Mac, etc.) > I have personally attempted three (3) different versions, and the > results are consi

Re: [U-Boot] [PATCH v2 1/2] kconfig: Move CONFIG_OF_LIBFDT to Kconfig

2016-04-06 Thread Ricardo Ribalda Delgado
Hi Michal xilinx-ppc405-generic and xilinx-ppc440-generic also depend on xilinx-ppc.h So I think this is missing. Shall I send this as a separated patch? or you want to include it in yours? Regards ricardo@pilix:~/curro/u-boot$ git diff diff --git a/configs/xilinx-ppc405-generic_defconfig b/c

Re: [U-Boot] [PATCH v3 1/1] mpc85xx: Enable pre-relocation malloc for MPC85xx

2016-04-06 Thread York Sun
On 04/05/2016 06:06 AM, Mario Six wrote: > To enable DM on MPC85xx, we need pre-relocation malloc, which is > implemented in this patch. > > We also make sure that the IVORs are always 4-aligned on e500 to prevent > alignment exceptions caused by code changes in start.S. > > Signed-off-by: Mario

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-06 Thread Steve Rae
Thanks for the reply, Marek On Wed, Apr 6, 2016 at 12:53 PM, Marek Vasut wrote: > On 04/06/2016 07:18 PM, Steve Rae wrote: > > No -- I do not believe that this issue is caused by different fastboot > > (client) versions (the executable that runs on the host computer - > > Linux, Windows, Mac

[U-Boot] [PATCH] powerpc: Replace CONFIG_SYS_INIT_RAM_END with CONFIG_SYS_INIT_RAM_SIZE

2016-04-06 Thread York Sun
CONFIG_SYS_INIT_RAM_SIZE may be used out of the board header file. Some boards use CONFIG_SYS_INIT_RAM_END for the same purpose. To unify the macros, use CONFIG_SYS_INIT_RAM_SIZE for all. Signed-off-by: York Sun CC: Mario Six --- include/configs/BSC9131RDB.h |4 ++-- include/configs/BSC

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-04-06 Thread Marek Vasut
On 04/06/2016 05:04 PM, Phil Reid wrote: > On 6/04/2016 7:51 PM, Marek Vasut wrote: >> On 04/06/2016 09:00 AM, Phil Reid wrote: >>> On 6/04/2016 6:03 AM, Marek Vasut wrote: On 04/05/2016 10:33 AM, Phil Reid wrote: > On 27/03/2016 4:52 AM, Marek Vasut wrote: >> On 03/22/2016 06:06 PM, D

Re: [U-Boot] [PATCH v2] fastboot: OUT transaction length must be aligned to wMaxPacketSize

2016-04-06 Thread Marek Vasut
On 04/06/2016 10:45 PM, Steve Rae wrote: > Thanks for the reply, Marek > > On Wed, Apr 6, 2016 at 12:53 PM, Marek Vasut > wrote: > > On 04/06/2016 07:18 PM, Steve Rae wrote: > > No -- I do not believe that this issue is caused by different fastboot > > (clie

Re: [U-Boot] [PATCH v3 1/1] mpc85xx: Enable pre-relocation malloc for MPC85xx

2016-04-06 Thread York Sun
On 04/05/2016 06:06 AM, Mario Six wrote: > To enable DM on MPC85xx, we need pre-relocation malloc, which is > implemented in this patch. > > We also make sure that the IVORs are always 4-aligned on e500 to prevent > alignment exceptions caused by code changes in start.S. > > Signed-off-by: Mario

Re: [U-Boot] [PATCH] fdt: implement dev_get_addr_name()

2016-04-06 Thread Simon Glass
On 6 April 2016 at 12:49, Stephen Warren wrote: > From: Stephen Warren > > This function parses the reg property based on an index found in the > reg-names property. This is required for bindings that are written > using reg-names rather than hard-coding indices in reg. > > Signed-off-by: Stephen

  1   2   >