[U-Boot] [PATCH] powerpc/t1024: add serdes protocol 0x40

2014-12-16 Thread Shengzhou Liu
Add serdes protocol 0x40. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- arch/powerpc/cpu/mpc85xx/t1024_serdes.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/cpu/mpc85xx/t1024_serdes.c b/arch/powerpc/cpu/mpc85xx/t1024_serdes.c index 7dc8385..cd0a9d7 100644 ---

Re: [U-Boot] [PATCH] cros-ec-keyboard: Synchronize DT binding from linux

2014-12-16 Thread Sjoerd Simons
On Mon, 2014-12-15 at 23:34 +0100, Pavel Machek wrote: On Thu 2014-11-27 16:34:08, Sjoerd Simons wrote: The ChromeOS EC keyboard is used by various different chromebooks. Peach pi being the third board in the u-boot tree to use it (snow and peach pit the other two). Rather then embedding

Re: [U-Boot] [PATCH v2 1/6] x86: Add a script to process Intel microcode files

2014-12-16 Thread Bin Meng
Hi Simon, On Tue, Dec 16, 2014 at 1:02 PM, Simon Glass s...@chromium.org wrote: Intel delivers microcode updates in a microcode.dat file which must be split up into individual files for each CPU. Add a tool which performs this task. It can list available microcode updates for each model and

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix PIO_WORD number

2014-12-16 Thread Luca Ellero
On 15/12/2014 12:14, Marek Vasut wrote: On Monday, December 15, 2014 at 09:45:13 AM, Luca Ellero wrote: Hi Marek, On 13/12/2014 14:12, Marek Vasut wrote: On Friday, December 12, 2014 at 04:03:14 PM, Luca Ellero wrote: Hi Marek, On 12/12/2014 13:58, Marek Vasut wrote: On Friday, December

Re: [U-Boot] [PATCH v2 3/6] x86: Move microcode updates into a separate directory

2014-12-16 Thread Bin Meng
On Tue, Dec 16, 2014 at 1:02 PM, Simon Glass s...@chromium.org wrote: We might end up with a few of these, so put them in their own directory. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: None arch/x86/dts/link.dts | 4 ++-- arch/x86/dts/{

Re: [U-Boot] [PATCH v2 2/6] x86: ifdtool: Add support for early microcode access

2014-12-16 Thread Bin Meng
On Tue, Dec 16, 2014 at 1:02 PM, Simon Glass s...@chromium.org wrote: Some Intel CPUs use an 'FSP' binary blob which provides an inflexible means of starting up the CPU. One result is that microcode updates can only be done before RAM is available and therefore parsing of the device tree is

Re: [U-Boot] [PATCH v2 5/6] x86: Correct problems in the microcode loading

2014-12-16 Thread Bin Meng
Hi Simon, On Tue, Dec 16, 2014 at 1:02 PM, Simon Glass s...@chromium.org wrote: There are several problems in the code. The device tree decode is incorrect in ways that are masked due to a matching bug. Both are fixed. Also microcode_read_rev() should be inline and called before the microcode

Re: [U-Boot] [PATCH v2 6/6] x86: Convert microcode format to device-tree-only

2014-12-16 Thread Bin Meng
On Tue, Dec 16, 2014 at 1:02 PM, Simon Glass s...@chromium.org wrote: To avoid having two microcode formats, adjust the build system to support obtaining the microcode from the device tree, even in the case where it must be made available before the device tree can be accessed. Also move the

[U-Boot] [PATCH] spl: mmc: Fix raw boot mode (related to commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f)

2014-12-16 Thread Guillaume GARDET
As reported by Robert Nelson, commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f may break MMC RAW boot mode. This patch fixes the check path to fix MMC Raw boot mode. Tested raw boot mode and FS boot mode on a pandaboard (rev. A3). Reported-by: Robert Nelson robertcnel...@gmail.com Signed-off-by:

Re: [U-Boot] [PATCH] spl: if MMCSD_MODE_RAW fails, try MMCSD_MODE_FS, if available

2014-12-16 Thread Guillaume Gardet
Le 15/12/2014 10:01, Guillaume Gardet a écrit : Le 15/12/2014 09:43, Guillaume Gardet a écrit : Hi Robert, Le 12/12/2014 22:49, Robert Nelson a écrit : On Tue, Nov 18, 2014 at 3:44 AM, Guillaume GARDET guillaume.gar...@free.fr wrote: In SPL MMC, boot modes are exclusive. So, if

Re: [U-Boot] [PATCH] powerpc/913x: Add config flag for bootdelay

2014-12-16 Thread Harninder Rai
I am not sure I followed you completely but if I just use CONFIG_BOOTDELAY then I get the following compilation error common/autoboot.c: In function 'bootdelay_process': common/autoboot.c:247:68: error: expected expression before ';' token Is there something which I am missing? Thanks and

Re: [U-Boot] [PATCH] mtd: nand: mxs: fix PIO_WORD number

2014-12-16 Thread Marek Vasut
On Tuesday, December 16, 2014 at 09:06:34 AM, Luca Ellero wrote: On 15/12/2014 12:14, Marek Vasut wrote: On Monday, December 15, 2014 at 09:45:13 AM, Luca Ellero wrote: Hi Marek, On 13/12/2014 14:12, Marek Vasut wrote: On Friday, December 12, 2014 at 04:03:14 PM, Luca Ellero wrote:

Re: [U-Boot] Falcon mode boot support

2014-12-16 Thread Andy Pont
Hi Tom, How big is the args file? We default to placing the args at 0x8800 in ti_am335x_common.h (see CONFIG_SYS_SPL_ARGS_ADDR) to make sure that we don't have an overlap between the DT and the kernel which is quite possible with a reasonably sized DT and placing it at 0x8100.

[U-Boot] [PATCH 1/2] image: bootm: Add OpenRTOS image type

2014-12-16 Thread Marek Vasut
Add separate image type for the Wittenstein OpenRTOS . Signed-off-by: Marek Vasut ma...@denx.de Cc: Simon Glass s...@chromium.org Cc: Tom Rini tr...@ti.com --- common/bootm_os.c | 29 + common/image.c| 4 include/image.h | 1 + 3 files changed, 34

[U-Boot] [PATCH 2/2] image: Enable OpenRTOS booting via fitImage

2014-12-16 Thread Marek Vasut
Allow booting the OpenRTOS payloads via fitImage image type. Signed-off-by: Marek Vasut ma...@denx.de Cc: Simon Glass s...@chromium.org Cc: Tom Rini tr...@ti.com --- common/image-fit.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/common/image-fit.c

[U-Boot] [PATCH 1/8] imx: i2c: Zap unnecessary malloc() calls

2014-12-16 Thread Marek Vasut
The malloc() calls are unnecessary, just allocate the stuff on stack. While at it, reorder the code a little, so that only one variable is used for the text, use snprintf() instead of sprintf() and use %01d as a formatting string to avoid any possible overflows. Signed-off-by: Marek Vasut

[U-Boot] [PATCH 2/8] arm: mx6: gw_ventana: Define CONFIG_SYS_MALLOC_F_LEN

2014-12-16 Thread Marek Vasut
This board uses setup_i2c() in SPL. The setup_i2c() function internally calls gpio_request(), which in turn internally calls strdup(). The strdup() requires a running mallocator, so this patch makes the mallocator available. Signed-off-by: Marek Vasut ma...@denx.de Cc: Igor Grinberg

[U-Boot] [PATCH 7/8] arm: mx6: novena: Pull video handling into separate file

2014-12-16 Thread Marek Vasut
Pull all of the video handling into a separate file, since a lot more code will be added and such code would polute the board file. Signed-off-by: Marek Vasut ma...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Cc: Nikita Kiryanov nik...@compulab.co.il Cc: Sean Cross x...@kosagi.com Cc: Simon

[U-Boot] [PATCH 5/8] arm: mx6: novena: Minor config file fix

2014-12-16 Thread Marek Vasut
Sequence like the following is completely useless and results from an errorneous ordering of the statements during development. Zap it. #ifdef FOO #define FOO Signed-off-by: Marek Vasut ma...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Cc: Nikita Kiryanov nik...@compulab.co.il Cc: Sean

[U-Boot] [PATCH 4/8] arm: mx6: novena: Minor coding style fix

2014-12-16 Thread Marek Vasut
Just zap multiple spaces and replace them with tabs properly. Signed-off-by: Marek Vasut ma...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Cc: Nikita Kiryanov nik...@compulab.co.il Cc: Sean Cross x...@kosagi.com Cc: Simon Glass s...@chromium.org Cc: Stefano Babic sba...@denx.de Cc: Tim

[U-Boot] [PATCH 6/8] arm: mx6: novena: Pull GPIO definitions into header

2014-12-16 Thread Marek Vasut
Pull the definitions of GPIOs into a separate header file, so that they can be used across all source files. Signed-off-by: Marek Vasut ma...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Cc: Nikita Kiryanov nik...@compulab.co.il Cc: Sean Cross x...@kosagi.com Cc: Simon Glass

[U-Boot] [PATCH 3/8] arm: mx6: novena: Define CONFIG_SYS_MALLOC_F_LEN

2014-12-16 Thread Marek Vasut
This board uses setup_i2c() in SPL. The setup_i2c() function internally calls gpio_request(), which in turn internally calls strdup(). The strdup() requires a running mallocator, so this patch makes the mallocator available. Signed-off-by: Marek Vasut ma...@denx.de Cc: Igor Grinberg

[U-Boot] [PATCH 8/8] arm: mx6: novena: Add proper LVDS display support

2014-12-16 Thread Marek Vasut
Repair the register configuration and add proper support for the display attached to both LVDS channels. Signed-off-by: Marek Vasut ma...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Cc: Nikita Kiryanov nik...@compulab.co.il Cc: Sean Cross x...@kosagi.com Cc: Simon Glass s...@chromium.org

Re: [U-Boot] [Patch V2 1/3] dfu: mmc: check if mmc device exists in mmc_block_op()

2014-12-16 Thread Lukasz Majewski
Hi Przemyslaw, The function mmc_block_op() is the last function before the physicall data write, but the mmc device pointer is not checked. If mmc device not exists, then data abort will occur. To avoid this, first the mmc device pointer is checked. Signed-off-by: Przemyslaw Marczak

Re: [U-Boot] [Patch V2 2/3] gadget: f_thor: check pointers before use in download_tail()

2014-12-16 Thread Lukasz Majewski
Hi Przemyslaw, Some pointers in function download_tail() were not checked before the use. This could possibly cause the data abort. To avoid this, check if the pointers are not null is added. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com --- Change v2: - download_tail(): change

Re: [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use

2014-12-16 Thread Lukasz Majewski
Hi Przemyslaw, In function dfu_get_buf(), the size of allocated buffer could be defined by the env variable. The size from this variable was passed for memalign() without checking its value. And the the memalign will return non null pointer for size 0. This could possibly cause data abort,

Re: [U-Boot] [PATCH v4 1/2] disk: part_efi: move code to static functions

2014-12-16 Thread Lukasz Majewski
Hi Steve, Signed-off-by: Steve Rae s...@broadcom.com --- Changes in v4: - move common code to static functions Changes in v3: None Changes in v2: None disk/part_efi.c | 175 +--- 1 file changed, 102 insertions(+), 73 deletions(-)

Re: [U-Boot] [PATCH v4 2/2] fastboot: handle flash write to GPT partitions

2014-12-16 Thread Lukasz Majewski
Hi Steve, Implement a feature to allow fastboot to write the downloaded image to the space reserved for the Protective MBR and the Primary GUID Partition Table. Additionally, prepare and write the Backup GUID Partition Table. Signed-off-by: Steve Rae s...@broadcom.com --- Changes in

Re: [U-Boot] Falcon mode boot support

2014-12-16 Thread Tom Rini
On Tue, Dec 16, 2014 at 12:58:33PM -, Andy Pont wrote: Hi Tom, How big is the args file? We default to placing the args at 0x8800 in ti_am335x_common.h (see CONFIG_SYS_SPL_ARGS_ADDR) to make sure that we don't have an overlap between the DT and the kernel which is quite

Re: [U-Boot] [PATCH] arm: socfpga: board: Repair Micrel PHY tuning

2014-12-16 Thread Marek Vasut
On Thursday, December 11, 2014 at 06:06:31 PM, Marek Vasut wrote: From: Pavel Machek pa...@denx.de Add proper error checking into the PHY tuning patch. Make the PHY tunning only happen in case the KSZ9021 PHY is enabled in config. Call the config callback after the tuning finished.

Re: [U-Boot] [PULL] u-boot-socfpga/master

2014-12-16 Thread Marek Vasut
The following changes since commit 97cdf64026c7d749dd7a5c0dbaba7a60a7292ac9: Merge branch 'sandbox' of git://git.denx.de/u-boot-x86 (2014-12-04 09:24:05 -0500) are available in the git repository at: git://git.denx.de/u-boot-socfpga.git master for you to fetch changes up to

[U-Boot] [PATCH 2/2] mtd: nand: mxs: fix PIO_WORDs in mxs_nand_write_buf()

2014-12-16 Thread Luca Ellero
There is only one pio_word in this DMA transaction so data field must be 1. Signed-off-by: Luca Ellero luca.ell...@brickedbrain.com --- drivers/mtd/nand/mxs_nand.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c

[U-Boot] [PATCH 1/2] mtd: nand: mxs: fix PIO_WORDs in mxs_nand_read_buf()

2014-12-16 Thread Luca Ellero
There is only one pio_word in this DMA transaction so data field must be 1. Signed-off-by: Luca Ellero luca.ell...@brickedbrain.com --- drivers/mtd/nand/mxs_nand.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/mxs_nand.c b/drivers/mtd/nand/mxs_nand.c

[U-Boot] [PATCH 0/2] mtd: nand: mxs: fix PIO_WORD number

2014-12-16 Thread Luca Ellero
In this driver, the CMDPIOWORDS field doesn't always reflect the real number of pio_words sent in the actual DMA transfer (see iMX6 Reference Manual, Ch. 14.2) This patchset fixes them. Luca Ellero (2): mtd: nand: mxs: fix PIO_WORDs in mxs_nand_read_buf() mtd: nand: mxs: fix PIO_WORDs in

Re: [U-Boot] Falcon mode boot support

2014-12-16 Thread Andy Pont
Hi Tom, eMMC is likely to be faster, yes. You may also want to see what can be trimmed from the kernel binary, in either case, and if going with an uncompressed kernel ends up being quicker. There are I think two issues going on here one with decompression time which, as you say, I can

Re: [U-Boot] [PATCH] USB: gadget: atmel_usba_udc: fix transfer hang issue

2014-12-16 Thread Marek Vasut
On Monday, December 15, 2014 at 11:12:47 AM, Bo Shen wrote: When receive data, the RXRDY in status register set by hardware after a new packet has been stored in the endpoint FIFO. After, we copy from FIFO, we clear it, make the FIFO can be accessed again. In the receive_data() function, this

Re: [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use

2014-12-16 Thread Marek Vasut
On Tuesday, December 16, 2014 at 02:48:46 PM, Lukasz Majewski wrote: [...] Applied to u-boot-dfu, thanks! Hi, Will you have any PR for me for this MW please ? If so, when ? Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 0/2] mtd: nand: mxs: fix PIO_WORD number

2014-12-16 Thread Marek Vasut
On Tuesday, December 16, 2014 at 03:36:13 PM, Luca Ellero wrote: In this driver, the CMDPIOWORDS field doesn't always reflect the real number of pio_words sent in the actual DMA transfer (see iMX6 Reference Manual, Ch. 14.2) This patchset fixes them. Luca Ellero (2): mtd: nand: mxs: fix

Re: [U-Boot] [PATCH 1/8] imx: i2c: Zap unnecessary malloc() calls

2014-12-16 Thread Christian Gmeiner
2014-12-16 14:09 GMT+01:00 Marek Vasut ma...@denx.de: The malloc() calls are unnecessary, just allocate the stuff on stack. While at it, reorder the code a little, so that only one variable is used for the text, use snprintf() instead of sprintf() and use %01d as a formatting string to avoid

Re: [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use

2014-12-16 Thread Lukasz Majewski
Hi Marek, On Tuesday, December 16, 2014 at 02:48:46 PM, Lukasz Majewski wrote: [...] Applied to u-boot-dfu, thanks! Hi, Will you have any PR for me for this MW please ? If so, when ? Some fixes and clean ups I hope. By the end of current week. Best regards, Marek Vasut -- Best

Re: [U-Boot] [PATCH 8/8] arm: mx6: novena: Add proper LVDS display support

2014-12-16 Thread Simon Glass
Hi Marek, On 16 December 2014 at 06:09, Marek Vasut ma...@denx.de wrote: Repair the register configuration and add proper support for the display attached to both LVDS channels. Signed-off-by: Marek Vasut ma...@denx.de Cc: Igor Grinberg grinb...@compulab.co.il Cc: Nikita Kiryanov

Re: [U-Boot] [PATCH 2/2] image: Enable OpenRTOS booting via fitImage

2014-12-16 Thread Simon Glass
On 16 December 2014 at 06:07, Marek Vasut ma...@denx.de wrote: Allow booting the OpenRTOS payloads via fitImage image type. Signed-off-by: Marek Vasut ma...@denx.de Cc: Simon Glass s...@chromium.org Cc: Tom Rini tr...@ti.com --- common/image-fit.c | 10 -- 1 file changed, 8

Re: [U-Boot] [PATCH 1/8] imx: i2c: Zap unnecessary malloc() calls

2014-12-16 Thread Simon Glass
Hi Marek, On 16 December 2014 at 06:09, Marek Vasut ma...@denx.de wrote: The malloc() calls are unnecessary, just allocate the stuff on stack. While at it, reorder the code a little, so that only one variable is used for the text, use snprintf() instead of sprintf() and use %01d as a

Re: [U-Boot] [PATCH 1/2] image: bootm: Add OpenRTOS image type

2014-12-16 Thread Simon Glass
On 16 December 2014 at 06:07, Marek Vasut ma...@denx.de wrote: Add separate image type for the Wittenstein OpenRTOS . Signed-off-by: Marek Vasut ma...@denx.de Cc: Simon Glass s...@chromium.org Cc: Tom Rini tr...@ti.com --- common/bootm_os.c | 29 +

Re: [U-Boot] [PATCH v2 5/6] x86: Correct problems in the microcode loading

2014-12-16 Thread Simon Glass
Hi Bin, On 16 December 2014 at 02:41, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Dec 16, 2014 at 1:02 PM, Simon Glass s...@chromium.org wrote: There are several problems in the code. The device tree decode is incorrect in ways that are masked due to a matching bug. Both are fixed.

Re: [U-Boot] [PATCH v2 1/6] x86: Add a script to process Intel microcode files

2014-12-16 Thread Simon Glass
Hi Bin, On 16 December 2014 at 01:04, Bin Meng bmeng...@gmail.com wrote: Hi Simon, On Tue, Dec 16, 2014 at 1:02 PM, Simon Glass s...@chromium.org wrote: Intel delivers microcode updates in a microcode.dat file which must be split up into individual files for each CPU. Add a tool which

Re: [U-Boot] [PATCH] powerpc/913x: Add config flag for bootdelay

2014-12-16 Thread York Sun
On 12/16/2014 02:55 AM, Rai Harninder-B01044 wrote: I am not sure I followed you completely but if I just use CONFIG_BOOTDELAY then I get the following compilation error common/autoboot.c: In function 'bootdelay_process': common/autoboot.c:247:68: error: expected expression before

Re: [U-Boot] [PATCH 8/8] arm: mx6: novena: Add proper LVDS display support

2014-12-16 Thread Marek Vasut
On Tuesday, December 16, 2014 at 05:22:31 PM, Simon Glass wrote: Hi Marek, On 16 December 2014 at 06:09, Marek Vasut ma...@denx.de wrote: Repair the register configuration and add proper support for the display attached to both LVDS channels. Signed-off-by: Marek Vasut ma...@denx.de

Re: [U-Boot] [PATCH 1/8] imx: i2c: Zap unnecessary malloc() calls

2014-12-16 Thread Marek Vasut
On Tuesday, December 16, 2014 at 05:27:53 PM, Simon Glass wrote: Hi Marek, On 16 December 2014 at 06:09, Marek Vasut ma...@denx.de wrote: The malloc() calls are unnecessary, just allocate the stuff on stack. While at it, reorder the code a little, so that only one variable is used for

Re: [U-Boot] [PATCH 1/2] image: bootm: Add OpenRTOS image type

2014-12-16 Thread Marek Vasut
On Tuesday, December 16, 2014 at 05:28:55 PM, Simon Glass wrote: On 16 December 2014 at 06:07, Marek Vasut ma...@denx.de wrote: Add separate image type for the Wittenstein OpenRTOS . Signed-off-by: Marek Vasut ma...@denx.de Cc: Simon Glass s...@chromium.org Cc: Tom Rini tr...@ti.com

Re: [U-Boot] [Patch V2 3/3] dfu: dfu_get_buf: check the value of env dfu_bufsiz before use

2014-12-16 Thread Marek Vasut
On Tuesday, December 16, 2014 at 05:07:06 PM, Lukasz Majewski wrote: Hi Marek, On Tuesday, December 16, 2014 at 02:48:46 PM, Lukasz Majewski wrote: [...] Applied to u-boot-dfu, thanks! Hi, Will you have any PR for me for this MW please ? If so, when ? Some fixes and clean

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

2014-12-16 Thread York Sun
On 12/01/2014 12:21 AM, Chunhe Lan wrote: Signed-off-by: Chunhe Lan chunhe@freescale.com --- Applied to u-boot-mpc85xx master, awaiting upstream. York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

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

2014-12-16 Thread York Sun
On 12/02/2014 02:25 AM, Harninder Rai wrote: Signed-off-by: Harninder Rai harninder@freescale.com --- Applied to u-boot-mpc85xx master, awaiting upstream. York ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH] spl: mmc: Fix raw boot mode (related to commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f)

2014-12-16 Thread Robert Nelson
On Tue, Dec 16, 2014 at 5:00 AM, Guillaume GARDET guillaume.gar...@free.fr wrote: As reported by Robert Nelson, commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f may break MMC RAW boot mode. This patch fixes the check path to fix MMC Raw boot mode. Tested raw boot mode and FS boot mode on a

Re: [U-Boot] [PATCH] powerpc/p2041rdb: enable generic board configs

2014-12-16 Thread York Sun
On 11/30/2014 11:39 PM, shh@gmail.com wrote: From: Shaohui Xie shaohui@freescale.com Add following configs in header file: CONFIG_SYS_GENERIC_BOARD CONFIG_DISPLAY_BOARDINFO Signed-off-by: Shaohui Xie shaohui@freescale.com --- Applied to u-boot-mpc85xx master, awaiting

Re: [U-Boot] [Patch v3] driver/ddr/fsl: Fix MRC_CYC calculation for DDR3

2014-12-16 Thread York Sun
On 12/02/2014 11:18 AM, York Sun wrote: For DDR controller version 4.7 or newer, MRC_CYC (mode register set cycle time) is max(tMRD, tMOD). tMRD is 4nCK, or 8nCK (RDIMM). tMOD is max(12nCK, 15ns) according to JEDEC spec. DDR4 is not affected by this change. Signed-off-by: York Sun

Re: [U-Boot] [Patch v3] powerpc/mpc85xx: Fix DDR TLB mapping leftover

2014-12-16 Thread York Sun
On 12/02/2014 11:21 AM, York Sun wrote: Commit f29f804a93e87c17670607641d120f431a3b0633 generalized the TLB mapping function, but made the DDR mapping leftover size to zero, causing the message not printed. Signed-off-by: York Sun york...@freescale.com CC: Alexander Graf ag...@suse.de CC:

Re: [U-Boot] [PATCH] net/fm: update ft_fixup_port to differentiate dual-role mac

2014-12-16 Thread York Sun
On 12/02/2014 11:27 PM, Shengzhou Liu wrote: we need to differentiate dual-role MACs into two types: MACs with 10GEC enumeration consistent with DTSEC enumeration(defined by CONFIG_FSL_FM_10GEC_REGULAR_NOTATION) and other MACs without CONFIG_FSL_FM_10GEC_REGULAR_NOTATION defined.

Re: [U-Boot] [PATCH V5] mpc85xx: inhibit qman and bman portals by default

2014-12-16 Thread York Sun
On 12/08/2014 11:54 AM, Jeffrey Ladouceur wrote: Not all portals might be managed and therefore visible. Set the isdr register so that the corresponding isr register won't be set. This is required when supporting power management. Signed-off-by: Jeffrey Ladouceur

Re: [U-Boot] [PATCH][v2] crypto/fsl: Fix RNG instantiation failure.

2014-12-16 Thread York Sun
On 12/03/2014 11:30 PM, Gaurav Rana wrote: Corrected the order of arguments in memset in run_descriptor function. Wrong order of argumnets led to improper initialization of members of struct type result. This resulted in RNG instantiation error. Signed-off-by: Gaurav Rana

Re: [U-Boot] [PATCH] p5040ds: changed liodn offsets

2014-12-16 Thread York Sun
On 12/09/2014 01:00 AM, Laurentiu Tudor wrote: Offsets were overlaping, causing pamu access violations in hypervised scenarios. Signed-off-by: Cristian Sovaiala cristian.sovai...@freescale.com Signed-off-by: Laurentiu Tudor laurentiu.tu...@freescale.com Reviewed-by: Fleming Andrew-AFLEMING

Re: [U-Boot] [PATCH] qe/deep-sleep: modify qe deep-sleep for generic board

2014-12-16 Thread York Sun
On 12/14/2014 11:50 PM, Zhao Qiang wrote: Deep sleep for generic board is supported now, modify qe deep-sleep code to adapt it. Signed-off-by: Zhao Qiang b45...@freescale.com --- Changes for v2: - rebase Applied to u-boot-mpc85xx master, awaiting upstream. York

Re: [U-Boot] [PATCH] mpc85xx/t104xrdb: convert deep sleep to generic board interface

2014-12-16 Thread York Sun
On 11/20/2014 07:17 PM, yuantian.t...@freescale.com wrote: From: Tang Yuantian yuantian.t...@freescale.com A new interface is introduced to support generic board structure. Converts it to use new interface. Signed-off-by: Tang Yuantian yuantian.t...@freescale.com --- Applied to

[U-Boot] Please pull u-boot-mpc85xx master

2014-12-16 Thread York Sun
Tom, The following changes since commit fc9b0b80435cda721fbdbe507c9e4f388b0ea62b: Merge branch 'master' of git://git.denx.de/u-boot-usb (2014-12-11 18:40:49 -0500) are available in the git repository at: git://git.denx.de/u-boot-mpc85xx.git master for you to fetch changes up to

Re: [U-Boot] [PATCH] powerpc/T10xx: Fix number of portals

2014-12-16 Thread York Sun
On 12/03/2014 03:08 PM, Jeffrey Ladouceur wrote: Following boards has incorrect number of portals defined. powerpc/T102xQDS powerpc/T102xRDB powerpc/T1040QDS powerpc/T104xRDB Signed-off-by: Jeffrey Ladouceur jeffrey.ladouc...@freescale.com --- Applied to u-boot-mpc85xx master, awaiting

Re: [U-Boot] [PATCH] spl: mmc: Fix raw boot mode (related to commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f)

2014-12-16 Thread Guillaume Gardet
Le 16/12/2014 18:16, Robert Nelson a écrit : On Tue, Dec 16, 2014 at 5:00 AM, Guillaume GARDET guillaume.gar...@free.fr wrote: As reported by Robert Nelson, commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f may break MMC RAW boot mode. This patch fixes the check path to fix MMC Raw boot mode.

Re: [U-Boot] RFC Pin Configuration Device Tree Bindings for Altera Arria10 SOCFPGA

2014-12-16 Thread Marek Vasut
On Thursday, December 04, 2014 at 11:08:32 PM, mgerlach wrote: On Wed, 3 Dec 2014, Pavel Machek wrote: Hi! altr,pinmux-regs = 0xF 0xF 0xF 0xF 0xF 0xF 0xF 0xF 0xF 0xF reg = 0xffd07300 0x0048; altr,pinmux-regs = 0x0 0x51010 0x51010 0x51010 0x40605

Re: [U-Boot] [PATCH 1/2] image: bootm: Add OpenRTOS image type

2014-12-16 Thread Jeroen Hofstee
Hello Marek, On 16-12-14 14:07, Marek Vasut wrote: Add separate image type for the Wittenstein OpenRTOS . Signed-off-by: Marek Vasut ma...@denx.de Cc: Simon Glass s...@chromium.org Cc: Tom Rini tr...@ti.com --- common/bootm_os.c | 29 + common/image.c| 4

[U-Boot] [PATCH 03/14] sunxi: axp221: Add axp223 support

2014-12-16 Thread Hans de Goede
The axp223 appears to be the same as the axp221, except that it uses the rsb to communicate rather then the p2wi. At least all the registers we use are 100% the same. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/cpu_info.c | 2 +- drivers/power/Kconfig

[U-Boot] [PATCH 01/14] sun6i: s/SUNXI_GPL0_R_P2WI/SUN6I_GPL0_R_P2WI/

2014-12-16 Thread Hans de Goede
The p2wi interface is only available on sun6i, adjust the gpio pinmux defines for it to reflect this. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/p2wi.c| 4 ++-- arch/arm/include/asm/arch-sunxi/gpio.h | 4 ++-- 2 files changed, 4 insertions(+), 4

[U-Boot] [PATCH 02/14] sunxi: Add support for the rsb (Reduced Serial Bus)

2014-12-16 Thread Hans de Goede
sun8i (A23) introduces a new bus for communicating with the pmic, the rsb, the rsb is also used to communicate with the pmic on the A80, and is documented in the A80 user manual. This commit adds support for this based on the rsb driver from the allwinner u-boot sources. Note: Not yet ready for

[U-Boot] [PATCH 04/14] sunxi: axp221: Add Kconfig help and sane defaults for typical ldo usage

2014-12-16 Thread Hans de Goede
Some of the ldo-s of the axp221 are used in the same way on most boards, add comments to the Kconfig help text to reflect this, and give them defaults matching their typical usage. Signed-off-by: Hans de Goede hdego...@redhat.com --- configs/CSQ_CS908_defconfig | 3 ---

[U-Boot] [PATCH 07/14] sunxi: axp221: Disable dcdc4 on sun8i (A23)

2014-12-16 Thread Hans de Goede
dcdc4 is not used on sun8i, disable it. While at it also add comments to the other fixed voltages to document what they are used for. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/board.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git

[U-Boot] [PATCH 06/14] sunxi: axp221: Explicitly turn off unused voltages

2014-12-16 Thread Hans de Goede
Explicitly turn off unused voltages, rather then leaving them as is. Likewise explictly enabled the dcdc convertors, rather then assuming they are already enabled at boot. Signed-off-by: Hans de Goede hdego...@redhat.com --- board/sunxi/board.c| 10 - drivers/power/Kconfig | 16

[U-Boot] [PATCH 05/14] sunxi: axp221: Make dcdc1 voltage configurable

2014-12-16 Thread Hans de Goede
The dcdc1 voltage is typically used as generic 3.3V IO voltage for things like GPIO-s, sdcard interfaces, etc. On most boards this is undervolted to 3.0V to safe battery, but not on all, make it configurable so that we can use the same settings as the original firmware on all boards.

[U-Boot] [PATCH 09/14] sun6i: Add k and m parameters to clock_set_pll5()

2014-12-16 Thread Hans de Goede
The A23 (sun8i) requires different values for these then sun6i, so make them function parameters. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/clock_sun6i.c| 4 +--- arch/arm/cpu/armv7/sunxi/dram_sun6i.c | 2 +-

[U-Boot] [PATCH 10/14] sunxi: Move await_completion dram helper to dram.h

2014-12-16 Thread Hans de Goede
The await_completion helper is already copy pasted between the sun4i and sun6i dram code, and we need it for sun8i too, so lets make it an inline helper in dram.h, rather then adding yet another copy. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/dram_sun4i.c |

[U-Boot] [PATCH 12/14] sunxi: Use memcmp for mctl_mem_matches

2014-12-16 Thread Hans de Goede
Use memcmp for mctl_mem_matches instead of DIY. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/include/asm/arch-sunxi/dram.h | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/arch/arm/include/asm/arch-sunxi/dram.h

[U-Boot] [PATCH 11/14] sunxi: Fill memory before comparing it when doing dram init on sun6i

2014-12-16 Thread Hans de Goede
The sun8i boot0 code fills the DRAM with a random pattern before comparing it at different offsets to do columns, etc. detection. The sun6i boot0 code does not do it, but it seems like a good idea to do this regardless. The new mctl_mem_fill function this introduces is added as an inline helper

[U-Boot] [PATCH 08/14] sun6i: Add a sigma_delta_enable paramter to clock_set_pll5()

2014-12-16 Thread Hans de Goede
The sun8i dram code sometimes wants to enable sigma delta mode, add a parameter to allow this. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/clock_sun6i.c| 9 +++-- arch/arm/cpu/armv7/sunxi/dram_sun6i.c | 2 +-

[U-Boot] [PATCH 13/14] sun8i: Add dram initialization support

2014-12-16 Thread Hans de Goede
Based on the register / dram_para headers from the Allwinner u-boot / linux sources + the init sequences from boot0. Signed-off-by: Hans de Goede hdego...@redhat.com --- arch/arm/cpu/armv7/sunxi/Makefile | 1 + arch/arm/cpu/armv7/sunxi/board.c | 3 +-

[U-Boot] [PATCH 14/14] sun8i: Add defconfig for Ippo_q8h v1.2

2014-12-16 Thread Hans de Goede
We need separate defconfigs for the v5 and v1.2 versions of this board, as they use different DRAM parameters. Note they also use different dtb files, as the wifi is different too. Signed-off-by: Hans de Goede hdego...@redhat.com --- configs/Ippo_q8h_v1.2_defconfig | 15 +++ 1 file

Re: [U-Boot] [PATCH] fat: scripts for prepare and test read fat files

2014-12-16 Thread Simon Glass
Hi Przemyslaw, On 12 December 2014 at 08:54, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 12/12/2014 04:52 PM, Przemyslaw Marczak wrote: - mktest_files: script for generating random size long name files

Re: [U-Boot] [PATCH] spl: mmc: Fix raw boot mode (related to commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f)

2014-12-16 Thread Robert Nelson
On Tue, Dec 16, 2014 at 11:43 AM, Guillaume Gardet guillaume.gar...@free.fr wrote: Le 16/12/2014 18:16, Robert Nelson a écrit : On Tue, Dec 16, 2014 at 5:00 AM, Guillaume GARDET guillaume.gar...@free.fr wrote: As reported by Robert Nelson, commit 4c5bbc2328a24f5e1ee990c9a9527e48e5fb3b5f

Re: [U-Boot] [PATCH 1/2] kbuild: Fix a false error of generic board support

2014-12-16 Thread mgerlach
Hello Masahiro Yamada, Even the with this patch, we encountered a false error of generic board support. The problem was very interrmittent for us, but we were able to debug the problem to performing builds on EXT3 file systems which have a time stamp resolution of one second. To reproduce the

Re: [U-Boot] [PATCH] Fix hash verification

2014-12-16 Thread Simon Glass
Hi Nikolay, On 12 December 2014 at 11:01, picmas...@mail.bg wrote: From: Nikolay Dimitrov picmas...@mail.bg Fix issue in parse_verify_sum() which swaps handling of env-var and *address. Move hash_command() argc check earlier. Cosmetic change on do_hash() variable declaration. Improved help

Re: [U-Boot] [PATCH] Fix hash verification

2014-12-16 Thread Nikolay Dimitrov
Hi Simon, On 12/17/2014 12:02 AM, Simon Glass wrote: Hi Nikolay, On 12 December 2014 at 11:01, picmas...@mail.bg wrote: From: Nikolay Dimitrov picmas...@mail.bg Fix issue in parse_verify_sum() which swaps handling of env-var and *address. Move hash_command() argc check earlier. Cosmetic

Re: [U-Boot] [PATCH] fs: fat: read: fix fat16 ls/read issue

2014-12-16 Thread Simon Glass
Hi Przemyslaw, On 12 December 2014 at 08:30, Przemyslaw Marczak p.marc...@samsung.com wrote: Hello, On 12/12/2014 01:32 AM, Simon Glass wrote: Hi Przemyslaw, On 11 December 2014 at 05:01, Przemyslaw Marczak p.marc...@samsung.com wrote: The present fat implementation ignores FAT16 long

Re: [U-Boot] [PATCH] Fix hash verification

2014-12-16 Thread Nikolay Dimitrov
Hi Simon, I omitted one clarification, which I think it's important. On 12/17/2014 12:25 AM, Nikolay Dimitrov wrote: Hi Simon, On 12/17/2014 12:02 AM, Simon Glass wrote: Hi Nikolay, On 12 December 2014 at 11:01, picmas...@mail.bg wrote: From: Nikolay Dimitrov picmas...@mail.bg Fix issue

Re: [U-Boot] [PATCH] Fix hash verification

2014-12-16 Thread Simon Glass
Hi Nikolay, On 16 December 2014 at 15:29, Nikolay Dimitrov picmas...@mail.bg wrote: Hi Simon, I omitted one clarification, which I think it's important. On 12/17/2014 12:25 AM, Nikolay Dimitrov wrote: Hi Simon, On 12/17/2014 12:02 AM, Simon Glass wrote: Hi Nikolay, On 12 December

Re: [U-Boot] [PATCH v3] common/board_f.c: fix compile error when tracing disabled

2014-12-16 Thread Simon Glass
On 15 December 2014 at 13:07, Kevin Hilman khil...@kernel.org wrote: From: Kevin Hilman khil...@linaro.org When CONFIG_TRACE is disabled, linking fails with: common/built-in.o:(.data.init_sequence_f+0x8): undefined reference to `trace_early_init' To fix, wrap trace init calls with #ifdef

[U-Boot] Booting imx6 board via USB-OTG and SPL

2014-12-16 Thread Nikolay Dimitrov
Hi guys, When booting a fresh imx6 board via USB-OTG, the SPL is kinda useless for bootstrapping my board when the SPI NOR is empty and u-boot.img payload is not available. I currently use a non-SPL U-Boot to prepare my boards after manufacturing (write fuses SPI NOR), but do you see a better

[U-Boot] [PATCH v2] mmc: rmobile: Add SDHC support for Renesas rmobile ARM SoC

2014-12-16 Thread Nobuhiro Iwamatsu
This adds Renesas rmobile ARM SoC's SD/MMC host support. This drivers tested with Gose board and Koelsch board. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- v2: - Remove global variable, and move to sh_sdhi_host. - Remove define for each SoCs, use instead of quirks.

Re: [U-Boot] Problem converting da850evm to generic board and use libfdt

2014-12-16 Thread Peter Howard
On Tue, 2014-12-16 at 17:27 +1100, Peter Howard wrote: On Wed, 2014-12-10 at 19:10 -0700, Simon Glass wrote: Hi Peter, On 10 December 2014 at 18:37, Simon Glass s...@chromium.org wrote: Hi Peter, On Dec 10, 2014 6:23 PM, Peter Howard p...@northern-ridge.com.au wrote: On

Re: [U-Boot] [PATCH v2] dm: sh: serial: Add support driver model

2014-12-16 Thread Nobuhiro Iwamatsu
Hi, 2014-12-12 11:53 GMT+09:00 Simon Glass s...@chromium.org: On 11 December 2014 at 19:04, Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com wrote: This adds driver model support with this driver. This was tested by Koelsch board and Gose board. Signed-off-by: Nobuhiro Iwamatsu

Re: [U-Boot] Problem converting da850evm to generic board and use libfdt

2014-12-16 Thread Simon Glass
On 16 December 2014 at 16:21, Peter Howard p...@northern-ridge.com.au wrote: On Tue, 2014-12-16 at 17:27 +1100, Peter Howard wrote: On Wed, 2014-12-10 at 19:10 -0700, Simon Glass wrote: Hi Peter, On 10 December 2014 at 18:37, Simon Glass s...@chromium.org wrote: Hi Peter, On Dec

Re: [U-Boot] [PATCH 1/2] kbuild: Fix a false error of generic board support

2014-12-16 Thread Tom Rini
On Tue, Dec 16, 2014 at 02:56:44PM -0600, mgerlach wrote: Hello Masahiro Yamada, Even the with this patch, we encountered a false error of generic board support. The problem was very interrmittent for us, but we were able to debug the problem to performing builds on EXT3 file systems

[U-Boot] [PATCH v3] dm: sh: serial: Add support driver model

2014-12-16 Thread Nobuhiro Iwamatsu
This adds driver model support with this driver. This was tested by Koelsch board and Gose board. Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com --- V3: Add function of checking -EAGAIN without DM. V2: Fix loop for tx fifo and tx fifo. Fix write return code writing with

Re: [U-Boot] [PULL] u-boot-socfpga/master

2014-12-16 Thread Tom Rini
On Tue, Dec 16, 2014 at 03:34:18PM +0100, Marek Vasut wrote: The following changes since commit 97cdf64026c7d749dd7a5c0dbaba7a60a7292ac9: Merge branch 'sandbox' of git://git.denx.de/u-boot-x86 (2014-12-04 09:24:05 -0500) are available in the git repository at:

Re: [U-Boot] Please pull u-boot-mpc85xx master

2014-12-16 Thread Tom Rini
On Tue, Dec 16, 2014 at 09:24:20AM -0800, York Sun wrote: Tom, The following changes since commit fc9b0b80435cda721fbdbe507c9e4f388b0ea62b: Merge branch 'master' of git://git.denx.de/u-boot-usb (2014-12-11 18:40:49 -0500) are available in the git repository at:

  1   2   >