Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
Hi Tom, On 08/23/2012 11:39 PM, Tom Rini wrote: On 08/23/2012 01:12 AM, Stefan Roese wrote: This patch enables the SPL framework to be used on powerpc platforms and not only ARM. [snip] +#ifdef CONFIG_ARM gd = gdata; +#endif So, here's what I don't understand. On ARM, in

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
Hi Tom, On 08/23/2012 11:52 PM, Tom Rini wrote: On 08/23/2012 01:12 AM, Stefan Roese wrote: This patch enables the SPL framework to be used on powerpc platforms and not only ARM. [snip] +#ifdef CONFIG_PPC +static void __noreturn jump_to_image_linux(void *arg) +{ +debug(Entering

Re: [U-Boot] [PATCH 4/6 v2] arm:exynos4:trats: Use pinmux for mmc configuration

2012-08-24 Thread Piotr Wilczek
Dear Jaehoon Chung, -Original Message- From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] Sent: Friday, August 24, 2012 3:18 AM To: Piotr Wilczek Cc: u-boot@lists.denx.de; Kyungmin Park Subject: Re: [U-Boot] [PATCH 4/6 v2] arm:exynos4:trats: Use pinmux for mmc configuration On

[U-Boot] which file would contain SRAM address and FLASH address range

2012-08-24 Thread facing_it_all
Hello all, I am new to u-boot. I want to know in which file I can find the adress range of SRAM and FLASH chip. Both of them are memory mapped. I am using a u-boot source code customised to a client's board. i need to change the address of FLASH. Any sugesstion would be helpful Thanks in

Re: [U-Boot] [PATCH 3/3] mxs: Rename 'mx28_dram_init' to 'mxs_dram_init'

2012-08-24 Thread Stefano Babic
On 24/08/2012 01:06, Otavio Salvador wrote: Ping? Hi Otavio, Marek has already acked it, we get the ACK from Veli-Pekkola this morning. I have put the series in my ready to be merged queue. It will be merged soon. Regards, Stefano On Sun, Aug 19, 2012 at 12:07 PM, Marek Vasut

[U-Boot] [PATCH 0/6] gpt: GUID Partition Table (GPT) restoration

2012-08-24 Thread Lukasz Majewski
This patch series provides a new command - gpt for eMMC partition table (in the GPT format) restoration and display. As a pre-work, some cleanup at the part_efi.c file was performed to remove custom macros and make GPT related structures more readable. The GPT detailed description has been

[U-Boot] [PATCH 2/6] gpt: Replace the leXX_to_int() calls with ones defined at compiler.h

2012-08-24 Thread Lukasz Majewski
Custom definitions of le_XX_to_int functions have been replaced with standard ones, defined at compiler.h Signed-off-by: Chang Hyun Park chchch.p...@samsung.com Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- disk/part_efi.c | 109

[U-Boot] [PATCH 3/6] gpt: Replacement of GPT structures members with ones indicating endianness and size

2012-08-24 Thread Lukasz Majewski
Replacement of several GPT related structures members with ones indicating its endianness and proper size. Signed-off-by: Chang Hyun Park chchch.p...@samsung.com Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- disk/part_efi.h |

[U-Boot] [PATCH 1/6] gpt:doc: GPT (GUID Partition Table) documentation

2012-08-24 Thread Lukasz Majewski
Documentation of the GPT table format. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- doc/README.gpt | 199 1 files changed, 199 insertions(+), 0 deletions(-) create mode

[U-Boot] [PATCH 6/6] gpt: Enable support for GPT partition table restoration at Samsung's Trats

2012-08-24 Thread Lukasz Majewski
Enable support for GPT partition table restoration at Samsung's Trats development board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- include/configs/trats.h | 23 ++- 1 files changed, 22 insertions(+), 1

[U-Boot] [PATCH 5/6] gpt: Support for new gpt command

2012-08-24 Thread Lukasz Majewski
New command - gpt is now supported. It shows and restores the GPT partition table. It looks into the partitions environment variable for partitions definition. It can be enabled at target configuration file with CONFIG_CMD_GPT. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by:

[U-Boot] [PATCH 4/6] gpt: Support for GPT (GUID Partition Table) restoration

2012-08-24 Thread Lukasz Majewski
The restoration of GPT table (both primary and secondary) is now possible. Simple GUID generation is supported. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- disk/part_efi.c | 225

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
Hi Tom, On 08/23/2012 09:31 PM, Tom Rini wrote: @@ -89,7 +106,11 @@ void spl_parse_image_header(const struct image_header *header) spl_image.size = __be32_to_cpu(header-ih_size) + header_size; spl_image.entry_point = __be32_to_cpu(header-ih_load); /* Load

Re: [U-Boot] [PATCH 4/6 v2] arm:exynos4:trats: Use pinmux for mmc configuration

2012-08-24 Thread Jaehoon Chung
Hi Piotr, - for (i = 0; i 7; i++) { - if (i == 2) - continue; - /* GPK0[0:6] special function 2 */ - s5p_gpio_cfg_pin(gpio-k0, i, 0x2); - /* GPK0[0:6] pull disable */ - s5p_gpio_set_pull(gpio-k0, i, GPIO_PULL_NONE); -

[U-Boot] gpt: GUID/UUID - GPT restoration - open questions

2012-08-24 Thread Lukasz Majewski
Hi Stephen, I'm writing to you, since I've posted a patch series regarding GPT support for Samsung Trats board (you were on the CC). e.g. http://patchwork.ozlabs.org/patch/179785/ I think, that we can cooperate to provide better EFI/GPT support. In mine implementation the gpt command (with

Re: [U-Boot] [PATCH 4/6 v2] arm:exynos4:trats: Use pinmux for mmc configuration

2012-08-24 Thread Piotr Wilczek
Hi Jaehoon, -Original Message- From: Jaehoon Chung [mailto:jh80.ch...@samsung.com] Sent: Friday, August 24, 2012 10:20 AM To: Piotr Wilczek Cc: 'Jaehoon Chung'; u-boot@lists.denx.de; 'Kyungmin Park' Subject: Re: [U-Boot] [PATCH 4/6 v2] arm:exynos4:trats: Use pinmux for mmc

[U-Boot] [PATCH 2/2] dfu:usb:fix: Read the filesize environment variable only when file read

2012-08-24 Thread Lukasz Majewski
The filesize environment variable shall be read only when relevant file is read. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/dfu/dfu_mmc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 1/2] dfu:usb: Support for ext4

2012-08-24 Thread Lukasz Majewski
Support for ext4 file system handling at DFU. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/dfu/dfu_mmc.c | 32 ++-- 1 files changed, 26 insertions(+), 6 deletions(-) diff --git

Re: [U-Boot] [PATCH 2/4] spi: atmel: add WDRBT bit to avoid receive overrun

2012-08-24 Thread Bo Shen
Hi Andreas, On 8/22/2012 2:56, Mike Frysinger wrote: On Tuesday 21 August 2012 07:11:18 Andreas Bießmann wrote: On 20.08.2012 08:32, Bo Shen wrote: The atmel at91sam9x5 series spi has feature to avoid receive overren Using the patch to enable it Signed-off-by: Bo Shen voice.s...@atmel.com

Re: [U-Boot] [PATCH 1/4] spiflash: at25: using common spi flash operation

2012-08-24 Thread Bo Shen
Hi Mike, On 8/22/2012 2:55, Mike Frysinger wrote: On Tuesday 21 August 2012 07:26:27 Andreas Bießmann wrote: On 20.08.2012 08:32, Bo Shen wrote: Using common spi flash operation function to replace private operation funtion This patch is based on http://patchwork.ozlabs.org/patch/177896/

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Heiko Schocher
Hello Stefan On 24.08.2012 10:17, Stefan Roese wrote: Hi Tom, On 08/23/2012 09:31 PM, Tom Rini wrote: @@ -89,7 +106,11 @@ void spl_parse_image_header(const struct image_header *header) spl_image.size = __be32_to_cpu(header-ih_size) + header_size;

Re: [U-Boot] [PATCH v3 0/6] env: handle special variables and selective env default

2012-08-24 Thread Gerlando Falauto
On 08/13/2012 12:11 PM, Wolfgang Denk wrote: Dear Holger Brunck, In message5028ab80.5030...@keymile.com you wrote: time to do updates here I propose the following. I could prepare a branch as you suggested based on current denx master with this changeset. But where and how should I push it

[U-Boot] [PATCH v4 0/7] env: handle special variables and selective env default

2012-08-24 Thread Gerlando Falauto
This patchset modifies the handling of all the operations on the environment (set/import/default) so to unify handling of special variables. On top of that we implement a selective env default. A selective env import would imply a user API change and should therefore be discussed separately.

[U-Boot] [PATCH v4 1/7] env: cosmetic: drop assignment i = iomux_doenv()

2012-08-24 Thread Gerlando Falauto
iomux_doenv() can only return 0 or 1. So there is no need to save its return value in variable i, as checking its truth value within an if statement is enough. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com --- common/cmd_nvedit.c |5 ++--- 1 file changed, 2 insertions(+), 3

[U-Boot] [PATCH v4 3/7] env: make himport_r() selective on variables

2012-08-24 Thread Gerlando Falauto
Add 2 new arguments to himport_r(): o nvars, vars: number and list of variables to take into account (0 means ALL) NOTE: This patch does not change the current behaviour. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com --- common/cmd_nvedit.c |3 ++- common/env_common.c |

[U-Boot] [PATCH v4 5/7] env: check and apply changes on delete/destroy

2012-08-24 Thread Gerlando Falauto
Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com --- common/cmd_nvedit.c |2 +- include/search.h|5 +++-- lib/hashtable.c | 16 ++-- 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/common/cmd_nvedit.c b/common/cmd_nvedit.c index

[U-Boot] [PATCH v4 6/7] env: make env default selective, check and apply

2012-08-24 Thread Gerlando Falauto
Change the syntax (user API) for env default: -f: override write-once variables var... : accept individual variable(s) -a: all (resetting the whole env is NOT the default behavior) Enable variable checking and make changes effective by enabling do_apply argument to himport_r().

[U-Boot] [PATCH v4 2/7] env: unify logic to check and apply changes

2012-08-24 Thread Gerlando Falauto
The logic of checking special parameters (e.g. baudrate, stdin, stdout, for a valid value and/or whether can be overwritten) and applying the new value to the running system is now all within a single function env_check_apply() which can be called whenever changes are made to the environment, no

[U-Boot] [PATCH v4 4/7] env: add check/apply logic to himport_r()

2012-08-24 Thread Gerlando Falauto
Change hashtable so that a callback function will decide whether a variable can be overwritten, and possibly apply the changes. So add a new field to struct hsearch_data: o apply callback function to check whether a variable can be overwritten, and possibly immediately apply the changes;

[U-Boot] [PATCH v4 7/7] env: delete selected vars not present in imported env

2012-08-24 Thread Gerlando Falauto
When variables explicitly specified on the command line are not present in the imported env, delete them from the running env. If the variable is also missing from the running env, issue a warning. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com --- lib/hashtable.c | 48

Re: [U-Boot] [PATCH 1/2 V2] PMIC: MAX77686: Add support for MAX77686

2012-08-24 Thread Rajeshwari Birje
Hi Joonyoung Shim, Thank you for comments. Sorry for late reply. On Fri, Jun 15, 2012 at 1:20 PM, Joonyoung Shim dofm...@gmail.com wrote: Hi, 2012/5/23 Rajeshwari Birje rajeshwari.bi...@gmail.com: ccing Lukasz Majewski. On Wed, May 23, 2012 at 2:27 PM, Rajeshwari Shinde

[U-Boot] [PATCH 0/2 V3] EXYNOS5: Add MAX77686 support

2012-08-24 Thread Rajeshwari Shinde
This patch set adds support for MAX77686 support. Changes in V3: - Rebased on latest u-boot-samsung tree Rajeshwari Shinde (2): PMIC: MAX77686: Add support for MAX77686 SMDK5250: Config: Enable MAX77686 pmic chip board/samsung/smdk5250/smdk5250.c |4 + drivers/misc/Makefile

[U-Boot] [PATCH 1/2 V3] PMIC: MAX77686: Add support for MAX77686

2012-08-24 Thread Rajeshwari Shinde
This patch adds driver and register definitions for PMIC chip MAX77686. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com Acked-by: Lukasz Majewski l.majew...@samsung.com Acked-by: Simon Glass s...@chromium.org --- Changes in V3: - None. drivers/misc/Makefile|1 +

[U-Boot] [PATCH 2/2 V3] SMDK5250: Config: Enable MAX77686 pmic chip

2012-08-24 Thread Rajeshwari Shinde
This patch enables MAX77686 pmic chip for SMDK5250. Signed-off-by: Rajeshwari Shinde rajeshwar...@samsung.com --- Changes in V3: - Rebased on latest u-boot-samsung tree board/samsung/smdk5250/smdk5250.c |4 include/configs/smdk5250.h|5 + 2 files changed, 9

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
Hi Heiko, On 08/24/2012 12:17 PM, Heiko Schocher wrote: BTW: There also seems to be a bug in some of the SPL loaders: For example in drivers/mtd/nand/nand_spl_load.c: ... if (header-ih_os == IH_OS_LINUX) { /* happy - was a linux */

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
On 08/24/2012 12:56 PM, Stefan Roese wrote: I still would like to move to my suggestion to not copy the header and use the mkimage header values ih_load and ih_ep directly. Right now I don't see any showstopper for doing it this way. I'll send a patch to change this shortly (if everything

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Daniel Schwierzeck
Hi Stefan, 2012/8/24 Stefan Roese s...@denx.de: On 08/24/2012 12:56 PM, Stefan Roese wrote: I still would like to move to my suggestion to not copy the header and use the mkimage header values ih_load and ih_ep directly. Right now I don't see any showstopper for doing it this way. I'll send a

Re: [U-Boot] [PATCH] efikamx: sync Smartbook DDR settings in DCD with those found in Genesi's production U-Boot

2012-08-24 Thread Stefano Babic
On 24/08/2012 15:16, Matt Sealey wrote: Oops. I picked the wrong commit id out of my local tree and there's a subtle mistake here.. It won't break anything but its not the one I wanted to submit. I'll respond this one.. Do not worry - I mark this pacth as read to be merged in my queue,

[U-Boot] Blackfin BF54x Silicon revision 0.4 and uClinux

2012-08-24 Thread Dimitar Penev
Hello Gents, My question is not directly applicable with u-boot but I think here I may find the answer which I still don't get from the Analog Device forum. Does anyone got working hardware based on Blackfin BF54x rev 0.4 (the current silicon revision) and uClinux

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
Hi Daniel, On 08/24/2012 01:49 PM, Daniel Schwierzeck wrote: I still would like to move to my suggestion to not copy the header and use the mkimage header values ih_load and ih_ep directly. Right now I don't see any showstopper for doing it this way. I'll send a patch to change this shortly

Re: [U-Boot] [PATCH 2/2] dfu:usb:fix: Read the filesize environment variable only when file read

2012-08-24 Thread Marek Vasut
Dear Lukasz Majewski, The filesize environment variable shall be read only when relevant file is read. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Marek Vasut ma...@denx.de --- drivers/dfu/dfu_mmc.c |2 +-

Re: [U-Boot] [PATCH v4 1/7] env: cosmetic: drop assignment i = iomux_doenv()

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, iomux_doenv() can only return 0 or 1. So there is no need to save its return value in variable i, as checking its truth value within an if statement is enough. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com Reviewed-by: Marek Vasut ma...@denx.de ---

Re: [U-Boot] [PATCH 1/2] dfu:usb: Support for ext4

2012-08-24 Thread Marek Vasut
Dear Lukasz Majewski, Support for ext4 file system handling at DFU. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Reviewed-by: Marek Vasut ma...@denx.de [...] Best regards, Marek Vasut

Re: [U-Boot] [PATCH v4 2/7] env: unify logic to check and apply changes

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, The logic of checking special parameters (e.g. baudrate, stdin, stdout, for a valid value and/or whether can be overwritten) and applying the new value to the running system is now all within a single function env_check_apply() which can be called whenever changes are

Re: [U-Boot] [PATCH v4 3/7] env: make himport_r() selective on variables

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, Add 2 new arguments to himport_r(): o nvars, vars: number and list of variables to take into account (0 means ALL) NOTE: This patch does not change the current behaviour. Reviewed-by: Marek Vasut ma...@denx.de Signed-off-by: Gerlando Falauto

Re: [U-Boot] [PATCH v4 4/7] env: add check/apply logic to himport_r()

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, Change hashtable so that a callback function will decide whether a variable can be overwritten, and possibly apply the changes. So add a new field to struct hsearch_data: o apply callback function to check whether a variable can be overwritten, and possibly

Re: [U-Boot] [PATCH v4 5/7] env: check and apply changes on delete/destroy

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com --- common/cmd_nvedit.c |2 +- include/search.h|5 +++-- lib/hashtable.c | 16 ++-- 3 files changed, 14 insertions(+), 9 deletions(-) [...] Reviewed-by: Marek Vasut

Re: [U-Boot] [PATCH v4 6/7] env: make env default selective, check and apply

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, Change the syntax (user API) for env default: -f: override write-once variables var... : accept individual variable(s) -a: all (resetting the whole env is NOT the default behavior) Enable variable checking and make changes effective by enabling do_apply

Re: [U-Boot] [PATCH v4 7/7] env: delete selected vars not present in imported env

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, When variables explicitly specified on the command line are not present in the imported env, delete them from the running env. If the variable is also missing from the running env, issue a warning. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com Whew! I

Re: [U-Boot] [PATCH v4 6/7] env: make env default selective, check and apply

2012-08-24 Thread Gerlando Falauto
On 08/24/2012 04:56 PM, Marek Vasut wrote: Dear Gerlando Falauto, Change the syntax (user API) for env default: -f: override write-once variables var... : accept individual variable(s) -a: all (resetting the whole env is NOT the default behavior) Enable variable checking and make

Re: [U-Boot] [PATCH v3 0/6] env: handle special variables and selective env default

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, On 08/13/2012 12:11 PM, Wolfgang Denk wrote: Dear Holger Brunck, In message5028ab80.5030...@keymile.com you wrote: time to do updates here I propose the following. I could prepare a branch as you suggested based on current denx master with this changeset. But

Re: [U-Boot] [PATCH v4 7/7] env: delete selected vars not present in imported env

2012-08-24 Thread Gerlando Falauto
On 08/24/2012 04:58 PM, Marek Vasut wrote: Dear Gerlando Falauto, When variables explicitly specified on the command line are not present in the imported env, delete them from the running env. If the variable is also missing from the running env, issue a warning. Signed-off-by: Gerlando

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Daniel Schwierzeck
Hi Stefan, 2012/8/24 Stefan Roese s...@denx.de: Hi Daniel, On 08/24/2012 01:49 PM, Daniel Schwierzeck wrote: I still would like to move to my suggestion to not copy the header and use the mkimage header values ih_load and ih_ep directly. Right now I don't see any showstopper for doing it

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Tom Rini
On 08/24/2012 12:01 AM, Stefan Roese wrote: Hi Tom, On 08/23/2012 11:39 PM, Tom Rini wrote: On 08/23/2012 01:12 AM, Stefan Roese wrote: This patch enables the SPL framework to be used on powerpc platforms and not only ARM. [snip] +#ifdef CONFIG_ARM gd = gdata; +#endif So, here's

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
Hi Daniel, On 08/24/2012 04:11 PM, Stefan Roese wrote: The u-boot image is merged with SPL image without any padding or fixed flash offsets to achieve a maximum reduction of flash footprint. Interesting. I'm still padding to the fixed offset. Let me look into squeezing those two images

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
On 08/24/2012 05:55 PM, Tom Rini wrote: So, here's what I don't understand. On ARM, in general, we can't rely on the global data pointer register (r8) to be set to a useful value, so we do the above to ensure it points to something useful. Are you always able to rely on r2 it looks like

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Tom Rini
On 08/24/2012 09:07 AM, Stefan Roese wrote: On 08/24/2012 05:55 PM, Tom Rini wrote: So, here's what I don't understand. On ARM, in general, we can't rely on the global data pointer register (r8) to be set to a useful value, so we do the above to ensure it points to something useful. Are you

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Daniel Schwierzeck
Hi Stefan, 2012/8/24 Stefan Roese stefan.ro...@gmail.com: Hi Daniel, On 08/24/2012 04:11 PM, Stefan Roese wrote: The u-boot image is merged with SPL image without any padding or fixed flash offsets to achieve a maximum reduction of flash footprint. Interesting. I'm still padding to the

Re: [U-Boot] [PATCH] efikamx: sync Smartbook DDR settings in DCD with those found in Genesi's production U-Boot

2012-08-24 Thread Matt Sealey
Oops. I picked the wrong commit id out of my local tree and there's a subtle mistake here.. It won't break anything but its not the one I wanted to submit. I'll respond this one.. -- Matt Sealey m...@genesi-usa.com Product Development Analyst, Genesi USA, Inc. On Aug 23, 2012, at 3:27 PM,

[U-Boot] [PATCH v2] efikamx: sync Smartbook DDR settings in DCD with those found in Genesi's production U-Boot

2012-08-24 Thread Matt Sealey
We have no idea where the DCD was derived from for Smartbook support, but they differ from the Smarttop settings, MX51EVK settings and certainly don't correspond to any shipped or development version of U-Boot that Genesi has ever had on any Smartbook. So, copy the calibrated, verified settings

Re: [U-Boot] [PATCH] efikamx: sync Smartbook DDR settings in DCD with those found in Genesi's production U-Boot

2012-08-24 Thread Matt Sealey
Done. Sorry for the inconvenience. -- Matt Sealey m...@genesi-usa.com Product Development Analyst, Genesi USA, Inc. On Fri, Aug 24, 2012 at 8:32 AM, Stefano Babic sba...@denx.de wrote: On 24/08/2012 15:16, Matt Sealey wrote: Oops. I picked the wrong commit id out of my local tree and

Re: [U-Boot] [PATCH] efikamx: sync Smartbook DDR settings in DCD with those found in Genesi's production U-Boot

2012-08-24 Thread Marek Vasut
Dear Matt Sealey, Done. Sorry for the inconvenience. Please stop posting. Please submit the patch in reply to the original one. Please read http://www.denx.de/wiki/U-Boot/Patches On 24/08/2012 15:16, Matt Sealey wrote: Oops. I picked the wrong commit id out of my local tree and there's a

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
On 08/24/2012 06:19 PM, Tom Rini wrote: What do you think? Can you move this gd init stuff into such a common ARM spl file in the next patchset version? Yes. We should probably say it's the job of board_init_f. I know full U-Boot does it at the start of board_init_r but I think for SPL it

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Stefan Roese
On 08/24/2012 06:42 PM, Daniel Schwierzeck wrote: The u-boot image is merged with SPL image without any padding or fixed flash offsets to achieve a maximum reduction of flash footprint. Interesting. I'm still padding to the fixed offset. Let me look into squeezing those two images together

Re: [U-Boot] [PATCH] efikamx: sync Smartbook DDR settings in DCD with those found in Genesi's production U-Boot

2012-08-24 Thread Matt Sealey
On Fri, Aug 24, 2012 at 12:08 PM, Marek Vasut marek.va...@gmail.com wrote: Dear Matt Sealey, Done. Sorry for the inconvenience. Please stop posting. Please submit the patch in reply to the original one. Please read http://www.denx.de/wiki/U-Boot/Patches I read it, I am still getting used

Re: [U-Boot] [PATCH 1/6] davinci: ea20: reorganisation LCD startup

2012-08-24 Thread Tom Rini
On Wed, Aug 15, 2012 at 09:55:40AM -0700, Tom Rini wrote: On Fri, Aug 10, 2012 at 09:26:41AM +0200, Bastian Ruppert wrote: Signed-off-by: Bastian Ruppert bastian.rupp...@sewerin.de CC: Tom Rini tr...@ti.com CC: Stefano Babic sba...@denx.de For the series, I'm fine with the davinci side

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Tom Rini
On 08/24/2012 04:13 AM, Stefan Roese wrote: On 08/24/2012 12:56 PM, Stefan Roese wrote: I still would like to move to my suggestion to not copy the header and use the mkimage header values ih_load and ih_ep directly. Right now I don't see any showstopper for doing it this way. I'll send a

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-24 Thread Tom Rini
On 08/23/2012 03:43 AM, Pavel Machek wrote: [snip] It's the omap-common/spl.c code with the bits for IH_OS_LINUX taken out :) Can you please re-do your series on top of the SPL series I just posted that provides a common SPL framework? Thanks! I'll take a look. OTOH, ammount of code

Re: [U-Boot] [PATCH v2] rmobile: Add README

2012-08-24 Thread Tom Rini
On 08/21/2012 06:40 PM, Nobuhiro Iwamatsu wrote: From: Nobuhiro Iwamatsu iwama...@nigauri.org This add README of Renesas RMOBILE. Based doc/README.omap3. Signed-off-by: Nobuhiro Iwamatsu iwama...@nigauri.org Acked-by: Tom Rini tr...@ti.com -- Tom

Re: [U-Boot] [PATCH 1/1] lib, panic: don't call do_reset in SPL (debug).

2012-08-24 Thread Tom Rini
On 08/14/2012 01:40 PM, Jeroen Hofstee wrote: Several omap boards won't build when DEBUG is defined, SPL build error: vsprintf.c:791: undefined reference to `do_reset', since SPL has no commands. Therefore don't call do_reset in SPL. SPL panic will end in an endless loop or call hang if

Re: [U-Boot] [PATCH 16/17] SPL: Enhance drivers/mtd/nand/nand_spl_load.c

2012-08-24 Thread Scott Wood
On 08/15/2012 04:30 PM, Tom Rini wrote: Takes the load function from arch/arm/lib/spl_nand.c instead. This will allow for easier integration of SPL-boots-Linux code on other arches. Kill off CONFIG_SPL_NAND_LOAD as a separate option. I would have complained about the loss of a small

[U-Boot] [PATCH 0/2] Add gio api support to mx27

2012-08-24 Thread Philippe Reynes
Change in v3: - rebase on u-boot-imx (instead of u-boot) - fix conflit with mxc: Make gpio_get_value() use PSR Philippe Reynes (2): gpio: add gpio api support to mx27 (v3) imx27lite: update with gpio api change (v3) arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++---

[U-Boot] [PATCH 1/2] gpio: add gpio api support to mx27 (v3)

2012-08-24 Thread Philippe Reynes
There is a little change on gpio_get_value because on mx27 the register to read is ssr and not dr. Signed-off-by: Philippe Reynes trem...@yahoo.fr --- arch/arm/cpu/arm926ejs/mx27/generic.c | 11 +++--- arch/arm/include/asm/arch-mx27/gpio.h | 55 +

[U-Boot] [PATCH 2/2] imx27lite: update with gpio api change (v3)

2012-08-24 Thread Philippe Reynes
Signed-off-by: Philippe Reynes trem...@yahoo.fr --- board/logicpd/imx27lite/imx27lite.c |5 ++--- include/configs/imx27lite-common.h |5 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/board/logicpd/imx27lite/imx27lite.c b/board/logicpd/imx27lite/imx27lite.c index

Re: [U-Boot] [PATCH v2 17/18] SPL: Enhance drivers/mtd/nand/nand_spl_load.c

2012-08-24 Thread Scott Wood
On 08/20/2012 11:45 AM, Tom Rini wrote: diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 29dc20e..5475c8c 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -27,12 +27,7 @@ LIB:= $(obj)libnand.o ifdef CONFIG_CMD_NAND ifdef

Re: [U-Boot] [PATCH v4 6/7] env: make env default selective, check and apply

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, On 08/24/2012 04:56 PM, Marek Vasut wrote: Dear Gerlando Falauto, Change the syntax (user API) for env default: -f: override write-once variables var... : accept individual variable(s) -a: all (resetting the whole env is NOT the default behavior)

Re: [U-Boot] [PATCH v2 17/18] SPL: Enhance drivers/mtd/nand/nand_spl_load.c

2012-08-24 Thread Scott Wood
On 08/24/2012 04:09 PM, Scott Wood wrote: On 08/20/2012 11:45 AM, Tom Rini wrote: diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 29dc20e..5475c8c 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -27,12 +27,7 @@ LIB := $(obj)libnand.o

Re: [U-Boot] [PATCH v4 7/7] env: delete selected vars not present in imported env

2012-08-24 Thread Marek Vasut
Dear Gerlando Falauto, On 08/24/2012 04:58 PM, Marek Vasut wrote: Dear Gerlando Falauto, When variables explicitly specified on the command line are not present in the imported env, delete them from the running env. If the variable is also missing from the running env, issue a

Re: [U-Boot] [PATCH v2 17/18] SPL: Enhance drivers/mtd/nand/nand_spl_load.c

2012-08-24 Thread Tom Rini
On Fri, Aug 24, 2012 at 04:10:44PM -0500, Scott Wood wrote: On 08/24/2012 04:09 PM, Scott Wood wrote: On 08/20/2012 11:45 AM, Tom Rini wrote: diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 29dc20e..5475c8c 100644 --- a/drivers/mtd/nand/Makefile +++

Re: [U-Boot] [PATCH v2 17/18] SPL: Enhance drivers/mtd/nand/nand_spl_load.c

2012-08-24 Thread Tom Rini
On Fri, Aug 24, 2012 at 04:09:13PM -0500, Scott Wood wrote: On 08/20/2012 11:45 AM, Tom Rini wrote: diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 29dc20e..5475c8c 100644 --- a/drivers/mtd/nand/Makefile +++ b/drivers/mtd/nand/Makefile @@ -27,12 +27,7 @@ LIB

Re: [U-Boot] [PATCH v2 17/18] SPL: Enhance drivers/mtd/nand/nand_spl_load.c

2012-08-24 Thread Scott Wood
On 08/24/2012 04:20 PM, Tom Rini wrote: On Fri, Aug 24, 2012 at 04:09:13PM -0500, Scott Wood wrote: On 08/20/2012 11:45 AM, Tom Rini wrote: diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 29dc20e..5475c8c 100644 --- a/drivers/mtd/nand/Makefile +++

Re: [U-Boot] [PATCH 3/6] SPL: Port SPL framework to powerpc

2012-08-24 Thread Daniel Schwierzeck
2012/8/24 Stefan Roese stefan.ro...@gmail.com: On 08/24/2012 06:42 PM, Daniel Schwierzeck wrote: The u-boot image is merged with SPL image without any padding or fixed flash offsets to achieve a maximum reduction of flash footprint. Interesting. I'm still padding to the fixed offset. Let me

Re: [U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions

2012-08-24 Thread Scott Wood
On 08/23/2012 01:09 PM, Scott Wood wrote: On 08/23/2012 01:03 PM, Andy Fleming wrote: On Thu, Aug 23, 2012 at 12:57 PM, Scott Wood scottw...@freescale.com wrote: On 08/23/2012 12:24 PM, Andy Fleming wrote: This patch (commit 20959471b5d07fdeb8603b918d80385aa2954711), strangely, causes the

Re: [U-Boot] [PATCH 01/11] powerpc/mpc85xx: Enable L2 at the beginning of U-boot for E6500

2012-08-24 Thread Scott Wood
On 08/17/2012 01:27 PM, York Sun wrote: Using E6500 L1 cache as initram requires L2 cache enabled. Add l2-cache cluster enabling. Signed-off-by: York Sun york...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org --- arch/powerpc/cpu/mpc85xx/cpu_init.c | 39

Re: [U-Boot] [PATCH 05/11] powerpc/mpc85xx: use boot page translation for spin table address

2012-08-24 Thread Scott Wood
On 08/17/2012 01:27 PM, York Sun wrote: E6500 doesn't allow cache inhibit TLB alias. Use the boot page translation instead. The boot page is always cache inhibit. We're not supposed to create such aliases on any PPC core. Please move to a cacheable spintable as described in ePAPR 1.1. This

Re: [U-Boot] [PATCH v2 17/18] SPL: Enhance drivers/mtd/nand/nand_spl_load.c

2012-08-24 Thread Tom Rini
On Fri, Aug 24, 2012 at 04:30:45PM -0500, Scott Wood wrote: On 08/24/2012 04:20 PM, Tom Rini wrote: On Fri, Aug 24, 2012 at 04:09:13PM -0500, Scott Wood wrote: On 08/20/2012 11:45 AM, Tom Rini wrote: diff --git a/drivers/mtd/nand/Makefile b/drivers/mtd/nand/Makefile index 29dc20e..5475c8c

Re: [U-Boot] [PATCHv1] ARM: Add Altera SOCFPGA Cyclone5

2012-08-24 Thread Tom Rini
On Thu, Aug 23, 2012 at 12:50:28PM +0200, Pavel Machek wrote: [snip] +void reset_cpu(ulong addr) +{ + /* request a warm reset */ + writel(RSTMGR_CTRL_SWWARMRSTREQ_LSB, reset_manager_base-ctrl); + /* infinite loop here as watchdog will trigger and reset + * the processor */

Re: [U-Boot] [PATCH 01/11] powerpc/mpc85xx: Enable L2 at the beginning of U-boot for E6500

2012-08-24 Thread York Sun
On 08/24/2012 03:53 PM, Scott Wood wrote: On 08/17/2012 01:27 PM, York Sun wrote: Using E6500 L1 cache as initram requires L2 cache enabled. Add l2-cache cluster enabling. Signed-off-by: York Sun york...@freescale.com Signed-off-by: Kumar Gala ga...@kernel.crashing.org ---

Re: [U-Boot] [PATCH 05/11] powerpc/mpc85xx: use boot page translation for spin table address

2012-08-24 Thread York Sun
On 08/24/2012 03:55 PM, Scott Wood wrote: On 08/17/2012 01:27 PM, York Sun wrote: E6500 doesn't allow cache inhibit TLB alias. Use the boot page translation instead. The boot page is always cache inhibit. We're not supposed to create such aliases on any PPC core. We seem to have been using

Re: [U-Boot] [PATCH 05/11] powerpc/mpc85xx: use boot page translation for spin table address

2012-08-24 Thread Scott Wood
On 08/24/2012 06:06 PM, York Sun wrote: On 08/24/2012 03:55 PM, Scott Wood wrote: On 08/17/2012 01:27 PM, York Sun wrote: E6500 doesn't allow cache inhibit TLB alias. Use the boot page translation instead. The boot page is always cache inhibit. We're not supposed to create such aliases on

Re: [U-Boot] [PATCH 01/11] powerpc/mpc85xx: Enable L2 at the beginning of U-boot for E6500

2012-08-24 Thread Scott Wood
On 08/24/2012 06:02 PM, York Sun wrote: On 08/24/2012 03:53 PM, Scott Wood wrote: On 08/17/2012 01:27 PM, York Sun wrote: Using E6500 L1 cache as initram requires L2 cache enabled. Add l2-cache cluster enabling. Signed-off-by: York Sun york...@freescale.com Signed-off-by: Kumar Gala

Re: [U-Boot] [PATCH] da8xx/hawkboard: Add support for ohci host controller

2012-08-24 Thread Tom Rini
On Fri, Aug 10, 2012 at 02:15:20AM +0530, Sughosh Ganu wrote: Also enable the ohci port on hawkboard. These additions result in an increased u-boot size -- adjust the same accordingly in the board's config. Move the usb header for da8xx platforms under arch-davinci. Signed-off-by:

Re: [U-Boot] am33xx evm: Update secure_emif_sdram_config during ddr init

2012-08-24 Thread Tom Rini
On Fri, Aug 10, 2012 at 09:59:57AM +0530, Satyanarayana, Sandhya wrote: This patch updates secure_emif_sdram_config with the same value written to sdram_config during ddr3 initialization. During suspend/resume, this value is copied into sdram_config. With this, a write to sdram_config at

Re: [U-Boot] [PATCH] davinci: enbw_cmc: change switch init behaviour

2012-08-24 Thread Tom Rini
On Tue, Aug 14, 2012 at 11:51:04AM +0200, Heiko Schocher wrote: change the behaviour of switch initialization: - rename pwl to lan in hwconfig parameter lan = port 1 with phy addr 2 lmn = port 2 with phy addr 3 - if we have a valid switch config file in flash, do not evaluate the

Re: [U-Boot] [PATCH v2] arm: omap: Fix switching back to nandecc sw.

2012-08-24 Thread Tom Rini
On Tue, Aug 14, 2012 at 10:36:19PM +0200, Jeroen Hofstee wrote: version 2: Updated the commit message to include the explanation from the original thread. For cosmetic reasons, move the added line 2 lines down, so it is similiar to the hw case. Add original author

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

2012-08-24 Thread Tom Rini
Hello, The following changes since commit a1cd53c6b6e2e7fbf4ffa20d3548646e4c94efe5: sc_sps_1: Adjust board config to use 'mxs' SoC code (2012-08-14 00:36:30 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to

[U-Boot] [PATCH v4 0/20] ARM: SPL: Make more generic, merge DaVinci and OMAP

2012-08-24 Thread Tom Rini
Hey all, The following patch series merges the davinci and omap-common SPL frameworks into a single framework, CONFIG_SPL_FRAMEWORK along with a few small cleanups to the code to make it a little smaller and more flexible. The end result is that davinci can now opt in on SPL-boots-Linux by just

[U-Boot] [PATCH v4 01/20] Makefile: Move SPL files to clobber, remove from clean

2012-08-24 Thread Tom Rini
The 'clean' target has been removing all of spl but not u-boot itself. For consistency and ease of testing, only remove SPL binaries / maps in the clobber target, just like for full U-Boot Signed-off-by: Tom Rini tr...@ti.com --- Makefile | 12 ++-- 1 file changed, 6 insertions(+), 6

[U-Boot] [PATCH v4 02/20] spl_mmc: Make FAT checks / calls guarded with CONFIG_SPL_FAT_SUPPORT

2012-08-24 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/spl_mmc.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu/armv7/omap-common/spl_mmc.c b/arch/arm/cpu/armv7/omap-common/spl_mmc.c index 2f921bb..7552f6c 100644 ---

[U-Boot] [PATCH v4 04/20] omap-common: Fix typo in save_boot_params() in lowlevel_init.S

2012-08-24 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap-common/lowlevel_init.S |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv7/omap-common/lowlevel_init.S b/arch/arm/cpu/armv7/omap-common/lowlevel_init.S index ccc6bb6..48a296c 100644 ---

  1   2   >