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

2016-04-06 Thread Wenbin Song
Hi: York Please see my inline comments. Best Regards Wenbin Song > -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Thursday, April 07, 2016 1:18 AM > To: Wenbin Song ; Mingkai Hu > ; u-boot@lists.denx.de > Cc: Qianyu Gong ; Shaohui Xie > ; Zhiqiang Hou > Subject: R

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

2016-04-06 Thread York Sun
On 04/04/2016 11:41 AM, York Sun wrote: > LS2080A is the primary SoC, and LS2085A is a personality with AIOP > and DPAA DDR. The RDB and QDS boards support both personality. By > detecting the SVR at runtime, a single image per board can support > both SoCs. It gives users flexibility to swtich SoC

[U-Boot] [PATCH] am57x: Move CONS_INDEX to Kconfig

2016-04-06 Thread Daniel Allred
- Move the CONS_INDEX selection out of CONFIG_SYS_EXTRA_OPTIONS and into Kconfig proper. - Edit the relevant am57x configs to remove the now unneeded CONFIG_SYS_EXTRA_OPTIONS. Signed-off-by: Daniel Allred --- board/ti/am57xx/Kconfig | 9 + configs/am57xx_evm

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

2016-04-06 Thread Lukasz Majewski
Hi Michal, > On 6.4.2016 15:59, Lukasz Majewski wrote: > > 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 > >

Re: [U-Boot] [u-boot] [PATCH] arm: sleep: Get the entry point of kernel from SPARE4 register

2016-04-06 Thread Scott Wood
On 04/05/2016 09:16 PM, Huan Wang wrote: > Hi, York and Scott, > >> On 04/05/2016 05:11 AM, Alison Wang wrote: >>> For LS1021A Secure Boot, SPARE2 register is used and modified by the >>> IBR. To avoid the conflict, SPARE4 is used instead of SPARE2 to store >>> the entry point of kernel. This patc

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

2016-04-06 Thread Niti Gupta
On 6 April 2016 at 18:43, Peng Fan wrote: > 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 >

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

2016-04-06 Thread Michal Simek
On 6.4.2016 15:59, Lukasz Majewski wrote: > 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

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

2016-04-06 Thread Michal Simek
Hi, On 6.4.2016 22:34, Ricardo Ribalda Delgado wrote: > 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? I was checking that and LIBFDT is enabl

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

2016-04-06 Thread Mario Six
Quoting 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-

[U-Boot] [PATCH] gpio: mvebu_gpio: Add missing out value set to gpio_direction_output()

2016-04-06 Thread Stefan Roese
This patch adds the missing configuration of the output value to the gpio_direction_output() function. Without this, calling gpio_direction_output() does not set the out-value at all and only configures the gpio as output. Signed-off-by: Stefan Roese Cc: Kevin Smith --- drivers/gpio/mvebu_gpio.

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

2016-04-06 Thread Akshay Bhat
On Wed, Apr 6, 2016 at 11:22 AM, Fabio Estevam wrote: > 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 implementa

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] [uboot][PATCH v3 1/2] net: phy: dp83867: Add device tree bindings and documentation

2016-04-06 Thread Mugunthan V N
On Wednesday 06 April 2016 05:07 PM, Dan Murphy wrote: > 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-

Re: [U-Boot] [PATCH 0/2] ARM: AT91: add AT91 PIO4 pinctrl driver

2016-04-06 Thread Yang, Wenyou
Hi Andreas, > -Original Message- > From: Andreas Bießmann [mailto:andr...@biessmann.de] > Sent: 2016年4月7日 12:21 > To: Yang, Wenyou > Cc: u-boot@lists.denx.de > Subject: Re: [U-Boot] [PATCH 0/2] ARM: AT91: add AT91 PIO4 pinctrl driver > > Hi Wenyou, > > Really cool to see the first dm ba

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

2016-04-06 Thread Shengzhou Liu
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Wednesday, April 06, 2016 11:26 PM > To: Shengzhou Liu ; u-boot@lists.denx.de > Subject: Re: [PATCH] mmc:fsl_esdhc: fix invalidate dcache scope > > > > Shenghzou, > > This is not a correct fix. This issue is related

Re: [U-Boot] [PATCH 0/2] ARM: AT91: add AT91 PIO4 pinctrl driver

2016-04-06 Thread Andreas Bießmann
Hi Wenyou, Really cool to see the first dm based driver for atmel devices! I'll dive into this weekend. Best regards Andreas > Am 07.04.2016 um 04:15 schrieb Wenyou Yang : > > AT91 PIO4 controller is a combined gpio-controller, pin-mux and > pin-config module. This patch is to add the pinctrl

[U-Boot] [PATCH 2/2] atmel: bring in at91 pio4 device tree file and bindings

2016-04-06 Thread Wenyou Yang
Bring in required device tree files from Linux. Signed-off-by: Wenyou Yang --- arch/arm/dts/sama5d2-pinfunc.h | 880 + .../pinctrl/atmel,at91-pio4-pinctrl.txt| 65 ++ 2 files changed, 945 insertions(+) create mode 100644 arch/arm/dts/sama5d2

[U-Boot] [PATCH 1/2] pinctrl: at91-pio4: add pinctrl driver

2016-04-06 Thread Wenyou Yang
AT91 PIO4 controller is a combined gpio-controller, pin-mux and pin-config module. The peripherals are assigned pins through per-pin based muxing logic. And the pin configuration are performed on specific registers which are shared along with the gpio controller. Signed-off-by: Wenyou Yang ---

[U-Boot] [PATCH 0/2] ARM: AT91: add AT91 PIO4 pinctrl driver

2016-04-06 Thread Wenyou Yang
AT91 PIO4 controller is a combined gpio-controller, pin-mux and pin-config module. This patch is to add the pinctrl driver with driver model and device tree support. Wenyou Yang (2): pinctrl: at91-pio4: add pinctrl driver atmel: bring in at91 pio4 device tree file and bindings arch/arm/dts/

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

2016-04-06 Thread Marek Vasut
On 04/07/2016 03:42 AM, George Broz wrote: Hi, >>> U-Boot SPL 2016.03 (Apr 05 2016 - 17:57:23) >>> drivers/ddr/altera/sequencer.c: Preparing to start memory calibration >>> drivers/ddr/altera/sequencer.c: CALIBRATION PASSED >>> drivers/ddr/altera/sequencer.c: Calibration complete >>> Trying to bo

[U-Boot] [PATCH 10/10] ddr: altera: Repair DQ window centering code

2016-04-06 Thread Marek Vasut
The code uses a lot of signed numbers, which ended up in variables of unsigned type, which resulted in all sorts of underflows. This in turn caused incorrect calibration on certain boards. Moreover, repair the readout of the DQ delay, which was being pulled from wrong register. Signed-off-by: Mare

[U-Boot] [PATCH 05/10] ddr: altera: Remove unnecessary update of the SCC

2016-04-06 Thread Marek Vasut
Every invocation of the scc_mgr_set_dqs_en_delay_all_ranks() is followed by SCC manager update. Moreover, only this function triggers the SCC manager update internally. Thus, remove the internal invocation to avoid triggering the update twice. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin

[U-Boot] [PATCH 07/10] ddr: altera: Zero DM IN delay in scc_mgr_zero_group()

2016-04-06 Thread Marek Vasut
This one last set of delay configuration registers was not properly zeroed out originally, fix it and zero them out. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- drivers/ddr/altera/sequencer.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --

[U-Boot] [PATCH 09/10] ddr: altera: Staticize global variables

2016-04-06 Thread Marek Vasut
Just staticize global variables in sequencer, since there is no point in having these symbols available outside of the DDR code. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- drivers/ddr/altera/sequencer.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff

[U-Boot] [PATCH 06/10] ddr: altera: Remove unnecessary ODT mode config

2016-04-06 Thread Marek Vasut
There is no point in resetting the ODT setting if the write test failed, since the code will always retry the calibration and thus reconfigure the ODT anyway OR the code will fail calibration and halt. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- drivers/ddr/altera/sequenc

[U-Boot] [PATCH 02/10] ddr: altera: Tweak DQS tracking enable handling

2016-04-06 Thread Marek Vasut
In the most unlikely case the DQS tracking was to be disabled, make sure we do not errornously re-enable it. Note that DQS tracking is enabled on all systems observed thus far. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- drivers/ddr/altera/sequencer.c | 7 +-- 1 file

[U-Boot] [PATCH 03/10] ddr: altera: Fix scc_mgr_set() argument order

2016-04-06 Thread Marek Vasut
The code should be setting registers to zero, not one register to value. Swap the order of arguments to correct the behavior. The behavior is now in-line with code generated by Quartus 15.1 . Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- drivers/ddr/altera/sequencer.c | 2 +

[U-Boot] [PATCH 08/10] ddr: altera: Make DLEVEL behavior inclusive

2016-04-06 Thread Marek Vasut
Originally, the DLEVEL selects the debug level within the sequencer code, but only displays the messages on that particular debug level. Tweak the handling such that for particular debug level, debug messages on that level and lower are displayed. This allows better regulation of debug message verb

[U-Boot] [PATCH 04/10] ddr: altera: Fix DRAM end value in protection rule

2016-04-06 Thread Marek Vasut
The hi address bitfield in the protection rule must be set to the last address in the region which the rule represents. The behavior is now in-line with code generated by Quartus 15.1 . Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- drivers/ddr/altera/sdram.c | 2 +- 1 file

[U-Boot] [PATCH 01/10] ddr: altera: Replace ad-hoc constant with macro

2016-04-06 Thread Marek Vasut
The bit 22 is in fact DQS tracking enable bit (dqstrken) and there is a macro for this bit already, so use it. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- drivers/ddr/altera/sequencer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/ddr/al

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

2016-04-06 Thread George Broz
On 6 April 2016 at 03:43, Marek Vasut wrote: > 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/0

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

Re: [U-Boot] [PATCH 00/10] driver model bring-up of dwc3 usb peripheral

2016-04-06 Thread Simon Glass
Hi, On 31 March 2016 at 09:24, Marek Vasut wrote: > On 03/31/2016 05:11 PM, Tom Rini wrote: >> On Thu, Mar 31, 2016 at 04:10:49PM +0200, Michal Simek wrote: >>> Hi Tom, >>> >>> On 15.3.2016 13:14, Mugunthan V N wrote: This patch series enables dwc3 usb driver to adopt driver model. This

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] 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

[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] [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

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 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] 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

[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] 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_

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] [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: >>>

[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

[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] 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] 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

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

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] 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 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] 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] 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] 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] [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 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 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] 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] 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] 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] 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] 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 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 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] [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] 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] 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] [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] [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] 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 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] [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] 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] 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

[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] [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

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 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] 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] 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] [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] [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 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] 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] 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 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] 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

[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 " \

[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 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

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] 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.

  1   2   >