[U-Boot] [PATCH V9 0/9] EXYNOS5: Enable DWMMC, add FDT support for DWMMC and enable EMMC boot

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com This patch set enables and initialises DWMMC for Exynos5250 on SMDK5250. Adds driver changes required for DWMMC. Adds FDT support for DWMMC. Adds EMMC boot support for SMDK5250. This patch set is based on: EXYNOS: mmc: support DesignWare Controller for

[U-Boot] [PATCH V9 1/9] FDT: Add compatible string for DWMMC

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com Add required compatible information for DWMMC driver. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com --- Changes since V1: No change. Changes since V2:

[U-Boot] [PATCH V9 2/9] EXYNOS5: FDT: Add DWMMC device node data

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com This patch adds DWMMC device node data for exynos5. This patch also adds binding file for DWMMC device node. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com Acked-by: Jaehoon Chung jh80.ch...@samsung.com

[U-Boot] [PATCH V9 3/9] DWMMC: Initialise dwmci and resolve EMMC read write issues

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com This patch enumerates dwmci and set auto stop command during dwmci initialisation. EMMC read/write is not happening in current implementation due to improper fifo size computation. Hence modified the fifo size computation to resolve EMMC read write issues.

[U-Boot] [PATCH V9 4/9] EXYNOS5: DWMMC: Added FDT support for DWMMC

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com This patch adds FDT support for DWMMC, by reading the DWMMC node data from the device tree and initialising DWMMC channels as per data obtained from the node. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Signed-off-by: Amar amarendra...@samsung.com

[U-Boot] [PATCH V9 6/9] SMDK5250: Initialise and Enable DWMMC, support FDT and non-FDT

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com This patch enables and initialises DWMMC for SMDK5250. Supports both FDT and non-FDT. This patch creates a new file 'exynos5-dt.c' meant for FDT support. exynos5-dt.c: This file shall contain all code which supports FDT. Any

[U-Boot] [PATCH V9 7/9] MMC: APIs to support resize of EMMC boot partition

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com This patch adds APIs to access(open / close) and to resize boot partiton of EMMC. Signed-off-by: Amar amarendra...@samsung.com --- Changes since V1: New patch. Changes since V2: 1)Updation of commit message and resubmition of proper patch

[U-Boot] [PATCH V9 5/9] EXYNOS5: DWMMC: Initialise the local variable to avoid unwanted results.

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com This patch initialises the local variable 'shift' to zero. The uninitialised local variable 'shift' had garbage value and was resulting in unwnated results in the functions exynos5_get_mmc_clk() and exynos4_get_mmc_clk(). Signed-off-by: Amar

[U-Boot] [PATCH V9 8/9] SMDK5250: Enable EMMC booting

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com This patch adds support for EMMC booting on SMDK5250. Signed-off-by: Amar amarendra...@samsung.com --- Changes since V1: 1)Updated spl_boot.c file to maintain irom pointer table instead of using the #define values defined in header file.

[U-Boot] [PATCH V9 9/9] COMMON: MMC: Command to support EMMC booting and to resize EMMC boot partition

2013-04-27 Thread amar_g
From: Amar amarendra...@samsung.com This patch adds commands to access(open/close) and resize boot partitions on EMMC. Signed-off-by: Amar amarendra...@samsung.com --- Changes since V1: 1)Combined the common piece of code between 'open' and 'close' operations. Changes since V2:

Re: [U-Boot] [U-boot] mmc write|read howto

2013-04-27 Thread Josh Wu
Hi, Jagan On 4/27/2013 4:51 AM, Jagan Teki wrote: Hi All, I need some help regarding mmc write and mmc read commands usage. I am using a 4GB SD/MMC plus and socked eMMC cards, usually I am formatting these cards on my host pc with fat partition and copy the images into card. while in the

[U-Boot] R: Beginner question: need help about LVDS channels for i.MX6Q SabreSD Board

2013-04-27 Thread Igor Ferrara
Hi Eric, I'm very sorry. I made a mistake. It will not happen again. Igor -Messaggio originale- Da: Eric BĂ©nard [mailto:e...@eukrea.com] Inviato: ven 26/04/2013 18.22 A: Igor Ferrara Cc: u-boot@lists.denx.de Oggetto: Re: [U-Boot] Beginner question: need help about LVDS channels for

Re: [U-Boot] [U-boot] mmc write|read howto

2013-04-27 Thread Jagan Teki
Hi Josh, On Sat, Apr 27, 2013 at 11:55 AM, Josh Wu josh...@atmel.com wrote: Hi, Jagan On 4/27/2013 4:51 AM, Jagan Teki wrote: Hi All, I need some help regarding mmc write and mmc read commands usage. I am using a 4GB SD/MMC plus and socked eMMC cards, usually I am formatting these

Re: [U-Boot] [U-boot] mmc write|read howto

2013-04-27 Thread Josh Wu
On 4/27/2013 5:26 PM, Jagan Teki wrote: Hi Josh, On Sat, Apr 27, 2013 at 11:55 AM, Josh Wu josh...@atmel.com wrote: Hi, Jagan On 4/27/2013 4:51 AM, Jagan Teki wrote: Hi All, I need some help regarding mmc write and mmc read commands usage. I am using a 4GB SD/MMC plus and socked eMMC

Re: [U-Boot] [U-boot] mmc write|read howto

2013-04-27 Thread Josh Wu
Hi, Jagan Since I am working on the fatwrite part for the moment. And there is a bug find in U-Boot fat write. You can check the thread here: http://article.gmane.org/gmane.comp.boot-loaders.u-boot/158939 following patch can fix it: diff --git a/fs/fat/fat_write.c b/fs/fat/fat_write.c

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Stefano Babic
On 27/04/2013 01:33, Marek Vasut wrote: Dear Otavio Salvador, Hi Fabio, Otavio, Marek, On Fri, Apr 26, 2013 at 5:58 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Fri, Apr 26, 2013 at 5:08 PM, Fabio Estevam feste...@gmail.com wrote: On Fri, Apr 26, 2013 at 3:16 PM, Marek

Re: [U-Boot] [PATCH v1] mmc: bfin: Ensure MMR writing is done before next command.

2013-04-27 Thread Mike Frysinger
On Saturday 27 April 2013 07:04:10 Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com - Ensure MMR writing is done before next command. - Invalidate the buffer before starting to read. this patch was written by Cliff, not yourself. the description really doesn't match reality, and

[U-Boot] [PATCH v1] mmc: bfin: Ensure MMR writing is done before next command.

2013-04-27 Thread Sonic Zhang
From: Sonic Zhang sonic.zh...@analog.com - Ensure MMR writing is done before next command. - Invalidate the buffer before starting to read. Signed-off-by: Sonic Zhang sonic.zh...@analog.com --- drivers/mmc/bfin_sdh.c | 30 +++--- 1 files changed, 23 insertions(+), 7

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Marek Vasut
Dear Stefano Babic, On 27/04/2013 01:33, Marek Vasut wrote: Dear Otavio Salvador, Hi Fabio, Otavio, Marek, On Fri, Apr 26, 2013 at 5:58 PM, Marek Vasut ma...@denx.de wrote: Dear Otavio Salvador, On Fri, Apr 26, 2013 at 5:08 PM, Fabio Estevam feste...@gmail.com wrote: On Fri,

Re: [U-Boot] [PATCH v1] mmc: bfin: Ensure MMR writing is done before next command.

2013-04-27 Thread Sonic Zhang
Hi Mike On Sat, Apr 27, 2013 at 7:14 PM, Mike Frysinger vap...@gentoo.org wrote: On Saturday 27 April 2013 07:04:10 Sonic Zhang wrote: From: Sonic Zhang sonic.zh...@analog.com - Ensure MMR writing is done before next command. - Invalidate the buffer before starting to read. this patch was

[U-Boot] CONFIG_ARM_ERRATA_7XXXX question again

2013-04-27 Thread TigerLiu
Hi, experts: I found some macro definitions, such as: #define CONFIG_ARM_ERRATA_743622 #define CONFIG_ARM_ERRATA_751472 So, my question is: Where do i get these errata descriptions? Are there related to specific ARM SOC Vendors? Or just ARM Core's common errata? Best wishes,

[U-Boot] picture format

2013-04-27 Thread TigerLiu
Hi, experts: There are many picture format: BMP / PNG / JPEG etc. How many picture formats does uboot support currently? Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [RFC PATCH 0/1] GPIO support for Microblaze

2013-04-27 Thread Simon Glass
Hi Michal, On Wed, Apr 24, 2013 at 1:30 AM, Michal Simek mon...@monstr.eu wrote: Hi Simon, here is also one small problem if you want to use patman just for one patch then cover letter contains 0/1 but patch itself doesn't contain 1/1. I think will be good to just add 1/1 to patch too.

Re: [U-Boot] [RFC PATCH] gpio: Add support for microblaze xilinx GPIO

2013-04-27 Thread Simon Glass
Hi Michal, On Wed, Apr 24, 2013 at 1:27 AM, Michal Simek michal.si...@xilinx.com wrote: Microblaze uses gpio which is connected to the system reset. Currently gpio subsystem wasn't used for it. Add gpio driver and change Microblaze reset logic to be done via gpio subsystem. There are

Re: [U-Boot] [RFC PATCH] WIP: Simplified device model implementation and demo

2013-04-27 Thread Simon Glass
Hi Pavel, On Fri, Apr 26, 2013 at 8:35 AM, Pavel Herrmann morpheus.i...@gmail.com wrote: Hi On Friday 26 of April 2013 06:30:17 Simon Glass wrote: Hi Peter, On Wed, Apr 24, 2013 at 9:51 AM, Pavel Herrmann morpheus.i...@gmail.com wrote: Hello On Wednesday 24 of April 2013 08:53:09

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Fabio Estevam
Hi Stefano, On Sat, Apr 27, 2013 at 8:09 AM, Stefano Babic sba...@denx.de wrote: I agree that we have not yet found a clear cause of the behavior - but ler me say that is quite bound to the hardware and how voltage is applied to the DDR. As the patch reports to allow to boot kernel in most

Re: [U-Boot] [RFC PATCH] WIP: Simplified device model implementation and demo

2013-04-27 Thread Pavel Herrmann
On Saturday 27 of April 2013 09:08:48 Simon Glass wrote: Hi Pavel, On Fri, Apr 26, 2013 at 8:35 AM, Pavel Herrmann morpheus.i...@gmail.com wrote: Hi On Friday 26 of April 2013 06:30:17 Simon Glass wrote: Hi Peter, On Wed, Apr 24, 2013 at 9:51 AM, Pavel Herrmann

[U-Boot] [PATCH] build: Pull -DBUILD_TAG into separate ifdef

2013-04-27 Thread Marek Vasut
Currently the base setting for CFLAGS is split in two possibilities, one with -DBUILD_TAG appended at the end and one without, the rest of CFLAGS is the same in both cases. Change this so CFLAGS are always set and the -DBUILD_TAG is appended in separate ifdef. Signed-off-by: Marek Vasut

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Otavio Salvador
On Sat, Apr 27, 2013 at 2:28 PM, Fabio Estevam feste...@gmail.com wrote: Hi Stefano, On Sat, Apr 27, 2013 at 8:09 AM, Stefano Babic sba...@denx.de wrote: I agree that we have not yet found a clear cause of the behavior - but ler me say that is quite bound to the hardware and how voltage is

[U-Boot] Sections of RAM used by u boot

2013-04-27 Thread Scott A
Hi All, I am attempting to run a standalone program on an ARM with u boot.Currently at the stage of running the hello world application. I would like to use a lot of the available RAM in the stand alone program i plan to write. It is unclear to me which parts of the RAM are used by u boot and i

Re: [U-Boot] [PATCH] build: Pull -DBUILD_TAG into separate ifdef

2013-04-27 Thread Otavio Salvador
On Sat, Apr 27, 2013 at 2:50 PM, Marek Vasut ma...@denx.de wrote: Currently the base setting for CFLAGS is split in two possibilities, one with -DBUILD_TAG appended at the end and one without, the rest of CFLAGS is the same in both cases. Change this so CFLAGS are always set and the

Re: [U-Boot] Beginner question: need help about LVDS channels for i.MX6Q SabreSD Board

2013-04-27 Thread Fabio Estevam
Hi Igor, On Fri, Apr 26, 2013 at 12:17 PM, Igor Ferrara igor.ferr...@dotsystem.it wrote: Hi, I have a Freescale SabreSD board with an i.MX6 quad-core processor. I'm using u-boot-2009.08 (released with Freescale's LTIB) This list is about the official U-boot project, not the 2009.08 port from

Re: [U-Boot] [PATCH] mx23: Put back RAM voltage level to its original value

2013-04-27 Thread Marek Vasut
Dear Otavio Salvador, On Sat, Apr 27, 2013 at 2:28 PM, Fabio Estevam feste...@gmail.com wrote: Hi Stefano, On Sat, Apr 27, 2013 at 8:09 AM, Stefano Babic sba...@denx.de wrote: I agree that we have not yet found a clear cause of the behavior - but ler me say that is quite bound to the

Re: [U-Boot] Sections of RAM used by u boot

2013-04-27 Thread Wolfgang Denk
Dear Scott A, Please restict your lione lenght to some 70 characters or so; thanks. In message col126-w4202bc71c7016900cb6b8ab6...@phx.gbl you wrote: It is unclear to me which parts of the RAM are used by u boot and i dont wa nt to corrupt data. Is there any clear list or variable that holds

Re: [U-Boot] Displaying characters on the display in u-boot

2013-04-27 Thread Bhargav A K
Hi All Please bring up my post. I'm still waiting for an answer. Kind regards Bhargav From: Bhargav A K Sent: Friday, April 19, 2013 9:29 PM To: u-boot@lists.denx.de; Anatolij Gustschin Subject: RE: [U-Boot] Displaying characters on the display in u-boot

[U-Boot] [PATCH] env: don't add an empty key to the env hashtable

2013-04-27 Thread Lucian Cojocar
If the environment contains an entry like =value \0 we should skip this key/value. Otherwise, U-Boot will enter in an infinite loop. Signed-off-by: Lucian Cojocar cojo...@gmail.com --- lib/hashtable.c |4 1 file changed, 4 insertions(+) diff --git a/lib/hashtable.c b/lib/hashtable.c

Re: [U-Boot] [PATCH] env: don't add an empty key to the env hashtable

2013-04-27 Thread Wolfgang Denk
Dear Lucian Cojocar, In message 1367099787-25602-1-git-send-email-cojo...@gmail.com you wrote: If the environment contains an entry like =value \0 we should skip this key/value. Otherwise, U-Boot will enter in an infinite loop. Signed-off-by: Lucian Cojocar cojo...@gmail.com ---

Re: [U-Boot] [PATCH] env: don't add an empty key to the env hashtable

2013-04-27 Thread Lucian Cojocar
On 04/28/2013 12:35 AM, Wolfgang Denk wrote: Dear Lucian Cojocar, In message 1367099787-25602-1-git-send-email-cojo...@gmail.com you wrote: If the environment contains an entry like =value \0 we should skip this key/value. Otherwise, U-Boot will enter in an infinite loop. Signed-off-by:

[U-Boot] How to make DocBook

2013-04-27 Thread TigerLiu
Hi, experts: How to make doc/DocBook? I tried to execute make htmldocs, it tips: u-boot/doc/DocBook/fs.xml not found Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [RFC PATCH 0/15] RFC: Add tracing functionality to U-Boot

2013-04-27 Thread Simon Glass
This series adds a tracing feature to U-Boot which is useful for profiling boot time and other purposes. The core trace library relies on standard gcc function instrumentation and a microsecond timer which should work correctly on almost any architecture. Generic board is used to avoid the need

[U-Boot] [RFC PATCH 01/15] bootstage; Correct printf types

2013-04-27 Thread Simon Glass
The unstash code is a bit loose with its printf() types, which gives warnings on sandbox. Correct this. Signed-off-by: Simon Glass s...@chromium.org --- common/bootstage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/bootstage.c b/common/bootstage.c index

[U-Boot] [RFC PATCH 09/15] Add a simple test for sandbox trace

2013-04-27 Thread Simon Glass
It is difficult to automatically test tracing on most architectures, but with sandbox it is easy enough to do a simple sanity check. Signed-off-by: Simon Glass s...@chromium.org --- test/trace/test-trace.sh | 88 1 file changed, 88 insertions(+)

[U-Boot] [RFC PATCH 05/15] Support tracing in config.mk when enabled

2013-04-27 Thread Simon Glass
Use -finstrument-functions when tracing is enabled (make FTRACE=1). Tracing is not currently supported by SPL even if sufficient memory is available. When tracing is enabled, we #define FTRACE. This can be used by board config files to conditionally enable the tracing options. Signed-off-by:

[U-Boot] [RFC PATCH 08/15] sandbox: Support trace feature

2013-04-27 Thread Simon Glass
Support tracing on sandbox by adding suitable CONFIG options. To enable it, compile U-Boot with FTRACE=1. The timer functions are marked to skip tracing, since these are called from the tracing code itself, and we want to avoid an infinite loop. Signed-off-by: Simon Glass s...@chromium.org ---

[U-Boot] [RFC PATCH 06/15] Add trace support to generic board

2013-04-27 Thread Simon Glass
Add hooks for tracing to generic board, including: - allow early tracing to start early as possible in U-Boot - reserve memory for trace buffer - copy early trace buffer to main trace buffer after relocation - setup full tracing support after relocation Signed-off-by: Simon Glass

[U-Boot] [RFC PATCH 02/15] Add function to print a number with grouped digits

2013-04-27 Thread Simon Glass
Move bootstage's numbering printing code into a generic place so that it can be used by tracing also. Signed-off-by: Simon Glass s...@chromium.org --- common/bootstage.c | 22 -- include/vsprintf.h | 11 +++ lib/vsprintf.c | 16 3 files changed,

[U-Boot] [RFC PATCH 04/15] Add a trace command

2013-04-27 Thread Simon Glass
Add a trace command with sub-commands to start/stop tracing, print out statistics and dump trace information to memory for later upload to a host. Signed-off-by: Simon Glass s...@chromium.org --- common/Makefile| 1 + common/cmd_trace.c | 133

[U-Boot] [RFC PATCH 14/15] Show stdout on error in fit-test

2013-04-27 Thread Simon Glass
When this test fails it is useful to see the output from U-Boot. Add printing of this information on failure. Signed-off-by: Simon Glass s...@chromium.org --- test/image/test-fit.py | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/test/image/test-fit.py

[U-Boot] [RFC PATCH 13/15] arm: Implement the 'fake' go command

2013-04-27 Thread Simon Glass
Implement this feature on ARM for tracing. It would be nice to have generic bootm support so that it is easily implemented on any arch. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/lib/bootm.c | 33 + 1 file changed, 21 insertions(+), 12 deletions(-)

[U-Boot] [RFC PATCH 07/15] Add proftool to decode profile data

2013-04-27 Thread Simon Glass
This tool provides the facility to decode U-Boot trace data and write out a text file in Linux ftrace format for use with pytimechart. Signed-off-by: Simon Glass s...@chromium.org --- Makefile | 3 +- tools/.gitignore | 1 + tools/Makefile | 6 + tools/proftool.c | 611

[U-Boot] [RFC PATCH 03/15] Add trace library

2013-04-27 Thread Simon Glass
Add a library which supports tracing of execution using built-in gcc features and a microsecond timer. This can be used to record a list of function which are executed, along with a timestamp for each. Later this information can be sent to the host for processing. Signed-off-by: Simon Glass

[U-Boot] [RFC PATCH 12/15] Add a 'fake' go command to the bootm command

2013-04-27 Thread Simon Glass
For tracing it is useful to run as much of U-Boot as possible so as to get a complete picture. Quite a bit of work happens in bootm, and we don't want to have to stop tracing before bootm starts. Add a way of doing a 'fake' boot of the OS - which does everything up to the point where U-Boot is

[U-Boot] [RFC PATCH 15/15] exynos: Avoid function instrumentation for microsecond timer

2013-04-27 Thread Simon Glass
For tracing to work it has to be able to access the microsecond timer without causing a recursive call to the function entry/exit handlers. Add attributes to the relevant functions to support this. Signed-off-by: Simon Glass s...@chromium.org --- arch/arm/cpu/armv7/s5p-common/timer.c | 2 +-

[U-Boot] [RFC PATCH 11/15] Refactor the bootm command to reduce code duplication

2013-04-27 Thread Simon Glass
At present the bootm code is mostly duplicated for the plain 'bootm' command and its sub-command variant. This makes the code harder to maintain and means that changes must be made to several places. Introduce do_bootm_states() which performs selected portions of the bootm work, so that both

[U-Boot] [RFC PATCH 10/15] Clarify bootm OS arguments

2013-04-27 Thread Simon Glass
At present the arguments to bootm are processed in a somewhat confusing way. Sub-functions must know how many arguments their calling functions have processed, and the OS boot function must also have this information. Also it isn't obvious that 'bootm' and 'bootm start' provide arguments in the

Re: [U-Boot] [PATCH 0/5] vybrid: Add vybrid CPU and vf600 tower board support

2013-04-27 Thread Wang Huan-B18965
Hi, Liu Hui, -Original Message- From: Liu Hui-R64343 Sent: Monday, April 15, 2013 10:04 AM To: Wang Huan-B18965; u-boot@lists.denx.de Cc: sba...@denx.de; Estevam Fabio-R49496 Subject: RE: [PATCH 0/5] vybrid: Add vybrid CPU and vf600 tower board support -Original Message- From:

[U-Boot] what is sandbox?

2013-04-27 Thread TigerLiu
Hi, experts: sandbox means what? Is it a file system? Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot