Re: [U-Boot] [PATCH 1/2] spl: Make sure destination address is dma aligned when loading fit

2016-05-04 Thread Lokesh Vutla
On Wednesday 06 April 2016 05:32 PM, Lokesh Vutla wrote: > Peripherals like spi etc. uses DMA for transfers. So, when loading the fit > image the destination address should be dma aligned. After the v5 of my FS support for FIT[1], this patch is no more necessary. Patch 2 is alone sufficient.

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

2016-05-04 Thread Sriram Dash
>-Original Message- >From: Chin Liang See [mailto:cl...@altera.com] >Sent: Wednesday, May 04, 2016 3:15 PM >To: Stefan Roese ; Marek Vasut ; u- >b...@lists.denx.de >Cc: Dinh Nguyen ; Hans de Goede >; Stephen

[U-Boot] OMAP 3530 - BeagleBoard Rev. C4

2016-05-04 Thread Derald D. Woods
Hi Tom, Is anyone still attempting to boot the OMAP 3530 BeagleBoard with U-Boot master? In order to boot my BeagleBoard Rev. C4, I need to basically undefine CONFIG_SPL_EXT_SUPPORT and CONFIG_SYS_THUMB_BUILD. There is some background in this old thread from last year: -

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

2016-05-04 Thread Yang, Wenyou
Hi, On 2016/5/5 11:18, Simon Glass wrote: Hi, On May 4, 2016 21:15, "Yang, Wenyou" > wrote: > > Hi Simon, > > > -Original Message- > > From: s...@google.com [mailto:s...@google.com

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

2016-05-04 Thread Simon Glass
Hi, On May 4, 2016 21:15, "Yang, Wenyou" wrote: > > Hi Simon, > > > -Original Message- > > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > > Sent: 2016年5月5日 10:38 > > To: Yang, Wenyou > > Cc: h...@denx.de; U-Boot

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

2016-05-04 Thread Yang, Wenyou
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: 2016年5月5日 10:38 > To: Yang, Wenyou > Cc: h...@denx.de; U-Boot Mailing List ; Joe Hershberger > > Subject:

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

2016-05-04 Thread Simon Glass
Hi, On 4 May 2016 at 01:32, Yang, Wenyou wrote: > > Hi > > > -Original Message- > > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Heiko > > Schocher > > Sent: 2016年5月3日 15:54 > > To: Simon Glass > > Cc: U-Boot Mailing List

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

2016-05-04 Thread Simon Glass
Hi Joe, On 3 May 2016 at 14:54, Joe Hershberger wrote: > On Tue, May 3, 2016 at 1:40 AM, Simon Glass wrote: >> Add driver-model support to this driver. The old code remains for now so >> that we can convert boards one at a time. >> >> Signed-off-by:

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

2016-05-04 Thread Chin Liang See
On Wed, 2016-05-04 at 12:00 +0200, Stefan Roese wrote: > On 04.05.2016 11:45, Chin Liang See wrote: > > On Wed, 2016-05-04 at 09:41 +0200, Stefan Roese wrote: > > > On 03.05.2016 22:51, Marek Vasut wrote: > > > > Some devices, like the SanDisk Cruzer Pop need some time to > > > > process > > > >

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

2016-05-04 Thread Lev Iserovich
Hi Joe, Thanks for fixing that up, I'll try to stick to patman in the future. --Lev On 05/03/2016 03:52 PM, Joe Hershberger wrote: Hi Lev, I had already applied your previous patch with a few minor adjustments. Please look at what's in my tree and send a patch on top of that if you care to

[U-Boot] how to feed kernel, initrd and rootfs into uboot

2016-05-04 Thread JPT
Hi, I am having difficulties installing openwrt on an old router box. The guide stops after u-boot is up and running. https://wiki.openwrt.org/toh/arcadyan/arv752dpw#brnboot I know how to load kernel image etc into RAM, but it does not boot the kernel. What am I doing wrong? I already posted

Re: [U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

2016-05-04 Thread Chen-Yu Tsai
On Thu, May 5, 2016 at 6:36 AM, André Przywara wrote: > On 04/05/16 23:15, Peter Robinson wrote: >> On Wed, May 4, 2016 at 11:05 PM, André Przywara >> wrote: >>> On 04/05/16 22:53, Peter Robinson wrote: On Wed, May 4, 2016 at 10:15 PM, Andre

Re: [U-Boot] [PATCH] malloc: improve memalign fragmentation fix

2016-05-04 Thread Tom Rini
On Mon, Apr 25, 2016 at 03:55:42PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Commit 4f144a416469 "malloc: work around some memalign fragmentation > issues" enhanced memalign() so that it can succeed in more cases where > heap fragmentation is present. However,

Re: [U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

2016-05-04 Thread André Przywara
On 04/05/16 23:15, Peter Robinson wrote: > On Wed, May 4, 2016 at 11:05 PM, André Przywara > wrote: >> On 04/05/16 22:53, Peter Robinson wrote: >>> On Wed, May 4, 2016 at 10:15 PM, Andre Przywara >>> wrote: This series improves the Pine64

Re: [U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

2016-05-04 Thread Peter Robinson
On Wed, May 4, 2016 at 11:05 PM, André Przywara wrote: > On 04/05/16 22:53, Peter Robinson wrote: >> On Wed, May 4, 2016 at 10:15 PM, Andre Przywara >> wrote: >>> This series improves the Pine64 support. >>> The first patch fixes a build break,

Re: [U-Boot] [PATCH 6/6] Pine64: rename defconfig

2016-05-04 Thread André Przywara
On 04/05/16 22:46, Peter Robinson wrote: > On Wed, May 4, 2016 at 10:15 PM, Andre Przywara > wrote: >> Rename the defconfig file for the Pine64 from pine64_plus_defconfig to >> pine64_defconfig. >> The differences between the two versions (more RAM and a different >>

Re: [U-Boot] Pull request, u-boot-tegra/master

2016-05-04 Thread Tom Rini
On Wed, May 04, 2016 at 02:36:41PM -0700, Tom Warren wrote: > Tom, > > Please pull u-boot-tegra/master into U-Boot/master. Thanks! > > All tegra builds are OK (32-bit and 64-bit), and Stephen reports that tests > of u-boot-tegra/master all pass. > > The following changes since commit

Re: [U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

2016-05-04 Thread André Przywara
On 04/05/16 22:53, Peter Robinson wrote: > On Wed, May 4, 2016 at 10:15 PM, Andre Przywara > wrote: >> This series improves the Pine64 support. >> The first patch fixes a build break, see details in the commit message. >> Patch 2/6 reverts a no longer needed memory

Re: [U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

2016-05-04 Thread Peter Robinson
On Wed, May 4, 2016 at 10:15 PM, Andre Przywara wrote: > This series improves the Pine64 support. > The first patch fixes a build break, see details in the commit message. > Patch 2/6 reverts a no longer needed memory reservation, as the firmware > bits that used to live

Re: [U-Boot] [PATCH 6/6] Pine64: rename defconfig

2016-05-04 Thread Peter Robinson
On Wed, May 4, 2016 at 10:15 PM, Andre Przywara wrote: > Rename the defconfig file for the Pine64 from pine64_plus_defconfig to > pine64_defconfig. > The differences between the two versions (more RAM and a different > Ethernet PHY) don't justify two board versions, so

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

2016-05-04 Thread Marek Vasut
On 05/04/2016 07:08 PM, Stephen Warren wrote: > On 05/03/2016 02:51 PM, Marek Vasut wrote: >> Abort the request in case any of the tokens in the packet failed to >> complete transfer 10 times. This is a precaution needed so that we >> don't end in endless loop when scanning the bus with some

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

2016-05-04 Thread Marek Vasut
On 05/04/2016 11:34 PM, Stephen Warren wrote: > On 05/04/2016 03:32 PM, Marek Vasut wrote: >> Increase the query delay, otherwise some sticks are not detected. >> The problem shows up on the USB bus analyzer such that the stick >> takes longer time to switch from FS mode to HS mode than the code

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-04 Thread Marek Vasut
On 05/04/2016 04:06 PM, Diego wrote: > In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: >> On 05/04/2016 11:13 AM, Diego wrote: >>> In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: On 04/29/2016 09:58 AM, Diego wrote: > For me it fails for files bigger than

[U-Boot] Pull request, u-boot-tegra/master

2016-05-04 Thread Tom Warren
Tom, Please pull u-boot-tegra/master into U-Boot/master. Thanks! All tegra builds are OK (32-bit and 64-bit), and Stephen reports that tests of u-boot-tegra/master all pass. The following changes since commit b38eaec53570821043c94ad44eabcb23747d9969: include/configs: Numerous typo fixes:

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

2016-05-04 Thread Stephen Warren
On 05/04/2016 03:32 PM, Marek Vasut wrote: Increase the query delay, otherwise some sticks are not detected. The problem shows up on the USB bus analyzer such that the stick takes longer time to switch from FS mode to HS mode than the code allows when the controller starts from completely off

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

2016-05-04 Thread Marek Vasut
Increase the query delay, otherwise some sticks are not detected. The problem shows up on the USB bus analyzer such that the stick takes longer time to switch from FS mode to HS mode than the code allows when the controller starts from completely off state. Signed-off-by: Marek Vasut

[U-Boot] [PATCH 6/6] Pine64: rename defconfig

2016-05-04 Thread Andre Przywara
Rename the defconfig file for the Pine64 from pine64_plus_defconfig to pine64_defconfig. The differences between the two versions (more RAM and a different Ethernet PHY) don't justify two board versions, so lets stick with the generic name and try to differentiate between the versions at runtime

[U-Boot] [PATCH 4/6] arm64: sunxi: adjust default load addresses

2016-05-04 Thread Andre Przywara
As arm64 has slightly different expectations about load addresses, lets use a different set of default addresses for things like the kernel. As arm64 kernels don't come with a decompressor right now, reserve some more space for really big uncompressed kernels. Signed-off-by: Andre Przywara

[U-Boot] [PATCH 1/6] arm/arm64: Move barrier instructions into separate header

2016-05-04 Thread Andre Przywara
Commit bfb33f0bc45b ("sunxi: mctl_mem_matches: Add missing memory barrier") broke compilation for the Pine64, as dram_helper.c now includes , which does not compile on arm64. Fix this by moving all barrier instructions into a separate header file, which can easily be shared between arm and arm64.

[U-Boot] [PATCH 3/6] arm64: sunxi: reserve space for boot0 header

2016-05-04 Thread Andre Przywara
The Allwinner provided boot0 boot loader requires a header before the U-Boot binary to both check its validity and to find other blobs to load. There is a tool called boot0img which fills the header appropriately. Reserve some space at the beginning of the binary to later hold the header if

[U-Boot] [PATCH 5/6] arm64: Pine64: update FDT files

2016-05-04 Thread Andre Przywara
The originally committed .dts files for the Pine64 were from an early proof-of-concept version and should have never been committed upstream. Replace them with much more mature versions, which also use a different naming scheme. Please note that at this point there is at least one binding which

[U-Boot] [PATCH 2/6] Revert "sunxi: Reserve ATF memory space on A64"

2016-05-04 Thread Andre Przywara
The ARM Trusted Firmware (ATF) code now lives in SRAM on the Pine64/A64, so we can claim the whole of DRAM for OS use. This reverts commit 3ffe39ed2b66af71c7271d0cef2a248b5bf7dfdb. Signed-off-by: Andre Przywara --- board/sunxi/board.c | 9 - 1 file changed, 9

[U-Boot] [PATCH 0/6] arm64: Pine64 fixes and updates

2016-05-04 Thread Andre Przywara
This series improves the Pine64 support. The first patch fixes a build break, see details in the commit message. Patch 2/6 reverts a no longer needed memory reservation, as the firmware bits that used to live in DRAM now can reside in SRAM. To allow U-Boot to be easily loaded by Allwinner's boot0

[U-Boot] [PATCH] gpio: at91: Fix pullup/pulldown configuration on PIO3

2016-05-04 Thread Marek Vasut
On systems with PIO3 (SAMA5D3/D4/..), the pullup and pulldown configuration is mutualy exclusive. This patch assures that the opposite pull resistor gets disabled before the requested pull resistor is enabled. This changes behavior of at91_set_pio_pulldown() such that the pullup is only disabled

Re: [U-Boot] [PATCH V2] buildman: allow more incremental building

2016-05-04 Thread Simon Glass
On 4 May 2016 at 14:27, Tom Rini wrote: > On Wed, May 04, 2016 at 01:30:47PM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 4 May 2016 at 13:09, Stephen Warren wrote: >> > On 05/04/2016 12:58 PM, Tom Rini wrote: >> >> >> >> On Wed, May 04, 2016 at

Re: [U-Boot] [PATCH] pci: tegra: fix DM conversion issues on Tegra20

2016-05-04 Thread Tom Warren
I'll add it to u-boot-tegra/master for the next PR. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, May 04, 2016 12:00 PM > To: Tom Warren > Cc: u-boot@lists.denx.de; Simon Glass ; Stephen Warren >

Re: [U-Boot] [PATCH] ARM: tegra: import latest Jetson TK1 spreadsheet

2016-05-04 Thread Tom Warren
I'll take a look. Thanks. > -Original Message- > From: Stephen Warren [mailto:swar...@wwwdotorg.org] > Sent: Wednesday, May 04, 2016 12:01 PM > To: Tom Warren > Cc: u-boot@lists.denx.de; Simon Glass ; Stephen Warren > > Subject:

Re: [U-Boot] [PATCH V2] buildman: allow more incremental building

2016-05-04 Thread Tom Rini
On Wed, May 04, 2016 at 01:30:47PM -0600, Simon Glass wrote: > Hi Tom, > > On 4 May 2016 at 13:09, Stephen Warren wrote: > > On 05/04/2016 12:58 PM, Tom Rini wrote: > >> > >> On Wed, May 04, 2016 at 12:55:15PM -0600, Stephen Warren wrote: > >>> > >>> On 04/11/2016 10:48

Re: [U-Boot] [PATCH 1/2] dm: core: allow drivers to refuse to bind

2016-05-04 Thread Simon Glass
Hi Stephen, On 4 May 2016 at 14:02, Stephen Warren wrote: > On 05/04/2016 01:48 PM, Simon Glass wrote: >> >> +Tom Rini >> >> Hi Stephen, >> >> On 4 May 2016 at 13:46, Stephen Warren wrote: >>> >>> On 05/04/2016 01:31 PM, Simon Glass wrote:

Re: [U-Boot] [PATCH 1/2] dm: core: allow drivers to refuse to bind

2016-05-04 Thread Stephen Warren
On 05/04/2016 01:48 PM, Simon Glass wrote: +Tom Rini Hi Stephen, On 4 May 2016 at 13:46, Stephen Warren wrote: On 05/04/2016 01:31 PM, Simon Glass wrote: Hi Stephen, On 4 May 2016 at 12:57, Stephen Warren wrote: On 04/19/2016 04:19 PM,

Re: [U-Boot] [PATCH 1/2] dm: core: allow drivers to refuse to bind

2016-05-04 Thread Simon Glass
+Tom Rini Hi Stephen, On 4 May 2016 at 13:46, Stephen Warren wrote: > On 05/04/2016 01:31 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 4 May 2016 at 12:57, Stephen Warren wrote: >>> >>> On 04/19/2016 04:19 PM, Stephen Warren wrote:

Re: [U-Boot] [PATCH 1/2] dm: core: allow drivers to refuse to bind

2016-05-04 Thread Stephen Warren
On 05/04/2016 01:31 PM, Simon Glass wrote: Hi Stephen, On 4 May 2016 at 12:57, Stephen Warren wrote: On 04/19/2016 04:19 PM, Stephen Warren wrote: From: Stephen Warren In some cases, drivers may not want to bind to a device. Allow bind() to

Re: [U-Boot] [PATCH 1/2] dm: core: allow drivers to refuse to bind

2016-05-04 Thread Simon Glass
Hi Stephen, On 4 May 2016 at 12:57, Stephen Warren wrote: > On 04/19/2016 04:19 PM, Stephen Warren wrote: >> >> From: Stephen Warren >> >> In some cases, drivers may not want to bind to a device. Allow bind() to >> return -ENODEV in this case, and

Re: [U-Boot] [PATCH V2] buildman: allow more incremental building

2016-05-04 Thread Simon Glass
Hi Tom, On 4 May 2016 at 13:09, Stephen Warren wrote: > On 05/04/2016 12:58 PM, Tom Rini wrote: >> >> On Wed, May 04, 2016 at 12:55:15PM -0600, Stephen Warren wrote: >>> >>> On 04/11/2016 10:48 AM, Stephen Warren wrote: From: Stephen Warren

Re: [U-Boot] [PATCH V2 1/2] mtd: cqspi: Simplify indirect write code

2016-05-04 Thread Marek Vasut
On 05/04/2016 09:04 PM, Pavel Machek wrote: > Hi! > >> The indirect write code is buggy pile of nastiness which fails horribly >> when the system runs fast enough to saturate the controller. The failure >> results in some pages (256B) not being written to the flash. This can be >> observed on

Re: [U-Boot] [PATCH V2] buildman: allow more incremental building

2016-05-04 Thread Stephen Warren
On 05/04/2016 12:58 PM, Tom Rini wrote: On Wed, May 04, 2016 at 12:55:15PM -0600, Stephen Warren wrote: On 04/11/2016 10:48 AM, Stephen Warren wrote: From: Stephen Warren One use-case for buildman is to continually run it interactively after each small step in a large

Re: [U-Boot] [PATCH V2 1/2] mtd: cqspi: Simplify indirect write code

2016-05-04 Thread Pavel Machek
Hi! > The indirect write code is buggy pile of nastiness which fails horribly > when the system runs fast enough to saturate the controller. The failure > results in some pages (256B) not being written to the flash. This can be > observed on systems which run with Dcache enabled and L2 cache

Re: [U-Boot] [PATCH] malloc: improve memalign fragmentation fix

2016-05-04 Thread Stephen Warren
On 04/25/2016 03:55 PM, Stephen Warren wrote: From: Stephen Warren Commit 4f144a416469 "malloc: work around some memalign fragmentation issues" enhanced memalign() so that it can succeed in more cases where heap fragmentation is present. However, it did not solve as many

Re: [U-Boot] [PATCH] ARM: tegra: import latest Jetson TK1 spreadsheet

2016-05-04 Thread Stephen Warren
On 04/21/2016 04:03 PM, Stephen Warren wrote: From: Stephen Warren This imports v11 of "Jetson TK1 Development Platform Pin Mux" from https://developer.nvidia.com/embedded/downloads. The new version defines the mux option for the MIPI pad ctrl selection. The OWR pin no

Re: [U-Boot] [PATCH] pci: tegra: fix DM conversion issues on Tegra20

2016-05-04 Thread Stephen Warren
On 04/20/2016 03:46 PM, Stephen Warren wrote: From: Stephen Warren Tegra20's PCIe controller has a couple of quirks. There are workarounds in the driver for these, but they don't work after the DM conversion: 1) The PCI_CLASS value is wrong in HW. This is worked around in

Re: [U-Boot] [PATCH V2] buildman: allow more incremental building

2016-05-04 Thread Tom Rini
On Wed, May 04, 2016 at 12:55:15PM -0600, Stephen Warren wrote: > On 04/11/2016 10:48 AM, Stephen Warren wrote: > >From: Stephen Warren > > > >One use-case for buildman is to continually run it interactively after > >each small step in a large refactoring operation. This gives

Re: [U-Boot] [PATCH 1/2] dm: core: allow drivers to refuse to bind

2016-05-04 Thread Stephen Warren
On 04/19/2016 04:19 PM, Stephen Warren wrote: From: Stephen Warren In some cases, drivers may not want to bind to a device. Allow bind() to return -ENODEV in this case, and don't treat this as an error. This can be useful in situations where some information source other

Re: [U-Boot] [PATCH V2] buildman: allow more incremental building

2016-05-04 Thread Stephen Warren
On 04/11/2016 10:48 AM, Stephen Warren wrote: From: Stephen Warren One use-case for buildman is to continually run it interactively after each small step in a large refactoring operation. This gives more immediate feedback than making a number of commits and then going back

Re: [U-Boot] [PATCH] dm: allow setting driver_data before/during bind

2016-05-04 Thread Stephen Warren
On 05/01/2016 01:27 PM, Simon Glass wrote: Hi Stephen, On 28 April 2016 at 17:08, Stephen Warren wrote: From: Stephen Warren This will allow a driver's bind function to use the driver data. One example is the Tegra186 GPIO driver, which

[U-Boot] [PATCH 3/4] net: Move the VCI and client arch values to Kconfig

2016-05-04 Thread Alexander Graf
We have a bunch of boards that define their vendor class identifier and client archs in the board files or in the distro config. Move everything to the generic Kconfig options. We're missing the distinction between i386 and x86_64, as I couldn't find any config variable that would tell us the

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

2016-05-04 Thread Stephen Warren
On 05/03/2016 02:51 PM, Marek Vasut wrote: Increase the query delay, otherwise some sticks are not detected. The problem shows up on the USB bus analyzer such that the stick takes longer time to switch from FS mode to HS mode than the code allows. diff --git a/common/usb_hub.c

[U-Boot] [PATCH 1/4] efi_loader: Add network access support

2016-05-04 Thread Alexander Graf
We can now successfully boot EFI applications from disk, but users may want to also run them from a PXE setup. This patch implements rudimentary network support, allowing a payload to send and receive network packets. With this patch, I was able to successfully run grub2 with network access

[U-Boot] [PATCH 2/4] bootp: Move vendor class identifier set to function

2016-05-04 Thread Alexander Graf
Both the dhcp as well as the bootp case add vendor class identifier parameters into their packets. Let's move that into a separate function to make overlaying easier. Signed-off-by: Alexander Graf --- net/bootp.c | 26 +- 1 file changed, 13 insertions(+),

[U-Boot] [PATCH 0/4] efi_loader: PXE boot support

2016-05-04 Thread Alexander Graf
One of the most common boot cases with EFI on arm64 is to boot from the network using PXE boot. While TianoCore implements that just fine, we were lacking support for it in U-Boot so far. But no longer! Here is a patch set, enabling PXE booting of EFI payloads. With this patch set, I was

[U-Boot] [PATCH 4/4] distro: Add efi pxe boot code

2016-05-04 Thread Alexander Graf
Now that we can expose network functionality to EFI applications, the logical next step is to load them via pxe to execute them as well. This patch adds the necessary bits to the distro script to automatically load and execute EFI payloads. It identifies the dhcp client as a uEFI capable PXE

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

2016-05-04 Thread Stephen Warren
On 05/03/2016 02:51 PM, Marek Vasut wrote: The Kingston DT Ultimate USB 3.0 stick is sensitive to this first Get Descriptor request and if the request is not in a separate microframe, the stick refuses to operate. Add slight delay, which is enough for one microframe to pass on any USB spec

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

2016-05-04 Thread Stephen Warren
On 05/03/2016 02:51 PM, Marek Vasut wrote: Abort the request in case any of the tokens in the packet failed to complete transfer 10 times. This is a precaution needed so that we don't end in endless loop when scanning the bus with some braindead devices. Does this affect USB keyboards when

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

2016-05-04 Thread Stefan Roese
On 04.05.2016 13:39, Marek Vasut wrote: On 05/04/2016 10:07 AM, Stefan Roese wrote: On 03.05.2016 22:51, Marek Vasut wrote: Increase the query delay, otherwise some sticks are not detected. The problem shows up on the USB bus analyzer such that the stick takes longer time to switch from FS

Re: [U-Boot] [PATCH] Fix various typos, scattered over the code.

2016-05-04 Thread Robert P. J. Day
On Wed, 4 May 2016, James Chargin wrote: > >/* > > * DDR controller 0 & 1 are on memory complex 0 > > -* DDR controler 2 is on memory complext 1 > > +* DDR controller 2 is on memory complext 1 > > Should this be > > > +* DDR controller 2 is on memory complex 1 well, of

Re: [U-Boot] [PATCH] Fix various typos, scattered over the code.

2016-05-04 Thread James Chargin
Hi Robert, I appreciate this work on typos. Thanks. On 05/04/2016 01:47 AM, Robert P. J. Day wrote: Spelling corrections for (among other things): * environment * override * variable * ftd (should be "fdt", for flattened device tree) * embedded * FTDI * emulation * controller --- the

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

2016-05-04 Thread Michal Simek
On 4.5.2016 14:04, Lokesh Vutla wrote: > Detect a FIT when loading from a FAT File system and handle it using the > new FIT SPL support. > > Signed-off-by: Lokesh Vutla > --- > common/spl/spl_fat.c | 31 +-- > 1 file changed, 29 insertions(+), 2

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

2016-05-04 Thread Michal Simek
On 4.5.2016 14:04, Lokesh Vutla wrote: > This provides a way to load a FIT containing U-Boot and a selection of device > tree files from a File system. Making sure that all the reads and writes > are aligned to their respective needs. > > Signed-off-by: Lokesh Vutla > --- >

Re: [U-Boot] [PATCH] ARM: zynq: load u-boot.img whether CONFIG_OF_SEPARATE is defined or not

2016-05-04 Thread Masahiro Yamada
Hi Michal, Does this patch look good? or does it have impact on your customers? 2016-04-14 6:52 GMT+09:00 Masahiro Yamada : > Since commit ad1ecd2063da ("fdt: Build a U-Boot binary without device > tree"), u-boot-dtb.img is identical to u-boot.img, so SPL can

[U-Boot] [PATCH] mmc: Fix error in RPMB code

2016-05-04 Thread Marek Vasut
Since we do not build any board with CONFIG_SUPPORT_EMMC_RPMB , this piece of code evaded conversion. Fix the following compiler error: cmd/mmc.c: In function 'do_mmcrpmb': cmd/mmc.c:316:32: error: 'struct blk_desc' has no member named 'part_num' original_part = mmc->block_dev.part_num;

[U-Boot] [PATCH 2/7] armv8: fsl-layerscape: Avoid LS1043A specifc defines

2016-05-04 Thread Prabhakar Kushwaha
Other than LS1043A, LS1012A also Chassis Gen2 Architecture compliant. So Avoid LS1043A specific defines in arch/arm Signed-off-by: Prabhakar Kushwaha --- arch/arm/cpu/armv8/fsl-layerscape/soc.c | 2 +-

[U-Boot] [PATCH 7/7] armv8: ls1012a: Add support of ls1012ardb board

2016-05-04 Thread Prabhakar Kushwaha
QorIQ LS1012A Reference Design System (LS1012ARDB) is a high-performance development platform, with a complete debugging environment. The LS1012ARDB board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes

[U-Boot] [PATCH 4/7] armv8: fsl-layerscape: fix compile warning "rcw_tmp"

2016-05-04 Thread Prabhakar Kushwaha
arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c: In function ‘get_sys_info’: arch/arm/cpu/armv8/fsl-layerscape/fsl_lsch2_speed.c:29:6: warning: unused variable ‘rcw_tmp’ [-Wunused-variable] u32 rcw_tmp; Signed-off-by: Prabhakar Kushwaha ---

[U-Boot] [PATCH 6/7] armv8: ls1012a: Add support of ls1012aqds board

2016-05-04 Thread Prabhakar Kushwaha
QorIQ LS1012A Development System (LS1012AQDS) is a high-performance development platform, with a complete debugging environment. The LS1012AQDS board supports the QorIQ LS1012A processor and is optimized to support the high-bandwidth DDR3L memory and a full complement of high-speed SerDes ports.

[U-Boot] [PATCH 1/7] armv8: fsl-layerscape: Put SMMU config code in SMMU_BASE

2016-05-04 Thread Prabhakar Kushwaha
It is not mandatory for Layerscape SoCs to have SMMU. SoCs like LS1012A are layerscape SoC without SMMU IP. So put SMMU configuration code under SMMU_BASE. Signed-off-by: Prabhakar Kushwaha --- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S | 2 ++ 1 file changed, 2

[U-Boot] [PATCH 5/7] armv8: fsl-layerscape: Add support of QorIQ LS1012A SoC

2016-05-04 Thread Prabhakar Kushwaha
The QorIQ LS1012A processor, optimized for battery-backed or USB-powered, integrates a single ARM Cortex-A53 core with a hardware packet forwarding engine and high-speed interfaces to deliver line-rate networking performance. This patch add support of LS1012A SoC along with - Update platform &

[U-Boot] [PATCH 0/7] armv8: fsl-layerscape: Add support of LS1012A SoC and platform

2016-05-04 Thread Prabhakar Kushwaha
The QorIQ LS1012A processor is a new Freescale' SoC optimized for battery-backed or USB-powered, integrates a single ARM Cortex-A53 core with a hardware packet forwarding engine and high-speed interfaces to deliver line-rate networking performance. LS1012AQDS, LS1012ARDB are a high-performance

[U-Boot] [PATCH 3/7] driver: mtd: spi: Adding support for QSPI flash

2016-05-04 Thread Prabhakar Kushwaha
Serial number, vendor id and page size are added for QSPI flash common on both LS1012AQDS and LS1012ARDB i.e. S25FS512SDSMFI011. Signed-off-by: Pratiyush Mohan Srivastava Signed-off-by: Calvin Johnson Signed-off-by: Mingkai Hu

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-04 Thread Diego
In data mercoledì 4 maggio 2016 13:45:57, Marek Vasut ha scritto: > On 05/04/2016 11:13 AM, Diego wrote: > > In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: > >> On 04/29/2016 09:58 AM, Diego wrote: > >>> For me it fails for files bigger than 16MB: > >> Ha ok, I see it now.

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

2016-05-04 Thread Michal Simek
On 4.5.2016 14:04, Lokesh Vutla wrote: > sectors field is not being updated when reading fdt from fit image. Because of > this size_of(u-boot.bin) is being read when reading fdt. Fixing it by updating > the sectors field properly. > > Signed-off-by: Lokesh Vutla > --- >

Re: [U-Boot] [PATCH] imx6: cache: disable L2 before touching Auxiliary Control Register

2016-05-04 Thread Stefano Babic
Hi Peng, On 04/05/2016 09:27, Peng Fan wrote: > From: Peng Fan > > According PL310 TRM, Auxiliary Control Register > " > The register must be written to using a secure access, and it can be > read using either a secure or a NS access. If you write to this register > with a NS

Re: [U-Boot] [PATCH] tools: env: fix config file loading in env library

2016-05-04 Thread Stefano Babic
On 29/04/2016 22:00, Anatolij Gustschin wrote: > env library is broken as the config file pointer is only initialized > in main(). When running in the env library parse_config() fails: > > Cannot parse config file '(null)': Bad address > > Ensure that config file pointer is always initialized.

[U-Boot] [RFC PATCH] spl: Setup default value for OF_LIST

2016-05-04 Thread Michal Simek
OF_LIST can't remain empty that's why setup it up to default DTB. If it is empty u-boot.img is created without FDT partition: For example: ./tools/mkimage -f auto -A arm -T firmware -C none -O u-boot -a 0x800 -e 0 -n "U-Boot 2016.05-rc3 ..." -E -b -d u-boot-nodtb.bin u-boot.img Can't set

[U-Boot] [PATCH] spl: fit: Print error message when FDT is not present

2016-05-04 Thread Michal Simek
When FDT is not present in the image user doesn't get any error what's wrong. Print error message if LIBCOMMON_SUPPORT is enabled. Signed-off-by: Michal Simek Seris-cc: uboot --- common/spl/spl_fit.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff

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

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

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

2016-05-04 Thread Lokesh Vutla
This provides a way to load a FIT containing U-Boot and a selection of device tree files from a File system. Making sure that all the reads and writes are aligned to their respective needs. Signed-off-by: Lokesh Vutla --- common/spl/spl_fit.c | 76

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

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

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

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

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

2016-05-04 Thread Marek Vasut
On 05/04/2016 09:41 AM, Stefan Roese wrote: > On 03.05.2016 22:51, Marek Vasut wrote: >> Some devices, like the SanDisk Cruzer Pop need some time to process >> the Set Configuration request, so wait a little until they are ready. >> >> Signed-off-by: Marek Vasut >> Cc: Chin Liang

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

2016-05-04 Thread Marek Vasut
On 05/04/2016 12:07 PM, Daniel Schwierzeck wrote: > > > Am 03.05.2016 um 23:28 schrieb Marek Vasut: >> On 04/15/2016 01:19 PM, Daniel Schwierzeck wrote: >>> >>> >>> Am 12.04.2016 um 05:09 schrieb Wills Wang: These series of patch based on top of mips/next, it fix some defects on

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-05-04 Thread Marek Vasut
On 05/04/2016 11:13 AM, Diego wrote: > In data martedì 3 maggio 2016 23:01:10, Marek Vasut ha scritto: >> On 04/29/2016 09:58 AM, Diego wrote: >>> In data venerdì 29 aprile 2016 00:49:22, Marek Vasut ha scritto: Urgh, so you seem to have third revision of this stick. I have two >>>

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

2016-05-04 Thread Marek Vasut
On 05/04/2016 10:03 AM, Stefan Roese wrote: > On 03.05.2016 22:51, Marek Vasut wrote: >> The Kingston DT Ultimate USB 3.0 stick is sensitive to this first >> Get Descriptor request and if the request is not in a separate >> microframe, the stick refuses to operate. Add slight delay, which >> is

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

2016-05-04 Thread Marek Vasut
On 05/04/2016 10:07 AM, Stefan Roese wrote: > On 03.05.2016 22:51, Marek Vasut wrote: >> Increase the query delay, otherwise some sticks are not detected. >> The problem shows up on the USB bus analyzer such that the stick >> takes longer time to switch from FS mode to HS mode than the code >>

[U-Boot] [PATCH] mmc: sdhci: Disable internal clock enable bit

2016-05-04 Thread Michal Simek
From: Siva Durga Prasad Paladugu Disable internal clock by clearing the internal clock enable bit. This bit needs to be cleared too when we stop the SDCLK for changing the frequency divisor. This bit should be set to zero when the device is not using the Host

Re: [U-Boot] [PATCH v2 00/12] ARM: Keystone2: Convert davinci_spi to DM

2016-05-04 Thread Vignesh R
On 04/25/2016 04:29 PM, Vignesh R wrote: > > > This series converts davinci_spi driver to adapt to driver model > framework. And enables the driver on k2l, k2e, k2hk evms. Also, > added support for davinci_spi on k2g evm. > > Tested on k2l, k2e, k2hk and k2g evms. > I have posted a v3

[U-Boot] [PATCH v3 11/12] ARM: dts: k2g: add support for Davinci SPI controller

2016-05-04 Thread Vignesh R
K2G SoC has 4 SPI instances that are compatible with davinci_spi controller(present on previous generation of Keystone2 devices). Add DT nodes for the same. K2G EVM has a N25Q128A13 SPI NOR flash connected on SPI-1. Add DT bindings for the same. Signed-off-by: Vignesh R

[U-Boot] [PATCH v3 10/12] defconfig: k2l_evm_defconfig: enable SPI driver model

2016-05-04 Thread Vignesh R
Enable SPI and SPI Flash driver model as K2L SPI controller driver supports driver model. Signed-off-by: Vignesh R Reviewed-by: Tom Rini --- configs/k2l_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/k2l_evm_defconfig

[U-Boot] [PATCH v3 09/12] ARM: dts: k2l: Enable Davinci SPI controller

2016-05-04 Thread Vignesh R
Now that davinci_spi driver has been converted to DM framework, enable the same in DT. Also add "spi-flash" as compatible property to n25q128a11 node as it is required for flash device to be probed in U-Boot. Signed-off-by: Vignesh R Reviewed-by: Tom Rini

[U-Boot] [PATCH v3 12/12] defconfig: k2g_evm_defconfig: enable SPI driver model

2016-05-04 Thread Vignesh R
Enable SPI and SPI Flash driver model as K2G SPI controller driver supports driver model. Signed-off-by: Vignesh R Reviewed-by: Tom Rini --- configs/k2g_evm_defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/k2g_evm_defconfig

[U-Boot] [PATCH v3 05/12] ARM: dts: k2hk: Enable Davinci SPI controller

2016-05-04 Thread Vignesh R
Now that davinci_spi driver has been converted to DM framework, enable the same in DT. Also add "spi-flash" as compatible property to n25q128a11 node as it is required for flash device to be probed in U-Boot. Signed-off-by: Vignesh R Reviewed-by: Tom Rini

[U-Boot] [PATCH v3 07/12] ARM: dts: k2e: Enable Davinci SPI controller

2016-05-04 Thread Vignesh R
Now that davinci_spi driver has been converted to DM framework, enable the same in DT. Also add "spi-flash" as compatible property to n25q128a11 node as it is required for flash device to be probed in U-Boot. Signed-off-by: Vignesh R Reviewed-by: Tom Rini

  1   2   >