[U-Boot] [PATCH V2 0/5] ARM: OMAP4/5: Add support to boot with device tree as default

2013-03-24 Thread Sricharan R
With the kernel moving all towards device tree, this series adds support to make the device tree boot as the default for OMAP4/5 platforms. Sricharan R (5): ARM: OMAP5: Rename omap5_evm to omap5_uevm ARM: OMAP5: Set fdt_high to enable booting with Device tree ARM: OMAP5: Support loading

[U-Boot] [PATCH V2 3/5] ARM: OMAP5: Support loading environment variables from txt file

2013-03-24 Thread Sricharan R
The boot.scr has to be built and copied, where as allowing to import the environment from a text file is much more friendly. Thanks to the below patch, which has much more informative change log. commit: d70f54808dfa83b574e1239c3eccbcf3317343e1 (omap4: allow the use of a plain text env file

[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
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 tr...@ti.com for suggesting this. Signed-off-by: Sricharan R r.sricha...@ti.com --- [V2]

[U-Boot] [PATCH V2 2/5] ARM: OMAP5: Set fdt_high to enable booting with Device tree

2013-03-24 Thread Sricharan R
While booting with dt blob, if fdt_high is not set to 0x, the dt blob gets relocated to a high ram address, which the kernel is not able to use without HIGHMEM. So set it to 0x to avoid the issue. Signed-off-by: Sricharan R r.sricha...@ti.com --- include/configs/omap5_common.h |

[U-Boot] [PATCH V2 1/5] ARM: OMAP5: Rename omap5_evm to omap5_uevm

2013-03-24 Thread Sricharan R
The omap5-uevm is the reference board name for OMAP5 soc based platform. So rename it accordingly. Signed-off-by: Sricharan R r.sricha...@ti.com --- [V2] Formatted the patch using -M option to detect renames and edited the subject board/ti/{omap5_evm = omap5_uevm}/Makefile |0

[U-Boot] [PATCH V2 5/5] ARM: OMAP4/5: Make bootz as the default boot command

2013-03-24 Thread Sricharan R
So with OMAP added to multi platform kernel, the uImage no more contains a valid load address. With the uboot already supporting zImage, change the default boot command to bootz instead. Signed-off-by: Sricharan R r.sricha...@ti.com --- include/configs/omap4_common.h |6 +++---

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)) +

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

2013-03-24 Thread Wolfgang Denk
Dear Otavio, In message CAP9ODKoDSwBRp7sweLwX-7LrQyeHaq0JP1fhe2GJ86E=_ev...@mail.gmail.com 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

[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

[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 -

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

2013-03-24 Thread Wolfgang Denk
Signed-off-by: Wolfgang Denk w...@denx.de 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 ---

[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 it to dump

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

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

[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 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 r in the string t, and substitution of the string s. The result is assigned to the environment variable name. If t is not supplied, the previous value of name is used

[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

[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

[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 w...@denx.de --- 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 +++

[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 w...@denx.de --- 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

[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 w...@denx.de --- 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 ---

[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 to print

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 doing

[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

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

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

2013-03-24 Thread Marek Vasut
Dear Wolfgang Denk, Change all #defineTAB sequences into #defineSPACE Signed-off-by: Wolfgang Denk w...@denx.de Acked-by: Marek Vasut ma...@denx.de Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de

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 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 tr...@ti.com for suggesting

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 w...@denx.de 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

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 tr...@ti.com 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] 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 tr...@ti.com wrote: Hello, The following changes since commit 131a1e603b3a8438b84b41940bc6a2051a36e087: ARM: rpi_b: enable SD controller,

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 tr...@ti.com 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 tr...@ti.com wrote: Hello, The following changes since

[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 peter.korsga...@barco.com --- 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

[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 peter.korsga...@barco.com --- board/ti/am335x/board.c

[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

[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 peter.korsga...@barco.com --- 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 ---

[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

[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 peter.korsga...@barco.com --- 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

[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

[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 peter.korsga...@barco.com 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

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 peter.korsga...@barco.com wrote: Hi, This patch series

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 w...@denx.de 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,

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

2013-03-24 Thread Otavio Salvador
Change all #define/ifdefTAB sequences into #define/ifdefSPACE. Signed-off-by: Otavio Salvador ota...@ossystems.com.br --- include/configs/mx23_olinuxino.h | 160 +++ 1 file changed, 80 insertions(+), 80 deletions(-) diff --git

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

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

2013-03-24 Thread Akshay Saraswat
From: Alim Akhtar alim.akh...@samsung.com 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

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/2013 06:43 PM, Nishanth

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 the board.