Re: [U-Boot] [PATCH] omap3: Reduce logic/overo SPL max image size

2016-05-03 Thread Tom Rini
On Tue, May 03, 2016 at 01:37:41PM -0500, Derald Woods wrote: > On Sun, May 1, 2016 at 12:09 PM, Derald D. Woods > wrote: > > > On 05/01/2016 08:58 AM, Tom Rini wrote: > > > >> On Sat, Apr 30, 2016 at 07:12:28PM -0500, Derald D. Woods wrote: > >> > >>> On 04/28/2016

Re: [U-Boot] drivers: net: cpsw: fix get mdio base and gmii_sel reg from DT

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616102/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: increase maximum frame size to accomediate VLAN packets

2016-05-03 Thread Joe Hershberger
Hi Stefan, https://patchwork.ozlabs.org/patch/610318/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] arm: dts: dra7: add syscon node to cpsw to read mac address

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616104/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] drivers: net: cpsw: add support for reading mac address from efuse

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616103/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] arm: dts: dra7: fix ethernet name with proper device address

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616105/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] arm: dts: am4372: add syscon node to cpsw to read mac address

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616106/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 03/18] bootm: Align cache flush end address correctly

2016-05-03 Thread Joe Hershberger
On Tue, May 3, 2016 at 1:39 AM, Simon Glass wrote: > Flushing part of the cache should be done on cache boundaries. Trying to > flush part of a cache line is not supported and the request may be ignored > or print warnings. > > Adjust the bootm code to align the end address to

Re: [U-Boot] [PATCH 06/18] net: macb: Flush correct cache portion when sending

2016-05-03 Thread Joe Hershberger
On Tue, May 3, 2016 at 1:40 AM, Simon Glass wrote: > The end address of the cache flush must be cache-line-aligned since > otherwise (at least on ARM926-EJS) the request is ignored. When the cache > is enabled this means that packets are not sent. > > Signed-off-by: Simon Glass

Re: [U-Boot] fdt: fix setting MAC addresses for multiple interfaces

2016-05-03 Thread Joe Hershberger
Hi Lev, https://patchwork.ozlabs.org/patch/564594/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: Remove unused mv88e61xx switch driver

2016-05-03 Thread Joe Hershberger
Hi Kevin, https://patchwork.ozlabs.org/patch/604277/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] drivers: net: ldpaa: Memset pools_params as "0" before use

2016-05-03 Thread Joe Hershberger
Hi Prabhakar, https://patchwork.ozlabs.org/patch/602416/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: Add PHY driver for mv88e61xx switches

2016-05-03 Thread Joe Hershberger
Hi Kevin, https://patchwork.ozlabs.org/patch/604278/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PULL] u-boot-usb/master

2016-05-03 Thread Marek Vasut
Hi, this stuff is for 2016.05, it's a bunch of fixes. The following changes since commit e7fbcbc2566ab4bbcb07889a5791972ac49fa407: igep00x0: Use the SRAM available for SPL. (2016-05-03 12:17:13 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you

Re: [U-Boot] speaking of fixing spelling mistakes and stuff like that ...

2016-05-03 Thread Tom Rini
On Tue, May 03, 2016 at 06:17:08AM -0400, Robert P. J. Day wrote: > as i dig through the u-boot code, i frequently run across spelling > mistakes and other apparently non-functional issues, but i don't want > to pollute the list with patch after patch of trivial fixups, so i > started a local

Re: [U-Boot] drivers: net: cpsw: fix cpsw dp parse when num slaves as 1

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616100/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] ARM: omap5: add platform specific ethernet phy modes configurations

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616101/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 04/18] net: Handle an empty bootp extension section

2016-05-03 Thread Joe Hershberger
On Tue, May 3, 2016 at 1:39 AM, Simon Glass wrote: > Avoid generating this section if there is nothing in it. > > Signed-off-by: Simon Glass Acked-by: Joe Hershberger ___ U-Boot mailing

Re: [U-Boot] [PATCH 02/18] arm: Allow skipping of low-level init with I-cache on

2016-05-03 Thread Joe Hershberger
On Tue, May 3, 2016 at 1:39 AM, Simon Glass wrote: > At present CONFIG_SKIP_LOWLEVEL_INIT prevents U-Boot from calling > lowlevel_init(). This means that the instruction cache is not enabled and > the board runs very slowly. > > What is really needed in many cases is to skip

Re: [U-Boot] [PATCH 05/18] net: macb: Prepare for driver-model conversion

2016-05-03 Thread Joe Hershberger
On Tue, May 3, 2016 at 1:39 AM, Simon Glass wrote: > Adjust this driver to avoid using struct netdev in functions that driver > model will call. Also refactor the receive function to be compatible with > driver model. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2] fdt: fix setting MAC addresses for multiple interfaces

2016-05-03 Thread Joe Hershberger
Hi Lev, On Mon, May 2, 2016 at 11:01 AM, Lev Iserovich wrote: > Hi, > > Updated with C-style comments: > > For multiple ethernet interfaces the FDT offset of '/aliases' will change as > we > are adding MAC addresses to the FDT. > Therefore only the first

Re: [U-Boot] [PATCH] omap3: Reduce logic/overo SPL max image size

2016-05-03 Thread Derald Woods
On Sun, May 1, 2016 at 12:09 PM, Derald D. Woods wrote: > On 05/01/2016 08:58 AM, Tom Rini wrote: > >> On Sat, Apr 30, 2016 at 07:12:28PM -0500, Derald D. Woods wrote: >> >>> On 04/28/2016 06:34 PM, Tom Rini wrote: >>> On Thu, Apr 28, 2016 at 05:55:17PM -0500,

Re: [U-Boot] net: zynq_gem: Add the passing of the phy-handle node

2016-05-03 Thread Joe Hershberger
Hi Dan, https://patchwork.ozlabs.org/patch/617696/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] defconfig: dra74_evm: enable eth driver model

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616109/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: dp83867: Add device tree bindings and documentation

2016-05-03 Thread Joe Hershberger
Hi Dan, https://patchwork.ozlabs.org/patch/617691/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: ti: Allow the driver to be more configurable

2016-05-03 Thread Joe Hershberger
Hi Dan, https://patchwork.ozlabs.org/patch/617692/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] defconfig: am437x_sk_evm: enable eth driver model

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616108/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] defconfig: am437x_gp_evm: enable eth driver model

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616107/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] drivers: net: cpsw: Add reading of DT phy-handle node

2016-05-03 Thread Joe Hershberger
Hi Dan, https://patchwork.ozlabs.org/patch/617693/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: fix vlan validation

2016-05-03 Thread Joe Hershberger
Hi Stefan, https://patchwork.ozlabs.org/patch/610319/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] drivers: core: device: add support to check dt compatible for a device/machine

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616098/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] ti_omap5_common: eth: do not define DM_ETH for spl

2016-05-03 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/616099/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2016-05-03 Thread Joe Hershberger
Hi Tom, I left out my semantic patch changes for now since spatch does not generate well-formatted multi-line function definitions. I'm looking into improving the tool, but ocaml is not a language that I'm familiar with. The following changes since commit

Re: [U-Boot] net: phy: Add phy_interface_is_sgmii to phy.h

2016-05-03 Thread Joe Hershberger
Hi Dan, https://patchwork.ozlabs.org/patch/617695/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: dp83867: Add SGMII helper for configuration

2016-05-03 Thread Joe Hershberger
Hi Dan, https://patchwork.ozlabs.org/patch/617699/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: phy: Move is_rgmii helper to phy.h

2016-05-03 Thread Joe Hershberger
Hi Dan, https://patchwork.ozlabs.org/patch/617694/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] test/py: Add support for extending timeout for large files

2016-05-03 Thread Michal Simek
On 2.5.2016 18:27, Stephen Warren wrote: > On 05/02/2016 06:29 AM, Michal Simek wrote: >> Slow network or big image filesize is not able to be finished >> in 30s. Add option to user to extend timeout(in miliseconds). >> >> env__net_tftp_readable_file = { >> "fn":

[U-Boot] [PATCH 17/18] fdt: Correct return value in fdtdec_decode_display_timing()

2016-05-03 Thread Simon Glass
This should return a non-zero value if there is a missing property. Update the return value accordingly. The only expected error is -FDT_ERR_NOTFOUND. Signed-off-by: Simon Glass --- lib/fdtdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fdtdec.c

Re: [U-Boot] chainloading u-boot on an acer cb5 chromebook (nyan_big)

2016-05-03 Thread Sjoerd Simons
On Mon, 2016-05-02 at 12:22 -0700, Thomas Hoff wrote: > Thanks Simon! > > Hey Sjoerd, > > Were you able to chainboot u-boot for your acer cb5? Yes, that's what the Nyan big in kernelci does constantly :). The trick is using the description from the mail Simon linked to, but making sure the

[U-Boot] [PATCH 15/18] at91: video: Prepare for driver-model conversion

2016-05-03 Thread Simon Glass
Adjust the driver to use struct display_timing for its display timing. This is what is used by driver-model and allows the LCD init code to be common. Signed-off-by: Simon Glass --- drivers/video/atmel_lcdfb.c | 106 +--- 1 file

[U-Boot] [PATCH 08/18] arm: at91: dts: Bring in device tree file for AT91SAM9G45

2016-05-03 Thread Simon Glass
Add this file from Linux v4.5. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile |1 + arch/arm/dts/at91sam9g45.dtsi | 1335 include/dt-bindings/clock/at91.h | 23 + include/dt-bindings/dma/at91.h | 52

[U-Boot] [PATCH 06/18] net: macb: Flush correct cache portion when sending

2016-05-03 Thread Simon Glass
The end address of the cache flush must be cache-line-aligned since otherwise (at least on ARM926-EJS) the request is ignored. When the cache is enabled this means that packets are not sent. Signed-off-by: Simon Glass --- drivers/net/macb.c | 2 +- 1 file changed, 1

[U-Boot] [PATCH 07/18] net: macb: Convert to driver model

2016-05-03 Thread Simon Glass
Add driver-model support to this driver. The old code remains for now so that we can convert boards one at a time. Signed-off-by: Simon Glass --- drivers/net/macb.c | 119 + 1 file changed, 119 insertions(+) diff --git

[U-Boot] [PATCH 05/18] net: macb: Prepare for driver-model conversion

2016-05-03 Thread Simon Glass
Adjust this driver to avoid using struct netdev in functions that driver model will call. Also refactor the receive function to be compatible with driver model. Signed-off-by: Simon Glass --- drivers/net/macb.c | 199 + 1

[U-Boot] [PATCH 10/18] at91: Correct NAND ECC register access

2016-05-03 Thread Simon Glass
This uses the wrote base register value. Fix it. Signed-off-by: Simon Glass --- drivers/mtd/nand/atmel_nand.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 7cc1de0..4e278fa 100644

[U-Boot] [PATCH 02/18] arm: Allow skipping of low-level init with I-cache on

2016-05-03 Thread Simon Glass
At present CONFIG_SKIP_LOWLEVEL_INIT prevents U-Boot from calling lowlevel_init(). This means that the instruction cache is not enabled and the board runs very slowly. What is really needed in many cases is to skip the call to lowlevel_init() but still perform CP15 init. Add an option to handle

[U-Boot] [PATCH 11/18] at91: nand: Set up the ECC strength correctly

2016-05-03 Thread Simon Glass
This needs to be set to avoid a fatal error when ECC is used. Signed-off-by: Simon Glass --- drivers/mtd/nand/atmel_nand.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 4e278fa..8fac824 100644 ---

[U-Boot] [PATCH] igep00x0: Use the SRAM available for SPL.

2016-05-03 Thread Enric Balletbo i Serra
From: Enric Balletbo i Serra Move CONFIG_SPL_TEXT_BASE down to 0x4020 and set CONFIG_SPL_MAX_SIZE to (SRAM_SCRATCH_SPACE_ADDR - CONFIG_SPL_TEXT_BASE), so that it's clear what the limit is. This will also help some compilers to fit all the code into the

[U-Boot] [PATCH 13/18] at91: Add driver-model GPIO devices for AT91SAM9G45

2016-05-03 Thread Simon Glass
Add these definitions so that GPIOs can be used with driver model. Signed-off-by: Simon Glass --- arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c | 18 ++ 1 file changed, 18 insertions(+) diff --git

[U-Boot] [PATCH 16/18] at91: video: Support driver-model for the LCD driver

2016-05-03 Thread Simon Glass
Add driver-model support to this driver. Most features can be controlled from the device tree. Signed-off-by: Simon Glass --- drivers/video/atmel_lcdfb.c | 91 + include/atmel_lcd.h | 9 + 2 files changed, 100

[U-Boot] [PATCH 12/18] mtd: nand: Drop a blank line in nand_wait()

2016-05-03 Thread Simon Glass
This empty line should not be there. Remove it. Signed-off-by: Simon Glass --- drivers/mtd/nand/nand_base.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c index 9e8fc1f..bcd4d70 100644 ---

[U-Boot] [PATCH 14/18] at91: mtd: nand: Add dev_warn() to correct build error in driver

2016-05-03 Thread Simon Glass
The code does not compile if ECC is enabled. Signed-off-by: Simon Glass --- drivers/mtd/nand/atmel_nand.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 8fac824..15958cb 100644 ---

[U-Boot] [PATCH 09/18] arm: at91: Add a header file for the real-time clock

2016-05-03 Thread Simon Glass
Add register definitions for the AT91 RTC so that this can potentially be used in U-Boot. Signed-off-by: Simon Glass --- arch/arm/mach-at91/include/mach/at91_rtc.h | 71 ++ 1 file changed, 71 insertions(+) create mode 100644

[U-Boot] [PATCH 01/18] at91: Add support for the AT91 slow clock controller

2016-05-03 Thread Simon Glass
This is available on AT91SAM9G45. Add the peripheral address and flag definitions. Signed-off-by: Simon Glass --- arch/arm/mach-at91/include/mach/at91_sck.h| 21 + arch/arm/mach-at91/include/mach/at91sam9g45.h | 1 + 2 files changed, 22 insertions(+)

[U-Boot] [PATCH 03/18] bootm: Align cache flush end address correctly

2016-05-03 Thread Simon Glass
Flushing part of the cache should be done on cache boundaries. Trying to flush part of a cache line is not supported and the request may be ignored or print warnings. Adjust the bootm code to align the end address to prevent this problem. Signed-off-by: Simon Glass ---

[U-Boot] [PATCH 04/18] net: Handle an empty bootp extension section

2016-05-03 Thread Simon Glass
Avoid generating this section if there is nothing in it. Signed-off-by: Simon Glass --- net/bootp.c | 9 + 1 file changed, 9 insertions(+) diff --git a/net/bootp.c b/net/bootp.c index d7852db..71f09bd 100644 --- a/net/bootp.c +++ b/net/bootp.c @@ -655,6 +655,15 @@

Re: [U-Boot] [PATCH] efi_loader: Add network access support

2016-05-03 Thread Alexander Graf
> Am 03.05.2016 um 01:11 schrieb Peter Robinson : > >> On Mon, May 2, 2016 at 10:43 PM, Alexander Graf wrote: >> We can now successfully boot EFI applications from disk, but users >> may want to also run them from a PXE setup. >> >> This patch implements

Re: [U-Boot] ARM: atmel: Enable FIT image support for SAMA5Dx

2016-05-03 Thread Andreas Bießmann
On Mon, Apr 18, 2016 at 06:30:41PM +0200, Marek Vasut wrote: > Enable the fitImage support for the entire SAMA5Dx lineup of CPUs. > The fitImage is superior image format to uImage and it is useful > to have it available. > > Signed-off-by: Marek Vasut > Cc: Andreas Bießmann

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

2016-05-03 Thread Andreas Bießmann
Dear Wenyou, On 2016-04-07 04:16, Wenyou Yang wrote: Bring in required device tree files from Linux. Signed-off-by: Wenyou Yang There is a small typo below ... --- arch/arm/dts/sama5d2-pinfunc.h | 880 +

Re: [U-Boot] [PATCH 09/18] arm: at91: Add a header file for the real-time clock

2016-05-03 Thread Heiko Schocher
Hello Simon, Am 03.05.2016 um 08:40 schrieb Simon Glass: Add register definitions for the AT91 RTC so that this can potentially be used in U-Boot. Signed-off-by: Simon Glass --- arch/arm/mach-at91/include/mach/at91_rtc.h | 71 ++ 1 file

Re: [U-Boot] [U-Boot, 3/3] board: sama5d2_xplained: change SDHCI GCK's clock source to UPLL

2016-05-03 Thread Andreas Bießmann
On Mon, Apr 11, 2016 at 04:41:33PM +0800, Wenyou Yang wrote: > Change the clock source of the SDHCI's generated clock from PLLA to > UPLL clock to align to Linux driver. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > >

Re: [U-Boot] ARM: sama5d2: Implement boot device autodetection

2016-05-03 Thread Andreas Bießmann
On Fri, Apr 22, 2016 at 09:56:21PM +0200, Marek Vasut wrote: > Implement support for saving ARM register R4 early during boot using > save_boot_params . Implement support for decoding the stored register > R4 value in spl_boot_device() to obtain boot device from which the > SoC booted. This way,

Re: [U-Boot] [U-Boot, 1/3] ARM: at91: clock: fix the GCK's clock source

2016-05-03 Thread Andreas Bießmann
On Mon, Apr 11, 2016 at 04:41:31PM +0800, Wenyou Yang wrote: > Before enabling a generated clock whose source is from the UPLL > clock, check and enable the UPLL clock. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > >

Re: [U-Boot] [U-Boot, 2/3] ARM: at91: clock: complete the GCK's clock sources

2016-05-03 Thread Andreas Bießmann
On Mon, Apr 11, 2016 at 04:41:32PM +0800, Wenyou Yang wrote: > Add the UPLL clock and master clock as a clock source for getting > the generated clock frequency to complete its clock sources support. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann

[U-Boot] [PATCH v4 2/3] spl: Allow to load a FIT containing U-Boot from FS

2016-05-03 Thread Lokesh Vutla
This provides a way to load a FIT containing U-Boot and a selection of device tree files from a File system. Making sure that all the reads and writes are aligned to their respective needs. Signed-off-by: Lokesh Vutla --- - Assuming info->priv is used for passing filename for

Re: [U-Boot] [RFC PATCH] SPL: FIT: Enable SPL_FIT_LOAD for sd bootmode for fat partions

2016-05-03 Thread Lokesh Vutla
On Monday 02 May 2016 01:27 PM, Michal Simek wrote: > On 2.5.2016 06:06, Lokesh Vutla wrote: >> Hi Michal, >> >> On Thursday 28 April 2016 03:01 PM, Michal Simek wrote: >>> Support U-Boot SPL to load FIT image from fat partition. >>> Fit image can be setup via CONFIG_SPL_FS_LOAD_KERNEL_NAME. >>>

Re: [U-Boot] Porting Linux's MTD/NAND changes into U-Boot

2016-05-03 Thread Boris Brezillon
Hi Scott, On Tue, 03 May 2016 00:06:45 -0500 Scott Wood wrote: > On Mon, 2016-04-25 at 22:53 +0200, Boris Brezillon wrote: > > On Mon, 25 Apr 2016 13:36:46 -0400 > > Tom Rini wrote: > > > > > On Mon, Apr 25, 2016 at 04:43:14PM +0200, Boris Brezillon

Re: [U-Boot] [PATCH 06/18] net: macb: Flush correct cache portion when sending

2016-05-03 Thread Heiko Schocher
Hello Simon, Am 03.05.2016 um 08:40 schrieb Simon Glass: The end address of the cache flush must be cache-line-aligned since otherwise (at least on ARM926-EJS) the request is ignored. When the cache is enabled this means that packets are not sent. Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH 01/18] at91: Add support for the AT91 slow clock controller

2016-05-03 Thread Heiko Schocher
Hello Simon, Am 03.05.2016 um 08:39 schrieb Simon Glass: This is available on AT91SAM9G45. Add the peripheral address and flag definitions. Signed-off-by: Simon Glass --- arch/arm/mach-at91/include/mach/at91_sck.h| 21 +

Re: [U-Boot] [U-Boot, 1/2] ARM: at91: sama5d2: add macro & field definitions

2016-05-03 Thread Andreas Bießmann
On Fri, Feb 26, 2016 at 05:20:25PM +0800, Wenyou Yang wrote: > They will be used on SAMA5D2 PTC board. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > arch/arm/mach-at91/include/mach/sama5_sfr.h | 24

Re: [U-Boot] board: atmel: sama5d2_xplained: fix the missing pin config of SDMMC0

2016-05-03 Thread Andreas Bießmann
On Mon, Apr 11, 2016 at 02:07:17PM +0800, Wenyou Yang wrote: > Fix the missing pin config of the SDMMC0 interface. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > board/atmel/sama5d2_xplained/sama5d2_xplained.c | 1 + > 1

[U-Boot] [PATCH v4 0/3] spl: Add support to load FIT from Filesystem

2016-05-03 Thread Lokesh Vutla
Some devices like MMC, USB can be formatted to a FS and can act as a boot media. Given that FIT image load support in SPL support only raw devices, SPL should also be able to support loading FIT image from a File system. This series add support to load FIT image from a filesystem and also adding

[U-Boot] [PATCH v4 1/3] spl: fit: Fix the number of bytes read when reading fdt from fit

2016-05-03 Thread Lokesh Vutla
sectors field is not being updated when reading fdt from fit image. Because of this size_of(u-boot.bin) is being read when reading fdt. Fixing it by updating the sectors field properly. Signed-off-by: Lokesh Vutla --- common/spl/spl_fit.c | 1 + 1 file changed, 1

[U-Boot] [PATCH v4 3/3] spl: Support loading a FIT from FAT FS

2016-05-03 Thread Lokesh Vutla
Detect a FIT when loading from a FAT File system and handle it using the new FIT SPL support. Signed-off-by: Lokesh Vutla --- common/spl/spl_fat.c | 31 +-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/common/spl/spl_fat.c

[U-Boot] speaking of fixing spelling mistakes and stuff like that ...

2016-05-03 Thread Robert P. J. Day
as i dig through the u-boot code, i frequently run across spelling mistakes and other apparently non-functional issues, but i don't want to pollute the list with patch after patch of trivial fixups, so i started a local git branch called "typos" to which i add these things and, eventually, i'll

Re: [U-Boot] [PATCH 03/18] bootm: Align cache flush end address correctly

2016-05-03 Thread Heiko Schocher
Hello Simon, Am 03.05.2016 um 08:39 schrieb Simon Glass: Flushing part of the cache should be done on cache boundaries. Trying to flush part of a cache line is not supported and the request may be ignored or print warnings. Adjust the bootm code to align the end address to prevent this

Re: [U-Boot] [PATCH 05/18] net: macb: Prepare for driver-model conversion

2016-05-03 Thread Heiko Schocher
Hello Simon, Am 03.05.2016 um 08:39 schrieb Simon Glass: Adjust this driver to avoid using struct netdev in functions that driver model will call. Also refactor the receive function to be compatible with driver model. Signed-off-by: Simon Glass --- drivers/net/macb.c |

Re: [U-Boot] [PATCH 08/18] arm: at91: dts: Bring in device tree file for AT91SAM9G45

2016-05-03 Thread Heiko Schocher
Hello Simon, Am 03.05.2016 um 08:40 schrieb Simon Glass: Add this file from Linux v4.5. Signed-off-by: Simon Glass --- arch/arm/dts/Makefile |1 + arch/arm/dts/at91sam9g45.dtsi | 1335

Re: [U-Boot] [U-Boot, 2/2] board: atmel: add SAMA5D2 PTC Engineering board

2016-05-03 Thread Andreas Bießmann
On Fri, Feb 26, 2016 at 05:20:26PM +0800, Wenyou Yang wrote: > The board supports following features: > - Boot media support: NAND Flash/SPI Flash > - Support ethernet > - Support USB mass storage > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann

Re: [U-Boot] [PATCH 02/18] arm: Allow skipping of low-level init with I-cache on

2016-05-03 Thread Heiko Schocher
Hello Simon, Am 03.05.2016 um 08:39 schrieb Simon Glass: At present CONFIG_SKIP_LOWLEVEL_INIT prevents U-Boot from calling lowlevel_init(). This means that the instruction cache is not enabled and the board runs very slowly. What is really needed in many cases is to skip the call to

Re: [U-Boot] [PATCH 13/18] at91: Add driver-model GPIO devices for AT91SAM9G45

2016-05-03 Thread Heiko Schocher
Hello Simon, Am 03.05.2016 um 08:40 schrieb Simon Glass: Add these definitions so that GPIOs can be used with driver model. Signed-off-by: Simon Glass --- arch/arm/mach-at91/arm926ejs/at91sam9m10g45_devices.c | 18 ++ 1 file changed, 18 insertions(+)

Re: [U-Boot] Pull request: u-boot-net.git master

2016-05-03 Thread Tom Rini
On Tue, May 03, 2016 at 03:01:10PM -0500, Joe Hershberger wrote: > Hi Tom, > > I left out my semantic patch changes for now since spatch does not generate > well-formatted multi-line function definitions. I'm looking into improving the > tool, but ocaml is not a language that I'm familiar with.

Re: [U-Boot] Pull request: u-boot-net.git master

2016-05-03 Thread Joe Hershberger
On Tue, May 3, 2016 at 4:34 PM, Tom Rini wrote: > On Tue, May 03, 2016 at 03:01:10PM -0500, Joe Hershberger wrote: > >> Hi Tom, >> >> I left out my semantic patch changes for now since spatch does not generate >> well-formatted multi-line function definitions. I'm looking into

[U-Boot] [PATCH 7/7] usb: hub: Increase the query delay

2016-05-03 Thread Marek Vasut
Increase the query delay, otherwise some sticks are not detected. The problem shows up on the USB bus analyzer such that the stick takes longer time to switch from FS mode to HS mode than the code allows. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh

[U-Boot] [PATCH 1/7] usb: Don't init pointer to zero, but NULL

2016-05-03 Thread Marek Vasut
The pointer should always be inited to NULL, not zero (0). These are two different things and not necessarily equal. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Hans de Goede Cc: Stefan

[U-Boot] [PATCH 6/7] usb: hub: Don't continue on get_port_status failure

2016-05-03 Thread Marek Vasut
The code shouldn't continue probing the port if get_port_status() failed. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Hans de Goede Cc: Stefan Roese Cc: Stephen Warren

[U-Boot] [PATCH 3/7] usb: dwc2: Throttle the setup packet resending

2016-05-03 Thread Marek Vasut
Abort the request in case any of the tokens in the packet failed to complete transfer 10 times. This is a precaution needed so that we don't end in endless loop when scanning the bus with some braindead devices. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc:

Re: [U-Boot] [PATCH 2/2] mkimage: Add a quiet mode

2016-05-03 Thread Joe Hershberger
Hi Simon, On Sun, May 1, 2016 at 2:55 PM, Simon Glass wrote: > Some build systems want to be quiet unless there is a problem. At present > mkimage displays quite a bit of information when generating a FIT file. Add > a '-q' flag to silence this. > > Signed-off-by: Simon Glass

[U-Boot] Pull request: u-boot-net.git master

2016-05-03 Thread Joe Hershberger
Hi Tom, Here are the bug fixes for this release. The following changes since commit e96e064f51139c4af39f14499564ef76e40bbc29: usb: dwc2: Init desc_before_addr (2016-05-03 19:21:18 +0200) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch

[U-Boot] [PATCH 2/7] usb: dwc2: Resend setup packet in all fail cases

2016-05-03 Thread Marek Vasut
The USB function can respond to a Setup packet with ACK or, in case it's busy, it can ignore the Setup packet. The USB function usually gets busy if we hammer it with Control EP transfers too much (ie. sending multiple Get Descriptor requests in a single microframe tends to trigger it on certain

[U-Boot] [PATCH 4/7] usb: Wait after sending Set Configuration request

2016-05-03 Thread Marek Vasut
Some devices, like the SanDisk Cruzer Pop need some time to process the Set Configuration request, so wait a little until they are ready. Signed-off-by: Marek Vasut Cc: Chin Liang See Cc: Dinh Nguyen Cc: Hans de Goede

[U-Boot] [PATCH 5/7] usb: Assure Get Descriptor request is in separate microframe

2016-05-03 Thread Marek Vasut
The Kingston DT Ultimate USB 3.0 stick is sensitive to this first Get Descriptor request and if the request is not in a separate microframe, the stick refuses to operate. Add slight delay, which is enough for one microframe to pass on any USB spec revision. Signed-off-by: Marek Vasut

Re: [U-Boot] [PATCH v3 01/12] drivers: core: device: add support to check dt compatible for a device/machine

2016-05-03 Thread Simon Glass
Hi Mugunthan, On 3 May 2016 at 09:36, Mugunthan V N wrote: > > On Monday 02 May 2016 12:24 AM, Simon Glass wrote: > > Hi Mugunthan, > > > > On 28 April 2016 at 04:06, Mugunthan V N wrote: > >> Provide an api to check whether the given device or machine

Re: [U-Boot] [PATCH 0/4] ath79: fix some minor defects

2016-05-03 Thread Marek Vasut
On 04/15/2016 01:19 PM, Daniel Schwierzeck wrote: > > > Am 12.04.2016 um 05:09 schrieb Wills Wang: >> >> These series of patch based on top of mips/next, it fix some defects on >> the previous patch series "add support for atheros ath79 based SOCs". >> >> >> Wills Wang (4): >> ath79: spi:

Re: [U-Boot] [PATCH] dfu: avoid memory leak

2016-05-03 Thread Tom Rini
On Tue, May 03, 2016 at 10:24:52AM +0800, Peng Fan wrote: > When dfu_fill_entity fail, need to free dfu to avoid memory leak. > > Reported by Coverity: > " > Resource leak (RESOURCE_LEAK) > leaked_storage: Variable dfu going out of scope leaks the storage > it points to. > " > > Signed-off-by:

Re: [U-Boot] [PATCH] usb: gadget: dfu: discard dead code

2016-05-03 Thread Tom Rini
On Tue, May 03, 2016 at 10:25:22AM +0800, Peng Fan wrote: > Reported by Coverity: > Logically dead code (DEADCODE) > dead_error_line: Execution cannot reach this statement: > (f_dfu->strings + --i).s = > > If calloc failed, i is still 0 and no need to call free, > so discard the dead code.

Re: [U-Boot] [PATCH] x86: qemu: Move qfw command over to cmd and add Kconfig entry

2016-05-03 Thread Tom Rini
On Tue, May 03, 2016 at 10:33:38AM +0800, Miao Yan wrote: > Hi Tom, > > 2016-04-30 9:39 GMT+08:00 Tom Rini : > > - Move the command portion of arch/x86/cpu/qemu/fw_cfg.c into > > cmd/qemu_fw_cfg.c > > - Move arch/x86/include/asm/fw_cfg.h to include/qemu_fw_cfg.h > > - Rename

Re: [U-Boot] [PULL] u-boot-usb/master

2016-05-03 Thread Tom Rini
On Tue, May 03, 2016 at 08:04:31PM +0200, Marek Vasut wrote: > Hi, > > this stuff is for 2016.05, it's a bunch of fixes. > > The following changes since commit e7fbcbc2566ab4bbcb07889a5791972ac49fa407: > > igep00x0: Use the SRAM available for SPL. (2016-05-03 12:17:13 -0400) > > are

Re: [U-Boot] ARM: sama5d2: Implement boot device autodetection

2016-05-03 Thread Marek Vasut
On 05/03/2016 10:52 AM, Andreas Bießmann wrote: > On Fri, Apr 22, 2016 at 09:56:21PM +0200, Marek Vasut wrote: >> Implement support for saving ARM register R4 early during boot using >> save_boot_params . Implement support for decoding the stored register >> R4 value in spl_boot_device() to obtain

Re: [U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2016-05-03 Thread Tom Rini
On Tue, May 03, 2016 at 01:35:07PM +0200, Andreas Bießmann wrote: > Hi Tom, > > here are some fixes for sama5d2 and a new sama5d2 board for 2016.05. > > The following changes since commit 58abb988ce24525474f0d515d2a36c1b3acf893f: > > mx6ul_evk: Remove CONFIG_SUPPORT_EMMC_BOOT (2016-05-02

  1   2   >