Re: [U-Boot] [RFC PATCH 0/3] Implement fastboot flash for eMMC

2014-06-20 Thread Lukasz Majewski
Hi Steve, This series implements the fastboot flash command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the fastboot flash command is enabled with CONFIG_FASTBOOT_FLASH - the support for eMMC is enabled with CONFIG_FASTBOOT_FLASH_MMC_DEV - (future)

Re: [U-Boot] [RFC PATCH 0/3] Implement fastboot flash for eMMC

2014-06-20 Thread Marek Vasut
On Friday, June 20, 2014 at 08:18:42 AM, Lukasz Majewski wrote: Hi Steve, This series implements the fastboot flash command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the fastboot flash command is enabled with CONFIG_FASTBOOT_FLASH - the

Re: [U-Boot] [PATCH 09/10] CONFIGS: peach-pit: Enable display for peach_pit board

2014-06-20 Thread Ajay kumar
Simon, On Fri, Jun 20, 2014 at 9:08 AM, Simon Glass s...@chromium.org wrote: Hi Ajay, On 17 June 2014 03:06, Ajay Kumar ajaykumar...@samsung.com wrote: Enable drivers for FIMD, DP and parade bridge chip. Signed-off-by: Ajay Kumar ajaykumar...@samsung.com --- include/configs/peach-pit.h |

Re: [U-Boot] [PATCH 04/10] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-06-20 Thread Ajay kumar
Hi Simon, On Fri, Jun 20, 2014 at 8:59 AM, Simon Glass s...@google.com wrote: On 17 June 2014 03:06, Ajay Kumar ajaykumar...@samsung.com wrote: On Exynos5420 and newer versions, the FIMD sysmmus are in on state by default. We have to disable them in order to make FIMD DMA work. This patch

[U-Boot] [PATCH] thor: defer parsing of device string to IO backend

2014-06-20 Thread Lukasz Majewski
This commit adjust thor downloading function to work correctly with deferred device string parsing. Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- common/cmd_thordown.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_thordown.c

[U-Boot] [PATCH] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-20 Thread Lukasz Majewski
Signed-off-by: Lukasz Majewski l.majew...@samsung.com --- common/cmd_thordown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c index 8ed1dc6..25de048 100644 --- a/common/cmd_thordown.c +++ b/common/cmd_thordown.c @@ -64,7 +64,7 @@

[U-Boot] [PATCH] sh: unify sh2/sh3/sh4 linker scripts

2014-06-20 Thread Masahiro Yamada
The linker scripts of sh2/sh3/sh4 are almost the same. The difference among them is essentially only one line. They can be consolidated into a single file, arch/sh/cpu/u-boot.lds by re-writing the diffrent line as follows: KEEP(*/start.o (.text)) Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH v3] test:dfu: Add test scripts for testing DFU regression

2014-06-20 Thread Lukasz Majewski
Hi Lukasz, This commit adds test scripts for testing if any commit has introduced regression to the DFU subsystem. It uses md5 to test if sent and received file is correct. The test detailed description is available at README file. Signed-off-by: Lukasz Majewski l.majew...@samsung.com

Re: [U-Boot] [PATCH V2 1/2] fs: implement size/fatsize/ext4size

2014-06-20 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com These commands may be used to determine the size of a file without actually reading the whole file content into memory. This may be used to determine if the file will fit into the memory buffer that will contain it. In particular, the DFU

Re: [U-Boot] [PATCH V2 2/2] dfu: fix some issues with reads/uploads

2014-06-20 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com DFU read support appears to rely upon dfu-read_medium() updating the passed-by-reference len parameter to indicate the remaining size available for reading. dfu_read_medium_mmc() never does this, and the implementation of

Re: [U-Boot] [PATCH 1/4] dfu: defer parsing of device string to IO backend

2014-06-20 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com Devices are not all identified by a single integer. To support this, defer the parsing of the device string to the IO backed, so that it can apply the appropriate rules. SPI devices are specified as controller:chip_select. SPI/SF

Re: [U-Boot] [PATCH] dfu: add write error handling

2014-06-20 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com Fix calls to dfu_write() and dfu_flush() to detect errors in the I/O itself. This could happen due to problems with the storage medium, or simply when trying to write a FAT/ext file that is larger than the buffer dfu_mmc.c maintains for

Re: [U-Boot] [PATCH 2/4] dfu: allow backend to specify a maximum buffer size

2014-06-20 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com CONFIG_SYS_DFU_DATA_BUF_SIZE may be large to allow for FAT/ext layouts to transfer large files. However, this means that individual write operations will take a long time. Allow backends to specify a maximum buffer size, so that each

Re: [U-Boot] [PATCH 4/4] dfu: add SF backend

2014-06-20 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com This allows SPI Flash to be programmed using DFU. Signed-off-by: Stephen Warren swar...@nvidia.com Applied to u-boot-dfu Thanks for the patch. -- Best regards, Lukasz Majewski Samsung RD Institute Poland (SRPOL) | Linux Platform

Re: [U-Boot] [PATCH 3/4] dfu: add free_entity() to struct dfu_entity

2014-06-20 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com This allows the backend to free any resources allocated during the relevant dfu_fill_entity_*() call. This will soon be used by the SF backend. Signed-off-by: Stephen Warren swar...@nvidia.com --- Applied to u-boot-dfu Thanks for the

Re: [U-Boot] [PATCH v4 0/3] mtd, ubi, ubifs: resync with Linux-3.14

2014-06-20 Thread Heiko Schocher
Hello Scott, Am 20.06.2014 01:45, schrieb Scott Wood: On Thu, 2014-06-19 at 12:34 +0200, Heiko Schocher wrote: Hello Tom, Scott, Am 18.06.2014 23:42, schrieb Tom Rini: On Wed, Jun 18, 2014 at 04:24:39PM -0500, Scott Wood wrote: On Wed, 2014-06-18 at 09:55 +0200, Heiko Schocher wrote: Hello

[U-Boot] [PATCH 0/2] ARM: atmel: sama5d3xek: enable NOR flash support

2014-06-20 Thread Bo Shen
Add NOR flash support on sama5d3xek board. Then, we can use NOR flash related command to access it. Bo Shen (2): ARM: atmel: sama5d3xek: add nor flash init function ARM: atmel: sama5d3xek: enable NOR flash support board/atmel/sama5d3xek/sama5d3xek.c | 58

[U-Boot] [PATCH 2/2] ARM: atmel: sama5d3xek: enable NOR flash support

2014-06-20 Thread Bo Shen
Signed-off-by: Bo Shen voice.s...@atmel.com --- include/configs/sama5d3xek.h | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/include/configs/sama5d3xek.h b/include/configs/sama5d3xek.h index da27180..63d6775 100644 --- a/include/configs/sama5d3xek.h +++

[U-Boot] [PATCH 1/2] ARM: atmel: sama5d3xek: add nor flash init function

2014-06-20 Thread Bo Shen
Add NOR flash hardware init function, including SMC and PIO configuration. Signed-off-by: Bo Shen voice.s...@atmel.com --- board/atmel/sama5d3xek/sama5d3xek.c | 58 + 1 file changed, 58 insertions(+) diff --git a/board/atmel/sama5d3xek/sama5d3xek.c

Re: [U-Boot] [ELDK] U-Boot default CONFIG_AUTOBOOT_DELAY_STR

2014-06-20 Thread Stefano Babic
Hi Larry, On 18/06/2014 00:35, Larry Baker wrote: I experience the unrequested U-Boot prompt even when the FTDI cable is attached. I saw many suggestions for fixes on various web pages, and none of them seemed to work for everyone that tried them. The fix to slightly harden U-Boot's

[U-Boot] [U-boot] FIT image question

2014-06-20 Thread TigerLiu
Hi, experts: I have a question about FIT image. 1. based on doc\uImage.FIT\kernel_fdt.its I think the compiled itb binary is aslo a dtb format file. So, I tried to use u-boot shell's fdt related cmd to parse it. But failed. Why could not parse it through fdt cmds? Best

Re: [U-Boot] [U-boot] FIT image question

2014-06-20 Thread Heiko Schocher
Hello tiger...@via-alliance.com, Am 20.06.2014 11:27, schrieb tiger...@via-alliance.com: Hi, experts: I have a question about FIT image. 1. based on doc\uImage.FIT\kernel_fdt.its I think the compiled itb binary is aslo a dtb format file. So, I tried to use u-boot shell's fdt related

[U-Boot] Trying to reduce boot time of U-BOOT zynq-microzed.

2014-06-20 Thread Uzair Zaidi
I have `zynq-microzed` board. Here is my log messages of `U-BOOT`. [Fri Jun 20 12:07:25.468 2014] U-Boot 2013.07 (Jun 20 2014 - 11:58:49) [Fri Jun 20 12:07:25.468 2014] [Fri Jun 20 12:07:25.468 2014] Memory: ECC disabled [Fri Jun 20 12:07:25.468 2014] DRAM: 1 GiB [Fri Jun 20

Re: [U-Boot] [U-boot] FIT image question

2014-06-20 Thread TigerLiu
Hi, Heiko: Thanks for your quick reply! Maybe my test itb is bad. I recreated a test itb, now it could be parsed by fdt cmds. Thanks a lot! Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Trying to reduce boot time of U-BOOT zynq-microzed.

2014-06-20 Thread Wolfgang Denk
Dear Uzair Zaidi, In message CAC=acqf2kc1usnsx5nwq9t1w2fs4q1wvdyz4ubs-4o_htag...@mail.gmail.com you wrote: Here is my log messages of `U-BOOT`. ... It takes `0.344ms.` But i want to reduce this time more. I am using `image.ub` for kernel image. I s this really the hot spot for your

Re: [U-Boot] [U-Boot, U-boot, 1/2] common: cmd_nand: add nand ecclayout command

2014-06-20 Thread Ivan Khoronzhuk
On 06/20/2014 04:00 AM, Scott Wood wrote: On Fri, May 16, 2014 at 09:26:36PM +0300, Khoronzhuk, Ivan wrote: From: WingMan Kwok w-kw...@ti.com This commit adds a nand ecclayout command that allows the ecclayout of the current nand device to be changed during run time. This feature is useful

Re: [U-Boot] [U-Boot, U-boot, 1/2] common: cmd_nand: add nand ecclayout command

2014-06-20 Thread Jon Loeliger
--- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -462,6 +462,53 @@ static void adjust_size_for_badblocks(loff_t *size, + for (i = 0; i p-eccbytes; i++) { + if (i !(i % 9)) + printf(\n); + + printf(%2d , p-eccpos[i]); +

Re: [U-Boot] [U-Boot, v2, 06/14] bootm: Split out code from cmd_bootm.c

2014-06-20 Thread Tom Rini
On Thu, Jun 19, 2014 at 05:27:51PM -0600, Simon Glass wrote: Hi Tom, On 19 June 2014 09:31, Tom Rini tr...@ti.com wrote: On Thu, Jun 19, 2014 at 11:23:24AM -0400, Tom Rini wrote: On Thu, Jun 12, 2014 at 07:24:46AM -0600, Simon Glass wrote: This file has code in three different

Re: [U-Boot] [U-Boot, U-boot, 2/2] mtd: nand: davinci: allow to change ecclayout by ecclayout command

2014-06-20 Thread Ivan Khoronzhuk
On 06/20/2014 04:07 AM, Scott Wood wrote: On Fri, May 16, 2014 at 09:26:37PM +0300, Khoronzhuk, Ivan wrote: From: WingMan Kwok w-kw...@ti.com This patch adds opportunity to change ecclayout of current nand device during runtime. So we can change the current nand device ecclayout using the

Re: [U-Boot] [PATCH] dfu: fix some issues with reads/uploads

2014-06-20 Thread Lukasz Majewski
Hi Lukasz, Hi Stephen, On 05/22/2014 04:20 AM, Lukasz Majewski wrote: Hi Stephen, From: Stephen Warren swar...@nvidia.com DFU read support appears to rely upon dfu-read_medium() updating the passed-by-reference len parameter to indicate the remaining size available for

Re: [U-Boot] am335x: board.c: clang warning

2014-06-20 Thread Tom Rini
On Thu, Jun 19, 2014 at 10:30:12PM +0200, Jeroen Hofstee wrote: Hello Tom, The following clang warnings are not trivial to fix for me, And since the file in question has many contributers I am not sure who is responsible nowadays. Can you make sure this end up at someone who knows about

Re: [U-Boot] m68k: Fix warnings with gcc 4.6

2014-06-20 Thread Tom Rini
On Thu, Jun 19, 2014 at 05:33:44PM -0600, Simon Glass wrote: Hi Tom, On 18 June 2014 11:53, Tom Rini tr...@ti.com wrote: On Tue, Jun 17, 2014 at 08:52:09PM -0700, Simon Glass wrote: Hi Masahiro, On 17 June 2014 01:34, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon,

Re: [U-Boot] [PATCH v6 1/2] lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c

2014-06-20 Thread Tom Rini
On Thu, Jun 19, 2014 at 06:35:43AM +0200, Heiko Schocher wrote: Hello Tom, Am 18.06.2014 23:09, schrieb Tom Rini: On Mon, Jun 16, 2014 at 09:58:39AM +0200, Heiko Schocher wrote: move fdtdec_get_int() out of lib/fdtdec.c into lib/fdtdec_common.c as this function is also used, if

Re: [U-Boot] [PATCH 0/5] Kbuild: sync with Linux 3.16-rc1

2014-06-20 Thread Tom Rini
On Thu, Jun 19, 2014 at 05:26:16PM +0900, Masahiro Yamada wrote: Hi Tom, On Wed, 18 Jun 2014 13:49:35 -0400 Tom Rini tr...@ti.com wrote: On Mon, Jun 16, 2014 at 06:56:35PM +0900, Masahiro Yamada wrote: The merge window for Linux 3.16 is closed and Linux 3.16-rc1 is out now.

Re: [U-Boot] [PATCH] thor: defer parsing of device string to IO backend

2014-06-20 Thread Stephen Warren
On 06/20/2014 01:35 AM, Lukasz Majewski wrote: This commit adjust thor downloading function to work correctly with deferred device string parsing. Oops. I should have grep'd for more users of dfu_init_env_entities() and fixed them up in my commit. == Since this patch also changes

Re: [U-Boot] [U-Boot, 3/5] cosmetic: kbuild: clean-up coding style (sync with Linux 3.16-rc1)

2014-06-20 Thread Tom Rini
On Mon, Jun 16, 2014 at 06:56:38PM +0900, Masahiro Yamada wrote: Import the following trivial commits from Linux v3.16-rc1: bb66fc6 kbuild: trivial - use tabs for code indent where possible 7eb6e34 kbuild: trivial - remove trailing empty lines 3fbb43d kbuild: trivial - fix comment block

Re: [U-Boot] [PATCH] thor: cosmetic: Update the cmd_thordown help message to present example usage

2014-06-20 Thread Stephen Warren
On 06/20/2014 01:35 AM, Lukasz Majewski wrote: diff --git a/common/cmd_thordown.c b/common/cmd_thordown.c U_BOOT_CMD(thordown, CONFIG_SYS_MAXARGS, 1, do_thor_down, TIZEN \THOR\ downloader, -USB_controller interface dev\n +USB_controller interface dev e.g. thor 0

Re: [U-Boot] [PATCH] test: dfu: script enhancements

2014-06-20 Thread Lukasz Majewski
Hi Stephen, From: Stephen Warren swar...@nvidia.com Various misc enhancements to dfu_gadget_test.sh: * After every write (download), perform a write to a different file with different data. This ensures that the DFU buffer's content is replaced, so that if the read (upload) succeeds,

Re: [U-Boot] [U-Boot, U-boot, 1/2] common: cmd_nand: add nand ecclayout command

2014-06-20 Thread Scott Wood
On Fri, 2014-06-20 at 09:10 -0500, Jon Loeliger wrote: --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -462,6 +462,53 @@ static void adjust_size_for_badblocks(loff_t *size, + for (i = 0; i p-eccbytes; i++) { + if (i !(i % 9)) + printf(\n

Re: [U-Boot] [PATCH] test: dfu: script enhancements

2014-06-20 Thread Stephen Warren
On 06/20/2014 10:00 AM, Lukasz Majewski wrote: Hi Stephen, From: Stephen Warren swar...@nvidia.com Various misc enhancements to dfu_gadget_test.sh: * After every write (download), perform a write to a different file with different data. This ensures that the DFU buffer's content is

Re: [U-Boot] [U-Boot, U-boot, 2/2] mtd: nand: davinci: allow to change ecclayout by ecclayout command

2014-06-20 Thread Scott Wood
On Fri, 2014-06-20 at 17:59 +0300, Ivan Khoronzhuk wrote: On 06/20/2014 04:07 AM, Scott Wood wrote: On Fri, May 16, 2014 at 09:26:37PM +0300, Khoronzhuk, Ivan wrote: From: WingMan Kwok w-kw...@ti.com This patch adds opportunity to change ecclayout of current nand device during runtime.

Re: [U-Boot] [U-Boot, U-boot, 1/2] common: cmd_nand: add nand ecclayout command

2014-06-20 Thread Scott Wood
On Fri, 2014-06-20 at 16:29 +0300, Ivan Khoronzhuk wrote: On 06/20/2014 04:00 AM, Scott Wood wrote: On Fri, May 16, 2014 at 09:26:36PM +0300, Khoronzhuk, Ivan wrote: + } else { + printf(Setting current device + to

Re: [U-Boot] [U-Boot, U-boot, 2/2] mtd: nand: davinci: allow to change ecclayout by ecclayout command

2014-06-20 Thread Ivan Khoronzhuk
On 06/20/2014 07:22 PM, Scott Wood wrote: On Fri, 2014-06-20 at 17:59 +0300, Ivan Khoronzhuk wrote: On 06/20/2014 04:07 AM, Scott Wood wrote: On Fri, May 16, 2014 at 09:26:37PM +0300, Khoronzhuk, Ivan wrote: From: WingMan Kwok w-kw...@ti.com This patch adds opportunity to change ecclayout

[U-Boot] [PATCH] mx6sabresd: Disable PCI driver

2014-06-20 Thread Fabio Estevam
From: Fabio Estevam fabio.este...@freescale.com Currently we have a kernel hang when U-boot PCI driver is enabled. Disable it until a better solution is found. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- include/configs/mx6sabresd.h | 1 - 1 file changed, 1 deletion(-) diff

Re: [U-Boot] [U-Boot, U-boot, 1/2] common: cmd_nand: add nand ecclayout command

2014-06-20 Thread Ivan Khoronzhuk
On 06/20/2014 07:31 PM, Scott Wood wrote: On Fri, 2014-06-20 at 16:29 +0300, Ivan Khoronzhuk wrote: On 06/20/2014 04:00 AM, Scott Wood wrote: On Fri, May 16, 2014 at 09:26:36PM +0300, Khoronzhuk, Ivan wrote: + } else { + printf(Setting

Re: [U-Boot] [U-Boot, U-boot, 1/2] common: cmd_nand: add nand ecclayout command

2014-06-20 Thread Ivan Khoronzhuk
On 06/20/2014 07:03 PM, Scott Wood wrote: On Fri, 2014-06-20 at 09:10 -0500, Jon Loeliger wrote: --- a/common/cmd_nand.c +++ b/common/cmd_nand.c @@ -462,6 +462,53 @@ static void adjust_size_for_badblocks(loff_t *size, + for (i = 0; i p-eccbytes; i++) { + if (i !(i % 9)) +

[U-Boot] [PATCH v4 1/2] linux/compat.h: port lower_32_bits and upper_32_bits from Linux

2014-06-20 Thread Lijun Pan
[backport from linux commit 204b885e and 218e180e7] 64 bit processors are becomming more and more popular. lower_32_bits and upper_32_bits save our labor doing shifts/manipulations like (u32)(n) and (u32)((n) 32). They are good helpers in both little and big endian cases. Port these two functions

[U-Boot] [PATCH v4 2/2] driver/usb: include upper/lower_32_bits() from linux/compat.h

2014-06-20 Thread Lijun Pan
upper_32_bits() and lower_32_bits() have been ported into linux/compat.h. Start use them now in drivers/usb/host/xhci.h. Signed-off-by: Lijun Pan lijun@freescale.com --- v4: split v3 into 2 patches. v3: change the comment message for lower_32_bits() and upper_32_bits() change the commit

[U-Boot] [Patch v8 2/5] ARMv8: Adjust MMU setup

2014-06-20 Thread York Sun
Make MMU function reusable. Platform code can setup its own MMU tables. Signed-off-by: York Sun york...@freescale.com CC: David Feng feng...@phytium.com.cn --- Change log v8: no change v7: no change v6: Modified from v4. Add dsb sy before setting MMU registers and add isb after. v5: Drop the

[U-Boot] [Patch v8 1/5] Added 64-bit MMIO accessors for ARMv8

2014-06-20 Thread York Sun
From: J. German Rivera german.riv...@freescale.com This is needed for accessing peripherals with 64-bit MMIO registers, from ARMv8 processors. Signed-off-by: J. German Rivera german.riv...@freescale.com --- Change log v8: no change v7: no change v6: no change v5: no change v4: no change

[U-Boot] [Patch v8 4/5] armv8/fsl-lsch3: Add support to load and start MC Firmware

2014-06-20 Thread York Sun
From: J. German Rivera german.riv...@freescale.com Adding support to load and start the Layerscape Management Complex (MC) firmware. First, the MC GCR register is set to 0 to reset all cores. MC firmware and DPL images are copied from their location in NOR flash to DDR. MC registers are updated

[U-Boot] [Patch v8 5/5] ARMv8/ls2085a_emu: Add LS2085A emulator and simulator board support

2014-06-20 Thread York Sun
LS2085A is an ARMv8 implementation. This adds board support for emulator and simulator: Two DDR controllers UART2 is used as the console IFC timing is tightened for speedy booting Support DDR3 and DDR4 as separated targets Management Complex (MC) is enabled Support for GIC 500 (based

[U-Boot] [Patch v8 3/5] ARMv8/FSL_LSCH3: Add FSL_LSCH3 SoC

2014-06-20 Thread York Sun
Freescale LayerScape with Chassis Generation 3 is a set of SoCs with ARMv8 cores and 3rd generation of Chassis. We use different MMU setup to support memory map and cache attribute for these SoCs. MMU and cache are enabled very early to bootst performance, especially for early development on

Re: [U-Boot] [PATCH 2/4] mx6sx: Add pin definitions

2014-06-20 Thread Fabio Estevam
Hi Stefano, On Tue, Jun 17, 2014 at 3:59 PM, Eric Nelson eric.nel...@boundarydevices.com wrote: Previously, we had IOMUX_PAD, I know. Is there any special reason we cannot use MX6_PAD_DECL even for this new SOC ? I will not want to go back ignoring a lot of work that was done to merge the

Re: [U-Boot] [PATCH 3/4] mx6: clock: Do not enable sata and ipu clocks

2014-06-20 Thread Fabio Estevam
On Tue, Jun 17, 2014 at 12:36 PM, Stefano Babic sba...@denx.de wrote: Hi Fabio, On 14/06/2014 22:29, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com mx6sx does not have sata nor ipu blocks, so do not handle such clocks. We have already a check inside setup_sata():

[U-Boot] Please pull u-boot-dm.git

2014-06-20 Thread Simon Glass
Hi Tom, The following changes since commit 9e546ee9c90fc0a888423fa3269020fe736df7a3: cosmetic: autoboot: update old style GNU struct init (2014-06-19 11:19:07 -0400) are available in the git repository at: ssh://gu...@git.denx.de/u-boot-dm.git for you to fetch changes up to

Re: [U-Boot] [PATCH v6 01/15] Add an I/O tracing feature

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: When debugging drivers it is useful to see what I/O accesses were done and in what order. Even if the individual accesses are of little interest it can be useful to verify that the access pattern is consistent each time an operation

Re: [U-Boot] [PATCH v6 06/15] dm: Update README to encourage conversion to driver model

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: Add a note to encourage people to convert drivers to use driver model. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: - Update

Re: [U-Boot] [PATCH v6 06/15] dm: Update README to encourage conversion to driver model

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: Add a note to encourage people to convert drivers to use driver model. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot-dm/master. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH v6 04/15] Makefile: Support include files for .dts files

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: Linux supports this, and if we are to have compatible device tree files, U-Boot should also. Avoid giving the device tree files access to U-Boot's include/ directory. Only include/dt-bindings is accessible. Signed-off-by: Simon

Re: [U-Boot] [PATCH v6 05/15] dm: Rename struct device_id to udevice_id

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: It is best to avoid having any occurence of 'struct device' in driver model, so rename to achieve this. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot-dm/master. ___ U-Boot

Re: [U-Boot] [PATCH v6 02/15] arm: Support iotrace feature

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: Support the iotrace feature for ARM, when enabled. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot-dm/master. Albert I hope this is OK. ___ U-Boot mailing list

Re: [U-Boot] [PATCH v6 03/15] sandbox: Support iotrace feature

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: Support the iotrace feature for sandbox, and enable it, using some dummy I/O access methods. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot-dm/master. ___ U-Boot mailing

Re: [U-Boot] [PATCH v6 07/15] dm: Use case-insensitive comparison for GPIO banks

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: We want 'N0' and 'n0' to mean the same thing, so ensure that case is not considered when naming GPIO banks. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot-dm/master. ___

Re: [U-Boot] [PATCH v6 10/15] dm: Allow driver model tests only for sandbox

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: The GPIO tests require the sandbox GPIO driver, so cannot be run on other platforms. Similarly for the 'dm test' command. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot-dm/master.

Re: [U-Boot] [PATCH v6 08/15] dm: Add missing header files in lists and root

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: These files don't compile in some architectures. Fix it by adding the missing headers. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot-dm/master. ___ U-Boot mailing list

Re: [U-Boot] [PATCH v6 11/15] dm: Fix printf() strings in the 'dm' command

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: The values here are int, but the map_to_sysmem() call can return a long. Add a cast to deal with this. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot-dm/master. ___ U-Boot

Re: [U-Boot] [Patch v8 4/5] armv8/fsl-lsch3: Add support to load and start MC Firmware

2014-06-20 Thread Jeroen Hofstee
Hi York, On 20-06-14 20:46, York Sun wrote: From: J. German Rivera german.riv...@freescale.com Adding support to load and start the Layerscape Management Complex (MC) firmware. First, the MC GCR register is set to 0 to reset all cores. MC firmware and DPL images are copied from their location

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-20 Thread Simon Glass
Hi Marek, On 19 June 2014 22:12, Marek Vasut ma...@denx.de wrote: Otherwise I'd like to do a dm pull request soon to get these fixes into the release. Ah, please get the PR out. We can tweak this later I'm sure. Apologies for holding you and the PR. It's OK it is has only been a week and I

Re: [U-Boot] [PATCH v6 12/15] tegra: dts: Bring in GPIO bindings from linux

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: These files are taken from Linux 3.14. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Stephen Warren swar...@nvidia.com Applied to u-boot-dm/master. (Tom I'm bring this through the dm tree, but please let me know if you

Re: [U-Boot] [PATCH v6 13/15] tegra: Enable driver model

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: Enable driver model for Tegra boards. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Stephen Warren swar...@nvidia.com Applied to u-boot-dm/master. ___ U-Boot mailing list

Re: [U-Boot] [PATCH v6 14/15] dm: Tidy up four minor code nits

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: There is a spelling mistake and two functions are missing comments altogether. Also the flags declaration is correct, but doesn't follow style. Finally, the uclass_get_device() function has some errors in its documentation. Fix

Re: [U-Boot] [PATCH v6 15/15] dm: Expand and improve the device lifecycle docs

2014-06-20 Thread Simon Glass
On 11 June 2014 23:29, Simon Glass s...@chromium.org wrote: The lifecycle of a device is an important part of driver model. Add to the existing documentation and clarify it. Reported-by: Jon Loeliger j...@jdl.com Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot-dm/master.

Re: [U-Boot] [Patch v8 4/5] armv8/fsl-lsch3: Add support to load and start MC Firmware

2014-06-20 Thread York Sun
On 06/20/2014 01:33 PM, Jeroen Hofstee wrote: Hi York, On 20-06-14 20:46, York Sun wrote: From: J. German Rivera german.riv...@freescale.com Adding support to load and start the Layerscape Management Complex (MC) firmware. First, the MC GCR register is set to 0 to reset all cores. MC

Re: [U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-20 Thread Roy Zang
On 06/12/2014 03:56 PM, Wolfgang Denk wrote: Dear Roy Zang, In message 1402602563-26705-1-git-send-email-tie-fei.z...@freescale.com you wrote: Even u-boot boots up, the pcie link may not setup correctly when Freescale SOC acts as endpoint. So change the link status from 'no link' to

Re: [U-Boot] [PATCH] fsl/pcie: Change 'no link' to 'undetermined' for pcie endpoint

2014-06-20 Thread Roy Zang
On 06/12/2014 10:22 PM, Prabhakar Kushwaha wrote: Hi Roy, On 6/13/2014 1:19 AM, Roy Zang wrote: Even u-boot boots up, the pcie link may not setup correctly when Freescale SOC acts as endpoint. So change the link status from 'no link' to 'undetermined' to reduce the confusion. The link status

Re: [U-Boot] [RFC PATCH 0/3] Implement fastboot flash for eMMC

2014-06-20 Thread Steve Rae
On 14-06-19 11:32 PM, Marek Vasut wrote: On Friday, June 20, 2014 at 08:18:42 AM, Lukasz Majewski wrote: Hi Steve, This series implements the fastboot flash command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the fastboot flash command is enabled with

Re: [U-Boot] [PATCH] mx6sabresd: Disable PCI driver

2014-06-20 Thread Marek Vasut
On Friday, June 20, 2014 at 07:00:28 PM, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Currently we have a kernel hang when U-boot PCI driver is enabled. Disable it until a better solution is found. Signed-off-by: Fabio Estevam fabio.este...@freescale.com This

Re: [U-Boot] [PATCH v4 09/15] dm: Cast away the const-ness of the global_data pointer

2014-06-20 Thread Marek Vasut
On Friday, June 20, 2014 at 10:34:20 PM, Simon Glass wrote: Hi Marek, On 19 June 2014 22:12, Marek Vasut ma...@denx.de wrote: Otherwise I'd like to do a dm pull request soon to get these fixes into the release. Ah, please get the PR out. We can tweak this later I'm sure. Apologies

[U-Boot] [U-boot] [Patch v2 1/3] mtd: nand: davinci: allow to change ecclayout by ecclayout command

2014-06-20 Thread Ivan Khoronzhuk
From: WingMan Kwok w-kw...@ti.com This patch adds opportunity to change ecclayout of current nand device during runtime. So we can change the current nand device ecclayout using the nand ecclayout set command before writing the data to nand flash. Signed-off-by: Hao Zhang hzh...@ti.com

[U-Boot] [U-boot] [Patch v2 3/3] k2hk: change default nand ecc layout

2014-06-20 Thread Ivan Khoronzhuk
For keystyone k2hk board the default nand layout is different from davinci. So swich ecc layout at init in board file. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- board/ti/k2hk_evm/board.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/board/ti/k2hk_evm/board.c

[U-Boot] [U-boot] [Patch v2 0/3] keystone: nand: add additional nand ecclayout

2014-06-20 Thread Ivan Khoronzhuk
For keystyone k2hk board the default nand layout is different from davinci. So swich ecc layout at init in board file. To do this the series adds a nand ecclayout command to davinci nand that allows the ecclayout of the current nand device to be changed during run time. This feature is useful

[U-Boot] [U-boot] [Patch v2 2/3] common: cmd_nand: add nand ecclayout command

2014-06-20 Thread Ivan Khoronzhuk
From: WingMan Kwok w-kw...@ti.com This commit adds a nand ecclayout command that allows the ecclayout of the current nand device to be changed during run time. This feature is useful when using u-boot to write something to nand flash that will be read by other applications, such as ROM

Re: [U-Boot] [U-boot] [Patch v2 3/3] k2hk: change default nand ecc layout

2014-06-20 Thread Scott Wood
On Sat, 2014-06-21 at 02:28 +0300, Ivan Khoronzhuk wrote: For keystyone k2hk board the default nand layout is different from davinci. So swich ecc layout at init in board file. Signed-off-by: Ivan Khoronzhuk ivan.khoronz...@ti.com --- board/ti/k2hk_evm/board.c | 11 +++ 1 file

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

2014-06-20 Thread Tom Rini
On Fri, Jun 20, 2014 at 02:25:35PM -0600, Simon Glass wrote: Hi Tom, The following changes since commit 9e546ee9c90fc0a888423fa3269020fe736df7a3: cosmetic: autoboot: update old style GNU struct init (2014-06-19 11:19:07 -0400) are available in the git repository at: