Re: [U-Boot] [PATCH v2] armv7: add cacheline sizes where missing

2016-01-28 Thread Albert ARIBAUD
On Wed, 27 Jan 2016 08:46:11 +0100, Albert ARIBAUD wrote: > Some armv7 targets are missing a cache line size declaration. > In preparation for "arm: cache: Implement cache range check for v7" > patch, add these declarations with the appropriate value for > the target's SoC or CPU. > > Signed-off-

Re: [U-Boot] [PATCH 0/2] dfu: samsung: Commits to allow sending and storing large files via DFU

2016-01-28 Thread Heiko Schocher
Hello Lukasz, Am 28.01.2016 um 17:46 schrieb Lukasz Majewski: Those commits allow sending and storing large files (e.g. 26 MiB) on the Odroid XU3 board. On purpose they are sent together to shed light on the process of tunning board to be capable of large files transfer. I would be _REALLY_

Re: [U-Boot] [RFC PATCH] dfu: allow get_medium_size() to return bigger medium sizes than 2GiB

2016-01-28 Thread Heiko Schocher
Hello Joe, Am 28.01.2016 um 16:03 schrieb Joe Hershberger: On Thu, Jan 28, 2016 at 8:24 AM, Heiko Schocher wrote: change the get_medium_size() function from - long (*get_medium_size)(struct dfu_entity *dfu); + int (*get_medium_size)(struct dfu_entity *dfu, u64 *size); so it can re

Re: [U-Boot] [PATCH 10/26] Kconfig: Move CONFIG_FIT and CONFIG_OF_*_SETUP to Kconfig

2016-01-28 Thread Heiko Schocher
Hello Simon, Am 28.01.2016 um 17:39 schrieb Simon Glass: Move these options to Kconfig and tidy up board configuration: CONFIG_FIT CONFIG_OF_BOARD_SETUP CONFIG_OF_SYSTEM_SETUP Unfortunately the first one is a little complicated. We need to make sure this option is not enabled in SP

[U-Boot] [PATCH] rpi: link to another model number info source

2016-01-28 Thread Stephen Warren
This source has been blessed by Dom Cobley at the RPi Foundation, so seems like the best source to refer to. It's a superset of and consistent with the other sources. Cc: Lubomir Rintel Cc: Eric Anholt Signed-off-by: Stephen Warren --- This patch is in reponse to Lubomir Rintel's "rpi: fix up M

Re: [U-Boot] [PATCH] rpi: fix up Model B entries

2016-01-28 Thread Stephen Warren
On 01/25/2016 01:36 PM, Lubomir Rintel wrote: > It seems like the P5 header was not present on "Model B" any board prior > to Revision 2.0, there's no need for a separate device tree. > > Also, it looks like "rev2" is incorrectly used to only cover the 512MiB > memory models; there also were 256Mi

Re: [U-Boot] Include patchwork patch ID in commit message?

2016-01-28 Thread Heiko Schocher
Hello Joe, Am 28.01.2016 um 16:15 schrieb Joe Hershberger: Hi Heiko, On Thu, Jan 28, 2016 at 12:39 AM, Heiko Schocher wrote: Hello Tom, Am 28.01.2016 um 00:45 schrieb Tom Rini: On Wed, Jan 27, 2016 at 05:15:17PM -0600, Joe Hershberger wrote: On Wed, Jan 27, 2016 at 4:22 PM, Tom Rini wro

Re: [U-Boot] [PATCH] test/py: make each unit test a pytest

2016-01-28 Thread Stephen Warren
On 01/28/2016 08:52 PM, Simon Glass wrote: > Hi Stephen, > > On 28 January 2016 at 16:45, Stephen Warren wrote: >> From: Stephen Warren >> >> A custom fixture named ut_subtest is implemented which is parametrized >> with the names of all unit tests that the U-Boot binary supports. This >> causes

Re: [U-Boot] [RFC PATCH] dfu: allow get_medium_size() to return bigger medium sizes than 2GiB

2016-01-28 Thread Heiko Schocher
Hello Lukasz, Am 28.01.2016 um 15:56 schrieb Lukasz Majewski: Hi Heiko, change the get_medium_size() function from - long (*get_medium_size)(struct dfu_entity *dfu); + int (*get_medium_size)(struct dfu_entity *dfu, u64 *size); so it can return bigger medium sizes than 2GiB, and th

Re: [U-Boot] [PATCH v3 4/4] qe: assgin pins to qe-hdlc

2016-01-28 Thread Qiang Zhao
> -Original Message- > From: Mingkai Hu > Sent: Friday, January 29, 2016 11:03 AM > To: Qiang Zhao > Cc: tr...@konsulko.com; york sun ; u-boot@lists.denx.de; > Qiang Zhao > Subject: RE: [PATCH v3 4/4] qe: assgin pins to qe-hdlc > > > -Original Message- > > From: Zhao Qiang [ma

[U-Boot] [PATCH v4 2/4] QE: add QE support on ls1043ardb

2016-01-28 Thread Zhao Qiang
Upload qe microcode on ls1043ardb Signed-off-by: Zhao Qiang --- board/freescale/ls1043ardb/ls1043ardb.c | 8 drivers/qe/qe.c | 6 ++ include/configs/ls1043ardb.h| 7 +++ 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/board/fre

[U-Boot] [PATCH v4 3/4] ls1043rdb: move USB mux config to config_board_mux

2016-01-28 Thread Zhao Qiang
USB pins are muxed with other feature, move USB mux config to config_board_mux. Signed-off-by: Zhao Qiang --- board/freescale/ls1043ardb/ls1043ardb.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/board/freescale/ls1043ardb/ls1043ardb.c b/bo

[U-Boot] [PATCH v4 1/4] QE: mask the codes not used for micro QE

2016-01-28 Thread Zhao Qiang
use "#ifdef CONFIG_QE" to mask the codes not used for micro QE Signed-off-by: Zhao Qiang --- drivers/qe/qe.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 08620b2..2a9e61b 100644 --- a/drivers/qe/qe.c +++ b/drivers/qe/qe.c @@ -20,7 +20,9 @@ #d

[U-Boot] [PATCH v4 4/4] qe: assgin pins to qe-hdlc

2016-01-28 Thread Zhao Qiang
qe-hdlc and usb multi-use the pins, when set hwconfig=qe-hdlc, assign the pins to qe-hdlc, if not, assgin it to usb Signed-off-by: Zhao Qiang --- board/freescale/ls1043ardb/ls1043ardb.c | 53 ++--- 1 file changed, 43 insertions(+), 10 deletions(-) diff --git a/board/

[U-Boot] [PATCH v4 0/4] QE patchset introduction

2016-01-28 Thread Zhao Qiang
*Changes in v4: -[PATCH v4 4/4] qe: assgin pins to qe-hdlc - modify the format of multi-line comments *Changes in v3: -split [PATCH v2 3/3] QE: assgin pins to QE-HDLC to two patches: [PATCH v3 3/4] ls1043rdb: move USB mux config to config_board_mux and [PATCH v3 4/4] qe: assgin pins to

Re: [U-Boot] ARMv8: Use U-Boot to boot Xen?

2016-01-28 Thread Peng Fan
Hi Dirk, Cc Ian xen experts. On Thu, Jan 28, 2016 at 08:06:30PM +0100, Dirk Behme wrote: >Hi, > >are there any U-Boot examples/patches to boot Xen on an ARMv8/aarch64 system? > >I've found > >http://lists.denx.de/pipermail/u-boot/2015-October/230077.html > >what might be helpful. > >But maybe I m

Re: [U-Boot] [PATCH] test/py: fix a couple typos in comments

2016-01-28 Thread Simon Glass
On 28 January 2016 at 17:18, Simon Glass wrote: > On 28 January 2016 at 10:18, Stephen Warren wrote: >> From: Stephen Warren >> >> s/updata/update/. >> >> Signed-off-by: Stephen Warren >> --- >> test/py/tests/test_env.py | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) > > Reviewed

Re: [U-Boot] [PATCH 2/9] test/py: fix spawn.expect multiple match handling

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:47, Simon Glass wrote: > On 27 January 2016 at 23:57, Stephen Warren wrote: >> From: Stephen Warren >> >> Multiple patterns may be passed to spawn.expect(). The pattern which >> matches at the earliest position should be designated as the match. This >> aspect works corr

Re: [U-Boot] [PATCH 7/9] test/py: pass test DTB to sandbox

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:47, Simon Glass wrote: > On 27 January 2016 at 23:57, Stephen Warren wrote: >> From: Stephen Warren >> >> This is required for at least "ut dm" to operate correctly. >> >> Signed-off-by: Stephen Warren >> --- >> test/py/u_boot_console_sandbox.py | 7 ++- >> 1 file

Re: [U-Boot] [PATCH] test/py: dfu: allow boardenv to specify test sizes

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:52, Simon Glass wrote: > On 28 January 2016 at 13:14, Stephen Warren wrote: >> From: Stephen Warren >> >> Allow the env__dfu_configs boardenv data to specify the set of DFU >> transfer sizes to test. Manually specifying test sizes is useful if you >> wish to test multipl

Re: [U-Boot] [PATCH 1/9] test/dm: clear unit test failure count each run

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:46, Simon Glass wrote: > On 27 January 2016 at 23:57, Stephen Warren wrote: >> From: Stephen Warren >> >> The ut command prints a test failure count each time it is executed. >> This is stored in a global variable which is never reset. Consequently, >> the printed failur

Re: [U-Boot] [PATCH 8/9] test/py: run sandbox in source directory

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:47, Simon Glass wrote: > On 27 January 2016 at 23:57, Stephen Warren wrote: >> From: Stephen Warren >> >> Some unit tests expect the cwd of the sandbox process to be the root >> of the source tree. Ensure that requirement is met. >> >> Signed-off-by: Stephen Warren >> -

Re: [U-Boot] [PATCH 5/9] test/py: detect another "bad pattern" in console output

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:47, Simon Glass wrote: > On 27 January 2016 at 23:57, Stephen Warren wrote: >> From: Stephen Warren >> >> Many error situations in U-Boot print the message: >> ### ERROR ### Please RESET the board ### >> >> Add this to the list of bad patterns the test system detects

Re: [U-Boot] [PATCH 6/9] test/py: correctly log xfail/xpass tests

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:47, Simon Glass wrote: > On 27 January 2016 at 23:57, Stephen Warren wrote: >> From: Stephen Warren >> >> Tests can complete in passed, skipped, xpass, xfailed, or failed, states. >> Currently the U-Boot log generation code doesn't handle the xfailed or >> xpass states s

Re: [U-Boot] [PATCH 3/9] test.py: calculate bad patterns on change only

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:47, Simon Glass wrote: > On 27 January 2016 at 23:57, Stephen Warren wrote: >> From: Stephen Warren >> >> A future patch will use the bad_patterns array in multiple places. Rather >> than duplicating the code to calculate it, or even sharing it in a >> function and simpl

Re: [U-Boot] [PATCH 4/9] test/py: check for bad patterns everywhere we wait

2016-01-28 Thread Simon Glass
On 28 January 2016 at 20:47, Simon Glass wrote: > On 27 January 2016 at 23:57, Stephen Warren wrote: >> From: Stephen Warren >> >> Currently, bad patterns are only honored when executing a shell command. >> Other cases, such as the initial boot-up of U-Boot or when interacting >> with command ou

Re: [U-Boot] [PATCH] test/py: Provide custom IDs when parametrizing tests

2016-01-28 Thread Simon Glass
On 26 January 2016 at 16:18, Stephen Warren wrote: > On 01/26/2016 04:08 PM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 26 January 2016 at 15:26, Stephen Warren wrote: >>> >>> From: Stephen Warren >>> >>> When pytest generates the name for parametrized tests, simple parameter >>> values (ints

Re: [U-Boot] [PATCH 4/4] test/py: make net test aware of USB and PCI enumeration

2016-01-28 Thread Simon Glass
On 26 January 2016 at 13:00, Simon Glass wrote: > On 26 January 2016 at 11:10, Stephen Warren wrote: >> From: Stephen Warren >> >> The existing net test executes a list of commands supplied by boardenv >> variable env__net_pre_commands. The idea was that boardenv would know >> whether the Ethern

Re: [U-Boot] [PATCH 1/2] test/py: use " for docstrings

2016-01-28 Thread Simon Glass
On 26 January 2016 at 16:08, Simon Glass wrote: > On 26 January 2016 at 13:41, Stephen Warren wrote: >> From: Stephen Warren >> >> Python's coding style docs indicate to use " not ' for docstrings. >> >> test/py has other violations of the coding style docs, since the docs >> specify a stranger

Re: [U-Boot] [PATCH 2/2] test/py: Quote consistency

2016-01-28 Thread Simon Glass
On 26 January 2016 at 16:08, Simon Glass wrote: > On 26 January 2016 at 13:41, Stephen Warren wrote: >> From: Stephen Warren >> >> When converting test/py from " to ', I missed a few places (or added a >> few inconsistencies later). Fix these. >> >> Note that only quotes in code are converted; d

Re: [U-Boot] [PATCH 1/4] Implement "pci enum" command for CONFIG_DM_PCI

2016-01-28 Thread Simon Glass
On 26 January 2016 at 23:17, Bin Meng wrote: > On Wed, Jan 27, 2016 at 2:10 AM, Stephen Warren wrote: >> From: Stephen Warren >> >> With CONFIG_DM_PCI enabled, PCI buses are not enumerated at boot, as they >> are without that config option enabled. No command exists to enumerate the >> PCI buses

Re: [U-Boot] [PATCH 3/4] distro bootcmd: enumerate PCI before network operations

2016-01-28 Thread Simon Glass
On 26 January 2016 at 13:00, Simon Glass wrote: > Hi Stephen, > > On 26 January 2016 at 11:10, Stephen Warren wrote: >> From: Stephen Warren >> >> The PCI bus must be enumerated before PCI devices, such as Ethernet >> devices, are known to U-Boot. Enhance the distro boot commands to perform >> P

Re: [U-Boot] [PATCH 2/4] distro bootcmd: make net boot only optionally start USB

2016-01-28 Thread Simon Glass
On 26 January 2016 at 12:59, Simon Glass wrote: > On 26 January 2016 at 11:10, Stephen Warren wrote: >> From: Stephen Warren >> >> Currently, the distro boot commands always enumerate USB devices before >> performing network operations. However, depending on the board and end- >> user configurat

Re: [U-Boot] [PATCH] test/py: make crash detection more robust

2016-01-28 Thread Simon Glass
On 25 January 2016 at 18:17, Simon Glass wrote: > Hi Stephen, > > On 25 January 2016 at 18:11, Stephen Warren wrote: >> On 01/25/2016 06:07 PM, Simon Glass wrote: >>> >>> Hi Stephen, >>> >>> On 25 January 2016 at 15:07, Stephen Warren wrote: From: Stephen Warren test/py cont

Re: [U-Boot] [PATCH 1/2] ARM: tegra: shut down USB device controller at boot

2016-01-28 Thread Simon Glass
On 26 January 2016 at 12:59, Simon Glass wrote: > On 26 January 2016 at 10:59, Stephen Warren wrote: >> >> From: Stephen Warren >> >> When loading U-Boot into RAM over USB protocols using tools such as >> tegrarcm or L4T's exec-uboot.sh/tegraflash.py, Tegra's USB device >> mode controller is ini

Re: [U-Boot] [PATCH 2/2] test/py: dfu: error out if USB device already exists

2016-01-28 Thread Simon Glass
On 26 January 2016 at 12:59, Simon Glass wrote: > On 26 January 2016 at 10:59, Stephen Warren wrote: >> From: Stephen Warren >> >> The DFU test requests U-Boot configure its USB controller in device mode, >> then waits for the host machine to enumerate the USB device and create a >> device node

Re: [U-Boot] [PATCH] dm: Remove device_probe_child()

2016-01-28 Thread Simon Glass
On 25 January 2016 at 18:15, Bin Meng wrote: > On Tue, Jan 26, 2016 at 5:58 AM, Simon Glass wrote: >> This function is not used as the use case for it did not eventuate. Remove >> it to avoid confusion. >> >> Signed-off-by: Simon Glass >> --- >> >> drivers/core/device.c| 9 + >>

Re: [U-Boot] [PATCH] test/py: make each unit test a pytest

2016-01-28 Thread Simon Glass
Hi Stephen, On 28 January 2016 at 16:45, Stephen Warren wrote: > From: Stephen Warren > > A custom fixture named ut_subtest is implemented which is parametrized > with the names of all unit tests that the U-Boot binary supports. This > causes each U-Boot unit test to be exposes as a separate pyt

Re: [U-Boot] [PATCH] test/py: dfu: allow boardenv to specify test sizes

2016-01-28 Thread Simon Glass
On 28 January 2016 at 13:14, Stephen Warren wrote: > From: Stephen Warren > > Allow the env__dfu_configs boardenv data to specify the set of DFU > transfer sizes to test. Manually specifying test sizes is useful if you > wish to test multiple DFU configurations (e.g. SD card ext4 filesystem, SD >

Re: [U-Boot] [PATCH 7/9] test/py: pass test DTB to sandbox

2016-01-28 Thread Simon Glass
On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > This is required for at least "ut dm" to operate correctly. > > Signed-off-by: Stephen Warren > --- > test/py/u_boot_console_sandbox.py | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) Acked-by: Simon Gl

Re: [U-Boot] [PATCH 8/9] test/py: run sandbox in source directory

2016-01-28 Thread Simon Glass
On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > Some unit tests expect the cwd of the sandbox process to be the root > of the source tree. Ensure that requirement is met. > > Signed-off-by: Stephen Warren > --- > test/py/u_boot_console_sandbox.py | 2 +- > test/py/

Re: [U-Boot] [PATCH 9/9] test/py: run C-based unit tests

2016-01-28 Thread Simon Glass
Hi Stephen, On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > Add tests that execute the existing C-based unit test commands. These > simply run the command and validate the overall result. For now, > fine-grained details are not mapped into separate pytest test resul

Re: [U-Boot] [PATCH 5/9] test/py: detect another "bad pattern" in console output

2016-01-28 Thread Simon Glass
On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > Many error situations in U-Boot print the message: > ### ERROR ### Please RESET the board ### > > Add this to the list of bad patterns the test system detects. One > practical advantage of this change is to detect t

Re: [U-Boot] [PATCH 6/9] test/py: correctly log xfail/xpass tests

2016-01-28 Thread Simon Glass
On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > Tests can complete in passed, skipped, xpass, xfailed, or failed, states. > Currently the U-Boot log generation code doesn't handle the xfailed or > xpass states since they aren't used. Add support for the remaining sta

Re: [U-Boot] [PATCH 4/9] test/py: check for bad patterns everywhere we wait

2016-01-28 Thread Simon Glass
On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > Currently, bad patterns are only honored when executing a shell command. > Other cases, such as the initial boot-up of U-Boot or when interacting > with command output rather than gathering all output prior to the shell

Re: [U-Boot] [PATCH 3/9] test.py: calculate bad patterns on change only

2016-01-28 Thread Simon Glass
On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > A future patch will use the bad_patterns array in multiple places. Rather > than duplicating the code to calculate it, or even sharing it in a > function and simply calling it redundantly when nothing has changed, only

Re: [U-Boot] [PATCH 2/9] test/py: fix spawn.expect multiple match handling

2016-01-28 Thread Simon Glass
On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > Multiple patterns may be passed to spawn.expect(). The pattern which > matches at the earliest position should be designated as the match. This > aspect works correctly. When multiple patterns match at the same position

Re: [U-Boot] [PATCH 1/9] test/dm: clear unit test failure count each run

2016-01-28 Thread Simon Glass
On 27 January 2016 at 23:57, Stephen Warren wrote: > From: Stephen Warren > > The ut command prints a test failure count each time it is executed. > This is stored in a global variable which is never reset. Consequently, > the printed failure count accumulates across runs. Fix this by clearing >

[U-Boot] [PATCH v2 2/7] fdt: Build a U-Boot binary without device tree

2016-01-28 Thread Simon Glass
At present u-boot.bin holds the plain U-Boot binary without the device tree. This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin depending on whether device tree is used. Adjust the build such that u-boot.bin includes a device tree (if enabled), and the plain binary is in

[U-Boot] [PATCH v2 1/7] tegra: Clarify generation of -nodtb file with OF_CONTROL

2016-01-28 Thread Simon Glass
Fix the ALL-y logic in the Makefile so that is clear that we always want the -nodtb file. Signed-off-by: Simon Glass --- Changes in v2: - Rewrite this commit based on tegra feedback Makefile | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefil

[U-Boot] [PATCH v2 5/7] socfpga: Simplify Makefile filenames

2016-01-28 Thread Simon Glass
We don't need the -dtb suffix anymore, so drop it. Signed-off-by: Simon Glass --- Changes in v2: - Fix the update_filename in MCV Makefile | 10 +- include/configs/socfpga_mcvevk.h | 2 +- scripts/Makefile.spl | 6 +++--- 3 files changed, 9 inserti

[U-Boot] [PATCH v2 6/7] Makefile: Make u-boot.img the same as u-boot-dtb.img

2016-01-28 Thread Simon Glass
When OF_CONTROL is enabled, u-boot.img has no purpose since it does not include the required device tree binary. The correct image to use is u-boot-dtb.img with OF_CONTROL but u-boot.img without OF_CONTROL. Create u-boot.img even when OF_CONTROL is enabled, so that this file can be used in both ca

[U-Boot] [PATCH v2 7/7] Makefile: Drop unnecessary -dtb suffixes

2016-01-28 Thread Simon Glass
When OF_CONTROL is enabled, u-boot-dtb.* files are the same as u-boot.* files. So we can use the latter for simplicity. Signed-off-by: Simon Glass --- Changes in v2: - Tweak the tegra rule slightly Makefile | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/Mak

[U-Boot] [PATCH v2 3/7] fdt: Build an SPL binary without device tree

2016-01-28 Thread Simon Glass
At present u-boot-spl.bin holds the plain SPL binary without the device tree. This is somewhat annoying since you need either u-boot-spl.bin or u-boot-spl-dtb.bin depending on whether device tree is used. Adjust the build such that u-boot-spl.bin includes a device tree (if enabled), and the plain

[U-Boot] [PATCH v2 4/7] tegra: Always build a boot image with the same filename

2016-01-28 Thread Simon Glass
Adjust the Makefile to build u-boot-tegra.bin which contains a device tree if OF_CONTROL is enabled, and does not if not. This mirrors U-Boot's new approach of using u-boot.bin to handle both cases. Signed-off-by: Simon Glass --- Changes in v2: - Update based on previous changes Makefile | 11

[U-Boot] [PATCH v2 0/7] fdt: Replace u-boot-dtb.bin with u-boot.bin

2016-01-28 Thread Simon Glass
At present u-boot.bin holds the plain U-Boot binary without the device tree. This is somewhat annoying since you need either u-boot.bin or u-boot-dtb.bin depending on whether device tree is used. This series adjusts the build such that u-boot.bin includes a device tree if enabled, and the plain bi

Re: [U-Boot] [PATCH v1] arm: imx: Add support for GE Bx50v3 boards

2016-01-28 Thread Peng Fan
Hi Akshay, CC i.MX maintainer Stefano for you. On Wed, Jan 27, 2016 at 05:53:47PM -0500, Akshay Bhat wrote: >Add support for GE B450v3, B650v3 and B850v3 boards. The boards >are based on Advantech BA16 module which has a imx6 processor. Which imx6 processor? >The boards support: > - FEC Etherne

[U-Boot] [PATCH v3 4/4] qe: assgin pins to qe-hdlc

2016-01-28 Thread Zhao Qiang
qe-hdlc and usb multi-use the pins, when set hwconfig=qe-hdlc, assign the pins to qe-hdlc, if not, assgin it to usb Signed-off-by: Zhao Qiang --- board/freescale/ls1043ardb/ls1043ardb.c | 51 ++--- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/board/

Re: [U-Boot] [PATCH 2/7] fdt: Build a U-Boot binary without device tree

2016-01-28 Thread Simon Glass
Hi Stephen, On 25 January 2016 at 17:42, Stephen Warren wrote: > On 01/25/2016 02:14 PM, Stephen Warren wrote: >> >> On 01/25/2016 01:30 PM, Simon Glass wrote: >>> >>> At present u-boot.bin holds the plain U-Boot binary without the device >>> tree. >>> This is somewhat annoying since you need eit

Re: [U-Boot] [PATCH v3 4/4] qe: assgin pins to qe-hdlc

2016-01-28 Thread Mingkai Hu
> -Original Message- > From: Zhao Qiang [mailto:qiang.z...@nxp.com] > Sent: Friday, January 29, 2016 10:51 AM > To: Mingkai Hu > Cc: tr...@konsulko.com; york sun; u-boot@lists.denx.de; Qiang Zhao > Subject: [PATCH v3 4/4] qe: assgin pins to qe-hdlc > > qe-hdlc and usb multi-use the pins,

[U-Boot] [PATCH v3 0/4] QE patchset introduction

2016-01-28 Thread Zhao Qiang
*Changes in v3: - split [PATCH v2 3/3] QE: assgin pins to QE-HDLC to two patches: [PATCH v3 3/4] ls1043rdb: move USB mux config to config_board_mux and [PATCH v3 4/4] qe: assgin pins to qe-hdlc. *Changes in v2: - Add new patch in patchset.QE: mask the codes not used for micro QE - [PATCH v2 2/

[U-Boot] [PATCH v3 3/4] ls1043rdb: move USB mux config to config_board_mux

2016-01-28 Thread Zhao Qiang
USB pins are muxed with other feature, move USB mux config to config_board_mux. Signed-off-by: Zhao Qiang --- board/freescale/ls1043ardb/ls1043ardb.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/board/freescale/ls1043ardb/ls1043ardb.c b/bo

[U-Boot] [PATCH v3 2/4] QE: add QE support on ls1043ardb

2016-01-28 Thread Zhao Qiang
Upload qe microcode on ls1043ardb Signed-off-by: Zhao Qiang --- board/freescale/ls1043ardb/ls1043ardb.c | 8 drivers/qe/qe.c | 6 ++ include/configs/ls1043ardb.h| 7 +++ 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/board/fre

[U-Boot] [PATCH v3 1/4] QE: mask the codes not used for micro QE

2016-01-28 Thread Zhao Qiang
use "#ifdef CONFIG_QE" to mask the codes not used for micro QE Signed-off-by: Zhao Qiang --- drivers/qe/qe.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/qe/qe.c b/drivers/qe/qe.c index 08620b2..2a9e61b 100644 --- a/drivers/qe/qe.c +++ b/drivers/qe/qe.c @@ -20,7 +20,9 @@ #d

Re: [U-Boot] [PATCH] mailmap: fix Ricardo's entry

2016-01-28 Thread Masahiro Yamada
Hi Ricardo, 2016-01-29 11:42 GMT+09:00 Masahiro Yamada : > Commit df48b23428e9 (".mailmap: Add all the mail alias for Ricardo > Ribalda") assigned two different proper names for the email address > "ricardo.riba...@uam.es". This is a completely wrong usage as the > mailmap feature exists for coal

[U-Boot] [PATCH] mailmap: fix Ricardo's entry

2016-01-28 Thread Masahiro Yamada
Commit df48b23428e9 (".mailmap: Add all the mail alias for Ricardo Ribalda") assigned two different proper names for the email address "ricardo.riba...@uam.es". This is a completely wrong usage as the mailmap feature exists for coalescing together commits by the same person whose name is sometimes

[U-Boot] [PATCH] imx: MX6DQ{P}/DL:SABRESD Fix bmode eMMC failure

2016-01-28 Thread Peng Fan
From: Ye Li The BOOTCFG value used by bmode for SABRESD eMMC boot are actually for SD card. Fixed the value to correct one. The issue was fixed in 2014.04 u-boot, but that patch seems missed during porting to 2015.04. Signed-off-by: Ye Li Signed-off-by: Peng Fan Cc: Stefano Babic Cc: Fabio

Re: [U-Boot] ARMv8: Use U-Boot to boot Xen?

2016-01-28 Thread Simon Glass
Hi Dirk, On 28 January 2016 at 12:06, Dirk Behme wrote: > > Hi, > > are there any U-Boot examples/patches to boot Xen on an ARMv8/aarch64 system? > > I've found > > http://lists.denx.de/pipermail/u-boot/2015-October/230077.html > > what might be helpful. > > But maybe I missed anything else? I'm

Re: [U-Boot] [PATCH] Use correct spelling of "U-Boot"

2016-01-28 Thread Simon Glass
On 27 January 2016 at 00:28, Bin Meng wrote: > Correct spelling of "U-Boot" shall be used in all written text > (documentation, comments in source files etc.). > > Signed-off-by: Bin Meng > > --- > I cc'ed all maintainers, please help review in case I made any > mistakes. Also we should keep an e

[U-Boot] [PATCH] common/memsize.c: Simplify RAM size detection

2016-01-28 Thread Eddy Petrișor
The case of memory of size 0 is not that different from a memory of any other size, so we remove the duplicate code and treat the small differences when it is the case. Series-to: u-boot Signed-off-by: Eddy Petrișor --- common/memsize.c | 47 +-- 1 fil

[U-Boot] ARMv8: Use U-Boot to boot Xen?

2016-01-28 Thread Dirk Behme
Hi, are there any U-Boot examples/patches to boot Xen on an ARMv8/aarch64 system? I've found http://lists.denx.de/pipermail/u-boot/2015-October/230077.html what might be helpful. But maybe I missed anything else? Many thanks Dirk ___ U-Boot mail

Re: [U-Boot] [PATCH] test/py: fix a couple typos in comments

2016-01-28 Thread Simon Glass
On 28 January 2016 at 10:18, Stephen Warren wrote: > From: Stephen Warren > > s/updata/update/. > > Signed-off-by: Stephen Warren > --- > test/py/tests/test_env.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass

Re: [U-Boot] [PATCH] autoboot.c: Fill env vars in process_fdt_options() only if TEXT_BASE is set

2016-01-28 Thread Simon Glass
On 28 January 2016 at 09:34, Stefan Roese wrote: > > The x86 build target "efi-x86" has no TEXT_BASE configured. And with the > introduction of CONFIG_BOOTDELAY for x86, this function is now called > for this board as well. Resulting in compile errors for this target. > > Without TEXT_BASE it make

Re: [U-Boot] [PATCH 0/7] fdt: Replace u-boot-dtb.bin with u-boot.bin

2016-01-28 Thread Simon Glass
Hi Hans, On 28 January 2016 at 01:25, Hans de Goede wrote: > Hi, > > On 28-01-16 04:58, Simon Glass wrote: >> >> Hi Hans, >> >> On 25 January 2016 at 13:30, Simon Glass wrote: >>> >>> >>> At present u-boot.bin holds the plain U-Boot binary without the device >>> tree. >>> This is somewhat annoyi

[U-Boot] [PATCH] test/py: make each unit test a pytest

2016-01-28 Thread Stephen Warren
From: Stephen Warren A custom fixture named ut_subtest is implemented which is parametrized with the names of all unit tests that the U-Boot binary supports. This causes each U-Boot unit test to be exposes as a separate pytest. In turn, this allows more fine-grained pass/fail counts and test sele

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

2016-01-28 Thread Joe Hershberger
Hi Tom, Here are the network patches for this round. Should be pretty basic stuff. Thanks! -Joe The following changes since commit 077678eb0c226e52a1f90edabd3369ab26065b32: Merge git://git.denx.de/u-boot-dm (2016-01-12 18:12:42 -0500) are available in the git repository at: git://git.den

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

2016-01-28 Thread Tom Rini
On Thu, Jan 28, 2016 at 10:46:47AM -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). > > The following changes since commit b20c38a973a51bf3f663bd298c63ad1b8e0de445: > > arm: mvebu: Add support for

Re: [U-Boot] Please pull u-boot-x86

2016-01-28 Thread Tom Rini
On Thu, Jan 28, 2016 at 03:13:18PM +0800, Bin Meng wrote: > Hi Tom, > > The following changes since commit b20c38a973a51bf3f663bd298c63ad1b8e0de445: > > arm: mvebu: Add support for the Armada XP theadorable board > (2016-01-27 07:45:43 +0100) > > are available in the git repository at: > >

Re: [U-Boot] [GIT PULL] Xilinx changes

2016-01-28 Thread Tom Rini
On Wed, Jan 27, 2016 at 04:42:09PM +0100, Michal Simek wrote: > Hi Tom, > > here is the branch with xilinx changes which are flying around. > It is targeting PowerPC, Microblaze, ARM and ARM64. > I can't see any build problem via buildman. > > Thanks, > Michal > > > The following changes since

Re: [U-Boot] Please pull u-boot-fsl-qoriq.git master

2016-01-28 Thread Tom Rini
On Wed, Jan 27, 2016 at 05:30:45PM +, york sun wrote: > Tom, > > The following changes since commit 12f229ea8f6c8e20f8fd07906eafc853c4c354a9: > > Merge git://git.denx.de/u-boot-fdt (2016-01-22 17:01:22 -0500) > > are available in the git repository at: > > > git://git.denx.de/u-boot-f

Re: [U-Boot] Please pull u-boot-marvell/master

2016-01-28 Thread Tom Rini
On Wed, Jan 27, 2016 at 07:58:00AM +0100, Stefan Roese wrote: > Hi Tom, > > please pull the following patch. > > Thanks, > Stefan > > The following changes since commit 9e4de7fd4acc8f99b6d383c711d21c0159849629: > > Merge branch 'master' of http://git.denx.de/u-boot-sunxi > (2016-01-26 17:45:

Re: [U-Boot] [PATCH] net: tftp: Add TFTP specific config for retry count

2016-01-28 Thread MESSIER, ALEXANDRE
Hi Joe, It turns out that commit f5fb734 "net: TFTP: variables cleanup and addition" implements the same functionality as this patch. Please disregard this patch. Thanks! > -Original Message- > From: Joe Hershberger [mailto:joe.hershber...@gmail.com] > Sent: January-22-16 2:29 PM > To:

[U-Boot] [PATCH] test/py: dfu: allow boardenv to specify test sizes

2016-01-28 Thread Stephen Warren
From: Stephen Warren Allow the env__dfu_configs boardenv data to specify the set of DFU transfer sizes to test. Manually specifying test sizes is useful if you wish to test multiple DFU configurations (e.g. SD card ext4 filesystem, SD card whole raw partition, RAM, etc.), but don't want to test e

[U-Boot] [PATCH] test/py: fix a couple typos in comments

2016-01-28 Thread Stephen Warren
From: Stephen Warren s/updata/update/. Signed-off-by: Stephen Warren --- test/py/tests/test_env.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/py/tests/test_env.py b/test/py/tests/test_env.py index 651303f8cd69..c41aa5a9d9c7 100644 --- a/test/py/tests/test_env.

Re: [U-Boot] [PATCH] ARM: tegra: rm Jetson TK1 PMIC GPIO programming

2016-01-28 Thread Stephen Warren
On 01/18/2016 12:16 PM, Tom Warren wrote: Stephen Warren wrotea tMonday, January 18, 2016 11:23 AM: The PMIC is configured such that its GPIOs have the correct configuration at power-up, so no programming is required. In fact, the current programming is actively wrong, since: (a) the AS3722 dr

[U-Boot] [PATCH 20/26] mkimage: Support placing data outside the FIT

2016-01-28 Thread Simon Glass
One limitation of FIT is that all the data is 'inline' within it, using a 'data' property in each image node. This means that to find out what is in the FIT it is necessary to scan the entire file. Once loaded it can be scanned and then the images can be copied to the correct place in memory. In S

[U-Boot] [PATCH 18/26] mkimage: Support automatic creating of a FIT without a .its

2016-01-28 Thread Simon Glass
At present, when generating a FIT, mkimage requires a .its file containing the structure of the FIT and referring to the images to be included. Creating the .its file is a separate step that makes it harder to use FIT. This is not required for creating legacy images. Often the FIT is pretty stand

[U-Boot] [PATCH 24/26] spl: Add a way to specify a list of device trees to include

2016-01-28 Thread Simon Glass
When building a FIT, more than one device tree can be included. The board can select (at run-time) the one that it wants. Add a Kconfig option to allow the list of devices trees (supported by the board) to be specified. When using SPL_LOAD_FIT, build u-boot.img in FIT format instead of the legacy

[U-Boot] [PATCH 23/26] spl: Add an option to load a FIT containing U-Boot

2016-01-28 Thread Simon Glass
This provides a way to load a FIT containing U-Boot and a selection of device tree files. The board can select the correct device tree by probing the hardware. Then U-Boot is started with the selected device tree. Signed-off-by: Simon Glass --- Kconfig | 11 +++ common/spl/Makefil

Re: [U-Boot] [PATCH 1/2] dfu: usb: f_dfu: Set deferred call for dfu_flush() function

2016-01-28 Thread Stephen Warren
On 01/28/2016 09:46 AM, Lukasz Majewski wrote: This patch fixes situation when one would like to write large file into medium with the file system (fat, ext4, etc). This change sets file size limitation to the DFU internal buffer size. Tested-by: Stephen Warren I tested this on NVIDIA's Jetso

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

2016-01-28 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). The following changes since commit b20c38a973a51bf3f663bd298c63ad1b8e0de445: arm: mvebu: Add support for the Armada XP theadorable board (2016-01-27 07:45:43 +0100) are available in

Re: [U-Boot] [PATCH v2 01/15] armv8: ls2080: Add SFP Configs for LS2080/LS2085

2016-01-28 Thread york sun
On 01/28/2016 05:22 AM, Saksham Jain wrote: > In LS2080/LS2085, SFP is LE and Ver is 3.4 > The base address is 0x01e80200 > SFP will be used in Secure Boot to read fuses. > Signed-off-by: Aneesh Bansal > Signed-off-by: Saksham Jain > --- Please insert a blank line before your signature for futur

Re: [U-Boot] [PATCH] ARM: tegra: rm Jetson TK1 PMIC GPIO programming

2016-01-28 Thread Tom Warren
OK. I was waiting to see if Simon's dm display driver changes would go in via the Tegra repo (they apply / build OK now, but I've had no time for testing). With the merge window closing, I'll send a PR with just this fix. Thanks. Tom > -Original Message- > From: Stephen Warren [mailto:s

[U-Boot] Olinuxino A13 NAND boot (Sunxi)

2016-01-28 Thread Kevin Kowalewski
Hi, I've been trying for a few days now to get u-boot loaded onto NAND and actually booting here on my Olinuxino A13 which is an Allwinner CPU so the sunxi side of things. I've had no such luck using the 2016-01 RC2 nor the CHIP u-Boot branch, which is based off the the R8. My understanding is SPL

[U-Boot] [PATCH 06/26] mkimage: Make 'params' static

2016-01-28 Thread Simon Glass
This is not used outside mkimage.c, so make this variable static. Signed-off-by: Simon Glass --- tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage.c b/tools/mkimage.c index 5aae748..b8293f6 100644 --- a/tools/mkimage.c +++ b/tools/mkimage.c @@ -15

[U-Boot] [PATCH 2/2] dfu: odroid xu3: Define DFU_MANIFEST_POLL_TIMEOUT to handle large files transmission and storage

2016-01-28 Thread Lukasz Majewski
As tested on the Odroid XU3, large files to be stored on the file system require considerable time to be physically written to the medium. The default 300 ms is not enough to store large file (e.g. 26 MiB). To fix this situation the DFU_MANIFEST_POLL_TIMEOUT has been defined. It is used to cease

[U-Boot] [PATCH 1/2] dfu: usb: f_dfu: Set deferred call for dfu_flush() function

2016-01-28 Thread Lukasz Majewski
This patch fixes situation when one would like to write large file into medium with the file system (fat, ext4, etc). This change sets file size limitation to the DFU internal buffer size. Since u-boot is not supporting interrupts and seek on file systems, it becomes challenging to store large fil

[U-Boot] [PATCH 0/2] dfu: samsung: Commits to allow sending and storing large files via DFU

2016-01-28 Thread Lukasz Majewski
Those commits allow sending and storing large files (e.g. 26 MiB) on the Odroid XU3 board. On purpose they are sent together to shed light on the process of tunning board to be capable of large files transfer. I would be _REALLY_ grateful for excessive testing, since I'm not able to test this

[U-Boot] [PATCH 22/26] spl: Add a way for boards to select which device tree to load

2016-01-28 Thread Simon Glass
SPL calls this function with each device tree it can find in the FIT. The board should implement this function, using whatever hardware detection it can muster to determine the correct device tree. Signed-off-by: Simon Glass --- include/image.h | 13 + 1 file changed, 13 insertions(

[U-Boot] [PATCH 17/26] image: Add functions to obtain short names

2016-01-28 Thread Simon Glass
Sometimes it is useful to obtain the short name for an Operating System, architecture or compression mechanism. Provide functions for this. Signed-off-by: Simon Glass --- common/image.c | 26 ++ include/image.h | 27 +++ 2 files changed, 49 inser

  1   2   3   >