Re: [U-Boot] [PATCH 0/6 V2] EXYNOS5: USB: Enable USB 2.0 support

2012-05-07 Thread Lukasz Majewski
Hi Marek, > Dear Lukasz Majewski, > > can I get ACK on this from MK7 ? > I think that Minkyu will respond soon about this patch series. Please be patient :-) > > Hi Rajeshwari, > > > > > This patchset series adds support to enable USB 2.0 on smdk5250. > > > It corrects sysreg register, usb h

[U-Boot] [PATCH] arm, omap3: fix warm reset serial output on OMAP36xx/AM/DM37xx

2012-05-07 Thread Matt Porter
In warm reset conditions on OMAP36xx/AM/DM37xx the rom code incorrectly sets the DPLL4 clock input divider to /6.5 which is an invalid value unless the input clock is 13MHz. When a JTAG emulator is attached, a warm reset is necessary after the emulator gains control of the process. This results in

Re: [U-Boot] [PATCH] mmc: support the revision check for eMMC4.5

2012-05-07 Thread Jaehoon Chung
Hi Andy. On 05/08/2012 07:16 AM, Andy Fleming wrote: > On Tue, Mar 27, 2012 at 1:55 AM, Jaehoon Chung wrote: >> eMMC card is introduced the eMMC4.5. >> But now eMMC card is checked up to eMMC4.0. >> This patch is supported until eMMC4.5 >> >> Signed-off-by: Jaehoon Chung >> Signed-off-by: Kyung

Re: [U-Boot] [U-BOOT][PATCH] mmc: remove the hard setting for tran_speed

2012-05-07 Thread Jaehoon Chung
Hi Andy. On 05/08/2012 06:50 AM, Andy Fleming wrote: > On Mon, Apr 2, 2012 at 1:31 PM, Jae hoon Chung wrote: > >>>if (mmc->card_caps & MMC_MODE_HS) { >>>if (mmc->card_caps & MMC_MODE_HS_52MHz) >>> - mmc_set_clock(mmc, 520

Re: [U-Boot] [PATCH 6/6 V2] config: EXYNOS5: USB: Enable USB 2.0 on smdk5250

2012-05-07 Thread Marek Vasut
Dear Minkyu Kang, > On 4 May 2012 20:12, Rajeshwari Shinde wrote: > > Signed-off-by: Vivek Gautam > > --- > > include/configs/smdk5250.h |6 ++ > > 1 files changed, 6 insertions(+), 0 deletions(-) > > Acked-by: Minkyu Kang Ok, as you raised some concerns, I'll wait for V3 of this set

Re: [U-Boot] [PATCH 6/6 V2] config: EXYNOS5: USB: Enable USB 2.0 on smdk5250

2012-05-07 Thread Minkyu Kang
On 4 May 2012 20:12, Rajeshwari Shinde wrote: > Signed-off-by: Vivek Gautam > --- >  include/configs/smdk5250.h |    6 ++ >  1 files changed, 6 insertions(+), 0 deletions(-) > Acked-by: Minkyu Kang -- from. prom. www.promsoft.net ___ U-Boot mail

Re: [U-Boot] [PATCH 5/6 V2] EXYNOS5: USB: Fix incorrect USB base addresses

2012-05-07 Thread Minkyu Kang
On 4 May 2012 20:12, Rajeshwari Shinde wrote: > This patch corrects the base addresses for USB_PHY and USB_OTG. > > Signed-off-by: Vivek Gautam > Signed-off-by: Rajeshwari Shinde > Acked-by: Chander Kashyap > --- >  arch/arm/include/asm/arch-exynos/cpu.h |    4 ++-- >  1 files changed, 2 insert

Re: [U-Boot] [PATCH 2/6 V2] EXYNOS: Add structure for PMU registers

2012-05-07 Thread Minkyu Kang
On 4 May 2012 20:11, Rajeshwari Shinde wrote: > This patch adds power mananagement registers structure for exynos5 SoC. > > Signed-off-by: Rajeshwari Shinde > Acked-by: Chander Kashyap > --- >  arch/arm/include/asm/arch-exynos/power.h |  622 > ++ >  1 files changed,

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

2012-05-07 Thread Minkyu Kang
On 4 May 2012 20:11, Rajeshwari Shinde wrote: > This patch corrects the SYSREG structure. > We have removed the sysreg.h added in the previous patchset > version as the sysreg structure is already defined in system.h. > > Signe-off-by: Rajeshwari Shinde > --- >  arch/arm/include/asm/arch-exynos/s

Re: [U-Boot] [PATCH 4/6 V2] Exynos5: Add power Enable/Disable for USB-EHCI

2012-05-07 Thread Minkyu Kang
Dear Rajeshwari Shinde, On 4 May 2012 20:12, Rajeshwari Shinde wrote: > This patch adds functions to enable/disable the power of USB > host controller for EXYNOS5. > > Signed-off-by: Vivek Gautam > Signed-off-by: Che-Liang Chiou > Signed-off-by: Rajeshwari Shinde > --- change log. > This pat

Re: [U-Boot] [PATCH 1/1] fat: FAT sector offsets overflow on large disks and/or FAT partitions

2012-05-07 Thread Aaron Williams
Any comments on this patch? On 05/02/2012 07:17 PM, Aaron Williams wrote: > This patch fixes several issues where sector offsets can overflow due to > being limited to 16-bits. There are many cases which can cause an > overflow, including large FAT32 partitions and partitions that start at > a su

Re: [U-Boot] [PATCH 3/6 V2] EXYNOS5 : USB: Set USB 2.0 HOST Link mode

2012-05-07 Thread Minkyu Kang
Dear Rajeshwari Shinde, On 4 May 2012 20:12, Rajeshwari Shinde wrote: > This patch adds a function to set usb host mode to USB 2.0 HOST Link > for EXYNOS5 > > Signed-off-by: Rajeshwari Shinde > --- need the change log here. http://www.denx.de/wiki/view/U-Boot/Patches#Sending_updated_patch_versi

Re: [U-Boot] [PATCH 0/6 V2] EXYNOS5: USB: Enable USB 2.0 support

2012-05-07 Thread Marek Vasut
Dear Lukasz Majewski, can I get ACK on this from MK7 ? > Hi Rajeshwari, > > > This patchset series adds support to enable USB 2.0 on smdk5250. > > It corrects sysreg register, usb host, usb otg base address, > > adds power management registers,functions to enable and disable power > > to the USB

Re: [U-Boot] [PATCH v2] kwboot: boot Marvell Kirkwood SoCs over a serial link

2012-05-07 Thread Daniel Stodden
On Sun, 2012-05-06 at 12:53 -0500, David Purdy wrote: > On Wed, May 2, 2012 at 2:16 PM, Luka Perkov wrote: > > The kwboot program boots boards based on Marvell's Kirkwood platform > > via Xmodem over their integrated UART. > > > > Signed-off-by: Daniel Stodden > > Acked-by: Luka Perkov > > --- >

Re: [U-Boot] [PATCH] arm: Don't use printf() in SPL builds

2012-05-07 Thread Tom Rini
On 05/07/2012 05:28 AM, Stefan Roese wrote: On Saturday 03 March 2012 21:33:15 Simon Glass wrote: raise() likes to call printf() if it is available, but in SPL builds it either is not available, or adds a large chunk to the resulting image size. So don't call it even if it is available. This c

Re: [U-Boot] [PATCH] davinci: added Marvell 88E1111 PHY support

2012-05-07 Thread Tom Rini
On Fri, May 4, 2012 at 11:55 PM, Brilliantov Kirill Vladimirovich wrote: > Tom Rini wrote on 05/04/2012 08:58 PM: > > >> >> OK, we really need the emac driver converted to phylib (which already >> has this PHY it looks like). Any chance you would have time to try doing >> that? >> > > Tom, now I t

Re: [U-Boot] [PATCH] mmc: support the revision check for eMMC4.5

2012-05-07 Thread Andy Fleming
On Tue, Mar 27, 2012 at 1:55 AM, Jaehoon Chung wrote: > eMMC card is introduced the eMMC4.5. > But now eMMC card is checked up to eMMC4.0. > This patch is supported until eMMC4.5 > > Signed-off-by: Jaehoon Chung > Signed-off-by: Kyungmin Park > --- >  common/cmd_mmc.c  |    5 - >  drivers/mm

Re: [U-Boot] [U-BOOT][PATCH] mmc: remove the hard setting for tran_speed

2012-05-07 Thread Andy Fleming
On Mon, Apr 2, 2012 at 1:31 PM, Jae hoon Chung wrote: >>                if (mmc->card_caps & MMC_MODE_HS) { >>                        if (mmc->card_caps & MMC_MODE_HS_52MHz) >> -                               mmc_set_clock(mmc, 5200); >> +                               mmc->tran_speed = 52000

[U-Boot] [PATCH] mx5: Add workaround for ARM erratum ID 468414

2012-05-07 Thread Fabio Estevam
From: Fabio Estevam Add the software workaround for ARM erratum ID 468414. According to mx53/mx51 errata document: "ENGcm11133 - ARM: NEON load data can be incorrectly forwarded to a subsequent request Description: Under very specific set of conditions, data from a Neon load request can be i

[U-Boot] [PATCH] mx53loco: Remove unneeded gpio_set_value()

2012-05-07 Thread Fabio Estevam
From: Fabio Estevam There is no need to set the VBUS power enable to 0 first and then to 1. Set it to 1 in the gpio_direction_output() function. While at it, use the standard naming convention for the GPIO comment. Signed-off-by: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c |5 +

[U-Boot] [PATCH 4/4] mx53loco: Add CONFIG_REVISION_TAG

2012-05-07 Thread Fabio Estevam
From: Fabio Estevam FSL 2.6.35 kernel assumes that the bootloader passes the CONFIG_REVISION_TAG information. The kernel uses this data to distinguish between Dialog versus mc34708 based boards, and also to distinguish between revA and revB of the mc34708 based boards. Suggested-by: Yu Li Si

[U-Boot] [PATCH 3/4] mx53loco: Turn on VUSB regulator

2012-05-07 Thread Fabio Estevam
From: Fabio Estevam On the mx53loco board with mc34708 PMIC it is necessary to turn on VUSB regulator so that the mx53 USBH1 PHY receives the 3.3V voltage. Tested by inserting a USB pen drive in the upper USB slot (USBH1) and then issued the commands: usb start usb info ,which correctly det

[U-Boot] [PATCH 2/4] mx53loco: Add mc34708 support and set mx53 frequency at 1GHz

2012-05-07 Thread Fabio Estevam
From: Fabio Estevam Add mc34708 support and set mx53 core frequency at its maximum value of 1GHz. Signed-off-by: Fabio Estevam --- board/freescale/mx53loco/mx53loco.c | 52 +- include/configs/mx53loco.h |2 + include/fsl_pmic.h |

[U-Boot] [PATCH 1/3] pmic: dialog: Avoid name conflicts

2012-05-07 Thread Fabio Estevam
From: Fabio Estevam As mx53loco board has two variants: one with Dialog PMIC and another with FSL MC34708 PMIC, we need to be able to build both drivers. Change pmic_init() and PMIC_NUM_OF_REGS names to avoid build conflicts when both drivers are present. Signed-off-by: Fabio Estevam --- bo

Re: [U-Boot] [PATCH v6 03/23] Add abs() macro to return absolute value

2012-05-07 Thread Tom Warren
Simon, > -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Friday, May 04, 2012 12:28 PM > To: Simon Glass > Cc: U-Boot Mailing List; Tom Warren > Subject: Re: [U-Boot] [PATCH v6 03/23] Add abs() macro to return absolute > value > > Hi Simon, > > Le 04/

[U-Boot] v2 patch with a change in 2/4

2012-05-07 Thread York Sun
I have a change in 2/4 in this series. Resend all of them as v2. York ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [Patch v2 4/4] powerpc/mpc85xx: Fix Handling the lack of L2 cache on P2040/P2040E

2012-05-07 Thread York Sun
Fix SVR checking for commit acf3f8da. Signed-off-by: York Sun --- Change since v1: No change arch/powerpc/cpu/mpc85xx/release.S | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/release.S b/arch/powerpc/cpu/mpc85xx/release.S index 36c7

[U-Boot] Console over USB on AT91sam9261ek

2012-05-07 Thread Sandro Brandt
Hi everyone, I have been trying to get the console over USB running with different approaches for several days now, but i didn't get anywhere. The problem has been discussed a few times in this email list but it seems that it never has been implemented in a release of the u-boot. Now i wanted t

[U-Boot] [Patch v2 4/4] powerpc/mpc85xx: Fix Handling the lack of L2 cache on P2040/P2040E

2012-05-07 Thread York Sun
Fix SVR checking for commit acf3f8da. Signed-off-by: York Sun --- Change since v1: No change arch/powerpc/cpu/mpc85xx/release.S | 11 --- 1 files changed, 4 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/release.S b/arch/powerpc/cpu/mpc85xx/release.S index 36c7

[U-Boot] [Patch v2 1/4] powerpc/P4080: Check SVR for CPU22 workaround

2012-05-07 Thread York Sun
Workaround for erratum CPU22 applies to P4080 rev 1 and rev 2 only. Signed-off-by: York Sun --- Change since v1: No change. arch/powerpc/cpu/mpc85xx/cmd_errata.c |3 ++- arch/powerpc/cpu/mpc85xx/cpu_init.c |8 +--- arch/powerpc/cpu/mpc85xx/release.S|8 3 files ch

[U-Boot] [Patch v2 3/4] powerpc/mpc85xx: Workaround for erratum CPU_A011

2012-05-07 Thread York Sun
Erratum NMG_CPU_A011 applies to P4080 rev 1.0, 2.0, fixed in rev 3.0. It also applies to P3041 rev 1.0, 1.1, P2041 rev 1.0, 1.1. It shares the same workaround as erratum CPU22. Rearrange registers usage in assembly code to avoid accidental overwriting. Signed-off-by: York Sun --- Change since v1:

[U-Boot] [Patch v2 2/4] powerpc/mpc85xx: Ignore E bit for SVR_SOC_VER()

2012-05-07 Thread York Sun
We don't care E bit of SVR in most cases. Clear E bit for SVR_SOC_VER(). This will simplify the coding. Use IS_E_PROCESSOR() to identify SoC with encryption. Remove all _E entries from SVR list and CPU list. Signed-off-by: York Sun --- Change since v1: Remove three SVRs, SVR_P1014_E, SVR_P1020_E

Re: [U-Boot] [PATCH] tegra: override compiler flags for cmd_nvedit

2012-05-07 Thread Allen Martin
On Sat, May 05, 2012 at 01:01:22PM -0700, Wolfgang Denk wrote: > Dear Allen Martin, > > In message <1336163380-29679-1-git-send-email-amar...@nvidia.com> you wrote: > > Override -march setting for tegra to -march=armv4t for cmd_nvedit.c > > > > The recent change to use -march=armv7-a for armv7 ca

[U-Boot] nand_get_device() and nand_release_device()

2012-05-07 Thread Timur Tabi
Scott, As you know, the P1022 has this weird LBC/DIU muxing problem. I'd like to add support for the 'nand' command while the DIU is active. Looking at the NAND code, I see functions nand_get_device() and nand_release_device(). What is the idea behind these functions? Would it make sense to do

Re: [U-Boot] [PATCH] mxs-i2c: Fix internal address byte order

2012-05-07 Thread Marek Vasut
Dear Torsten Fleischer, > Dear Marek Vasut, > > > > Large EEPROMs, e.g. 24lc32, need 2 byte to address the internal memory. > > > These devices require that the high byte of the internal address has to > > > be written first. > > > The mxs_i2c driver currently writes the address' low byte first.

Re: [U-Boot] [PATCH] mx28evk: Add I2C support

2012-05-07 Thread Marek Vasut
Dear Fabio Estevam, > Add I2C support. > > Tested by placing a 24LC16 EEPROM into the U50 slot which comes empty from > factory. > > Signed-off-by: Fabio Estevam Acked-by: Marek Vasut > --- > board/freescale/mx28evk/iomux.c |3 +++ > include/configs/mx28evk.h |8 > 2

[U-Boot] [PATCH] mx28evk: Add I2C support

2012-05-07 Thread Fabio Estevam
Add I2C support. Tested by placing a 24LC16 EEPROM into the U50 slot which comes empty from factory. Signed-off-by: Fabio Estevam --- board/freescale/mx28evk/iomux.c |3 +++ include/configs/mx28evk.h |8 2 files changed, 11 insertions(+), 0 deletions(-) diff --git a/boa

Re: [U-Boot] [PATCH] mxs-i2c: Fix internal address byte order

2012-05-07 Thread Torsten Fleischer
Dear Marek Vasut, > > Large EEPROMs, e.g. 24lc32, need 2 byte to address the internal memory. > > These devices require that the high byte of the internal address has to > > be written first. > > The mxs_i2c driver currently writes the address' low byte first. > > Are you sure about it? Are you s

[U-Boot] [PATCH - resend due to bounce] libfdt: Add fdt functionality for more intuitive

2012-05-07 Thread Peter Feuerer
libfdt: Add fdt functionality for more intuitive fdt handling New functions: fdt_read - retrieve the value of a property by full path fdt_write - create or change a property with full path and create subnodes if needed fdt_create_path - create subnode path with parents Signed-off-by: Peter Feuer

[U-Boot] [PATCH v4] powerpc/p1022ds: Add sdcard and spi boot support to P1022DS

2012-05-07 Thread Dirk Eibach
Signed-off-by: Dirk Eibach Cc: Timur Tabi --- Changes in v2: - add Cc - split up original patch series Changes in v3: - use clrsetbits() instead of clrbits()/setbits() - remove dead code - remove unnecessary #undef Changes in v4: - Add some documentation - set pmuxcr depending on bootmode - use '

[U-Boot] Subject: [PATCH] libfdt: Add fdt functionality for more intuitive fdt handling

2012-05-07 Thread Peter Feuerer
libfdt: Add fdt functionality for more intuitive fdt handling New functions: fdt_read - retrieve the value of a property by full path fdt_write - create or change a property with full path and create subnodes if needed fdt_create_path - create subnode path with parents Signed-off-by: Peter Feuer

Re: [U-Boot] uboot and ZFS

2012-05-07 Thread Jorgen Lundman
Did you miss my message of Wed, 02 May? See http://thread.gmane.org/gmane.comp.boot-loaders.u-boot/130638/focus=130671 Unfortunately there is no legal (license-conforming) way to include ZFS code into U-Boot and distribute it. That means, there is no chance to get this added to mainline.

Re: [U-Boot] uboot and ZFS

2012-05-07 Thread Wolfgang Denk
Dear Jorgen, In message <4fa7761d.90...@lundman.net> you wrote: > > If you correctly skip the HW init, you can try booting u-boot from u-boot > > ... > > (now, WD will hate me for bringing this up :-) ). It's possible, but > > unsupported > > operation. You might need to do some research on this

Re: [U-Boot] [PATCH] arm: Don't use printf() in SPL builds

2012-05-07 Thread Stefan Roese
On Saturday 03 March 2012 21:33:15 Simon Glass wrote: > raise() likes to call printf() if it is available, but in SPL builds it > either is not available, or adds a large chunk to the resulting image > size. > > So don't call it even if it is available. > > This change reduces SPL size from 10KB

Re: [U-Boot] [PATCH v3] powerpc/p1022ds: Add sdcard and spi boot support to P1022DS

2012-05-07 Thread Eibach, Dirk
> > @@ -403,11 +422,38 @@ > > /* > > * Environment > > */ > > -#define CONFIG_ENV_IS_IN_FLASH > > -#define CONFIG_ENV_OVERWRITE > > -#define CONFIG_ENV_ADDR > (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) > > -#define CONFIG_ENV_SIZE0x2000 > > -#define CONFIG_ENV_

Re: [U-Boot] [PATCH] i.MX28: Add delay after CPU bypass is cleared

2012-05-07 Thread Detlev Zundel
Hi Stefano, > On 04/05/2012 13:32, Marek Vasut wrote: >> This solves issues when larger amount of DRAM is used, like 256MB. >> Behave the same in case of CPU bypass as we do in case of EMI >> bypass, but wait 15 ms. We need to wait until the clock domain >> stabilizes. >> >> This issue seemed to

Re: [U-Boot] [PATCH 1/3] omap4: panda: disable uart2 pads during boot

2012-05-07 Thread R, Sricharan
Tero, [snip] >> > -       {UART2_CTS, (PTU | IEN | M0)},                                  /* >> > uart2_cts */ >> > -       {UART2_RTS, (M0)},                                              /* >> > uart2_rts */ >> > -       {UART2_RX, (PTU | IEN | M0)},                                   /* >> > ua

Re: [U-Boot] [PATCH 1/3] omap4: panda: disable uart2 pads during boot

2012-05-07 Thread Tero Kristo
On Sat, 2012-05-05 at 15:04 +0530, R, Sricharan wrote: > Hi Tero, > > On Wed, Apr 25, 2012 at 9:35 PM, Tero Kristo wrote: > > If uart2 is enabled during boot, spurious wifi chip transmission will > > hang the module and it is impossible to recover from this situation > > without hard reset. This

Re: [U-Boot] ETH RBPTR incorrect mapping for rtx volatile structure

2012-05-07 Thread BUGNIOT Geoffrey
After some more investigation, After RX TX INITIALISATION command, RBASE et RBPTR still differ for one digit. RBASE relate to a regular RAM area which address is 0x7F9A308, but in my CPU register value is 0x6F9A308. In my map file (before relocation) address is 0x39308. My Offset is 0x7F61000.

Re: [U-Boot] uboot and ZFS

2012-05-07 Thread Matthias Weißer
Am 07.05.2012 09:13, schrieb Jorgen Lundman: If you correctly skip the HW init, you can try booting u-boot from u-boot ... (now, WD will hate me for bringing this up :-) ). It's possible, but unsupported operation. You might need to do some research on this matter :-) I was thinking more a

Re: [U-Boot] [PATCH V2 0/4] mtd/NAND: Support for FSMC controller

2012-05-07 Thread Stefan Roese
Hi Scott, On Monday 07 May 2012 09:26:05 Amit Virdi wrote: > This patchset adds support for ST's FSMC controller. In the current u-boot, > a SPEAr specific driver exists for FSMC controller. This patchset adds a > full fledged driver that can be used across multiple platforms and removes > the ob

Re: [U-Boot] [PATCH v2] kwboot: boot Marvell Kirkwood SoCs over a serial link

2012-05-07 Thread Holger Brunck
On 05/02/2012 09:16 PM, Luka Perkov wrote: > The kwboot program boots boards based on Marvell's Kirkwood platform > via Xmodem over their integrated UART. > > Signed-off-by: Daniel Stodden > Acked-by: Luka Perkov > --- > > Changes from version v1: > * fix man page > * minor cosmetic fixes in

[U-Boot] [PATCH V2 RESEND 19/24] SPEAr: Enable ONFI nand flash detection for spear3xx and 6xx and evb

2012-05-07 Thread Amit Virdi
From: Vipin Kumar Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- include/configs/spear-common.h |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h index 89fbb15..ec4642f 100

[U-Boot] [PATCH V2 RESEND 24/24] cleanup/SPEAr: Define configuration flags more elegantly

2012-05-07 Thread Amit Virdi
In SPEAr, some of the configuration flags eg. CONFIG_SPEAR_EMI, were given value "1", which isn't required. Define the flags without assigning any value Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- include/configs/spear-common.h | 16 include/configs/spear3xx_evb.h |

[U-Boot] [PATCH V2 RESEND 23/24] cleanup/SPEAr: Remove unnecessary parenthesis

2012-05-07 Thread Amit Virdi
In SPEAr configuration files, unnecessary paranthesis are used in some \#defines. Remove them as they serve no purpose Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- arch/arm/include/asm/arch-spear/spr_gpt.h |4 ++-- include/configs/spear-common.h|8 include/c

[U-Boot] [PATCH V2 RESEND 22/24] SPEAr: Correct SoC ID offset in misc configuration space

2012-05-07 Thread Amit Virdi
From: Shiraz Hashim SoC Core ID offset is 0x30 in miscellaneous configuration address space. It was wrongly mentioned as periph2 clk enable. Signed-off-by: Shiraz Hashim Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- arch/arm/include/asm/arch-spear/spr_misc.h |2 +- 1 files changed

[U-Boot] [PATCH V2 RESEND 20/24] SPEAr: Remove CONFIG_MTD_NAND_VERIFY_WRITE to speed up NAND access

2012-05-07 Thread Amit Virdi
When CONFIG_MTD_NAND_VERIFY_WRITE is defined, nand driver read back the data everytime it writes. This process unnecessarily slows down the nand access. Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- include/configs/spear-common.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-)

[U-Boot] [PATCH V2 RESEND 21/24] SPEAr: explicitly select clk src for UART

2012-05-07 Thread Amit Virdi
From: Shiraz Hashim UART in u-boot intends to run on 48MHz clock supplied by USB PLL. Explicitly select the intended clock source. Signed-off-by: Shiraz Hashim Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- arch/arm/cpu/arm926ejs/spear/cpu.c |7 ++- arch/arm/include/asm

[U-Boot] [PATCH V2 RESEND 18/24] SPEAr: Enable CONFIG_SYS_FLASH_EMPTY_INFO macro

2012-05-07 Thread Amit Virdi
From: Vipin Kumar Enable CONFIG_SYS_FLASH_EMPTY_INFO macro to enable reporting of empty sector information through flinfo command. Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- include/configs/spear-common.h |3 ++- 1 files changed, 2 insertions(+), 1 de

[U-Boot] [PATCH V2 RESEND 17/24] SPEAr: Correct the definition of CONFIG_SYS_MONITOR_BASE

2012-05-07 Thread Amit Virdi
From: Vipin Kumar The below text is copy pasted from README - CONFIG_SYS_MONITOR_BASE: Physical start address of boot monitor code (set by make config files to be same as the text base address (TEXT_BASE) used when linking) - same as CONFIG_SYS_FLASH_BASE when boot

[U-Boot] [PATCH V2 RESEND 15/24] SPEAr: Enable dcache for fast file transfer

2012-05-07 Thread Amit Virdi
From: Shiraz Hashim Enable data cache with 1:1 mapping of DDR to enable fast file transfer over tty which was doing lot of copy. This feature is enabled only for flashing operation i.e. when CONFIG_SPEAR_USBTTY is enabled. This has been tested on SPEAr320, SPEAr600 and SPEAr900 evaluation board

[U-Boot] [PATCH V2 RESEND 16/24] SPEAr: Enable CONFIG_SYS_FLASH_PROTECTION

2012-05-07 Thread Amit Virdi
From: Vipin Kumar This patch enables flash protection(lock/unlock) for CFI devices. This is necessary because the Parallel NOR flash connected on the spear boards, M28W64, can be locked/unlocked on a sector basis. Moreover, all its sectors are in locked state at reset and these have to be unlocke

[U-Boot] [PATCH V2 RESEND 12/24] SPEAr: Enable usb device high speed support

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR This patch enables the support for usb high speed device for spear platform SOCs Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi --- include/configs/spear-common.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/spear-common.h b/

[U-Boot] [PATCH V2 RESEND 13/24] SPEAr: Enable udc and usb-console support only for usbtty configuration

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR This patch enables the UDC and usb-console support only for usbtty configurations Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- include/configs/spear-common.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/includ

[U-Boot] [PATCH V2 RESEND 14/24] SPEAr: Enable autoneg for ethernet

2012-05-07 Thread Amit Virdi
From: Shiraz Hashim Enabling autoneg avoids situation on few phys with fixed configuration. For example, in one situation, nfs boot timed out when phy configuration is 100Mbps. In another situtation, when traffic is directed to SPEAr, either thru cross-cable or thru switch, the TFTP or DHCP comma

[U-Boot] [PATCH V2 RESEND 06/24] SPEAr: Add interface information in initialization

2012-05-07 Thread Amit Virdi
From: Vipin Kumar Few Designware peripheral registers need to be modified based on the ethernet interface selected by the board. This patch supports interface information in ethernet driver Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi --- board/spear/spear300/spear300.c | 11 +++

[U-Boot] [PATCH V2 RESEND 08/24] SPEAr: Add configuration options for spear3xx and spear6xx boards

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR This patch adds options for all the below mentioned configurations and subsequently renames the include/configs/spearxxx.h files to spear3xx_evb.h, spear6xx_evb.h etc to depict evaluation board configuration. SPEAr3xx and SPEAr6xx boards can be compiled in following configurati

[U-Boot] [PATCH V2 RESEND 11/24] SPEAr: Initialize SNOR in early_board_init_f

2012-05-07 Thread Amit Virdi
flash reading is required earlier than flash_init is called since the env_init is called before flash_init. This makes the smi_init necessary before env_init being called. Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- board/spear/common/spr_misc.c |8 include/configs/spear-

[U-Boot] [PATCH V2 RESEND 10/24] SPEAr: Change the default environment variables

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR This patch modifies the default environment variables as: 1. Default bootargs: - console=ttyAMA0,115200 - For environment present in NOR flash root=/dev/mtdblock3 - For environment present in NAND flash root=/dev/mtdblock7 - Removes "mem=" option 2. Introduces CONF

[U-Boot] [PATCH V2 RESEND 09/24] SPEAr: Remove unused flag (CONFIG_SYS_HZ_CLOCK)

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR SPEAr doesn't need CONFIG_SYS_HZ_CLOCK. This commit removes it. Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- include/configs/spear-common.h |1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/include/configs/spear-comm

[U-Boot] [PATCH V2 RESEND 07/24] SPEAr: Add basic arch related support for SPEAr SoCs

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR Earlier, architecture specific init code was mixed with board initialization code in board/spear/... This patch updates architecture support for SPEAr in latest u-boot and prints the SoC information. Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi Acked-by: Stefan Roese

[U-Boot] [PATCH V2 RESEND 05/24] SPEAr: Add macb driver support for spear310 and spear320

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR SPEAr310 and SPEAr320 SoCs have an extra ethernet controller. The driver for this device is already supported by u-boot, so configuring board configuration file and defining base addresses etc to make use of the common driver Signed-off-by: Vipin Kumar Signed-off-by: Amit Vird

[U-Boot] [PATCH V2 RESEND 04/24] SPEAr: Configure network support for spear SoCs

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi --- arch/arm/include/asm/arch-spear/hardware.h |1 + board/spear/spear300/spear300.c| 10 ++ board/spear/spear310/spear310.c| 10 ++ board/spear/spear320/spear320.c

[U-Boot] [PATCH V2 RESEND 03/24] SPEAr: Place ethaddr write and read within CONFIG_CMD_NET

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR ethaddr can be optionally read from i2c memory. So, chip_config command supports reading/writing hw mac id into i2c memory. Placing this code within CONFIG_CMD_NET as this would only be needed when network interface is configured Signed-off-by: Vipin Kumar Signed-off-by: Amit

[U-Boot] [PATCH V2 RESEND 02/24] SPEAr: Eliminate dependency on Xloader table

2012-05-07 Thread Amit Virdi
Xloader table was used primarily to inform u-boot about the DDR size. However, now the ddr size is calculated at runtime which eliminates any need for the Xloader table. So removing this unnecessary code. Signed-off-by: Amit Virdi Acked-by: Stefan Roese --- arch/arm/include/asm/arch-spear/spr_d

[U-Boot] [PATCH V2 RESEND 01/24] SPEAr: Fix ARM relocation support

2012-05-07 Thread Amit Virdi
While the u-boot code is running from the flash, it is essential that no access is made to the bss segment. This is due to the fact that .rel.dyn and .bss areas overlap and former contains information used in relocation. In SPEAr, this was not taken into consideration. As a result, while the reloca

[U-Boot] [PATCH V2 RESEND 00/24] SPEAr: Update platform support for SPEAr3xx/6xx

2012-05-07 Thread Amit Virdi
This patchset updates the SPEAr support in the u-boot. It contains various bugfixes and enhancements. The patches have certain dependencies on the drivers, so should be applied once the driver patches are frozen. The various drivers on which these patches depend are: 1. USB device controller: h

[U-Boot] [PATCH V1 RESEND 12/12] st_smi: Fixed page size for Winbond W25Q128FV flash

2012-05-07 Thread Amit Virdi
From: Armando Visconti Signed-off-by: Armando Visconti Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/mtd/st_smi.c b/drivers/mtd/st_smi.c index bd5602b..3f689e7 100644 --- a/drivers/mtd/st_smi.c +++ b/drivers

[U-Boot] [PATCH V1 RESEND 11/12] st_smi: Change timeout loop implementation

2012-05-07 Thread Amit Virdi
There are two problems in the current timeout loop implementation: 1. In case initial test failing, there will always be a delay of 1 ms 2. The delay duration is not tunable The new implementation addresses both these limitations. Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c | 27 ++

[U-Boot] [PATCH V1 RESEND 10/12] st_smi: Fix bug in flash_print_info()

2012-05-07 Thread Amit Virdi
From: Armando Visconti If the flash size was smaller than 1MB then flash_print_info() was erroneously reporting 0 MB. Signed-off-by: Armando Visconti Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/mtd

[U-Boot] [PATCH V1 RESEND 09/12] st_smi: Change the flash probing method

2012-05-07 Thread Amit Virdi
From: Armando Visconti THis patch introduces a new methodology for flash probing in which flash_devices[] table, looked-up thru the dev_id, is used to locate the flash geometry and information. Signed-off-by: Armando Visconti Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c | 92 +

[U-Boot] [PATCH V1 RESEND 05/12] st_smi: Read status until timeout happens

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR SMI driver read status fails because the control register could not be overwritten. Instead, the read status should be tried until timeout. Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(

[U-Boot] [PATCH V1 RESEND 08/12] st_smi: Removed no needed dependency on ST_M25Pxx_ID

2012-05-07 Thread Amit Virdi
From: Armando Visconti Since the smi erase code is very generic and works for any kind of flash, there is no need to test for ST_M25Pxx_ID flash types like m25p40 flashes). Signed-off-by: Armando Visconti Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c | 50 ++

[U-Boot] [PATCH V1 RESEND 07/12] st_smi: Fix smi read status

2012-05-07 Thread Amit Virdi
From: Vipin Kumar smi_read_sr fails sometimes because of TFF not getting set within assumed time. This condition may arise because of, for example, smi memory being in a erase mode. This fix is to enable reading the status register until timeout. Signed-off-by: Vipin Kumar Signed-off-by: Amit

[U-Boot] [PATCH V1 RESEND 06/12] st_smi: Move status register read before modifying ctrl register

2012-05-07 Thread Amit Virdi
From: Shiraz Hashim Signed-off-by: Shiraz Hashim Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/st_smi.c b/drivers/mtd/st_smi.c index 7b4c6f3..eb902b2 100644 --- a/drivers/mtd/st_smi.c +++ b/drivers/m

[U-Boot] [PATCH V1 RESEND 04/12] st_smi: Enhance the error handling

2012-05-07 Thread Amit Virdi
This commit does the following: - Reports error if SNOR flash is not found on the board - Changes smi_read_sr to return error using which a retry mechanism is implemented for reading flash status Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c | 34 +

[U-Boot] [PATCH V1 RESEND 03/12] st_smi: Change SMI timeout values

2012-05-07 Thread Amit Virdi
Signed-off-by: Amit Virdi --- include/linux/mtd/st_smi.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/mtd/st_smi.h b/include/linux/mtd/st_smi.h index b7a78ac..04f81ea 100644 --- a/include/linux/mtd/st_smi.h +++ b/include/linux/mtd/st_smi.h @@ -109,8 +1

[U-Boot] [PATCH V1 RESEND 01/12] st_smi: Add support for SPEAr SMI driver

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR SMI is the serial memory interface controller provided by ST. Earlier, a driver exists in the u-boot source code for the SMI IP. However, it was specific to spear platforms. This commit converts the same driver to a more generic driver. As a result, the driver files are renamed

[U-Boot] [PATCH V1 RESEND 02/12] st_smi: Return error in case TFF is not set

2012-05-07 Thread Amit Virdi
Curently the code makes wrong assumption that the Transfer finished flag shall be set within the stipulated time. However, there may occur a scenario in which the TFF flag is not set. Return error in that case. Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi --- drivers/mtd/st_smi.c | 22

[U-Boot] [PATCH V1 RESEND 00/12] mtd/SMI: Add support for ST SMI controller

2012-05-07 Thread Amit Virdi
In the current u-boot, a driver exists for ST's SMI controller. However, the driver is SPEAr specific. This patchset makes the driver more generic so that it can be used across multiple platforms. In the first commit, the driver is renamed to st_smi. In subsequent patches, changes are introduced s

[U-Boot] [PATCH V2 4/4] mtd/NAND: Remove obsolete SPEAr specific NAND drivers

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR Since, SPEAr platform uses generic FSMC driver now, so spear specific files drivers/mtd/nand/spr_nand.c, arch/arm/include/asm/arch-spear/spr_nand.h are removed Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi --- arch/arm/include/asm/arch-spear/spr_nand.h | 57

[U-Boot] [PATCH V2 3/4] SPEAr: Configure FSMC driver for NAND interface

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR Since FSMC is a standard IP and it supports different memory interfaces, it is supported independent of spear platform and spear is configured to use that driver for interfacing with the NAND device Signed-off-by: Vipin Kumar Signed-off-by: Amit Virdi --- arch/arm/include/as

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

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR Flexible static memory controller is a peripheral provided by ST, which controls the access to NAND chips along with many other memory device chips eg NOR, SRAM. This patch adds the driver support for FSMC controller interfacing with NAND memory. Signed-off-by: Vipin Kumar Si

[U-Boot] [PATCH V2 0/4] mtd/NAND: Support for FSMC controller

2012-05-07 Thread Amit Virdi
This patchset adds support for ST's FSMC controller. In the current u-boot, a SPEAr specific driver exists for FSMC controller. This patchset adds a full fledged driver that can be used across multiple platforms and removes the obsolete SPEAr specific driver. V1 -> V2 - Defined CONFIG_SYS_NAND_S

[U-Boot] [PATCH V2 1/4] ARM: Define change_bit routine

2012-05-07 Thread Amit Virdi
From: Vipin KUMAR change_bit routine is left implementation dependent until now. This routine is now defined for arm platforms in asm-arm/bitops.h The Flexible Static memory controller driver, placed in mtd/nand/fsmc_nand.c needs this routine. FSMC is a memory controller peripheral from ST. The

Re: [U-Boot] uboot and ZFS

2012-05-07 Thread Jorgen Lundman
If you correctly skip the HW init, you can try booting u-boot from u-boot ... (now, WD will hate me for bringing this up :-) ). It's possible, but unsupported operation. You might need to do some research on this matter :-) I was thinking more along the lines of; Since I am testing a filesyste

Re: [U-Boot] [resent] New chapter in i.MX51 datasheet an issue?

2012-05-07 Thread David Jander
Dear Stefano, On Sun, 06 May 2012 18:15:18 +0200 Stefano Babic wrote: > On 04/05/2012 12:08, David Jander wrote: > > > > Hi all, > > > > Hi David, > > > I discovered a bug in u-boot, that got evident after Freescale updated the > > i.MX51 datasheets to revision 5 in March this year. I don't