Re: [U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-29 Thread Stefan Roese
Hi Bin, On 29.06.2017 08:51, Bin Meng wrote: Hi Stefan, On Thu, Jun 29, 2017 at 2:13 PM, Stefan Roese wrote: Hi Bin, On 29.06.2017 07:39, Bin Meng wrote: Hi Stefan, On Wed, Jun 28, 2017 at 8:47 PM, Stefan Roese wrote: Hi Bin, On 28.06.2017 14:11, Bin Meng wrote: On Wed, Jun 28, 2017 at

Re: [U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-29 Thread Stefan Roese
Hi Bin, On 29.06.2017 10:09, Stefan Roese wrote: Hi Bin, On 29.06.2017 08:51, Bin Meng wrote: Hi Stefan, On Thu, Jun 29, 2017 at 2:13 PM, Stefan Roese wrote: Hi Bin, On 29.06.2017 07:39, Bin Meng wrote: Hi Stefan, On Wed, Jun 28, 2017 at 8:47 PM, Stefan Roese wrote: Hi Bin, On 28.06.2

Re: [U-Boot] [PATCH] wandboard: Remove unnecessary delay

2017-06-29 Thread Stefano Babic
On 01/06/2017 14:14, Fabio Estevam wrote: > There is no need to add a 100us delay after the DDR initialization. > > Other imx6 boards do not have such delay either, so simply remove it. > > Signed-off-by: Fabio Estevam > --- > board/wandboard/spl.c | 2 -- > 1 file changed, 2 deletions(-) > >

Re: [U-Boot] [PATCH 1/4] mx6sabresd: Remove SPL entry from CONFIG_SYS_EXTRA_OPTIONS

2017-06-29 Thread Stefano Babic
On 31/05/2017 18:16, Fabio Estevam wrote: > SPL is already selected via CONFIG_SPL=y, so there is no need > to pass it inside CONFIG_SYS_EXTRA_OPTIONS. > > Signed-off-by: Fabio Estevam > --- > configs/mx6sabresd_defconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/

Re: [U-Boot] [PATCH] mx6sabresd: Fix guard file symbol

2017-06-29 Thread Stefano Babic
On 01/06/2017 17:59, Fabio Estevam wrote: > Remove the "Q" from the file guard symbol, so that it matches > the file name. > > Signed-off-by: Fabio Estevam > --- > include/configs/mx6sabresd.h | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/include/configs/mx6sabr

Re: [U-Boot] [PATCH] ot1200: enable CONFIG_IMX_THERMAL for detailed thermal information

2017-06-29 Thread Stefano Babic
On 26/06/2017 09:14, Christian Gmeiner wrote: > 2017-06-08 9:37 GMT+02:00 Christian Gmeiner : >> Signed-off-by: Christian Gmeiner >> --- >> configs/ot1200_defconfig | 2 ++ >> configs/ot1200_spl_defconfig | 2 ++ >> include/configs/ot1200.h | 3 +++ >> 3 files changed, 7 insertions(+) >>

Re: [U-Boot] [PATCH] imx: mx6ull: fix USB bmode for i.MX 6UL and 6ULL

2017-06-29 Thread Stefano Babic
On 09/06/2017 22:13, Stefan Agner wrote: > From: Stefan Agner > > i.MX 6UL and 6ULL have different boot device capabilities and > use therefor use a different boot device selection table than > other i.MX 6 devices. Particularly, the value which has been > used so far (b0001) is assigned to QSPI

Re: [U-Boot] [PATCH 1/7] serial: mxc: Add common mxc_uart reg space

2017-06-29 Thread Stefano Babic
On 06/06/2017 07:31, Jagan Teki wrote: > From: Jagan Teki > > This patch will add common reg space for non-dm and > dm code and non-dm reg space can be accessed using > mxc_base. > > This will > - get rid of __REG volatile assignments > - Make common reg_space by removing unneeded macros > > Si

Re: [U-Boot] [PATCH] README.imx6: Fix Code Signing Tool command line

2017-06-29 Thread Stefano Babic
On 26/06/2017 19:02, Breno Lima wrote: > The CST input option was replaced by -i on CST 2.3.2, so update the > Code Signing Tool command line. > > Signed-off-by: Breno Lima > --- > doc/README.imx6 | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/doc/README.imx6 b/d

Re: [U-Boot] [PATCH] icorem6_rqs: Rename icorem6_rqs config file

2017-06-29 Thread Stefano Babic
On 13/06/2017 12:00, Jagan Teki wrote: > From: Jagan Teki > > imx6qdl_icore_mmc_defconfig => imx6qdl_icore_rqs_defconfig > Since icorem6_rqs support MMC/eMMC boot, so doesn't need > to name it explicitly. > > Signed-off-by: Jagan Teki > --- > board/engicam/icorem6_rqs/MAINTAINERS

Re: [U-Boot] [PATCH] net: fec_mxc: fix PHY initialization bug with CONFIG_DM_ETH

2017-06-29 Thread Stefano Babic
On 27/06/2017 15:23, Lothar Waßmann wrote: > When CONFIG_DM_ETH is set, the FEC ethernet controller is reset after > the PHY has been set up and initialzed. This breaks the communication > with the PHY and results in an inoperable ethernet interface. > > Do the initialization with CONFIG_DM_ETH in

Re: [U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-29 Thread Bin Meng
Hi Stefan, On Thu, Jun 29, 2017 at 4:09 PM, Stefan Roese wrote: > Hi Bin, > > > On 29.06.2017 08:51, Bin Meng wrote: >> >> Hi Stefan, >> >> On Thu, Jun 29, 2017 at 2:13 PM, Stefan Roese wrote: >>> >>> Hi Bin, >>> >>> On 29.06.2017 07:39, Bin Meng wrote: Hi Stefan, On Wed, Jun

Re: [U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-29 Thread Bin Meng
Hi Stefan, On Thu, Jun 29, 2017 at 4:20 PM, Stefan Roese wrote: > Hi Bin, > > > On 29.06.2017 10:09, Stefan Roese wrote: >> >> Hi Bin, >> >> On 29.06.2017 08:51, Bin Meng wrote: >>> >>> Hi Stefan, >>> >>> On Thu, Jun 29, 2017 at 2:13 PM, Stefan Roese wrote: Hi Bin, On 29.06.2

Re: [U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-29 Thread Stefan Roese
Hi Bin, On 29.06.2017 11:01, Bin Meng wrote: Hi Stefan, On Thu, Jun 29, 2017 at 4:20 PM, Stefan Roese wrote: Hi Bin, On 29.06.2017 10:09, Stefan Roese wrote: Hi Bin, On 29.06.2017 08:51, Bin Meng wrote: Hi Stefan, On Thu, Jun 29, 2017 at 2:13 PM, Stefan Roese wrote: Hi Bin, On 29.

Re: [U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-29 Thread Stefan Bruens
On Donnerstag, 29. Juni 2017 08:13:41 CEST Stefan Roese wrote: > Hi Bin, > > On 29.06.2017 07:39, Bin Meng wrote: > > Hi Stefan, > > > > On Wed, Jun 28, 2017 at 8:47 PM, Stefan Roese wrote: [...] > >>> I am more concerned about > >>> the "USB device descriptor short read (expected 18, got 8)". T

Re: [U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-29 Thread Bin Meng
Hi Stefan, On Thu, Jun 29, 2017 at 5:12 PM, Stefan Bruens wrote: > On Donnerstag, 29. Juni 2017 08:13:41 CEST Stefan Roese wrote: >> Hi Bin, >> >> On 29.06.2017 07:39, Bin Meng wrote: >> > Hi Stefan, >> > >> > On Wed, Jun 28, 2017 at 8:47 PM, Stefan Roese wrote: > [...] >> >>> I am more concerne

Re: [U-Boot] [PATCH v2 1/2] regulator: lp87565: Fix the return value of buck_get_enable function

2017-06-29 Thread Jaehoon Chung
Hi, On 06/12/2017 11:36 PM, Keerthy wrote: > The function wrongly returned an integer while it is supposed to > return boolean. Fix that. > > Fixes: 2dd9dc02a3("power: regulator: lp87565: add regulator support") > Reported-by:Nishanth Menon > Signed-off-by: Keerthy Applied on u-boot-mmc for PM

Re: [U-Boot] [PATCH v2 2/2] regulator: lp873x: Fix the return value of ldo/buck_get_enable function

2017-06-29 Thread Jaehoon Chung
On 06/12/2017 11:36 PM, Keerthy wrote: > The functions wrongly returned an integer while it is supposed to > return boolean. Fix that. > > Fixes: 99785de83 ("power: regulator: lp873x: Add regulator support") > Signed-off-by: Keerthy Applied to u-boot-mmc for pmic. Thanks! Best Regards, Jaehoon

Re: [U-Boot] [PATCH 00/12] regulator: Change get_enable return type to integer from bool

2017-06-29 Thread Jaehoon Chung
On 06/13/2017 01:23 PM, Keerthy wrote: > Change get_enable return type to int so errors can be returned. > The series converts the return type of get_enable hook in the > dm_regulator_ops to integer from bool. This enables it to > return any error values if any. > > Compile tested. Applied to u-b

Re: [U-Boot] [PATCH 1/2] mmc: use new hwpart API when CONFIG_BLK enabled

2017-06-29 Thread Jaehoon Chung
On 06/08/2017 10:20 AM, Kever Yang wrote: > When CONFIG_BLK is enabled, the hwpart id is different with legacy > interface, update it to kame driver work with CONFIG_BLK. > > Signed-off-by: Kever Yang Applied to u-boot-mmc. Thanks! Best Regards, Jaehoon Chung > --- > > cmd/mmc.c | 4 >

Re: [U-Boot] [PATCH 2/2] mmc: rpmb: update size format for write_counter

2017-06-29 Thread Jaehoon Chung
On 06/08/2017 10:20 AM, Kever Yang wrote: > According to MMC spec, the write_counter is 4-byte length, > use 'int' instead of 'long' type for the 'long' is not 4-byte > in 64 bit CPU. > > Signed-off-by: Jason Zhu > Signed-off-by: Kever Yang Applied to u-boot-mmc. Thanks! Best Regards, Jaehoon

Re: [U-Boot] [PATCH] mmc: add static to spl_mmc_get_device_index()

2017-06-29 Thread Jaehoon Chung
On 06/22/2017 04:52 PM, Masahiro Yamada wrote: > This function is only used in common/spl/spl_mmc.c[ > > Signed-off-by: Masahiro Yamada Applied to u-boot-mmc. Thanks! Best Regards, Jaehoon Chung > --- > > common/spl/spl_mmc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff

Re: [U-Boot] [PATCH] mmc: cadence: use fdt32_t for DT property value to fix sparse warning

2017-06-29 Thread Jaehoon Chung
On 06/22/2017 05:58 PM, Masahiro Yamada wrote: > DTB is encoded in big endian. When we retrieve property values, > we need to use fdt32_to_cpu (aka be32_to_cpu) for endian conversion. > This is a bit error-prone, but sparse is useful to detect endian > mismatch. > > We need to use (fdt32_t *) ins

Re: [U-Boot] [PATCH 0/3] usb: xhci: Add interrupt transfer support

2017-06-29 Thread Bin Meng
Hi Stefan, On Thu, Jun 29, 2017 at 4:57 PM, Bin Meng wrote: > Hi Stefan, > > On Thu, Jun 29, 2017 at 4:09 PM, Stefan Roese wrote: >> Hi Bin, >> >> >> On 29.06.2017 08:51, Bin Meng wrote: >>> >>> Hi Stefan, >>> >>> On Thu, Jun 29, 2017 at 2:13 PM, Stefan Roese wrote: Hi Bin,

Re: [U-Boot] [PATCH 00/22] mmc: Add support for HS200 and UHS modes

2017-06-29 Thread Jaehoon Chung
On 06/16/2017 07:00 PM, Jean-Jacques Hiblot wrote: > Hi Jaehoon, > > > On 25/05/2017 09:41, Jaehoon Chung wrote: >> Hi, >> >> On 05/24/2017 12:24 AM, Jean-Jacques Hiblot wrote: >>> Hi, >>> >>> >>> On 18/05/2017 06:27, Jaehoon Chung wrote: Hi, On 05/13/2017 03:16 AM, Jean-Jacques Hi

Re: [U-Boot] [PATCH v2 2/2] regulator: lp873x: Fix the return value of ldo/buck_get_enable function

2017-06-29 Thread Keerthy
On Thursday 29 June 2017 03:10 PM, Jaehoon Chung wrote: > On 06/12/2017 11:36 PM, Keerthy wrote: >> The functions wrongly returned an integer while it is supposed to >> return boolean. Fix that. >> >> Fixes: 99785de83 ("power: regulator: lp873x: Add regulator support") >> Signed-off-by: Keerthy

Re: [U-Boot] [PATCH v2 1/2] regulator: lp87565: Fix the return value of buck_get_enable function

2017-06-29 Thread Keerthy
On Thursday 29 June 2017 03:09 PM, Jaehoon Chung wrote: > Hi, > > On 06/12/2017 11:36 PM, Keerthy wrote: >> The function wrongly returned an integer while it is supposed to >> return boolean. Fix that. >> >> Fixes: 2dd9dc02a3("power: regulator: lp87565: add regulator support") >> Reported-by:Nis

[U-Boot] [PATCH] sunxi: gpio: add missing compatible strings

2017-06-29 Thread Andre Przywara
The sunxi GPIO driver is missing some compatible strings for recent SoCs. While most of the sunxi GPIO code seems to not rely on this (and so works anyway), the sunxi_name_to_gpio() function does and fails at the moment (for instance when resolving the MMC CD pin name). Add the compatible strings f

[U-Boot] [PATCH] arm: zynq: Label whole PL part as fpga_full region

2017-06-29 Thread Michal Simek
This will simplify dt overlay structure for the whole PL. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-7000.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi index 34fc6e5f8936..f993e19ef280 100644 --- a/arch/arm/dts/

Re: [U-Boot] [RFC/PATCH 1/2] ni: zynq: Add support for NI Ettus Research Project Sulfur Rev2 SDR

2017-06-29 Thread Michal Simek
On 23.6.2017 22:57, Moritz Fischer wrote: > Add support for second revision of NI Ettus Research Project Sulfur > Revision 2 SDR board. > > Signed-off-by: Moritz Fischer > --- > arch/arm/dts/Makefile| 1 + > arch/arm/dts/zynq-ni-sulfur-rev2-uboot.dtsi | 16 ++

Re: [U-Boot] [PATCH v2 1/2] regulator: lp87565: Fix the return value of buck_get_enable function

2017-06-29 Thread Jaehoon Chung
Hi Keerthy, On 06/29/2017 06:59 PM, Keerthy wrote: > > > On Thursday 29 June 2017 03:09 PM, Jaehoon Chung wrote: >> Hi, >> >> On 06/12/2017 11:36 PM, Keerthy wrote: >>> The function wrongly returned an integer while it is supposed to >>> return boolean. Fix that. >>> >>> Fixes: 2dd9dc02a3("power

Re: [U-Boot] [PATCH] sunxi: gpio: add missing compatible strings

2017-06-29 Thread Icenowy Zheng
于 2017年6月29日 GMT+08:00 下午6:10:31, Andre Przywara 写到: >The sunxi GPIO driver is missing some compatible strings for recent >SoCs. While most of the sunxi GPIO code seems to not rely on this (and >so works anyway), the sunxi_name_to_gpio() function does and fails at >the moment (for instance when

Re: [U-Boot] [RFC/PATCH 2/2] ni: zynq: Add support for NI Ettus Research Project Sulfur Rev3 SDR

2017-06-29 Thread Michal Simek
On 23.6.2017 22:57, Moritz Fischer wrote: > Add support for second revision of NI Ettus Research Project Sulfur > Revision 3 SDR board. > > Signed-off-by: Moritz Fischer Save comments as before for this file. > --- > arch/arm/dts/Makefile| 1 + > arch/arm/dts/zynq

Re: [U-Boot] [PATCH v2 1/2] regulator: lp87565: Fix the return value of buck_get_enable function

2017-06-29 Thread Keerthy
On Thursday 29 June 2017 03:54 PM, Jaehoon Chung wrote: > Hi Keerthy, > > On 06/29/2017 06:59 PM, Keerthy wrote: >> >> >> On Thursday 29 June 2017 03:09 PM, Jaehoon Chung wrote: >>> Hi, >>> >>> On 06/12/2017 11:36 PM, Keerthy wrote: The function wrongly returned an integer while it is suppo

[U-Boot] [PATCH] drivers:spi:sf: Add entry for micron, MT35XU512ABA1G12, flash

2017-06-29 Thread Yogesh Gaur
Add entry for MT35XU512ABA1G12 flash in spi_flash_ids[] table. This flash supports subsector erase with 4KB granularity, have support of FSR(flag status register) and flash size is 64MB. Support of this flash is required for the upcoming NXP FlexSPI controller. Signed-off-by: Yogesh Gaur --- dri

Re: [U-Boot] [PATCH V7 4/4] rockchip: rk3288: enable rockusb support on rk3288 based device

2017-06-29 Thread Lukasz Majewski
On Thu, 29 Jun 2017 08:44:47 +0800 Eddie Cai wrote: > > > > The issue is not with this one particular board. > > > > I'm concerned, since your patch set causes build errors for other > > boards. > > > > Can you build test (with travis-CI) your patches and check if you > > can reproduce those erro

[U-Boot] [PATCH] GE Bx50v3 boards: fix fdt file variable

2017-06-29 Thread Peter Robinson
The CONFIG_DEFAULT_FDT_FILE expects just the file not a full path as that might vary depending on the variant of Linux distro you might be using. Cc: Martin Donnelly Signed-off-by: Peter Robinson --- configs/ge_b650v3_defconfig | 2 +- configs/ge_b850v3_defconfig | 2 +- 2 files changed, 2 inse

Re: [U-Boot] [PATCH] GE Bx50v3 boards: fix fdt file variable

2017-06-29 Thread Fabio Estevam
Hi Peter, On Thu, Jun 29, 2017 at 8:44 AM, Peter Robinson wrote: > The CONFIG_DEFAULT_FDT_FILE expects just the file not a full path > as that might vary depending on the variant of Linux distro you > might be using. > > Cc: Martin Donnelly > Signed-off-by: Peter Robinson > --- > configs/ge_b6

Re: [U-Boot] [PATCH] GE Bx50v3 boards: fix fdt file variable

2017-06-29 Thread Peter Robinson
On Thu, Jun 29, 2017 at 12:51 PM, Fabio Estevam wrote: > Hi Peter, > > On Thu, Jun 29, 2017 at 8:44 AM, Peter Robinson wrote: >> The CONFIG_DEFAULT_FDT_FILE expects just the file not a full path >> as that might vary depending on the variant of Linux distro you >> might be using. >> >> Cc: Martin

[U-Boot] [PATCH] GE Bx50v3 boards: fix fdt file variable

2017-06-29 Thread Peter Robinson
The CONFIG_DEFAULT_FDT_FILE expects just the file not a full path as that might vary depending on the variant of Linux distro you might be using. Cc: Martin Donnelly Cc: Fabio Estevam Signed-off-by: Peter Robinson --- configs/ge_b450v3_defconfig | 2 +- configs/ge_b650v3_defconfig | 2 +- conf

Re: [U-Boot] [PATCH] GE Bx50v3 boards: fix fdt file variable

2017-06-29 Thread Fabio Estevam
On Thu, Jun 29, 2017 at 9:21 AM, Peter Robinson wrote: > The CONFIG_DEFAULT_FDT_FILE expects just the file not a full path > as that might vary depending on the variant of Linux distro you > might be using. > > Cc: Martin Donnelly > Cc: Fabio Estevam > Signed-off-by: Peter Robinson Acked-by: F

[U-Boot] [PATCH next 1/3] mx6: soc: Move mxs_dma_init() into the mxs nand driver

2017-06-29 Thread Vanessa Maegima
From: Fabio Estevam Currently the following build error is seen when a board using MMC SPL is built and the MXS nand driver is also selected: arch/arm/cpu/armv7/built-in.o: In function `arch_cpu_init': arch/arm/cpu/armv7/mx6/soc.c:432: undefined reference to 'mxs_dma_init' On mx6 the only user

[U-Boot] [PATCH next 2/3] mx6qsabreauto: Add SPL support

2017-06-29 Thread Vanessa Maegima
Add support for mx6q, mx6dl and mx6qp sabreauto boards in SPL. Retrieved the mx6q DCD table from: board/freescale/mx6qsabreauto/imximage.cfg Retrieved the mx6dl DCD table from: board/freescale/mx6qsabreauto/mx6dl.cfg Retrieved the mx6qp DCD table from: board/freescale/mx6qsabreauto/mx6qp.cfg Fl

[U-Boot] [PATCH next 3/3] mx6sabreauto: Update to SPL only mode

2017-06-29 Thread Vanessa Maegima
As mx6sabreauto supports SPL now, all variants can boot using the same defconfig. This patch: - Removes non-SPL targets. - Renames target to mx6sabreauto_defconfig. - Renames folder and board files to mx6sabreauto. - Updates MAINTAINERS, Makefile and Kconfig accordingly. - Removes .cfg files. - Ad

[U-Boot] [PATCH] arm: mach-keystone: Modify secure image size before copy

2017-06-29 Thread Andrew F. Davis
The size of the secure image does not include the size of the header, subtract this out before we move the image or we grab extra data after the image. Signed-off-by: Andrew F. Davis --- arch/arm/mach-keystone/mon.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/a

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-29 Thread Siva Durga Prasad Paladugu
Hi, > -Original Message- > From: Alexander Graf [mailto:ag...@suse.de] > Sent: Tuesday, June 27, 2017 6:08 PM > To: Michal Simek > Cc: Siva Durga Prasad Paladugu ; u-boot@lists.denx.de; > Tom Rini ; Simon Glass ; Siva > Durga Prasad Paladugu > Subject: Re: [U-Boot] [PATCH] arch: armv8: R

Re: [U-Boot] mkimage: fix display of image types list

2017-06-29 Thread Tom Rini
On Wed, Jun 28, 2017 at 09:19:43PM +0300, Baruch Siach wrote: > Since commit 5b9d44df2307f (mkimage: Display a better list of available image > types) mkimage usage text suggest to "use -T to see a list of available image > types". Unfortunately, commit 02221f29deb8 (mkimage: Convert to use getopt

Re: [U-Boot] [PATCH] arch: armv8: Remove the error when dcache is off

2017-06-29 Thread Alexander Graf
On 29.06.17 15:44, Siva Durga Prasad Paladugu wrote: Hi, -Original Message- From: Alexander Graf [mailto:ag...@suse.de] Sent: Tuesday, June 27, 2017 6:08 PM To: Michal Simek Cc: Siva Durga Prasad Paladugu ; u-boot@lists.denx.de; Tom Rini ; Simon Glass ; Siva Durga Prasad Paladugu Su

Re: [U-Boot] [PATCH 2/2] mx6cuboxi: Add support for sata

2017-06-29 Thread Fabio Estevam
[Adding the list on Cc] On Thu, Jun 29, 2017 at 11:33 AM, Peter Robinson wrote: > So I can just drop that check? Yes, doing like this would be enough: +#ifdef CONFIG_CMD_SATA + setup_sata(); +#endif ___ U-Boot mailing list U-Boot@lists.

[U-Boot] Uboot on qemu vexpress-a9 flash question?

2017-06-29 Thread Leo Wang
Hello experts I am new to u-boot. I am trying to use qemu-arm to run u-boot. After reading online materials, my question is that if it is possible to save the environment variables on simulated Flash "permanently". I use raw file "pflash0.img" as simulated flash. So far, after modify some #defi

[U-Boot] Please pull ARC changes

2017-06-29 Thread Alexey Brodkin
Hi Tom, Please pull recent ARC changes. There're a couple of fixes to existing code and boards as well as addition of the new devboard from Synopsys ("HSDK"). -Alexey The following changes since commit 08546df976b79b1694af3ff12b26baf2931f371a:   Merge git://git.denx.de/u-boot-x86 (2017-06-27 09

Re: [U-Boot] [PATCH v3] powerpc: Restore core of mpc8xx

2017-06-29 Thread Christophe LEROY
Dear Wolfgang, Le 23/06/2017 à 14:11, Wolfgang Denk a écrit : Dear Christophe, In message <71d351cb-2c42-99a0-0b4b-64cfa74ec...@c-s.fr> you wrote: Ok, noted. Please take care to not remove anything that is common with 8xx before 8xx is back. 8xx is gone. Please get used to that fact. Yes

Re: [U-Boot] [PATCH] [NEXT] imx: reorganize IMX code as other SOCs

2017-06-29 Thread Fabio Estevam
Hi Stefano, On Thu, Jun 29, 2017 at 5:16 AM, Stefano Babic wrote: > Change is consistent with other SOCs and it is in preparation > for adding SOMs. SOC's related files are moved from cpu/ to > mach-imx/. > > This change is also coherent with the structure in kernel. > > Signed-off-by: Stefano Ba

[U-Boot] [PATCH 0/7] powerpc, 8xx: Modernise the 8xx

2017-06-29 Thread Christophe Leroy
This patchset modernises the resurrected 8xx. Christophe Leroy (7): powerpc, 8xx: move specific reginfo powerpc, 8xx: Implement GLL2 ERRATA powerpc, 8xx: Properly set CPM frequency in the device tree powerpc, 8xx: Migrate to Kconfig powerpc, 8xx: move FEC Ethernet driver in drivers/net

[U-Boot] [PATCH 1/7] powerpc, 8xx: move specific reginfo

2017-06-29 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- This serie applies after the patch "[v5] powerpc: Partialy restore core of mpc8xx" arch/powerpc/cpu/mpc8xx/Makefile | 1 + {cmd => arch/powerpc/cpu/mpc8xx}/reginfo.c | 30 + cmd/reginfo.c | 54 ++---

[U-Boot] [PATCH 3/7] powerpc, 8xx: Properly set CPM frequency in the device tree

2017-06-29 Thread Christophe Leroy
For processors whose core runs at twice the bus frequency, the fallback frequency calculation in Linux provides a wrong result. Therefore, U-boot needs to pass the correct value. Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/fdt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[U-Boot] [PATCH 5/7] powerpc, 8xx: move FEC Ethernet driver in drivers/net

2017-06-29 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- README | 15 -- arch/powerpc/cpu/mpc8xx/Makefile | 1 - arch/powerpc/cpu/mpc8xx/cpu.c | 2 +- drivers/net/Kconfig| 58 ++

[U-Boot] [PATCH 4/7] powerpc, 8xx: Migrate to Kconfig

2017-06-29 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- README | 15 arch/powerpc/cpu/mpc8xx/Kconfig| 147 + arch/powerpc/cpu/mpc8xx/cpu_init.c | 2 +- arch/powerpc/cpu/mpc8xx/fec.c | 8 +- arch/powerpc/include/asm/ppc.h | 5 --

[U-Boot] [PATCH 2/7] powerpc, 8xx: Implement GLL2 ERRATA

2017-06-29 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/cpu_init.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/powerpc/cpu/mpc8xx/cpu_init.c b/arch/powerpc/cpu/mpc8xx/cpu_init.c index 0f935aff9e..e8045cc5c6 100644 --- a/arch/powerpc/cpu/mpc8xx/cpu_init.c +++ b/arch/p

[U-Boot] [PATCH 6/7] powerpc, 8xx: move SPI driver to drivers/spi/

2017-06-29 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- arch/powerpc/cpu/mpc8xx/Makefile | 1 - drivers/spi/Kconfig | 6 ++ drivers/spi/Makefile | 1 + arch/powerpc/cpu/mpc8xx/spi.c => drivers/spi/mpc8xx_spi.c | 3

[U-Boot] [PATCH 7/7] powerpc, 8xx: move Serial driver to drivers/serial/

2017-06-29 Thread Christophe Leroy
Signed-off-by: Christophe Leroy --- README | 19 -- arch/powerpc/cpu/mpc8xx/Makefile | 1 - drivers/serial/Kconfig | 72 ++ drivers/serial/Makefile| 1 +

[U-Boot] [PATCH] pico-imx7d: Remove bouncing email

2017-06-29 Thread Fabio Estevam
From: Fabio Estevam Wig Cheng's email bounces, so remove it from the maintainers list. Signed-off-by: Fabio Estevam --- board/technexion/pico-imx7d/MAINTAINERS | 1 - 1 file changed, 1 deletion(-) diff --git a/board/technexion/pico-imx7d/MAINTAINERS b/board/technexion/pico-imx7d/MAINTAINERS

Re: [U-Boot] [PATCH v3] powerpc: Restore core of mpc8xx

2017-06-29 Thread Tom Rini
On Thu, Jun 29, 2017 at 06:51:14PM +0200, Christophe LEROY wrote: [snip] > The schedule: No discontinuity is U-boot support for 8xx. > In Septembre, we will start preparing the yearly SW update. Please note that while I see that "yearly update" is part of the certification process, you're going to

Re: [U-Boot] [PATCH v3] powerpc: Restore core of mpc8xx

2017-06-29 Thread Christophe LEROY
Le 29/06/2017 à 19:09, Tom Rini a écrit : On Thu, Jun 29, 2017 at 06:51:14PM +0200, Christophe LEROY wrote: [snip] The schedule: No discontinuity is U-boot support for 8xx. In Septembre, we will start preparing the yearly SW update. Please note that while I see that "yearly update" is part o

Re: [U-Boot] [PATCH 0/2] powerpc: remove 4xx support

2017-06-29 Thread Tom Rini
On Tue, Jun 27, 2017 at 05:03:27PM +0200, Michal Simek wrote: > On 27.6.2017 16:49, Heiko Schocher wrote: > > There was for long time no activity in the 4xx area. > > We need to go further and convert to Kconfig, but it > > turned out, nobody is interested anymore in 4xx, > > so remove it. > > Ack

Re: [U-Boot] [U-Boot, v2, 1/2] drivers, usb, gadget: fix compiler warnings for at91_udc.c

2017-06-29 Thread Tom Rini
On Fri, Jun 23, 2017 at 08:13:58PM +0200, Heiko Schocher wrote: > fix warnings: > drivers/usb/gadget/at91_udc.c:1344:12: warning: 'at91rm9200_udc_init' defined > but not used [-Wunused-function] > drivers/usb/gadget/at91_udc.c:1379:13: warning: 'at91rm9200_udc_pullup' > defined but not used [-Wu

Re: [U-Boot] [U-Boot,v2,2/2] atmel, at91: fix smartweb board

2017-06-29 Thread Tom Rini
On Fri, Jun 23, 2017 at 08:13:59PM +0200, Heiko Schocher wrote: > since commit: f8b7fff1d5c5 "serial: atmel_usart: Add clk support" > > smartweb board comes not up anymore. Fix it. > > Signed-off-by: Heiko Schocher > Acked-by: Wenyou Yang Applied to u-boot/master, thanks! -- Tom signature

Re: [U-Boot] atmel, at91: fix taurus board

2017-06-29 Thread Tom Rini
On Wed, Jun 28, 2017 at 11:24:58AM +0200, Heiko Schocher wrote: > since commit: f8b7fff1d5c5 "serial: atmel_usart: Add clk support" > > taurus board comes not up anymore. Fix it. > > Signed-off-by: Heiko Schocher > Acked-by: Wenyou Yang Applied to u-boot/master, thanks! -- Tom signature.a

Re: [U-Boot] [U-Boot,v1] at91, dfu, smartweb: set serial number

2017-06-29 Thread Tom Rini
On Mon, Jun 26, 2017 at 01:26:14PM +0200, Heiko Schocher wrote: > since commit 842778a09104 dfu-util shows serial="UNDEFINED". > > to see here again a serial number, we have to call > g_dnl_set_serialnumber(). > > Signed-off-by: Heiko Schocher Applied to u-boot/master, thanks! -- Tom signa

Re: [U-Boot] GE Bx50v3 boards: fix fdt file variable

2017-06-29 Thread Tom Rini
On Thu, Jun 29, 2017 at 01:21:38PM +0100, Peter Robinson wrote: > The CONFIG_DEFAULT_FDT_FILE expects just the file not a full path > as that might vary depending on the variant of Linux distro you > might be using. > > Cc: Martin Donnelly > Cc: Fabio Estevam > Signed-off-by: Peter Robinson >

Re: [U-Boot] scripts: config_whitelist: Handle lines with leading spaces/tabs

2017-06-29 Thread Tom Rini
On Thu, Jun 29, 2017 at 11:36:25AM +0800, Bin Meng wrote: > Some Kconfig options are defined in a line with leading spaces/tabs. > Update build-whitelist/check-config scripts to handle such cases. > Generate a new config_whitelist.txt with new scripts. > > Signed-off-by: Bin Meng Applied to u-b

Re: [U-Boot] usb: gadget: Call g_dnl_bind_fixup() before testing g_dnl_serial length

2017-06-29 Thread Tom Rini
On Mon, Jun 26, 2017 at 01:04:58PM +0200, Lukasz Majewski wrote: > After the commit SHA1: 842778a091 - the serial number descriptor is only > visible when we have non zero length of g_dnl_serial. > > However, on some platforms (e.g. Siemens) the serial number is set at > g_dnl_bind_fixup(), so wi

Re: [U-Boot] ARM: make memset and memcpy prompt message more clearly

2017-06-29 Thread Tom Rini
On Wed, Jun 28, 2017 at 04:27:37PM +0800, Andy Yan wrote: > The origin SPL_USE_ARCH_MEMSET/MEMCPY use same prompt message > as USE_ARCH_MEMSET/MEMCPY, which makes it's hard to distinguish > them in menuconfig interface. This patch gives them different > prompt messages for spl and none-spl config.

Re: [U-Boot] [PATCH] arm: zynq: Label whole PL part as fpga_full region

2017-06-29 Thread Moritz Fischer
Hi Michal, can you / did you send this to the kernel ML, too? On Thu, Jun 29, 2017 at 3:14 AM, Michal Simek wrote: > This will simplify dt overlay structure for the whole PL. > > Signed-off-by: Michal Simek Reviewed-by: Moritz Fischer > --- > > arch/arm/dts/zynq-7000.dtsi | 8 > 1 fi

[U-Boot] [PATCH 1/1] efi_loader: efi_handle_protocol set attributes

2017-06-29 Thread Heinrich Schuchardt
UEFI spec 2.7 indicates that HandleProtocol can be implemented by calling OpenProtocol with attributes = EFI_OPEN_PROTOCOL_BY_HANDLE_PROTOCOL. Currently we pass attributes = 0 to efi_open_protocol. 0 is not a valid value when calling OpenProtocol. This does not cause any errors yet because our imp

[U-Boot] [PATCH v2 1/1] configs: Odroid C2: enable device tree overlays

2017-06-29 Thread Heinrich Schuchardt
The Odroid C2 comes with several expansion options such as an RTC module. As these expansions are not considered in the Linux device tree they have to be enabled via device tree overlays. Signed-off-by: Heinrich Schuchardt --- v2: remove unnecessary CONFIG_OF_LIBFDT=y --- configs/odroid-

Re: [U-Boot] [PATCH next 2/3] mx6qsabreauto: Add SPL support

2017-06-29 Thread Fabio Estevam
On Thu, Jun 29, 2017 at 9:33 AM, Vanessa Maegima wrote: > Add support for mx6q, mx6dl and mx6qp sabreauto boards in SPL. > > Retrieved the mx6q DCD table from: > board/freescale/mx6qsabreauto/imximage.cfg > > Retrieved the mx6dl DCD table from: > board/freescale/mx6qsabreauto/mx6dl.cfg > > Retriev

Re: [U-Boot] [PATCH next 3/3] mx6sabreauto: Update to SPL only mode

2017-06-29 Thread Fabio Estevam
On Thu, Jun 29, 2017 at 9:33 AM, Vanessa Maegima wrote: > As mx6sabreauto supports SPL now, all variants can boot using the same > defconfig. > > This patch: > - Removes non-SPL targets. > - Renames target to mx6sabreauto_defconfig. > - Renames folder and board files to mx6sabreauto. > - Updates M

Re: [U-Boot] [PATCH v2 1/1] configs: Odroid C2: enable device tree overlays

2017-06-29 Thread Tom Rini
On Thu, Jun 29, 2017 at 09:29:55PM +0200, Heinrich Schuchardt wrote: > The Odroid C2 comes with several expansion options such as an RTC module. > As these expansions are not considered in the Linux device tree they have > to be enabled via device tree overlays. > > Signed-off-by: Heinrich Schuch

Re: [U-Boot] [U-Boot, 1/2] efi_loader: run CreateEvent() notify function based on flags

2017-06-29 Thread Heinrich Schuchardt
On 03/12/2017 09:26 AM, Jonathan Gray wrote: > The UEFI specification states that the tpl, function and context > arguments are to be ignored if neither EVT_NOTIFY_WAIT or > EVT_NOTIFY_SIGNAL are specified. This matches observed behaviour with > an AMI EDK2 based UEFI implementation. > > Skip cal

[U-Boot] Please revert unnecessary dcache_disable() commit

2017-06-29 Thread Toshifumi NISHINAGA
Hello, commit 8f079cccb369995e46a2ab530d5d60b88c1e70bb ("armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel") added dcache_disable(), but this function is existed at cleanup_before_linux() on arch/arm/cpu/armv7m/cpu.c. Could you revert this commit. thanks, Toshifumi NISHINAGA ___

[U-Boot] [PATCH] .travis.yml: All DENX boards are now under Aries

2017-06-29 Thread Tom Rini
DENX hardware is now under Aries Embedded, update the job. Signed-off-by: Tom Rini --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index a5347439119e..6f14ec239625 100644 --- a/.travis.yml +++ b/.travis.yml @@ -143,7 +143,7 @@ mat

Re: [U-Boot] [PATCH v2 1/1] configs: Odroid C2: enable device tree overlays

2017-06-29 Thread Tom Rini
On Thu, Jun 29, 2017 at 04:19:26PM -0400, Tom Rini wrote: > On Thu, Jun 29, 2017 at 09:29:55PM +0200, Heinrich Schuchardt wrote: > > > The Odroid C2 comes with several expansion options such as an RTC module. > > As these expansions are not considered in the Linux device tree they have > > to be e

Re: [U-Boot] Please pull ARC changes

2017-06-29 Thread Tom Rini
On Thu, Jun 29, 2017 at 04:39:16PM +, Alexey Brodkin wrote: > Hi Tom, > > Please pull recent ARC changes. > There're a couple of fixes to existing code and boards as well > as addition of the new devboard from Synopsys ("HSDK"). > > -Alexey > > The following changes since commit 08546df976b

Re: [U-Boot] Please revert unnecessary dcache_disable() commit

2017-06-29 Thread Tom Rini
On Fri, Jun 30, 2017 at 05:58:02AM +0900, Toshifumi NISHINAGA wrote: > Hello, > > commit 8f079cccb369995e46a2ab530d5d60b88c1e70bb > ("armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel") > added dcache_disable(), but this function is existed at > cleanup_before_linux() on arch/arm/cp

Re: [U-Boot] [U-Boot,04/11] ARM: at91: ma5d4: Enable DFU and UMS

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:43PM +0200, Marek Vasut wrote: > Enable DFU and USB mass storage support for the DENX MA5D4 SoM. > > Signed-off-by: Marek Vasut > Cc: Andreas Bießmann Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 02/11] ARM: at91: ma5d4: Switch DDR2 controller to sequencial address decoding

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:41PM +0200, Marek Vasut wrote: > According to the datasheet, sequential mapping is used for DDR > SDRAM, while interleaved mapping is used for regular SDRAM. > Incorrect configuration of this bit does indeed cause sporadic > memory instability. > > Signed-off-by: Mar

Re: [U-Boot] [U-Boot, 05/11] ARM: at91: ma5d4: Init SD/MMC controller in SPL

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:44PM +0200, Marek Vasut wrote: > Init the controllers, otherwise the board cannot boot from SD/MMC. > This boot option is new on rev. 2.1 SoM . > > Signed-off-by: Marek Vasut > Cc: Andreas Bießmann Applied to u-boot/master, thanks! -- Tom signature.asc Descrip

Re: [U-Boot] [U-Boot, 09/11] ARM: at91: ma5d4: Switch environment start to eMMC

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:48PM +0200, Marek Vasut wrote: > The redesigned version of the SoM which was released onto the market > does no longer contain SPI flash, but boots from the eMMC. Move the > environment storage to the eMMC. > > Signed-off-by: Marek Vasut > Cc: Andreas Bießmann App

Re: [U-Boot] [U-Boot,01/11] ARM: atmel: Rename MA5D4EVK

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:40PM +0200, Marek Vasut wrote: > The board is now manufactured by Aries Embedded GmbH , rename it. > > Signed-off-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 06/11] ARM: at91: ma5d4: Swap SD/MMC controller order

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:45PM +0200, Marek Vasut wrote: > The SDHCI1 is the primary boot controller on rev. 2.1 SoM, which > is the version available on the market. Swap the controller order > to match this and future versions of the SoM. > > Signed-off-by: Marek Vasut > Cc: Andreas Bießman

Re: [U-Boot] [U-Boot, 08/11] ARM: at91: ma5d4: Boot from MMC2 when using SAM-BA

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:47PM +0200, Marek Vasut wrote: > Continue loading U-Boot from MMC2 when the SPL was loaded using SAM-BA > loader. This allows the board to boot system from the removable media > instead of the eMMC, which is useful for commissioning purposes. When > booting from the e

Re: [U-Boot] [U-Boot, 10/11] ARM: at91: ma5d4: Enable random ethaddr

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:49PM +0200, Marek Vasut wrote: > Use random ethaddr by default in case no ethaddr is set. > > Signed-off-by: Marek Vasut Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot

Re: [U-Boot] pico-imx7d: Remove bouncing email

2017-06-29 Thread Tom Rini
On Thu, Jun 29, 2017 at 02:07:42PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Wig Cheng's email bounces, so remove it from the maintainers list. > > Signed-off-by: Fabio Estevam Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH] .travis.yml: All DENX boards are now under Aries

2017-06-29 Thread Tom Rini
On Thu, Jun 29, 2017 at 09:24:41PM -0400, Tom Rini wrote: > DENX hardware is now under Aries Embedded, update the job. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mai

Re: [U-Boot] [U-Boot, 07/11] ARM: at91: ma5d4: Enable support for booting from eMMC

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:46PM +0200, Marek Vasut wrote: > The SoM has been redesigned to work around bug in the SoC and is now > capable of booting from the eMMC. Add support for booting from eMMC. > > Signed-off-by: Marek Vasut > Cc: Andreas Bießmann Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, 11/11] ARM: at91: ma5d4: Support both SF and eMMC SoMs

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:50PM +0200, Marek Vasut wrote: > Discern the SoMs based on the presence of SPI flash to support both > variants of the SoM, one booting from SPI NOR and one booting from > eMMC. > > Signed-off-by: Marek Vasut > Cc: Andreas Bießmann Applied to u-boot/master, thanks

Re: [U-Boot] [U-Boot, 03/11] ARM: at91: ma5d4: Reset CAN controllers late

2017-06-29 Thread Tom Rini
On Tue, May 02, 2017 at 08:27:42PM +0200, Marek Vasut wrote: > The CAN controllers need slight delay between toggling of their reset > line. Move this action into board_init(), otherwise timer will not be > initialized and the board might hang. > > Signed-off-by: Marek Vasut > Cc: Andreas Bießma

Re: [U-Boot] doc: restore doc/README.fsl-clk

2017-06-29 Thread Tom Rini
On Tue, Jun 27, 2017 at 04:00:24PM +0200, Christophe Leroy wrote: > doc/README.fsl-clk was removed in commit > 5b8e76c35ec31 ("powerpc, 8xx: remove support for 8xx") > allthought CONFIG_SYS_FSL_CLK is defined in > arch/arm/cpu/armv8/fsl-layerscape/Kconfig and still in use > in the following config

Re: [U-Boot] [PATCH] arm: mach-keystone: Modify secure image size before copy

2017-06-29 Thread Lokesh Vutla
On Thursday 29 June 2017 07:08 PM, Andrew F. Davis wrote: > The size of the secure image does not include the size of the > header, subtract this out before we move the image or we grab > extra data after the image. > > Signed-off-by: Andrew F. Davis Reviewed-by: Lokesh Vutla Thanks and rega

  1   2   >