Re: [U-Boot] [PATCH v3 0/4] introduce get_maintainer.pl

2014-09-04 Thread Stefan Roese
Hi Daniel, On 04.09.2014 01:34, Simon Glass wrote: This series imports get_maintainer.pl from kernel and reintroduce the MAINTAINERS file in the according format. Currently one have to manually grep all infos about board maintainers or custodians from various sources like git log, wiki or

[U-Boot] [PATCH][v2] powerpc/b4860: Updated default hwconfig so as to enable only

2014-09-04 Thread Shaveta Leekha
CPC1 is not being enabled by default as powerpc is supposed to use only CPC2. Though by editing hwconfig en_cpc option, CPC1 can also be enabled Signed-off-by: Shaveta Leekha shav...@freescale.com Signed-off-by: Sandeep Singh sand...@freescale.com --- Tested on B4860QDS Changes in V2:

[U-Boot] [PATCH] cfi_flash: don't hide write/erase errors

2014-09-04 Thread Baruch Siach
Partially revert commit 0d01f66d235118 (CFI: cfi_flash write fix for AMD legacy). flash_full_status_check() used to skip status register parsing when flash_status_check() returns OK. This is wrong since flash_status_check() must return OK for other status bits to be valid. Cc: Ed Swarthout

[U-Boot] [PATCH] dfu, usb: set usb descriptor to values defined in dfu spec 1.1

2014-09-04 Thread Heiko Schocher
set bDeviceClass, bDeviceSubClass and bcdUSB to the values defined in dfu spec 1.1 chapter 4.2.1 found here: http://www.usb.org/developers/devclass_docs/DFU_1.1.pdf Signed-off-by: Heiko Schocher h...@denx.de Cc: Lukasz Majewski l.majew...@samsung.com Cc: Marek Vasut ma...@denx.de Cc: Roger Meier

[U-Boot] [PATCH] B4860QDS: Enable mac command support

2014-09-04 Thread Shaveta Leekha
One of the I2C EEPROM is used to store/save and edit mac addresses of ports. this patch add required CONFIG to support the same Signed-off-by: Shaveta Leekha shav...@freescale.com --- include/configs/B4860QDS.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[U-Boot] VxWorks Booting using U-boot as Bootloader

2014-09-04 Thread Ashish Khetan
Hi, I was trying to boot vxworks using u-boot bootloader for learning purpose on MPC8640DHPCN board. Previously I successfully ported QNX os along with linux on same board using u-boot. while booting using bootvx command its not booting and stucking after showing the following message: tftp

Re: [U-Boot] [PATCH v3 0/4] introduce get_maintainer.pl

2014-09-04 Thread Masahiro YAMADA
Hi. 2014-09-04 15:05 GMT+09:00 Stefan Roese s...@denx.de: Patman now picks this up which is great. But it does sometimes produce a long list of maintainers. I wonder if we could have an option to turn it off (perhaps -m)? Yes, that would be good. I just recently got a very long Cc list

Re: [U-Boot] [PATCH v2 2/4] kconfig: fix whitespace handling bug of savedefconfig

2014-09-04 Thread Masahiro YAMADA
Hi Simon, 2014-09-04 8:49 GMT+09:00 Simon Glass s...@chromium.org: Hi Masahiro, On 3 September 2014 14:41, Masahiro Yamada yamad...@jp.panasonic.com wrote: Commit 3ff291f371fa9858426774f3732924bacb61ed1c (kconfig: convert Kconfig helper script into a shell script) introduced another

[U-Boot] [PATCH v2] kconfig: show an error message when defconfig is not found

2014-09-04 Thread Masahiro Yamada
When a non-existing defconfig is specified, display an easy-to-understand message (fake the error message on Linux Kernel): $ make foo_defconfig *** *** Can't find default configuration confis/foo_defconfig! *** Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v2:

Re: [U-Boot] [U-boot] [Patch 2/6] ARM: keystone2: clock: add K2E clock support

2014-09-04 Thread Murali Karicheri
On 07/15/2014 05:59 PM, Ivan Khoronzhuk wrote: From: Hao Zhanghzh...@ti.com This patch adds clock definitions and commands to support Keystone2 K2E SOC. Signed-off-by: Hao Zhanghzh...@ti.com Signed-off-by: Ivan Khoronzhukivan.khoronz...@ti.com --- arch/arm/cpu/armv7/keystone/Makefile

[U-Boot] [PATCH v2 3/5] iMX6DL:arm2: Add support for i.MX6DL arm2 DDR3 board

2014-09-04 Thread Ye . Li
This patch adds the i.MX6DL arm2 board support. The i.MX6DL ARM2 shared the same board with i.MX6Q ARM2 board since the i.MX6DL is pin-pin compatible with i.MX6Q. The patch also support the DDR 32-BIT mode option. Please define CONFIG_DDR_32BIT in the board configure file to enable DDR 32-BIT

[U-Boot] [PATCH v2 1/5] iMX6Q:arm2: Add the kernel FDT Loading support

2014-09-04 Thread Ye . Li
To support loading FDT file for kernel, add the fdt address, file and loading script to arm2 board default environment. Signed-off-by: Ye.Li b37...@freescale.com --- Changes since v1: - None include/configs/mx6qarm2.h | 41 ++--- 1 files changed, 38

[U-Boot] [PATCH v2 5/5] iMX6Q/DL:arm2: Add support for i.MX6Q/DL arm2 LPDDR2 boards

2014-09-04 Thread Ye . Li
Update the ddr scripts for LPDDR2 and add two build configs for LPDDR2 arm2 board. Since the LPDDR2 arm2 board has different DDR size, use CONFIG_DDR_MB in defconfig to replace the PHYS_SDRAM_SIZE. Signed-off-by: Ye.Li b37...@freescale.com --- Changes since v1: - The (CONFIG_DDR_32BIT) is true

[U-Boot] [PATCH v2 2/5] iMX6Q:arm2: Change the mmcroot and mmcpart env value

2014-09-04 Thread Ye . Li
1. Set the image load partition to the first FAT partition. 2. Set the kernel rootfs partition to the second partition. Signed-off-by: Ye.Li b37...@freescale.com --- Changes since v1: - None include/configs/mx6qarm2.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v2 4/5] iMX6: Checking PLL2 PFD0 and PFD2 for periph_clk before PFD reset

2014-09-04 Thread Ye . Li
Checking the pre_periph_clk_sel and pre_periph2_clk of CCM CBCMR register, if the PLL2 PFD0 or PLL2 PFD2 is used for the clock source, do not reset this PFD to avoid system hang. Customers may set this in DDR script or use BT_FREQ to select low freq boot. Signed-off-by: Ye.Li b37...@freescale.com

Re: [U-Boot] [PATCH] MAINTAINERS: update the maintainer of Arndale board

2014-09-04 Thread Masahiro YAMADA
Hello Mikyu, Could you pick up this patch, please? I think there is a consensus that the maintainership of Arndale board should be updated. Please see http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/187338 2014-08-04 10:13 GMT+09:00 Masahiro Yamada yamad...@jp.panasonic.com:

Re: [U-Boot] [PATCH v3 3/4] cleanup code which handles the Android sparse image format

2014-09-04 Thread Tom Rini
On Thu, Sep 04, 2014 at 07:28:04AM +0200, Wolfgang Denk wrote: Dear Steve Rae, In message 1409763954-5494-4-git-send-email-s...@broadcom.com you wrote: - port dprintf() to debug() - update formatting Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v3: - use original

Re: [U-Boot] [PATCH v2] kconfig: show an error message when defconfig is not found

2014-09-04 Thread Stephen Warren
On 09/04/2014 07:16 AM, Masahiro Yamada wrote: When a non-existing defconfig is specified, display an easy-to-understand message (fake the error message on Linux Kernel): $ make foo_defconfig *** *** Can't find default configuration confis/foo_defconfig! *** Acked-by: Stephen

Re: [U-Boot] Call for participation in the U-Boot Mini Summit 2014

2014-09-04 Thread Marek Vasut
On Wednesday, September 03, 2014 at 06:39:23 PM, Detlev Zundel wrote: Hi Marek, [...] I got my talk, Secure and flexible boot with U-Boot bootloader, accepted for the main track it seems. It's mostly about use fitImage and use UBI on NAND kind of talk, which covers introduction to

Re: [U-Boot] [U-boot] [Patch 2/6] ARM: keystone2: clock: add K2E clock support

2014-09-04 Thread Ivan Khoronzhuk
On 09/04/2014 05:08 PM, Murali Karicheri wrote: On 07/15/2014 05:59 PM, Ivan Khoronzhuk wrote: From: Hao Zhanghzh...@ti.com This patch adds clock definitions and commands to support Keystone2 K2E SOC. Signed-off-by: Hao Zhanghzh...@ti.com Signed-off-by: Ivan Khoronzhukivan.khoronz...@ti.com

[U-Boot] [U-boot] [Patch] ARM: keystone: ddr3: workaround for ddr3a/3b memory issue

2014-09-04 Thread Ivan Khoronzhuk
From: Murali Karicheri m-kariche...@ti.com This patch implements a workaround to fix DDR3 memory issue. The code for workaround detects PGSR0 errors and then preps for and executes a software-controlled hard reset.In board_early_init, where logic has been added to identify whether or not the

Re: [U-Boot] [PATCH v4] arm: tegra: initial support for apalis t30

2014-09-04 Thread Masahiro YAMADA
Hi Marcel, 2014-09-02 19:57 GMT+09:00 Marcel Ziswiler mar...@ziswiler.com: diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index dd987cc..e5d31f9 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -701,6 +701,9 @@ config TARGET_WHISTLER config TARGET_COLIBRI_T20_IRIS bool

[U-Boot] [PATCH] buildman: fix typos of --dry-run help message

2014-09-04 Thread Masahiro Yamada
try run= dry run no nothing = do nothing/ ... = '...' The last one is for consistency with the other option helps. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- tools/buildman/buildman.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [U-Boot] [PATCH] buildman: fix typos of --dry-run help message

2014-09-04 Thread Simon Glass
On 4 September 2014 10:19, Masahiro Yamada yamad...@jp.panasonic.com wrote: try run= dry run no nothing = do nothing/ ... = '...' The last one is for consistency with the other option helps. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass

[U-Boot] [PATCH 0/2] A little improvement of Kbuild script and Makefile cleanup

2014-09-04 Thread Masahiro Yamada
1/2 imports a build script update from Linux. 2/2 refactors examples/standalone/Makefile based on 1/2. Masahiro Yamada (2): scripts/Makefile.clean: clean also $(extra-m) and $(extra-) kbuild: standalone: simplify clean-files examples/standalone/Makefile | 2 +- scripts/Makefile.clean

[U-Boot] [PATCH 1/2] scripts/Makefile.clean: clean also $(extra-m) and $(extra-)

2014-09-04 Thread Masahiro Yamada
This commit is a backport from Linux Kernel, commit 9d5db8949f1ecf4019785b04d8986835d3c0e99e, written by me. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- This patch was well-reviewed on Linux Kbuild ML and is already in the Linux mainline. It is surely safe.

[U-Boot] [PATCH 2/2] kbuild: standalone: simplify clean-files

2014-09-04 Thread Masahiro Yamada
Files added $(extra-) are removed by make clean. Besides, wildcard *.srec *.bin is simpler. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- examples/standalone/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/standalone/Makefile

[U-Boot] Kernel XIP

2014-09-04 Thread Camilo Andres Roca Duarte
Dear U-boot team I'm currently working on an embedded system that uses U-boot as a second step bootloader. I'm testing the booting time of the kernel with binary formats. Before I was able to flash the first level bootloader, the u-boot and the kernel (uImage) into the nand flash of the embedded

[U-Boot] [PATCH] powerpc/mpc85xx: Serdes protocol 00 is supported

2014-09-04 Thread Ebony Zhu
0x00 is a valid serdes protocol for QorIQ parts, and can not be used to test whether the serdes is enabled or disabled. Signed-off-by: Ebony Zhu b45...@freescale.com --- arch/powerpc/cpu/mpc85xx/fsl_corenet2_serdes.c | 5 - 1 file changed, 5 deletions(-) diff --git

[U-Boot] [PATCH v2] buildman: fix typos of --dry-run help message

2014-09-04 Thread Masahiro Yamada
try run= dry run no nothing = do nothing ... = '...' The last one is for consistency with the other option helps. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org --- Changes in v2: - Fix a typo in my git-log do nothing/ = do

Re: [U-Boot] Kernel XIP

2014-09-04 Thread Wolfgang Denk
Dear Camilo Andres Roca Duarte, In message camdpjjuhad-uujjkm8mr6bb6vic64zzw7wopmzmnbe_qxcz...@mail.gmail.com you wrote: - I would like to know if the bootm command is actually loading the complete kernel to RAM or if it is loading only the required pages from flash. bootm has no knowledge

[U-Boot] [PATCH v2] patman: make run results better visible

2014-09-04 Thread Vadim Bendebury
For an occasional user of patman some failures are not obvious: for instance when checkpatch reports warnings, the dry run still reports that the email would be sent. If it is not dry run, the warnings are shown on the screen, but it is not clear that the email was not sent. Add some code to

[U-Boot] Problem writing to Samsung E-Die NAND on OpenRD-like platform

2014-09-04 Thread Wolfgang Wegner
Hi list, we have a custom legacy board based on OpenRD platform and using OpenRD config with slight changes (few GPIOs remapped, slower SDRAM timing and redundant environment). Now we had to change to Samsung E-Die NAND for a new assembly, and I can not write to the NAND any more. Switching to

Re: [U-Boot] [PATCH v9 0/14] Add some missing buildman features and deprecate MAKEALL

2014-09-04 Thread Simon Glass
Hi Tom, On 31 August 2014 23:07, Simon Glass s...@chromium.org wrote: Hi Tom, On 28 August 2014 05:48, Tom Rini tr...@ti.com wrote: On Tue, Aug 26, 2014 at 08:54:03PM -0600, Simon Glass wrote: Hi Tom, On 25 August 2014 14:21, Tom Rini tr...@ti.com wrote: On Mon, Aug 25, 2014 at

Re: [U-Boot] [PATCH v2 3/5] iMX6DL:arm2: Add support for i.MX6DL arm2 DDR3 board

2014-09-04 Thread Otavio Salvador
Hello Ye, On Thu, Sep 4, 2014 at 11:17 AM, Ye.Li b37...@freescale.com wrote: This patch adds the i.MX6DL arm2 board support. The i.MX6DL ARM2 shared the same board with i.MX6Q ARM2 board since the i.MX6DL is pin-pin compatible with i.MX6Q. The patch also support the DDR 32-BIT mode option.

Re: [U-Boot] [PATCH v2] patman: make run results better visible

2014-09-04 Thread Doug Anderson
Vadim, On Thu, Sep 4, 2014 at 10:45 AM, Vadim Bendebury vben...@chromium.org wrote: For an occasional user of patman some failures are not obvious: for instance when checkpatch reports warnings, the dry run still reports that the email would be sent. If it is not dry run, the warnings are

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-09-04 Thread Magnus Lilja
Hi On 3 September 2014 03:13, Tom Rini tr...@ti.com wrote: On Wed, Sep 03, 2014 at 02:53:17AM +0200, Benoît Thébaudeau wrote: IMHO, the 'b reset' and the 'nop nop nop' are two different issues, so Helmut should create a formal patch for the 'b reset' issue right now, which will fix mx31pdk

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-09-04 Thread Benoît Thébaudeau
Hi Magnus, On Thu, Sep 4, 2014 at 9:12 PM, Magnus Lilja lilja.mag...@gmail.com wrote: On 3 September 2014 03:13, Tom Rini tr...@ti.com wrote: On Wed, Sep 03, 2014 at 02:53:17AM +0200, Benoît Thébaudeau wrote: IMHO, the 'b reset' and the 'nop nop nop' are two different issues, so Helmut

Re: [U-Boot] SPL broken on i.mx31 platforms

2014-09-04 Thread Magnus Lilja
Hi On 4 September 2014 21:50, Benoît Thébaudeau benoit.thebaudeau@gmail.com wrote: Hi Magnus, v2014.10 is getting closer with the release of -rc2. It would be much better to get mx31pdk fixed for this release. Helmut, can you send a patch for the 'b reset' issue? If not, do you agree

Re: [U-Boot] [PATCH v3 0/4] introduce get_maintainer.pl

2014-09-04 Thread Daniel Schwierzeck
Hi Simon, 2014-09-04 1:34 GMT+02:00 Simon Glass s...@chromium.org: Hi Daniel, On 31 July 2014 18:24, Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: This series imports get_maintainer.pl from kernel and reintroduce the MAINTAINERS file in the according format. Currently one have to

Re: [U-Boot] ARM: DRA72: DDR3: Add emif settings for 666MHz clock

2014-09-04 Thread Tom Rini
On Thu, Aug 28, 2014 at 12:01:04PM +0530, Lokesh Vutla wrote: From: R Sricharan r.sricha...@ti.com On DRA72x, EMIF supports DDR3 upto 667MHz. Adding the required settings for DDR3 at 666MHz and enabling it. Signed-off-by: R Sricharan r.sricha...@ti.com Signed-off-by: Lokesh Vutla

Re: [U-Boot] [U-Boot, U-boot] ARM: keystone: clock: use correct BWADJ field mask for PASSPLLCTL0

2014-09-04 Thread Tom Rini
On Mon, Aug 11, 2014 at 11:59:42AM +0300, Khoronzhuk, Ivan wrote: The mask for BWADJ field of PASSPLLCTL0 register has to be 0xff, but by mistake, here is used shift instead of mask, so correct it. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com Applied to u-boot/master, thanks! --

Re: [U-Boot] omap3_beagle: Add boot script support to omap3 beagle board

2014-09-04 Thread Tom Rini
On Tue, Aug 26, 2014 at 10:48:13AM +0200, Guillaume GARDET wrote: This patch adds boot script support to omap3 beagle board. Signed-off-by: Guillaume GARDET guillaume.gar...@free.fr Cc: Tom Rini tr...@ti.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, U-boot] keystone2: use readl/writel functions instead of redefinition

2014-09-04 Thread Tom Rini
On Thu, Aug 28, 2014 at 04:07:45PM +0300, Khoronzhuk, Ivan wrote: There is no reason to redefine pure readl/writel functions. So remove this redundancy. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com Acked-by: Vitaly Andrianov vita...@ti.com Applied to u-boot/master, thanks! --

Re: [U-Boot] arm: am335x: add Kconfig range attribute to prevent invalid CONS_INDEX

2014-09-04 Thread Tom Rini
On Mon, Sep 01, 2014 at 01:05:32AM +0900, Masahiro Yamada wrote: The help message in board/ti/am335x/Kconfig says AM335x has 6 UARTs, so the valid number for CONFIG_CONS_INDEX is from 1 to 6. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Tom Rini tr...@ti.com Applied to

Re: [U-Boot] [U-Boot, U-boot] mtd: nand: davinci_nand: correct keystone RBL layout definition

2014-09-04 Thread Tom Rini
On Tue, Sep 02, 2014 at 12:20:02AM +0300, Khoronzhuk, Ivan wrote: In case when 4K page keystone RBL layout is used the compilation error is appeared. That's because the #ifdef has to be placed under struct name. This patch correct it. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com

Re: [U-Boot] mtd: nand: omap_gpmc: Enable multiple NAND flash devices

2014-09-04 Thread Tom Rini
On Tue, Sep 02, 2014 at 04:23:58PM +0200, Rostislav Lisovy wrote: Since the CS of a device connected to the GPMC was stored in the global variable, it was not possible to use multiple devices. In this patch the CS is stored per device in its 'struct omap_nand_info'. This makes it possible to

Re: [U-Boot] AM335x: igep0033: Convert to generic board and use ti_am335x_common.h.

2014-09-04 Thread Tom Rini
On Wed, Sep 03, 2014 at 05:59:57PM +0200, Enric Balletbò i Serra wrote: From: Enric Balletbo i Serra eballe...@iseebcn.com To reduce code duplication update am335x_igep0033.h to use ti_am335x_common.h and convert to generic board. Signed-off-by: Enric Balletbo i Serra

Re: [U-Boot] mtd: nand: omap_gpmc: Fix 'bit-flip' errors

2014-09-04 Thread Tom Rini
On Tue, Sep 02, 2014 at 05:00:30PM +0200, Rostislav Lisovy wrote: OMAP GPMC driver used with some NAND Flash devices (e.g. Spansion S34ML08G1) causes that U-boot shows hundreds of 'nand: bit-flip corrected' error messages. Possible cause was discussed in the mailinglist thread:

[U-Boot] Please pull u-boot-ti/master

2014-09-04 Thread Tom Rini
Hey, The following changes since commit d6c1ffc7d23f4fe4ae8c91101861055b8e1501b6: Prepare v2014.10-rc2 (2014-09-02 16:58:29 -0400) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to 681f785f7cc616a70aaa0c93a25300b0820f6968:

Re: [U-Boot] [PATCH v3 0/4] introduce get_maintainer.pl

2014-09-04 Thread Simon Glass
Hi Daniel, On 4 September 2014 14:45, Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: Hi Simon, 2014-09-04 1:34 GMT+02:00 Simon Glass s...@chromium.org: Hi Daniel, On 31 July 2014 18:24, Daniel Schwierzeck daniel.schwierz...@gmail.com wrote: This series imports

[U-Boot] [PATCH v5 0/14] Introduce driver model serial uclass

2014-09-04 Thread Simon Glass
This series adds support for a serial uclass, enabling serial drivers to be converted to use driver model. With v4, exynos boards all build and a second attempt has been made to add Tegra support via the ns16550 driver, tested on beaver, Jetson-TK1 and seaboard (i.e. 3 of the 4 SoCs in mainline).

[U-Boot] [PATCH v5 01/14] serial: Set up the 'priv' pointer when creating a serial device

2014-09-04 Thread Simon Glass
The stdio_dev structure has a private pointer for its creator, but it is not set up by the serial system. Set it to point to the serial device so that it can be found by code called by stdio. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3:

[U-Boot] [PATCH v5 02/14] dm: fdt: Add a function to look up a chosen node

2014-09-04 Thread Simon Glass
Within /chosen we may have a node which points to another node, similar to how /aliases works. Add a helper function to do this lookup. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Add new patch to add a function to look up a chosen node Changes in v4: None Changes in v3:

[U-Boot] [PATCH v5 09/14] dm: exynos: Move serial to driver model

2014-09-04 Thread Simon Glass
Change the Exynos serial driver to work with driver model and switch over all Exynos5 boards to use it. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: - Avoid reordering functions Changes in v2: None drivers/serial/serial_s5p.c |

[U-Boot] [PATCH v5 03/14] dm: Adjust lists_bind_fdt() to return the bound device

2014-09-04 Thread Simon Glass
Allow the caller to find out the device that was bound in response to this call. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: - Add new change to enhance lists_bind_fdt() Changes in v2: None drivers/core/lists.c | 10 +++---

[U-Boot] [PATCH v5 11/14] dm: serial: Collect common baud rate code in ns16550

2014-09-04 Thread Simon Glass
The same sequence is used in several places, so move it into a function. Note that UART_LCR_BKSE is an alias for UART_LCR_DLAB. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: - Add new patch to collect common baud rate code in ns16550

[U-Boot] [PATCH v5 07/14] sandbox: dts: Add a serial console node

2014-09-04 Thread Simon Glass
If the sandbox device tree is provided to U-Boot (with the -d flag) then it will use the device tree version in preference to the built-in device. The only difference is the colour. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Use /chosen/stdout-path instead of

[U-Boot] [PATCH v5 08/14] dm: exynos: Mark exynos5 console as pre-reloc

2014-09-04 Thread Simon Glass
We will need the console before relocation, so mark it that way. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: - Change pre-reloc fdt property to 'u-boot,dm-pre-reloc' Changes in v2: None arch/arm/dts/exynos5.dtsi | 1 + 1 file

[U-Boot] [PATCH v5 12/14] dm: serial: Add driver model support for ns16550

2014-09-04 Thread Simon Glass
Add driver model support so that ns16550 can support operation both with and without driver model. The driver needs a clock frequency so cannot stand alone unfortunately. The clock frequency must be provided by a separate driver. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: -

[U-Boot] [PATCH v5 13/14] tegra: dts: Add serial port details

2014-09-04 Thread Simon Glass
Some Tegra device tree files do not include information about the serial ports. Add this and also add information about the input clock speed. The console alias needs to be set up to indicate which port is used for the console. Also add a binding file since this is missing. Series-changes; 5 -

[U-Boot] [PATCH v5 10/14] dm: serial: Move baud rate calculation to ns16550.c

2014-09-04 Thread Simon Glass
Move the function that calculates the baud rate divisor into ns16550.c so it can be used by that file. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: - Add new patch to move baud rate calculation to ns16550.c Changes in v2: None

[U-Boot] [PATCH v5 04/14] dm: Add a uclass for serial devices

2014-09-04 Thread Simon Glass
Serial devices support simple byte input/output and a few operations to find out whether data is available. Add a basic uclass for serial devices to be used by drivers that are converted to driver model. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: - Use /chosen/stdout-path

[U-Boot] [PATCH v5 06/14] sandbox: serial: Support a coloured console

2014-09-04 Thread Simon Glass
The current sandbox serial driver is a pretty trivial example and does not have the featues that might be needed for other board serial drivers. To help provide a better example, add a text colour property to the device tree for sandbox. This uses platform data, a device tree node, driver private

[U-Boot] [PATCH v5 14/14] dm: tegra: Enable driver model for serial

2014-09-04 Thread Simon Glass
Use driver model for serial ports. Since Tegra now uses driver model for serial, adjust the definition of V_NS16550_CLK so that it is clear that this is only used for SPL. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: - Add a separate Tegra serial driver to

[U-Boot] [PATCH v5 05/14] sandbox: Convert serial driver to use driver model

2014-09-04 Thread Simon Glass
Adjust the sandbox serial driver to use the new driver model uclass. The driver works much as before, but within the new framework. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Rename struct device to struct udevice

Re: [U-Boot] [PATCH v2] patman: make run results better visible

2014-09-04 Thread Simon Glass
On 4 September 2014 12:57, Doug Anderson diand...@chromium.org wrote: Vadim, On Thu, Sep 4, 2014 at 10:45 AM, Vadim Bendebury vben...@chromium.org wrote: For an occasional user of patman some failures are not obvious: for instance when checkpatch reports warnings, the dry run still

Re: [U-Boot] Force check of RSA-Signature

2014-09-04 Thread Simon Glass
Hi, On 3 September 2014 09:12, Ulf Bartel ulf.bar...@scansonic.de wrote: Hello. We are currently testing U-Boot on a PPC. Beside booting the system we like to use it do some system updates (e.g. Kernel, FDT and Initrd). I've compiled U-Boot with support for AES and RSA-Signatures. We are

Re: [U-Boot] About verify uboot

2014-09-04 Thread Simon Glass
Hi, On 21 July 2014 21:08, Duxiaoqiang duxiaoqi...@huawei.com wrote: Hi I try to make use of uboot's secure verify feature, but failed. My procedure is below: 1) Enable control device tree Ø Add CONFIG_OF_CONTROL / CONFIG_OF_SEPARATE to file vexpress_aemv8a.h 2) Enable

Re: [U-Boot] Uboot - verified boot - CONFIG_OF_SEPARATE

2014-09-04 Thread Simon Glass
Hi, On 11 March 2014 05:39, Thilo Cestonaro th...@cestona.ro wrote: Hey! When I build my Uboot with the CONFIG_OF_SEPARATE set to gain access to the compiled dtb, Uboot can't find my concatenated dtb during the boot. After injecting the pulbic keys for the verified boot, I cat the u-boot.dtb

Re: [U-Boot] [PATCH] dfu, usb: set usb descriptor to values defined in dfu spec 1.1

2014-09-04 Thread Marek Vasut
On Thursday, September 04, 2014 at 12:21:40 PM, Heiko Schocher wrote: Hi Heiko, I'll just rant a bit, but please wait until Lukasz does a proper runthrough. set bDeviceClass, bDeviceSubClass and bcdUSB to the values defined in dfu spec 1.1 chapter 4.2.1 found here:

Re: [U-Boot] [PATCH v2] kconfig: zynq: Add ZYBO board

2014-09-04 Thread Masahiro Yamada
On Mon, 1 Sep 2014 12:58:54 +0200 Michal Simek michal.si...@xilinx.com wrote: From: Peter Crosthwaite crosthwaitepe...@gmail.com Add a defconfig and Kconfigury for the Digilent ZYBO board. Signed-off-by: Peter Crosthwaite crosthwaite.pe...@gmail.com Signed-off-by: Michal Simek

Re: [U-Boot] [PATCH v3 5/6] arm: debug: add Kconfig entries for lowlevel debug

2014-09-04 Thread Masahiro Yamada
Hi Simon, On Wed, 3 Sep 2014 18:01:44 -0600 Simon Glass s...@chromium.org wrote: Hi Masahiro, On 31 August 2014 20:06, Masahiro Yamada yamad...@jp.panasonic.com wrote: We have not had a good method to debug the early boot stage such as lowlevel_init function. I guess developers

Re: [U-Boot] [PATCH] nand/denali: Adding Denali NAND driver support

2014-09-04 Thread Masahiro Yamada
Hi Chin, Are you planning to send v10 with the fixes suggested by Scott? Best Regards Masahiro Yamada On Tue, 2 Sep 2014 21:15:52 -0500 Scott Wood scottw...@freescale.com wrote: On Sat, 2014-08-30 at 07:45 -0400, Tom Rini wrote: On Thu, Aug 28, 2014 at 11:13:40AM +0900, Masahiro Yamada

Re: [U-Boot] [PATCH] dfu, usb: set usb descriptor to values defined in dfu spec 1.1

2014-09-04 Thread Heiko Schocher
Hello Marek, Am 05.09.2014 00:42, schrieb Marek Vasut: On Thursday, September 04, 2014 at 12:21:40 PM, Heiko Schocher wrote: Hi Heiko, I'll just rant a bit, but please wait until Lukasz does a proper runthrough. set bDeviceClass, bDeviceSubClass and bcdUSB to the values defined in dfu spec

Re: [U-Boot] Force check of RSA-Signature

2014-09-04 Thread Wolfgang Denk
Dear Simon Ulf, In message CAPnjgZ2MH8W05zgHsHXN=etkei2hnnzkxk6kdrnet0rebgx...@mail.gmail.com you wrote: 2) Is there a possibility to check the signature/CRC before copying the image to ram with imxtract? I'm not sure of the specifics here - sometimes the image must be decompressed,

[U-Boot] [PATCH v3 3/3] spi, sf: use offset and size in sf cmd from mtdpartition

2014-09-04 Thread Heiko Schocher
with this patch, it is possible to get the offset and size information from the mtdpartiton setting in mtdparts, similiar to the nand commandos. = sf sf - SPI flash sub-system Usage: sf probe [[bus:]cs] [hz] [mode] - init flash device on given SPI bus and chip

[U-Boot] [PATCH v3 0/3] spi, sf: add mtdparts feature to spi and sf commands

2014-09-04 Thread Heiko Schocher
This patchserie add the popssibility to define mtd partitions on spi nor flash, and use this settings with the sf commands. steps: - add MTD layer driver for spi, original patch from: http://git.denx.de/?p=u-boot/u-boot-mips.git;a=commitdiff;h=bb246819cdc90493dd7089eaa51b9e639765cced and

[U-Boot] [PATCH v3 1/3] mtd, spi: add MTD layer driver

2014-09-04 Thread Heiko Schocher
From: Daniel Schwierzeck daniel.schwierz...@gmail.com add MTD layer driver for spi, original patch from: http://git.denx.de/?p=u-boot/u-boot-mips.git;a=commitdiff;h=bb246819cdc90493dd7089eaa51b9e639765cced changes from Heiko Schocher against this patch: - remove compile error if not defining

[U-Boot] [PATCH v3 2/3] mtd, nand: move common functions from cmd_nand.c to common place

2014-09-04 Thread Heiko Schocher
move common functions from cmd_nand.c (for calculating offset and size from cmdline paramter) to common place, so they could used from other commands which use mtd partitions. For onenand the arg_off_size() is left in common/cmd_onenand.c. It should use now the common arg_off() function, but as I

[U-Boot] [PATCH v4 1/6] nand: denali: add Denali NAND driver for SPL

2014-09-04 Thread Masahiro Yamada
The SPL-mode driver for Denali(Cadence) NAND Flash Memory Controller IP. This driver requires two CONFIG macros: - CONFIG_SPL_NAND_DENALI Define to enable this driver. - CONFIG_SYS_NAND_BAD_BLOCK_POS Specify bad block mark position in the oob space. Typically 0. Signed-off-by:

[U-Boot] [PATCH v4 2/6] serial: add UniPhier serial driver

2014-09-04 Thread Masahiro Yamada
The driver for on-chip UART used on Panasonic UniPhier platform. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v4: None Changes in v3: None Changes in v2: - Use const unsigned int mode_x_div = 16 instead of #define MODE_X_DIV 16 - Use DIV_ROUND_CLOSEST()

[U-Boot] [PATCH v4 4/6] arm: uniphier: add Kconfig and defconfig

2014-09-04 Thread Masahiro Yamada
Add entries for Panasonic UniPhier family: PH1-LD4, PH1-Pro4, PH1-sLD8 Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v4: None Changes in v3: - Rebase on the current u-boot/master Changes in v2: - Rebase on the current u-boot/master arch/arm/Kconfig

[U-Boot] [PATCH v4 5/6] MAINTAINERS: add me as a maintainer of UniPhier platform

2014-09-04 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v4: None Changes in v3: None Changes in v2: - Newly added MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index af194ca..cb5b3f0 100644 --- a/MAINTAINERS +++ b/MAINTAINERS

[U-Boot] [PATCH v4 6/6] git-mailrc: add me as a maintainer of UniPhier platform

2014-09-04 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- Changes in v4: None Changes in v3: None Changes in v2: - Rebase doc/git-mailrc | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/git-mailrc b/doc/git-mailrc index 0fba100..35f2eb2 100644 --- a/doc/git-mailrc +++