[U-Boot] [PATCH v2 6/7] arm: rmobile: rcar: Add structure for infomation of module control register

2014-12-01 Thread Nobuhiro Iwamatsu
The infomation of module control register for R-Car ARM SoC (r8a7790, r8a7791, r8a7793 and r8a7794) are almost the same, they can be combined into one structure. This provides structure that summarizes infomation of module control register and default register values. And this structure is the modu

[U-Boot] [PATCH v2 7/7] arm: rmobile: rcar: Stop clock prior to booting kernel

2014-12-01 Thread Nobuhiro Iwamatsu
This stops clock except INTC-RT, MSIF, INTC-SYS, IRQC and SCIF before kernel boots. Signed-off-by: Hisashi Nakamura Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/rcar-gen2-common/common.c | 38 ++--- include/configs/alt.h | 10 + includ

[U-Boot] [PATCH v2 2/7] arm: rmobile: rcar: Move control macro of mstp to arch-rmobile/rcar-mstp.h

2014-12-01 Thread Nobuhiro Iwamatsu
Control macro of mstp is common in R-Car ARM SoC (r8a7790, r8a7791, r8a7793 and r8a7794). This moves these to arch-rmobile/rcar-mstp.h Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/include/asm/arch-rmobile/rcar-mstp.h | 22 ++ board/renesas/alt/alt.c | 1

[U-Boot] [PATCH v2 3/7] arm: rmobile: rcar: Move arch_preboot_os function to rcar-gen2-common/common.c

2014-12-01 Thread Nobuhiro Iwamatsu
The arch_preboot_os function used in boards using R-Car ARM SoC (r8a7790, r8a7791, r8a7793 and r8a7794) is common. This makes rcar-gen2-common/common.c file providing common function for R-Car ARM SoC, and moves this function to this file. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/alt/M

[U-Boot] [PATCH v2 5/7] arm: rmobile: rcar: Add infomation of bits for module control register

2014-12-01 Thread Nobuhiro Iwamatsu
This adds infomation of bits for module control register. This is used to control modules on ARM R-Car SoCs. Signed-off-by: Hisashi Nakamura Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/include/asm/arch-rmobile/r8a7790.h | 13 + arch/arm/include/asm/arch-rmobile/r8a7791.h | 13

[U-Boot] [PATCH v2 4/7] arm: rmobile: rcar: Add mstp_setclrbits and mstp_setclrbits_le32

2014-12-01 Thread Nobuhiro Iwamatsu
This addes macro for set and clear bit control for module control register. This is used when user want to disable the function of the devices corresponding to register. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/include/asm/arch-rmobile/rcar-mstp.h | 4 1 file changed, 4 insertions(+)

[U-Boot] [PATCH v2 1/7] arm: rmobile: rcar: Move module control register to header file of SoC

2014-12-01 Thread Nobuhiro Iwamatsu
Module control registers of R-Car ARM SoC (r8a7790, r8a7791, r8a7793 and r8a7794) are same address. This moves these to header file of SoC. Signed-off-by: Nobuhiro Iwamatsu --- arch/arm/include/asm/arch-rmobile/rcar-base.h | 39 +++ board/renesas/alt/alt.c

[U-Boot] [PATCH] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for P5040DS

2014-12-01 Thread Gaurav Rana
From: Gaurav Kumar Rana Secure boot target is added for P5040DS platform. Signed-off-by: Gaurav Kumar Rana --- configs/P5040DS_SECURE_BOOT_defconfig | 4 1 file changed, 4 insertions(+) create mode 100644 configs/P5040DS_SECURE_BOOT_defconfig diff --git a/configs/P5040DS_SECURE_BOOT_def

[U-Boot] [PATCH v10 2/4] Odroid-XU3: Add support for Odroid-XU3

2014-12-01 Thread Hyungwon Hwang
This patch adds support for Odroid-XU3. Signed-off-by: Hyungwon Hwang Cc: Minkyu Kang Cc: Lukasz Majewski Cc: Sjoerd Simons Cc: Javier Martinez Canillas Cc: Simon Glass --- Changes for v3: - Remove unnecessary node from DT file - Remove unnecessary features from config file - Remove unnecess

[U-Boot] [PATCH v10 3/4] Odroid-XU3: Add documentation for Odroid-XU3

2014-12-01 Thread Hyungwon Hwang
This patch adds documentation for Odroid-XU3. This documentation is based on that of Odroid (doc/README-odroid) made by Przemyslaw Marczak. The documentation includes basic information about boot media layout, environment, partition layout, and the instruction to burn the u-boot image to boot media

[U-Boot] [PATCH v10 1/4] config: exynos5420: move non common configs to specific board files

2014-12-01 Thread Hyungwon Hwang
The media for boot and environment is a board-specific feature, not a processor-specific. This is same to console port number and some other addresses. This patch moves the that kinds of configs to each board-specific files from the common config file for Exynos5420. Signed-off-by: Hyungwon Hwang

[U-Boot] [PATCH v10 4/4] Odroid-XU3: Add entry for DTS EHCI GPIO

2014-12-01 Thread Hyungwon Hwang
From: Sjoerd Simons Add samsung,vbus-gpio information for the XU3. This allows the usage of the EHCI controller on the XU3, which is connected to the SMSC LAN9514 chip (usb hub + network). Note that this patch doesn't enable support for USB/USB networking in the default config as makes the u-boo

[U-Boot] [PATCH v10 0/4] Adds support for Exynos5422 odroid xu3 board

2014-12-01 Thread Hyungwon Hwang
This is v10 of the patchset adding support Odroud XU3 board. link to the previous version: v2: https://www.mail-archive.com/u-boot@lists.denx.de/msg152275.html v3: https://www.mail-archive.com/u-boot%40lists.denx.de/msg152677.html v4: https://patchwork.ozlabs.org/patch/407411/ v5: https://patchwor

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-01 Thread Heiko Schocher
Hello Simon, Am 02.12.2014 05:31, schrieb Simon Glass: +Heiko - are you OK with the new msg-based approach? Yes, you can add my acked-by to the hole series. bye, Heiko Hi Masahiro, On 1 December 2014 at 04:47, Masahiro Yamada wrote: Hi Simon, My review is still under way, but I have s

Re: [U-Boot] [PATCH V2 00/12] cleanup and refactor lcd.c

2014-12-01 Thread Stephen Warren
On 11/30/2014 05:29 AM, Nikita Kiryanov wrote: > This series is a first step towards an end goal of merging all CONFIG_LCD > related functionality into CONFIG_VIDEO code. My plan is to start by > refactoring > lcd.c into something cleaner (less ifdefs) and more modular (split code into > multiple

[U-Boot] [Driver Model] post_bind() and pre_unbind() handler

2014-12-01 Thread Masahiro Yamada
Hi Simon, I have a question about handlers of struct uclass_driver. When binding a device, "uc->uc_drv->post_bind()" is called *before* "drv->bind()", so the name "pre_bind()" is more suitable than "post_bind()", isn't it? Likewise, when unbinding a device, "uc->uc_drv->pre_unbind()" is c

Re: [U-Boot] Bare x86 support is merged to u-boot-x86

2014-12-01 Thread Bin Meng
Hi Bruce, On Tue, Dec 2, 2014 at 4:28 AM, wrote: > Simon, > >> From: Simon Glass >> To: bruce_leon...@selinc.com >> Cc: "tr...@ti.com" , U-Boot Mailing List > b...@lists.denx.de>, u-boot-boun...@lists.denx.de, Bin Meng >> >> Date: 12/01/2014 12:14 PM >> Subject: Re: [U-Boot] Bare x86 support i

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-01 Thread Masahiro Yamada
Hi Simon, On Mon, 1 Dec 2014 21:31:29 -0700 Simon Glass wrote: > +Heiko - are you OK with the new msg-based approach? This approach looks much better to me. > >> + .name = "i2c_generic_drv", > >> + .id = UCLASS_I2C_GENERIC, > >> +}; > > > > > > Can we move

Re: [U-Boot] [PATCH v3 01/10] dm: i2c: Add a uclass for I2C

2014-12-01 Thread Simon Glass
+Heiko - are you OK with the new msg-based approach? Hi Masahiro, On 1 December 2014 at 04:47, Masahiro Yamada wrote: > Hi Simon, > > > My review is still under way, > but I have some comments below: > > > > > On Mon, 24 Nov 2014 11:57:15 -0700 > Simon Glass wrote: > >> +static bool i2c_setup_

Re: [U-Boot] m68k: Build problems on some boards

2014-12-01 Thread Masahiro Yamada
HI Angelo, On Mon, 01 Dec 2014 21:41:59 +0100 Angelo Dureghello wrote: > Dear All, > > found this thread, i would have all coldfire boards correctly build > here, so i am going to work on this. > > I just tried to build M52277EVB, and failing too with my actual > toolchain. > > > I'll try to

Re: [U-Boot] [PATCH] powerpc/t1040qds: Add support of SD boot for T1040QDS Board

2014-12-01 Thread York Sun
On 11/01/2014 12:31 AM, Vijay Rai wrote: > Add support of 2 stage SD boot loader using SPL framework. > here, PBL initialise the internal SRAM and copy SPL(160KB). This further > initialise DDR using SPD environment and copy u-boot(768 KB) from NAND to DDR. > Finally SPL transer control to u-boot.

Re: [U-Boot] [PATCH 0/4] Odroid XU3 support additions

2014-12-01 Thread Hyungwon Hwang
Dear Sjoerd, Thanks for this work. I think it is better to squash patch #1, #3, #4 into my patchs, because these patches remove the code which needlessly being added by my patches. I will include patch #2 also from next version. On Mon, 01 Dec 2014 13:34:16 +0100 Sjoerd Simons wrote: > Hey Hyun

[U-Boot] [PATCH 1/2] imx:mx6sabresd add board level support for usb

2014-12-01 Thread Peng Fan
Add pinmux settings, implement board_ehci_hcd_init and board_ehci_power Signed-off-by: Peng Fan --- board/freescale/mx6sabresd/mx6sabresd.c | 68 + include/configs/mx6sabresd.h| 14 +++ 2 files changed, 82 insertions(+) diff --git a/board/freescal

[U-Boot] [PATCH 2/2] imx:mx6qarm2 add board level support for usb

2014-12-01 Thread Peng Fan
Add pinmux settings and implement board_ehci_hcd_init Signed-off-by: Peng Fan --- board/freescale/mx6qarm2/mx6qarm2.c | 42 + include/configs/mx6qarm2.h | 14 + 2 files changed, 56 insertions(+) diff --git a/board/freescale/mx6qarm2/mx6qa

Re: [U-Boot] [PATCH v9 1/2] Odroid-XU3: Add support for Odroid-XU3

2014-12-01 Thread Hyungwon Hwang
On Mon, 01 Dec 2014 10:30:15 -0700 Simon Glass wrote: > Hi, > > On 27 November 2014 at 06:21, Hyungwon Hwang > wrote: > > This patch adds support for Odroid-XU3. > > > > Signed-off-by: Hyungwon Hwang > > Tested-by: Lukasz Majewski > > Acked-by: Lukasz Majewski > > Cc: Minkyu Kang > > Cc: Lu

[U-Boot] [PATCH 13/25] tegra: clock: Add checking for invalid clock IDs

2014-12-01 Thread Simon Glass
The get_pll() function can do the wrong thing if passed values that are out of range. Add checks for this and add a function which can return a 'simple' PLL. This can be defined by SoCs with their own clocks. Signed-off-by: Simon Glass --- arch/arm/cpu/tegra-common/clock.c | 30 ++

[U-Boot] [PATCH 22/25] tegra: video: Add Embedded DisplayPort driver

2014-12-01 Thread Simon Glass
This interface is used on some laptop devices based on Tegra. Add a driver which provides access to the eDP interface. The driver uses the display port uclass. (Taken from Coreboot Chromium tree and given a heavy-handed cleanup) Signed-off-by: Simon Glass --- drivers/video/tegra124/Makefile

[U-Boot] [PATCH 12/25] tegra: config: Use CONFIG_LCD to detect LCD presence

2014-12-01 Thread Simon Glass
Instead of CONFIG_VIDEO_TEGRA, use CONFIG_LCD to determine whether an LCD is present. Tegra124 uses a different driver. Signed-off-by: Simon Glass --- include/configs/tegra-common-post.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/tegra-common-post.h b/i

[U-Boot] [PATCH 14/25] tegra: clock: Split the clock source code into a separate function

2014-12-01 Thread Simon Glass
Create a function which sets the source clock for a peripheral, given the number of mux bits to adjust. This can then be used more generally. For now, don't export it. Signed-off-by: Simon Glass --- arch/arm/cpu/tegra-common/clock.c | 51 +++-- arch/arm/include

[U-Boot] [PATCH 15/25] tegra124: clock: Add display clocks and functions

2014-12-01 Thread Simon Glass
Add functions to provide access to the display clocks on Tegra124 including setting the clock rate for an EDP display. Signed-off-by: Simon Glass --- arch/arm/cpu/tegra-common/clock.c | 2 + arch/arm/cpu/tegra124-common/clock.c | 141 +- arch/a

[U-Boot] [PATCH 23/25] tegra: video: support eDP displays on Tegra124 devices

2014-12-01 Thread Simon Glass
Connect up the clocks and the eDP driver to make these displays work with Tegra124-based devices. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-tegra124/display.h | 58 + drivers/video/Kconfig| 8 + drivers/video/tegra124/Makefile | 2 +

[U-Boot] [PATCH 19/25] dm: video: Add a uclass for display port

2014-12-01 Thread Simon Glass
eDP (Embedded DisplayPort) is a standard widely used in laptops to drive LCD panels. Add a uclass for this which supports a few simple operations. Signed-off-by: Simon Glass --- drivers/video/Kconfig | 6 + drivers/video/Makefile| 4 drivers/video/dp-uclass.c | 34 +++

[U-Boot] [PATCH 25/25] tegra124: video: Add full link training for eDP

2014-12-01 Thread Simon Glass
Add full link training as a fallback in case the fast link training fails. Signed-off-by: Simon Glass --- drivers/video/tegra124/displayport.h | 228 +++ drivers/video/tegra124/dp.c | 527 +++ drivers/video/tegra124/sor.c | 86 --

Re: [U-Boot] [PATCH 0/17] buildman: A few more features and improvements (Christmas edition)

2014-12-01 Thread Simon Glass
Hi, On 1 December 2014 at 17:33, Simon Glass wrote: > Various people (on CC) have suggested improvements and reported bugs in > buildman. I've done a pass through these and this series is the result. > In summary the main changes are: > > - Flatten the output tree for 'current source builds' > -

[U-Boot] [PATCH 16/25] tegra: Move display controller header into common

2014-12-01 Thread Simon Glass
Allow this to be used by other Tegra SoCs. Add a few missing fields and fix some of the comments which have the wrong register numbers. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra20/display.c | 2 +- .../include/asm/{arch-tegra20 => arch-tegra}/dc.h | 63

[U-Boot] [PATCH 21/25] tegra: video: Support serial output resource (SOR) on tegra124

2014-12-01 Thread Simon Glass
The SOR is required for talking to eDP LCD panels. Add a driver for this which will be used by the DisplayPort driver. (Taken from Coreboot Chromium tree and given a heavy-handed cleanup) Signed-off-by: Simon Glass --- drivers/video/Makefile | 2 + drivers/video/tegra124/Makefile |

[U-Boot] [PATCH 20/25] tegra: dts: nyan-big: Add definitions for eDP display

2014-12-01 Thread Simon Glass
Add the various host1x peripherals to allow an eDP display to be connected. We also need a regulator so we know how to power on the LCD. Signed-off-by: Simon Glass --- arch/arm/dts/tegra124-nyan-big.dts | 43 ++ 1 file changed, 43 insertions(+) diff --git a/

[U-Boot] [PATCH 11/25] tegra124: dts: Add host1x node to provide display information

2014-12-01 Thread Simon Glass
This peripheral is required to get the LCD display running. Add it to tegra124 and also bring in the binding file from Linux 3.18 Signed-off-by: Simon Glass --- arch/arm/dts/tegra124.dtsi | 84 + .../gpu/nvidia,tegra20-host1x.txt | 372 +

[U-Boot] [PATCH 24/25] tegra: config: nyan-big: Enable LCD

2014-12-01 Thread Simon Glass
Add the PMIC, LCD settings, PWM and also show the board info at the top of the LCD when starting up. Signed-off-by: Simon Glass --- configs/nyan-big_defconfig | 2 ++ include/configs/nyan-big.h | 13 + 2 files changed, 15 insertions(+) diff --git a/configs/nyan-big_defconfig b/con

[U-Boot] [PATCH 02/25] fdt: Add binding decode function for display-timings

2014-12-01 Thread Simon Glass
This is useful for display parameters. Add a simple decode function to read from this device tree node. Signed-off-by: Simon Glass --- doc/device-tree-bindings/video/display-timing.txt | 110 ++ include/fdtdec.h | 80 lib/fd

[U-Boot] [PATCH 10/25] tegra: nyan-big: Add LCD PMIC init and board ID

2014-12-01 Thread Simon Glass
Add required setup for the LCD display, and a function to provide the board ID. This requires GPIOs to be available prior to relocation. Signed-off-by: Simon Glass --- arch/arm/dts/tegra124-nyan-big.dts | 4 board/nvidia/nyan-big/nyan-big.c | 34 +- 2 fil

[U-Boot] [PATCH 05/25] tegra: Move checkboard() into the board code

2014-12-01 Thread Simon Glass
This is only used by Nvidia boards, so move it into nvidia/common to simplify things. Signed-off-by: Simon Glass --- arch/arm/cpu/tegra-common/board.c | 8 board/nvidia/common/board.c | 13 + 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/arch/arm/cp

[U-Boot] [PATCH 04/25] tegra: pwm: Allow the clock rate to be left as is

2014-12-01 Thread Simon Glass
When enabling a PWM, allow the existing clock rate and source to stand unchanged. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra-common/pwm.c | 5 - arch/arm/include/asm/arch-tegra/pwm.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv7/tegra

[U-Boot] [PATCH 03/25] tegra: Move the pww into tegra-common

2014-12-01 Thread Simon Glass
This is needed for tegra124 also, so make it common and add a header file for tegra124. Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra-common/Makefile | 1 + arch/arm/cpu/armv7/{tegra20 => tegra-common}/pwm.c | 0 arch/arm/cpu/armv7/tegra20/Makefile| 1 - a

[U-Boot] [PATCH 09/25] tegra: Add support for setting up a as3722 PMIC

2014-12-01 Thread Simon Glass
Add support for this PMIC which is used on some Tegra124 boards. Signed-off-by: Simon Glass --- board/nvidia/common/board.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index 0a33bc5..18e1709 100644 --- a/board/nvidia/commo

[U-Boot] [PATCH 07/25] power: Export register access functions from as3722

2014-12-01 Thread Simon Glass
With the full PMIC framework we may be able to avoid this. But for now we need access to the PMIC. Signed-off-by: Simon Glass --- drivers/power/as3722.c | 16 +--- include/power/as3722.h | 3 +++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/drivers/power/as3722.c

[U-Boot] [PATCH 06/25] tegra: Add a board ID function

2014-12-01 Thread Simon Glass
Add a way of displaying a numeric board ID on start-up. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-tegra/sys_proto.h | 11 ++- board/nvidia/common/board.c | 12 +++- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/arch/arm/include/as

[U-Boot] [PATCH 17/25] video: Add drm_dp_helper.h

2014-12-01 Thread Simon Glass
This file (from Linux 3.17) provides defines for display port. Use it so that our naming is consistent with Linux. Signed-off-by: Simon Glass --- include/linux/drm_dp_helper.h | 405 ++ 1 file changed, 405 insertions(+) create mode 100644 include/linux/d

[U-Boot] [PATCH 08/25] tegra: Provide a function to allow LCD PMIC setup

2014-12-01 Thread Simon Glass
Some LCDs require a PMIC to be set up - add a function for this. Signed-off-by: Simon Glass --- arch/arm/include/asm/arch-tegra/sys_proto.h | 8 board/nvidia/common/board.c | 10 ++ 2 files changed, 18 insertions(+) diff --git a/arch/arm/include/asm/arch-tegra

[U-Boot] [PATCH 01/25] dm: tegra: config: Increase pre-reloc malloc() to 6KB

2014-12-01 Thread Simon Glass
If we enable GPIOs as well as everything else, we need just over 4KB of space. Enlarge it a little. Signed-off-by: Simon Glass --- include/configs/tegra-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/tegra-common.h b/include/configs/tegra-common.h i

[U-Boot] [PATCH 18/25] edid: Add a function to read detailed monitor timings

2014-12-01 Thread Simon Glass
For digital displays (such as EDP LCDs) we would like to read the EDID information and use that to set display timings. Provide a function to do this. Signed-off-by: Simon Glass --- common/edid.c | 106 + include/edid.h | 19 +++

[U-Boot] [PATCH 0/25] tegra: Add eDP support for nyan-big

2014-12-01 Thread Simon Glass
This series adds eDP support for nyan-bg so that the display works. Nyan-big is based on tegra124. Some support is added for new clocks to make this work. The drm_dp_helper.h file is brought in from Linux since many of the DisplayPort constants are generic. A very simple uclass is added for Displ

[U-Boot] [PATCH 17/17] buildman: Add an option to write the full build output

2014-12-01 Thread Simon Glass
Normally buildman runs with 'make -s' meaning that only errors and warnings appear in the log file. Add a -V option to run make in verbose mode, and with V=1, causing a full build log to be created. Signed-off-by: Simon Glass --- tools/buildman/builder.py | 4 +++- tools/buildman/buildert

[U-Boot] [PATCH 04/17] buildman: Try to guess the upstream commit

2014-12-01 Thread Simon Glass
Buildman normally obtains the upstream commit by asking git. Provided that the branch was created with 'git checkout -b ' then this normally works. When there is no upstream, we can try to guess one, by looking up through the commits until we find a branch. Add a function to try this and print a

[U-Boot] [PATCH 05/17] buildman: Add an option to flatten output directory trees

2014-12-01 Thread Simon Glass
When building current source for a single board, buildman puts the output in /current/current/. Add an option to make it use / instead. This removes the unnecessary directories in that case, controlled by the --no-subdirs/-N option. Suggested-by: Tom Rini Signed-off-by: Simon Glass --- tools/b

[U-Boot] [PATCH 14/17] buildman: Don't use the local settings when running tests

2014-12-01 Thread Simon Glass
We should create a test setting file when running testes, not use whatever happens to be on the local machine. Signed-off-by: Simon Glass --- tools/buildman/test.py | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tools/buildman/test.py b/tools/buildman/test.p

[U-Boot] [PATCH 11/17] buildman: Add a note about Python pre-requisites

2014-12-01 Thread Simon Glass
Since we need a few modules which might not be available in a bare-bones distribution, add a note about that to the README. Signed-off-by: Simon Glass Suggested-by: Wolfgang Denk --- tools/buildman/README | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tools/bui

[U-Boot] [PATCH 08/17] buildman: Try to avoid hard-coded string parsing

2014-12-01 Thread Simon Glass
The assumption that the compiler name will always end in gcc is incorrect for clang and apparently on BSD. Signed-off-by: Simon Glass --- tools/buildman/toolchain.py | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/buildman/toolchain.py b/tools/buildman/toolchai

[U-Boot] [PATCH 13/17] buildman: Don't complain about missing sections in ~/.buildman

2014-12-01 Thread Simon Glass
Silently ignore this since it is valid to have missing sections. Signed-off-by: Simon Glass --- tools/buildman/bsettings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tools/buildman/bsettings.py b/tools/buildman/bsettings.py index fdd875b..9eb9b2b 100644 --- a/tools/buildman/bsettings.p

[U-Boot] [PATCH 12/17] buildman: Add documentation about the .buildman file

2014-12-01 Thread Simon Glass
This file is only partially documented. Add some more details. Signed-off-by: Simon Glass Suggested-by: Wolfgang Denk --- tools/buildman/README | 73 +-- 1 file changed, 53 insertions(+), 20 deletions(-) diff --git a/tools/buildman/README b/tool

[U-Boot] [PATCH 16/17] buildman: Add the option to download toolchains from kernel.org

2014-12-01 Thread Simon Glass
The site at https://www.kernel.org/pub/tools/crosstool/ is a convenient repository of toolchains which can be used for U-Boot. Add a feature to download and install a toolchain for a selected architecture automatically. It isn't clear how long this site will stay in the current place and format, b

[U-Boot] [PATCH 15/17] buildman: Allow architecture to alias to multiple toolchains

2014-12-01 Thread Simon Glass
Some archs have need than one alias, so support a list of alises in the ..buildman file. Signed-off-by: Simon Glass --- tools/buildman/README | 5 +++-- tools/buildman/test.py | 15 +++ tools/buildman/toolchain.py | 8 +--- 3 files changed, 23 insertions(+), 5 delet

[U-Boot] [PATCH 10/17] buildman: Add an option to use the full tool chain path

2014-12-01 Thread Simon Glass
In some cases there may be multiple toolchains with the same name in the path. Provide an option to use the full path in the CROSS_COMPILE environment variable. Note: Wolfgang mentioned that this is dangerous since in some cases there may be other tools on the path that are needed. So this is set

[U-Boot] [PATCH 07/17] buildman: Allow specifying a range of commits to build

2014-12-01 Thread Simon Glass
Adjust the -b flag to permit a range expression as well as a branch. Signed-off-by: Simon Glass Suggested-by: Daniel Schwierzeck --- tools/buildman/README | 11 +++ tools/buildman/control.py | 19 +++ tools/patman/gitutil.py | 24 +++- 3 files

[U-Boot] [PATCH 01/17] buildman: Add tests that check the correct output directory is used

2014-12-01 Thread Simon Glass
Add a few tests of the output directory logic. Signed-off-by: Simon Glass --- tools/buildman/test.py | 31 +++ 1 file changed, 31 insertions(+) diff --git a/tools/buildman/test.py b/tools/buildman/test.py index a2a85ac..f16d2fd 100644 --- a/tools/buildman/test.py ++

[U-Boot] [PATCH 06/17] buildman: Don't remove entire output directory when testing

2014-12-01 Thread Simon Glass
When running tests the output directory is often wiped. This is only safe if a branch is being built. The output directory may contain other things besides the buildman test output. Signed-off-by: Simon Glass --- tools/buildman/control.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

[U-Boot] [PATCH 09/17] buildman: Put the toolchain path first instead of last in PATH

2014-12-01 Thread Simon Glass
If: 1. Toolchains A and B have the same filename 2. Toolchain A is in the PATH 3. Toolchain B is given in ~/.buildman and buildman uses it to build then buildman will add toolchain B to the end of its path but will not necessarily use it since U-Boot will find toolchain A first in the PATH. Try

[U-Boot] [PATCH 02/17] buildman: Put build in 'current', not 'current/current'

2014-12-01 Thread Simon Glass
Buildman currently puts current-source builds in a current/current subdirectory, but there is no need for the extra depth. Suggested-by: Albert Aribaud Signed-off-by: Simon Glass --- tools/buildman/control.py | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/buil

[U-Boot] [PATCH 03/17] buildman: Don't prune output space for 'current source' build

2014-12-01 Thread Simon Glass
This is not needed since we always do a full (non-incremental) build. Also it might be dangerous since it will try to delete everything below the base directory. Fix this potentially nasty bug. Signed-off-by: Simon Glass --- tools/buildman/builder.py | 2 ++ 1 file changed, 2 insertions(+) di

[U-Boot] [PATCH 0/17] buildman: A few more features and improvements (Christmas edition)

2014-12-01 Thread Simon Glass
Various people (on CC) have suggested improvements and reported bugs in buildman. I've done a pass through these and this series is the result. In summary the main changes are: - Flatten the output tree for 'current source builds' - Improve docs to talk about Python environment and ~/.buildman fil

Re: [U-Boot] m68k: Build problems on some boards

2014-12-01 Thread Angelo Dureghello
Hi, i was be able to compile all the m68k boards (if i grepp'ed well). In total 22 boards, and 36 defconfigs. astro_mcf5373l.h cobra5272.h eb_cpu5282.h gr_cpci_ax2000.h TASREG.h M5208EVBE.h M52277EVB.h M5235EVB.h M5249EVB.h M5253DEMO.h M5253EVBE.h M5272C3.h M5275EVB.h M5282EVB.h M53017EVB.h M

Re: [U-Boot] Bare x86 support is merged to u-boot-x86

2014-12-01 Thread Bruce_Leonard
Hi Simon and Bin, u-boot-boun...@lists.denx.de wrote on 11/25/2014 01:51:06 PM: > From: Simon Glass > To: U-Boot Mailing List > Cc: "tr...@ti.com" > Date: 11/25/2014 01:52 PM > Subject: [U-Boot] Bare x86 support is merged to u-boot-x86 > Sent by: u-boot-boun...@lists.denx.de > > Hi Bin (and o

Re: [U-Boot] [PATCH 4/7] arm: rmobile: lager: Halt clock prior to booting kernel

2014-12-01 Thread Nobuhiro Iwamatsu
Hi, Thanks for your review. 2014-12-01 16:17 GMT+09:00 Wolfgang Denk : > Dear Nobuhiro, > > In message > <1417417556-23946-4-git-send-email-nobuhiro.iwamatsu...@renesas.com> you > wrote: >> Before a kernel boots, GPIO, SYS-DMAC, QSPI and MSIOF clock >> is halted. >> >> Signed-off-by: Hisashi Na

Re: [U-Boot] Hi Simon, Problems about RSA public exponents for verified boot

2014-12-01 Thread Simon Glass
+Michael, U-Boot mailing list Hi, On 30 November 2014 at 19:26, Duxiaoqiang wrote: > > Hi Simon > > > > When I test verified boot with new version of U-boot and new version of > mkimage, I encountered a alignment problem about RSA public key exponents. > > > > I tested verified boot successful

[U-Boot] Please pull u-boot-x86.git branch 'sandbox'

2014-12-01 Thread Simon Glass
Hi Tom, A random collection of thnigs. Note the branch is 'sandbox'. The following changes since commit 85bafb6da4dddfffa78479aa49a72ae48578a4ce: Merge branch 'master' of git://git.denx.de/u-boot-fsl-qoriq (2014-11-26 11:23:26 -0500) are available in the git repository at: git://git.denx.

Re: [U-Boot] [PATCH v9 2/2] Odroid-XU3: Add documentation for Odroid-XU3

2014-12-01 Thread Simon Glass
Hi, On 28 November 2014 at 06:46, Lukasz Majewski wrote: > Hello Javier, > >> Hello Lukasz, >> >> On Fri, Nov 28, 2014 at 9:39 AM, Lukasz Majewski >> wrote: >> >> I have yet to take him up on that offer though, but it sounds like >> >> a good way forward. The current layout really isn't practica

Re: [U-Boot] m68k: Build problems on some boards

2014-12-01 Thread Angelo Dureghello
Dear All, found this thread, i would have all coldfire boards correctly build here, so i am going to work on this. I just tried to build M52277EVB, and failing too with my actual toolchain. I'll try to find a toolchain that's able to build all coldfire boards and that is free to be downloaded.

Re: [U-Boot] Bare x86 support is merged to u-boot-x86

2014-12-01 Thread Bruce_Leonard
Simon, > From: Simon Glass > To: bruce_leon...@selinc.com > Cc: "tr...@ti.com" , U-Boot Mailing List b...@lists.denx.de>, u-boot-boun...@lists.denx.de, Bin Meng > > Date: 12/01/2014 12:14 PM > Subject: Re: [U-Boot] Bare x86 support is merged to u-boot-x86 > Sent by: s...@google.com > > +Bin >

[U-Boot] [PATCH 0/2] stv0991: driver model support for pl01x

2014-12-01 Thread Vikas Manocha
This patchset adds driver model support in stv0991 & configures serial ip to driver model. Vikas Manocha (2): stv0991: increase the initial ram size config dm: stv0991: Move serial to driver model board/st/stv0991/stv0991.c | 13 + include/configs/stv0991.h | 19

[U-Boot] [PATCH 1/2] stv0991: increase the initial ram size config

2014-12-01 Thread Vikas Manocha
It is done to make space available for driver model memory. Signed-off-by: Vikas Manocha --- include/configs/stv0991.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/stv0991.h b/include/configs/stv0991.h index f95de06..80652a8 100644 --- a/include/configs/

[U-Boot] [PATCH 2/2] dm: stv0991: Move serial to driver model

2014-12-01 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- board/st/stv0991/stv0991.c | 13 + include/configs/stv0991.h | 17 - 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/board/st/stv0991/stv0991.c b/board/st/stv0991/stv0991.c index 989fb5e..f465699 100644 --- a/board/

Re: [U-Boot] [PATCH 1/2 v2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-12-01 Thread Simon Glass
Hi Sjoerd, On 1 December 2014 at 13:25, Sjoerd Simons wrote: > On Mon, 2014-12-01 at 13:09 -0700, Simon Glass wrote: >> +Akshay >> >> Hi Sjoerd, >> >> On 1 December 2014 at 03:03, Sjoerd Simons >> wrote: >> > Hey Simon, >> > >> > On Sun, 2014-11-30 at 11:56 -0700, Simon Glass wrote: >> >> On 27

Re: [U-Boot] [PATCH 1/2 v2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-12-01 Thread Sjoerd Simons
On Mon, 2014-12-01 at 13:09 -0700, Simon Glass wrote: > +Akshay > > Hi Sjoerd, > > On 1 December 2014 at 03:03, Sjoerd Simons > wrote: > > Hey Simon, > > > > On Sun, 2014-11-30 at 11:56 -0700, Simon Glass wrote: > >> On 27 November 2014 at 08:08, Sjoerd Simons > >> wrote: > >> > Unlike the Peac

Re: [U-Boot] [PATCH v3] fs/ext4/ext4fs.c, fs/fs.c fs/fat/fat_write.c: Adjust 64bit math methods

2014-12-01 Thread Tom Rini
On Wed, Nov 26, 2014 at 05:03:48PM -0500, Tom Rini wrote: > The changes to introduce loff_t into filesize means that we need to do > 64bit math on 32bit platforms. Make sure we use the right wrappers for > these operations. > > Cc: Daniel Schwierzeck > Cc: Suriyan Ramasami > Cc: Simon Glass >

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

2014-12-01 Thread Tom Rini
On Fri, Nov 28, 2014 at 02:33:25AM +0900, Masahiro YAMADA wrote: > Hi Tom, > > This series introduces Device Tree control support to Panasonic > UniPhier platform. > > > > The following changes since commit 85bafb6da4dddfffa78479aa49a72ae48578a4ce: > > Merge branch 'master' of git://git.den

Re: [U-Boot] [PATCH v3 3/4] tegra: config: Enable FIT and device tree for all boards

2014-12-01 Thread Simon Glass
Hi Stephen, On 1 December 2014 at 11:41, Stephen Warren wrote: > On 11/25/2014 10:44 AM, Simon Glass wrote: >> >> Hi Stephen, >> >> On 25 November 2014 at 09:23, Stephen Warren >> wrote: >>> >>> On 11/24/2014 04:49 PM, Simon Glass wrote: Hi Stephen, On 24 November 2014 a

Re: [U-Boot] Bare x86 support is merged to u-boot-x86

2014-12-01 Thread Simon Glass
+Bin Hi Bruce, On 1 December 2014 at 12:33, wrote: > Hi Simon and Bin, > > u-boot-boun...@lists.denx.de wrote on 11/25/2014 01:51:06 PM: > >> From: Simon Glass >> To: U-Boot Mailing List >> Cc: "tr...@ti.com" >> Date: 11/25/2014 01:52 PM >> Subject: [U-Boot] Bare x86 support is merged to u-b

Re: [U-Boot] [PATCH v4 3/3] ARM: tegra: Add support for nyan-big board

2014-12-01 Thread Simon Glass
Hi Stephen, On 1 December 2014 at 11:26, Stephen Warren wrote: > On 11/26/2014 01:46 PM, Simon Glass wrote: >> >> From: Allen Martin >> >> Nyan-big is a Tegra124 clamshell board that is very similar to venice2, >> but >> it has a different panel, the sdcard cd and wp sense are flipped, and it >>

Re: [U-Boot] [PATCH 1/2 v2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-12-01 Thread Simon Glass
+Akshay Hi Sjoerd, On 1 December 2014 at 03:03, Sjoerd Simons wrote: > Hey Simon, > > On Sun, 2014-11-30 at 11:56 -0700, Simon Glass wrote: >> On 27 November 2014 at 08:08, Sjoerd Simons >> wrote: >> > Unlike the Peach-Pit board, there is no parade edp to lvds bridge on the >> > Pi. So drop it

[U-Boot] [PATCH 2/2] i2c: Correct spelling error

2014-12-01 Thread Mark Tomlinson
"diconnect" and "disconnet" should both be "disconnect". Signed-off-by: Mark Tomlinson --- drivers/i2c/i2c_core.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/i2c_core.c b/drivers/i2c/i2c_core.c index 4539667..41cc3b8 100644 --- a/drivers/i2c/i2c_core.c +

Re: [U-Boot] [OpenQuestion] stdint.h and inttypes.h in U-Boot ?

2014-12-01 Thread Simon Glass
Hi Masahiro, On 26 November 2014 at 00:45, Masahiro Yamada wrote: > Hi Tom, Simon, other developers, > > > > Since commit 0d296cc2d3b8 (Provide option to avoid defining a custom version > of uintptr_t) > and commit 4166ecb247a1 (Add some standard headers external code might need), > I have been

[U-Boot] [PATCH 1/2] i2c: Fix deselection of muxes

2014-12-01 Thread Mark Tomlinson
Due to an uninitialised variable, when muxes were deselected, any value could be written to the mux control register. On the PCA9548, this could result in multiple channels being selected, thus enabling multiple pull-up resistors, and much bus capacitance. The fix is simply to initialise the writt

Re: [U-Boot] [PATCH v3 4/8] common: spl: Add interactive DDR debugger support for SPL image

2014-12-01 Thread York Sun
On 11/18/2014 09:07 AM, York Sun wrote: > On 11/17/2014 11:02 PM, Albert ARIBAUD wrote: >> Hello York, >> >> On Mon, 17 Nov 2014 15:00:42 -0800, York Sun >> wrote: >>> On 10/27/2014 06:48 PM, Wang Huan-B18965 wrote: Hello, Albert, >>> >>> >> --- >> Change log: >> v3: Gave m

Re: [U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-12-01 Thread York Sun
On 12/01/2014 10:31 AM, Joakim Tjernlund wrote: > York Sun wrote on 2014/12/01 18:26:21: >> On 11/26/2014 04:34 AM, Laurentiu Tudor wrote: > > Hi Jocke, York, > > Sorry for the late reply. I didn't noticed the thread in time. > > You need this patch: > > https://pat

Re: [U-Boot] [PATCH v3 3/4] tegra: config: Enable FIT and device tree for all boards

2014-12-01 Thread Stephen Warren
On 11/25/2014 10:44 AM, Simon Glass wrote: Hi Stephen, On 25 November 2014 at 09:23, Stephen Warren wrote: On 11/24/2014 04:49 PM, Simon Glass wrote: Hi Stephen, On 24 November 2014 at 10:11, Stephen Warren wrote: On 11/23/2014 09:12 AM, Simon Glass wrote: Modern kernels require a dev

Re: [U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-12-01 Thread Joakim Tjernlund
York Sun wrote on 2014/12/01 18:26:21: > On 11/26/2014 04:34 AM, Laurentiu Tudor wrote: > >>> > >>> Hi Jocke, York, > >>> > >>> Sorry for the late reply. I didn't noticed the thread in time. > >>> > >>> You need this patch: > >>> > >>> https://patchwork.ozlabs.org/patch/411910/ > >> > >> Great, I

Re: [U-Boot] [PATCH v4 3/3] ARM: tegra: Add support for nyan-big board

2014-12-01 Thread Stephen Warren
On 11/26/2014 01:46 PM, Simon Glass wrote: From: Allen Martin Nyan-big is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp sense are flipped, and it has a different revision of the AS3722 PMIC. This is the Acer Chromebook 13 CB5-311

Re: [U-Boot] [PATCH 1/2] ARM: rpi: rename rpi_b to rpi

2014-12-01 Thread Stephen Warren
On 11/29/2014 08:56 PM, Simon Glass wrote: Hi, On 24 November 2014 at 08:52, Simon Glass wrote: On 19 November 2014 at 20:41, Stephen Warren wrote: The U-Boot port runs on a variety of RPi models, not just the B. So, rename the port to something slightly more generic. Signed-off-by: Stephen

Re: [U-Boot] [PATCH v9 1/2] Odroid-XU3: Add support for Odroid-XU3

2014-12-01 Thread Simon Glass
Hi, On 27 November 2014 at 06:21, Hyungwon Hwang wrote: > This patch adds support for Odroid-XU3. > > Signed-off-by: Hyungwon Hwang > Tested-by: Lukasz Majewski > Acked-by: Lukasz Majewski > Cc: Minkyu Kang > Cc: Lukasz Majewski > --- > Changes for v3: > - Remove unnecessary node from DT fil

Re: [U-Boot] WARNING Could not get liodn of node /pcie@ffe240000: FDT_ERR_NOTFOUND

2014-12-01 Thread York Sun
On 11/26/2014 04:34 AM, Laurentiu Tudor wrote: >>> >>> Hi Jocke, York, >>> >>> Sorry for the late reply. I didn't noticed the thread in time. >>> >>> You need this patch: >>> >>> https://patchwork.ozlabs.org/patch/411910/ >> >> Great, I guess this will hit upstream any day now? >> > > I'm thinking

  1   2   >