Re: [U-Boot] [PATCH] sdp4430: fix mux configuration for SYS_NIRQ2

2012-05-17 Thread R, Sricharan
Hi Peter,  board/ti/sdp4430/sdp4430_mux_data.h |    2 +-  1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/ti/sdp4430/sdp4430_mux_data.h b/board/ti/sdp4430/sdp4430_mux_data.h index 0a20968..beb7c7a 100644 --- a/board/ti/sdp4430/sdp4430_mux_data.h +++

[U-Boot] What is the correct way to configure SPL options?

2012-05-17 Thread Charles Manning
Hi All My understanding of the way SPL is intended to be configured is: (a) You have one config file for both SPL and u-boot. (b) SPL features are selected via SPL-specific options. I have a need to build SPL with MMC/FAT support, but I don't want u-boot to have MMC/FAT support. I do however

[U-Boot] Which version of u-boot contains support for twrmpc5125

2012-05-17 Thread Rudy Cazeao
The latest version does not appear to contain support for the the twrmpc5125 processor because the following command issued in the u-boot installation directory yields nothing. $grep 5125 Makefile. My question is, how do you know which version of u-boot contains the most current source code

[U-Boot] [PATCH] sdp4430: fix mux configuration for SYS_NIRQ2

2012-05-17 Thread Peter Ujfalusi
SYS_NIRQ2 is servicing the interrupt from twl6040. Configure the SYS_NIRQ2 so we can actually receive the interrupts. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- board/ti/sdp4430/sdp4430_mux_data.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 1/5] ARM: cache: Move the cp15 CR register read before flushing the cache.

2012-05-17 Thread R Sricharan
The following is the cleanup sequence in arch/arm/cpu/armv7/cpu.c int cleanup_before_linux(void) { ... ... dcache_disable(); v7_outer_cache_disable(); invalidate_dcache_all(); } 1) invalidate_dcache_all call expects that all the caches has been flushed, invalidated and there are no dirty

[U-Boot] [PATCH 0/4] ARM: OMAP4+: Miscellaneous fixes

2012-05-17 Thread R Sricharan
This series has been tested on OMAP4430 sdp OMAP4 panda OMAP5 evm MAKEALL has been tested for all armv7 boards to ensure no build breakage. R Sricharan (4): ARM: OMAP4+: dmm: Take care of overlapping dmm and trap sections. ARM: OMAP5: dmm: Create a tiler trap section. ARM: OMAP5: Align

[U-Boot] [PATCH 1/4] ARM: OMAP4+: dmm: Take care of overlapping dmm and trap sections.

2012-05-17 Thread R Sricharan
The DMM sections can be overlapping with each other, with sections 3 to 0 having the highest to lowest priority in that order. There could also be a section that is used trap the unmapped Tiler entries and this trap section could be overlapping with the actual sdram area. So take care of the

[U-Boot] [PATCH 4/4] ARM: OMAP5: Correct the DRAM_ADDR_SPACE_END macro.

2012-05-17 Thread R Sricharan
OMAP5 evm board has 2GB of memory. So correct the macro to take in to account of the full dram size. Signed-off-by: R Sricharan r.sricha...@ti.com --- arch/arm/include/asm/arch-omap5/omap.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH 3/4] ARM: OMAP5: Align memory used for testing to the power of 2

2012-05-17 Thread R Sricharan
get_ram_size checks the given memory range for valid ram, but expects the size of memory to be aligned to the power of 2. In case of OMAP5 evm board the memory available is 2GB - 16MB(used for TRAP section) = 2032MB. So always ensure that the size of memory used for testing is aligned to the

[U-Boot] [PATCH 2/4] ARM: OMAP5: dmm: Create a tiler trap section.

2012-05-17 Thread R Sricharan
The unmapped entries in tiler space are set with values 0xFF. So creating a DMM section of size 16MB at 0xFF00 with ADDRSPACE set to 0x2. This way all the unmapped entry accesses to tiler will be trapped by the EMIF and a error response is sent to the L3 interconnect. L3 errors are inturn

Re: [U-Boot] [PATCH V2 2/4] mtd/NAND: Add FSMC driver support

2012-05-17 Thread Amit Virdi
+while (num_err--) { +change_bit(0,err_idx[i]); +change_bit(1,err_idx[i]); + +if (err_idx[i] 512 * 8) { +change_bit(err_idx[i], dat); +i++; +} +} Is it normal to not count bit flips in the ECC itself? Correcting bit flip in

Re: [U-Boot] [PATCH V3 RESEND 2/4] mtd/NAND: Add FSMC driver support

2012-05-17 Thread Amit Virdi
On 5/16/2012 10:24 PM, Scott Wood wrote: On 05/16/2012 07:06 AM, Amit Virdi wrote: + if ((bits_ecc + bits_data)= 8) { + if (bits_data) + memset(dat, 0xff, 512); + return bits_data; return bits_data +

[U-Boot] [PATCH V2] tegra: Compulab TrimSlice board support

2012-05-17 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- v2: Fixed unused variable warnings --- MAINTAINERS |1 + board/compulab/dts/tegra2-trimslice.dts | 57 board/compulab/trimslice/Makefile |

Re: [U-Boot] [PATCH] sdp4430: fix mux configuration for SYS_NIRQ2

2012-05-17 Thread Peter Ujfalusi
Hi Sricharan, On 05/17/2012 11:48 AM, R, Sricharan wrote: diff --git a/board/ti/sdp4430/sdp4430_mux_data.h b/board/ti/sdp4430/sdp4430_mux_data.h index 0a20968..beb7c7a 100644 --- a/board/ti/sdp4430/sdp4430_mux_data.h +++ b/board/ti/sdp4430/sdp4430_mux_data.h @@ -216,7 +216,7 @@ const

[U-Boot] [RFC] Make i2c probe opt-outable?

2012-05-17 Thread Tom Rini
Hey all, I'd like to propose making 'i2c probe' be a command that is opt-out'able. In the Linux Kernel the notion of probing for devices was abandoned a while ago due to, in short, devices misbehaving when randomly poked at. Over in omap24xx_i2c land we changed our probe method a while ago from

Re: [U-Boot] [PATCH] Add gc-section support for ARM

2012-05-17 Thread Tom Rini
On Wed, May 16, 2012 at 10:45:33AM +1200, Charles Manning wrote: On Wednesday 16 May 2012 10:25:26 Wolfgang Denk wrote: Dear Charles, In message 201205161007.59560.mannin...@actrix.gen.nz you wrote: On Tuesday 15 May 2012 17:12:05 Mike Frysinger wrote: ... current u-boot policy

Re: [U-Boot] What is the correct way to configure SPL options?

2012-05-17 Thread Tom Rini
On Thu, May 17, 2012 at 12:13:20PM +1200, Charles Manning wrote: Hi All My understanding of the way SPL is intended to be configured is: (a) You have one config file for both SPL and u-boot. Yes. (b) SPL features are selected via SPL-specific options. For some parts, yes. Note that SPL

Re: [U-Boot] What is the correct way to configure SPL options?

2012-05-17 Thread Scott Wood
On 05/17/2012 01:48 PM, Tom Rini wrote: On Thu, May 17, 2012 at 12:13:20PM +1200, Charles Manning wrote: Hi All My understanding of the way SPL is intended to be configured is: (a) You have one config file for both SPL and u-boot. Yes. (b) SPL features are selected via SPL-specific

Re: [U-Boot] [PATCH v5 4/5] net: add eth_setenv_enetaddr_by_index()

2012-05-17 Thread Michael Walle
Hi Joe, Am Mittwoch 16 Mai 2012, 02:56:39 schrieb Joe Hershberger: Hi Michael, On Fri, May 11, 2012 at 5:50 PM, Michael Walle mich...@walle.cc wrote: Signed-off-by: Michael Walle mich...@walle.cc Cc: Joe Hershberger joe.hershber...@gmail.com --- include/net.h | 16

Re: [U-Boot] What is the correct way to configure SPL options?

2012-05-17 Thread Tom Rini
On 05/17/2012 01:22 PM, Scott Wood wrote: On 05/17/2012 01:48 PM, Tom Rini wrote: On Thu, May 17, 2012 at 12:13:20PM +1200, Charles Manning wrote: Hi All My understanding of the way SPL is intended to be configured is: (a) You have one config file for both SPL and u-boot. Yes. (b) SPL

Re: [U-Boot] What is the correct way to configure SPL options?

2012-05-17 Thread Scott Wood
On 05/17/2012 03:47 PM, Tom Rini wrote: On 05/17/2012 01:22 PM, Scott Wood wrote: We had problems with (B) regarding TEXT_BASE -- the makefile versions of the config symbols will only be generated once. CONFIG_SKIP_LOW_LEVEL_INIT doesn't seem to be used from makefiles. I still think (C) is

Re: [U-Boot] What is the correct way to configure SPL options?

2012-05-17 Thread Charles Manning
On Friday 18 May 2012 08:58:06 Scott Wood wrote: On 05/17/2012 03:47 PM, Tom Rini wrote: On 05/17/2012 01:22 PM, Scott Wood wrote: We had problems with (B) regarding TEXT_BASE -- the makefile versions of the config symbols will only be generated once. CONFIG_SKIP_LOW_LEVEL_INIT doesn't

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Timur Tabi
Mike Frysinger wrote: this is less bloat: int board_saveenv(void) __attribute__((weak, alias(saveenv))); int do_env_save(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[]) { printf(Saving Environment to %s...\n, env_name_spec); return board_saveenv() ? 1 : 0; } I

[U-Boot] Pericom PCIE bridge device not detected on APM8081x(ppc4xx)

2012-05-17 Thread Axl Rose
Hi,   I am working with a PCIE board from pericom, on bus 0 on a ppc4xx target klondike board. After the board intiailization when PCI Autoconfig finds P2P device it shows device 0 and goes on upto bus no. 16 by incrementing current_busno each time by 1. Each time it displays the same message:

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Wolfgang Denk
Dear Timur Tabi, In message 4fb12e88.1050...@freescale.com you wrote: all these board hooks are paper-cutting us to death with unused bloat I know, and I don't like it either. I hate how our hardware designers are always breaking the rules, forcing us software developers to hack up our

Re: [U-Boot] Regarding BDI2000 connection problem with MPC8280 based board

2012-05-17 Thread Wolfgang Denk
Dear Thirumalesha N, In message CAO1Rv-YmGXVL=JmyjEtFMnuX2SneEO=eabzwzh-amoiwxj5...@mail.gmail.com you wrote: I'm trying BDI 2000 to connect MPC8280 Board buts its showing time out and i'm new to BDI 2000. Please suggest me on this regards. There may be a ton of things you are doing

Re: [U-Boot] Pericom PCIE bridge device not detected on APM8081x(ppc4xx)

2012-05-17 Thread Wolfgang Denk
Dear Axl Rose, In message 1337288923.85117.yahoomail...@web120303.mail.ne1.yahoo.com you wrote: I am working with a PCIE board from pericom, on bus 0 on a ppc4xx target klondike board. After the board intiailization when PCI Autoconfig finds P2P device it shows device 0 and goes on upto bus

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Timur Tabi
Wolfgang Denk wrote: I think whoever told you this was right. Let it break. Come on, Wolfgang. That's not acceptable. We cannot add pre- and post-hooks all ever the place for brain-dead designs that need to do this and that before and after doing perfectly things. Well, I already have

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Scott Wood
On 05/17/2012 05:18 PM, Wolfgang Denk wrote: Dear Timur Tabi, In message 4fb12e88.1050...@freescale.com you wrote: all these board hooks are paper-cutting us to death with unused bloat I know, and I don't like it either. I hate how our hardware designers are always breaking the rules,

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Timur Tabi
Scott Wood wrote: NAND doesn't need it because NAND goes through an API rather than direct memory-mapped access, and has more coarse-grained operations. NAND should be able to take care of this entirely in the driver using the select_chip() callback. Fair enough. How do I enable that

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Scott Wood
On 05/17/2012 05:53 PM, Timur Tabi wrote: Scott Wood wrote: NAND doesn't need it because NAND goes through an API rather than direct memory-mapped access, and has more coarse-grained operations. NAND should be able to take care of this entirely in the driver using the select_chip() callback.

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Scott Wood
On 05/17/2012 09:21 PM, Tabi Timur-B04825 wrote: Scott Wood wrote: Well, as with most of our boards, NOR is the default configuration. Also, there's no NAND support upstream yet. What isn't upstream, besides the muxing hack? Does it need the 4K page hack? There's no NAND support at

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Tabi Timur-B04825
Scott Wood wrote: Well, as with most of our boards, NOR is the default configuration. Also, there's no NAND support upstream yet. What isn't upstream, besides the muxing hack? Does it need the 4K page hack? There's no NAND support at all. However, I just tried the two SDK patches that

Re: [U-Boot] [PATCH 5/6] cmd_nvedit.c: allow board-specific code before/after saving the environment

2012-05-17 Thread Mike Frysinger
On Thursday 17 May 2012 18:35:25 Timur Tabi wrote: Well, I already have code in U-boot that does this. If you look at board/freescale/p1022ds/diu.c, you'll see that I override each of the NOR flash accessors. This is horribly inefficient, but it works. Unfortunately, it only covers NOR

Re: [U-Boot] [RFC] Make i2c probe opt-outable?

2012-05-17 Thread Mike Frysinger
On Thursday 17 May 2012 14:43:45 Tom Rini wrote: I'd like to propose making 'i2c probe' be a command that is opt-out'able. In the Linux Kernel the notion of probing for devices was abandoned a while ago due to, in short, devices misbehaving when randomly poked at. Over in omap24xx_i2c land

[U-Boot] [PATCH] video/lcd: add new driver of LCD controler for Atmel new SoC

2012-05-17 Thread Bo Shen
The Atmel new SoC (at91sam9x5 series and at91sam9n12) add a totally different LCD controller. Add this new driver is used to support it. Using CONFIG_ATMEL_HLCD (distinguish with CONFIG_ATMEL_LCD) to enable this in board configuration file. Signed-off-by: Bo Shen voice.s...@atmel.com ---

Re: [U-Boot] [PATCH 1/2] GPIO: Extend the cmd_gpio API by gpio_{from, to}_string()

2012-05-17 Thread Mike Frysinger
On Tuesday 15 May 2012 01:53:10 Marek Vasut wrote: Dear Mike Frysinger, On Monday 14 May 2012 14:25:14 Marek Vasut wrote: Dear Mike Frysinger, On Monday 14 May 2012 07:31:35 Marek Vasut wrote: Dear Mike Frysinger, On Tuesday 01 May 2012 16:50:14 Marek Vasut wrote: The

Re: [U-Boot] [PATCH] video/lcd: add new driver of LCD controler for Atmel new SoC

2012-05-17 Thread Mike Frysinger
On Thursday 17 May 2012 22:49:46 Bo Shen wrote: --- a/drivers/video/Makefile +++ b/drivers/video/Makefile COBJS-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o COBJS-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o +COBJS-$(CONFIG_ATMEL_HLCD) += atmel_hlcdfb.o H comes before L ;) -mike

Re: [U-Boot] [PATCH] video/lcd: add new driver of LCD controler for Atmel new SoC

2012-05-17 Thread Bo Shen
On 5/18/2012 11:39, Mike Frysinger wrote: On Thursday 17 May 2012 22:49:46 Bo Shen wrote: --- a/drivers/video/Makefile +++ b/drivers/video/Makefile COBJS-$(CONFIG_ATI_RADEON_FB) += ati_radeon_fb.o videomodes.o COBJS-$(CONFIG_ATMEL_LCD) += atmel_lcdfb.o +COBJS-$(CONFIG_ATMEL_HLCD) +=

Re: [U-Boot] [PATCH] sdp4430: fix mux configuration for SYS_NIRQ2

2012-05-17 Thread R, Sricharan
Hi peter, @@ -216,7 +216,7 @@ const struct pad_conf_entry core_padconf_array_non_essential[] = {        {FREF_CLK1_OUT, (M0)},                                          /* fref_clk1_out */        {FREF_CLK2_OUT, (M0)},                                          /* fref_clk2_out */        

Re: [U-Boot] [PATCH 1/6 V4] EXYNOS5: Fix system register structure

2012-05-17 Thread Rajeshwari Birje
Hi Marek, The exact change is in [PATCH 4/6 V4] EXYNOS: Add power Enable/Disable for USB-EHCI, It is : Renamed exynos5_set_usb_phy_ctrl and set_usb_phy_ctrl to exynos5_set_usbhost_phy_ctrl and set_usbhost_phy_ctrl. On Wed, May 16, 2012 at 6:53 PM, Marek Vasut ma...@denx.de wrote: Dear Vivek