Re: [U-Boot] [PATCH] Kconfig: ifc: Moving IFC_BANK_COUNT from Kconfig to config.h

2016-10-21 Thread york sun
On 10/20/2016 11:37 PM, Prabhakar Kushwaha wrote: > Migration of IFC_BANK_COUNT from Kconfig to config.h avoids adding > SoC name in Kconfig as Dependencies. It will help in having > all SoC related defines in config.h - easy to maintain. > Prabhakar, Why do you want to go back to config.h? I

Re: [U-Boot] [Resend RFC PATCH 1/2] armv8: Fix dcache disable function

2016-10-21 Thread york sun
On 10/20/2016 01:34 PM, Stephen Warren wrote: > On 10/19/2016 11:06 PM, york sun wrote: >> On 10/19/2016 06:01 PM, Stephen Warren wrote: >>> On 10/19/2016 04:32 PM, york sun wrote: On 10/19/2016 12:18 PM, Stephen Warren wrote: > On 10/19/2016 09:25 AM, Stephen Warren wrote: >> On

Re: [U-Boot] [PATCH] armv8/ls1043a: Add the OCRAM initialization

2016-10-21 Thread york sun
On 10/16/2016 10:35 PM, Prabhakar Kushwaha wrote: > Hi Mingkai, > >> -Original Message- >> From: Pratiyush Srivastava [mailto:pratiyush.srivast...@nxp.com] >> Sent: Wednesday, October 12, 2016 5:46 PM >> To: u-boot@lists.denx.de >> Cc: york sun ; Prabhakar Kushwaha >>

Re: [U-Boot] [PATCH v3 2/3] armv8/fsl-layerscape: fdt: fixup GIC node for LS1043A rev1.0

2016-10-21 Thread york sun
On 10/21/2016 03:28 AM, Wenbin song wrote: > The LS1043A rev1.1 silicon supports two types of GIC offset: 4K alignment > and 64K alignment. 4K alignment is consistent with rev1.0 implement. > > The default GIC offset in kernel device tree is using 64K alignment, > if rev1.0 silicon used, need to

Re: [U-Boot] [PATCH 2/2] net: add driver for Synopsys Ethernet QoS device

2016-10-21 Thread Stephen Warren
On 10/11/2016 05:24 PM, Joe Hershberger wrote: Hi Stephen, On Tue, Sep 27, 2016 at 12:02 AM, Stephen Warren wrote: On 09/23/2016 03:49 PM, Joe Hershberger wrote: Hi Stephen, Thanks for sending this! I have some comments below. Cheers, -Joe On Mon, Sep 12, 2016 at

Re: [U-Boot] [PATCH v2 8/8] travis-ci: Add test.py for various qemu platforms

2016-10-21 Thread Stephen Warren
On 10/20/2016 01:40 PM, Tom Rini wrote: - Add a PPA for a more recent qemu (required for PowerPC to work) - Add tests to run test.py for various QEMU platforms. This relies on swarren's uboot-test-hooks repository to provide the abstractions. Overall, the series, Acked-by: Stephen Warren

Re: [U-Boot] [PATCH 2/2] net: add driver for Synopsys Ethernet QoS device

2016-10-21 Thread Stephen Warren
On 10/20/2016 01:30 PM, Joe Hershberger wrote: On Thu, Oct 20, 2016 at 2:19 PM, Stephen Warren wrote: On 10/20/2016 12:48 PM, Simon Glass wrote: Hi, On 19 October 2016 at 15:14, Stephen Warren wrote: On 10/19/2016 12:29 PM, Joe Hershberger

Re: [U-Boot] [PATCH] powerpc/t2080: DDR controller erratum A-009942

2016-10-21 Thread york sun
On 10/18/2016 07:48 PM, Hamish Martin wrote: > This erratum is already implemented for other ARM based QorIQ > platforms with the Gen4 DDR controller. Port the fix to the Gen3 > controller and enable it for T2080 and T2081. > > Reviewed-by: Chris Packham >

[U-Boot] [PATCH V3 1/2] dt: net: add DWC EQoS binding

2016-10-21 Thread Stephen Warren
From: Stephen Warren The Synopsys DWC EQoS is a configurable Ethernet MAC/DMA IP block which supports multiple options for bus type, clocking and reset structure, and feature list. This patch imports the binding from the Linux kernel, including my V3 patch to extend the

[U-Boot] [PATCH v2] net: phy: micrel: center FLP burst timing at 16ms

2016-10-21 Thread Ash Charles
Like [1], reset the FLP burst timing for the KSZ9031 to the 16ms specified by the IEEE802.3 standard from the chip's default of 8ms. For more details, see the "Auto-Negotiation Timing" section of the KSZ9031RNX datasheet. [1] https://patchwork.kernel.org/patch/6558371/ Signed-off-by: Ash

[U-Boot] [PATCH V3 2/2] net: add driver for Synopsys Ethernet QoS device

2016-10-21 Thread Stephen Warren
From: Stephen Warren This driver supports the Synopsys Designware Ethernet QoS (Quality of Service) a/k/a eqos IP block, which is a different design than the HW supported by the existing designware.c driver. The IP supports many options for bus type, clocking/reset structure,

[U-Boot] [PATCH] net: phy: micrel: center FLP burst timing at 16ms

2016-10-21 Thread Ash Charles
Like [1], reset the FLP burst timing for the KSZ9031 to the 16ms specified by the IEEE802.3 standard from the chip's default of 8ms. For more details, see the "Auto-Negotiation Timing" section of the KSZ9031RNX datasheet. [1] https://patchwork.kernel.org/patch/6558371/ Change-Id:

Re: [U-Boot] [PATCH] powerpc/t2080: CPU erratum A-007907

2016-10-21 Thread york sun
On 10/18/2016 09:28 PM, Darwin Dingel wrote: > Core hang occurs when using L1 stashes. Workaround is to disable L1 > stashes so software uses L2 cache for stashes instead. > This patch is missing the signed-off-by signature from the author. > Reviewed-by: Chris Packham

[U-Boot] kwbimage use after free

2016-10-21 Thread Jonathan Gray
I didn't see a dedicated list to send bug reports so sending it here: There is a use after free in kwbimage, found by building u-boot with the use after free detection enabled with OpenBSD's malloc. When building the clearfog target: MKIMAGE u-boot-spl.kwb Segmentation fault (core dumped)

Re: [U-Boot] [PATCH v2] libfdt: replace ARCH_FIXUP_FDT with ARCH_FIXUP_FDT_MEMORY

2016-10-21 Thread Alexey Brodkin
Hello Masahiro-san, On Fri, 2016-10-21 at 10:58 +0900, Masahiro Yamada wrote: > Hi Alexey, > > 2016-10-20 20:55 GMT+09:00 Alexey Brodkin : > > > > Hello Masahiro-san, > > > > On Thu, 2016-10-20 at 09:15 +0900, Masahiro Yamada wrote: > > > > > > Commit e2f88dfd2d96

Re: [U-Boot] [PATCH 2/8] travis-ci: Switch to Ubuntu 14.04 'Trusty Tahr'

2016-10-21 Thread Heiko Schocher
Hello Tom, Am 20.10.2016 um 21:26 schrieb Tom Rini: In order to make other various improvements, update to the latest environment travis-ci supports. Signed-off-by: Tom Rini --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) Reviewed-by: Heiko

Re: [U-Boot] Loading kernel from SD card slow on MinnowBoard Turbot since v2016.09

2016-10-21 Thread Bin Meng
+Simon, Stefan, On Fri, Oct 21, 2016 at 12:36 PM, Jaehoon Chung wrote: > Hi, > > On 10/21/2016 01:27 AM, Raschen Josef wrote: >> Hi, >> >> Reading a kernel image from an SD card via the fatload command on the >> MinnowBoard Turbot seems to be significantly slower since

Re: [U-Boot] [PATCH 0/8] dm: Update on serial driver progress

2016-10-21 Thread Marcel Ziswiler
Hi Simon On Thu, 2016-10-20 at 13:06 -0600, Simon Glass wrote: > Only three serial drivers remain to be converted. This series drops > two of those, since the boards appear to be unmaintained. > > With this, only blackfin remains. > > The blackfin driver probably needs to be converted as there

Re: [U-Boot] [RFC] Proposal on changing raw boot mode

2016-10-21 Thread Alexander Graf
On 20/10/2016 19:07, Sam Protsenko wrote: > Hi guys, > > I'd like to make two changes on how raw MMC address and size of U-Boot > are represented. But I think it's better to discuss it first, so we > are on the same page about it. > > Basically I want to review two config options here. > > 1.

Re: [U-Boot] [PATCH 2/2] sunxi: A64: enable USB support

2016-10-21 Thread Jagan Teki
On Fri, Oct 21, 2016 at 6:54 AM, Andre Przywara wrote: > From: Amit Singh Tomar > > Mostly by adding MACH_SUN50I to some existing #ifdefs enable support > for the the HCI0 USB host controller on the A64. > Fix up some minor 64-bit hiccups on the

Re: [U-Boot] [RFC] Proposal on changing raw boot mode

2016-10-21 Thread Tom Rini
On Thu, Oct 20, 2016 at 08:07:24PM +0300, Sam Protsenko wrote: > Hi guys, > > I'd like to make two changes on how raw MMC address and size of U-Boot > are represented. But I think it's better to discuss it first, so we > are on the same page about it. > > Basically I want to review two config

Re: [U-Boot] Loading kernel from SD card slow on MinnowBoard Turbot since v2016.09

2016-10-21 Thread Jaehoon Chung
Hi On 10/21/2016 08:52 PM, Raschen Josef wrote: > >> I think this is related with below commit... > >> commit 6dffdbc3a5911e768be21850a612bfb4871a23ef >> Author: Wenyou Yang >> Date: Sun Sep 18 09:01:22 2016 +0800 >> >>mmc: sdhci: Add the programmable clock mode

[U-Boot] [PATCH] ARM: mx6: add MMC2 boot device detection support in SPL

2016-10-21 Thread Marcin Niestroj
Check BOOT_CFG2[3:4] to determine which SD/MMC port is selected to boot from. If MMC2 is selected return BOOT_DEVICE_MMC2. In all other cases return BOOT_DEVICE_MMC1, as we do not have corresponding macro for MMC3 and MMC4. Signed-off-by: Marcin Niestroj ---

[U-Boot] [PATCH] mmc: sdhci: assign to clk_mul when host version is upper than SD3.0

2016-10-21 Thread Jaehoon Chung
To prevent the wrong value check the SD version. Signed-off-by: Jaehoon Chung --- drivers/mmc/sdhci.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 10ff57e..766e9ee 100644 ---

Re: [U-Boot] [PATCH] ls2080: Add USB boot to distro boot order

2016-10-21 Thread york sun
On 10/21/2016 06:43 AM, Alexander Graf wrote: > The LS2080 chips have USB available, so we can easily add USB boot > support to the distro boot order. > > Signed-off-by: Alexander Graf > --- > include/configs/ls2080ardb.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git

Re: [U-Boot] [PATCH v3 1/3] armv8/ls1043a: fixup GIC offset according to SVR and SCFG_GIC400_ALIGN[GIC_ADDR_BIT]

2016-10-21 Thread york sun
On 10/21/2016 03:28 AM, Wenbin song wrote: > The LS1043A rev1.1 silicon supports two types of GIC offset: 4K alignment > and 64K alignment. The bit SCFG_GIC400_ALIGN[GIC_ADDR_BIT] is used to choose > which offset will be used. > > If GIC_ADDR_BIT bit is set, 4K alignment is used, or else 64K

Re: [U-Boot] [PATCH 8/8] travis-ci: Add test.py for various qemu platforms

2016-10-21 Thread Heiko Schocher
Hello Tom, Am 20.10.2016 um 21:26 schrieb Tom Rini: - Add a PPA for a more recent qemu (required for PowerPC to work) - Add tests to run test.py for various QEMU platforms. This relies on swarren's uboot-test-hooks repository to provide the abstractions. Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-21 Thread Jagan Teki
On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara wrote: > The sun8i-emac driver works fine with the A64 Ethernet IP, but we are > missing an alias entry to trigger the driver instantiation by U-Boot. > Add the line to point U-Boot to the Ethernet DT node. > This enables

Re: [U-Boot] [PATCH 5/8] travis-ci: Update toolchain and buildman usage

2016-10-21 Thread Heiko Schocher
Hello Tom, Am 20.10.2016 um 21:26 schrieb Tom Rini: - Drop the 'cache' line, travis-ci says to not cache apt packages (and does not). - Get the Ubuntu provided toolchain for ARM and PowerPC. - Add more toolchain options that buildman can fetch. Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH 6/8] travis-ci: Add more architectures

2016-10-21 Thread Heiko Schocher
Hello Tom, Am 20.10.2016 um 21:26 schrieb Tom Rini: We can now build for microblaze, sh4 and xtensa. Signed-off-by: Tom Rini --- .travis.yml | 9 + 1 file changed, 9 insertions(+) Reviewed-by: Heiko Schocher bye, Heiko diff --git

Re: [U-Boot] Loading kernel from SD card slow on MinnowBoard Turbot since v2016.09

2016-10-21 Thread Jaehoon Chung
Hi, On 10/21/2016 03:32 PM, Bin Meng wrote: > +Simon, Stefan, > > On Fri, Oct 21, 2016 at 12:36 PM, Jaehoon Chung > wrote: >> Hi, >> >> On 10/21/2016 01:27 AM, Raschen Josef wrote: >>> Hi, >>> >>> Reading a kernel image from an SD card via the fatload command on the

Re: [U-Boot] [PATCH 0/8] dm: Update on serial driver progress

2016-10-21 Thread Marek Vasut
On 10/21/2016 08:52 AM, Marcel Ziswiler wrote: > Hi Simon > > On Thu, 2016-10-20 at 13:06 -0600, Simon Glass wrote: >> Only three serial drivers remain to be converted. This series drops >> two of those, since the boards appear to be unmaintained. >> >> With this, only blackfin remains. >> >> The

[U-Boot] [PATCH v3 2/3] armv8/fsl-layerscape: fdt: fixup GIC node for LS1043A rev1.0

2016-10-21 Thread Wenbin song
The LS1043A rev1.1 silicon supports two types of GIC offset: 4K alignment and 64K alignment. 4K alignment is consistent with rev1.0 implement. The default GIC offset in kernel device tree is using 64K alignment, if rev1.0 silicon used, need to fixup the GIC node to use 4K alignment.

Re: [U-Boot] [PATCH 3/8] travis-ci: Use a git URI for dtc.git

2016-10-21 Thread Heiko Schocher
Hello Tom, Am 20.10.2016 um 21:26 schrieb Tom Rini: Currently we fail to fetch the dtc.git tree due to an SSL issue within the travis-ci environment. The easiest fix here is to switch to a git URI. Signed-off-by: Tom Rini --- .travis.yml | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH 4/8] travis-ci: Do not make buildman warnings fatal

2016-10-21 Thread Heiko Schocher
Hello Tom, Am 20.10.2016 um 21:26 schrieb Tom Rini: We currently will always see a number of warnings due to device tree issues. These (and other warnings) should not make the build be marked as failure so catch exit status 129 specifically and return 0 in that case. Cc: Heiko Schocher

Re: [U-Boot] [PATCH 7/8] travis-ci: Drop 'TEST_CMD'

2016-10-21 Thread Heiko Schocher
Hello Tom, Am 20.10.2016 um 21:26 schrieb Tom Rini: We don't need to use TEST_CMD in order to run tests. We need a BUILDMAN and TOOLCHAIN variable to avoid having to duplicate logic or write some wrapper function. But this makes the tests harder as we add more complex examples.

[U-Boot] [PATCH v3 3/3] armv8/fsl-layerscape: fdt: fixup LS1043A rev1 MSI node

2016-10-21 Thread Wenbin song
The default MSI node in kernel tree is for LS1043A rev1.1 silicon, if rev1.0 silicon used, need to fixup the MSI node to match it. Signed-off-by: Wenbin Song Signed-off-by: Mingkai Hu --- Changes for v3: Replace CONFIG_LS1043A with

[U-Boot] [PATCH v3 1/3] armv8/ls1043a: fixup GIC offset according to SVR and SCFG_GIC400_ALIGN[GIC_ADDR_BIT]

2016-10-21 Thread Wenbin song
The LS1043A rev1.1 silicon supports two types of GIC offset: 4K alignment and 64K alignment. The bit SCFG_GIC400_ALIGN[GIC_ADDR_BIT] is used to choose which offset will be used. If GIC_ADDR_BIT bit is set, 4K alignment is used, or else 64K alignment is used. 64K alignment is the default setting.

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-21 Thread Andre Przywara
Hi, On 21/10/16 10:31, Jagan Teki wrote: > On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara > wrote: >> The sun8i-emac driver works fine with the A64 Ethernet IP, but we are >> missing an alias entry to trigger the driver instantiation by U-Boot. >> Add the line to point

Re: [U-Boot] [PATCH] arm: dts: Pine64: add Ethernet alias

2016-10-21 Thread Hans de Goede
Hi, On 21-10-16 12:06, Andre Przywara wrote: Hi, On 21/10/16 10:31, Jagan Teki wrote: On Fri, Oct 21, 2016 at 5:41 AM, Andre Przywara wrote: The sun8i-emac driver works fine with the A64 Ethernet IP, but we are missing an alias entry to trigger the driver

Re: [U-Boot] Loading kernel from SD card slow on MinnowBoard Turbot since v2016.09

2016-10-21 Thread Jaehoon Chung
Hi On 10/21/2016 04:40 PM, Jaehoon Chung wrote: > Hi, > > On 10/21/2016 03:32 PM, Bin Meng wrote: >> +Simon, Stefan, >> >> On Fri, Oct 21, 2016 at 12:36 PM, Jaehoon Chung >> wrote: >>> Hi, >>> >>> On 10/21/2016 01:27 AM, Raschen Josef wrote: Hi, Reading a

Re: [U-Boot] [PATCH 4/4] configs: am57xx: Enable fastboot

2016-10-21 Thread Tom Rini
On Thu, Oct 20, 2016 at 06:58:31PM +0300, Sam Protsenko wrote: > Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [PATCH 4/8] travis-ci: Do not make buildman warnings fatal

2016-10-21 Thread Tom Rini
On Fri, Oct 21, 2016 at 09:39:28AM +0200, Heiko Schocher wrote: > Hello Tom, > > Am 20.10.2016 um 21:26 schrieb Tom Rini: > >We currently will always see a number of warnings due to device tree > >issues. These (and other warnings) should not make the build be marked > >as failure so catch exit

Re: [U-Boot] [PATCH 2/4] ti_omap5_common: Respect USB controller number in fastboot

2016-10-21 Thread Tom Rini
On Thu, Oct 20, 2016 at 06:58:29PM +0300, Sam Protsenko wrote: > On "fastboot reboot-bootloader" we check "dofastboot" variable and do > "fastboot 0" command in U-Boot if it's 1. But there are boards which have > USB controller number other than 0, so it should be respected when > performing

Re: [U-Boot] [PATCH 3/4] configs: am57xx: Enable download gadget

2016-10-21 Thread Tom Rini
On Thu, Oct 20, 2016 at 06:58:30PM +0300, Sam Protsenko wrote: > Enable USB download gadget (needed for fastboot support) and all > dependencies. > > Signed-off-by: Sam Protsenko Reviewed-by: Tom Rini -- Tom signature.asc Description:

Re: [U-Boot] [PATCH 1/4] fastboot: Add CONFIG_FASTBOOT_USB_DEV option

2016-10-21 Thread Tom Rini
On Thu, Oct 20, 2016 at 06:58:28PM +0300, Sam Protsenko wrote: > Some boards (like AM57x EVM) has USB OTG controller other than 0. So in > order to use correct controller number in compiled environment we should > define CONFIG_FASTBOOT_USB_DEV option. > > For example, when doing "fastboot

[U-Boot] [PATCH] tools: mkimage: Check if file is regular file

2016-10-21 Thread Michal Simek
Current Makefile.spl passes -R parameter which is not empty and pointing to ./ folder. "./tools/mkimage -T zynqmpimage -R ./"" -d spl/u-boot-spl.bin spl/boot.bin" That's why mkimage is trying to parse ./ file and generate register init which is wrong. Check that passed filename is regular file. If

Re: [U-Boot] [RFC] Proposal on changing raw boot mode

2016-10-21 Thread Anatolij Gustschin
Hi, On Thu, 20 Oct 2016 20:07:24 +0300 Sam Protsenko semen.protse...@linaro.org wrote: ... > 1. CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS > > Simple grep shows us that noone actually uses this constant > (despite it's being defined for multiple boards). So I'm thinking to > remove it altogether.

[U-Boot] [PATCH] ls2080: Add USB boot to distro boot order

2016-10-21 Thread Alexander Graf
The LS2080 chips have USB available, so we can easily add USB boot support to the distro boot order. Signed-off-by: Alexander Graf --- include/configs/ls2080ardb.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ls2080ardb.h b/include/configs/ls2080ardb.h