Re: [U-Boot] [PATCH 0/3 V4] EXYNOS5: Add GPIO numbering feature

2013-03-24 Thread Rajeshwari Birje
Hi Minkyu Kang, Please do review the patch set and do let me know if any comments. Regards, Rajeshwari Shinde On Fri, Mar 22, 2013 at 3:43 AM, Simon Glass wrote: > Hi Rajeshwari, > > On Thu, Mar 21, 2013 at 4:33 AM, Rajeshwari Shinde > wrote: >> Changes in V2: >> - Enabled CMD_GPIO as

Re: [U-Boot] [PATCH V2 4/5] ARM: OMAP4/5: Change the default boot command to work with device tree

2013-03-24 Thread Sricharan R
On Sunday 24 March 2013 07:39 PM, Tom Rini wrote: > On Sun, Mar 24, 2013 at 11:54:07AM +0530, Sricharan R wrote: > >> Now with kernel moving to all device tree, the default >> boot command is changed to pass the device tree blob. >> Also, adding the findfdt command to get the dt-blob >> based on t

Re: [U-Boot] [PATCH] omap5: Allow use of a plain text env file

2013-03-24 Thread Sricharan R
On Monday 25 March 2013 08:09 AM, Nishanth Menon wrote: > On 03/23/2013 11:20 PM, Sricharan R wrote: >> Hi Nishanth, >> >> On Saturday 23 March 2013 08:57 PM, Nishanth Menon wrote: >>> On 03/22/2013 08:03 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/22

[U-Boot] [PATCH] I2C: Exynos5: Reduce the Delay in s3c24x0 i2c driver

2013-03-24 Thread Akshay Saraswat
From: Alim Akhtar When no device is conneted on the i2c channel then i2c_probe command was taking too much of time (around 3 mins) to come out from the loop. Now reduced the delay loop to milisec value. This is tested on smdk5250 only. As i dont have s3c24x0 boards, so i cannt test on these baord

Re: [U-Boot] [PATCH] omap5: Allow use of a plain text env file

2013-03-24 Thread Nishanth Menon
On 03/23/2013 11:20 PM, Sricharan R wrote: Hi Nishanth, On Saturday 23 March 2013 08:57 PM, Nishanth Menon wrote: On 03/22/2013 08:03 PM, Tom Rini wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/22/2013 06:43 PM, Nishanth Menon wrote: For production systems it is better to use scr

[U-Boot] [PATCH] mx23_olinuxino: Change definitions to use spaces instead of tabs

2013-03-24 Thread Otavio Salvador
Change all "#define/ifdef" sequences into "#define/ifdef". Signed-off-by: Otavio Salvador --- include/configs/mx23_olinuxino.h | 160 +++ 1 file changed, 80 insertions(+), 80 deletions(-) diff --git a/include/configs/mx23_olinuxino.h b/include/configs/mx23_ol

Re: [U-Boot] PATMAN: set In-Reply-To header?

2013-03-24 Thread Simon Glass
Hi Wolfgang, On Mar 24, 2013 3:22 AM, "Wolfgang Denk" wrote: > > Hi Simon, > > is there a way in patman to set the In-Reply-To header, or other > methods to make sure re-submitted patches are properly threaded? I think Doug sent a patch for this recently. I will check with him. Regards, Simon

Re: [U-Boot] [PATCH 0/6] Falcon boot mode for spl_mmc

2013-03-24 Thread stefano babic
Am 24/03/2013 23:11, schrieb Peter Korsgaard: > Ehh, seems I fat fingered the subject :/ > No problem, I was thinking about what a strange patch could be... ;-) Regards, Stefano Babic > On Sun, Mar 24, 2013 at 10:51 PM, Peter Korsgaard > wrote: >> Hi, >> >> This patch series adds falcon boot m

[U-Boot] [PATCH 0/6] Falcon boot mode for spl_mmc

2013-03-24 Thread Peter Korsgaard
Ehh, seems I fat fingered the subject :/ On Sun, Mar 24, 2013 at 10:51 PM, Peter Korsgaard wrote: > Hi, > > This patch series adds falcon boot mode for MMC (raw and FAT), similar to > the existing nand support. > > This series applies on top of the recent spl_mmc variable cleanup: > http://lists.

[U-Boot] sba...@denx.de

2013-03-24 Thread Peter Korsgaard
Hi, This patch series adds falcon boot mode for MMC (raw and FAT), similar to the existing nand support. This series applies on top of the recent spl_mmc variable cleanup: http://lists.denx.de/pipermail/u-boot/2013-March/149674.html As an example, it includes a RFC patch adding falcon boot suppo

[U-Boot] [PATCH 2/6] spl_mmc: mmc_load_image_fat(): Add filename argument and move fat init out

2013-03-24 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard --- drivers/mmc/spl_mmc.c | 27 +-- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index 0c50657..fac6f2d 100644 --- a/drivers/mmc/spl

[U-Boot] [PATCH 3/6] spl_mmc: add Falcon mode support for FAT variant

2013-03-24 Thread Peter Korsgaard
If Falcon mode support is enabled (and the system isn't directed into booting u-boot), it will instead try to load kernel from CONFIG_SPL_FAT_LOAD_KERNEL_NAME file and kernel argument parameters from CONFIG_SPL_FAT_LOAD_ARGS_NAME, both from the same partition as u-boot. Signed-off-by: Peter Korsga

[U-Boot] [PATCH 4/6] spl_mmc: mmc_load_image_raw(): Add sector argument

2013-03-24 Thread Peter Korsgaard
So we can use it for falcon mode as well. Signed-off-by: Peter Korsgaard --- drivers/mmc/spl_mmc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index d250b40..d710c0d 100644 --- a/drivers/mmc/spl_mmc.c +++ b/d

[U-Boot] [PATCH 5/6] spl_mmc: add Falcon mode support for raw variant

2013-03-24 Thread Peter Korsgaard
If Falcon mode support is enabled (and the system isn't directed into booting u-boot), it will instead try to load kernel from sector CONFIG_SYS_MMCSD_RAW_MODE_KERNEL_SECTOR and CONFIG_SYS_MMCSD_RAW_MODE_ARGS_SECTORS of kernel argument parameters starting from sector CONFIG_SYS_MMCSD_RAW_MODE_ARGS_

[U-Boot] [PATCH 6/6] RFC: am335x: enable falcon boot mode for mmc (raw and fat)

2013-03-24 Thread Peter Korsgaard
Jump into full u-boot mode if a 'c' character is received on the uart. We need to adjust the spl bss/malloc area to not overlap with the loadaddr of the kernel (sdram + 32k), so move it past u-boot instead. Signed-off-by: Peter Korsgaard --- board/ti/am335x/board.c |9 + includ

[U-Boot] [PATCH 1/6] spl_mmc: return error from mmc_load_image_{raw, fat} rather than hanging

2013-03-24 Thread Peter Korsgaard
So we can instead fallback to doing something else on errors. Signed-off-by: Peter Korsgaard --- drivers/mmc/spl_mmc.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/drivers/mmc/spl_mmc.c b/drivers/mmc/spl_mmc.c index 7efdcb8..0c50657 100644 ---

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

2013-03-24 Thread Albert ARIBAUD
Hi Tom, On Sun, 24 Mar 2013 12:51:09 -0400, Tom Rini wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 03/24/2013 12:48 PM, Albert ARIBAUD wrote: > > Hi Tom, > > > > On Fri, 22 Mar 2013 16:18:39 -0400, Tom Rini wrote: > > > >> Hello, > >> > >> The following changes since commi

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

2013-03-24 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/24/2013 12:48 PM, Albert ARIBAUD wrote: > Hi Tom, > > On Fri, 22 Mar 2013 16:18:39 -0400, Tom Rini wrote: > >> Hello, >> >> The following changes since commit >> 131a1e603b3a8438b84b41940bc6a2051a36e087: >> >> ARM: rpi_b: enable SD controll

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

2013-03-24 Thread Albert ARIBAUD
Hi Tom, On Fri, 22 Mar 2013 16:18:39 -0400, Tom Rini wrote: > Hello, > > The following changes since commit 131a1e603b3a8438b84b41940bc6a2051a36e087: > > ARM: rpi_b: enable SD controller, add related env/cmds (2013-03-20 15:32:16 > +0100) > > are available in the git repository at: > >

Re: [U-Boot] PATMAN: set In-Reply-To header?

2013-03-24 Thread Otavio Salvador
On Sun, Mar 24, 2013 at 7:22 AM, Wolfgang Denk wrote: > Hi Simon, > > is there a way in patman to set the In-Reply-To header, or other > methods to make sure re-submitted patches are properly threaded? AFAIK this is not yet support but it would be awesome as patman does make life much easier to h

Re: [U-Boot] [PATCH V2 4/5] ARM: OMAP4/5: Change the default boot command to work with device tree

2013-03-24 Thread Tom Rini
On Sun, Mar 24, 2013 at 11:54:07AM +0530, Sricharan R wrote: > Now with kernel moving to all device tree, the default > boot command is changed to pass the device tree blob. > Also, adding the findfdt command to get the dt-blob > based on the board. > > Thanks to Tom Rini for suggesting this. [s

Re: [U-Boot] Handling images(.jpg, .bmp etc) in u-boot

2013-03-24 Thread Wolfgang Denk
Dear bhargavak, In message <1364124418778-150541.p...@n7.nabble.com> you wrote: > > The problem I'm facing is how do I load my images into eMMC flash. There is a several ways to do that. > The tftp command the manual uses seems pretty staright forward, but it does > require a network connection

Re: [U-Boot] [PATCH v2 08/11] m28evk: white space cleanup

2013-03-24 Thread Marek Vasut
Dear Wolfgang Denk, > Change all "#define" sequences into "#define" > > Signed-off-by: Wolfgang Denk Acked-by: Marek Vasut Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Handling images(.jpg, .bmp etc) in u-boot

2013-03-24 Thread bhargavak
Hi Wolfgang Denk Wolfgang Denk wrote > What exactly is the problem? JUst read the images from whichever > storage medium you may be using, and use the bmp command to displaty > them. Kindly pardon me for my ignorance, The problem I'm facing is how do I load my images into eMMC flash. The tftp

[U-Boot] PATMAN: set In-Reply-To header?

2013-03-24 Thread Wolfgang Denk
Hi Simon, is there a way in patman to set the In-Reply-To header, or other methods to make sure re-submitted patches are properly threaded? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groe

Re: [U-Boot] Handling images(.jpg, .bmp etc) in u-boot

2013-03-24 Thread Wolfgang Denk
Dear bhargavak, In message <1364111315717-150524.p...@n7.nabble.com> you wrote: > > I have currently implemented u-boot splash screen, a battery charging > animation(as a series images) in u-boot on my board, all of the above by > creating a GIMP header (.h) for each of the image. Why are you do

[U-Boot] [PATCH v2 03/11] "env grep" - add options to grep in name, value, or both.

2013-03-24 Thread Wolfgang Denk
Add options to "env grep" command: -n : search only the envrironment variable names -v : search only their values -b : search both names and values (= default) An option "--" will stop parsing options, so to print variables that contain the striing "- " please use: env grep -- "- " Or t

[U-Boot] [PATCH v2 10/11] amcc-common.h: minor white space cleanup

2013-03-24 Thread Wolfgang Denk
Align some comments. Signed-off-by: Wolfgang Denk --- Changes in v2: None include/configs/amcc-common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h index f2f522d..928b31f 100644 --- a/include/configs/amc

[U-Boot] [PATCH v2 02/11] "env grep" - reimplement command using hexport_r()

2013-03-24 Thread Wolfgang Denk
Also drop hstrstr_r() which is not needed any more. The new code is way more flexible. Signed-off-by: Wolfgang Denk --- Changes in v2: - Fix ERROR: "foo * bar" should be "foo *bar" errors - Fix trailing whitespace error - Note: the "Alignment should match open parenthesis" check will not be fi

[U-Boot] [PATCH v2 11/11] amcc-common.h: enable support for "env grep", "setexpr", and regex.

2013-03-24 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk --- Changes in v2: None include/configs/amcc-common.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/amcc-common.h b/include/configs/amcc-common.h index 928b31f..80e5735 100644 --- a/include/configs/amcc-common.h +++ b/include/configs/amcc-com

[U-Boot] [PATCH v2 06/11] setexpr: simplify code, improve help message

2013-03-24 Thread Wolfgang Denk
Simplify the argument checking for the "setexpr" command. This is done mainly to make future extensions easier. Also improve the help message for the one argument version of the command - this does not "load an address", but a value, which in this context may be a plain number or a pointer derefe

[U-Boot] [PATCH v2 04/11] Add SLRE - Super Light Regular Expression library

2013-03-24 Thread Wolfgang Denk
Downloaded from http://slre.sourceforge.net/ and adapted for U-Boot environment. Used to implement regex operations on environment variables. Code size is ~ 3.5 KiB on PPC. To enable this code, define the CONFIG_REGEX option in your board config file. Note: There are more recent versions of t

[U-Boot] [PATCH v2 07/11] setexpr: add regex substring matching and substitution

2013-03-24 Thread Wolfgang Denk
Add "setexpr name gsub r s [t]" and "setexpr name sub r s [t]" commands which implement substring matching for the regular expression in the string , and substitution of the string . The result is assigned to the environment variable . If is not supplied, the previous value of is used instead.

[U-Boot] [PATCH v2 01/11] hashtable: preparations to use hexport_r() for "env grep"

2013-03-24 Thread Wolfgang Denk
The output of "env grep" is unsorted, and printing is done by a private implementation to parse the hash table. We have all the needed code in place in hexport_r() alsready, so let's use this instead. Here we prepare the code for this, without any functional changes yet. Signed-off-by: Wolfgang

[U-Boot] [PATCH v2 08/11] m28evk: white space cleanup

2013-03-24 Thread Wolfgang Denk
Change all "#define" sequences into "#define" Signed-off-by: Wolfgang Denk --- Changes in v2: - Do the white space cleanup globally, and as separate patch include/configs/m28evk.h | 256 +++ 1 file changed, 128 insertions(+), 128 deletions(-) diff -

[U-Boot] [PATCH v2 0/11] Add Regular Expressions Support

2013-03-24 Thread Wolfgang Denk
The following patch series adds the SLRE "Super Light Regular Expression" library and uses this to add regex support for the "env grep" (aka "grepenv") command, and new functions (or operators?) "gsub" and "sub" to the "setexpr" command. The rework to "env grep" also fixed a few bugs (which caused

[U-Boot] [PATCH v2 09/11] m28evk: enable "env grep" and regexp support

2013-03-24 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk Conflicts: include/configs/m28evk.h --- Changes in v2: None include/configs/m28evk.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h index 95eb735..4ce4058 100644 --- a/include/configs/m28evk.h +++ b

[U-Boot] [PATCH v2 05/11] "env grep" - add support for regular expression matches

2013-03-24 Thread Wolfgang Denk
When CONFIG_REGEX is enabled, the new option "-e" becomes available which causes regular expression matches to be used. This allows for example things like these: - print all MAC addresses: => env grep -e eth.*addr eth1addr=00:10:ec:80:c5:15 ethaddr=00:10:ec:00:c5:15 - p

[U-Boot] Handling images(.jpg, .bmp etc) in u-boot

2013-03-24 Thread bhargavak
Hi I have currently implemented u-boot splash screen, a battery charging animation(as a series images) in u-boot on my board, all of the above by creating a GIMP header (.h) for each of the image. The problem I'm facing is, the size of the u-boot binary is ever increasing, as the headers for each

Re: [U-Boot] [PATCH 0/9] Add Regular Expressions Support

2013-03-24 Thread Wolfgang Denk
Dear Otavio, In message you wrote: > > > The following patch series adds the SLRE "Super Light Regular > > Expression" library and uses this to add regex support for > > the "env grep" (aka "grepenv") command, and new functions (or > > operators?) "gsub" and "sub" to the "setexpr" command. ... >

Re: [U-Boot] [PATCH 7/9] setexpr: add regex substring matching and substitution

2013-03-24 Thread Wolfgang Denk
Dear Marek, In message <201303222337.00146.ma...@denx.de> you wrote: > > > +static char *memstr(const char *s1, int l1, const char *s2, int l2) > > +{ > > + if (!l2) > > + return (char *) s1; > > + > > + while (l1 >= l2) { > > + l1--; > > + if (!memcmp(s1, s2, l2)