Re: [U-Boot] [PATCH v5 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-22 Thread Stefan Roese
On 22.08.2014 21:40, Fabio Estevam wrote: From: Fabio Estevam mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. Other SoCs work with the standard 32 bytes alignment. Adjust it accordingly by using 64 bytes aligment in the FEC RX DMA buffers, which addresses the needs from

Re: [U-Boot] Treat warnings different from errors in buildman?

2014-08-22 Thread Simon Glass
Hi Tom, On 21 August 2014 10:53, Tom Rini wrote: > Hey, > > So as I migrate scripts over to buildman, one issue I have is that > today warning and errors are treated the same: Actually buildman can't tell the difference at present. Both errors and warnings end up in stderr. Buildman assumes that

Re: [U-Boot] [PATCH v7 5/5] RFC: Deprecate MAKEALL

2014-08-22 Thread Simon Glass
Hi York, On 15 August 2014 10:34, York Sun wrote: > On 08/15/2014 09:20 AM, Stephen Warren wrote: >> On 08/15/2014 10:13 AM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On 15 August 2014 09:46, Stephen Warren wrote: On 08/14/2014 05:35 PM, Simon Glass wrote: > > Since buildman n

Re: [U-Boot] [PATCH 01/23] fdt: Add functions to query a node's #address- and #size-cells

2014-08-22 Thread Simon Glass
Hi Thierry, On 19 August 2014 07:06, Thierry Reding wrote: > On Tue, Aug 19, 2014 at 06:52:22AM -0600, Simon Glass wrote: >> Hi Theirry, >> >> >> On 19 August 2014 04:59, Thierry Reding wrote: >> >> > On Mon, Aug 18, 2014 at 11:52:36AM -0600, Simon Glass wrote: >> > > Hi Thierry, >> > > >> > > O

Re: [U-Boot] buildman with --exclude option

2014-08-22 Thread Simon Glass
Hi York, On 22 August 2014 11:09, York Sun wrote: > Simon, > > Occasionally I have issue with automatically testing script that some boards > are > broken with known reasons (such as size too large). I would like to have > --exclude option so my auto test can skip those boards. Do you think you

Re: [U-Boot] [PATCH v2] buildman: refactor help message

2014-08-22 Thread Simon Glass
On 22 August 2014 04:12, Masahiro Yamada wrote: > "buildman [options]" is displayed by default. > > Append the rest of help messages to parser.usage > instead of replacing it. > > Besides, "-b " is not mandatory since commit fea5858e. > Drop it from the usage. Yes. > > Signed-off-by: Masahiro Ya

Re: [U-Boot] [PATCH] buildman: refactor help message

2014-08-22 Thread Simon Glass
Hi Masahiro, On 20 August 2014 23:28, Masahiro Yamada wrote: > "buildman [options]" is displayed by default. > > Append the rest of help messages to parser.usage > instead of replacing it. > > Signed-off-by: Masahiro Yamada > --- > > tools/buildman/buildman.py | 2 +- > 1 file changed, 1 insert

Re: [U-Boot] [PATCH] patman: refactor help message

2014-08-22 Thread Simon Glass
On 20 August 2014 23:28, Masahiro Yamada wrote: > "patman [options]" is displayed by default. > > Append the rest of help messages to parser.usage > instead of replacing it. > > Signed-off-by: Masahiro Yamada Acked-by: Simon Glass Tested-by: Simon Glass

Re: [U-Boot] [PATCH 6/7] tools/genboardscfg.py: check if the boards.cfg is up to date

2014-08-22 Thread Simon Glass
Hi Masahiro, On 20 August 2014 22:02, Masahiro Yamada wrote: > Hi Simon, > > > > On Wed, 20 Aug 2014 13:13:13 -0600 > Simon Glass wrote: >> > +def output_is_new(): >> > +"""Check if the boards.cfg file is up to date. >> > + >> > +Returns: >> > + True if the boards.cfg file exists an

Re: [U-Boot] [PATCH 5/7] tools/genboardscfg.py: fix minor problems on termination

2014-08-22 Thread Simon Glass
Hi Masahiro, On 20 August 2014 22:00, Masahiro Yamada wrote: > Hi Simon, > > > > On Wed, 20 Aug 2014 13:10:52 -0600 > Simon Glass wrote: > >> I try to put an _ before private members to indicate that they should >> not be used outside the class. But It is not particularly important - >> just tho

Re: [U-Boot] Patman bug report: Commit-notes not working

2014-08-22 Thread Simon Glass
Hi Masahiro, On 20 August 2014 19:19, Masahiro Yamada wrote: > Hi Simon, > > > > I found 'Commit-notes:' is not working correctly. > It seems a bit fatal. Could you fix it asap, please? Please check that you have this patch: http://patchwork.ozlabs.org/patch/380068/ Regards, Simon ___

Re: [U-Boot] [PATCH] git-mailrc: add patman and buildman alias

2014-08-22 Thread Simon Glass
On 20 August 2014 23:35, Masahiro Yamada wrote: > It's easier to Cc Simon on patches related to Patman or Buildman. > > Signed-off-by: Masahiro Yamada > Cc: Simon Glass Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.d

Re: [U-Boot] [PATCH 2/2] buildman: run genboardscfg.py all the time

2014-08-22 Thread Simon Glass
On 21 August 2014 23:33, Masahiro Yamada wrote: > This commit makes sure boards.cfg is up to date before starting > the build tests. tools/genboardscfg.py exits immediately printing > "boards.cfg is up to date. Nothing to do." when boards.cfg is > already new. > > Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-22 Thread Simon Glass
Hi Thierry, On 22 August 2014 16:03, Thierry Reding wrote: > On Fri, Aug 22, 2014 at 02:12:19PM -0600, Simon Glass wrote: >> On 22 August 2014 13:40, Thierry Reding wrote: > [...] >> > I've opted instead to provide an somewhat higher-level API that users >> > can call to set voltages on the regu

Re: [U-Boot] [RFC PATCH] tools/buildman: Add env-flags section support

2014-08-22 Thread Simon Glass
Hi Tom, On 22 August 2014 07:27, Tom Rini wrote: > In some cases (such as building little endian MIPS with the ELDK > toolchain) you need to set a variable in the environment in order for > the build to complete. Add env-flags, similar to make-flags, to allow > for this. > > Signed-off-by: Tom R

Re: [U-Boot] buildman: make-flags variables broken?

2014-08-22 Thread Simon Glass
Hi Tom, On 22 August 2014 13:40, Simon Glass wrote: > Hi Tom, > > On 22 August 2014 06:08, Tom Rini wrote: >> >> Hey, >> >> In adding an env-flags section for buildman and trying to test out my >> docs, I think I found that the following doesn't work today: >> [make-flags] >> mipsel-boards=1=2 2

Re: [U-Boot] [URGENT] Fatal Bug of Patman

2014-08-22 Thread Simon Glass
Hi Masahiro, On 22 August 2014 03:44, Masahiro Yamada wrote: > Hi Simon, > > The problem seems more fatal than I expected at first. > > > Series-changes tag is not working either. Do you have this patch? http://patchwork.ozlabs.org/patch/380068/ Regards, Simon _

Re: [U-Boot] A minor issue of Patman

2014-08-22 Thread Simon Glass
Hi Masahiro, On 20 August 2014 22:33, Masahiro Yamada wrote: > Hi Simon, > > > I noticed a minor issue of Patman by chance. > > > For example, git log is as follows: > > commit da5ee79915c54bf9ac5b1a82a7241a88ff214e4e > Author: Masahiro Yamada > Date: Thu Aug 21 13:14:31 2014 +0900 > > foo

[U-Boot] [PATCH] nios2: remove EPCS driver

2014-08-22 Thread Thomas Chou
The Altera EPCS is SPI flash. We have been using SPI flash driver to access EPCS for years. The old EPCS driver could be removed. Signed-off-by: Thomas Chou --- arch/nios2/cpu/Makefile |2 +- arch/nios2/cpu/epcs.c | 717 --- include/nios2-epcs.h

Re: [U-Boot] [PATCH v3 1/2] image: fix bootm failure for FIT image

2014-08-22 Thread Simon Glass
Hi Tom, On Aug 22, 2014 3:54 PM, "Tom Rini" wrote: > > On Fri, Aug 22, 2014 at 05:38:59PM -0400, Tom Rini wrote: > > On Fri, Aug 22, 2014 at 02:17:53PM -0600, Simon Glass wrote: > > > Hi Bryan, > > > > > > On 15 August 2014 17:51, Bryan Wu wrote: > > > > > > > > Commit b3dd64f5d537 "bootm: use g

Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-22 Thread Thierry Reding
On Fri, Aug 22, 2014 at 02:12:19PM -0600, Simon Glass wrote: > On 22 August 2014 13:40, Thierry Reding wrote: [...] > > I've opted instead to provide an somewhat higher-level API that users > > can call to set voltages on the regulators and enable them. > > But then this should use/extend the pmi

Re: [U-Boot] [PATCH v3 1/2] image: fix bootm failure for FIT image

2014-08-22 Thread Tom Rini
On Fri, Aug 22, 2014 at 05:38:59PM -0400, Tom Rini wrote: > On Fri, Aug 22, 2014 at 02:17:53PM -0600, Simon Glass wrote: > > Hi Bryan, > > > > On 15 August 2014 17:51, Bryan Wu wrote: > > > > > > Commit b3dd64f5d537 "bootm: use genimg_get_kernel_addr()" introduced > > > a bug for booting FIT imag

Re: [U-Boot] [PATCH v3 1/2] image: fix bootm failure for FIT image

2014-08-22 Thread Tom Rini
On Fri, Aug 22, 2014 at 02:17:53PM -0600, Simon Glass wrote: > Hi Bryan, > > On 15 August 2014 17:51, Bryan Wu wrote: > > > > Commit b3dd64f5d537 "bootm: use genimg_get_kernel_addr()" introduced > > a bug for booting FIT image. It's because calling fit_parse_config() > > twice will give us wrong

Re: [U-Boot] [PATCH 1/2] dfu: Provide means to find difference between dfu-util -e and -R

2014-08-22 Thread Lukasz Majewski
On Fri, 22 Aug 2014 12:06:03 -0600 Stephen Warren wrote: > > On 08/22/2014 08:08 AM, Lukasz Majewski wrote: > > This commit provides distinction between DFU device detach and > > reset. The -R behavior is preserved with proper handling of the > > dfu-util's -e switch, which detach the DFU device

[U-Boot] [PATCH 1/2] Fix test failure caused by bad handling of ramdisk

2014-08-22 Thread Simon Glass
Commit e3a5bbce broke the FIT image tests by not loading a ramdisk even if a load address is provided in the FIT. The rationale was that a load address of 0 should be considered to mean 'do not load'. Add a new load operation which supports this feature, so that the ramdisk will be loaded if a non

[U-Boot] [PATCH] ARM: tegra: add PCIe-related pins to the Jetson TK1 pinmux tables

2014-08-22 Thread Stephen Warren
From: Stephen Warren This pinmux tables currently omit any configuration for PCIe clk_req, wake, and rst pins, which in turn causes intermittent failures in U-Boot's PCIe support. Import an updated version of the pinmux tables which rectifies this. Signed-off-by: Stephen Warren --- board/nvidi

Re: [U-Boot] [PATCH v4] net: fec_mxc: Poll FEC_TBD_READY after polling TDAR

2014-08-22 Thread Fabio Estevam
Hi Marek, On Fri, Aug 22, 2014 at 7:26 AM, Marek Vasut wrote: > Thanks for clarification. Fabio, can you please document this with a big > comment > in the code ? Yes, I can do that in v6. Does the below version look good? >From 782be534aa37ba3da2f8d0ed607b26b2dd71c7d7 Mon Sep 17 00:00:00 200

Re: [U-Boot] [PATCH v4] net: fec_mxc: Poll FEC_TBD_READY after polling TDAR

2014-08-22 Thread Marek Vasut
On Friday, August 22, 2014 at 05:02:37 AM, Li Ye-B37916 wrote: > Hi Marek, > > On 8/22/2014 1:18 AM, Marek Vasut wrote: > > On Thursday, August 21, 2014 at 07:10:32 PM, Fabio Estevam wrote: > >> When testing the FEC driver on a mx6solox we noticed that the TDAR bit > >> gets always cleared prior t

Re: [U-Boot] [PATCH 2/2] bootm: make sure pass NULL when argc < 1

2014-08-22 Thread Simon Glass
On 15 August 2014 17:51, Bryan Wu wrote: > arg[0] might not be NULL even if argc < 1, so fix this as before. > > Signed-off-by: Bryan Wu Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 1/3] image: fix bootm failure for FIT image

2014-08-22 Thread Simon Glass
On 15 August 2014 14:55, Bryan Wu wrote: > Commit b3dd64f5d537 "bootm: use genimg_get_kernel_addr()" introduced > a bug for booting FIT image. It's because calling fit_parse_config() > twice will give us wrong value in img_addr. > > Add a new version for CONFIG_FIT of genimg_get_kernel_addr() and

Re: [U-Boot] [PATCH v3] kconfig: convert Kconfig helper script into a shell script

2014-08-22 Thread Simon Glass
On 20 August 2014 20:44, Masahiro Yamada wrote: > Commit 51148790 added scripts/multiconfig.py written in Python 2 > to adjust Kconfig for U-Boot. > > It has been hard for Python 3 users because Python 2 and Python 3 > are not compatible with each other. > > We are not happy about adding a new hos

Re: [U-Boot] [PATCH v8 0/6] Add some missing buildman features and deprecate MAKEALL

2014-08-22 Thread Simon Glass
Hi York, On 20 August 2014 11:59, York Sun wrote: > On 08/14/2014 08:59 PM, Simon Glass wrote: >> Buildman has been around for a little over a year and is used by a fair >> number of U-Boot developers. However quite a few people still use MAKEALL. >> >> Buildman was intended to replace MAKEALL, s

[U-Boot] [PATCH 2/2] Correct sandbox filesystem commands in FIT image test

2014-08-22 Thread Simon Glass
The host filesystem name has changed, so update the tests. The tests now run again correctly: $ make O=b/sandbox sandbox_defconfig all ... $ test/image/test-fit.py -u b/sandbox/u-boot FIT Tests = Kernel load Kernel + FDT load Kernel + FDT + Ramdisk load Tests passed Caveat: this is only a

Re: [U-Boot] [PATCH v3 1/2] image: fix bootm failure for FIT image

2014-08-22 Thread Simon Glass
Hi Bryan, On 15 August 2014 17:51, Bryan Wu wrote: > > Commit b3dd64f5d537 "bootm: use genimg_get_kernel_addr()" introduced > a bug for booting FIT image. It's because calling fit_parse_config() > twice will give us wrong value in img_addr. > > Add a new function genimg_get_kernel_addr_fit() whic

Re: [U-Boot] [PATCH 2/2] udc: dfu: s3c_udc: Provide function to check if USB reset was asserted

2014-08-22 Thread Lukasz Majewski
On Fri, 22 Aug 2014 12:06:49 -0600 Stephen Warren wrote: > > On 08/22/2014 08:08 AM, Lukasz Majewski wrote: > > New dfu_usb_get_reset() method is necessary to distinct two > > different use cases of dfu-util program. > > This method checks if the USB bus reset has been really performed > > after

Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-22 Thread Simon Glass
Hi Thierry, On 22 August 2014 13:40, Thierry Reding wrote: > On Fri, Aug 22, 2014 at 01:27:57PM -0600, Simon Glass wrote: >> On 22 August 2014 06:09, Thierry Reding wrote: > [...] >> > Note that I haven't turned the AS3722 support into a "PMIC" driver, >> > because the framework for that seems t

[U-Boot] Sending a pull-req for pulling u-boot-arm into u-boot master

2014-08-22 Thread Hans de Goede
Hi Albert, 2 weeks ago you've merged various pull-reqs into the u-boot-arm tree. But you've never send a pull-req to get those changes added to u-boot master ? Any specific reason for this ? I assume these changes still are intended to go into u-boot master for v2014.10 ? If so then they could b

Re: [U-Boot] [PATCH 15/23] pci: tegra: Add Tegra PCIe driver

2014-08-22 Thread Thierry Reding
On Fri, Aug 22, 2014 at 11:33:39AM -0600, Stephen Warren wrote: > On 08/20/2014 01:04 PM, Stephen Warren wrote: > >On 08/18/2014 01:16 AM, Thierry Reding wrote: > >>From: Thierry Reding > >> > >>Add support for the PCIe controller found on some generations of Tegra. > >>Tegra20 has 2 root ports wi

[U-Boot] [PATCH v5 2/2] net: fec_mxc: Poll FEC_TBD_READY after polling TDAR

2014-08-22 Thread Fabio Estevam
From: Fabio Estevam When testing the FEC driver on a mx6solox we noticed that the TDAR bit gets always cleared prior then the READY bit is cleared in the last BD, which causes FEC packets reception to always fail. As explained by Ye Li: "The TDAR bit is cleared when the descriptors are all out

[U-Boot] [PATCH v5 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-22 Thread Fabio Estevam
From: Fabio Estevam mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. Other SoCs work with the standard 32 bytes alignment. Adjust it accordingly by using 64 bytes aligment in the FEC RX DMA buffers, which addresses the needs from mx6solox and also works for the other SoCs.

Re: [U-Boot] buildman: make-flags variables broken?

2014-08-22 Thread Simon Glass
Hi Tom, On 22 August 2014 06:08, Tom Rini wrote: > > Hey, > > In adding an env-flags section for buildman and trying to test out my > docs, I think I found that the following doesn't work today: > [make-flags] > mipsel-boards=1=2 2=3 > qemu_mipsel=${mipsel-boards} 4=5 > > With a: > diff --git a/t

Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-22 Thread Thierry Reding
On Fri, Aug 22, 2014 at 01:27:57PM -0600, Simon Glass wrote: > On 22 August 2014 06:09, Thierry Reding wrote: [...] > > Note that I haven't turned the AS3722 support into a "PMIC" driver, > > because the framework for that seems to be unusable. It doesn't seem to > > abstract away driver-specifics

Re: [U-Boot] [PATCH] sun7i: Add support for Olimex A20-OLinuXino-LIME

2014-08-22 Thread Hans de Goede
Hi, The A20-OLinuXino-LIME is already supported by the u-boot-arm tree: http://git.denx.de/?p=u-boot/u-boot-arm.git;a=summary We're waiting for the u-boot arm maintainer to send a pull-req for things to get added to u-boot master. Regards, Hans On 08/20/2014 07:37 AM, FUKAUMI Naoki wrote: >

Re: [U-Boot] [PATCH v2] arm: tegra: initial support for apalis t30

2014-08-22 Thread Stephen Warren
On 08/22/2014 01:35 AM, Marcel Ziswiler wrote: This patch adds board support for the Toradex Apalis T30 a computer on module which can be used on different carrier boards. For the sake of ease of use we do not distinguish between different carrier boards for now as the base module features are d

Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-22 Thread Simon Glass
Hi Thierry, On 22 August 2014 06:09, Thierry Reding wrote: > On Wed, Aug 20, 2014 at 12:51:35PM -0600, Stephen Warren wrote: > > On 08/18/2014 01:16 AM, Thierry Reding wrote: > > >From: Thierry Reding > > > > > >The Jetson TK1 has an ethernet NIC connected to the PCIe bus and routes > > >the se

Re: [U-Boot] [PATCH] imx: ventana: Avoid undefined behaviour

2014-08-22 Thread Tim Harvey
On Fri, Aug 22, 2014 at 12:46 AM, Thierry Reding wrote: > From: Thierry Reding > > The leds array within struct ventana has space for 3 elements, but the > setup_board_gpio() function tries to set up 4 GPIOs for LEDs. Recent > versions of GCC complain about that: > > board/gateworks/gw_ve

Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-22 Thread Stephen Warren
On 08/22/2014 06:09 AM, Thierry Reding wrote: On Wed, Aug 20, 2014 at 12:51:35PM -0600, Stephen Warren wrote: On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding The Jetson TK1 has an ethernet NIC connected to the PCIe bus and routes the second root port to a miniPCIe slot. Ena

Re: [U-Boot] [PATCH 2/2] udc: dfu: s3c_udc: Provide function to check if USB reset was asserted

2014-08-22 Thread Stephen Warren
On 08/22/2014 08:08 AM, Lukasz Majewski wrote: New dfu_usb_get_reset() method is necessary to distinct two different use cases of dfu-util program. This method checks if the USB bus reset has been really performed after DFU DETACH. Without this function the previous DFU behavior is preserved.

Re: [U-Boot] [PATCH 1/2] dfu: Provide means to find difference between dfu-util -e and -R

2014-08-22 Thread Stephen Warren
On 08/22/2014 08:08 AM, Lukasz Majewski wrote: This commit provides distinction between DFU device detach and reset. The -R behavior is preserved with proper handling of the dfu-util's -e switch, which detach the DFU device. By running dfu-util -e; one can force device to finish the execution of

Re: [U-Boot] [PATCH 15/23] pci: tegra: Add Tegra PCIe driver

2014-08-22 Thread Stephen Warren
On 08/20/2014 01:04 PM, Stephen Warren wrote: On 08/18/2014 01:16 AM, Thierry Reding wrote: From: Thierry Reding Add support for the PCIe controller found on some generations of Tegra. Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has 3 root ports with a total of 6 lanes and Tegra1

[U-Boot] buildman with --exclude option

2014-08-22 Thread York Sun
Simon, Occasionally I have issue with automatically testing script that some boards are broken with known reasons (such as size too large). I would like to have --exclude option so my auto test can skip those boards. Do you think you can add this feature? Regards, York __

Re: [U-Boot] [PATCH 15/23] pci: tegra: Add Tegra PCIe driver

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 01:04:22PM -0600, Stephen Warren wrote: > On 08/18/2014 01:16 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >Add support for the PCIe controller found on some generations of Tegra. > >Tegra20 has 2 root ports with a total of 4 lanes, Tegra30 has 3 root > >ports wi

Re: [U-Boot] [PATCH 18/23] ARM: tegra: Add Tegra30 PCIe device tree node

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 12:39:14PM -0600, Stephen Warren wrote: > On 08/18/2014 01:16 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >Add the device tree node for the PCIe controller found on Tegra30 SoCs. > > >diff --git a/arch/arm/dts/tegra30.dtsi b/arch/arm/dts/tegra30.dtsi > > >+

Re: [U-Boot] [PATCH 17/23] ARM: tegra: Enable PCIe on TrimSlice

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 12:38:15PM -0600, Stephen Warren wrote: > On 08/18/2014 01:16 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >The TrimSlice has an ethernet NIC connected to the PCIe bus. Enable the > >PCIe controller and the network driver so that the device can boot over > >the n

Re: [U-Boot] [PATCH] buildman: refactor help message (This has been superseded !)

2014-08-22 Thread Tom Rini
On Fri, Aug 22, 2014 at 07:21:57PM +0900, Masahiro Yamada wrote: > Hi Tom, > > > I notice this patch is already marked as Under Review > and I guess you are testing it locally now. > > If it is not too late, could you replace it with v2 please? > http://patchwork.ozlabs.org/patch/382136/ Will

Re: [U-Boot] [PATCH 12/23] ARM: tegra: Implement XUSB pad controller

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 12:32:45PM -0600, Stephen Warren wrote: > On 08/18/2014 01:16 AM, Thierry Reding wrote: [...] > >diff --git a/arch/arm/cpu/tegra124-common/xusb-padctl.c > >b/arch/arm/cpu/tegra124-common/xusb-padctl.c > > >+int fdtdec_count_strings(const void *fdt, int node, const char *pr

Re: [U-Boot] [PATCH 12/23] ARM: tegra: Implement XUSB pad controller

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 12:32:45PM -0600, Stephen Warren wrote: > On 08/18/2014 01:16 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >This controller was introduced on Tegra114 to handle XUSB pads. On > >Tegra124 it is also used for PCIe and SATA pin muxing and PHY control. > >Only the Te

[U-Boot] [PATCH 2/2] udc: dfu: s3c_udc: Provide function to check if USB reset was asserted

2014-08-22 Thread Lukasz Majewski
New dfu_usb_get_reset() method is necessary to distinct two different use cases of dfu-util program. This method checks if the USB bus reset has been really performed after DFU DETACH. Without this function the previous DFU behavior is preserved. Signed-off-by: Lukasz Majewski --- drivers/usb/g

[U-Boot] [PATCH 1/2] dfu: Provide means to find difference between dfu-util -e and -R

2014-08-22 Thread Lukasz Majewski
This commit provides distinction between DFU device detach and reset. The -R behavior is preserved with proper handling of the dfu-util's -e switch, which detach the DFU device. By running dfu-util -e; one can force device to finish the execution of dfu command on target and execute some other scr

Re: [U-Boot] [PATCH 11/23] ARM: tegra: Implement powergate support

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 12:24:11PM -0600, Stephen Warren wrote: > On 08/18/2014 01:16 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >Implement the powergate API that allows various power partitions to be > >power up and down. > > >diff --git a/arch/arm/cpu/tegra-common/powergate.c > >b

Re: [U-Boot] [UBOOT RFC PATCH 13/13] dwc3: core: Change the bounce buffer size to 4096

2014-08-22 Thread Felipe Balbi
On Fri, Aug 22, 2014 at 04:32:10PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 19 August 2014 09:57 PM, Felipe Balbi wrote: > > On Tue, Aug 19, 2014 at 09:45:11PM +0530, Kishon Vijay Abraham I wrote: > >> Hi, > >> > >> On Monday 18 August 2014 08:11 PM, Felipe Balbi wrote: > >>> On M

[U-Boot] [RFC PATCH] tools/buildman: Add env-flags section support

2014-08-22 Thread Tom Rini
In some cases (such as building little endian MIPS with the ELDK toolchain) you need to set a variable in the environment in order for the build to complete. Add env-flags, similar to make-flags, to allow for this. Signed-off-by: Tom Rini --- I have this as RFC since GetEnvSettings is a copy/pa

Re: [U-Boot] [PATCH 10/23] ARM: tegra: Provide PCIEXCLK reset ID

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 12:20:20PM -0600, Stephen Warren wrote: > On 08/18/2014 01:16 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >This reset is required for PCIe and the corresponding ID therefore needs > >to be defined. > > It might be worth mentioning in the commit description why

Re: [U-Boot] [PATCH 19/23] ARM: tegra: Enable PCIe on Beaver

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 12:43:58PM -0600, Stephen Warren wrote: > On 08/18/2014 01:16 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >The Beaver has an ethernet NIC connected to the PCIe bus. Enable the > >PCIe controller and the network device driver so that the device can > >boot over t

Re: [U-Boot] dfu: some wrong usb_qualifier_descriptor settings?

2014-08-22 Thread Lukasz Majewski
Hi Heiko, > Hello Lukasz, > > In the dfu spez [1] chapter 4.2.1 the following fields are specified: > > bDeviceClass = 00h (Description: „see interface“), currently set in > U-Boot to 2. > > bDeviceSubClass = 00h (Description: „see interface“), currently set in > U-Boot to 2. > > bcdUSB =

Re: [U-Boot] [PATCH 23/23] ARM: tegra: Enable PCIe on Jetson TK1

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 12:51:35PM -0600, Stephen Warren wrote: > On 08/18/2014 01:16 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >The Jetson TK1 has an ethernet NIC connected to the PCIe bus and routes > >the second root port to a miniPCIe slot. Enable the PCIe controller and > > >di

[U-Boot] buildman: make-flags variables broken?

2014-08-22 Thread Tom Rini
Hey, In adding an env-flags section for buildman and trying to test out my docs, I think I found that the following doesn't work today: [make-flags] mipsel-boards=1=2 2=3 qemu_mipsel=${mipsel-boards} 4=5 With a: diff --git a/tools/buildman/builderthread.py b/tools/buildman/builderthread.py index

Re: [U-Boot] Treat warnings different from errors in buildman?

2014-08-22 Thread Tom Rini
On Fri, Aug 22, 2014 at 01:11:08PM +0200, Daniel Schwierzeck wrote: > On 22.08.2014 12:47, Tom Rini wrote: > > On Fri, Aug 22, 2014 at 11:01:52AM +0200, Daniel Schwierzeck wrote: > >> Hi Tom, > >> > >> On 21.08.2014 18:53, Tom Rini wrote: > >>> Hey, > >>> > >>> So as I migrate scripts over to buil

Re: [U-Boot] [Patch v2 3/5] armv8/fsl-lsch3: Release secondary cores from boot hold off with Boot Page

2014-08-22 Thread Mark Rutland
Hi York, > >> - /* > >> -* All processors will enter EL2 and optionally EL1. > >> +slave_cpu: > >> + wfe > >> +#ifdef CONFIG_FSL_SMP_RELEASE_ALL > >> + /* All cores are released from the address in the 1st spin table > >> +* element > >> */ > >> - b

Re: [U-Boot] [Patch v2 3/5] armv8/fsl-lsch3: Release secondary cores from boot hold off with Boot Page

2014-08-22 Thread Mark Rutland
Hi Bhupesh, [...] > > >> diff --git a/arch/arm/cpu/armv8/fsl-lsch3/fdt.c > > >> b/arch/arm/cpu/armv8/fsl-lsch3/fdt.c > > >> new file mode 100644 > > >> index 000..2dbcdcb > > >> --- /dev/null > > >> +++ b/arch/arm/cpu/armv8/fsl-lsch3/fdt.c > > >> @@ -0,0 +1,56 @@ > > >> +/* > > >> + * Copyrig

Re: [U-Boot] [Patch v2 3/5] armv8/fsl-lsch3: Release secondary cores from boot hold off with Boot Page

2014-08-22 Thread Mark Rutland
Hi Arnab, [...] > >>> Is there any reason to have the SWITCH_TO_EL1 option other than for > >>> debugging? > >> > >> Good question. I will let Arnab to comment here. > >> > >>> > >>> EL2 is the preferred EL to boot at for Linux and Xen (it gives far > >>> more flexibility), and if dropping to EL1

Re: [U-Boot] Treat warnings different from errors in buildman?

2014-08-22 Thread Daniel Schwierzeck
On 22.08.2014 12:47, Tom Rini wrote: > On Fri, Aug 22, 2014 at 11:01:52AM +0200, Daniel Schwierzeck wrote: >> Hi Tom, >> >> On 21.08.2014 18:53, Tom Rini wrote: >>> Hey, >>> >>> So as I migrate scripts over to buildman, one issue I have is that >>> today warning and errors are treated the same: >

Re: [U-Boot] [UBOOT RFC PATCH 13/13] dwc3: core: Change the bounce buffer size to 4096

2014-08-22 Thread Kishon Vijay Abraham I
Hi, On Tuesday 19 August 2014 09:57 PM, Felipe Balbi wrote: > On Tue, Aug 19, 2014 at 09:45:11PM +0530, Kishon Vijay Abraham I wrote: >> Hi, >> >> On Monday 18 August 2014 08:11 PM, Felipe Balbi wrote: >>> On Mon, Aug 18, 2014 at 07:58:35PM +0530, Kishon Vijay Abraham I wrote: Bounce buffer i

Re: [U-Boot] Treat warnings different from errors in buildman?

2014-08-22 Thread Tom Rini
On Fri, Aug 22, 2014 at 11:01:52AM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > On 21.08.2014 18:53, Tom Rini wrote: > > Hey, > > > > So as I migrate scripts over to buildman, one issue I have is that > > today warning and errors are treated the same: > > u-boot (master)$ ./tools/buildman/build

Re: [U-Boot] [UBOOT RFC PATCH 10/13] board: ti: DRA7: added USB initializtion code

2014-08-22 Thread Kishon Vijay Abraham I
On Tuesday 19 August 2014 09:56 PM, Felipe Balbi wrote: > On Tue, Aug 19, 2014 at 09:43:48PM +0530, Kishon Vijay Abraham I wrote: >> Hi Felipe, >> >> On Monday 18 August 2014 08:10 PM, Felipe Balbi wrote: >>> On Mon, Aug 18, 2014 at 07:58:32PM +0530, Kishon Vijay Abraham I wrote: Implemented

[U-Boot] [PATCH 0/3] Kconfig: import some options related to general setup

2014-08-22 Thread Masahiro Yamada
Masahiro Yamada (3): kconfig: add CONFIG_LOCALVERSION and CONFIG_LOCALVERSION_AUTO scripts: refetch scripts/setlocalversion from Linux 3.16 kconfig: add CONFIG_CC_OPTIMIZE_FOR_SIZE Kconfig | 48 +++- Makefile| 6 +

[U-Boot] [PATCH 1/3] kconfig: add CONFIG_LOCALVERSION and CONFIG_LOCALVERSION_AUTO

2014-08-22 Thread Masahiro Yamada
Copy Kconfig options from "init/Kconfig" of Linux v3.16 tag and adjust some parts of the help document. Move CONFIG_SPL, CONFIG_TPL, ... etc. to "Boot images" menu. Signed-off-by: Masahiro Yamada --- Kconfig | 38 +- 1 file changed, 37 insertions(+), 1 delet

[U-Boot] [PATCH 3/3] kconfig: add CONFIG_CC_OPTIMIZE_FOR_SIZE

2014-08-22 Thread Masahiro Yamada
Copy the Kconfig option from "init/Kconfig" of Linux v3.16 tag and adjust the help document. Signed-off-by: Masahiro Yamada --- Kconfig | 10 ++ Makefile | 6 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Kconfig b/Kconfig index ea2c836..cbb691e 100644 --- a/Kc

[U-Boot] [PATCH 2/3] scripts: refetch scripts/setlocalversion from Linux 3.16

2014-08-22 Thread Masahiro Yamada
Now we have CONFIG_LOCALVERSION and CONFIG_LOCALVERSION_AUTO in Kconfig so we can use scripts/setlocalversion without any adjustment. Copy it from Linux 3.16 as is. Signed-off-by: Masahiro Yamada --- scripts/setlocalversion | 31 ++- 1 file changed, 14 insertions(+)

Re: [U-Boot] [PATCH] buildman: refactor help message (This has been superseded !)

2014-08-22 Thread Masahiro Yamada
Hi Tom, I notice this patch is already marked as Under Review and I guess you are testing it locally now. If it is not too late, could you replace it with v2 please? http://patchwork.ozlabs.org/patch/382136/ I found "-b " is not a mandatory option. Best Regards Masahiro Yamada On Thu, 2

[U-Boot] [PATCH v2] buildman: refactor help message

2014-08-22 Thread Masahiro Yamada
"buildman [options]" is displayed by default. Append the rest of help messages to parser.usage instead of replacing it. Besides, "-b " is not mandatory since commit fea5858e. Drop it from the usage. Signed-off-by: Masahiro Yamada --- Changes in v2: - Drop "-b " from the usage tools/buildma

[U-Boot] [URGENT] Fatal Bug of Patman

2014-08-22 Thread Masahiro Yamada
Hi Simon, The problem seems more fatal than I expected at first. Series-changes tag is not working either. My git-log is as follows: commit 9296e54147d8ee5917bbc1c7a2e9fa4b8ef106db Author: Masahiro Yamada Date: Fri Aug 22 18:37:29 2014 +0900 bar: commit 2 Series-changes: 2

Re: [U-Boot] [PATCH 8/9] net: rtl8169: Use non-cached memory if available

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 01:33:06PM -0600, Stephen Warren wrote: > On 08/18/2014 02:00 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >To work around potential issues with explicit cache maintenance of the > >RX and TX descriptor rings, allocate them from a pool of uncached memory > >if th

[U-Boot] [PATCH v3] nios2: add generic board support

2014-08-22 Thread Thomas Chou
This patch implements the generic board init as described in doc/README.generic-board. Signed-off-by: Thomas Chou Signed-off-by: Scott McNutt Reviewed-by: Stefan Roese --- Changes in v2: - Coding style clean up Changes in v3: - Add display cpu and board info to nios2-generic board arch/nios

Re: [U-Boot] [PATCH 7/9] net: rtl8169: Properly align buffers

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 01:29:57PM -0600, Stephen Warren wrote: > On 08/18/2014 02:00 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >RX and TX descriptor rings should be aligned to 256 byte boundaries. Use > >the DEFINE_ALIGN_BUFFER() macro to define the buffers so that they don't > >hav

[U-Boot] [PATCH v2 6/6] git-mailrc: add me as the maintainer of UniPhier Platform

2014-08-22 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v2: - Rebase doc/git-mailrc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index 70405f2..d01afdd 100644 --- a/doc/git-mailrc +++ b/doc/git-mailrc @@ -63,6 +63,7 @@ alias sunxi uboot, ijc, jwrdegoede

[U-Boot] [PATCH v2 2/6] serial: add UniPhier serial driver

2014-08-22 Thread Masahiro Yamada
The driver for on-chip UART used on Panasonic UniPhier platform. Signed-off-by: Masahiro Yamada --- Changes in v2: - Use "const unsigned int mode_x_div = 16" instead of "#define MODE_X_DIV 16" - Use DIV_ROUND_CLOSEST() macro to compute the divisor drivers/serial/Makefile |

[U-Boot] [PATCH v2 4/6] arm: uniphier: add Kconfig and defconfig

2014-08-22 Thread Masahiro Yamada
Add entries for Panasonic UniPhier family: PH1-LD4, PH1-Pro4, PH1-sLD8 Signed-off-by: Masahiro Yamada --- Changes in v2: - Rebase on the current u-boot/master arch/arm/Kconfig| 5 + arch/arm/cpu/armv7/uniphier/Kconfig | 32 configs/ph

[U-Boot] [PATCH v2 5/6] MAINTAINERS: add me as the maintainer of UniPhier Platform

2014-08-22 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes in v2: - Newly added MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index af194ca..cb5b3f0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -149,6 +149,14 @@ F: arch/arm/include/asm/arch-davinci/ F:

[U-Boot] [PATCH v2 0/6] Add support for Panasonic UniPhier SoCs/boards

2014-08-22 Thread Masahiro Yamada
UniPhier is the SoC family developed by Panasonic Corporation, based on ARM Cortex-A9. This patch set adds its SoC/board support code with some drivers. This series depends on the Denali NAND driver patch: http://patchwork.ozlabs.org/patch/381305/ It must be applied first. Masahiro Yamada (6):

[U-Boot] [PATCH v2 1/6] nand: denali: add Denali NAND driver for SPL

2014-08-22 Thread Masahiro Yamada
The SPL-mode driver for Denali(Cadence) NAND Flash Memory Controller IP. This driver requires two CONFIG macros: - CONFIG_NAND_DENALI Define to enable this driver. - CONFIG_SYS_NAND_BAD_BLOCK_POS Specify bad block mark position in the oob space. Typically 0. Signed-off-by: Masahiro Ya

Re: [U-Boot] Treat warnings different from errors in buildman?

2014-08-22 Thread Daniel Schwierzeck
Hi Tom, On 21.08.2014 18:53, Tom Rini wrote: > Hey, > > So as I migrate scripts over to buildman, one issue I have is that > today warning and errors are treated the same: > u-boot (master)$ ./tools/buildman/buildman -b master -c 1 -ve -T 1 -j 9 > 'arc|blackfin|microblaze|m68k|nds32|sparc|x86|aa

Re: [U-Boot] [PATCH] samsung: s5p_goni: fix: Add missing definitions for G_DNL_UMS gadget

2014-08-22 Thread Robert Baldyga
On 08/22/2014 09:12 AM, Lukasz Majewski wrote: > The commit (SHA1: 8fc171318e352) reintroduced correct values for vendor and > product IDs required for UMS gadget to work properly either at Windows or > Linux. > > This data was missing for GONI target, so this commit corrects this mistake. > > Si

Re: [U-Boot] [PATCH 4/9] ARM: Implement non-cached memory support

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 01:23:13PM -0600, Stephen Warren wrote: > On 08/18/2014 02:00 AM, Thierry Reding wrote: [...] > >diff --git a/arch/arm/include/asm/system.h b/arch/arm/include/asm/system.h > > >+#ifdef CONFIG_SYS_NONCACHED_MEMORY > >+void noncached_init(void); > >+unsigned long noncached_al

Re: [U-Boot] [PATCH 2/9] ARM: cache-cp15: Use unsigned long for address and size

2014-08-22 Thread Thierry Reding
On Wed, Aug 20, 2014 at 01:15:15PM -0600, Stephen Warren wrote: > On 08/18/2014 02:00 AM, Thierry Reding wrote: > >From: Thierry Reding > > > >size is always non-negative, so it should be unsigned, whereas the > >address and size can be larger than 32 bit on 64-bit architectures. > >Change the mmu

Re: [U-Boot] [PATCH v2 07/15] exynos: kconfig: move board select menu and common settings

2014-08-22 Thread Lukasz Majewski
Hi Masahiro, > > On Fri, 22 Aug 2014 10:16:35 +0200 > Lukasz Majewski wrote: > > > Dear All, > > > > > On 06/08/14 12:17, Masahiro Yamada wrote: > > > > Becuase the board select menu in arch/arm/Kconfig is too big, > > > > move the Exynos board select menu to exynos/Kconfig. > > > > > > > > C

Re: [U-Boot] [PATCH v2 07/15] exynos: kconfig: move board select menu and common settings

2014-08-22 Thread Masahiro Yamada
On Fri, 22 Aug 2014 10:16:35 +0200 Lukasz Majewski wrote: > Dear All, > > > On 06/08/14 12:17, Masahiro Yamada wrote: > > > Becuase the board select menu in arch/arm/Kconfig is too big, > > > move the Exynos board select menu to exynos/Kconfig. > > > > > > Consolidate also common settings (CON

Re: [U-Boot] [PATCH v2 07/15] exynos: kconfig: move board select menu and common settings

2014-08-22 Thread Lukasz Majewski
Dear All, > On 06/08/14 12:17, Masahiro Yamada wrote: > > Becuase the board select menu in arch/arm/Kconfig is too big, > > move the Exynos board select menu to exynos/Kconfig. > > > > Consolidate also common settings (CONFIG_SYS_CPU="armv7" and > > CONFIG_SYS_SOC="exynos"). > > > > Signed-off-b

[U-Boot] [PATCH] imx: ventana: Avoid undefined behaviour

2014-08-22 Thread Thierry Reding
From: Thierry Reding The leds array within struct ventana has space for 3 elements, but the setup_board_gpio() function tries to set up 4 GPIOs for LEDs. Recent versions of GCC complain about that: board/gateworks/gw_ventana/gw_ventana.c: In function 'setup_board_gpio': board/gat

[U-Boot] [PATCH v2] arm: tegra: initial support for apalis t30

2014-08-22 Thread Marcel Ziswiler
This patch adds board support for the Toradex Apalis T30 a computer on module which can be used on different carrier boards. For the sake of ease of use we do not distinguish between different carrier boards for now as the base module features are deemed sufficient enough for regular booting. The

  1   2   >