[U-Boot] [PATCH] powerpc/t4240rdb: Convert to use generic board code

2014-12-01 Thread Chunhe Lan
Signed-off-by: Chunhe Lan chunhe@freescale.com --- include/configs/T4240RDB.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h index 5ab1b47..eff1db9 100644 --- a/include/configs/T4240RDB.h +++

Re: [U-Boot] [PATCH 1/6] kirkwood: ib62x0: add CONFIG_SYS_GENERIC_BOARD define

2014-12-01 Thread Prafulla Wadaskar
-Original Message- From: Luka Perkov [mailto:l...@openwrt.org] Sent: 30 November 2014 09:31 To: u-boot@lists.denx.de Cc: Luka Perkov; Prafulla Wadaskar; Stefan Roese Subject: [PATCH 1/6] kirkwood: ib62x0: add CONFIG_SYS_GENERIC_BOARD define Signed-off-by: Luka Perkov

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

2014-12-01 Thread Masahiro Yamada
Hi Simon, On Thu, 27 Nov 2014 21:47:07 -0700 Simon Glass s...@chromium.org wrote: +Masahiro On Nov 24, 2014 11:58 AM, Simon Glass s...@chromium.org wrote: The uclass implements the same operations as the current I2C framework but makes some changes to make it fit driver model better:

Re: [U-Boot] [ANN] U-Boot v2015.01-rc2 released

2014-12-01 Thread Pierre Aubert
Hello Guillaume, Guillaume Gardet wrote Le 25/11/2014 11:19, Lukasz Majewski a écrit : Hi Guillaume, Le 24/11/2014 23:13, Tom Rini a écrit : Hey all, I've pushed v2015.01-rc2 out to the repository and tarballs should exist soon. I'm tagging later in the day than I wanted to, but that's

Re: [U-Boot] [PATCH] imx: mx53loco: Add raw initrd support

2014-12-01 Thread Stefano Babic
On 20/11/2014 08:38, Guillaume GARDET wrote: Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Stefano Babic sba...@denx.de Cc: Jason Liu r64...@freescale.com --- Applied to u-boot-imx, thanks ! Best regards, Stefano Babic --

Re: [U-Boot] [PATCH 2/3] mxs_ocotp: check for errors from the OTP controller after writing

2014-12-01 Thread Stefano Babic
On 21/11/2014 17:54, Hector Palacios wrote: The write operation may fail when trying to write to a locked area. In this case the ERROR bit is set in the CTRL register. Check for that condition and return an error. Signed-off-by: Hector Palacios hector.palac...@digi.com ---

Re: [U-Boot] [PATCH 1/3] mxs_ocotp: prevent error path from returning success

2014-12-01 Thread Stefano Babic
On 21/11/2014 17:54, Hector Palacios wrote: The code may goto 'fail' upon error with 'ret' variable set to an error code, but this variable was being overwritten by a final preparation function to restore the HCLK, so success was (in general) returned even after an error was hit previously.

Re: [U-Boot] [PATCH 3/3] mxs_ocotp: clear the error flag before initiating write operation

2014-12-01 Thread Stefano Babic
On 21/11/2014 17:54, Hector Palacios wrote: A previous operation may have set the error flag, which must be cleared before a new write operation can be issued. Signed-off-by: Hector Palacios hector.palac...@digi.com --- drivers/misc/mxs_ocotp.c | 2 ++ 1 file changed, 2 insertions(+)

Re: [U-Boot] [PATCH] thermal: imx_thermal: Do not display calibration data

2014-12-01 Thread Stefano Babic
On 24/11/2014 15:24, Fabio Estevam wrote: Printing the calibration data on every boot does not provide really useful information: U-Boot 2015.01-rc1-18266-ge7eb277 (Nov 24 2014 - 11:29:51)

Re: [U-Boot] [PATCH 2/2] mx6sxsabresd: Add thermal support

2014-12-01 Thread Stefano Babic
On 25/11/2014 16:11, Fabio Estevam wrote: Add thermal support so that the temperature of the chip can be displayed on boot: U-Boot 2015.01-rc1-18268-g1366c05-dirty (Nov 25 2014 - 13:02:42)

Re: [U-Boot] [PATCH 1/2] mxc_ocotp: Do not disable the OCOTP clock after every access

2014-12-01 Thread Stefano Babic
On 25/11/2014 16:11, Fabio Estevam wrote: Leave the OCOTP turned on, so that we subsequent access do not fail. After enabling the thermal driver on a mx6sxsabresd board: U-Boot 2015.01-rc1-18267-g99d4189-dirty (Nov 24 2014 - 12:59:01)

Re: [U-Boot] [PATCH] tbs2910: fix lost characters on serial input

2014-12-01 Thread Stefano Babic
On 27/11/2014 21:21, Soeren Moch wrote: With enabled console_mux for serial input and usb keyboard sometimes characters get lost when typing too fast at the serial input (pasting strings in serial console window). Fix this by using INT_QUEUE for polling the usb keyboard. Signed-off-by:

Re: [U-Boot] [PATCH] tbs2910: fix Kconfig

2014-12-01 Thread Stefano Babic
On 26/11/2014 12:39, Soeren Moch wrote: fix Kconfig for tbs2910 board to prevent crash on relocation Signed-off-by: Soeren Moch sm...@web.de --- Cc: Stefano Babic sba...@denx.de --- arch/arm/Kconfig | 1 + board/tbs/tbs2910/Kconfig | 8 2 files changed, 1 insertion(+),

Re: [U-Boot] [PATCH v2] sata: fix reset_sata for dwc_ahsata

2014-12-01 Thread Stefano Babic
On 27/11/2014 10:11, Soeren Moch wrote: - fix crash when sata device is not initialized - remove disable_sata_clock() since it is not clear which clock for which device should be disabled here - call disable_sata_clock() for mx6 in preboot_os instead Signed-off-by: Soeren Moch

Re: [U-Boot] [PATCH v2] arm: mx6: Change defines ENET_xxMHz to ENET_xxMHZ (no CamelCase)

2014-12-01 Thread Stefano Babic
On 27/11/2014 13:46, Stefan Roese wrote: As checkpatch complaines about these camel-case defines, lets change them to only use upper-case characters. Signed-off-by: Stefan Roese s...@denx.de Acked-by: Heiko Schocher h...@denx.de Cc: Fabio Estevam fabio.este...@freescale.com Cc: Jon

Re: [U-Boot] [PATCH 1/2] config_fallbacks: Add a default entry for CONFIG_SYS_PBSIZE

2014-12-01 Thread Stefano Babic
On 27/11/2014 23:41, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the

Re: [U-Boot] [PATCH 2/2] mx6sabre_common: Use the default CONFIG_SYS_PBSIZE

2014-12-01 Thread Stefano Babic
On 27/11/2014 23:41, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Entering the maximum number of characters defined by CONFIG_SYS_CBSIZE into the console and hitting enter afterwards, causes a hang in the system because CONFIG_SYS_PBSIZE is not capable of storing the

Re: [U-Boot] [PATCH] arm: vf610: improve evaluation of reset source

2014-12-01 Thread Stefano Babic
On 27/11/2014 23:58, Stefan Agner wrote: Improve the evaluation of the reset source. Bit description according to latest reference manual rev. 7. Signed-off-by: Stefan Agner ste...@agner.ch --- arch/arm/cpu/armv7/vf610/generic.c | 21 +++--

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
Hey Simon, On Sun, 2014-11-30 at 11:56 -0700, Simon Glass wrote: On 27 November 2014 at 08:08, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: Unlike the Peach-Pit board, there is no parade edp to lvds bridge on the Pi. So drop it from device-tree Signed-off-by: Sjoerd Simons

Re: [U-Boot] [PATCH 2/2 v2] exynos5420: fix compilation without parade video

2014-12-01 Thread Sjoerd Simons
Hey Minkyu, On Mon, 2014-12-01 at 14:24 +0900, Minkyu Kang wrote: --- a/arch/arm/include/asm/arch-exynos/system.h +++ b/arch/arm/include/asm/arch-exynos/system.h @@ -42,6 +42,10 @@ void set_system_display_ctrl(void); int exynos_lcd_early_init(const void *blob); /* Initialize the

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

2014-12-01 Thread Masahiro Yamada
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 s...@chromium.org wrote: +static bool i2c_setup_offset(struct dm_i2c_chip *chip, uint offset, + uint8_t offset_buf[], struct i2c_msg *msg) +{ +

Re: [U-Boot] [PATCH v3 08/10] dm: Add a simple EEPROM driver

2014-12-01 Thread Masahiro Yamada
Hi Simon, On Mon, 24 Nov 2014 11:57:22 -0700 Simon Glass s...@chromium.org wrote: --- /dev/null +++ b/drivers/misc/i2c_eeprom.c @@ -0,0 +1,51 @@ +/* + * Copyright (c) 2014 Google, Inc + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#include common.h +#include dm.h +#include

Re: [U-Boot] [PATCH v3 10/10] dm: i2c: tegra: Convert to driver model

2014-12-01 Thread Masahiro Yamada
Hi Simon, On Mon, 24 Nov 2014 11:57:24 -0700 Simon Glass s...@chromium.org wrote: + +U_BOOT_DRIVER(i2c_tegra) = { + .name = i2c_tegra, + .id = UCLASS_I2C, + .of_match = tegra_i2c_ids, + .ofdata_to_platdata = tegra_i2c_ofdata_to_platdata, + .probe =

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

2014-12-01 Thread Sjoerd Simons
Hey Hyungwon, The following are some of the patches i had locally on top of your v9 Odroid. Feel free to merge them into your patchset (or squash them into your existing patches) if they look good to you. Sjoerd Simons (4): Odroid-XU3: Drop redundant fields Odroid-XU3: Add entry for DTS EHCI

[U-Boot] [PATCH 3/4] ODROID-XU3: Make odroid-xu3 an smdk5420 variant

2014-12-01 Thread Sjoerd Simons
The odroid-xu3 board file sets up clocks that should have are setup by the SPL/BL2, so that code should be redundant. Drop it and make the XU3 an smdk5420 variant like e.g. Peach pit/pi, that way the only differences in the boards u-boot binary are purely due to configuration changes, not code

[U-Boot] [PATCH 1/4] Odroid-XU3: Drop redundant fields

2014-12-01 Thread Sjoerd Simons
Drop MMC related fields from the DTS that are already setup by exynos54xx.dtsi and correct the value of fifoth_val Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk --- arch/arm/dts/exynos5422-odroidxu3.dts | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff

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

2014-12-01 Thread 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-boot binary too big for

[U-Boot] [PATCH 4/4] ODROID-XU3: drop overriding the boot environment

2014-12-01 Thread Sjoerd Simons
Remove the override of the boot environment, this causes the board to use the distro_bootcmd setup for booting as included by exynos5-common.h. Signed-off-by: Sjoerd Simons sjoerd.sim...@collabora.co.uk --- include/configs/odroid_xu3.h | 72 1 file

Re: [U-Boot] [PATCH v2] fdt: Fix regression in fdt_pack_reg()

2014-12-01 Thread Stefan Roese
On 28.11.2014 14:23, Hans de Goede wrote: After commit 933cdbb479: fdt: Try to use fdt_address_cells()/fdt_size_cells() I noticed that allwinner boards would no longer boot. Switching to fdt_address_cells / fdt_size_cells changes the result from bytes to 32 bit words, so when we increment

[U-Boot] [PATCH 0/4] mmc: Fix recognition and selection of Dual Data Rate mode

2014-12-01 Thread Andrew Gabbasov
This set of commits fixes some problems and drawbacks in current implementation of MMC Dual Data Rate mode support. These changes were tested not with dw_mmc driver, but with DDR mode support implementation for fsl_esdhc driver, ported from Freescale's 2009.08 based version and not yet submitted

[U-Boot] [PATCH 1/4] mmc: Fix handling of bus widths and DDR card capabilities

2014-12-01 Thread Andrew Gabbasov
If the MMC_MODE_DDR_52MHz flag is set in card capabilities bitmask, it is never cleared, even if switching to DDR mode fails, and if the controller driver uses this flag to check the DDR mode, it can take incorrect actions. Also, DDR related checks in mmc_startup() incorrectly handle the case

[U-Boot] [PATCH 2/4] mmc: Fix Dual Data Rate capability recognition

2014-12-01 Thread Andrew Gabbasov
Since the driver doesn't work in 1.2V or 1.8V signaling level modes, Dual Data Rate mode can be supported by the driver only if it is supported by the card in regular 3.3V mode. So, check for a particular single bit in card type field. Signed-off-by: Andrew Gabbasov andrew_gabba...@mentor.com ---

[U-Boot] [PATCH 4/4] mmc: dw_mmc: Use active DDR mode flag

2014-12-01 Thread Andrew Gabbasov
The card_caps bit should denote the card capability to use DDR mode, but we need the flag indicating that the DDR mode is active. Signed-off-by: Andrew Gabbasov andrew_gabba...@mentor.com --- drivers/mmc/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 3/4] mmc: Fix block length for DDR mode

2014-12-01 Thread Andrew Gabbasov
Block length for write and read commands is fixed to 512 bytes when the card is in Dual Data Rate mode. If block length read from CSD is different, make sure the driver will use correct length in all further calculations and settings. Signed-off-by: Andrew Gabbasov andrew_gabba...@mentor.com ---

[U-Boot] USB External Hub detection problem

2014-12-01 Thread Balaji N
Hi All, In EHCI Controller, external USB Hub is connected. We have 2 boards of same type. In Board1, external USB hub is detected properly and in board2, it is not detected properly. In board2, got the error as: usb_control_msg: request: 0x3, requesttype: 0x23, value 0x8 index 0x1 length 0x0

Re: [U-Boot] [PATCH v2] fdt: Fix regression in fdt_pack_reg()

2014-12-01 Thread Vince Hsu
Hi, On 11/28/2014 09:23 PM, Hans de Goede wrote: After commit 933cdbb479: fdt: Try to use fdt_address_cells()/fdt_size_cells() I noticed that allwinner boards would no longer boot. Switching to fdt_address_cells / fdt_size_cells changes the result from bytes to 32 bit words, so when we

Re: [U-Boot] Please pull u-boot-fdt.git

2014-12-01 Thread Simon Glass
Hi Tom, On 29 November 2014 at 21:05, Simon Glass s...@chromium.org wrote: Hi Tom, This request includes an important fix. Please ignore this one - there are a few more test credits so I will re-issue. - Simon ___ U-Boot mailing list

[U-Boot] Please pull u-boot-fdt.git (take 2)

2014-12-01 Thread Simon Glass
Hi Tom, I just pulled this down from patchwork again, adding two more Tested-by: credits. 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

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 Pierre Aubert
Hi, Tested on an iMX6 SabreSD board. Issue is fixed. There's just a warning about trailing whitespaces at line 75 of the patch. Tested-by: Pierre Aubert p.aub...@staubli.com Thanks Pierre Tom Rini wrote The changes to introduce loff_t into filesize means that we need to do 64bit math on

Re: [U-Boot] [PATCH 2/2 v2] exynos5420: fix compilation without parade video

2014-12-01 Thread Simon Glass
Hi, On 1 December 2014 at 03:06, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: Hey Minkyu, On Mon, 2014-12-01 at 14:24 +0900, Minkyu Kang wrote: --- a/arch/arm/include/asm/arch-exynos/system.h +++ b/arch/arm/include/asm/arch-exynos/system.h @@ -42,6 +42,10 @@ void

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 York will pick it up in one of

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 human.hw...@samsung.com wrote: This patch adds support for Odroid-XU3. Signed-off-by: Hyungwon Hwang human.hw...@samsung.com Tested-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Lukasz Majewski l.majew...@samsung.com Cc: Minkyu Kang

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 s...@chromium.org wrote: On 19 November 2014 at 20:41, Stephen Warren swar...@wwwdotorg.org wrote: The U-Boot port runs on a variety of RPi models, not just the B. So, rename the port to something

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 amar...@nvidia.com 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

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

2014-12-01 Thread Joakim Tjernlund
York Sun york...@freescale.com 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 guess this will

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 swar...@wwwdotorg.org wrote: On 11/24/2014 04:49 PM, Simon Glass wrote: Hi Stephen, On 24 November 2014 at 10:11, Stephen Warren swar...@wwwdotorg.org wrote: On 11/23/2014 09:12 AM, Simon

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 york...@freescale.com 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:

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 york...@freescale.com wrote: On 10/27/2014 06:48 PM, Wang Huan-B18965 wrote: Hello, Albert, snip --- Change log: v3: Gave more explaination

[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

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 yamad...@jp.panasonic.com 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

[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 mark.tomlin...@alliedtelesis.co.nz --- 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

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 sjoerd.sim...@collabora.co.uk wrote: Hey Simon, On Sun, 2014-11-30 at 11:56 -0700, Simon Glass wrote: On 27 November 2014 at 08:08, Sjoerd Simons sjoerd.sim...@collabora.co.uk wrote: Unlike the Peach-Pit board, there is no

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 swar...@wwwdotorg.org wrote: On 11/26/2014 01:46 PM, Simon Glass wrote: From: Allen Martin amar...@nvidia.com Nyan-big is a Tegra124 clamshell board that is very similar to venice2, but it has a different panel, the sdcard cd and wp

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, bruce_leon...@selinc.com wrote: Hi Simon and Bin, u-boot-boun...@lists.denx.de wrote on 11/25/2014 01:51:06 PM: From: Simon Glass s...@chromium.org To: U-Boot Mailing List u-boot@lists.denx.de Cc: tr...@ti.com tr...@ti.com Date: 11/25/2014

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 swar...@wwwdotorg.org wrote: On 11/25/2014 10:44 AM, Simon Glass wrote: Hi Stephen, On 25 November 2014 at 09:23, Stephen Warren swar...@wwwdotorg.org wrote: On 11/24/2014 04:49 PM, Simon Glass wrote: Hi Stephen, On 24 November

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

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 daniel.schwierz...@gmail.com Cc: Suriyan

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 sjoerd.sim...@collabora.co.uk wrote: Hey Simon, On Sun, 2014-11-30 at 11:56 -0700, Simon Glass wrote: On 27 November 2014 at 08:08, Sjoerd Simons

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 sjoerd.sim...@collabora.co.uk 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 sjoerd.sim...@collabora.co.uk wrote: Hey Simon, On Sun, 2014-11-30 at 11:56

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

2014-12-01 Thread Vikas Manocha
Signed-off-by: Vikas Manocha vikas.mano...@st.com --- 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

[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 vikas.mano...@st.com --- 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

[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

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

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

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

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 l.majew...@majess.pl wrote: Hello Javier, Hello Lukasz, On Fri, Nov 28, 2014 at 9:39 AM, Lukasz Majewski l.majew...@majess.pl wrote: I have yet to take him up on that offer though, but it sounds like a good way forward. The current

[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:

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 duxiaoqi...@huawei.com 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

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 w...@denx.de: 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

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 s...@chromium.org To: U-Boot Mailing List u-boot@lists.denx.de Cc: tr...@ti.com tr...@ti.com Date: 11/25/2014 01:52 PM Subject: [U-Boot] Bare x86 support is merged to u-boot-x86 Sent by:

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

[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

[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 s...@chromium.org --- tools/buildman/builder.py | 2 ++ 1 file changed, 2

[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 albert.u.b...@aribaud.net Signed-off-by: Simon Glass s...@chromium.org --- tools/buildman/control.py | 7 +++ 1 file changed, 3

[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 s...@chromium.org Suggested-by: Daniel Schwierzeck daniel.schwierz...@gmail.com --- tools/buildman/README | 11 +++ tools/buildman/control.py | 19 +++

[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 s...@chromium.org --- 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 ---

[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 s...@chromium.org --- tools/buildman/control.py | 3 ++- 1 file changed, 2

[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 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 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 s...@chromium.org --- tools/buildman/README | 5 +++-- tools/buildman/test.py | 15 +++ tools/buildman/toolchain.py | 8 +--- 3 files changed, 23

[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 s...@chromium.org Suggested-by: Wolfgang Denk w...@denx.de --- tools/buildman/README | 73 +-- 1 file changed, 53 insertions(+), 20 deletions(-) diff --git

[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,

[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 s...@chromium.org Suggested-by: Wolfgang Denk w...@denx.de --- tools/buildman/README | 11 ++- 1 file changed, 10 insertions(+), 1

[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 s...@chromium.org --- tools/buildman/toolchain.py | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tools/buildman/toolchain.py

[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 s...@chromium.org --- 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 ---

[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 s...@chromium.org --- tools/buildman/test.py | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tools/buildman/test.py

[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 branch some_upstream' 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

[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 output_dir/current/current/board. Add an option to make it use output_dir/board instead. This removes the unnecessary directories in that case, controlled by the --no-subdirs/-N option. Suggested-by: Tom Rini

[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 s...@chromium.org --- tools/buildman/builder.py | 4 +++-

[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

[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 s...@chromium.org --- common/edid.c | 106 + include/edid.h

[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 s...@chromium.org --- include/configs/tegra-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/tegra-common.h

[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 s...@chromium.org --- include/linux/drm_dp_helper.h | 405 ++ 1 file changed, 405 insertions(+) create mode

[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 s...@chromium.org --- arch/arm/include/asm/arch-tegra/sys_proto.h | 8 board/nvidia/common/board.c | 10 ++ 2 files changed, 18 insertions(+) diff --git

[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 s...@chromium.org --- 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

[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 s...@chromium.org --- drivers/power/as3722.c | 16 +--- include/power/as3722.h | 3 +++ 2 files changed, 16 insertions(+), 3 deletions(-) diff --git

[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 s...@chromium.org --- arch/arm/cpu/armv7/tegra-common/Makefile | 1 + arch/arm/cpu/armv7/{tegra20 = tegra-common}/pwm.c | 0 arch/arm/cpu/armv7/tegra20/Makefile

[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 s...@chromium.org --- 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 ---

[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 s...@chromium.org --- arch/arm/cpu/tegra-common/board.c | 8 board/nvidia/common/board.c | 13 + 2 files changed, 9 insertions(+), 12 deletions(-) diff

[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 s...@chromium.org --- 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

[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 s...@chromium.org --- doc/device-tree-bindings/video/display-timing.txt | 110 ++ include/fdtdec.h | 80

  1   2   >