Re: [U-Boot] Question about Zynq SPL

2014-02-26 Thread Michal Simek
Hi Masahiro, On 02/26/2014 08:49 AM, Masahiro Yamada wrote: Hello Michal, Please let me confirm if I am correctly understanding Zynq SPL added by commit d7e269c. Before that commit, Zynq booted like follows [1] Boot ROM [2] First Stage Boot Loader (created by Xilinx SDK) [3]

Re: [U-Boot] [PATCH] fix: trats: clock setup: enable all clocks in clk_gate_block.

2014-02-26 Thread Przemyslaw Marczak
Hello Tom, On 02/25/2014 06:58 PM, Tom Rini wrote: On Tue, Feb 25, 2014 at 06:37:43PM +0100, Przemyslaw Marczak wrote: This change fixes kernel boot issue on trats. Some drivers in kernel 3.10 expects that proper clocks are enabled, e.g. mfc driver clock. Signed-off-by: Przemyslaw Marczak

Re: [U-Boot] [U-Boot, 2/3] mpc85xx: Add deep sleep framework support

2014-02-26 Thread Tang Yuantian-B29983
On 2014/2/25 星期二 3:11, Scott Wood wrote: Why what? Why we need it? It is a help function and used by ASM code in which we can't determine whether it is a warm reset boot. Why don't you just open code it? I can't check the warmboot status in ASM code. In order to get the warmboot status in

Re: [U-Boot] Question about Zynq SPL

2014-02-26 Thread Masahiro Yamada
Hello Michal, yes or of course what SPL supports just directly to the OS [1] Boot ROM [2] U-Boot SPL [3] OS any question regarding this? Thanks. FSBL can download FPGA bit stream. Is it supported by U-Boot SPL too? If I don't have to launch Xilinx SDK to create FSBL,

Re: [U-Boot] Question about Zynq SPL

2014-02-26 Thread Michal Simek
Hi, On 02/26/2014 09:14 AM, Masahiro Yamada wrote: Hello Michal, yes or of course what SPL supports just directly to the OS [1] Boot ROM [2] U-Boot SPL [3] OS any question regarding this? Thanks. FSBL can download FPGA bit stream. Is it supported by U-Boot SPL too?

[U-Boot] [RFC PATCH] nand_spl: display warning message to inform the end of nand_spl

2014-02-26 Thread Masahiro Yamada
Now we have two different frameworks for doing the same thing. I'd like to propose to drop nand_spl framework. How about deleting it before v2014.07 release? In the interim, this commit will display a warning message when compiling nand_spl board. Now we have 19 nand_spl boards:

Re: [U-Boot] Question about Zynq SPL

2014-02-26 Thread Masahiro Yamada
Hello Michal, On Wed, 26 Feb 2014 09:33:19 +0100 Michal Simek mon...@monstr.eu wrote: Hi, On 02/26/2014 09:14 AM, Masahiro Yamada wrote: Hello Michal, yes or of course what SPL supports just directly to the OS [1] Boot ROM [2] U-Boot SPL [3] OS any question

[U-Boot] [PATCH v2] powerpc/usb: Workaround for erratum-A006261

2014-02-26 Thread Suresh Gupta
USB spec says that the minimum disconnect threshold should be over 525 mV. However, internal USB PHY threshold value is below this specified value. Due to this some devices disconnect at run-time. Hence, phy settings are tweaked to increased disconnect

[U-Boot] [PATCH] board/b4860qds: Add support to make Aurora work on B4860QDS

2014-02-26 Thread Shaveta Leekha
1) Add new SerDes1 protocols having Aurora in them 2) Add VSC cross point connections for Aurora to work with CPRI and SGMIIs 3) Configure VSC crossbar switch to connect SerDes1 lanes to aurora on board, by checking SerDes1 protocols 4) SerDes1 Refclks have been set properly to make

[U-Boot] [PATCH 1/2] B4860/B4420: Add PLL_NUM define for B4420/B4860 to use SerDes2 Refclks re-configuration

2014-02-26 Thread Shaveta Leekha
- B4860 has two PLL per SerDes whereas B4420 has one PLL per SerDes, add their defines in arch/powerpc/include/asm/config_mpc85xx.h Signed-off-by: Shaveta Leekha shav...@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h |2 ++ 1 files changed, 2 insertions(+), 0

[U-Boot] [PATCH 2/2] B4860qds: Set SerDes2 refclk2 at to 156.25MHz for XFI to work

2014-02-26 Thread Shaveta Leekha
- Change setting of SerDes2 refclk2 to have the default value as it is coming on board that is 156.25MHz, for XFI to work - Also change PLL_NUM variable to the one defined in config_mpc85xx.h for B4860 and B4420 Signed-off-by: Shaveta Leekha shav...@freescale.com ---

[U-Boot] [PATCH] powerpc/b4860: Add workaround for errata A006384 and A006475

2014-02-26 Thread Shaveta Leekha
SerDes PLLs may not lock reliably at 5 G VCO configuration(A006384) and at cold temperatures(A006475), workaround recalibrate the PLLs with some SerDes configuration Both these errata are only applicable for b4 rev1. So, make workaround for these errata conditional, depending upon soc version.

[U-Boot] [PATCH] board/b4860qds: Add support to make PCIe SATA work on B4860QDS

2014-02-26 Thread Shaveta Leekha
1) SerDes2 Refclks have been set properly to make PCIe SATA to work as it work on SerDes refclk of 100MHz 2) Mask the SerDes's device reset request before changing the Refclks for SerDes1 and SerDes2 for PLL locks to happen properly, device reset request bit unmasked after

[U-Boot] [PATCH][v2] powerpc/t1040qds: Add Video - HDMI support

2014-02-26 Thread Priyanka Jain
T1040 has internal display interface unit (DIU) for driving video. T1040QDS supports video mode via -LCD using TI enconder -HDMI type interface via HDMI encoder Chrontel, CH7301C encoder which is I2C programmable is used as HDMI connector on T1040QDS. This patch add support to -enable Video

[U-Boot] [PATCH][v2] powerpc/t1040qds: Add Video - HDMI support

2014-02-26 Thread Priyanka Jain
T1040 has internal display interface unit (DIU) for driving video. T1040QDS supports video mode via -LCD using TI enconder -HDMI type interface via HDMI encoder Chrontel, CH7301C encoder which is I2C programmable is used as HDMI connector on T1040QDS. This patch add support to -enable Video

[U-Boot] env variable in linux

2014-02-26 Thread shobin b
Hi, I have to get environment variables in linux from uboot. For that i did make cross compile on env tools in my uboot(uboot-toradex).after this i executed the fw_printenv in my linux it is giving like following, sh-4.2# fw_printenv Too few good blocks within range and my fw_env.config file

[U-Boot] [PATCH] fsl/usb: Workaround for USB erratum-A007075

2014-02-26 Thread Nikhil Badola
Put a delay of 5 millisecond after reset so that ULPI phy gets enough time to come out of reset. Erratum A007075 applies to following SOCs and their variants, if any P1010 rev 1.0 B4860 rev 1.0, 2.0 P4080 rev 2.0, 3.0 Signed-off-by: Nikhil Badola

Re: [U-Boot] [PATCH v2 00/13] ARMv7: add PSCI support to u-boot

2014-02-26 Thread Ezaul Zillmer
Thank´s Marc Error Compile How could solve this compilation problem? What am I doing wrong? Have since I'm Very Grateful! make Cubieboard2 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- arm-linux-gnueabihf-gcc -M -g -Os -ffunction-sections -fdata-sections -fno-common -ffixed-r9

Re: [U-Boot] [Regression][ext4] Regression at EXT4 filesystem code

2014-02-26 Thread Tom Rini
On Mon, Feb 24, 2014 at 05:42:59PM +0100, Ionut Nicu wrote: Hi, On 24.02.2014 16:13, ext Lukasz Majewski wrote: Dear All, In the newest master u-boot (SHA1: 1674df60d17e0e72396c961d5390bb62b184ad95) I've found a regression with writing to EXT4 file system: Writing uImage

Re: [U-Boot] [RFC PATCH] nand_spl: display warning message to inform the end of nand_spl

2014-02-26 Thread Tom Rini
On Wed, Feb 26, 2014 at 05:51:11PM +0900, Masahiro Yamada wrote: Now we have two different frameworks for doing the same thing. I'd like to propose to drop nand_spl framework. How about deleting it before v2014.07 release? In the interim, this commit will display a warning message when

[U-Boot] [PATCH] sizes.h - consolidate for all architectures

2014-02-26 Thread Alexey Brodkin
Copied from Linux sources include/linux/sizes.h commit 413541dd66d51f791a0b169d9b9014e4f56be13c Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Tom Rini tr...@ti.com Cc: Stefan Roese s...@denx.de Cc: Albert Aribaud albert.u.b...@aribaud.net ---

Re: [U-Boot] [PATCH 0/8] Kbuild: A collection of trivial refactoring

2014-02-26 Thread Tom Rini
On Wed, Feb 26, 2014 at 02:50:57PM +0900, Masahiro Yamada wrote: Masahiro Yamada (8): config.mk: Delete unused variable BCURDIR Makefile: delete unused variable LDSCRIPT_MAKEFILE_DIR nand_spl: simpc8313: move config.mk used only for nand_spl x86: Delete redundant compiler flags

Re: [U-Boot] [PATCH 8/8] arm64: Do not double -mstrict-align option

2014-02-26 Thread Tom Rini
On Wed, Feb 26, 2014 at 02:51:05PM +0900, Masahiro Yamada wrote: Seeing arch/arm/cpu/armv8/config.mk, -mstrict-align option was added to both PLATFORM_NO_UNALIGNED and PLATFORM_CPPFLAGS. $(PLATFORM_CPPFLAGS) is given to all compiled objects. Adding the same option to also

Re: [U-Boot] [PATCH] sizes.h - consolidate for all architectures

2014-02-26 Thread Tom Rini
On Wed, Feb 26, 2014 at 05:47:58PM +0400, Alexey Brodkin wrote: Copied from Linux sources include/linux/sizes.h commit 413541dd66d51f791a0b169d9b9014e4f56be13c Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Tom Rini tr...@ti.com Cc: Stefan

Re: [U-Boot] [PATCH] sizes.h - consolidate for all architectures

2014-02-26 Thread Stefan Roese
On 26.02.2014 14:47, Alexey Brodkin wrote: Copied from Linux sources include/linux/sizes.h commit 413541dd66d51f791a0b169d9b9014e4f56be13c Signed-off-by: Alexey Brodkin abrod...@synopsys.com Cc: Vineet Gupta vgu...@synopsys.com Cc: Tom Rini tr...@ti.com Cc: Stefan Roese s...@denx.de Cc: Albert

Re: [U-Boot] [RFC PATCH] nand_spl: display warning message to inform the end of nand_spl

2014-02-26 Thread Stefan Roese
On 26.02.2014 09:51, Masahiro Yamada wrote: Now we have two different frameworks for doing the same thing. I'd like to propose to drop nand_spl framework. How about deleting it before v2014.07 release? In the interim, this commit will display a warning message when compiling nand_spl board.

Re: [U-Boot] [RFC PATCH] nand_spl: display warning message to inform the end of nand_spl

2014-02-26 Thread Tom Rini
On Wed, Feb 26, 2014 at 03:20:27PM +0100, Stefan Roese wrote: On 26.02.2014 09:51, Masahiro Yamada wrote: Now we have two different frameworks for doing the same thing. I'd like to propose to drop nand_spl framework. How about deleting it before v2014.07 release? In the interim, this commit

[U-Boot] [PATCH v2] libfdt: Fix segfault when calling fit_check_format() on corrupt FIT images

2014-02-26 Thread Tom Rini
From: Jon Nalley li...@bluebot.org It has been observed that fit_check_format() will fail when passed a corrupt FIT image. This was tracked down to _fdt_string_eq(): return (strlen(p) == len) (memcmp(p, s, len) == 0); In the case of a corrupt FIT image one can't depend on 'p' being NULL

Re: [U-Boot] [PATCH v8 0/14] Driver model implementation, tests, demo and GPIO

2014-02-26 Thread Tom Rini
On Mon, Feb 17, 2014 at 03:06:34PM -0700, Simon Glass wrote: This series adds a driver model implementation. It is taken from the driver model code developed by: Marek Vasut ma...@denx.de Pavel Herrmann morpheus.i...@gmail.com Viktor Křivák viktor.kri...@gmail.com Tomas

Re: [U-Boot] [PATCH v8 13/14] dm: Enable gpio command to support driver model

2014-02-26 Thread Tom Rini
On Mon, Feb 17, 2014 at 03:06:47PM -0700, Simon Glass wrote: 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 operation for obtaining the

Re: [U-Boot] [PATCH v8 13/14] dm: Enable gpio command to support driver model

2014-02-26 Thread Simon Glass
Hi Tom, On 26 February 2014 09:34, Tom Rini tr...@ti.com wrote: On Mon, Feb 17, 2014 at 03:06:47PM -0700, Simon Glass wrote: 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

Re: [U-Boot] [PATCH v8 13/14] dm: Enable gpio command to support driver model

2014-02-26 Thread Tom Rini
On Wed, Feb 26, 2014 at 10:21:15AM -0700, Simon Glass wrote: Hi Tom, On 26 February 2014 09:34, Tom Rini tr...@ti.com wrote: On Mon, Feb 17, 2014 at 03:06:47PM -0700, Simon Glass wrote: Now that named GPIO banks are supported, along with a way of obtaining the status of a GPIO

Re: [U-Boot] [PATCH v8 13/14] dm: Enable gpio command to support driver model

2014-02-26 Thread Simon Glass
Hi Tom, On 26 February 2014 10:28, Tom Rini tr...@ti.com wrote: On Wed, Feb 26, 2014 at 10:21:15AM -0700, Simon Glass wrote: Hi Tom, On 26 February 2014 09:34, Tom Rini tr...@ti.com wrote: On Mon, Feb 17, 2014 at 03:06:47PM -0700, Simon Glass wrote: Now that named GPIO banks

[U-Boot] [RFC] mmc: Remove ops from struct mmc and put in mmc_ops

2014-02-26 Thread Pantelis Antoniou
Remove the in-structure ops and put them in mmc_ops with a constant pointer to it. This makes the mmc structure smaller as well as conserving code space (in theory). All in-tree drivers are converted as well; this is done in a single patch in order to not break git bisect. Signed-off-by:

Re: [U-Boot] [PATCH 2/2] env export fix: compute the CRC on the real lenght of the exported variables.

2014-02-26 Thread Tom Rini
[ Catching up on some old emails ] On Fri, Nov 15, 2013 at 08:20:09AM +0100, Pierre AUBERT wrote: Dear Wolfgang Denk, Le 14/11/2013 18:24, Wolfgang Denk a écrit : Dear Pierre Aubert, In message 1384434720-11214-3-git-send-email-p.aub...@staubli.com you wrote: Signed-off-by: Pierre

Re: [U-Boot] [PATCH v5] socfpga: Add socfpga preloader signing to mkimage

2014-02-26 Thread Dinh Nguyen
Hi Charles, On 02/26/2014 01:42 AM, Charles Manning wrote: On Wednesday 26 February 2014 19:16:37 Michal Simek wrote: On 02/26/2014 02:17 AM, Charles Manning wrote: Like many platforms, the Altera socfpga platform requires that the preloader be signed in a certain way or the built-in boot ROM

Re: [U-Boot] [PATCH v7 1/3] cm_t335: fix linker file to produce full ELF

2014-02-26 Thread Albert ARIBAUD
On Sat, 22 Feb 2014 17:53:41 +0100, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Newly added cm_t335 was missed in commit 47ed5dd0 which made ARM targets produce full ELF files. Fix its linker script. This change is binary-invariant when only .dynsym, .dynstr, .dynamic, .plt, .interp

Re: [U-Boot] [PATCH v4 0/6] Introducing the Broadcom bcm281xx Architecture

2014-02-26 Thread Albert ARIBAUD
Hi Darwin, On Tue, 11 Feb 2014 11:06:32 -0800, Darwin Rambo dra...@broadcom.com wrote: This patchset introduces the Broadcom bcm281xx family of mobile SoC chips. Broadcom kona hardware blocks are often found in Broadcom mobile SoC chips including the bcm281xx family, so support for some of

Re: [U-Boot] [PATCH v3] arm: ep9315: Return back Cirrus Logic EDB9315A board support

2014-02-26 Thread Albert ARIBAUD
Hi Sergey, On Wed, 12 Feb 2014 17:29:35 +0400, Sergey Kostanbaev sergey.kostanb...@gmail.com wrote: From: Sergey Kostanbaev sergey.kostanb...@gmail.com This patch returns back support for old ep93xx processors family Signed-off-by: Sergey Kostanbaev sergey.kostanb...@fairwaves.ru Cc:

[U-Boot] [Patch v2 2/3] armv8/cache: Flush D-cache, invalidate I-cache for relocation

2014-02-26 Thread York Sun
If D-cache is enabled, we need to flush it, and invalidate i-cache before jumping to the new location. This should be done right after relocation. Signed-off-by: York Sun york...@freescale.com CC: David Feng feng...@phytium.com.cn --- Changed since v1: v2: use macro switch_el invalidate

[U-Boot] [Patch v2 1/3] armv8/cache: Consolidate setting for MAIR and TCR

2014-02-26 Thread York Sun
Move setting for MAIR and TCR to cache_v8.c, to avoid conflict with sub-architecture. Signed-off-by: York Sun york...@freescale.com CC: David Feng feng...@phytium.com.cn --- Changed since v1 v1: Acked-by: David Feng feng...@phytium.com.cn v2: No change. arch/arm/cpu/armv8/cache_v8.c | 22

[U-Boot] [Patch v2 3/3] armv8/cache: Change cache invalidate and flush function

2014-02-26 Thread York Sun
When SoC first boots up, we should invalidate the cache but not flush it. We can use the same function for invalid and flush mostly, with a wrapper. Invalidating large cache can ben slow on emulator, so we postpone doing so until I-cache is enabled, and before enabling D-cache. Signed-off-by:

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

2014-02-26 Thread Albert ARIBAUD
Hi Tom, The following changes since commit 3e11350255d9c5d4bd03c2a65769da84c05d3294: Merge branch 'u-boot/master' into 'u-boot-arm/master' (2014-02-20 13:16:05 +0100) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes up to

Re: [U-Boot] [Patch v2 1/3] armv8/cache: Consolidate setting for MAIR and TCR

2014-02-26 Thread Albert ARIBAUD
Hi York, On Wed, 26 Feb 2014 13:26:02 -0800, York Sun york...@freescale.com wrote: Move setting for MAIR and TCR to cache_v8.c, to avoid conflict with sub-architecture. Signed-off-by: York Sun york...@freescale.com CC: David Feng feng...@phytium.com.cn --- Changed since v1 v1:

Re: [U-Boot] [PATCH 8/8] arm64: Do not double -mstrict-align option

2014-02-26 Thread Albert ARIBAUD
Hi Tom, On Wed, 26 Feb 2014 08:55:43 -0500, Tom Rini tr...@ti.com wrote: On Wed, Feb 26, 2014 at 02:51:05PM +0900, Masahiro Yamada wrote: Seeing arch/arm/cpu/armv8/config.mk, -mstrict-align option was added to both PLATFORM_NO_UNALIGNED and PLATFORM_CPPFLAGS. $(PLATFORM_CPPFLAGS) is

Re: [U-Boot] [Patch v2 1/3] armv8/cache: Consolidate setting for MAIR and TCR

2014-02-26 Thread York Sun
On 02/26/2014 01:53 PM, Albert ARIBAUD wrote: Hi York, On Wed, 26 Feb 2014 13:26:02 -0800, York Sun york...@freescale.com wrote: Move setting for MAIR and TCR to cache_v8.c, to avoid conflict with sub-architecture. Signed-off-by: York Sun york...@freescale.com CC: David Feng

Re: [U-Boot] [PATCH 8/8] arm64: Do not double -mstrict-align option

2014-02-26 Thread Tom Rini
On Wed, Feb 26, 2014 at 10:58:10PM +0100, Albert ARIBAUD wrote: Hi Tom, On Wed, 26 Feb 2014 08:55:43 -0500, Tom Rini tr...@ti.com wrote: On Wed, Feb 26, 2014 at 02:51:05PM +0900, Masahiro Yamada wrote: Seeing arch/arm/cpu/armv8/config.mk, -mstrict-align option was added to both

Re: [U-Boot] [PATCH 8/8] arm64: Do not double -mstrict-align option

2014-02-26 Thread Albert ARIBAUD
Hi Tom, On Wed, 26 Feb 2014 17:03:08 -0500, Tom Rini tr...@ti.com wrote: On Wed, Feb 26, 2014 at 10:58:10PM +0100, Albert ARIBAUD wrote: Hi Tom, On Wed, 26 Feb 2014 08:55:43 -0500, Tom Rini tr...@ti.com wrote: On Wed, Feb 26, 2014 at 02:51:05PM +0900, Masahiro Yamada wrote:

[U-Boot] [PATCH v9 0/14] Driver model implementation, tests, demo and GPIO

2014-02-26 Thread Simon Glass
This series adds a driver model implementation. It is taken from the driver model code developed by: Marek Vasut ma...@denx.de Pavel Herrmann morpheus.i...@gmail.com Viktor Křivák viktor.kri...@gmail.com Tomas Hlavacek tmshl...@gmail.com Please see doc/driver-model/README.txt for

[U-Boot] [PATCH v9 11/14] dm: Add GPIO support and tests

2014-02-26 Thread Simon Glass
Add driver model support for GPIOs. Since existing GPIO drivers do not use driver model, this feature must be enabled by CONFIG_DM_GPIO. After all GPO drivers are converted over we can perhaps remove this config. Tests are provided for the sandbox implementation, and are a sufficient sanity check

[U-Boot] [PATCH v9 02/14] Add cmd_process_error() to report and process errors

2014-02-26 Thread Simon Glass
U-Boot now uses errors defined in include/errno.h which are negative integers. Commands which fail need to report the error and return 1 to indicate failure. Add this functionality in cmd_process_error(). For now this merely reports the error number. It would be possible also to produce a helpful

[U-Boot] [PATCH v9 04/14] dm: Add README for driver model

2014-02-26 Thread Simon Glass
This adds a README to help with understanding of this series. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v9: - Rebase to master Changes in v8: - Adjust simple driver text slightly Changes in v7: - Fix typo in README - Rebase to master - Update cover letter to point to ELCE

[U-Boot] [PATCH v9 12/14] sandbox: Convert GPIOs to use driver model

2014-02-26 Thread Simon Glass
Convert sandbox over to use driver model GPIOs. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Rename platform_data to platdata - Use ofdata_to_platdata feature Changes in v5: None Changes in v4: None Changes in v3:

[U-Boot] [PATCH v9 07/14] dm: Set up driver model after relocation

2014-02-26 Thread Simon Glass
Make driver model available after relocation, by setting up data structures and scanning for devices using compiled-in platform_data and (when available) the device tree. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: -

[U-Boot] [PATCH v9 06/14] sandbox: config: Enable driver model

2014-02-26 Thread Simon Glass
Use driver model in sandbox to permit running of driver model unit test. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[U-Boot] [PATCH v9 09/14] dm: Add a 'dm' command for testing

2014-02-26 Thread Simon Glass
This command is not required for driver model operation, but can be useful for testing. It provides simple dumps of internal data structures. Signed-off-by: Simon Glass s...@chromium.org Signed-off-by: Marek Vasut ma...@denx.de Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com Signed-off-by:

[U-Boot] [PATCH v9 10/14] dm: Add a demonstration/example driver

2014-02-26 Thread Simon Glass
As an example of how to write a uclass and a driver, provide a demo version of each, accessible through the 'demo' command. To use these with driver model, define CONFIG_CMD_DEMO and CONFIG_DM_DEMO. The two demo drivers are enabled with CONFIG_DM_DEMO_SIMPLE and CONFIG_DM_DEMO_SHAPE.

Re: [U-Boot] [PATCH v9 0/14] Driver model implementation, tests, demo and GPIO

2014-02-26 Thread Simon Glass
Hi Tom, On 26 February 2014 15:59, Simon Glass s...@chromium.org wrote: This series adds a driver model implementation. It is taken from the driver model code developed by: Marek Vasut ma...@denx.de Pavel Herrmann morpheus.i...@gmail.com Viktor Křivák viktor.kri...@gmail.com

[U-Boot] [PATCH v9 03/14] yaffs: Remove private list implementation

2014-02-26 Thread Simon Glass
U-Boot already has a list implementation, and files which include both that and the yaffs implementation will get errors: In file included from ydirectenv.h:80:0, from yportenv.h:81, from yaffs_guts.h:19, from yaffs_allocator.h:19,

[U-Boot] [PATCH v9 08/14] dm: Add basic tests

2014-02-26 Thread Simon Glass
Add some tests of driver model functionality. Coverage includes: - basic init - binding of drivers to devices using platform_data - automatic probing of devices when referenced - availability of platform data to devices - lifecycle from bind to probe to remove to unbind - renumbering within a

[U-Boot] [PATCH v9 13/14] dm: Enable gpio command to support driver model

2014-02-26 Thread Simon Glass
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 operation for obtaining the GPIO state, this is used, otherwise a generic version is

Re: [U-Boot] [PATCH] kbuild: post: fix dependency tracking correctly

2014-02-26 Thread Simon Glass
On 25 February 2014 19:26, Masahiro Yamada yamad...@jp.panasonic.com wrote: $(call if_changed,...) must take FORCE as a prerequite. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org ___ U-Boot mailing

[U-Boot] [PATCH v9 01/14] sandbox: Build a device tree file for sandbox

2014-02-26 Thread Simon Glass
Add support for building a device tree for sandbox's CONFIG_OF_HOSTFILE option to make it easier to use device tree with sandbox. This adjusts the Makefile to build a u-boot.dtb file which can be passed to sandbox U-Boot with: ./u-boot -d u-boot.dtb Signed-off-by: Simon Glass

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

2014-02-26 Thread Tom Rini
On Wed, Feb 26, 2014 at 10:40:13PM +0100, Albert ARIBAUD wrote: Hi Tom, The following changes since commit 3e11350255d9c5d4bd03c2a65769da84c05d3294: Merge branch 'u-boot/master' into 'u-boot-arm/master' (2014-02-20 13:16:05 +0100) are available in the git repository at:

[U-Boot] [PATCH] Add 64-bit data support for memory commands

2014-02-26 Thread York Sun
Add 64-bit data for memory commands, such as md, mw, mm, cmp. The new size .q is introduced. For 64-bit architecture, 64-bit data is enabled by default, by detecting compiler __LP64__. It is optional for other architectures. Signed-off-by: York Sun york...@freescale.com --- Please comment if

[U-Boot] [PATCH v6] socfpga: Add socfpga preloader signing to mkimage

2014-02-26 Thread Charles Manning
Like many platforms, the Altera socfpga platform requires that the preloader be signed in a certain way or the built-in boot ROM will not boot the code. This change automatically creates an appropriately signed preloader from an SPL image. The signed image includes a CRC which must, of course,

Re: [U-Boot] [RFC] mmc: Remove ops from struct mmc and put in mmc_ops

2014-02-26 Thread Rommel G Custodio
Dear Pantelis Antoniou Pantelis Antoniou panto at antoniou-consulting.com writes: Remove the in-structure ops and put them in mmc_ops with a constant pointer to it. This makes the mmc structure smaller as well as conserving code space (in theory). First build is latest master. Second

Re: [U-Boot] [Patch v2 1/3] armv8/cache: Consolidate setting for MAIR and TCR

2014-02-26 Thread Albert ARIBAUD
Hi York, On Wed, 26 Feb 2014 13:58:20 -0800, York Sun york...@freescale.com wrote: On 02/26/2014 01:53 PM, Albert ARIBAUD wrote: Hi York, On Wed, 26 Feb 2014 13:26:02 -0800, York Sun york...@freescale.com wrote: Move setting for MAIR and TCR to cache_v8.c, to avoid conflict with

[U-Boot] [PATCH] hush: when a variable expansion is empty, don't drop the parameter

2014-02-26 Thread Stephen Warren
The following shell command fails: if test -z $x; then echo zero; else echo non-zero; fi (assuming $x does not exist, it prints non-zero rather than zero). ... since $x expands to nothing, and the argument is completely dropped, causing too few to be passed to -z, causing cmd_test() to error

[U-Boot] 16 bit I2c read write on omap4 ?

2014-02-26 Thread Vikram Singh Shekhawat
Hi all, I have a doubt how to do 16 bit read write on i2c bus at u-boot. I am working on i2c sensor(of address accessing is 16 bit read/write). I want to configure this sensor at u-boot but i dont know how to do 16 bit i2c md/mw or i2c read/write. I seen the i2c md/mw commands they do not