Re: [U-Boot] building u-boot inside buildroot

2012-07-30 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Karl O. Pinc Sent: 30 July 2012 08:00 To: Sabri Altunbas Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] building u-boot inside buildroot On 07/29/2012 07:43:00 AM, Sabri

Re: [U-Boot] [PATCH] dm: net: Fixup the armada100 FEC driver

2012-07-30 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Marek Vasut Sent: 28 July 2012 01:20 To: u-boot@lists.denx.de Cc: Marek Vasut; Joe Hershberger; u-boot...@lists.denx.de Subject: [U-Boot] [PATCH] dm: net: Fixup the armada100

Re: [U-Boot] [PATCH] km/common: remove printfs for i2c deblocking code

2012-07-30 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Gerlando Falauto Sent: 27 July 2012 20:28 To: u-boot@lists.denx.de Cc: Holger Brunck Subject: [U-Boot] [PATCH] km/common: remove printfs for i2c deblocking code From:

Re: [U-Boot] [PATCH] dm: net: Fixup the armada100 FEC driver

2012-07-30 Thread Marek Vasut
Dear Prafulla Wadaskar, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Marek Vasut Sent: 28 July 2012 01:20 To: u-boot@lists.denx.de Cc: Marek Vasut; Joe Hershberger; u-boot...@lists.denx.de Subject: [U-Boot] [PATCH]

Re: [U-Boot] [PATCH 1/3] dm: mips: Fix lb60 WDT control

2012-07-30 Thread Marek Vasut
Dear Marek Vasut, Write the TSCR register via 32bit write instead of 16bit one. The register is 32bit wide and bit 16 is being set, triggering gcc overflow error and making the code broken. [...] Dan, can you please pick these (I didn't CC you ... sigh :/ ) ? Best regards, Marek Vasut

Re: [U-Boot] Cosmetic doc typo fixes to the kwbimage feature docs

2012-07-30 Thread Prafulla Wadaskar
-Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Karl O. Pinc Sent: 27 July 2012 20:23 To: u-boot@lists.denx.de Subject: Re: [U-Boot] Cosmetic doc typo fixes to the kwbimage feature docs On 07/26/2012 11:15:32 PM, Karl O.

[U-Boot] [PATCH v4 0/6] tegra: Add NAND flash support

2012-07-30 Thread Simon Glass
This series adds NAND flash support to Tegra and enables it on Seaboard. Included here is a proposed device tree binding with most of the properties private to nvidia,. The binding includes information about the NAND controller as well as the connected NAND device. The Seaboard has a Hynix

[U-Boot] [PATCH v4 3/6] tegra: fdt: Add NAND controller binding and definitions

2012-07-30 Thread Simon Glass
Add a NAND controller along with a bindings file for review. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Update NAND binding to add nvidia, prefix Changes in v3: - Add reg property for unit address (should be used for chip select) - Change note in fdt binding about the need

[U-Boot] [PATCH v4 1/6] nand: Try to align the default buffers

2012-07-30 Thread Simon Glass
The NAND layer needs to use cache-aligned buffers by default. Towards this goal. align the default buffers and their members according to the minimum DMA alignment defined for the architecture. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Add new patch to align default

[U-Boot] [PATCH v4 4/6] tegra: fdt: Add NAND definitions to fdt

2012-07-30 Thread Simon Glass
Add a flash node to handle the NAND, including memory timings and page / block size information. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Update NAND binding to add nvidia, prefix Changes in v3: - Add reg property for unit address (should be used for chip select) -

[U-Boot] [PATCH v4 2/6] tegra: Add NAND support to funcmux

2012-07-30 Thread Simon Glass
Add selection of NAND flash pins to the funcmux. Signed-off-by: Simon Glass s...@chromium.org Acked-by: Stephen Warren swar...@nvidia.com --- arch/arm/cpu/tegra20-common/funcmux.c |7 +++ arch/arm/include/asm/arch-tegra20/funcmux.h |3 +++ 2 files changed, 10 insertions(+), 0

[U-Boot] [PATCH v4 6/6] tegra: Enable NAND on Seaboard

2012-07-30 Thread Simon Glass
This enables NAND support for the Seaboard. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v4: - Move to using CONFIG_SYS_NAND_SELF_INIT - Rename CONFIG_TEGRA2_NAND to CONFIG_TEGRA_NAND include/configs/seaboard.h |9 + include/configs/tegra20-common.h |2 ++ 2

[U-Boot] [PATCH v4 5/6] tegra: nand: Add Tegra NAND driver

2012-07-30 Thread Simon Glass
From: Jim Lin ji...@nvidia.com A device tree is used to configure the NAND, including memory timings and block/pages sizes. If this node is not present or is disabled, then NAND will not be initialized. Signed-off-by: Jim Lin ji...@nvidia.com Signed-off-by: Simon Glass s...@chromium.org ---

Re: [U-Boot] [PATCH 1/2 v2] SDHC/MMC: fix the wrong infomation after change SD card

2012-07-30 Thread Huang Changming-R66093
Hi, Andy Could you give some reason why eMMC device will be so slowed down by re-initialization? I think eMMC device is initialized only once, except it invoke 'mmc_init' many times. The workaround mmc rescan works when replace the card. But if one card is removed, then use mmcfinfo: there is

Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-07-30 Thread Jim Lin
-Original Message- From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Friday, July 27, 2012 5:26 PM To: u-boot@lists.denx.de Cc: Jim Lin; Wolfgang Denk; Tom Warren Subject: Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once Wolfgang, Is there any

Re: [U-Boot] [PATCH V2] dm: ppc: Fixup cpu.c warning in mpc8xx

2012-07-30 Thread Wolfgang Denk
Dear Marek Vasut, In message 1343429832-24194-1-git-send-email-ma...@denx.de you wrote: cpu.c: In function ‘check_CPU’: cpu.c:256:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Marek Vasut ma...@denx.de Cc: Wolfgang Denk

Re: [U-Boot] [PATCH V2] dm: ppc: Fixup cpu.c warning in mpc8xx

2012-07-30 Thread Wolfgang Denk
Dear Marek Vasut, In message 1343429832-24194-1-git-send-email-ma...@denx.de you wrote: cpu.c: In function ‘check_CPU’: cpu.c:256:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Marek Vasut ma...@denx.de Cc: Wolfgang Denk

Re: [U-Boot] Pull request: u-boot-mips/master for v2012.07

2012-07-30 Thread Wolfgang Denk
Dear daniel.schwierz...@gmail.com, In message 1343426851-2415-1-git-send-email-daniel.schwierz...@gmail.com you wrote: Dear Wolfgang, please pull a small fix for v2012.07 The following changes since commit c627faf637f5fe091bdb6846a52b16983e97b262: Prepare v2012.07-rc3 (2012-07-27

Re: [U-Boot] dwc_ahsata vs ahci

2012-07-30 Thread Lv Terry-R65388
Hi Pavel, The ahci.c is a ahci driver using pci interface, while dwc_asata is not. u-boot don't have a pure ahci driver now, thus we have to reuse some ahci parts from ahci.c in dwc_asata.c. Thanks~~ Yours Terry -Original Message- From:

Re: [U-Boot] [PATCH 3/7] powerpc/82xx: merge mgcoge.h and mgcoge3ne.h into km82xx.h

2012-07-30 Thread Gerlando Falauto
Dear Wolgfang Denk, On 07/27/2012 07:30 PM, Wolfgang Denk wrote: Dear Gerlando Falauto, In message1343402200-32020-4-git-send-email-gerlando.fala...@keymile.com you wrote: Since mgcoge and mgcoge3ne are the only km82xx boards, there is no need to keep them as separate .h config files.

Re: [U-Boot] [U-Boot-DM] dwc_ahsata vs ahci

2012-07-30 Thread Marek Vasut
Dear Lv Terry-R65388, Hi Pavel, The ahci.c is a ahci driver using pci interface, while dwc_asata is not. u-boot don't have a pure ahci driver now, thus we have to reuse some ahci parts from ahci.c in dwc_asata.c. Ok, I think we can unify that eventually. Thanks~~

Re: [U-Boot] [PATCH] km/common: remove printfs for i2c deblocking code

2012-07-30 Thread Heiko Schocher
Hello Gerlando, On 27.07.2012 16:58, Gerlando Falauto wrote: From: Holger Brunckholger.bru...@keymile.com This code will also be used before reallocation and during this time we are not allowed to do these printings. Signed-off-by: Holger Brunckholger.bru...@keymile.com ---

Re: [U-Boot] powerdown can't work (mx28)

2012-07-30 Thread alex
Hi: If the voltage of battery is below 3.6v, the system still can be startup, and do you think it is right? The function mx28_powerdown is meaningless. At 2012-07-26 09:31:20,alex laub...@163.com wrote: The poweroff function in kernel can work. The similar code can be found in bootlet

Re: [U-Boot] [PATCH 1/3] dm: mips: Fix lb60 WDT control

2012-07-30 Thread Daniel Schwierzeck
2012/7/30 Marek Vasut ma...@denx.de: Dear Marek Vasut, Write the TSCR register via 32bit write instead of 16bit one. The register is 32bit wide and bit 16 is being set, triggering gcc overflow error and making the code broken. [...] Dan, can you please pick these (I didn't CC you ... sigh

Re: [U-Boot] cfi: Problem with Intel Strata 28F320 flash

2012-07-30 Thread Heiko Schocher
Hello Gerlando, On 27.07.2012 16:11, Gerlando Falauto wrote: Hi all, On 03/09/2011 02:21 PM, Detlev Zundel wrote: Hi Heiko, Maybe a way to go ... more comments? Below a patch, which introduces a function, which checks for protection bugfixes, and if no bugfix is found the old code is

Re: [U-Boot] [PATCH] hawkboard: Fix SPL Nand driver misconfiguration

2012-07-30 Thread Sughosh Ganu
hi Wolfgang, On Fri Jul 27, 2012 at 03:16:15PM +0530, Sughosh Ganu wrote: On Fri Jul 27, 2012 at 01:51:53PM +0530, Linu Cherian wrote: Hawkboard was using the wrong nand_read_page version for SPL image. As a side effect, the u-boot image loaded by the SPL from nand was getting corrupted.

Re: [U-Boot] cfi: Problem with Intel Strata 28F320 flash

2012-07-30 Thread Stefan Roese
Hi Heiko, On Monday 30 July 2012 13:07:07 Heiko Schocher wrote: Have there been (since the original posting) other instances of flash parts requiring quirks (like the original one introduced by Philippe De Muyter for the Numonyx chip)? I don´t know ... Is there any ongoing activity

Re: [U-Boot] [PATCH 0/8 V7] EXYNOS5: Enable I2C support

2012-07-30 Thread Simon Glass
Hi, On Tue, Jul 24, 2012 at 8:23 AM, Rajeshwari Shinde rajeshwar...@samsung.com wrote: This patch set enables I2C support for EXYNOS5. This patchset modifies the s3c24x0 I2C driver to use same for EXYNOS5. Multichannel support has been added to the s3c24x0 I2C driver. s3c24x0_i2c struct has

Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once

2012-07-30 Thread Marek Vasut
Dear Jim Lin, -Original Message- From: Marek Vasut [mailto:marek.va...@gmail.com] Sent: Friday, July 27, 2012 5:26 PM To: u-boot@lists.denx.de Cc: Jim Lin; Wolfgang Denk; Tom Warren Subject: Re: [U-Boot] [PATCH 1/1] USB: EHCI: Initialize multiple USB controllers at once

Re: [U-Boot] [PATCH 3/7] powerpc/82xx: merge mgcoge.h and mgcoge3ne.h into km82xx.h

2012-07-30 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 50164f3a.6050...@keymile.com you wrote: boards.cfg |4 +- include/configs/km82xx.h| 149 +++ include/configs/mgcoge.h| 93 ---

[U-Boot] multichannel mmc strangeness on omap

2012-07-30 Thread Steve Sakoman
Does anyone have any experience enabling the second or third mmc channels in u-boot on an omap3 board? I used the feature successfully a couple of years ago on Overo, but of course there have been many changes in the mmc code since then. Here's what I tried for overo with the current head of

Re: [U-Boot] [PATCH] hawkboard: Fix SPL Nand driver misconfiguration

2012-07-30 Thread Tom Rini
On Fri, Jul 27, 2012 at 03:16:15PM +0530, Sughosh Ganu wrote: On Fri Jul 27, 2012 at 01:51:53PM +0530, Linu Cherian wrote: Hawkboard was using the wrong nand_read_page version for SPL image. As a side effect, the u-boot image loaded by the SPL from nand was getting corrupted. Enable

Re: [U-Boot] multichannel mmc strangeness on omap

2012-07-30 Thread Tom Rini
On Mon, Jul 30, 2012 at 06:36:24AM -0700, Steve Sakoman wrote: Does anyone have any experience enabling the second or third mmc channels in u-boot on an omap3 board? I used the feature successfully a couple of years ago on Overo, but of course there have been many changes in the mmc code

Re: [U-Boot] [PATCH 3/7] powerpc/82xx: merge mgcoge.h and mgcoge3ne.h into km82xx.h

2012-07-30 Thread Gerlando Falauto
On 07/30/2012 03:00 PM, Wolfgang Denk wrote: Dear Gerlando Falauto, In message50164f3a.6050...@keymile.com you wrote: boards.cfg |4 +- include/configs/km82xx.h| 149 +++ include/configs/mgcoge.h| 93

Re: [U-Boot] building u-boot inside buildroot

2012-07-30 Thread Karl O. Pinc
On 07/30/2012 01:28:45 AM, Prafulla Wadaskar wrote: -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Karl O. Pinc Sent: 30 July 2012 08:00 To: Sabri Altunbas Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] building

Re: [U-Boot] [PATCH] dm: net: Fixup the armada100 FEC driver

2012-07-30 Thread Joe Hershberger
Hi Marek, On Mon, Jul 30, 2012 at 1:35 AM, Marek Vasut ma...@denx.de wrote: Dear Prafulla Wadaskar, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Marek Vasut Sent: 28 July 2012 01:20 To: u-boot@lists.denx.de Cc:

Re: [U-Boot] [PATCH] dm: net: Fixup the armada100 FEC driver

2012-07-30 Thread Marek Vasut
Dear Joe Hershberger, Hi Marek, On Mon, Jul 30, 2012 at 1:35 AM, Marek Vasut ma...@denx.de wrote: Dear Prafulla Wadaskar, -Original Message- From: u-boot-boun...@lists.denx.de [mailto:u-boot- boun...@lists.denx.de] On Behalf Of Marek Vasut Sent: 28 July 2012 01:20

Re: [U-Boot] [PATCH 3/7] powerpc/82xx: merge mgcoge.h and mgcoge3ne.h into km82xx.h

2012-07-30 Thread Wolfgang Denk
Dear Gerlando Falauto, In message 5016a093.6040...@keymile.com you wrote: The way I understand it, such renaming information is built on the fly while building the patch (like you're suggesting, it's a parameter to git format-patch, not to the commit itself). Yes, and I fail to understand

[U-Boot] [PATCH 1/3] DaVinci DA8xx: tidy up clock ID definition

2012-07-30 Thread Laurence Withers
Tidy up the clock IDs defined for the DA8xx SOCs. With this new structure in place, it is clear how to define new clock IDs, and how these map to the numbers presented in the technical reference manual. Signed-off-by: Laurence Withers lwith...@guralp.com Cc: Prabhakar Lad

[U-Boot] [PATCH 3/3] DaVinci DA8xx: replace magic number for DDR speed

2012-07-30 Thread Laurence Withers
Replace a magic number for the DDR2/mDDR PHY clock ID with a proper definition. In addition, don't request this clock ID on DA830 hardware, which does not have a DDR2/mDDR PHY (or associated PLL controller). Signed-off-by: Laurence Withers lwith...@guralp.com Cc: Prabhakar Lad

[U-Boot] [PATCH 2/3] DaVinci DA850: UART2 clock ID comes from ASYNC3

2012-07-30 Thread Laurence Withers
On the DA830, UART2's clock is derived from PLL controller 0 output 2. On the DA850, it is in the ASYNC3 group, and may be switched between PLL controller 0 or 1. Fix the definition of the ID to match. Signed-off-by: Laurence Withers lwith...@guralp.com Cc: Prabhakar Lad

Re: [U-Boot] [PATCH] DaVinci DA8xx: fix set_cpu_clk_info()

2012-07-30 Thread Laurence Withers
On Sat, Jul 28, 2012 at 12:49:55PM +0530, Prabhakar Lad wrote: Thanks for the patch. I have tested this patch, below are few comments. [snip] +int set_cpu_clk_info(void) +{ + gd-bd-bi_arm_freq = clk_get(DAVINCI_ARM_CLKID) / 100; + /* DDR PHY uses an x2 input clock */ +

Re: [U-Boot] [PATCH 3/3] DaVinci DA8xx: replace magic number for DDR speed

2012-07-30 Thread Laurence Withers
On Mon, Jul 30, 2012 at 04:30:15PM +, Laurence Withers wrote: Replace a magic number for the DDR2/mDDR PHY clock ID with a proper definition. In addition, don't request this clock ID on DA830 hardware, which does not have a DDR2/mDDR PHY (or associated PLL controller). Signed-off-by:

[U-Boot] [PATCH 0/17]: Improve am33xx support

2012-07-30 Thread Tom Rini
Hey all, The following series of patches improves am33xx support, and cleans up omap3/4/5 slightly. The slight cleanup to omap3/4/5 is that we can all share a single function to see if we are executing in SDRAM or not. The rest of the series cleans up the EMIF code for am33xx. While I had

[U-Boot] [PATCH 02/17] am335x_evm: Update config for common usage

2012-07-30 Thread Tom Rini
- Add default commands - Add HUSH parser - Make environment, malloc areas larger - Add ATAGS and OF_LIBFDT - Add defaults to boot ramdisk and MMC, use uEnv.txt Signed-off-by: Tom Rini tr...@ti.com --- include/configs/am335x_evm.h | 69 -- 1 file changed,

[U-Boot] [PATCH 01/17] omap3/omap4/omap5/am33xx: Use a common running_from_sdram function

2012-07-30 Thread Tom Rini
On all OMAP3+ platforms we know that SDRAM starts at 0x8000 and we can use 0xD000 as the end. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/omap3/board.c|4 ++-- arch/arm/cpu/armv7/omap3/sys_info.c | 12

[U-Boot] [PATCH 03/17] am33xx: Remove DMM_BASE define

2012-07-30 Thread Tom Rini
The am33xx does not have a DMM, so don't define the base. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/include/asm/arch-am33xx/hardware.h |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/include/asm/arch-am33xx/hardware.h b/arch/arm/include/asm/arch-am33xx/hardware.h index

[U-Boot] [PATCH 04/17] am33xx: Convert to using asm/emif.h to describe the EMIF

2012-07-30 Thread Tom Rini
Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/ddr.c | 29 ++- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 27 - 2 files changed, 15 insertions(+), 41 deletions(-) diff --git a/arch/arm/cpu/armv7/am33xx/ddr.c

[U-Boot] [PATCH 06/17] am33xx: Bugfix to config_sdram()

2012-07-30 Thread Tom Rini
When we change SDRAM_CONFIG this triggers a refresh based on all of the parameters that we have programmed so we must do this last. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/ddr.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

[U-Boot] [PATCH 05/17] am33xx: Remove extra check in enable_ddr_clocks

2012-07-30 Thread Tom Rini
We do not need to check for EMIF_GCLK and L3_GCLK being active. This was a hold-over from bringup and no longer required. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/clock.c |5 - 1 file changed, 5 deletions(-) diff --git a/arch/arm/cpu/armv7/am33xx/clock.c

[U-Boot] [PATCH 07/17] am33xx: Rework DDR2 EMIF initalization slightly

2012-07-30 Thread Tom Rini
With the previous bugfix we now don't need to set two different REF_CTRL values and instead set the final value. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/emif4.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git

[U-Boot] [PATCH 08/17] am33xx: Make config_cmd_ctrl / config_ddr_data take const structs

2012-07-30 Thread Tom Rini
Rework the EMIF4/DDR code slightly to setup the structs that config_cmd_ctrl and config_ddr_data take to be setup at compile time and mark them as const. This lets us simplify the calling path slightly as well as making it easier to deal with DDR3. Signed-off-by: Tom Rini tr...@ti.com ---

[U-Boot] [PATCH 09/17] am33xx: Pass to config_ddr the type of memory that is connected

2012-07-30 Thread Tom Rini
We need to pass in the type of memory that is connected to the board. The only reliable way to do this is to know what type of board we are running on (which later will be knowable in s_init()). For now, pass in the value of DDR2. Signed-off-by: Tom Rini tr...@ti.com ---

[U-Boot] [PATCH 10/17] am33xx: Move the call to ddr_pll_config, make it take the frequency

2012-07-30 Thread Tom Rini
Depending on if we have DDR2 or DDR3 on the board we will need to call ddr_pll_config with a different value. This call can be delayed slightly to the point where we know which type of memory we have. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/clock.c|5

[U-Boot] [PATCH 11/17] am33xx: Clean up unused DDR defines, prefix more with 'DDR2'

2012-07-30 Thread Tom Rini
- Remove a handful of unused defines. - Prefix more values with 'DDR2' as DDR3 will require different values. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/emif4.c | 46 +-- arch/arm/include/asm/arch-am33xx/ddr_defs.h | 32

[U-Boot] [PATCH 12/17] am335x: ddr_defs: Update EMIF parameters

2012-07-30 Thread Tom Rini
From: Vaibhav Bedia vaibhav.be...@ti.com EMIF parameters are calculated based on the AC timing parameters from the SDRAM datasheet and the DDR frequency. Current values for these paramters in AM335x U-Boot code, though reliable, are not fully optimal. The most optimal settings can be derived

[U-Boot] [PATCH 16/17] am33xx: Rework config_io_ctrl slightly

2012-07-30 Thread Tom Rini
This function sets a number of related registers to the same value (the registers in question all have the same field descriptions and are related in operation). Rather than defining a struct and setting the value repeatedly, just pass in the value. Signed-off-by: Tom Rini tr...@ti.com ---

[U-Boot] [PATCH 13/17] am33xx: Document what we're doing with ddrctrl-ddrckectrl

2012-07-30 Thread Tom Rini
- Remove the call to set ddrctrl-ddrioctrl as it's all zeros. - Comment what we're really setting in ddrctrl-ddrckectrl which is that we're operating in the normal mode where EMIF/PHY clock is controlled by the PHY. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/emif4.c

[U-Boot] [PATCH 15/17] am33xx: Use emif_regs struct for storing initialization values

2012-07-30 Thread Tom Rini
Rather than defining our own structs to note what to use when programming the EMIF and related re-use the emif_regs struct. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/ddr.c | 28 - arch/arm/cpu/armv7/am33xx/emif4.c | 43

[U-Boot] [PATCH 14/17] am33xx: Turn a number of 'int' functions to 'void'

2012-07-30 Thread Tom Rini
A number of memory initalization functions were int and always returned 0. Further it's not feasible to be doing error checking here, so simply turn them into void functions. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/ddr.c | 29 ++-

[U-Boot] [PATCH 17/17] am33xx: Do not touch 'ratio1' fields

2012-07-30 Thread Tom Rini
The various ratio1 fields are not documented in any of the documentation I can find. Removing these and testing has yielded success, so remove the code that sets them and move their locations into the reserved fields. Signed-off-by: Tom Rini tr...@ti.com --- arch/arm/cpu/armv7/am33xx/ddr.c

Re: [U-Boot] multichannel mmc strangeness on omap

2012-07-30 Thread Steve Sakoman
On Mon, Jul 30, 2012 at 7:27 AM, Tom Rini tr...@ti.com wrote: After adding a few printf's, it seems that the crash/hang is occurring when calling env_relocate_spec in env_nand.c, which of course is completely unrelated code! I've spent some time scratching my head against a hang in the same

Re: [U-Boot] [u-boot-arm/next RESEND PATCH 0/3] OMAP3: igep00x0: add nand flash and SPL support

2012-07-30 Thread Tom Rini
On Sat, Jul 28, 2012 at 01:19:31PM +0200, Javier Martinez Canillas wrote: IGEP-based boards can have two different flash memories, a OneNAND or a NAND device. Since u-boot still lacks of a device model to be the able to look at run-time which memory type is available on a the board, a built

Re: [U-Boot] Building u-boot for iMX28 and getting error in mkimage of missing command line parameter CONFIG_IMX_CONFIG

2012-07-30 Thread Bill
Here is my log. It stops at the done, booting kernel.I tried setting the console to ttyAM0 and no change. I don't think its booting as I don't see the LCD flash and no penguin. The odd this is that I built the latest kernel for iMX and this uboot will boot it. I also included my

Re: [U-Boot] [PATCH v3 0/8] CPSW switch plus SPL net support

2012-07-30 Thread Tom Rini
On Wed, Jul 25, 2012 at 02:22:15AM +0400, Ilya Yanok wrote: These patches add CPSW switch driver and enable support for it on TI AM335x based boards. This version is rebased on top of u-boot-ti/next. Also now CPSW driver uses internal controller memory for DMA descriptors so coherent

Re: [U-Boot] Building u-boot for iMX28 and getting error in mkimage of missing command line parameter CONFIG_IMX_CONFIG

2012-07-30 Thread Fabio Estevam
On Mon, Jul 30, 2012 at 2:06 PM, Bill bsou...@techsi.com wrote: Here is my log. It stops at the done, booting kernel.I tried setting the console to ttyAM0 and no change. I don't think its booting as I don't see the LCD flash and no penguin. The odd this is that I built the latest kernel

Re: [U-Boot] [PATCH 3/3] DaVinci DA8xx: replace magic number for DDR speed

2012-07-30 Thread Tom Rini
On Mon, Jul 30, 2012 at 04:34:39PM +, Laurence Withers wrote: On Mon, Jul 30, 2012 at 04:30:15PM +, Laurence Withers wrote: Replace a magic number for the DDR2/mDDR PHY clock ID with a proper definition. In addition, don't request this clock ID on DA830 hardware, which does not have

Re: [U-Boot] [PATCH v4 0/6] tegra: Add NAND flash support

2012-07-30 Thread Tom Warren
Simon, -Original Message- From: Simon Glass [mailto:s...@chromium.org] Sent: Sunday, July 29, 2012 11:53 PM To: U-Boot Mailing List Cc: Tom Warren; Stephen Warren; Scott Wood; Simon Glass Subject: [PATCH v4 0/6] tegra: Add NAND flash support This series adds NAND flash support to

Re: [U-Boot] [PATCH v4 0/6] tegra: Add NAND flash support

2012-07-30 Thread Stephen Warren
On 07/30/2012 12:53 AM, Simon Glass wrote: This series adds NAND flash support to Tegra and enables it on Seaboard. Included here is a proposed device tree binding with most of the properties private to nvidia,. The binding includes information about the NAND controller as well as the

[U-Boot] [PATCH] tegra: enable NAND on Harmony

2012-07-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com --- board/nvidia/dts/tegra20-harmony.dts | 10 ++ include/configs/harmony.h|9 - 2 files changed, 18 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] env_nand: align NAND buffers

2012-07-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This allows cache flush/invalidate operations to succeed on the buffers. Signed-off-by: Stephen Warren swar...@nvidia.com --- common/env_nand.c | 10 +- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/common/env_nand.c

Re: [U-Boot] [PATCH v4 0/6] tegra: Add NAND flash support

2012-07-30 Thread Tom Warren
Stephen, -Original Message- From: Stephen Warren [mailto:swar...@wwwdotorg.org] Sent: Monday, July 30, 2012 10:34 AM To: Simon Glass Cc: U-Boot Mailing List; Tom Warren; Scott Wood Subject: Re: [PATCH v4 0/6] tegra: Add NAND flash support On 07/30/2012 12:53 AM, Simon Glass

Re: [U-Boot] [PATCH 3/7] powerpc/82xx: merge mgcoge.h and mgcoge3ne.h into km82xx.h

2012-07-30 Thread Gerlando Falauto
On 07/30/2012 06:07 PM, Wolfgang Denk wrote: Dear Gerlando Falauto, In message5016a093.6040...@keymile.com you wrote: The way I understand it, such renaming information is built on the fly while building the patch (like you're suggesting, it's a parameter to git format-patch, not to the

[U-Boot] [PATCH v2 3/7] powerpc/82xx: merge mgcoge.h and mgcoge3ne.h into km82xx.h

2012-07-30 Thread Gerlando Falauto
Since mgcoge and mgcoge3ne are the only km82xx boards, there is no need to keep them as separate .h config files. Therefore, make mgcoge3ne.h and mgcoge.h converge into a single km82xx.h file. Signed-off-by: Gerlando Falauto gerlando.fala...@keymile.com --- Changes from v1: switched to git

Re: [U-Boot] [PATCH] hawkboard: Fix SPL Nand driver misconfiguration

2012-07-30 Thread Wolfgang Denk
Dear Linu Cherian, In message 1343377313-30301-1-git-send-email-linucher...@gmail.com you wrote: Hawkboard was using the wrong nand_read_page version for SPL image. As a side effect, the u-boot image loaded by the SPL from nand was getting corrupted. Enable CONFIG_SYS_NAND_HW_ECC_OOBFIRST

Re: [U-Boot] [PATCH 4/7] powerpc/82xx: move km/km82xx-common.h within km82xx.h

2012-07-30 Thread Gerlando Falauto
On 07/27/2012 07:31 PM, Wolfgang Denk wrote: Dear Gerlando Falauto, In message1343402200-32020-5-git-send-email-gerlando.fala...@keymile.com you wrote: The only file including km82xx-common.h is km82xx.h. So there is no need to have it as a separate file. Signed-off-by: Gerlando

Re: [U-Boot] Building u-boot for iMX28 and getting error in mkimage of missing command line parameter CONFIG_IMX_CONFIG

2012-07-30 Thread Bill
Progress! I switched all the references from ttyAMA0... to ttyAM0. Also changed netargs too. Now it starts to boot linux but hangs right after the line of: mxs_cpu_init: cpufreq init finished. In regards to your question, yes it was booting the mainline kernel. Here is the latest

Re: [U-Boot] [PATCH 4/7] powerpc/82xx: move km/km82xx-common.h within km82xx.h

2012-07-30 Thread Wolfgang Denk
Dear Gerlando, In message 5016d241.4030...@keymile.com you wrote: Please also try with -M -C and see if this changes anything. For this one patch I can't get git to detect renames. Neither can I. Thanks for trying, though. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

[U-Boot] [STATUS] v2012.07 released, Merge Window is OPEN

2012-07-30 Thread Wolfgang Denk
Hello all, U-Boot v2012.07 has been released and is available from the git repository and the FTP server. The Merge Window for the next release (v2012.10) is open until Sat Aug 18, 2012, 23:59:59 CEST = 19 days remaining. Release v2012.10 is scheduled in 77 days — on October 15, 2012. A

[U-Boot] [PATCH 18/17] am33xx: Correct and clean up ddr_regs struct

2012-07-30 Thread Tom Rini
The ddr_regs struct was incorrectly offset after the dt0wiratio0 entry. Correct this by documenting a missing register that will be used at some point in the future (when write leveling is supported). Further, the cmdNcs{force,delay} fields are undocumented and we have been setting them to zero,

[U-Boot] usb_test_unit_ready called every block read - performance

2012-07-30 Thread Jim Shimer
While tuning ext2load, we found that usb_test_unit_ready was being called every block read. We compared the usb block storage to the scsi block storage cmd_scsi.c, and found that the scsi device was only calling its scsi_setup_test_unit_ready() during scsi_can. It appears that

[U-Boot] pull request for u-boot-tegra/master

2012-07-30 Thread Tom Warren
Albert, Please pull u-boot-tegra/master into ARM master. Thanks! The following changes since commit f8f09dd40423b7f9ea0f0b810a8f5da9cd580a17: Benoît Thébaudeau (1): ARM1136: Fix cache range checks are available in the git repository at: git://git.denx.de/u-boot-tegra master Allen

Re: [U-Boot] [PATCH] tegra: enable NAND on Harmony

2012-07-30 Thread Simon Glass
On Mon, Jul 30, 2012 at 6:37 PM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Simon Glass s...@chromium.org (nice to have a commit message though) --- board/nvidia/dts/tegra20-harmony.dts |

Re: [U-Boot] [PATCH] env_nand: align NAND buffers

2012-07-30 Thread Simon Glass
On Mon, Jul 30, 2012 at 6:38 PM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com This allows cache flush/invalidate operations to succeed on the buffers. Signed-off-by: Stephen Warren swar...@nvidia.com Acked-by: Simon Glass s...@chromium.org ---

[U-Boot] [PATCH] lsxl: support power switch

2012-07-30 Thread Michael Walle
This patch restores the Linkstation's original behaviour when powering off. Once the (soft) power switch is turned off, linux will reboot and the bootloader turns off HDD and USB power. Then it loops as long as the switch is in the off position, before continuing the boot process again.

[U-Boot] [PATCH 1/3] mmc: detect boot sectors using EXT_CSD_BOOT_MULT too

2012-07-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Some eMMC devices contain boot partitions, but do not set the PART_SUPPORT bit in EXT_CSD_PARTITIONING_SUPPORT. Allow partition selection on such devices, by enabling partition switching when EXT_CSD_BOOT_MULT is set. Note that the Linux kernel enables

[U-Boot] [PATCH 1/3] mmc: detect boot sectors using EXT_CSD_BOOT_MULT too

2012-07-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Some eMMC devices contain boot partitions, but do not set the PART_SUPPORT bit in EXT_CSD_PARTITIONING_SUPPORT. Allow partition selection on such devices, by enabling partition switching when EXT_CSD_BOOT_MULT is set. Note that the Linux kernel enables

[U-Boot] [PATCH 2/3] env_mmc: allow environment to be in an eMMC partition

2012-07-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com eMMC devices may have hardware-level partitions: 2 boot partitions, up to 4 general partitions, plus the user area. This change introduces optional config variable CONFIG_SYS_MMC_ENV_PART to indicate which partition the environment should be stored in:

[U-Boot] [PATCH 3/3] tegra: put eMMC environment into the boot sectors

2012-07-30 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com When I set up Tegra's config files to put the environment into eMMC, I assumed that CONFIG_ENV_OFFSET was a linearized address relative to the start of the eMMC device, and spanning HW partitions boot0, boot1, general* and the user area in order. However,

Re: [U-Boot] Building u-boot for iMX28 and getting error in mkimage of missing command line parameter CONFIG_IMX_CONFIG

2012-07-30 Thread Fabio Estevam
On Mon, Jul 30, 2012 at 3:53 PM, Bill bsou...@techsi.com wrote: Progress! I switched all the references from ttyAMA0... to ttyAM0. Also changed netargs too. Now it starts to boot linux but hangs right after the line of: mxs_cpu_init: cpufreq init finished. Please remove cpufreq

Re: [U-Boot] [PATCH] net: Improve the speed of netconsole

2012-07-30 Thread Joe Hershberger
Hi Mike, On Wed, Jul 25, 2012 at 1:49 PM, Mike Frysinger vap...@gentoo.org wrote: On Tuesday 24 July 2012 16:11:15 Joe Hershberger wrote: --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -131,8 +131,17 @@ static void nc_send_packet(const char *buf, int len) } if

Re: [U-Boot] [PATCH] env_nand: align NAND buffers

2012-07-30 Thread Wolfgang Denk
Dear Simon Glass, In message CAPnjgZ2gJLhmZyXB1DW=83GBdf1QNv_=q+qfprawczx4yq7...@mail.gmail.com you wrote: - env_t env_new; + ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, sizeof(env_t)); I think this should b Should be ... ??? Best regards, Wolfgang Denk -- DENX Software

Re: [U-Boot] [PATCH] env_nand: align NAND buffers

2012-07-30 Thread Simon Glass
Hi Wolfgang, On Mon, Jul 30, 2012 at 10:10 PM, Wolfgang Denk w...@denx.de wrote: Dear Simon Glass, In message CAPnjgZ2gJLhmZyXB1DW=83GBdf1QNv_=q+qfprawczx4yq7...@mail.gmail.com you wrote: - env_t env_new; + ALLOC_CACHE_ALIGN_BUFFER(env_t, env_new, sizeof(env_t)); I

[U-Boot] [RESEND] [PATCH 0/2] kirkwood: Generalise dns325 support, include dns320

2012-07-30 Thread Jamie Lentin
I submitted this a while ago[0], it would be nice to see it included if possible. It generalises the DNS325 support so that it can be used for both the DNS320 and DNS325. Luka Perkov stated I have no more questions regarding this patch, not sure if this counts as an ACK. The patch here is ~same,

[U-Boot] [PATCH 2/2] kirkwood: Add support for the D-Link DNS-320

2012-07-30 Thread Jamie Lentin
Extend dnskw to support the D-Link DNS-320 ShareCenter NAS also. For more information on this NAS, see:- http://jamie.lentin.co.uk/devices/dlink-dns320 http://dns323.kood.org/dns-320 http://sharecenter.dlink.com/products/DNS-320 Signed-off-by: Jamie Lentin j...@lentin.co.uk Cc:

[U-Boot] [PATCH 1/2] kirkwood: Rename dns325 to dnskw

2012-07-30 Thread Jamie Lentin
So we can re-use DNS-325 configuration for the DNS-320 without things getting confusing, rename all common parts from dns325 to dnskw, and use a config option to configure DNS-325 specifics. Signed-off-by: Jamie Lentin j...@lentin.co.uk Cc: prafu...@marvell.com Cc: albert.u.b...@aribaud.net ---

Re: [U-Boot] [PATCH v4 5/6] tegra: nand: Add Tegra NAND driver

2012-07-30 Thread Scott Wood
On 07/30/2012 01:53 AM, Simon Glass wrote: From: Jim Lin ji...@nvidia.com A device tree is used to configure the NAND, including memory timings and block/pages sizes. If this node is not present or is disabled, then NAND will not be initialized. Signed-off-by: Jim Lin ji...@nvidia.com

Re: [U-Boot] [PATCH v2 2/5] ehci-hcd: Boost transfer speed

2012-07-30 Thread Marek Vasut
Dear Benoît Thébaudeau, [...] Can you explain where this gain would come from? In both cases, the data in USB transfers would be organized in the same way, and it would be accessed in memory also in the same way (regarding bursts). The only difference would be the fetch time

Re: [U-Boot] [PATCH v4 4/6] tegra: fdt: Add NAND definitions to fdt

2012-07-30 Thread Scott Wood
On 07/30/2012 01:53 AM, Simon Glass wrote: Add a flash node to handle the NAND, including memory timings and page / block size information. Signed-off-by: Simon Glass s...@chromium.org --- Changes in v2: - Update NAND binding to add nvidia, prefix Changes in v3: - Add reg property for

Re: [U-Boot] usb_test_unit_ready called every block read - performance

2012-07-30 Thread Marek Vasut
Dear Jim Shimer, While tuning ext2load, we found that usb_test_unit_ready was being called every block read. We compared the usb block storage to the scsi block storage cmd_scsi.c, and found that the scsi device was only calling its scsi_setup_test_unit_ready() during scsi_can. It appears

  1   2   >