[U-Boot] [PATCH v4 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-06-07 Thread Alison Wang
To support loading a 32-bit OS, the execution state will change from AArch64 to AArch32 when jumping to kernel. The architecture information will be got through checking FIT image, then U-Boot will load 32-bit OS or 64-bit OS automatically. Signed-off-by: Ebony Zhu Signed-off-by: Alison Wang Si

[U-Boot] [PATCH v4 2/2] armv8: fsl-layerscape: SMP support for loading 32-bit OS

2016-06-07 Thread Alison Wang
Spin-table method is used for secondary cores to load 32-bit OS. The architecture information will be got through checking FIT image and saved in the os_arch element of spin-table, then the secondary cores will check os_arch and jump to 32-bit OS or 64-bit OS automatically. Signed-off-by: Alison W

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-07 Thread Thomas Petazzoni
Hello, On Tue, 7 Jun 2016 21:18:17 -0300 (BRT), Carlos Santos wrote: > There is already a configuration that makes FIT optional (CONFIG_FIT) > but it is partially broken because it does not really remove > FIT-related functionality from mkimage. That's the reason why it was > not possible to disa

[U-Boot] [PATCH v4 0/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-06-07 Thread Alison Wang
This series is to support loading a 32-bit OS, the execution state will change from AArch64 to AArch32 when jumping to kernel. The architecture information will be got through checking FIT image, then U-Boot will load 32-bit OS or 64-bit OS automatically. Spin-table method is used for secondary co

Re: [U-Boot] [PATCH v4 04/10] configs: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable

2016-06-07 Thread Yao Yuan
On 06/08/2016 01:24 AM, York Sun wrote: > On 06/07/2016 01:26 AM, Yuan Yao wrote: > > From: Yuan Yao > > > > When QSPI is enabled, NOR flash and QIXIS can't be accessed through > > IFC due to pin mux. > > > > Signed-off-by: Yuan Yao > > --- > > include/configs/ls2080aqds.h | 10 ++ > > 1

Re: [U-Boot] u-boot on Minnowboard max

2016-06-07 Thread Bin Meng
Hi, On Tue, Jun 7, 2016 at 7:40 PM, vinoth eswaran wrote: > Hello Mr.BIn, > > I tested using the latest u-boot (u-boot-2016.07-rc1) with > CONFIG_GENERATE_ACPI_TABLE=y enabled. I am still facing the same > issue, the Linux kernel is not able to initialize the root file system > from the sd card.

Re: [U-Boot] [PATCH v4] dm: spi: Read default speed and mode values from DT

2016-06-07 Thread Vignesh R
On Tuesday 10 May 2016 11:58 AM, Vignesh R wrote: > In case of DT boot, don't read default speed and mode for SPI from > CONFIG_*, instead read from DT node. This will make sure that boards > with multiple SPI/QSPI controllers can be probed at different > bus frequencies and SPI modes. > > Signe

Re: [U-Boot] [RFC][PATCH] arm: rk: Drop SYS_MALLOC_F and SPL_SYS_MALLOC_SIMPLE

2016-06-07 Thread Simon Glass
Hi Marek, On 7 June 2016 at 20:02, Marek Vasut wrote: > On 06/08/2016 04:43 AM, Simon Glass wrote: >> Hi Marek, > > Hi! > >> On 25 May 2016 at 05:26, Marek Vasut wrote: >>> On 05/25/2016 05:29 AM, Simon Glass wrote: Hi Marek, On 24 May 2016 at 18:15, Marek Vasut wrote: > Both

Re: [U-Boot] [PATCH] clk: convert API to match reset/mailbox style

2016-06-07 Thread Simon Glass
Hi Stephen, On 7 June 2016 at 19:43, Simon Glass wrote: > Hi Stephen, > > On 23 May 2016 at 10:47, Stephen Warren wrote: >> From: Stephen Warren >> >> The following changes are made to the clock API: >> * The concept of "clocks" and "peripheral clocks" are unified; each clock >> provider now

Re: [U-Boot] [PATCH v3] common: usb_storage : Implement logic to calculate optimal usb maximum trasfer blocks

2016-06-07 Thread Rajesh Bhagat
> -Original Message- > From: Marek Vasut [mailto:ma...@denx.de] > Sent: Wednesday, June 08, 2016 8:38 AM > To: Rajesh Bhagat ; u-boot@lists.denx.de > Cc: s...@chromium.org; york sun ; Sriram Dash > > Subject: Re: [PATCH v3] common: usb_storage : Implement logic to calculate > optimal >

Re: [U-Boot] [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV helper

2016-06-07 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Monday, June 06, 2016 6:21 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v2 1/5] arm64: fsl-layerscape: add get_svr and IS_SVR_REV >helper > >On

Re: [U-Boot] [PATCH v2 5/5] usb: xhci: fsl: Add workaround for USB erratum A-008751

2016-06-07 Thread Sriram Dash
>-Original Message- >From: Marek Vasut [mailto:ma...@denx.de] >Sent: Monday, June 06, 2016 6:15 PM >To: Sriram Dash ; u-boot@lists.denx.de >Cc: york sun ; albert.u.b...@aribaud.net; Rajesh Bhagat > >Subject: Re: [PATCH v2 5/5] usb: xhci: fsl: Add workaround for USB erratum A- >008751 > >On

Re: [U-Boot] [PATCH v3] common: usb_storage : Implement logic to calculate optimal usb maximum trasfer blocks

2016-06-07 Thread Marek Vasut
On 06/07/2016 11:29 AM, Rajesh Bhagat wrote: > Implements the logic to calculate the optimal usb maximum trasfer blocks > instead of sending USB_MAX_XFER_BLK blocks which is 65535 and 20 in case > of EHCI and other USB protocols respectively. > > It defines USB_MIN_XFER_BLK/USB_MAX_XFER_BLK trasfe

Re: [U-Boot] [RFC][PATCH] arm: rk: Drop SYS_MALLOC_F and SPL_SYS_MALLOC_SIMPLE

2016-06-07 Thread Marek Vasut
On 06/08/2016 04:43 AM, Simon Glass wrote: > Hi Marek, Hi! > On 25 May 2016 at 05:26, Marek Vasut wrote: >> On 05/25/2016 05:29 AM, Simon Glass wrote: >>> Hi Marek, >>> >>> On 24 May 2016 at 18:15, Marek Vasut wrote: Both SYS_MALLOC_F and SPL_SYS_MALLOC_SIMPLE are generic config options, >

Re: [U-Boot] [PATCH] x86: acpi: Fix madt lapic generation

2016-06-07 Thread Bin Meng
On Wed, Jun 8, 2016 at 10:47 AM, Bin Meng wrote: > On Wed, Jun 8, 2016 at 2:40 AM, George McCollister > wrote: >> An accumulated length was incorrectly added to current each pass >> through the loop. On system with more than 2 cores this caused a >> corrupt MADT to be generated. >> >> Signed-off-

[U-Boot] [PATCH 31/31] dm: Add a more efficient libfdt library

2016-06-07 Thread Simon Glass
Add a Python version of the libfdt library which contains enough features to support the dtoc tool. This is only a very bare-bones implementation. Signed-off-by: Simon Glass --- lib/libfdt/libfdt.swig| 81 + lib/libfdt/setup.py | 38 ++ lib/libfdt/test_li

[U-Boot] [PATCH 24/31] dm: serial: Add support for of-platdata

2016-06-07 Thread Simon Glass
When this feature is enabled, we cannot access the device tree to find out which serial device to use. Just use the first serial driver we find. Signed-off-by: Simon Glass --- drivers/serial/serial-uclass.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/seria

[U-Boot] [PATCH 26/31] dm: Add an option to enable the of-platdata feature

2016-06-07 Thread Simon Glass
Add a Kconfig option to enable this feature. Signed-off-by: Simon Glass --- dts/Kconfig | 21 + 1 file changed, 21 insertions(+) diff --git a/dts/Kconfig b/dts/Kconfig index c56c129..4b7d8b1 100644 --- a/dts/Kconfig +++ b/dts/Kconfig @@ -85,4 +85,25 @@ config OF_SPL_REMOVE_

[U-Boot] [PATCH 20/31] dm: syscon: Add support for of-platdata

2016-06-07 Thread Simon Glass
Provide a new function which can cope with obtaining information from of-platdata instead of the device tree. Signed-off-by: Simon Glass --- drivers/core/syscon-uclass.c | 13 + include/syscon.h | 6 ++ 2 files changed, 19 insertions(+) diff --git a/drivers/core/sy

Re: [U-Boot] [PATCH v2 2/2] tools: moveconfig: Add a new --git-ref option

2016-06-07 Thread Masahiro Yamada
Hi Joe, 2016-06-02 12:30 GMT+09:00 Joe Hershberger : > This option allows the 'make *_defconfig' step to run against a former > repo state, while the savedefconfig step runs against the current repo > state. This is convenient for the case where something in the Kconfig > has changed such that th

Re: [U-Boot] [PATCH v3 01/12] common: bootdelay: move CONFIG_BOOTDELAY into a Kconfig option

2016-06-07 Thread Viresh Kumar
On 07-06-16, 08:31, Heiko Schocher wrote: > move CONFIG_BOOTDELAY into a Kconfig option. Used for this > purpose the moveconfig.py tool in tools. > > Signed-off-by: Heiko Schocher > > Reviewed-by: Tom Rini > --- > > Changes in v3: > - add reviewed-by from Tom Rini and > rebase against Prepar

[U-Boot] [PATCH 29/31] dm: Add a tool to generate C code from a device tree

2016-06-07 Thread Simon Glass
This tool can produce C struct definitions and C platform data tables. This is used to support the of-platdata feature. Signed-off-by: Simon Glass --- tools/dtoc/dtoc| 1 + tools/dtoc/dtoc.py | 365 + 2 files changed, 366 insertions(+)

[U-Boot] [PATCH 28/31] dm: Add a library to provide simple device-tree access

2016-06-07 Thread Simon Glass
This Python library provides a way to access the contents of the device tree. It uses fdtget, so is inefficient for larger device tree files. Signed-off-by: Simon Glass --- tools/dtoc/.gitignore | 1 + tools/dtoc/fdt_fallback.py | 207 + tools/

[U-Boot] [PATCH 30/31] dm: Makefile: Build of-platdata files when the feature is enabled

2016-06-07 Thread Simon Glass
Update the Makefile to call dtoc to create the C header and source files, then build these into the image. Signed-off-by: Simon Glass --- scripts/Makefile.spl | 39 --- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/scripts/Makefile.spl b/scri

[U-Boot] [PATCH 19/31] dm: regmap: Add a dummy implementation for of-platdata

2016-06-07 Thread Simon Glass
Add a placeholder for now so that this code will compile. It currently does nothing. Signed-off-by: Simon Glass --- drivers/core/regmap.c | 9 + include/regmap.h | 3 +++ 2 files changed, 12 insertions(+) diff --git a/drivers/core/regmap.c b/drivers/core/regmap.c index 519832f..7e

[U-Boot] [PATCH 25/31] dm: Don't include fdtdec functions when of-platdata is enabled

2016-06-07 Thread Simon Glass
We cannot access the device tree in this case, so avoid compiling in the various device-tree helper functions. Signed-off-by: Simon Glass --- lib/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/Makefile b/lib/Makefile index f77befe..2fc0272 100644 --- a/lib

[U-Boot] [PATCH 27/31] dm: Add a README for of-platdata

2016-06-07 Thread Simon Glass
Add documentation on how this works, including the benefits and drawbacks. Signed-off-by: Simon Glass --- doc/driver-model/of-plat.txt | 266 +++ 1 file changed, 266 insertions(+) create mode 100644 doc/driver-model/of-plat.txt diff --git a/doc/driver-m

[U-Boot] [PATCH 22/31] dm: Add a header that provides access to the of-platdata structs

2016-06-07 Thread Simon Glass
This header can be included from anywhere, but will only pull in the of-platdata struct definitions when this feature is enabled (and only in SPL). Signed-off-by: Simon Glass --- include/dt-structs.h | 19 +++ 1 file changed, 19 insertions(+) create mode 100644 include/dt-struc

[U-Boot] [PATCH 18/31] dm: core: Don't use device tree with of-platdata

2016-06-07 Thread Simon Glass
When CONFIG_SPL_OF_PLATDATA is enabled we should not access the device tree. Remove all references to this in the core driver-model code. Signed-off-by: Simon Glass --- drivers/core/device.c | 2 +- drivers/core/lists.c | 2 +- drivers/core/root.c | 4 ++-- 3 files changed, 4 insertions(+),

[U-Boot] [PATCH 23/31] dm: clk: Add support for of-platdata

2016-06-07 Thread Simon Glass
Add support for this feature in the core clock code. Signed-off-by: Simon Glass --- drivers/clk/clk-uclass.c | 20 drivers/clk/clk_fixed_rate.c | 2 ++ include/clk.h| 4 3 files changed, 26 insertions(+) diff --git a/drivers/clk/clk-uclass.c b/dr

[U-Boot] [PATCH 21/31] dm: sandbox: Add a simple driver to test of-platdata

2016-06-07 Thread Simon Glass
Add a driver which uses of-platdata to obtain its platform data. This can be used to test the feature in sandbox. Signed-off-by: Simon Glass --- drivers/misc/Makefile | 5 + drivers/misc/spltest_sandbox.c | 28 2 files changed, 33 insertions(+) create

[U-Boot] [PATCH 09/31] sandbox: Don't use PCI in SPL

2016-06-07 Thread Simon Glass
PCI is not supported in SPL for sandbox, so avoid using it. Signed-off-by: Simon Glass --- arch/sandbox/cpu/cpu.c| 2 +- arch/sandbox/lib/Makefile | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 4975eb2..2def722 100

[U-Boot] [PATCH 17/31] dm: Makefile: Build of-platdata before SPL

2016-06-07 Thread Simon Glass
Since SPL needs the of-platdata structures, build these before starting to build any SPL components. Signed-off-by: Simon Glass --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5b03095..edefc0b 100644 --- a/Makefile +++ b/Makefile @@ -

[U-Boot] [PATCH 13/31] sandbox: serial: Don't sync video in SPL

2016-06-07 Thread Simon Glass
SPL does not support an LCD display so there is no need to sync the video when there is serial output. Signed-off-by: Simon Glass --- drivers/serial/sandbox.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c index 58f882b..bcc3465 100644

[U-Boot] [PATCH 14/31] sandbox: Add a new sandbox_spl board

2016-06-07 Thread Simon Glass
It is useful to be able to build SPL for sandbox. It provides additional build coverage and allows SPL features to be tested in sandbox. However it does not need worthwhile to always create an SPL build. It nearly doubles the build time and the feature is (so far) seldom used. So for now, create a

[U-Boot] [PATCH 16/31] dm: spl: Don't set up device tree with of-platdata

2016-06-07 Thread Simon Glass
When this feature is enabled, we should not access the device tree. Signed-off-by: Simon Glass --- common/spl/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index e931edd..45a988d 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c

[U-Boot] [PATCH 11/31] sandbox: Add basic SPL implementation

2016-06-07 Thread Simon Glass
Add an sandbox implementation for the generic SPL framework. This supports locating and running U-Boot proper. Signed-off-by: Simon Glass --- arch/sandbox/cpu/Makefile | 1 + arch/sandbox/cpu/spl.c | 51 ++ arch/sandbox/include/asm/spl.h | 2

[U-Boot] [PATCH 15/31] sandbox: Add a test device that uses of-platdata

2016-06-07 Thread Simon Glass
Add a simple test device that provides a check that the of-platdata feature is working correctly. Signed-off-by: Simon Glass --- arch/sandbox/cpu/spl.c| 9 + arch/sandbox/dts/sandbox.dts | 13 + include/configs/sandbox_spl.h | 2 ++ 3 files changed, 24 insertions(

[U-Boot] [PATCH 08/31] sandbox: Add some missing headers in cpu.c

2016-06-07 Thread Simon Glass
These headers are needed in case they are not transitively included. Signed-off-by: Simon Glass --- arch/sandbox/cpu/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 7a622c8..4975eb2 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/

[U-Boot] [PATCH 07/31] sandbox: Correct header file order in cpu.c

2016-06-07 Thread Simon Glass
The dm/ file should go at the end. Move it. Signed-off-by: Simon Glass --- arch/sandbox/cpu/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sandbox/cpu/cpu.c b/arch/sandbox/cpu/cpu.c index 196f3e1..7a622c8 100644 --- a/arch/sandbox/cpu/cpu.c +++ b/arch/sandbox/cpu

[U-Boot] [PATCH 06/31] sandbox: Support building an SPL image

2016-06-07 Thread Simon Glass
When building an SPL image, override the link flags so that it uses the system libraries. This is similar to the way the non-SPL image is built. Signed-off-by: Simon Glass --- arch/sandbox/config.mk | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/sandbox/config.mk b/arch/sandbox/c

[U-Boot] [PATCH 12/31] sandbox: Don't use IDE and iotrace in SPL

2016-06-07 Thread Simon Glass
These functions are not supported in SPL, so drop them. Signed-off-by: Simon Glass --- include/configs/sandbox.h | 4 1 file changed, 4 insertions(+) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 23a0c40..4de89f8 100644 --- a/include/configs/sandbox.h +++ b/incl

[U-Boot] [PATCH 10/31] sandbox: Don't include the main loop in SPL

2016-06-07 Thread Simon Glass
SPL does not have a command interface so we should not include the main loop code. Signed-off-by: Simon Glass --- arch/sandbox/cpu/start.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/sandbox/cpu/start.c b/arch/sandbox/cpu/start.c index 969618e..6e4ec01 100644 --- a/arch/sandbox/c

[U-Boot] [PATCH 02/31] README: Remove CONFIG_SYS_MALLOC_F_LEN comment

2016-06-07 Thread Simon Glass
This option is now widely available, so remove the comment that it is only available on ARM and sandbox. Signed-off-by: Simon Glass --- README | 3 --- 1 file changed, 3 deletions(-) diff --git a/README b/README index 1d0b946..c3dcfbd 100644 --- a/README +++ b/README @@ -3852,9 +3852,6 @@ Conf

[U-Boot] [PATCH 03/31] spl: Drop include of i2c.h

2016-06-07 Thread Simon Glass
This file does not appear to use I2C, so drop this include. Signed-off-by: Simon Glass --- common/spl/spl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/common/spl/spl.c b/common/spl/spl.c index c8dfc14..e931edd 100644 --- a/common/spl/spl.c +++ b/common/spl/spl.c @@ -13,7 +13,6 @@ #incl

[U-Boot] [PATCH 01/31] sandbox: Don't print a warning for CONFIG_I2C_COMPAT

2016-06-07 Thread Simon Glass
Sandbox includes this code to provide build coverage. While we retain this feature we should have sandbox build it. Sandbox does not in fact use the I2C compatibility mode. Showing a warning for sandbox is just confusing, since no conversion is expected. Drop the warning for sandbox. Signed-off-b

[U-Boot] [PATCH 04/31] Makefile: Allow the SPL final link rule to be overridden

2016-06-07 Thread Simon Glass
Overriding the final link rule is possible with U-Boot proper. It us used to create a sandbox image links with host libraries. To build a sandbox SPL image we need the same feature for SPL. To support this, update the SPL link rule so sandbox can override it. Signed-off-by: Simon Glass --- scr

[U-Boot] [PATCH 05/31] sandbox: Allow chaining from SPL to U-Boot proper

2016-06-07 Thread Simon Glass
SPL is expected to load and run U-Boot. This needs to work with sandbox also. Provide a function to locate the U-Boot image, and another to start it. This allows SPL to function on sandbox as it does on other archs. Signed-off-by: Simon Glass --- arch/sandbox/cpu/os.c | 51 +

Re: [U-Boot] [PATCH v2 1/2] tools: moveconfig: Make the slot processing more linear

2016-06-07 Thread Masahiro Yamada
Hi Joe. 2016-06-02 12:30 GMT+09:00 Joe Hershberger : > Make the processing of a slot more linear code compared to how it > executes. > > Signed-off-by: Joe Hershberger > This patch moves "make defconfig" from the .add() method to the .poll() method, but it did not update the comment block. So,

Re: [U-Boot] [PATCH] x86: acpi: Fix madt lapic generation

2016-06-07 Thread Bin Meng
On Wed, Jun 8, 2016 at 2:40 AM, George McCollister wrote: > An accumulated length was incorrectly added to current each pass > through the loop. On system with more than 2 cores this caused a > corrupt MADT to be generated. > > Signed-off-by: George McCollister > --- > arch/x86/lib/acpi_table.c

[U-Boot] [PATCH] tools: moveconfig: make Slot.poll() more readable with helper methods

2016-06-07 Thread Masahiro Yamada
The Slot.poll() method is already complicated and a new feature we are going to add will make it more difficult to understand the execution flow. Refactor it with helper methods, .handle_error(), .do_defconfig(), .do_autoconf(), .do_savedefconfig, and .update_defconfig(). Signed-off-by: Masahiro

Re: [U-Boot] [PATCH] gpio: pca953x: Fix register reading past 8th GPIO

2016-06-07 Thread Simon Glass
On 23 May 2016 at 02:15, Peng Fan wrote: > Hi Mario, > > On Mon, May 23, 2016 at 09:54:56AM +0200, Mario Six wrote: >>A bug in the pca953x driver prevents correct reading of GPIO input >>values beyond the 8th GPIO; all values are reported as zero. Setting of >>GPIO output values is not affected. >

Re: [U-Boot] [PATCH] lib/libfdt/: General aesthetic/style fixes.

2016-06-07 Thread Simon Glass
Hi Robert, On 23 May 2016 at 02:40, Robert P. J. Day wrote: > A number of style fixes across the files in this directory, including: > > * Correct invalid kernel-doc content. > * Tidy up massive comment in fdt_region.c. > * Use correct spelling of "U-Boot". > * Replace tests of "! " with "!".

Re: [U-Boot] [PATCH 2/2] reset: implement a reset test

2016-06-07 Thread Simon Glass
On 17 May 2016 at 14:56, Simon Glass wrote: > Hi Stephen, > > On 17 May 2016 at 10:46, Stephen Warren wrote: >> From: Stephen Warren >> >> This adds a sandbox reset implementation (provider), a test client >> device, instantiates them both from Sandbox's DT, and adds a DM test >> that excercises

Re: [U-Boot] [PATCH 1/2] Add a reset driver framework/uclass

2016-06-07 Thread Simon Glass
Hi Stephen, On 2 June 2016 at 09:59, Stephen Warren wrote: > On 05/18/2016 10:54 AM, Stephen Warren wrote: >> >> On 05/17/2016 03:56 PM, Simon Glass wrote: >>> >>> Hi Stephen, >>> >>> On 17 May 2016 at 10:46, Stephen Warren wrote: From: Stephen Warren A reset controller is a

Re: [U-Boot] [PATCH] dm: add manual relocation for devices

2016-06-07 Thread Simon Glass
On 21 May 2016 at 03:05, Angelo Dureghello wrote: > Some architectures as m68k still need to use CONFIG_NEEDS_MANUAL_RELOC, > and are not still using the device tree. > > Signed-off-by: Angelo Dureghello > --- > drivers/core/root.c | 15 +++ > 1 file changed, 15 insertions(+) Acked-

Re: [U-Boot] [PATCH] clk: convert API to match reset/mailbox style

2016-06-07 Thread Simon Glass
Hi Stephen, On 23 May 2016 at 10:47, Stephen Warren wrote: > From: Stephen Warren > > The following changes are made to the clock API: > * The concept of "clocks" and "peripheral clocks" are unified; each clock > provider now implements a single set of clocks. This provides a simpler > conce

Re: [U-Boot] [RFC][PATCH] arm: rk: Drop SYS_MALLOC_F and SPL_SYS_MALLOC_SIMPLE

2016-06-07 Thread Simon Glass
Hi Marek, On 25 May 2016 at 05:26, Marek Vasut wrote: > On 05/25/2016 05:29 AM, Simon Glass wrote: >> Hi Marek, >> >> On 24 May 2016 at 18:15, Marek Vasut wrote: >>> Both SYS_MALLOC_F and SPL_SYS_MALLOC_SIMPLE are generic config options, >>> drop them from the rockchip-specific Kconfig file. >>>

Re: [U-Boot] [PATCH] x86: acpi: Fix madt lapic generation

2016-06-07 Thread Simon Glass
On 7 June 2016 at 12:40, George McCollister wrote: > > An accumulated length was incorrectly added to current each pass > through the loop. On system with more than 2 cores this caused a > corrupt MADT to be generated. > > Signed-off-by: George McCollister > --- > arch/x86/lib/acpi_table.c | 12

Re: [U-Boot] [PATCH v4] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-06-07 Thread Yunhui Cui
On 06/07/2016 11:57 PM, York Sun wrote: > On 06/07/2016 02:28 AM, Yunhui Cui wrote: > > From: Yunhui Cui > > > > The SP805-WDT module on LS2080A and LS2085A, requires configuration of > > PMU's PCTBENR register to enable watchdog counter decrement and reset > > signal generation. In order not to a

Re: [U-Boot] HUSH_PARSER...

2016-06-07 Thread Fabio Estevam
On Tue, Jun 7, 2016 at 10:11 PM, Sergey Kubushyn wrote: > I wonder is there any clarity wrt CONFIG_HUSH_PARSER vs > CONFIG_SYS_HUSH_PARSER? > > That stupid definition seems to be constantly oscillating between those > two definitions from release to release so one is left with missing > scripting

Re: [U-Boot] [PATCH] imx6: Add Phytec PCM058 i.MX6 Quad

2016-06-07 Thread Fabio Estevam
Hi Stefano, On Mon, Jun 6, 2016 at 6:49 AM, Stefano Babic wrote: > diff --git a/board/phytec/pcm058/README b/board/phytec/pcm058/README > new file mode 100644 > index 000..90e2818 > --- /dev/null > +++ b/board/phytec/pcm058/README > @@ -0,0 +1,9 @@ > +Building U-Boot for phytec-mira > +-

Re: [U-Boot] [PATCHv4] ARM: socfpga: add support for IS1 board

2016-06-07 Thread Marek Vasut
On 06/07/2016 12:37 PM, Pavel Machek wrote: > > This adds support for IS1 board. Pretty usual socfpga board, > 256MB of RAM, does not have MMC, two SPI chips, one ethernet port, two > additional ethernet ports connected to the FPGA. > > Signed-off-by: Pavel Machek > [...] Applied, thanks. --

[U-Boot] HUSH_PARSER...

2016-06-07 Thread Sergey Kubushyn
I wonder is there any clarity wrt CONFIG_HUSH_PARSER vs CONFIG_SYS_HUSH_PARSER? That stupid definition seems to be constantly oscillating between those two definitions from release to release so one is left with missing scripting every time new version is released... I'm putting both definition

Re: [U-Boot] [PATCHV5 4/6] ARMv8/Layerscape: switch SMP method accordingly

2016-06-07 Thread York Sun
On 06/04/2016 11:40 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > If the PSCI and PPA is ready, skip the fixup for spin-table and > waking secondary cores. If not, change SMP method to spin-table, > and the device node of PSCI will be removed. > > Signed-off-by: Hou Zhiqiang > --- > V5: > -

Re: [U-Boot] [PATCHV5 4/6] ARMv8/Layerscape: switch SMP method accordingly

2016-06-07 Thread York Sun
On 06/04/2016 11:40 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > If the PSCI and PPA is ready, skip the fixup for spin-table and > waking secondary cores. If not, change SMP method to spin-table, > and the device node of PSCI will be removed. > > Signed-off-by: Hou Zhiqiang > --- > V5: > -

Re: [U-Boot] [PATCHV5 3/6] ARMv8/layerscape: Add FSL PPA support

2016-06-07 Thread York Sun
On 06/04/2016 11:40 PM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > The FSL Primary Protected Application (PPA) is a software component > loaded during boot which runs in TrustZone and remains resident > after boot. > > Signed-off-by: Hou Zhiqiang > --- > V5: > - Added API sec_firmware_init()

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-07 Thread Carlos Santos
> From: "Thomas Petazzoni" > To: "Carlos Santos" > Cc: "Tom Rini" , u-boot@lists.denx.de > Sent: Tuesday, June 7, 2016 5:37:46 PM > Subject: Re: [U-Boot] [PATCH v2] Make FIT support really optional > Carlos, Tom, > > On Sat, 4 Jun 2016 14:39:22 -0300 (BRT), Carlos Santos wrote: > >> > So, why?

Re: [U-Boot] [PATCH v5 1/2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-07 Thread Marek Vasut
On 06/08/2016 12:35 AM, Steve Rae wrote: > Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the > physical interface to be 8-bit (rather than 16-bit). > > Signed-off-by: Steve Rae Applied both, thanks. > --- > from [1] (line ~124) > > /* The Kona PHY supports an 8-bit wide UTMI i

[U-Boot] [PATCH v5 2/2] arm: bcm281xx: choose 8-bit phy bus width

2016-06-07 Thread Steve Rae
The Kona PHY supports an 8-bit wide UTMI interface, therefore, choose this Kconfig setting. Signed-off-by: Steve Rae --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_driver(bcm_kona_usb2_driver); MODULE_ALIAS("platfo

[U-Boot] [PATCH v5 1/2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-07 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_driver(bcm_kona_usb2_driver);

Re: [U-Boot] [PATCH v4 2/2] USB: DWC2: choose 8-bit phy bus width

2016-06-07 Thread Steve Rae
On Tue, Jun 7, 2016 at 3:24 PM, Marek Vasut wrote: > On 06/07/2016 05:57 PM, Steve Rae wrote: >> The Kona PHY supports an 8-bit wide UTMI interface, >> therefore, choose this Kconfig setting. >> >> Signed-off-by: Steve Rae > > Shouldn't the tags in this patch be ARM: bcm: ? They certainly shouldn

Re: [U-Boot] [PATCH v4 2/2] USB: DWC2: choose 8-bit phy bus width

2016-06-07 Thread Marek Vasut
On 06/07/2016 05:57 PM, Steve Rae wrote: > The Kona PHY supports an 8-bit wide UTMI interface, > therefore, choose this Kconfig setting. > > Signed-off-by: Steve Rae Shouldn't the tags in this patch be ARM: bcm: ? They certainly shouldn't be USB: DWC2 as this affects the BCM platforms. Otherwis

[U-Boot] [PATCH 1/1] common: fb_nand: won't compile

2016-06-07 Thread Sergey Kubushyn
Somehow this got overlooked when getting rid of nand_info. Small patch, won't affect anything else, no reason to wait for the next cycle. Signed-off-by: Sergey Kubushyn --- diff --git a/common/fb_nand.c b/common/fb_nand.c index e55ea38..ae34f48 100644 --- a/common/fb_nand.c +++ b/common/fb_nand

Re: [U-Boot] [PATCH v2] Make FIT support really optional

2016-06-07 Thread Thomas Petazzoni
Carlos, Tom, On Sat, 4 Jun 2016 14:39:22 -0300 (BRT), Carlos Santos wrote: > > So, why? I don't like the idea of making FIT support in mkimage > > conditional. > > If FIT is not to be conditional then what's the purpose of the > CONFIG_FIT_SIGNATURE configuration option? Looks like it exists

Re: [U-Boot] [PATCH v2 0/5] Update fastboot sparse image handling

2016-06-07 Thread Steve Rae
Tom, On Tue, Jun 7, 2016 at 11:19 AM, Steve Rae wrote: > While retaining the storage abstraction feature implemented in U-Boot, > this series updates the fastboot sparse image handling by > (1) fixing broken code, > (2) resync'ing with the upstream code, and > (3) improving performance when writi

[U-Boot] [PATCH 1/1] cmd: bootefi: cosmetic

2016-06-07 Thread Sergey Kubushyn
Short help (description) in bootefi command has a trailing "\n" that breaks the "help" command output (empty line after "bootefi"). Nothing important, doesn't affect anything but better be fixed in the upcoming release. Still working on i.MX6 and their siblings NAND U-Boot update -- it works he

[U-Boot] [PATCH] x86: acpi: Fix madt lapic generation

2016-06-07 Thread George McCollister
An accumulated length was incorrectly added to current each pass through the loop. On system with more than 2 cores this caused a corrupt MADT to be generated. Signed-off-by: George McCollister --- arch/x86/lib/acpi_table.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff

Re: [U-Boot] [PATCH v2 0/5] Update fastboot sparse image handling

2016-06-07 Thread Steve Rae
On Tue, Jun 7, 2016 at 11:36 AM, Sergey Kubushyn wrote: > On Tue, 7 Jun 2016, Steve Rae wrote: > > Quick question before diving in -- does anybody work on making > fastboot able to flash multiple devices? > > There are some braindead designs (e.g. Variscite SOMs) that have both > eMMC and NAND on

Re: [U-Boot] [PATCH v2 0/5] Update fastboot sparse image handling

2016-06-07 Thread Sergey Kubushyn
On Tue, 7 Jun 2016, Steve Rae wrote: Quick question before diving in -- does anybody work on making fastboot able to flash multiple devices? There are some braindead designs (e.g. Variscite SOMs) that have both eMMC and NAND on board and only able to boot off of NAND. Android FS layout uses insa

[U-Boot] [PATCH v2 5/5] fastboot: sparse: improve CHUNK_TYPE_FILL write performance

2016-06-07 Thread Steve Rae
- increase the size of the fill buffer - testing has shown a 10x improvement when the sparse image has large CHUNK_TYPE_FILL chunks Signed-off-by: Steve Rae --- Changes in v2: None common/image-sparse.c | 37 +++-- 1 file changed, 27 insertions(+), 10 deletion

[U-Boot] [PATCH v2 4/5] fastboot: sparse: implement reserve()

2016-06-07 Thread Steve Rae
In order to process the CHUNK_TYPE_DONT_CARE properly, there is a requirement to be able to 'reserve' a specified number of blocks in the storage media. Because of the special handling of "bad blocks" in NAND devices, this is implemented in a storage abstraction function. Signed-off-by: Steve Rae

[U-Boot] [PATCH v2 3/5] fastboot: sparse: resync common/image-sparse.c (part 2)

2016-06-07 Thread Steve Rae
- update fastboot_okay() and fastboot_fail() This file originally came from upstream code. While retaining the storage abstraction feature, this is the second set of the changes required to resync with the cmd_flash_mmc_sparse_img() in the file aboot.c from https://us.codeaurora.org/cgit/q

[U-Boot] [PATCH v2 1/5] fastboot: sparse: remove session-id logic

2016-06-07 Thread Steve Rae
This "session-id" alogrithm is not required, and currently corrupts the stored image whenever more the one "session" is required. Signed-off-by: Steve Rae --- for more information, see the thread starting at [1] [1] http://lists.denx.de/pipermail/u-boot/2016-April/251889.html Changes in v2: - se

[U-Boot] [PATCH v2 2/5] fastboot: sparse: resync common/image-sparse.c (part 1)

2016-06-07 Thread Steve Rae
This file originally came from upstream code. While retaining the storage abstraction feature, this is the first set of the changes required to resync with the cmd_flash_mmc_sparse_img() in the file aboot.c from https://us.codeaurora.org/cgit/quic/la/kernel/lk/plain/app/aboot/aboot.c?h=LE.B

[U-Boot] [PATCH v2 0/5] Update fastboot sparse image handling

2016-06-07 Thread Steve Rae
While retaining the storage abstraction feature implemented in U-Boot, this series updates the fastboot sparse image handling by (1) fixing broken code, (2) resync'ing with the upstream code, and (3) improving performance when writing CHUNK_TYPE_FILL Changes in v2: - series rebased onto v2016.07-r

Re: [U-Boot] [PATCH v4 04/10] configs: ls2080aqds: disable IFC NOR & QIXIS when QSPI enable

2016-06-07 Thread York Sun
On 06/07/2016 01:26 AM, Yuan Yao wrote: > From: Yuan Yao > > When QSPI is enabled, NOR flash and QIXIS can't be accessed through IFC > due to pin mux. > > Signed-off-by: Yuan Yao > --- > include/configs/ls2080aqds.h | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/include/

Re: [U-Boot] [PATCH] sunxi: Add the ability to pass (script) filesize in the SPL header

2016-06-07 Thread Siarhei Siamashka
Hello, On Tue, 7 Jun 2016 16:09:58 +0200 Bernhard Nortmann wrote: > Hello Siarhei! > > Am 06.06.2016 um 11:20 schrieb Siarhei Siamashka: > > On Sun, 5 Jun 2016 15:01:30 +0200 > > Bernhard Nortmann wrote: > > > >> Hi Siarhei! > >> > >> [...] > >> > >> No, you're right and not missing anything

[U-Boot] [PULL] Please pull u-boot-imx

2016-06-07 Thread Stefano Babic
Hi Tom, please pull from u-boot-imx, thanks ! The following changes since commit d7d000311285e4b8d11e089ca13ea456a01be3b8: Merge branch 'master' of git://git.denx.de/u-boot-mips (2016-05-23 11:51:37 -0400) are available in the git repository at: git://www.denx.de/git/u-boot-imx.git master

Re: [U-Boot] [PATCH] arm: mxs: Remove misleading comments

2016-06-07 Thread Stefano Babic
On 06/06/2016 14:26, Michael Heimpold wrote: > Both comments look like being copy & paste errors. > > Signed-off-by: Michael Heimpold > Cc: Peng Fan > Cc: Stefano Babic > --- > arch/arm/cpu/arm926ejs/mxs/mxs.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/a

Re: [U-Boot] [PATCH v4] armv8/ls2080a: configure PMU's PCTBENR to enable WDT

2016-06-07 Thread York Sun
On 06/07/2016 02:28 AM, Yunhui Cui wrote: > From: Yunhui Cui > > The SP805-WDT module on LS2080A and LS2085A, requires configuration > of PMU's PCTBENR register to enable watchdog counter decrement and > reset signal generation. In order not to affect the sp805wdt driver > frame, we enable the wa

[U-Boot] [PATCH v4 2/2] USB: DWC2: choose 8-bit phy bus width

2016-06-07 Thread Steve Rae
The Kona PHY supports an 8-bit wide UTMI interface, therefore, choose this Kconfig setting. Signed-off-by: Steve Rae --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_driver(bcm_kona_usb2_driver); MODULE_ALIAS("platfo

[U-Boot] [PATCH v4 1/2] usb: dwc2_udc_otg: support 8-bit interface

2016-06-07 Thread Steve Rae
Define CONFIG_USB_GADGET_DWC2_OTG_PHY_BUS_WIDTH_8 to allow the physical interface to be 8-bit (rather than 16-bit). Signed-off-by: Steve Rae --- from [1] (line ~124) /* The Kona PHY supports an 8-bit wide UTMI interface */ [...snip...] module_platform_driver(bcm_kona_usb2_driver);

Re: [U-Boot] [PATCH] NFS: Add error message when U-Boot NFS version (V2) is not supported by NFS server

2016-06-07 Thread Joe Hershberger
On Mon, Jun 6, 2016 at 8:11 AM, Guillaume GARDET wrote: > Signed-off-by: Guillaume GARDET > Cc: joe.hershber...@ni.com Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] net: allow fix speed for FEC driver

2016-06-07 Thread Joe Hershberger
On Mon, Jun 6, 2016 at 4:17 AM, Stefano Babic wrote: > Sometimes the MII is not used at all - for example, > when the controller is connected to a switch with > a fixed speed, and the MDC/MDIO signal are used > for something else. > > Allow to set a fixed speed in the FEC driver > without relying

Re: [U-Boot] [PATCH] sunxi: Add the ability to pass (script) filesize in the SPL header

2016-06-07 Thread Bernhard Nortmann
Hello Siarhei! Am 06.06.2016 um 11:20 schrieb Siarhei Siamashka: On Sun, 5 Jun 2016 15:01:30 +0200 Bernhard Nortmann wrote: Hi Siarhei! [...] No, you're right and not missing anything. Setting ${filesize} alone doesn't achieve much, and would require further customization to do the actual i

[U-Boot] [PATCH v2] include: usb: Rename USB controller base address mapping

2016-06-07 Thread Rajesh Bhagat
Remove Soc specific defines and use generic chasis specific defines for USB controller base address mapping. Signed-off-by: Rajesh Bhagat --- Changes in v2: - Rebased patch for latest u-boot .../include/asm/arch-fsl-layerscape/immap_lsch2.h |6 +++--- .../include/asm/arch-fsl-layerscape/i

Re: [U-Boot] [PATCH 5/6] cmd: mtdparts: support runtime generated mtdparts

2016-06-07 Thread Ladislav Michl
On Tue, Jun 07, 2016 at 09:43:20AM +0200, Michal Suchanek wrote: > On 6 June 2016 at 23:21, Ladislav Michl wrote: > > On Mon, Jun 06, 2016 at 08:50:55PM +0200, Michal Suchanek wrote: > > Linux already depends on U-Boot as U-Boot feeds Linux with MTD partitions. > > No. It depends on getting the p

[U-Boot] [PATCH 3/5] ARM: uniphier: do not overwrite bootmode environment

2016-06-07 Thread Masahiro Yamada
This code auto-detects the boot mode, but it should respect the user's choice if "bootmode" environment is found in a saved set of environments. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/board_late_init.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletion

[U-Boot] [PATCH 0/5] ARM: uniphier: some more UniPhier updates for v2016.07-rc2

2016-06-07 Thread Masahiro Yamada
Masahiro Yamada (5): ARM: uniphier: check return code of setenv() ARM: uniphier: do not overwrite fdt_file environment ARM: uniphier: do not overwrite bootmode environment ARM: uniphier: do not erase when updating U-Boot image in eMMC device ARM: uniphier: insert dsb barrier to ensure

  1   2   >