Re: [U-Boot] [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-11-23 Thread Kushwaha Prabhakar
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Tuesday, November 24, 2015 11:14 AM > To: Kushwaha Prabhakar-B32579 ; u- > b...@lists.denx.de > Cc: Srivastava Pratiyush-B46174 > Subject: Re: [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect > LS2080A >

Re: [U-Boot] [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-11-23 Thread York Sun
On 11/23/2015 08:25 PM, Kushwaha Prabhakar-B32579 wrote: > >> -Original Message- >> From: York Sun [mailto:york...@freescale.com] >> Sent: Tuesday, November 24, 2015 12:49 AM >> To: Kushwaha Prabhakar-B32579 ; u- >> b...@lists.denx.de >> Cc: Srivastava Pratiyush-B46174 >> Subject: Re: [

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-23 Thread Stephen Warren
On 11/23/2015 06:45 PM, Simon Glass wrote: > Hi Stephen, > > On 22 November 2015 at 10:30, Stephen Warren wrote: >> On 11/21/2015 09:49 AM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On 19 November 2015 at 12:09, Stephen Warren wrote: On 11/19/2015 10:00 AM, Stephen Warren wrote: >

Re: [U-Boot] [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-11-23 Thread Kushwaha Prabhakar
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Tuesday, November 24, 2015 12:49 AM > To: Kushwaha Prabhakar-B32579 ; u- > b...@lists.denx.de > Cc: Srivastava Pratiyush-B46174 > Subject: Re: [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect > LS2080A >

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-23 Thread Stephen Warren
On 11/23/2015 07:18 PM, Simon Glass wrote: > Hi Stephen, > > On 23 November 2015 at 18:45, Simon Glass wrote: >> Hi Stephen, >> >> On 22 November 2015 at 10:30, Stephen Warren wrote: >>> On 11/21/2015 09:49 AM, Simon Glass wrote: Hi Stephen, On 19 November 2015 at 12:09, Stephen W

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-23 Thread Chin Liang See
On Mon, 2015-11-23 at 17:25 -0600, Dinh Nguyen wrote: > On 11/23/2015 05:20 PM, Marek Vasut wrote: > > On Tuesday, November 24, 2015 at 12:04:10 AM, Dinh Nguyen wrote: > > > On 11/23/2015 05:03 PM, Marek Vasut wrote: > > > > On Monday, November 23, 2015 at 11:50:15 PM, Dinh Nguyen wrote: > > > > >

Re: [U-Boot] [PATCH v3 05/11] dm: timer: Support 64-bit counter

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 08/11] x86: tsc: Add driver model timer support

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 02/11] dm: timer: Implement pre_probe()

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 03/11] timer: altera: Remove the codes to get clock frequency

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 07/11] x86: tsc: Use notrace from

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 06/11] x86: Reomve MIN_PORT80_KCLOCKS_DELAY

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 09/11] x86: Convert to use driver model timer

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 10/11] x86: tsc: Remove legacy timer codes

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 11/11] x86: tsc: Move tsc_timer.c to drivers/timer

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 04/11] timer: sandbox: Use device tree to pass the clock frequency

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v3 01/11] dm: timer: Fix several nits

2015-11-23 Thread Simon Glass
Applied to u-boot-dm, thanks! ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-23 Thread Simon Glass
Hi Stephen, On 23 November 2015 at 18:45, Simon Glass wrote: > Hi Stephen, > > On 22 November 2015 at 10:30, Stephen Warren wrote: >> On 11/21/2015 09:49 AM, Simon Glass wrote: >>> Hi Stephen, >>> >>> On 19 November 2015 at 12:09, Stephen Warren wrote: On 11/19/2015 10:00 AM, Stephen

Re: [U-Boot] [PATCH v5 0/8] dm: pci: tegra: Convert Tegra PCI to driver model

2015-11-23 Thread Simon Glass
Hi Stephen, On 23 November 2015 at 10:45, Stephen Warren wrote: > On 11/19/2015 08:26 PM, Simon Glass wrote: >> >> This series converts all Tegra boards to use driver model for PCI. The net >> effect should be no change in functionality. > > > The series, > > Tested-by: Stephen Warren > > (On bo

Re: [U-Boot] [PATCH v3 1/3] cmd_sf: add 'release' command

2015-11-23 Thread Simon Glass
Hi Valentine, On 23 November 2015 at 02:19, Valentin Longchamp wrote: > Hi Simon, > > On 20/11/2015 18:19, Simon Glass wrote: >> Hi, >> >> On 20 November 2015 at 03:13, Valentin Longchamp >> wrote: >>> On 19/11/2015 17:57, Jagan Teki wrote: On 13 November 2015 at 18:55, Valentin Longchamp >

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-23 Thread Simon Glass
Hi Stephen, On 22 November 2015 at 10:30, Stephen Warren wrote: > On 11/21/2015 09:49 AM, Simon Glass wrote: >> Hi Stephen, >> >> On 19 November 2015 at 12:09, Stephen Warren wrote: >>> >>> On 11/19/2015 10:00 AM, Stephen Warren wrote: On 11/19/2015 07:45 AM, Simon Glass wrote: > >

Re: [U-Boot] [PATCH v6] arm: atmel: Add SAMA5D2 Xplained board

2015-11-23 Thread Yang, Wenyou
Hi Andreas, > -Original Message- > From: Andreas Bießmann [mailto:andreas.de...@googlemail.com] > Sent: 2015年11月24日 0:29 > To: Yang, Wenyou; U-Boot Mailing List > Cc: Bo Shen > Subject: Re: [U-Boot] [PATCH v6] arm: atmel: Add SAMA5D2 Xplained board > > Hi Wenyou, > > On 30.10.15 02:55, W

Re: [U-Boot] [PATCH V2] arm: novena: Switch novena to config_distro_bootcmd

2015-11-23 Thread Vagrant Cascadian
On 2015-11-10, Marek Vasut wrote: > Switch Novena to distro bootcmd, so it can be used with debian easily. ... > diff --git a/include/configs/novena.h b/include/configs/novena.h > index 718989f..3bb406d 100644 > --- a/include/configs/novena.h > +++ b/include/configs/novena.h > @@ -199,6 +201,10 @@

Re: [U-Boot] [RFC PATCH v2 05/11] net: add definition of udp_hdr

2015-11-23 Thread Joe Hershberger
On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > UDP is the same over IPv4 as it is over other protocols (i.e. IPv6) add > a definition of just the UDP header independent of the IPv4 header that > it may or may not be combined with. > > Signed-off-by: Chris Packham > --- > Ideally struct ip

Re: [U-Boot] [RFC PATCH v2 08/11] net: Add ping6 command and implementation

2015-11-23 Thread Joe Hershberger
On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > Signed-off-by: Chris Packham > > --- > > Changes in v2: > - split ping6 support into it's own patch > > common/Kconfig | 6 +++ > common/cmd_net.c | 28 ++ > include/net.h| 4 +- > net/net6.c | 7 > net/pi

Re: [U-Boot] [RFC PATCH v2 09/11] net: TFTP over IPv6

2015-11-23 Thread Joe Hershberger
On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > Add support for UDP/TFTP over IPv6. To support specifying an server IPv6 > address in the command square brackets must be used to separate the > address from the filename. e.g > tftpboot6 [2001:db8::1]:zImage > > Signed-off-by: Chris Packham

Re: [U-Boot] [RFC PATCH v2 11/11] net: e1000 enable multicast reception

2015-11-23 Thread Joe Hershberger
On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > IPv6 neighbor discovery uses various multicast addresses to send the > request and receive the response. For neighbor discovery to work > properly in U-boot the Ethernet device needs to support joining/leaving > various L2 multicast groups or

Re: [U-Boot] [RFC PATCH v2 06/11] net: IPv6 skeleton and environment variables

2015-11-23 Thread Joe Hershberger
Hi Chris, On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > Create net6.c and add CONFIG_NET6 to Kconfig/Makefile. Also add > support for the following environment variables: > - ip6addr > - gateway6 > - serverip6 > > Signed-off-by: Chris Packham > --- > > Changes in v2: > - Split enviro

Re: [U-Boot] [RFC PATCH v2 02/11] lib: vsprintf: add IPv6 compressed format %pI6c

2015-11-23 Thread Joe Hershberger
On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > Add support for "human friendly" IPv6 address representations as > specified in > http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-00 > > This code has been adapted from Linux kernel with minimal modification. > > Signed-off

Re: [U-Boot] [RFC PATCH v2 03/11] lib: net_utils: make string_to_ip stricter

2015-11-23 Thread Joe Hershberger
On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > Previously values greater than 255 were implicitly truncated. Add some > stricter checking to reject addresses with components >255. > > With the input "1234192.168.1.1" the old behaviour would truncate the > address to 192.168.1.1. New behavi

Re: [U-Boot] [RFC PATCH v2 04/11] lib: net_utils: add string_to_ip6

2015-11-23 Thread Joe Hershberger
On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > string_to_ip6 parses an IPv6 address from a string. Parsing v6 addresses > is a bit more complicated than parsing v4 because there are a number of > different formats that can be used. > > Signed-off-by: Chris Packham This looks fine for now

Re: [U-Boot] [RFC PATCH v2 01/11] Initial net6.h

2015-11-23 Thread Joe Hershberger
Hi Chris, On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > The initial net6.h just has the definition of an IPv6 address and IPv6 > header. Subsequent changes will build on this. > > Signed-off-by: Chris Packham > > --- > > Changes in v2: None Still looks fine to me. _

Re: [U-Boot] [RFC PATCH v2 07/11] net: IPv6 support

2015-11-23 Thread Joe Hershberger
On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > Adds basic support for IPv6. Neighbor discovery and ping6 are the only > things supported at the moment. ping6 is not supported at this moment... not until the next moment. > > Helped-by: Hanna Hawa [endian & alignment fixes] > Signed-off-b

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-23 Thread Stephen Warren
On 11/23/2015 04:44 PM, Tom Rini wrote: On Thu, Nov 19, 2015 at 10:00:32AM -0700, Stephen Warren wrote: ... See the following in test/py/README.md: ## Requirements The test suite is implemented using pytest. Interaction with the U-Boot console uses pexpect. Interaction with real hardware use

Re: [U-Boot] [PATCH 1/6] test/py: require .config to exist

2015-11-23 Thread Tom Rini
On Tue, Nov 17, 2015 at 08:19:59PM -0700, Stephen Warren wrote: > From: Stephen Warren > > If .config doesn't exist, the test will currently throw an exception > because the shell prompt value can't be looked up. It's not obvious how > to resolve this. Fix the code to require that the .config fi

Re: [U-Boot] [PATCH 4/6] test/py: print implicit shell prompt later

2015-11-23 Thread Tom Rini
On Tue, Nov 17, 2015 at 08:20:02PM -0700, Stephen Warren wrote: > Whenever a test is about to start, the test scripts log an "implicit" > version of the shell prompt. This ensures that each test's log section > includes the prompt, which makes it easier to read. > > However, pytest apparently doe

Re: [U-Boot] [PATCH 2/6] test/py: parse include/autoconf.mk for config options

2015-11-23 Thread Tom Rini
On Tue, Nov 17, 2015 at 08:20:00PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Many config options aren't yet converted to Kconfig. Update the test > scripts to parse include/autoconf.mk to pick up the non-converted > options. This will allow tests to be marked as depending on those

Re: [U-Boot] [PATCH 5/6] test/py: replace cmd_repeat.sh with Python

2015-11-23 Thread Tom Rini
On Tue, Nov 17, 2015 at 08:20:03PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This moves this test into the new infra-structure, and also allows it to > work on real hardware, not just sandbox. > > Signed-off-by: Stephen Warren Reviewed-by: Tom Rini -- Tom signature.asc Desc

Re: [U-Boot] [PATCH] Implement pytest-based test infrastructure

2015-11-23 Thread Tom Rini
On Thu, Nov 19, 2015 at 10:00:32AM -0700, Stephen Warren wrote: > On 11/19/2015 07:45 AM, Simon Glass wrote: > >Hi Stephen, > > > >On 14 November 2015 at 23:53, Stephen Warren wrote: > >>This tool aims to test U-Boot by executing U-Boot shell commands using the > >>console interface. A single top-

Re: [U-Boot] [PATCH] include: net: Simplify the usage of __always_inline

2015-11-23 Thread Joe Hershberger
Hi Fabio, On Sun, Nov 8, 2015 at 6:25 PM, Fabio Estevam wrote: > From: Fabio Estevam > > Since commit de4d2e9e7ce0f9 (" bitops: Add fls_long and __ffs64") > is included in include/linux/bitops.h, > which allows us to marking a function as 'always_inline' in a simpler > format. > > Signed-off-by

Re: [U-Boot] [PATCH 1/2] checkpatch: ignore request to use ether_addr_copy()

2015-11-23 Thread Joe Hershberger
On Fri, Nov 13, 2015 at 10:03 AM, Stephen Warren wrote: > From: Stephen Warren > > The Linux kernel, from which checkpatch originates, contains function > ether_addr_copy() to copy Ethernet MAC addresses, and checkpatch warns > that it should be used in preference to memcpy() where appropriate. >

Re: [U-Boot] [PATCH v2 3/3] net: zynq: Disable secondary queues

2015-11-23 Thread Joe Hershberger
Hi Michal, On Thu, Nov 12, 2015 at 7:43 AM, Michal Simek wrote: > From: "Edgar E. Iglesias" > > Zynq has no priority queues. > ZynqMP has one priority queue and this change is required > to get ethernet working. > This patch was not needed on ep108 for uknown reason even > it should be used. > T

[U-Boot] [PATCHv2 2/2] ARM: socfpga: rename the cyclone5 and arria5 base address file

2015-11-23 Thread dinguyen
From: Dinh Nguyen When adding support for the Arria10 platform, we're going to name the file base_addr_a10.h, so to be systematic about it, rename the socfpga_base_addr.h to be base_addr_ac5.h for the Arria5 and Cyclone5 platform. Suggested-by: Marek Vasut Signed-off-by: Dinh Nguyen --- .../m

[U-Boot] [PATCHv2 1/2] ARM: socfpga: arria10: add base address map for Arria10

2015-11-23 Thread dinguyen
From: Dinh Nguyen Add the base address map for Arria10. Signed-off-by: Dinh Nguyen Reviewed-by: Marek Vasut --- v2: renamed to base_addr_a10.h --- arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 45 ++ 1 file changed, 45 insertions(+) create mode 100644 arch/arm/mach

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-23 Thread Dinh Nguyen
On 11/23/2015 05:20 PM, Marek Vasut wrote: > On Tuesday, November 24, 2015 at 12:04:10 AM, Dinh Nguyen wrote: >> On 11/23/2015 05:03 PM, Marek Vasut wrote: >>> On Monday, November 23, 2015 at 11:50:15 PM, Dinh Nguyen wrote: On 11/23/2015 04:46 PM, Marek Vasut wrote: > On Monday, November 2

Re: [U-Boot] [PATCH 18/25] dm: net: Convert rtl8169 to use DM PCI API

2015-11-23 Thread Joe Hershberger
Hi Simon, On Mon, Nov 16, 2015 at 9:53 PM, Simon Glass wrote: > Update this driver to use the proper driver-model PCI API functions. > > Signed-off-by: Simon Glass > --- > > drivers/net/rtl8169.c | 88 > --- > 1 file changed, 70 insertions(+), 18

Re: [U-Boot] [PATCH 01/10] ARM: socfpga: arria10: add base address map for Arria10

2015-11-23 Thread Dinh Nguyen
On 11/19/2015 04:26 PM, Marek Vasut wrote: > On Thursday, November 19, 2015 at 10:35:38 PM, dingu...@opensource.altera.com > wrote: >> From: Dinh Nguyen >> >> Add the base address map for Arria10. >> >> Signed-off-by: Dinh Nguyen >> --- >> .../include/mach/socfpga_a10_base_addrs.h | 45

Re: [U-Boot] [PATCH 25/25] dm: net: usb: Convert mcs7830 driver to support driver model

2015-11-23 Thread Joe Hershberger
On Mon, Nov 16, 2015 at 9:54 PM, Simon Glass wrote: > Adjust this driver to support driver model for Ethernet. > > Signed-off-by: Simon Glass Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/

Re: [U-Boot] [PATCH 24/25] dm: net: usb: Refactor mcs7830 driver ready for DM conversion

2015-11-23 Thread Joe Hershberger
Hi Simon, On Mon, Nov 16, 2015 at 9:54 PM, Simon Glass wrote: > Remove stamp data and create common functions for the main Ethernet > operations. This will make it easier to convert this driver to support > driver model. > > Signed-off-by: Simon Glass LGTM. Acked-by: Joe Hershberger _

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-23 Thread Marek Vasut
On Tuesday, November 24, 2015 at 12:04:10 AM, Dinh Nguyen wrote: > On 11/23/2015 05:03 PM, Marek Vasut wrote: > > On Monday, November 23, 2015 at 11:50:15 PM, Dinh Nguyen wrote: > >> On 11/23/2015 04:46 PM, Marek Vasut wrote: > >>> On Monday, November 23, 2015 at 11:32:27 PM, Dinh Nguyen wrote: > >

Re: [U-Boot] U-boot broken on e500v2 soc

2015-11-23 Thread Scott Wood
On Fri, 2015-11-20 at 22:33 -0800, York Sun wrote: > Valentin, > > Can you refresh my memory why you needed this > commitac337168ad81a18e768e5e3cfff8d229adeb2b25 (patch > http://patchwork.ozlabs.org/patch/455439)? > Today I bisect an issue back to this commit. > > Scott, > > Can you help to exam

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-23 Thread Dinh Nguyen
On 11/23/2015 05:03 PM, Marek Vasut wrote: > On Monday, November 23, 2015 at 11:50:15 PM, Dinh Nguyen wrote: >> On 11/23/2015 04:46 PM, Marek Vasut wrote: >>> On Monday, November 23, 2015 at 11:32:27 PM, Dinh Nguyen wrote: >>> [...] >>> The main point is that we need to program the FPGA >>

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-23 Thread Marek Vasut
On Monday, November 23, 2015 at 11:50:15 PM, Dinh Nguyen wrote: > On 11/23/2015 04:46 PM, Marek Vasut wrote: > > On Monday, November 23, 2015 at 11:32:27 PM, Dinh Nguyen wrote: > > [...] > > > >> The main point is that we need to program the FPGA > >> during U-Boot booting up with a ~>10 M

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-23 Thread Dinh Nguyen
On 11/23/2015 04:46 PM, Marek Vasut wrote: > On Monday, November 23, 2015 at 11:32:27 PM, Dinh Nguyen wrote: > [...] >> The main point is that we need to program the FPGA >> during U-Boot booting up with a ~>10 MB rbf file while being limited >> to the OCRAM's size. I would like to cont

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-23 Thread Marek Vasut
On Monday, November 23, 2015 at 11:32:27 PM, Dinh Nguyen wrote: [...] > The main point is that we need to program the FPGA > during U-Boot booting up with a ~>10 MB rbf file while being limited > to the OCRAM's size. I would like to contain this ugliness in it's > own directory.

Re: [U-Boot] [U-Boot, v2, 4/5] gpt: part: Definition and declaration of GPT verification functions

2015-11-23 Thread Tom Rini
On Fri, Nov 20, 2015 at 08:06:16AM +0100, Lukasz Majewski wrote: > This commit provides definition and declaration of GPT verification > functions - namely gpt_verify_headers() and gpt_verify_partitions(). > The former is used to only check CRC32 of GPT's header and PTEs. > The latter examines eac

Re: [U-Boot] [U-Boot, 3/4, v3] lib/tiny-printf.c: Add tiny printf function for space limited environments

2015-11-23 Thread Tom Rini
On Mon, Nov 23, 2015 at 07:00:22AM +0100, Stefan Roese wrote: > This patch adds a small printf() version that supports all basic formats. > Its intented to be used in U-Boot SPL versions on platforms with very > limited internal RAM sizes. > > To enable it, just define CONFIG_USE_TINY_PRINTF in y

Re: [U-Boot] fs: ext4: Prevent infinite loop in ext4fs_iterate_dir

2015-11-23 Thread Tom Rini
On Wed, Nov 18, 2015 at 12:42:53PM -0500, Thomas Fitzsimmons wrote: > If the ext3 journal gets out of sync with what is written on disk, for > example because of an unexpected power cut, ext4fs_read_file can > return an all-zero directory entry. In that case, ext4fs_iterate_dir > would infinite l

Re: [U-Boot] [U-Boot, v2, 5/5] gpt: command: Extend gpt command to support GPT table verification

2015-11-23 Thread Tom Rini
On Fri, Nov 20, 2015 at 08:06:17AM +0100, Lukasz Majewski wrote: > This commit adds support for "gpt verify" command, which verifies > correctness of on-board stored GPT partition table. > As the optional parameter one can provide '$partitons' environment variable > to check if partition data (siz

Re: [U-Boot] am33xx: Remove serial_init in s_init for QSPI/NOR XIP boot

2015-11-23 Thread Tom Rini
On Fri, Nov 20, 2015 at 04:07:41PM +0530, Vignesh R wrote: > serial_init() reads global_data, since global_data is not yet > initialized, this can cause unwanted behaviour leading to QSPI XIP boot > hang. Also, since serial_init() is anyways called later from > boar_init_f(), it does not make sens

Re: [U-Boot] [U-Boot, v2, 2/5] gpt: doc: README: Update README entry for gpt verify extension

2015-11-23 Thread Tom Rini
On Fri, Nov 20, 2015 at 08:06:14AM +0100, Lukasz Majewski wrote: > ./doc/README.gpt entry has been updated to explain usage of "gpt verify" > command. > > Signed-off-by: Lukasz Majewski > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital sign

Re: [U-Boot] [U-Boot, v2, 1/5] gpt: command: Remove duplicated check for empty partition description

2015-11-23 Thread Tom Rini
On Fri, Nov 20, 2015 at 08:06:13AM +0100, Lukasz Majewski wrote: > Exactly the same check is performed in set_gpt_info() function executed > just after this check. > > Signed-off-by: Lukasz Majewski > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] pci: fix address range check in __pci_hose_phys_to_bus()

2015-11-23 Thread Tom Rini
On Wed, Nov 18, 2015 at 03:05:06PM +0100, Marcel Ziswiler wrote: > The address range check may overflow if the memory region is located at > the top of the 32-bit address space. This can e.g. be seen on TK1 if > using the E1000 gigabit Ethernet driver where start and size are both > 0x8000 lea

Re: [U-Boot] part:efi: add bootable parameter in gpt command

2015-11-23 Thread Tom Rini
On Tue, Nov 17, 2015 at 11:36:52AM +0100, Patrick Delaunay wrote: > The optional parameter bootable is added in gpt command to set the > partition attribute flag "Legacy BIOS bootable" > > This flag is used in extlinux and so in with distro to select > the boot partition where is located the conf

Re: [U-Boot] [U-Boot, 4/4, v2] lib/tiny-printf.c: Support numbers bigger than 0xffff and misc updates

2015-11-23 Thread Tom Rini
On Mon, Nov 16, 2015 at 03:26:34PM +0100, Stefan Roese wrote: > With this patch now, the tiny printf() function also supports numbers > bigger than 0x. Additionally the code is simplified a bit and > some static variables are moved to function parameters. Also the > upper case hex variable out

Re: [U-Boot] [U-Boot, 1/4, v2] common/console.c: Drop sandbox special-case console code

2015-11-23 Thread Tom Rini
On Mon, Nov 16, 2015 at 03:26:31PM +0100, Stefan Roese wrote: > As done in commit da229e4e [sandbox: Drop special-case sandbox console code], > this patch drops the sandbox special-case code in vprintf() that was > missed by Simon at that time. > > Signed-off-by: Stefan Roese > Cc: Simon Glass

Re: [U-Boot] [U-Boot, 4/6] gpt: doc: Update gpt command's help description

2015-11-23 Thread Tom Rini
On Fri, Nov 13, 2015 at 07:42:10AM +0100, Lukasz Majewski wrote: > Signed-off-by: Lukasz Majewski > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH v2 0/5] gpt: command: Add support for "gpt verify" command

2015-11-23 Thread Tom Rini
On Fri, Nov 20, 2015 at 08:06:12AM +0100, Lukasz Majewski wrote: > Up till now "gpt" command was only able to write (i.e. restore) GPT > partition on specified medium with information provided at "$partitions" > env variable. > > This patch series adds complementary feature - namely "gpt verify",

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

2015-11-23 Thread Tom Rini
On Mon, Nov 23, 2015 at 02:53:22PM +0100, Andreas Bießmann wrote: > Hi Tom, > > please pull from u-boot-avr32/master > > Andreas > > The following changes since commit d018cd20b3d70e9deba8dbf2643853edfc977dff: > > sunxi: Update new defconfigs (2015-11-22 10:46:25 -0500) > > are available in

Re: [U-Boot] [U-Boot, 2/4, v2] common/console.c: Small coding style cleanup

2015-11-23 Thread Tom Rini
On Mon, Nov 16, 2015 at 03:26:32PM +0100, Stefan Roese wrote: > Change some comments to match the U-Boot coding style rules. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 10/10] ARM: socfpga: arria10: add support for building Arria10

2015-11-23 Thread Dinh Nguyen
On 11/23/2015 09:38 AM, Marek Vasut wrote: > On Monday, November 23, 2015 at 03:36:14 PM, Dinh Nguyen wrote: >> On 11/20/2015 06:49 AM, Marek Vasut wrote: >>> On Friday, November 20, 2015 at 12:28:47 AM, Dinh Nguyen wrote: On 11/19/2015 04:45 PM, Marek Vasut wrote: > On Thursday, November

Re: [U-Boot] [PATCH] ARM: zynq: Fix location of stack and malloc areas

2015-11-23 Thread Moritz Fischer
On Mon, Nov 23, 2015 at 7:41 AM, Michal Simek wrote: > The patch > "board_init: Change the logic to setup malloc_base" > (sha1: 9ac4fc82071ce346e3885118242ff45d22f69b82) > breaks SPL for Zynq because it puts early alloc area on the stack which > caused that stack was decreased by CONFIG_SYS_MALLOC

Re: [U-Boot] [PATCH] Revert "net: phy: delay only if reset handler is registered"

2015-11-23 Thread Jörg Krause
On Mo, 2015-11-23 at 16:16 -0200, Fabio Estevam wrote: > Hi Jörg , > > On Fri, Nov 20, 2015 at 6:37 PM, Fabio Estevam > wrote: > > > Ok, I will test your proposal below on Monday when I get access to > > my > > mx6sxsabresd, thanks. > > Your proposal worked fine, thanks. Will send it as a forma

Re: [U-Boot] [PATCH V2] arm: novena: Switch novena to config_distro_bootcmd

2015-11-23 Thread Vagrant Cascadian
On 2015-11-10, Marek Vasut wrote: > Switch Novena to distro bootcmd, so it can be used with debian easily. > diff --git a/include/configs/novena.h b/include/configs/novena.h > index 718989f..3bb406d 100644 > --- a/include/configs/novena.h > +++ b/include/configs/novena.h > @@ -58,7 +59,7 @@ > /*

Re: [U-Boot] PCIE_MEM_BUS for Freescale SoC

2015-11-23 Thread York Sun
On 11/23/2015 09:07 AM, Scott Wood wrote: > On Mon, 2015-11-23 at 09:00 -0800, York Sun wrote: >> >> On 11/23/2015 08:24 AM, Scott Wood wrote: >>> On Sat, 2015-11-21 at 15:29 -0800, York Sun wrote: On 11/21/2015 02:55 PM, York Sun wrote: > Roy, > > Do you remember the reason

Re: [U-Boot] [PATCH V2] ARM: tegra: refactor common Kconfig options

2015-11-23 Thread Tom Rini
On Mon, Nov 23, 2015 at 07:40:25PM +, Tom Warren wrote: > Simon, > > > -Original Message- > > From: Tom Rini [mailto:tr...@konsulko.com] > > Sent: Monday, November 23, 2015 12:08 PM > > To: Simon Glass > > Cc: Stephen Warren ; U-Boot Mailing List > b...@lists.denx.de>; Tom Warren ; S

Re: [U-Boot] [PATCH V2] ARM: tegra: refactor common Kconfig options

2015-11-23 Thread Tom Warren
Simon, > -Original Message- > From: Tom Rini [mailto:tr...@konsulko.com] > Sent: Monday, November 23, 2015 12:08 PM > To: Simon Glass > Cc: Stephen Warren ; U-Boot Mailing List b...@lists.denx.de>; Tom Warren ; Stephen Warren > > Subject: Re: [PATCH V2] ARM: tegra: refactor common Kconf

Re: [U-Boot] [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-11-23 Thread York Sun
On 11/09/2015 03:12 AM, Prabhakar Kushwaha wrote: > LS2080A is a prime personality of Freescale’s LS2085A. It is a non-AIOP > personality without support of DP-DDR, L2 switch, 1588, PCIe endpoint etc. > So renaming existing LS2085A code base to reflect LS2080A (Prime personality) > > Signed-off-

Re: [U-Boot] [PATCH V2] ARM: tegra: refactor common Kconfig options

2015-11-23 Thread Tom Rini
On Mon, Nov 23, 2015 at 11:38:30AM -0700, Simon Glass wrote: > Hi, > > On 23 November 2015 at 10:32, Stephen Warren wrote: > > From: Stephen Warren > > > > This makes it easier to select common options in a single place, rather > > than having to add them separately for different SoCs or archite

Re: [U-Boot] [PATCH 1/1] fsl_qspi: Pet the watchdog while reading/writing

2015-11-23 Thread York Sun
On 11/04/2015 12:19 AM, Alexander Stein wrote: > When reading a large blob. e.g. a linux kernel (several MiBs) a watchdog > timeout might occur meanwhile. So pet the watchdog while operating on > the flash. Alexander, On which platform was this watchdog issue found? > > Signed-off-by: Alexand

Re: [U-Boot] [PATCH 1/5][v2] armv8: usec2ticks function defined

2015-11-23 Thread Bansal Aneesh
> -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Thursday, November 19, 2015 10:26 PM > To: Bansal Aneesh-B39320 ; u-boot@lists.denx.de > Cc: Gupta Ruchika-R66431 ; Kushwaha Prabhakar- > B32579 > Subject: Re: [PATCH 1/5][v2] armv8: usec2ticks function defined >

Re: [U-Boot] [PATCH V2] ARM: tegra: refactor common Kconfig options

2015-11-23 Thread Simon Glass
Hi, On 23 November 2015 at 10:32, Stephen Warren wrote: > From: Stephen Warren > > This makes it easier to select common options in a single place, rather > than having to add them separately for different SoCs or architectures. > > The lists of select statements are now also sorted for easy sea

Re: [U-Boot] Riotboard FEC broken

2015-11-23 Thread Fabio Estevam
Hi Catalin, On Thu, Nov 5, 2015 at 9:10 AM, Catalin Crenguta wrote: > Hello, > > I have ran git bisect commit and found out that commit > 59370f3fcd135089c402c93720a87c688abe600c breaks FEC on Riotboard. > Reverting this change makes it working again. Does this changes fix the problem? --- a/bo

[U-Boot] [PATCH v2] mx6sxsabresd: Fix Ethernet PHY reset sequence

2015-11-23 Thread Fabio Estevam
From: Fabio Estevam Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is registered") Ethernet is no longer functional. This commit does not have an issue in itself, but it revelead a problem with the Ethernet initialization. Fix this by calling enable_fec_anatop_clock() earli

[U-Boot] [PATCH] mx6sxsabresd: Fix Ethernet PHY reset sequence

2015-11-23 Thread Fabio Estevam
From: Fabio Estevam Since commit 59370f3fcd1350 ("net: phy: delay only if reset handler is registered") Ethernet is no longer functional. This commit does not have an issue in itself, but it revelead a problem with the Ethernet initialization. Fix this by calling enable_fec_anatop_clock() earli

Re: [U-Boot] [PATCH] Revert "net: phy: delay only if reset handler is registered"

2015-11-23 Thread Fabio Estevam
Hi Jörg , On Fri, Nov 20, 2015 at 6:37 PM, Fabio Estevam wrote: > Ok, I will test your proposal below on Monday when I get access to my > mx6sxsabresd, thanks. Your proposal worked fine, thanks. Will send it as a formal patch. ___ U-Boot mailing list

Re: [U-Boot] [PATCH v5 0/8] dm: pci: tegra: Convert Tegra PCI to driver model

2015-11-23 Thread Stephen Warren
On 11/19/2015 08:26 PM, Simon Glass wrote: This series converts all Tegra boards to use driver model for PCI. The net effect should be no change in functionality. The series, Tested-by: Stephen Warren (On both Jetson TK1 and p2371-2180/Jetson TX1, tested PCIe Ethernet) __

[U-Boot] [PATCH V2] ARM: tegra: refactor common Kconfig options

2015-11-23 Thread Stephen Warren
From: Stephen Warren This makes it easier to select common options in a single place, rather than having to add them separately for different SoCs or architectures. The lists of select statements are now also sorted for easy searching. Signed-off-by: Stephen Warren Reviewed-by: Simon Glass --

Re: [U-Boot] [PATCH 2/2] usb: eth: add Realtek RTL8152B/RTL8153 driver

2015-11-23 Thread Stephen Warren
On 11/22/2015 08:09 PM, Simon Glass wrote: +Tom Hi Stephen, On 22 November 2015 at 10:09, Stephen Warren wrote: On 11/21/2015 09:50 AM, Simon Glass wrote: Hi, On 21 November 2015 at 00:27, Stephen Warren wrote: On 11/20/2015 10:38 AM, Marek Vasut wrote: On Friday, November 20, 2015 at 06

Re: [U-Boot] PCIE_MEM_BUS for Freescale SoC

2015-11-23 Thread York Sun
On 11/23/2015 09:07 AM, Scott Wood wrote: > On Mon, 2015-11-23 at 09:00 -0800, York Sun wrote: >> >> On 11/23/2015 08:24 AM, Scott Wood wrote: >>> On Sat, 2015-11-21 at 15:29 -0800, York Sun wrote: On 11/21/2015 02:55 PM, York Sun wrote: > Roy, > > Do you remember the reason

Re: [U-Boot] PCIE_MEM_BUS for Freescale SoC

2015-11-23 Thread Scott Wood
On Mon, 2015-11-23 at 09:00 -0800, York Sun wrote: > > On 11/23/2015 08:24 AM, Scott Wood wrote: > > On Sat, 2015-11-21 at 15:29 -0800, York Sun wrote: > > > > > > On 11/21/2015 02:55 PM, York Sun wrote: > > > > Roy, > > > > > > > > Do you remember the reason why we use different virtual memory

Re: [U-Boot] PCIE_MEM_BUS for Freescale SoC

2015-11-23 Thread York Sun
On 11/23/2015 08:24 AM, Scott Wood wrote: > On Sat, 2015-11-21 at 15:29 -0800, York Sun wrote: >> >> On 11/21/2015 02:55 PM, York Sun wrote: >>> Roy, >>> >>> Do you remember the reason why we use different virtual memory address >>> from pci >>> bus address with 36-bit? For example >>> >>> includ

Re: [U-Boot] [PATCH v2 4/5] arm: at91/spl: matrix: use matrix slave id macros

2015-11-23 Thread Andreas Bießmann
On 05.11.15 09:37, Wenyou Yang wrote: > To make matrix initialization code sharing with others, > use the matrix slave id macros, instead of hard-coding. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > > arch/arm/mach-at91/include/mach/sama5d4.

Re: [U-Boot] [PATCH v2 3/5] arm: at91/spl: matrix: remove security peripheral select code

2015-11-23 Thread Andreas Bießmann
On 05.11.15 09:37, Wenyou Yang wrote: > Remove the security peripheral select code, keep the default value > in these registers, that is, the peripheral address space is > configured as "Secured" access, it is suitable for SPL. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > ---

Re: [U-Boot] [PATCH v2 2/5] arm: at91/spl: matrix: remove matrix write protection code

2015-11-23 Thread Andreas Bießmann
On 05.11.15 09:37, Wenyou Yang wrote: > On processor reset, the matrix write protection is disabled, > so no need to disable/enable write protection when writing > the matrix registers. > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > > Changes in v2: None > > arch/arm/m

Re: [U-Boot] [PATCH v2 1/5] arm: at91/spl: matrix: move matrix init to separate file

2015-11-23 Thread Andreas Bießmann
On 05.11.15 09:37, Wenyou Yang wrote: > To make the matrix initialization code sharing with other SoCs, > move it from SAMA5D4 particular file, > mach-at91/armv7/sama5d4_devices.c to a separate file, > mach-at91/matrix.c > > Signed-off-by: Wenyou Yang Reviewed-by: Andreas Bießmann > --- > >

Re: [U-Boot] [PATCH v6] arm: atmel: Add SAMA5D2 Xplained board

2015-11-23 Thread Andreas Bießmann
Hi Wenyou, On 30.10.15 02:55, Wenyou Yang wrote: > The board supports following features: > - Boot media support: SD card/e.MMC/SPI flash, > - Support LCD display (optional, disabled by default), > - Support ethernet, > - Support USB mass storage. > > Signed-off-by: Wenyou Yang I'll fix a f

Re: [U-Boot] PCIE_MEM_BUS for Freescale SoC

2015-11-23 Thread Scott Wood
On Sat, 2015-11-21 at 15:29 -0800, York Sun wrote: > > On 11/21/2015 02:55 PM, York Sun wrote: > > Roy, > > > > Do you remember the reason why we use different virtual memory address > > from pci > > bus address with 36-bit? For example > > > > include/configs/P1022DS.h-496-#define CONFIG_SYS_PC

Re: [U-Boot] arm: socfpga: Repair SoCrates board

2015-11-23 Thread Marek Vasut
On Monday, November 23, 2015 at 03:12:48 PM, Jan Viktorin wrote: > Hello again, > > I have a couple of short questions bellow... > > On Fri, 20 Nov 2015 17:17:33 +0100 > > Marek Vasut wrote: > > [snip] > > +/* Booting Linux */ > > +#define CONFIG_BOOTDELAY 3 > > +#define CONFIG_BOOTFILE

[U-Boot] [PATCH V2] arm: socfpga: Repair SoCrates board

2015-11-23 Thread Marek Vasut
This board was constantly parasiting on the CV SoCDK, so split it into it's own separate directory. Moreover, the board config was missing important bits, like simple-bus support in SPL, the DRAM configuration was incorrect and the DTS was also missing the pre reloc bits. Signed-off-by: Marek Vasu

  1   2   >