[U-Boot] dtc 1.4.2 warnings

2016-11-02 Thread Bin Meng
Hi, After I switched to dtc 1.4.2, when building x86 boards, I got: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /serial has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /rtc has a

Re: [U-Boot] [PATCH v4 07/11] binman: Add a build rule for binman

2016-11-02 Thread Bin Meng
On Fri, Oct 7, 2016 at 4:59 AM, Simon Glass wrote: > Add a standard command definition for binman so that it can be used in > makefiles. > > Signed-off-by: Simon Glass > --- > > Changes in v4: None > Changes in v3: None > Changes in v2: None > > Makefile |

Re: [U-Boot] [PATCH v4 11/11] x86: Use binman all x86 boards

2016-11-02 Thread Bin Meng
Hi Simon, On Fri, Oct 7, 2016 at 4:59 AM, Simon Glass wrote: > Change x86 boards to use binman to produce the ROM. This involves adding the > image definition to the device tree and using it in the Makefile. The > existing ifdtool features are no-longer needed. > > Note that

Re: [U-Boot] [PATCH v4 08/11] binman: Allow configuration options to be used in .dts files

2016-11-02 Thread Bin Meng
Hi Simon, On Fri, Oct 7, 2016 at 4:59 AM, Simon Glass wrote: > It is sometimes useful to be able to reference configuration options in a > device tree source file. Add the necessary includes so that this works. > > Signed-off-by: Simon Glass > --- > >

Re: [U-Boot] [PATCH v4 11/11] x86: Use binman all x86 boards

2016-11-02 Thread Bin Meng
Hi Simon, On Wed, Nov 2, 2016 at 10:07 PM, Simon Glass wrote: > Hi Bin, > > On 1 November 2016 at 04:07, Bin Meng wrote: >> Hi Simon, >> >> On Fri, Oct 28, 2016 at 10:41 AM, Simon Glass wrote: >>> Hi Bin, >>> >>> On 12 October 2016 at

[U-Boot] [RFC PATCH 10/10] sunxi: A64: add 32-bit SPL support

2016-11-02 Thread Andre Przywara
When compiling the SPL for the Allwinner A64 in AArch64 mode, we can't use the more compact Thumb2 encoding, which only exists for AArch32 code. This makes the SPL rather big, up to a point where any code additions or even a different compiler may easily exceed the 32KB limit that the Allwinner

[U-Boot] [RFC PATCH 07/10] sunxi: H3/A64: fix non-ODT setting

2016-11-02 Thread Andre Przywara
According to Jens disabling the on-die-termination should set bit 5, not bit 1 in the respective register. Fix this. Reported-by: Jens Kuske Signed-off-by: Andre Przywara --- arch/arm/mach-sunxi/dram_sun8i_h3.c | 2 +- 1 file changed, 1

[U-Boot] [RFC PATCH 09/10] sunxi: introduce RMR switch to enter payloads in 64-bit mode

2016-11-02 Thread Andre Przywara
The ARMv8 capable Allwinner A64 SoC comes out of reset in AArch32 mode. To run AArch64 code, we have to trigger a warm reset via the RMR register, which proceeds with code execution at the address stored in the RVBAR register. If the bootable payload in the FIT image is using a different

[U-Boot] [RFC PATCH 08/10] SPL: read and store arch property from U-Boot image

2016-11-02 Thread Andre Przywara
Read the specified "arch" value from a legacy or FIT U-Boot image and store it in our SPL data structure. This allows loaders to take the target architecture in account for custom loading procedures. Having the complete string -> arch mapping for FIT based images in the SPL would be too big, so we

[U-Boot] [RFC PATCH 05/10] sunxi: H3: add DRAM controller single bit delay support

2016-11-02 Thread Andre Przywara
From: Jens Kuske Instead of setting the delay for whole bytes allow setting it for each individual bit. Also add support for address/command lane delays. Signed-off-by: Jens Kuske Signed-off-by: Andre Przywara ---

[U-Boot] [RFC PATCH 06/10] sunxi: A64: use H3 DRAM initialization code for A64

2016-11-02 Thread Andre Przywara
From: Jens Kuske The A64 DRAM controller is very similar to the H3 one, so the code can be reused with some small changes. [Andre: fixed up typo, merged in fixes from Jens] Signed-off-by: Jens Kuske Signed-off-by: Andre Przywara

[U-Boot] [RFC PATCH 04/10] sunxi: H3: add and rename some DRAM contoller registers

2016-11-02 Thread Andre Przywara
From: Jens Kuske The IOCR registers got renamed to BDLR to match the public documentation of similar controllers. Signed-off-by: Jens Kuske Signed-off-by: Andre Przywara --- arch/arm/include/asm/arch-sunxi/dram_sun8i_h3.h | 43

[U-Boot] [RFC PATCH 03/10] sunxi: provide default DRAM config for sun50i in Kconfig

2016-11-02 Thread Andre Przywara
To avoid enumerating the very same DRAM values in defconfig files for each and every Allwinner A64 board out there, let's put some sane default values in the Kconfig file. Boards with different needs can override them at any time. Signed-off-by: Andre Przywara ---

[U-Boot] [RFC PATCH 01/10] sun6i: Restrict some register initialization to Allwinner A31 SoC

2016-11-02 Thread Andre Przywara
These days many Allwinner SoCs use clock_sun6i.c, although out of them only the (original sun6i) A31 has a second MBUS clock register. Also setting up the PRCM PLL_CTLR1 register to provide the proper voltage seems to be an A31-only feature as well. So restrict the initialization to this SoC only

[U-Boot] [RFC PATCH 02/10] Makefile: use "arm64" architecture for U-Boot image files

2016-11-02 Thread Andre Przywara
At the moment we use the arch/arm directory for arm64 boards as well, so the Makefile will pick up the "arm" name for the architecture to use for tagging binaries in U-Boot image files. Differentiate between the two by looking at the CPU variable being defined to "armv8", and use the arm64

[U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-02 Thread Andre Przywara
Hi, this is my first take on the SPL support for the Allwinner A64 SoC. The actual meat - the DRAM initialization code - has been provided by Jens - many thanks for that! The rest of the patches mostly deal with the 32-bit/64-bit switch. While it is possible and seems natural to let the SPL also

Re: [U-Boot] [PATCH v2] rk3399: Reserve space for ARM Trust Firmware

2016-11-02 Thread Andreas Färber
Hello, Am 25.07.2016 um 05:45 schrieb Kever Yang: > RK3399 needs reserve 0x20 at the beginning of DRAM, for ATF bl31. > > Signed-off-by: Kever Yang > --- > > Changes in v2: > - correct some typo on commit message and comment > >

[U-Boot] [PATCH] doc: update README.arm64

2016-11-02 Thread Andre Przywara
This file apparently hasn't seen an update in a while, so just sync it with reality. Signed-off-by: Andre Przywara --- doc/README.arm64 | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/doc/README.arm64 b/doc/README.arm64

[U-Boot] [PATCH] drivers: SPI: sunxi SPL: fix warning

2016-11-02 Thread Andre Przywara
Somehow an int returning function without a return statement sneaked in. Fix it. Signed-off-by: Andre Przywara --- drivers/mtd/spi/sunxi_spi_spl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/sunxi_spi_spl.c

[U-Boot] [PATCH] armv8: define get_ticks() for the ARMv8 Generic Timer

2016-11-02 Thread Andre Przywara
For 64-bit ARM systems we provide just a timer_read_counter() implementation and rely on the generic non-uclass get_ticks() function in lib/time.c to call the former. However this function is actually not 64-bit safe, as it assumes a "long" to be 32-bit. Beside the fact that the resulting uint64_t

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-11-02 Thread Marek Vasut
On 11/02/2016 05:30 PM, Dinh Nguyen wrote: > On Tue, Nov 1, 2016 at 3:43 PM, Dinh Nguyen wrote: >> >> >> On 11/01/2016 03:42 PM, Marek Vasut wrote: >>> On 11/01/2016 09:39 PM, Dinh Nguyen wrote: On 11/01/2016 03:09 PM, Marek Vasut wrote: > On 11/01/2016

Re: [U-Boot] [PATCH] net: use random ethernet address if invalid and not zero

2016-11-02 Thread Joe Hershberger
On Wed, Nov 2, 2016 at 6:52 AM, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Use random ethernet address if the ethernet address found > is invalid, not zero and config for random address > is defined. > > Signed-off-by: Siva

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2016-11-02 Thread Marek Vasut
On 11/02/2016 04:28 PM, Lukasz Majewski wrote: > Hi Marek, Is this for 2016.11 or next ? > Please find following code for u-boot-dfu repository. > > The following changes since commit 57faca19a82fc9b43a227824c30aeb76a43d1957: > > drivers: USB: OHCI: allow compilation for 64-bit targets

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-02 Thread Marek Vasut
On 11/02/2016 04:24 PM, Phil Edworthy wrote: > The IP supports two ports, A and B, each providing up to 32 gpios. > The driver already creates a 2nd gpio bank by reading the 2nd node > from DT, so this is quite a simple change to support the 2nd bank. > > Signed-off-by: Phil Edworthy

Re: [U-Boot] [PATCH 2/7] spi: cadence_qspi: Fix baud rate calculation

2016-11-02 Thread Marek Vasut
On 11/02/2016 04:15 PM, Phil Edworthy wrote: > With the existing code, when the requested SPI clock rate is near > to the lowerest that can be achieved by the hardware (max divider > of the ref clock is 32), the generated clock rate is wrong. > For example, with a 50MHz ref clock, when asked for

Re: [U-Boot] [PATCH 4/4] ARM: tegra: enable Ethernet on p2771-0000

2016-11-02 Thread Joe Hershberger
On Mon, Sep 12, 2016 at 12:51 PM, Stephen Warren wrote: > From: Stephen Warren > > Enable the Ethernet device in DT, provide board-specific configuration, > and enable the driver in Kconfig. > > Signed-off-by: Stephen Warren

Re: [U-Boot] [PATCH 3/4] ARM: tegra: add DWC EQoS (ethernet) to Tegra186 DT

2016-11-02 Thread Joe Hershberger
On Mon, Sep 12, 2016 at 12:51 PM, Stephen Warren wrote: > From: Stephen Warren > > Tegra186 includes a Synopsys DWC EQoS (Ethernet) device. Add this to the > Tegra186 SoC DT so that boards can make use of it. > > Signed-off-by: Stephen Warren

Re: [U-Boot] [PATCH 2/4] ARM: tegra: configure Ethernet address on Tegra186

2016-11-02 Thread Joe Hershberger
On Mon, Sep 12, 2016 at 12:51 PM, Stephen Warren wrote: > From: Stephen Warren > > On Tegra186, the bootloader which runs before U-Boot passes the Ethernet > MAC address to U-Boot using device tree. Extract this value and write it > to the environment,

Re: [U-Boot] [PATCH 1/4] ARM: tegra: add SoC-level hook for board_late_init()

2016-11-02 Thread Joe Hershberger
On Mon, Sep 12, 2016 at 12:51 PM, Stephen Warren wrote: > From: Stephen Warren > > Extend the Tegra186 implementation of board_late_init() to call a per-SoC > "hook" function. This will allow SoC-specific (rather than Tegra-wide) > functionality to be

Re: [U-Boot] [PATCH 0/8] dm: Update on serial driver progress

2016-11-02 Thread Marcel Ziswiler
On Tue, 2016-11-01 at 19:55 -0600, Simon Glass wrote: > Hi Marcel, > > On 28 October 2016 at 04:44, Marcel Ziswiler > wrote: > > > > On Wed, 2016-10-26 at 16:30 +, Simon Glass wrote: > > > ... > > > OK we can hold off - when do you expect to do this? > > Thanks

Re: [U-Boot] [PATCH 1/2] drivers: timer: Introduce ARC timer driver

2016-11-02 Thread Simon Glass
Hi Vlad, On 2 November 2016 at 09:44, Vlad Zakharov wrote: > This commit introduces timer driver for ARC. > > ARC timers are configured via ARC AUX registers so we use special > functions to access timer control registers. > > This driver allows utilization of

Re: [U-Boot] [PATCH] arm: dts: Fix Rockchip sort order

2016-11-02 Thread Simon Glass
On 2 November 2016 at 11:02, Andreas Färber wrote: > Sort rk3036 before rk3288. > > Signed-off-by: Andreas Färber > --- > arch/arm/dts/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass

Re: [U-Boot] [PATCH 2/2] arc: use timer driver instead of arch/arc/lib/timer.c

2016-11-02 Thread Simon Glass
Hi Vlad, On 2 November 2016 at 09:44, Vlad Zakharov wrote: > This commit replaces legacy timer code with usage of arc timer > driver. > > Also it adds timer0 device tree node with corresponding > "clock-frequency" property. > > Therefore we remove legacy

Re: [U-Boot] [PATCH] arm: rockchip: Fix typo in ROCKCHIP_RK3288 help

2016-11-02 Thread Simon Glass
On 2 November 2016 at 11:03, Andreas Färber wrote: > UART,s -> UARTs, to avoid this spreading via copy > > Signed-off-by: Andreas Färber > --- > arch/arm/mach-rockchip/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon Glass

Re: [U-Boot] [PATCH 2/7] net: stm32: add designware mac glue code for stm32

2016-11-02 Thread Michael Kurz
On Tue, 1 Nov 2016, Joe Hershberger wrote: On Tue, Nov 1, 2016 at 4:54 PM, Michael Kurz wrote: This patch adds glue code required for enabling the designware mac on stm32f7 devices. Signed-off-by: Michael Kurz ---

[U-Boot] [PATCH] arm: rockchip: Fix typo in ROCKCHIP_RK3288 help

2016-11-02 Thread Andreas Färber
UART,s -> UARTs, to avoid this spreading via copy Signed-off-by: Andreas Färber --- arch/arm/mach-rockchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig index 1aac3c8..ffd281c 100644

[U-Boot] [PATCH] arm: dts: Fix Rockchip sort order

2016-11-02 Thread Andreas Färber
Sort rk3036 before rk3288. Signed-off-by: Andreas Färber --- arch/arm/dts/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index 756535b..7f6545e 100644 --- a/arch/arm/dts/Makefile +++

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-11-02 Thread Dinh Nguyen
On Tue, Nov 1, 2016 at 3:43 PM, Dinh Nguyen wrote: > > > On 11/01/2016 03:42 PM, Marek Vasut wrote: >> On 11/01/2016 09:39 PM, Dinh Nguyen wrote: >>> >>> >>> On 11/01/2016 03:09 PM, Marek Vasut wrote: On 11/01/2016 04:43 PM, Dinh Nguyen wrote: > > > On

[U-Boot] [PATCH 2/2] arc: use timer driver instead of arch/arc/lib/timer.c

2016-11-02 Thread Vlad Zakharov
This commit replaces legacy timer code with usage of arc timer driver. Also it adds timer0 device tree node with corresponding "clock-frequency" property. Therefore we remove legacy CONFIG_SYS_TIMER_RATE config symbol that is not longer required. Furthermore the commit adds CONFIG_TIMER and

[U-Boot] [PATCH 1/2] drivers: timer: Introduce ARC timer driver

2016-11-02 Thread Vlad Zakharov
This commit introduces timer driver for ARC. ARC timers are configured via ARC AUX registers so we use special functions to access timer control registers. This driver allows utilization of either timer0 or timer1 depending on which one is available in real hardware. Essentially only existing

[U-Boot] [PATCH 0/2] drivers: timer: inroduce ARC timer driver

2016-11-02 Thread Vlad Zakharov
This patch series replaces legacy approach to access ARC timer via specific code in "arch/arc/lib/time.c" and uses timer driver instead. ARC cores may have up to 2 built-in timers: timer0 and timer1, usually at least one of them exists. They are controlled through auxiliary registers and so we

Re: [U-Boot] [PATCH v1] dfu: align array in dfu_get_dev_type with enum dfu_device_type

2016-11-02 Thread Lukasz Majewski
Hi Patrick, > Signed-off-by: Patrick Delaunay > --- > > drivers/dfu/dfu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c > index 20dfcbb..8dacc1a 100644 > --- a/drivers/dfu/dfu.c > +++

[U-Boot] [GIT] Pull request: u-boot-dfu

2016-11-02 Thread Lukasz Majewski
Hi Marek, Please find following code for u-boot-dfu repository. The following changes since commit 57faca19a82fc9b43a227824c30aeb76a43d1957: drivers: USB: OHCI: allow compilation for 64-bit targets (2016-10-29 19:45:40 +0200) are available in the git repository at:

[U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-02 Thread Phil Edworthy
The IP supports two ports, A and B, each providing up to 32 gpios. The driver already creates a 2nd gpio bank by reading the 2nd node from DT, so this is quite a simple change to support the 2nd bank. Signed-off-by: Phil Edworthy --- drivers/gpio/dwapb_gpio.c | 40

[U-Boot] [PATCH 7/7] spi: cadence_qspi: Support specifying the sample edge used

2016-11-02 Thread Phil Edworthy
The HW manual does not give details about what the register value for this bit actually does, other than "Choose edge on which data outputs from flash memory will be sampled". Signed-off-by: Phil Edworthy --- Our HW engineers tell me that it needs to be set for our

[U-Boot] [PATCH 6/7] spi: cadence_qspi: Fix CQSPI_CAL_DELAY calculation

2016-11-02 Thread Phil Edworthy
This change copes with the delay being less than a SCLK period. Signed-off-by: Phil Edworthy --- drivers/spi/cadence_qspi_apb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index

[U-Boot] [PATCH 2/7] spi: cadence_qspi: Fix baud rate calculation

2016-11-02 Thread Phil Edworthy
With the existing code, when the requested SPI clock rate is near to the lowerest that can be achieved by the hardware (max divider of the ref clock is 32), the generated clock rate is wrong. For example, with a 50MHz ref clock, when asked for anything less than a 1.5MHz SPI clock, the code sets

[U-Boot] [PATCH 3/7] spi: cadence_qspi: Use #define for bits instead of bit shifts

2016-11-02 Thread Phil Edworthy
Most of the code already uses #defines for the bit value, rather than the shift required to get the value. This changes the remaining code over. Whislt at it, fix the names of the "Rd Data Capture" register defs. Signed-off-by: Phil Edworthy ---

[U-Boot] [PATCH 5/7] spi: cadence_qspi: Remove returns from end of void functions

2016-11-02 Thread Phil Edworthy
Signed-off-by: Phil Edworthy --- drivers/spi/cadence_qspi_apb.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index 639780c..a0edeb8 100644 --- a/drivers/spi/cadence_qspi_apb.c +++

[U-Boot] [PATCH 4/7] spi: cadence_qspi: Clean up the #define names

2016-11-02 Thread Phil Edworthy
A lot of the #defines are for single bits in a register, where the name has _MASK on the end. Since this can be used for both a mask and the value, remove _MASK from them. Whilst doing so, also remove the unneccesary brackets around the constants. Signed-off-by: Phil Edworthy

[U-Boot] [PATCH 0/7] SF: Cadence QSPI driver fixes and clean up

2016-11-02 Thread Phil Edworthy
This series has fixes, patches to clean the code up, and add support for specifying the sampling edge. Phil Edworthy (7): spi: cadence_qspi: Fix clearing of pol/pha bits spi: cadence_qspi: Fix baud rate calculation spi: cadence_qspi: Use #define for bits instead of bit shifts spi:

[U-Boot] [PATCH 1/7] spi: cadence_qspi: Fix clearing of pol/pha bits

2016-11-02 Thread Phil Edworthy
Or'ing together bit positions is clearly wrong. Signed-off-by: Phil Edworthy --- drivers/spi/cadence_qspi_apb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/spi/cadence_qspi_apb.c b/drivers/spi/cadence_qspi_apb.c index

Re: [U-Boot] [U-Boot,3/4] Fix spelling of "extended".

2016-11-02 Thread Tom Rini
On Sun, Oct 23, 2016 at 08:45:18PM -0700, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > Reviewed-by: Simon Glass Applied to u-boot/master (before v2016.11-rc3), thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2 6/6] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-11-02 Thread Tom Rini
On Tue, Nov 01, 2016 at 06:04:32PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > A most basic PSCI implementation with only one psci_version is added for > LS1043A, this can verify the generic PSCI framework, and more platform > specific > implementation

Re: [U-Boot] [PATCH v2 5/6] ARMv8: Setup PSCI memory and dt

2016-11-02 Thread Tom Rini
On Tue, Nov 01, 2016 at 06:04:31PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > Newly add ARMv8 PSCI needs to be initialized, be copied or reserved in right > place, this patch does all the setup steps. > > Signed-off-by: Hongbo Zhang

Re: [U-Boot] [PATCH v2 3/6] ARMv8: Add secure sections for PSCI text and data

2016-11-02 Thread Tom Rini
On Tue, Nov 01, 2016 at 06:04:29PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > This patch adds secure_text, secure_data and secure_stack sections for ARMv8 > to > hold PSCI text and data, and it is based on the legacy implementation of > ARMv7. > >

Re: [U-Boot] README: fix typo candiate -> candidate

2016-11-02 Thread Tom Rini
On Sun, Oct 30, 2016 at 05:30:30PM +0100, Jelle van der Waa wrote: > Signed-off-by: Jelle van der Waa Applied to u-boot/master (before v2016.11-rc3), thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing

Re: [U-Boot] [PATCH v2 1/6] ARMv8: LS1043A: change macro CONFIG_ARMV8_PSCI definition

2016-11-02 Thread Tom Rini
On Tue, Nov 01, 2016 at 06:04:27PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > NXP/Freescale uses macro CONFIG_ARMV8_PSCI to enable their private PSCI > implementation in PPA firmware, but this macro naming too generic, so this > patch replaces it with a

Re: [U-Boot] [PATCH v2 2/6] ARMv8: Enable SMC instruction

2016-11-02 Thread Tom Rini
On Tue, Nov 01, 2016 at 06:04:28PM +0800, macro.wav...@gmail.com wrote: > From: Hongbo Zhang > > PSCI implementation needs the SMC instruction to be enabled. > Following the legacy codes pattern, no bit macro definition and bit operation > are used, only the immediate data

Re: [U-Boot] travis.yml: Add in uniphier as a job, modify aarch64 builds a bit

2016-11-02 Thread Tom Rini
On Sat, Oct 29, 2016 at 05:11:17PM -0400, Tom Rini wrote: > - Add in system aarch64-linux-gnu toolchain > - Now that all VMs will have aarch64 available, don't exclude them from > other jobs but instead exclude them from the catch-all aarch64 build > - Add JOB= to the Freescale/ARM build to be

Re: [U-Boot] [U-Boot,4/4] Fix spelling of "resetting".

2016-11-02 Thread Tom Rini
On Sun, Oct 23, 2016 at 08:45:19PM -0700, Vagrant Cascadian wrote: > Cover-Letter: Fixes several spelling errors for the words "resetting", > "extended", "occur", and "multiple". > > Signed-off-by: Vagrant Cascadian > Reviewed-by: Simon Glass Applied

Re: [U-Boot] [U-Boot, v2, 1/2] mkimage: Fix missing free() in show_valid_options()

2016-11-02 Thread Tom Rini
On Thu, Oct 27, 2016 at 05:54:03PM -0600, Simon Glass wrote: > The allocated memory should be freed. Fix it. > > Signed-off-by: Simon Glass > Reported-by: Coverity (CID: 150963) > Reviewed-by: Tom Rini Applied to u-boot/master (before v2016.11-rc3),

Re: [U-Boot] cmd: load: align cache flush

2016-11-02 Thread Tom Rini
On Tue, Oct 25, 2016 at 08:22:48PM +1300, Chris Packham wrote: > Prevent cache misalignment message by ensuring that a whole cache line > is flushed. > > Signed-off-by: Chris Packham > Reviewed-by: Stefan Roese Applied to u-boot/master (before

Re: [U-Boot] [U-Boot,2/4] Fix spelling of "occur".

2016-11-02 Thread Tom Rini
On Sun, Oct 23, 2016 at 08:45:17PM -0700, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > Acked-by: Angelo Dureghello > Reviewed-by: Simon Glass Applied to u-boot/master (before v2016.11-rc3), thanks! -- Tom

Re: [U-Boot] [U-Boot,1/4] Fix spelling of "multiple".

2016-11-02 Thread Tom Rini
On Sun, Oct 23, 2016 at 08:45:16PM -0700, Vagrant Cascadian wrote: > Signed-off-by: Vagrant Cascadian > Reviewed-by: Simon Glass Applied to u-boot/master (before v2016.11-rc3), thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] omap3logic: Fix Auto detect Logic PD Models

2016-11-02 Thread Tom Rini
On Sun, Oct 23, 2016 at 07:39:01AM -0500, Adam Ford wrote: > The autodetect feature doesn't allow users to specify the device tree. > This fix will make it only autodetect if 'fdtimage' is not defined. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini

Re: [U-Boot] OMAP3: omap3_logic: Add scripts to boot over network.

2016-11-02 Thread Tom Rini
On Sat, Oct 15, 2016 at 08:16:27AM -0500, Adam Ford wrote: > Not all networks have a DHCP server configured properly, so these > scripts make it easier to boot in that scenario. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini > > diff --git

Re: [U-Boot] [U-Boot, V2] OMAP3: omap3_logic: Remove LCD preboot info

2016-11-02 Thread Tom Rini
On Sat, Oct 15, 2016 at 06:23:11AM -0500, Adam Ford wrote: > The LCD isn't supported in U-Boot and the LCD is now configured in > the device tree, so this code is pointless. > > V2: Eliminiate erroneous newline. > > Signed-off-by: Adam Ford > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot, 3/3] ti: common: board_detect: Return a valid empty string for un-initialized eeprom

2016-11-02 Thread Tom Rini
On Tue, Oct 11, 2016 at 12:39:05PM -0500, Nishanth Menon wrote: > Current logic for query of revision, board_name, config returns > NULL. Users of these functions do a direct strncmp to compare. > Unfortunately, as per conventions require two valid strings to compare > against and the current

Re: [U-Boot] [U-Boot, 2/3] ti: common: board_detect: Setup initial default value for config as well

2016-11-02 Thread Tom Rini
On Tue, Oct 11, 2016 at 12:39:04PM -0500, Nishanth Menon wrote: > config should have been initialized along with others as defaults. > > Signed-off-by: Nishanth Menon > Reviewed-by: Lokesh Vutla > Reviewed-by: Tom Rini Applied to

Re: [U-Boot] cosmetic: Fix indentation in README

2016-11-02 Thread Tom Rini
On Fri, Oct 07, 2016 at 07:44:14PM +0200, Alexander von Gernler wrote: > Signed-off-by: Alexander von Gernler Applied to u-boot/master (before v2016.11-rc3), thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 1/3] ti: common: board_detect: Replace hardcoded value with macro

2016-11-02 Thread Tom Rini
On Tue, Oct 11, 2016 at 12:39:03PM -0500, Nishanth Menon wrote: > We should have used TI_DEAD_EEPROM_MAGIC in the first place. > > Fixes: d3b98a9eb941 ("ti: common: dra7: Add standard access for board > description EEPROM") > Signed-off-by: Nishanth Menon > Reviewed-by: Lokesh

Re: [U-Boot] [PATCH v4 11/11] x86: Use binman all x86 boards

2016-11-02 Thread Simon Glass
Hi Bin, On 1 November 2016 at 04:07, Bin Meng wrote: > Hi Simon, > > On Fri, Oct 28, 2016 at 10:41 AM, Simon Glass wrote: >> Hi Bin, >> >> On 12 October 2016 at 17:56, Bin Meng wrote: >>> Hi Simon, >>> >>> On Thu, Oct 13, 2016 at 8:04

Re: [U-Boot] [PATCH v3] drivers: usb: fsl-dt-fixup: Fix the dt for multiple USB nodes in single traversal of device tree

2016-11-02 Thread Sriram Dash
>From: Marek Vasut [mailto:ma...@denx.de] >On 10/27/2016 08:56 AM, Sriram Dash wrote: >> For FSL USB node fixup, the dt is walked multiple times for fixing >> erratum and phy type. This patch walks the tree and fixes the node >> till no more USB nodes are left. >> >> Signed-off-by: Sriram Dash

Re: [U-Boot] [PATCH] net: use random ethernet address if invalid and not zero

2016-11-02 Thread James Chargin
Hi, Regarding "invalid" Ethernet address. Is there a reliable way to set the default environment that will prevent Ethernet communications from being attempted. That is, when an Ethernet capable system is brand new and before an Ethernet MAC address has been assigned to that system during

[U-Boot] [PATCH] net: use random ethernet address if invalid and not zero

2016-11-02 Thread Michal Simek
From: Siva Durga Prasad Paladugu Use random ethernet address if the ethernet address found is invalid, not zero and config for random address is defined. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek

Re: [U-Boot] fixup typo in omap SPI driver

2016-11-02 Thread Jagan Teki
2016-11-02 5:30 GMT+05:30 郑 祎 : > It seems that the register arrary should be indexed by cs, not by wordlen. Please send it like patch format[1] [1] http://www.denx.de/wiki/U-Boot/Patches -- Jagan Teki Free Software Engineer | www.openedev.com U-Boot, Linux | Upstream

Re: [U-Boot] [PATCH] tools: Execute tools from objtree

2016-11-02 Thread Marek Vasut
On 11/02/2016 12:21 PM, Marek Vasut wrote: > Always execute the tools from the build destination directory > and with a full path, otherwise we may get errors like this > (from OE-core): > > | ERROR: oe_runmake failed > | cat ./Licenses/gpl-2.0.txt | gzip -9 -c | \ > | tools/bin2header

[U-Boot] [PATCH] tools: Execute tools from objtree

2016-11-02 Thread Marek Vasut
Always execute the tools from the build destination directory and with a full path, otherwise we may get errors like this (from OE-core): | ERROR: oe_runmake failed | cat ./Licenses/gpl-2.0.txt | gzip -9 -c | \ | tools/bin2header license_gzip > ./include/license.h | /bin/sh: 2:

[U-Boot] With u-boot vertion u-boot-d8bdfc8 compile error

2016-11-02 Thread 李东升
Dear sir or madam : when i want to generate u-boot file for zynq device , i found it can not be compiled ; the error code are as below : root@lolo-pc:~/zynq_study/u-boot_file/u-boot-d8bdfc8# make zynq_zc702_defconfig HOSTCC scripts/basic/fixdep as: unrecognized option '--32'

[U-Boot] fixup typo in omap SPI driver

2016-11-02 Thread 郑 祎
It seems that the register arrary should be indexed by cs, not by wordlen. -- Brock Zheng 郑 祎 北京中科腾越科技发展有限公司 北京市海淀区东北旺西路8号中关村软件园21号楼启明星辰大厦二层六区(邮编:100094) diff --git a/drivers/spi/omap3_spi.c b/drivers/spi/omap3_spi.c index 60e9d6e..2380a0e 100644 ---

Re: [U-Boot] [PATCH v3] drivers: usb: fsl-dt-fixup: Fix the dt for multiple USB nodes in single traversal of device tree

2016-11-02 Thread Marek Vasut
On 11/02/2016 09:30 AM, Sriram Dash wrote: >> From: Marek Vasut [mailto:ma...@denx.de] >> On 10/27/2016 08:56 AM, Sriram Dash wrote: >>> For FSL USB node fixup, the dt is walked multiple times for fixing >>> erratum and phy type. This patch walks the tree and fixes the node >>> till no more USB

[U-Boot] [PATCH v3 3/3] bcm2835: Reserve the spin table in efi memory map

2016-11-02 Thread Alexander Graf
Firmware provides a spin table on the raspberry pi. This table shouldn't get overwritten by payloads, so we need to mark it as reserved. Signed-off-by: Alexander Graf --- board/raspberrypi/rpi/rpi.c | 6 ++ 1 file changed, 6 insertions(+) diff --git

[U-Boot] [PATCH v3 2/3] bcm2835 video: Map frame buffer as 32bpp

2016-11-02 Thread Alexander Graf
To enable working efifb support, let's map the frame buffer as 32bpp instead of 16bpp. Signed-off-by: Alexander Graf --- drivers/video/bcm2835.c | 6 +++--- include/configs/rpi.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/video/bcm2835.c

[U-Boot] [PATCH v3 0/3] Raspberry Pi EFI enablement

2016-11-02 Thread Alexander Graf
With this patch set I can successfully boot a Raspberry Pi 3 into Linux, with efifb, efi based reset/power off and spin table secondary bringup working. Please apply. v2 -> v3: - Rebase - Adjust to new runtime macro names Alexander Graf (3): ARM: bcm283x: Implement EFI RTS reset_system

[U-Boot] [PATCH v3 1/3] ARM: bcm283x: Implement EFI RTS reset_system

2016-11-02 Thread Alexander Graf
The rpi has a pretty simple way of resetting the whole system. All it takes is to poke a few registers at a well defined location in MMIO space. This patch adds support for the EFI loader implementation to allow an OS to reset and power off the system when we're outside of boot time.

[U-Boot] [PATCH] ARM64: zynqmp: Correct the sdhci minimum frequency for ep108

2016-11-02 Thread Michal Simek
From: Siva Durga Prasad Paladugu Correct the sdhci minimum frequency for ep platform. It should be right shift instead of left shift operand. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek ---