Re: [U-Boot] [U-boot] sandbox test script question

2014-06-11 Thread TigerLiu
Hi, Josh: Thanks a lot! Follwing these steps, I could load itb to memory: 1. sb bind 0 /lionfs 2. ext4load host 0 10 testkernel.itb Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-06-11 Thread Albert ARIBAUD
Hi Wolfgang, On Wed, 11 Jun 2014 06:49:28 +0200, Wolfgang Denk w...@denx.de wrote: Dear Steve, In message 53979199.5010...@broadcom.com you wrote: OK - I think that one of the alternate proposals would be to conditionally reserve a 32 byte block prior to the _start symbol (in

Re: [U-Boot] [PATCH 2/3] env_mmc: support env partition setup in runtime

2014-06-11 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Tom, rc3 is out... On 05/30/14 21:56, Tom Rini wrote: On Sun, May 25, 2014 at 10:23:46AM +0300, Igor Grinberg wrote: ping.. On 04/27/14 13:18, Dmitry Lifshitz wrote: Add callback with __weak annotation to allow setup of environment

[U-Boot] enbw_cmc, da850evm_direct_nor, and calimain vectors table misaligned (was: [PATCH] arm: fix a build error with CONFIG_USE_IRQ)

2014-06-11 Thread Albert ARIBAUD
Hi Masahiro, (to: the board maintainers for enbw_cmc, da850evm_direct_nor, and calimain) On Mon, 09 Jun 2014 18:29:26 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Albert, You changed the behaviour of three boards, enbw_cmc, da850evm_direct_nor, calimain! Probably they are

[U-Boot] [PATCH v3 2/3] lib, list_sort: add list_sort from linux 3.14

2014-06-11 Thread Heiko Schocher
from linux 3.14: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds torva...@linux-foundation.org Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 Needed for the MTD/UBI/UBIFS resync Just copied the files from Linux, and added in the c-file the #define __UBOOT__ for

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

2014-06-11 Thread Heiko Schocher
resync mtd, ubi and ubifs subsystem with linux: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds torva...@linux-foundation.org Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 Main reason for this sync is, we now have UBI fastmap support in U-Boot. Tested it on

[U-Boot] [PATCH v3 1/3] lib, rbtree: resync with Linux-3.14

2014-06-11 Thread Heiko Schocher
resync with linux: commit 455c6fdbd219161bd09b1165f11699d6d73de11c Author: Linus Torvalds torva...@linux-foundation.org Date: Sun Mar 30 20:40:15 2014 -0700 Linux 3.14 Needed for the MTD/UBI/UBIFS resync Just copied the files from Linux, changed the license file header, and add in the

Re: [U-Boot] enbw_cmc, da850evm_direct_nor, and calimain vectors table misaligned

2014-06-11 Thread Heiko Schocher
Hello Albert, Am 11.06.2014 09:14, schrieb Albert ARIBAUD: Hi Masahiro, (to: the board maintainers for enbw_cmc, da850evm_direct_nor, and calimain) On Mon, 09 Jun 2014 18:29:26 +0900, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Albert, You changed the behaviour of three boards,

Re: [U-Boot] [PATCH 02/10] exynos: pinmux: fix the gpio names for exynos4x12 mmc

2014-06-11 Thread Jaehoon Chung
Looks good to me. Acked-by: Jaehoon Chung jh80.ch...@samsung.com On 06/10/2014 08:25 PM, Przemyslaw Marczak wrote: This change fixes the bad gpio configuration for the exynos dwmmc. Signed-off-by: Przemyslaw Marczak p.marc...@samsung.com Cc: Beomho Seo beomho@samsung.com Cc: Minkyu

Re: [U-Boot] [PATCH 08/10] odroid: add board file for Odroid X2/U3 based on Samsung Exynos4412

2014-06-11 Thread Przemyslaw Marczak
Hello Inha, On 06/11/2014 03:33 AM, Inha Song wrote: Hi Przemyslaw, In U3 board, cooling pan is not work. I think, cooling pan setting is need in board_gpio_init(). (X2 board use cooling pan pwr form USB port) best regards, Inha Song. Thank you for testing. I have a board without the cooling

Re: [U-Boot] [PATCH 04/10] samsung: misc: set the dfu bootloader setting at boot time.

2014-06-11 Thread Przemyslaw Marczak
Hi Inha, On 06/11/2014 04:03 AM, Inha Song wrote: Hi Przemyslaw, I have a question. dfu_alt_bootloader env is settings successfully dfu_alt_bootloader=u-boot raw 0x3e 0x800 mmcpart 1 But, In order to replace bootloader binary in thor mode, How can I use the dfu_alt_bootloader env? DFU

[U-Boot] AMP of linux on multi core processor and u-boot

2014-06-11 Thread Misbah
Hello All, I have a requirement to have AMP on an multi core processor (i.MX6 freescale) using linux as OS The uboot should download uImage_core0 and uImage_core1 and be able to launch both the kernel Running on core0 and core1 of the processor. We need to make necessary changes to

[U-Boot] AMP implementation

2014-06-11 Thread Misbah
Hello All, I have a requirement to have AMP on an multi core processor (i.MX6 freescale) using linux as OS The uboot should download uImage_core0 and uImage_core1 and be able to launch both the kernel Running on core0 and core1 of the processor. We need to make necessary changes to

[U-Boot] [PATCH] mx6: drop ARM errata 742230

2014-06-11 Thread Shawn Guo
Commit e9fd66defd7e (ARM: mx6: define CONFIG_ARM_ERRATA_742230) enables errata 742230 for imx6, because it helps remove one reboot issue. However, this errata does not really apply on imx6, because Cortex-A9 on imx6 is r2p10 while the errata only applies to revisions r1p0..r2p2. At a later time,

[U-Boot] USB EHCI problem on NeufBox V6

2014-06-11 Thread Adrien Ricciardi
Hello, I am currently working on a Broadcom BCM63168 SoC board (NeufBox V6). This is a MIPS32 big endian CPU. My goal is to replace the CFERAM stage by U-Boot 2014.01 (I keep the CFEROM for now as it contains a lot of magic). I managed to make U-Boot start on the platform. It can mount an

Re: [U-Boot] enbw_cmc, da850evm_direct_nor, and calimain vectors table misaligned

2014-06-11 Thread Christian Riesch
Hi all, On Wed, Jun 11, 2014 at 9:47 AM, Heiko Schocher h...@denx.de wrote: Hello Albert, Am 11.06.2014 09:14, schrieb Albert ARIBAUD: Hi Masahiro, (to: the board maintainers for enbw_cmc, da850evm_direct_nor, and calimain) On Mon, 09 Jun 2014 18:29:26 +0900, Masahiro Yamada

[U-Boot] What file formats can be loaded and launched by u-boot

2014-06-11 Thread Misbah
Hello All, I have an RTOS compiled for ARM cotex-A9 generating .out file format. How can I use u-boot.bin to download the RTOS image from an SD card FAT32 formatted and launch the RTOS kernel Can you please share your views. Regards, Misbah

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

2014-06-11 Thread Jon Loeliger
On Tue, Jun 10, 2014 at 6:53 PM, 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 --- Hmm. It's not just a good idea, right? That change is upstream

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

2014-06-11 Thread feng...@phytium.com.cn
Dear York, My mailing list disabled a few days. Maybe I missed something important. /* * Performs a clean invalidation of the entire data cache at all levels */ void flush_dcache_all(void) { __asm_flush_dcache_all(); + flush_l3_cache(); } I thought the L3 cache is

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

2014-06-11 Thread Jon Loeliger
On Tue, Jun 10, 2014 at 6:53 PM, 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 --- Thanks for Jon

Re: [U-Boot] [PATCH v5 0/15] Collected driver model bug-fixes and docs

2014-06-11 Thread Jon Loeliger
On Tue, Jun 10, 2014 at 6:53 PM, Simon Glass s...@chromium.org wrote: This series collects some of the patches from the Tegra GPIO conversion to driver model. That work is still in progress, but the bug fixes and iotracing feature should go into this release I think. Also the documentation

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

2014-06-11 Thread Jon Loeliger
On Tue, Jun 10, 2014 at 6:53 PM, 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 --- Ja, gut. Tested-by: Jon Loeliger

Re: [U-Boot] WIP for SPI

2014-06-11 Thread Jon Loeliger
On Tue, Jun 10, 2014 at 10:54 PM, Simon Glass s...@chromium.org wrote: Hi Jon, I thought I should mention that I spent time on a flight to look at SPI with driver model. I have put the WIP code in branch 'working' in u-boot-dm.git. Note it doesn't work, and is very early. Also note that many

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

2014-06-11 Thread York Sun
On 06/11/2014 07:05 AM, feng...@phytium.com.cn wrote: Dear York, My mailing list disabled a few days. Maybe I missed something important. /* * Performs a clean invalidation of the entire data cache at all levels */ void flush_dcache_all(void) { __asm_flush_dcache_all(); +

Re: [U-Boot] What file formats can be loaded and launched by u-boot

2014-06-11 Thread Wolfgang Denk
Dear Misbah, In message 005301cf8578$18686be0$493943a0$@k...@tes-dst.com you wrote: I have an RTOS compiled for ARM cotex-A9 generating .out file format. .out is not any known linker output format. Do you mean a.out? It has been ages since I've seen this used the last time - way back in the

Re: [U-Boot] [PATCH] macb: make checkpatch clean

2014-06-11 Thread Tom Rini
On Tue, May 27, 2014 at 04:07:30PM +0800, Josh Wu wrote: Hi, Dear Andreas On 5/27/2014 4:55 AM, Andreas Bießmann wrote: This also renames the CONFIG_SYS_MACB_xx defines. They are used just local and therefore don't need the CONFIG_SYS_ prefix. Signed-off-by: Andreas Bießmann

Re: [U-Boot] [PATCH 1/3] net: sh-eth: Add support R7S72100 of rmobile

2014-06-11 Thread Tom Rini
On Mon, Jun 09, 2014 at 06:58:46AM +0900, Nobuhiro Iwamatsu wrote: Hi, Tom. 2014-06-06 22:37 GMT+09:00 Tom Rini tr...@ti.com: On Fri, Jun 06, 2014 at 11:44:20AM +0900, Nobuhiro Iwamatsu wrote: ping. 2014-01-23 7:52 GMT+09:00 Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com:

Re: [U-Boot] [PATCH] Add support for DS1340 RTC

2014-06-11 Thread Tom Rini
On Mon, Jun 09, 2014 at 09:59:39AM +1200, Darwin Dingel wrote: Implementation is the same as with a DS1337 but with different register addresses. Signed-off-by: Darwin Dingel darwin.din...@alliedtelesis.co.nz Are you going to post patches for a board which sets CONFIG_RTC_DS1340 ? -- Tom

Re: [U-Boot] [PATCH] sandbox: restore ability to access host fs through standard commands

2014-06-11 Thread Stephen Warren
On 06/10/2014 09:29 PM, Josh Wu wrote: On 6/11/2014 6:43 AM, Stephen Warren wrote: Commit 95fac6ab4589 sandbox: Use os functions to read host device tree removed the ability for get_device_and_partition() to handle the host device type, and redirect accesses to it to the host filesystem. This

Re: [U-Boot] [U-Boot, v5, 3/4] lib, fdt: move fdtdec_get_int() out of lib/fdtdec.c

2014-06-11 Thread Tom Rini
On Tue, Jun 10, 2014 at 09:35:51AM +0200, Heiko Schocher wrote: Hello Tom, Am 05.06.2014 21:15, schrieb Tom Rini: On Wed, May 28, 2014 at 11:33:35AM +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 v5 05/15] dm: Rename struct device_id to udevice_id

2014-06-11 Thread Simon Glass
Hi Jon, On 11 June 2014 07:49, Jon Loeliger loeli...@gmail.com wrote: On Tue, Jun 10, 2014 at 6:53 PM, 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

[U-Boot] [PATCH V2] sandbox: restore ability to access host fs through standard commands

2014-06-11 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Commit 95fac6ab4589 sandbox: Use os functions to read host device tree removed the ability for get_device_and_partition() to handle the host device type, and redirect accesses to it to the host filesystem. This broke some unit tests that use this feature.

[U-Boot] [PATCH] sandbox: terminate os_dirent_ls() result list

2014-06-11 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Each node in the linked-list that os_dirent_ls() returns has its next pointer set only when the next node is created. For the last node in the list, there is no next node, so this never happens, and the next pointer is never initialized. Explicitly

[U-Boot] [PATCH V2] sandbox: terminate os_dirent_ls() result list

2014-06-11 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Each node in the linked-list that os_dirent_ls() returns has its next pointer set only when the next node is created. For the last node in the list, there is no next node, so this never happens, and the next pointer is never initialized. Explicitly

[U-Boot] Aristeus: New Board using I.MX6 and next steps

2014-06-11 Thread John Reep
To the U Boot Mailing list: I have been working for several months as a side project on an I.MX6Q implementation. Based on other work I am doing, I chose the COM Express standard as the form factor. Given the small size of the MX6 compared to the standard, I was able to add several

Re: [U-Boot] [PATCH] ubifs: don't self assign values

2014-06-11 Thread Jeroen Hofstee
Hello Heiko, On wo, 2014-06-11 at 06:28 +0200, Heiko Schocher wrote: Hello Jeroen, Am 10.06.2014 23:27, schrieb Jeroen Hofstee: It seems the code tries to trick the compiler the argument is actually used. However compilers became too smart too fool them so easily an now warn. Checking

[U-Boot] [PATCH] fs: ext4: fix writing zero-length files

2014-06-11 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com ext4fs_allocate_blocks() always allocates at least one block for a file. If the file size is zero, this causes total_remaining_blocks to underflow, which then causes an apparent hang while 2^32 blocks are allocated. To solve this, check that

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

2014-06-11 Thread Stephen Warren
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 code will use it

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

2014-06-11 Thread Stephen Warren
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 dfu_read_medium_nand() will only

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

2014-06-11 Thread Stephen Warren
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 this purpose.

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-06-11 Thread Steve Rae
On 14-06-10 11:45 PM, Albert ARIBAUD wrote: Hi Wolfgang, On Wed, 11 Jun 2014 06:49:28 +0200, Wolfgang Denk w...@denx.de wrote: Dear Steve, In message 53979199.5010...@broadcom.com you wrote: OK - I think that one of the alternate proposals would be to conditionally reserve a 32 byte

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

2014-06-11 Thread Tom Rini
On Sun, Jun 08, 2014 at 11:27:57PM +0530, Jagannadha Sutradharudu Teki wrote: Hi Tom, Please take this PR. thanks! Jagan. The following changes since commit 3e1fa221f94b7ae3389d166882b77f1da5895f22: Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx (2014-06-05 17:38:30

Re: [U-Boot] [PATCH 03/11] bootm: Split out code from cmd_bootm.c

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:39:43PM -0600, Simon Glass wrote: This file has code in three different categories: - Command processing - OS-specific boot code - Locating images and setting up to boot Only the first category really belongs in a file called cmd_bootm.c. Leave the command

[U-Boot] [PATCH] ARM: tegra: fix include guard

2014-06-11 Thread Jeroen Hofstee
cc: Stephen Warren swar...@nvidia.com Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- include/configs/tegra-common-ums.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/tegra-common-ums.h b/include/configs/tegra-common-ums.h index 7bd8960..578ca68

Re: [U-Boot] [PATCH] ARM: tegra: fix include guard

2014-06-11 Thread Stephen Warren
On 06/11/2014 01:53 PM, Jeroen Hofstee wrote: diff --git a/include/configs/tegra-common-ums.h b/include/configs/tegra-common-ums.h #ifndef _TEGRA_COMMON_UMS_H_ -#define _TEGRA_COMMON_UMS_H +#define _TEGRA_COMMON_UMS_H_ Acked-by: Stephen Warren swar...@nvidia.com

[U-Boot] [PATCH 1/2] mtd: OMAP: Enable GPMC prefetch mode

2014-06-11 Thread Daniel Mack
Enable GPMC's prefetch feature for NAND access. This speeds up NAND read access a lot by pre-fetching contents in the background and reading them through the FIFO address. The current implementation has two limitations: a) it only works for 16bit b) it only supports read access Both is easily

[U-Boot] [PATCH 0/2] OMAP/GPMC: speed up NAND read access

2014-06-11 Thread Daniel Mack
Hi, I spent some time looking into boot times of AM335x platforms. One big improvement I made came with adding support for GPMC prefetch mode, which gave a speed-up of NAND reads of roughly factor 2. This is what patch #1 does. Note that this is currently limited to read operations in 8-bit

Re: [U-Boot] [PATCH] i2c: kona: Resolve Kona I2C driver issue

2014-06-11 Thread Steve Rae
On 14-05-26 12:33 PM, Steve Rae wrote: - i2c mw command hangs (with some compilers) Signed-off-by: Steve Rae s...@broadcom.com --- drivers/i2c/kona_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/kona_i2c.c b/drivers/i2c/kona_i2c.c index

[U-Boot] [PATCH] arm: spl: fix include guard

2014-06-11 Thread Jeroen Hofstee
cc: Tom Rini tr...@ti.com Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl --- arch/arm/include/asm/arch-keystone/spl.h | 2 +- arch/arm/include/asm/arch-sunxi/spl.h| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/include/asm/arch-keystone/spl.h

[U-Boot] [PATCH 2/2] ARM: omap-common: gpmp: decrease memory region size to 16MiB

2014-06-11 Thread Daniel Mack
That memory area is not used except for the first location, so it doesn't matter. However, with the length configured to 256MiB, U-Boot crased when accessing contents of the map. Signed-off-by: Daniel Mack zon...@gmail.com --- arch/arm/cpu/armv7/omap-common/mem-common.c | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH] Add support for DS1340 RTC

2014-06-11 Thread darwind1
Hi Tom, Tom Rini wrote On Mon, Jun 09, 2014 at 09:59:39AM +1200, Darwin Dingel wrote: Implementation is the same as with a DS1337 but with different register addresses. Signed-off-by: Darwin Dingel lt; darwin.dingel@.co gt; Are you going to post patches for a board which sets

Re: [U-Boot] [PATCH 03/11] bootm: Split out code from cmd_bootm.c

2014-06-11 Thread Simon Glass
Hi Tom, On 11 June 2014 13:48, Tom Rini tr...@ti.com wrote: On Mon, Jun 02, 2014 at 10:39:43PM -0600, Simon Glass wrote: This file has code in three different categories: - Command processing - OS-specific boot code - Locating images and setting up to boot Only the first category really

[U-Boot] [PATCH] tegra20: display: fix checking of return value

2014-06-11 Thread Jeroen Hofstee
The calling code seems a bit in doubt about the return value of fdtdec_lookup_phandle. Since it returns a negative value on error (and fdt_node_offset_by_phandle as well), check for that. cc: Wei Ni w...@nvidia.com Signed-off-by: Jeroen Hofstee jer...@myspectrum.nl ---

Re: [U-Boot] [PATCH] arm: Allow u-boot to run from offset base address

2014-06-11 Thread Wolfgang Denk
Dear Steve, In message 5398a640.3050...@broadcom.com you wrote: So if I add a your_header.c as above, then (1) I need to modify arch/arm/cpu/armv8/u-boot.lds: . = 0x; + . = ALIGN(8); + .your_hdr : { + KEEP(*(.your_hdr*)); + } + . =

Re: [U-Boot] [PATCH] board/t208x: update t2080qds/t2080rdb for errata A-007186

2014-06-11 Thread York Sun
On 05/15/2014 04:24 AM, Shengzhou Liu wrote: As errata A-007186, we need to use the alternate serdes protocol instead of those impacted protocols. - add support for serdes protocols: 0x1b, 0x50, 0x5e, 0x64, 0x6a, 0xd2, 0x67, 0x70. - update t2080_rcw.cfg to adapt to new rcw_66_15 for

Re: [U-Boot] [PATCH][v3] powerpc/t4qds: Add alternate serdes protocols to align with A-007186

2014-06-11 Thread York Sun
On 05/15/2014 07:52 PM, shh@gmail.com wrote: From: Shaohui Xie shaohui@freescale.com A-007186: SerDes PLL is calibrated at reset. It is possible for jitter to increase and cause the PLL to unlock when the temperature delta from the time the PLL is calibrated exceeds +56C/-66C when

Re: [U-Boot] [PATCH v3] powerpc/t4rdb: Add alternate serdes protocols to align with A-007186

2014-06-11 Thread York Sun
On 05/19/2014 10:34 PM, Chunhe Lan wrote: A-007186: SerDes PLL is calibrated at reset. It is possible for jitter to increase and cause the PLL to unlock when the temperature delta from the time the PLL is calibrated exceeds +56C/-66C when using X VDD of 1.35 V (or +70C/-80C when using XnVDD

Re: [U-Boot] [PATCH] board/t2080qds: some update for ddr

2014-06-11 Thread York Sun
On 05/19/2014 09:08 PM, Shengzhou Liu wrote: - add support for 2nd DIMM slot. - make it work with DIMM which is less than 2GB. Verified with two 2GB UDIMM MT9JSF25672AZ-2G1K1 in two DIMM slots. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- Applied to u-boot-mpc85xx. Sorry

Re: [U-Boot] [PATCH] powerpc/espi: remove 80us delay to improve transfer performance

2014-06-11 Thread York Sun
On 05/20/2014 07:25 PM, Hou Zhiqiang wrote: Replace 80 mircoseconds delay with polling flag ESPI_EV_TXE. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- Applied to u-boot-mpc85xx. Sorry for the late notice. York ___ U-Boot mailing list

Re: [U-Boot] powerpc/t2080: add serdes2 protocol 0x27

2014-06-11 Thread York Sun
On 05/22/2014 02:24 AM, Shengzhou Liu wrote: Add a new serdes2 protocol 0x27. Signed-off-by: Shengzhou Liu shengzhou@freescale.com --- Applied to u-boot-mpc85xx. Sorry for the late notice. York ___ U-Boot mailing list U-Boot@lists.denx.de

[U-Boot] unsigned int for gpio

2014-06-11 Thread Jeroen Hofstee
Hello Simon, in commit 95a260a9 dm: Enable gpio command to support driver model Now that named GPIO banks are supported, along with a way of obtaining the status of a GPIO (input or output), we can provide an enhanced GPIO command for driver model. Where the driver provides its own

Re: [U-Boot] [PATCH] powerpc/mpc85xx: Add workaround to enable TDM on T1040

2014-06-11 Thread York Sun
On 06/05/2014 06:19 AM, Sandeep Singh wrote: This is a workaround for 32 bit hardware limitation of TDM. T1040 has 36 bit physical addressing, TDM DMAC register are 32 bit wide but need to store address of CCSR space which lies beyond 32 bit address range. This workaround creats a LAW to

Re: [U-Boot] [PATCH] powerpc/serdes: Add the workaround for erratum A-007186

2014-06-11 Thread York Sun
On 05/28/2014 01:48 AM, Shaveta Leekha wrote: SerDes PLL is calibrated at reset. When the junction temperature delta from the time the PLL is calibrated exceeds +56C/-66C, jitter may increase and can cause PLL to unlock. This workaround overwrite the SerDes registers with new values, to

Re: [U-Boot] [PATCH]powerpc/B4420: Fixed incomplete handling for 0x9d serdes2

2014-06-11 Thread York Sun
On 05/30/2014 11:38 AM, Poonam Aggrwal wrote: Crossbars and IDT were not getting configured for Serdes2 protocol 0x9d for B4420. Signed-off-by: Poonam Aggrwal poonam.aggr...@freescale.com Signed-off-by: Shaveta Leekha shav...@freescale.com --- Applied to u-boot-mpc85xx. Sorry for the late

Re: [U-Boot] [PATCH] powerpc/espi: remove 80us delay to improve transfer performance

2014-06-11 Thread York Sun
On 05/20/2014 07:25 PM, Hou Zhiqiang wrote: Replace 80 mircoseconds delay with polling flag ESPI_EV_TXE. Signed-off-by: Hou Zhiqiang b48...@freescale.com --- Applied to u-boot-mpc85xx. Sorry for the late notice. York ___ U-Boot mailing list

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

2014-06-11 Thread Stephen Warren
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 write operation is

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

2014-06-11 Thread Stephen Warren
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 --- drivers/dfu/dfu.c | 3 +++ include/dfu.h | 2 ++ 2

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

2014-06-11 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This allows SPI Flash to be programmed using DFU. Signed-off-by: Stephen Warren swar...@nvidia.com --- drivers/dfu/Makefile | 1 + drivers/dfu/dfu.c| 3 ++ drivers/dfu/dfu_sf.c | 139 +++

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

2014-06-11 Thread Stephen Warren
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 support will be added

Re: [U-Boot] [U-Boot, 1/2] Makefile: fix clang warnings due to clang support

2014-06-11 Thread Tom Rini
On Fri, May 30, 2014 at 03:45:27PM +0200, Jeroen Hofstee wrote: Building u-boot tools with clang as a host compiler e.g. on FreeBSD with `gmake HOSTCC=clang CONFIG_USE_PRIVATE_LIBGCC=y tools` leads to many warnings [1] for every compiler invocation since commit 598e2d33. Part of mentioned

Re: [U-Boot] [U-Boot, 2/2] tools: include u-boot version of sha256.h

2014-06-11 Thread Tom Rini
On Fri, May 30, 2014 at 03:45:28PM +0200, Jeroen Hofstee wrote: When building tools the u-boot specific sha256.h is required, but the host version of sha256.h is used when present. This leads to build errors on FreeBSD which does have a system sha256.h include. Like libfdt_env.h explicitly

Re: [U-Boot] [U-Boot, v3, 01/14] ti: am335x: Fix the U-Boot binary output

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:44PM -0600, Simon Glass wrote: This should include the hash so that image_binary_size is really at the end of the image, and not some 300 bytes earlier. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, v3, 02/14] cm_t335: Fix the U-Boot binary output

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:45PM -0600, Simon Glass wrote: Correct the binary output so that image_binary_size is really at the end of the image. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 03/14] mx31ads: Fix the U-Boot binary output

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:46PM -0600, Simon Glass wrote: Correct the binary output so that image_binary_size is really at the end of the image. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 07/14] fdt: Add DEV_TREE_BIN option to specify a device tree binary file

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:50PM -0600, Simon Glass wrote: In some cases, an externally-built device tree binary is required to be attached to U-Boot. An example is when using image signing, since in that case the .dtb file must include the public keys. Add a DEV_TREE_BIN option to the

Re: [U-Boot] [U-Boot, v3, 05/14] am33xx/omap: Allow cache enable for all Sitara/OMAP

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:48PM -0600, Simon Glass wrote: Enable the cache for all devices, unless CONFIG_SYS_DCACHE_OFF is defined. This speeds up the Beaglebone Black boot considerable. (Tested only on Beaglebone Black with SD card boot) Signed-off-by: Simon Glass s...@chromium.org

Re: [U-Boot] [U-Boot, v3, 06/14] hash: Export the function to show a hash

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:49PM -0600, Simon Glass wrote: This function is useful for displaying a hash value, so export it. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 08/14] fdt: Update functions which write to an FDT to return -ENOSPC

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:51PM -0600, Simon Glass wrote: When writing values into an FDT it is possible that there will be insufficient space. If the caller gets a useful error then it can potentially deal with the situation. Adjust these functions to return -ENOSPC when the FDT is

Re: [U-Boot] [U-Boot, v3, 12/14] am33xx/omap: Enable CONFIG_OF_CONTROL

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:55PM -0600, Simon Glass wrote: Add support for device tree control and add device tree files for the beaglebone black initially. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v3, 11/14] arm: ti: Increase malloc size to 16MB for armv7 boards

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:54PM -0600, Simon Glass wrote: The current size of 1MB is not enough use to use DFU. Increase it for ARMv7 boards, all of which should have 32MB or more SDRAM. With this change it is possible to do 'dfu mmc 0' on a Beaglebone Black. Signed-off-by: Simon Glass

Re: [U-Boot] [U-Boot, v3, 09/14] Improve error handling in fit_common

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:52PM -0600, Simon Glass wrote: Make the error handling common, and make sure the file is always closed on error. Rename the parameter to be more description and add comments. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, v3, 10/14] mkimage: Automatically make space in FDT when full

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:53PM -0600, Simon Glass wrote: When adding hashes or signatures, the target FDT may be full. Detect this and automatically try again after making 1KB of space. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [PATCH v3 07/14] fdt: Add DEV_TREE_BIN option to specify a device tree binary file

2014-06-11 Thread Tom Rini
On Tue, Jun 10, 2014 at 02:59:23PM +0900, Masahiro Yamada wrote: Hi Simon, On Mon, 2 Jun 2014 22:04:50 -0600 Simon Glass s...@chromium.org wrote: In some cases, an externally-built device tree binary is required to be attached to U-Boot. An example is when using image signing, since

Re: [U-Boot] [U-Boot,v3,13/14] am33xx/omap: Enable FIT support

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:56PM -0600, Simon Glass wrote: Enable booting a FIT containing a kernel/device tree. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 14/14] am33xx/omap: Add a new board to enable verified boot

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:57PM -0600, Simon Glass wrote: Enable verified boot functionality for a new am335x_boneblack_vboot target. Signed-off-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v3 0/14] Minor improvements to secure boot and enable on beaglebone

2014-06-11 Thread Tom Rini
On Mon, Jun 02, 2014 at 10:04:43PM -0600, Simon Glass wrote: This series fixes a few problems that have come up since the secure boot series was merged: - A recent commit broken the assumption that u-boot.bin ends at a known address (thus making things appended to U-Boot inaccessible from

Re: [U-Boot] [U-Boot, RESEND, 1/3] Check run_command() return code properly

2014-06-11 Thread Tom Rini
On Thu, Jun 05, 2014 at 08:07:56PM +0200, Thomas Betker wrote: run_command() returns 0 for success, 1 for failure. Fix places which assume that failure is indicated by a negative return code. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com Acked-by: Simon Glass

Re: [U-Boot] [U-Boot,RESEND,3/3] Use run_command_repeatable()

2014-06-11 Thread Tom Rini
On Thu, Jun 05, 2014 at 08:07:58PM +0200, Thomas Betker wrote: Replace run_command() by run_command_repeatable() in places which depend on the return code to indicate repeatability. Signed-off-by: Thomas Betker thomas.bet...@rohde-schwarz.com Acked-by: Simon Glass s...@chromium.org

Re: [U-Boot] kbuild: export HOSTCXX and HOSTCXXFLAGS

2014-06-11 Thread Tom Rini
On Fri, Jun 06, 2014 at 10:15:27AM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot,RESEND,2/3] Add run_command_repeatable()

2014-06-11 Thread Tom Rini
On Thu, Jun 05, 2014 at 08:07:57PM +0200, Thomas Betker wrote: run_command() returns 0 on success and 1 on error. However, there are some invocations which expect 0 or 1 for success (not repeatable or repeatable) and -1 for error; add run_command_repeatable() for this purpose.

Re: [U-Boot] disk: part_dos.c: Add a PBR check when MBR checking fails

2014-06-11 Thread Tom Rini
On Fri, Jun 06, 2014 at 03:48:26PM +1200, Darwin Dingel wrote: Bug: SDCard with a messed up partition but still has a FAT signature intact is readable in Linux but unreadable in uboot with 'fatls'. Fix: When partition info checking fails, there is no checking for a FAT signature (DOS_PBR)

Re: [U-Boot] .gitignore: drop *.dts.tmp pattern

2014-06-11 Thread Tom Rini
On Fri, Jun 06, 2014 at 08:18:37PM +0900, Masahiro Yamada wrote: This pattern was added by commit cc4f427b to ignore the intermidiate file for generating DTB. When Kbuild was introduced, dts/Makefile was totally re-written. This ignore pattern is already useless. Signed-off-by: Masahiro

Re: [U-Boot] [U-Boot, 2/2] .gitignore: move *.exe pattern to the top gitignore for Cygwin

2014-06-11 Thread Tom Rini
On Fri, Jun 06, 2014 at 08:46:45PM +0900, Masahiro Yamada wrote: GCC on Cygwin generates executables with .exe extension, for example: scripts/basic/fixdep.exe scripts/docproc.exe To ignore them, *.exe pattern should be moved from tools/.gitignore to ./.gitignore Signed-off-by:

Re: [U-Boot] docs: driver-model: Fix spelling

2014-06-11 Thread Tom Rini
On Sat, Jun 07, 2014 at 10:35:55AM +1200, Chris Packham wrote: Signed-off-by: Chris Packham judge.pack...@gmail.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

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

2014-06-11 Thread Tom Rini
On Sat, Jun 07, 2014 at 10:07:58PM -0600, Simon Glass wrote: Most of the warnings seem to be related to using 'int' for size_t. Change this and fix up the remaining warnings and problems. For bootm, the warning was masked by others, and there is an actual bug in the code. Signed-off-by:

Re: [U-Boot] [U-Boot, v2] kbuild, tools: generate wrapper C sources automatically by Makefile

2014-06-11 Thread Tom Rini
On Fri, Jun 06, 2014 at 02:04:32PM +0900, Masahiro Yamada wrote: There are many source files shared between U-boot image and tools. Instead of adding a lot of dummy wrapper files that just include the corresponding file in lib/ or common/ directory, Makefile should automatically generate

Re: [U-Boot] [U-Boot, 1/2] kbuild: remove unnecessary adjustment for Cygwin

2014-06-11 Thread Tom Rini
On Fri, Jun 06, 2014 at 08:46:44PM +0900, Masahiro Yamada wrote: SFX = .exe was originally added for Cygwin environment. It is true that GCC on Cygwin spits executables with .exe extention. For example, gcc -o foo foo.c will generate foo.exe, not foo. But GNU make is also nicely

Re: [U-Boot] [U-Boot,3/3] ext4: correctly zero filename

2014-06-11 Thread Tom Rini
On Mon, Jun 09, 2014 at 03:29:00PM +0200, Jeroen Hofstee wrote: Since ALLOC_CACHE_ALIGN_BUFFER declares a char* for filename sizeof(filename) is not the size of the buffer. Use the already known length instead. cc: Uma Shankar uma.shan...@samsung.com cc: Manjunatha C Achar

Re: [U-Boot] common: hash: zero end the string instead of the pointer

2014-06-11 Thread Tom Rini
On Mon, Jun 09, 2014 at 11:02:02AM +0200, Jeroen Hofstee wrote: if algo-digest_size is zero nothing is set in the str_output buffer. An attempt is made to zero end the buffer, but the pointer to the buffer is set to zero instead. I am unaware if it causes any actual problems, but solves the

Re: [U-Boot] cosmetic: Whitespace fix

2014-06-11 Thread Tom Rini
On Tue, Jun 10, 2014 at 04:06:52PM +0300, Vasili Galka wrote: Signed-off-by: Vasili Galka vvv...@gmail.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de

  1   2   >