Re: [U-Boot] [PATCH 0/3] mxc_spi refactoring (for mx6q and mx6qsabrelite)

2012-01-30 Thread Jason Hui
On Tue, Jan 31, 2012 at 2:51 PM, Jason Liu wrote: > Eric, > > 2012/1/31 Eric Nelson : >> This patch set refactors mxc_spi as described in >>    http://lists.denx.de/pipermail/u-boot/2010-March/068791.html >> and requested in >>    http://lists.denx.de/pipermail/u-boot/2012-January/116023.html >> i

Re: [U-Boot] [PATCH 0/3] mxc_spi refactoring (for mx6q and mx6qsabrelite)

2012-01-30 Thread Jason Liu
Eric, 2012/1/31 Eric Nelson : > This patch set refactors mxc_spi as described in >    http://lists.denx.de/pipermail/u-boot/2010-March/068791.html > and requested in >    http://lists.denx.de/pipermail/u-boot/2012-January/116023.html > in order to add support for the MX6Q in general and the mx6qsa

[U-Boot] Can u-Boot Ran from RAM?

2012-01-30 Thread Bud Miljkovic
Hi there, While getting acquainted with possible u-Boot development issues, I read FAQ "14.2.1. Can U-Boot be configured such that it can be started in RAM?" and was puzzled to learn that u-Boot cannot run from RAM. Considering a custom platform, using i.MX536, I understand that the i.MX53

[U-Boot] [PATCH] integrator: rewrite the AP PCI driver

2012-01-30 Thread Linus Walleij
The PCI support for the Integrator AP has apparently never been finished and I strongly suspect that it has never worked, so let's fix it. This is a list of the more or less un-splittable changes done in this driver rewrite: - Replace the register definitions stashed into the config file (!) wit

[U-Boot] [PATCH V4] AT91: pio: Add PIO3 features

2012-01-30 Thread Hong Xu
This patch adds the support for new PIO controller introduced by some AT91 SoCs. New features include * More peripheral multiplexing * Pull-down, Schmitt trigger, Debouncer * More irq trigger mode (may be not interesting in U-Boot) Signed-off-by: Hong Xu Acked-by: Remy Bohmer --- Changes since

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-30 Thread Sughosh Ganu
On Mon Jan 30, 2012 at 10:03:40AM -0700, Tom Rini wrote: > Q1) Currently, the low level initialization code for ARM926EJS CPUs in > the u-boot bootloader clears the V-bit of the cp15 control register > c1. By default, this bit is set on AM1808 and OMAP-L138 before u-boot > ist started. Sughosh Gan

Re: [U-Boot] [PATCH 2/4] net: fec_mxc: add PHYLIB support

2012-01-30 Thread Troy Kisky
On 1/29/2012 7:04 PM, Andy Fleming wrote: On Thu, Jan 26, 2012 at 4:21 PM, Troy Kisky wrote: Signed-off-by: Troy Kisky --- drivers/net/fec_mxc.c | 35 ++- drivers/net/fec_mxc.h |1 + 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/drive

Re: [U-Boot] [PATCH 3/4] net: phy: add support for Micrel's KSZ9021

2012-01-30 Thread Troy Kisky
On 1/30/2012 5:05 PM, Andy Fleming wrote: On Mon, Jan 30, 2012 at 3:30 PM, Troy Kisky wrote: On 1/29/2012 7:26 PM, Andy Fleming wrote: NAK, for reasons listed below. An earlier version of something like PHY Lib had a similar type of mechanism, but a list of register writes is often insuffici

[U-Boot] [PATCH] i.MX28: Make the stabilization delays shorter

2012-01-30 Thread Marek Vasut
Cut down the VDDIO/VDDA regulator stabilization delays to 500 uS. That should be enough according to the datasheet and bootlets. Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Detlev Zundel Cc: Stefano Babic Cc: Robert Deliën Cc: Fabio Estevam Cc: Matthias Fuchs --- arch/arm/cpu/arm926ej

Re: [U-Boot] [PATCH 3/4] net: phy: add support for Micrel's KSZ9021

2012-01-30 Thread Andy Fleming
On Mon, Jan 30, 2012 at 3:30 PM, Troy Kisky wrote: > On 1/29/2012 7:26 PM, Andy Fleming wrote: >> >> NAK, for reasons listed below. >> >> An earlier version of something like PHY Lib had a similar type of >> mechanism, but a list of register writes is often insufficient to the >> task of performin

[U-Boot] [PATCH] i.MX28: Fix VDDIO and VDDA setup

2012-01-30 Thread Marek Vasut
The DC power STS shouldn't be checked if booting off 5V supply. Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Detlev Zundel Cc: Stefano Babic Cc: Robert Deliën Cc: Fabio Estevam Cc: Matthias Fuchs --- arch/arm/cpu/arm926ejs/mx28/spl_power_init.c | 16 1 files changed,

[U-Boot] [PATCH] integrator: rewrite the AP PCI driver

2012-01-30 Thread Linus Walleij
The PCI support for the Integrator AP has apparently never been finished and I strongly suspect that it has never worked, so let's fix it. This is a list of the more or less un-splittable changes done in this driver rewrite: - Replace the register definitions stashed into the config file (!) wit

Re: [U-Boot] mx28 spl power cpu clock configuration

2012-01-30 Thread Marek Vasut
> On Mon, Jan 30, 2012 at 7:53 PM, Marek Vasut wrote: > > Hi Fabio, did they also test stepping through the power_init() ? > > They tested stepping using their standalone code, not U-boot. > > Regards, > > Fabio Estevam Can you jab me on G? I'm on the problem and I have a possible suspect. ___

Re: [U-Boot] serial : Device tree support for multiple serial devices.

2012-01-30 Thread hanumant
On 1/30/2012 10:35 AM, Simon Glass wrote: What I did for now was to implement a new fdt_serial.c file which defines 4 separate sets of function (each set containing putc, getc, etc.) with the device pointer built in to those functions. It's really ugly, and is what eserial does. Those functions l

Re: [U-Boot] mx28 spl power cpu clock configuration

2012-01-30 Thread Fabio Estevam
On Mon, Jan 30, 2012 at 7:53 PM, Marek Vasut wrote: > Hi Fabio, did they also test stepping through the power_init() ? They tested stepping using their standalone code, not U-boot. Regards, Fabio Estevam ___ U-Boot mailing list U-Boot@lists.denx.de h

Re: [U-Boot] mx28 spl power cpu clock configuration

2012-01-30 Thread Robert Deliën
Hi Fabio, >>> Could you please post a patch with your proposed change so that we can test >>> it? Still working on it. Got delayed by an incompatibility between the SoC and an SD-Card controller. I'm the only software developer currently on this project, so I swich back-and-forth all the time.

Re: [U-Boot] mx28 spl power cpu clock configuration

2012-01-30 Thread Marek Vasut
> Hi Robert, > > On Wed, Jan 25, 2012 at 2:36 PM, Robert Deliën wrote: > > Hi Fabio, > > > >> Could you please post a patch with your proposed change so that we can > >> test it? > > > > I was hoping for a suggestion from you, as you know this SoC far better > > than me. Currently I am trying d

Re: [U-Boot] [PATCH 3/4] net: phy: add support for Micrel's KSZ9021

2012-01-30 Thread Troy Kisky
On 1/29/2012 7:26 PM, Andy Fleming wrote: NAK, for reasons listed below. On Thu, Jan 26, 2012 at 4:21 PM, Troy Kisky wrote: Add the gigabit phy KSZ9021. Signed-off-by: Troy Kisky These commit messages are a bit over-brief. Please explain a bit more if there's anything non-trivial in the pat

[U-Boot] [PATCH] omap_hsmmc: Wait for CMDI to be clear

2012-01-30 Thread Tom Rini
Before we can send a command we need both the DATI (command inhibit on mmc_dat line) bit and CMDI (command inhibit on mmc_cmd line) are clear. The previous behavior of only checking on DATI was insufficient on some cards and incorrect behavior in any case. This makes the code check for both bits b

Re: [U-Boot] mx28 spl power cpu clock configuration

2012-01-30 Thread Fabio Estevam
Hi Robert, On Wed, Jan 25, 2012 at 2:36 PM, Robert Deliën wrote: > Hi Fabio, > >> Could you please post a patch with your proposed change so that we can test >> it? > > I was hoping for a suggestion from you, as you know this SoC far better than > me. > Currently I am trying different solutions

[U-Boot] [PATCH] mx6q: mx6qsabrelite: Conditionally define macros for environment in serial flash

2012-01-30 Thread Eric Nelson
The default settings store the persistent environment on SD card and not serial flash (SPI NOR). To use SPI NOR to save the environment instead of SD card, edit include/configs/mx6qsabrelite.h and - undefine CONFIG_ENV_IS_IN_MMC - define CONFIG_ENV_IS_IN_SPI_FLASH The SPI driver can take as ch

[U-Boot] [PATCH] mx6q: mx6qsabrelite: Provide default serial flash bus and chip-select

2012-01-30 Thread Eric Nelson
Signed-off-by: Eric Nelson Acked-by: Dirk Behme Acked-by: Stefano Babic --- include/configs/mx6qsabrelite.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index bcb1a42..3bf7819 100644 --- a/include/co

[U-Boot] [PATCH 1/2] sf command: allow default bus and chip selects

2012-01-30 Thread Eric Nelson
This patch allows a board configuration file to provide default bus and chip-selects for SPI flash so that first argument to the 'sf' command is optional. On boards that use the mxc_spi driver and a GPIO for chip select, this allows a much simpler command line: U-Boot> sf probe instead of

[U-Boot] [PATCH 2/2] README: Add description of SPI Flash (SF) command configuration

2012-01-30 Thread Eric Nelson
Signed-off-by: Eric Nelson --- README | 20 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/README b/README index 9d713e8..4dbebcb 100644 --- a/README +++ b/README @@ -809,6 +809,7 @@ The following options need to be configured:

[U-Boot] [PATCH 0/2] SPI flash enhancements: allow default bus and chip-selects

2012-01-30 Thread Eric Nelson
Patch 1 modifies the 'sf' command to allow a default bus and chip-select to be specified by board headers. This allows a bare 'sf' probe command: U-Boot> sf probe instead of the more cumbersome usage when a GPIO is tacked onto the chip-select. Otherwise, this command-line would be needed to s

[U-Boot] [PATCH 3/3] mx6q: mx6qsabrelite: Add ECSPI support to the Sabrelite platform

2012-01-30 Thread Eric Nelson
Signed-off-by: Eric Nelson Acked-by: Dirk Behme Acked-by: Stefano Babic --- board/freescale/mx6qsabrelite/imximage.cfg|2 +- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 25 + include/configs/mx6qsabrelite.h |9 + 3 files changed, 3

[U-Boot] [PATCH 1/3] mxc_spi: move machine specifics into CPU headers

2012-01-30 Thread Eric Nelson
Move (E)CSPI register declarations into the imx-regs.h files for each supported CPU Introduce two new macros to control conditional setup MXC_CSPI - Used for processors with the Configurable Serial Peripheral Interface (MX3x) MXC_ECSPI - For processors with Enhanced Configurable... (MX

[U-Boot] [PATCH 0/3] mxc_spi refactoring (for mx6q and mx6qsabrelite)

2012-01-30 Thread Eric Nelson
This patch set refactors mxc_spi as described in http://lists.denx.de/pipermail/u-boot/2010-March/068791.html and requested in http://lists.denx.de/pipermail/u-boot/2012-January/116023.html in order to add support for the MX6Q in general and the mx6qsabrelite specifically. Patch 1 si

[U-Boot] [PATCH 2/3] mx6q: Add support for ECSPI through mxc_spi driver

2012-01-30 Thread Eric Nelson
Signed-off-by: Eric Nelson Acked-by: Dirk Behme Acked-by: Stefano Babic --- arch/arm/include/asm/arch-mx6/imx-regs.h | 44 ++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/i

Re: [U-Boot] [PATCH V4 6/7] mx6q: mx6qsabrelite: Provide default serial flash bus and chip-select

2012-01-30 Thread Eric Nelson
On 01/30/2012 11:35 AM, Dirk Behme wrote: On 30.01.2012 19:10, Eric Nelson wrote: On 01/29/2012 07:36 PM, Marek Vasut wrote: On 01/29/2012 03:16 PM, Marek Vasut wrote: On 01/29/2012 01:11 PM, Marek Vasut wrote: On 01/29/2012 12:18 PM, Marek Vasut wrote: Signed-off-by: Eric Nelson Acked-by: D

Re: [U-Boot] [PATCH V4 6/7] mx6q: mx6qsabrelite: Provide default serial flash bus and chip-select

2012-01-30 Thread Dirk Behme
On 30.01.2012 19:10, Eric Nelson wrote: On 01/29/2012 07:36 PM, Marek Vasut wrote: On 01/29/2012 03:16 PM, Marek Vasut wrote: On 01/29/2012 01:11 PM, Marek Vasut wrote: On 01/29/2012 12:18 PM, Marek Vasut wrote: Signed-off-by: Eric Nelson Acked-by: Dirk Behme Acked-by: Stefano Babic --- incl

Re: [U-Boot] serial : Device tree support for multiple serial devices.

2012-01-30 Thread Simon Glass
Hi, On Mon, Jan 23, 2012 at 1:01 PM, hanumant wrote: > Hi > >        The board that I am working on has multiple serial ports. > I am trying to use device trees to configure board resource of these ports > as well as the serial framework. So the driver doesnot know apriori the > number of uart po

Re: [U-Boot] [PATCH V4 6/7] mx6q: mx6qsabrelite: Provide default serial flash bus and chip-select

2012-01-30 Thread Marek Vasut
> On 01/29/2012 07:36 PM, Marek Vasut wrote: > >> On 01/29/2012 03:16 PM, Marek Vasut wrote: > On 01/29/2012 01:11 PM, Marek Vasut wrote: > >> On 01/29/2012 12:18 PM, Marek Vasut wrote: > Signed-off-by: Eric Nelson > Acked-by: Dirk Behme > Acked-by: Stefano Babic

Re: [U-Boot] [PATCH V4 6/7] mx6q: mx6qsabrelite: Provide default serial flash bus and chip-select

2012-01-30 Thread Eric Nelson
On 01/29/2012 07:36 PM, Marek Vasut wrote: On 01/29/2012 03:16 PM, Marek Vasut wrote: On 01/29/2012 01:11 PM, Marek Vasut wrote: On 01/29/2012 12:18 PM, Marek Vasut wrote: Signed-off-by: Eric Nelson Acked-by: Dirk Behme Acked-by: Stefano Babic --- include/configs/mx6qsabrelite.h |3 +

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-30 Thread Tom Rini
On Sun, Jan 29, 2012 at 6:36 AM, Christian Riesch wrote: > 3) As Sughosh pointed out, the current code changes the V bit > (location of exceptions). Sughosh's patch removes this code that does > this change.  I'm not sure if this is correct or not, so maybe you, > Tom, could put your TI hat on ag

Re: [U-Boot] Pull request: Davinci uboot

2012-01-30 Thread Tom Rini
On Fri, Jan 27, 2012 at 5:29 AM, Christian Riesch wrote: > Hi Manju, > > On Fri, Jan 27, 2012 at 12:34 PM, Hadli, Manjunath > wrote: >> Hi Tom, >> >> These patches have been posted earlier and have gone necessary >> reviews and I feel they are ready to be pulled. Please pull >> these pathes. > >

Re: [U-Boot] [PATCH 2/3] mx28evk: add USB support

2012-01-30 Thread Fabio Estevam
On 1/30/12, Fabio Estevam wrote: > On 1/18/12, Matthias Fuchs wrote: >> This patch enables USB host support on the MX28EVK board. >> >> Signed-off-by: Matthias Fuchs > > Tested-by: Fabio Estevam Adding Stefano. ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH 2/3] mx28evk: add USB support

2012-01-30 Thread Fabio Estevam
On 1/18/12, Matthias Fuchs wrote: > This patch enables USB host support on the MX28EVK board. > > Signed-off-by: Matthias Fuchs Tested-by: Fabio Estevam Thanks ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Fwd: Re: U-Boot not auto booting

2012-01-30 Thread Helmut Raiger
On 01/18/2012 04:09 AM, Michael Aldridge wrote: the autobooting function of uboot is not functioning properly on my sheevaplug with debian. I have set the bootcmd and bootdelay variables, but I still can't get it to work. I can watch the countdown hit zero, and I do not hit any buttons and

Re: [U-Boot] [PATCH V3 1/2] mc13783.h: create and add regulator mode 0 and 1

2012-01-30 Thread Stefano Babic
On 18/01/2012 11:41, Helmut Raiger wrote: > Add bit definitions for register 32 and 33 of Freescale MC13783. > > Signed-off-by: Helmut Raiger > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- = DENX Software

Re: [U-Boot] [PATCH V4] tt01: add MMC support

2012-01-30 Thread Stefano Babic
On 19/01/2012 08:27, Helmut Raiger wrote: > board_mmc_init() initializes the pins of SDHC1 and > turns on V_MMC1 of the PMIC. Config adds support for EXT2 > and FAT. > > Signed-off-by: Helmut Raiger > --- Applied to u-boot-imx, thanks. Best regards, Stefano Babic -- ==

[U-Boot] [PATCH 3/3] tt01: fix hush parser config, add release config

2012-01-30 Thread Helmut Raiger
Add PREBOOT, SILENT_CONSOLE and DEVICE_NULLDEV for release build. Fixed bug in CONFIG_SYS_HUSH_PARSER define. Signed-off-by: Helmut Raiger --- include/configs/tt01.h | 11 --- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/include/configs/tt01.h b/include/configs/tt01.h

[U-Boot] [PATCH 1/3] tt01: fix environment size

2012-01-30 Thread Helmut Raiger
size of environment must match erasable block size in the flash. Signed-off-by: Helmut Raiger --- include/configs/tt01.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/tt01.h b/include/configs/tt01.h index 6846816..8dd657c 100644 --- a/include/configs/t

[U-Boot] [PATCH 2/3] tt01: add video support

2012-01-30 Thread Helmut Raiger
The video setup for the Epson display is provided. Addtionally some extra info is displayed next to the Linux logo. Signed-off-by: Helmut Raiger --- board/hale/tt01/tt01.c | 21 + include/configs/tt01.h | 29 - 2 files changed, 49 insertions(+)

[U-Boot] [PATCH] tt01: add video support and setup for release

2012-01-30 Thread Helmut Raiger
This enables the display on tt-01 along with some minor setup changes (and fixes) for the release. I removed the HALE logo again, using preboot we can use a splash image like approach, but left in the console extra info as it provides useful information even if the screen is used as stdout. [PATCH

Re: [U-Boot] How to make a u-boot that supports a particular board.

2012-01-30 Thread Sergey Lapin
On Sun, Jan 29, 2012 at 08:54:22PM +0530, jagan wrote: > Hi, > > I need an info, what are the changes that can be added to plain u-boot that > supports a particular board. > Please point-out any specific doc or links. > > Thanks for your time. > > Regards, > Jagan. That really depends on is boa

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-30 Thread Christian Riesch
Hello Heiko, On Mon, Jan 30, 2012 at 7:39 AM, Heiko Schocher wrote: > Christian Riesch wrote: >> 2) The current version of Sughosh's patch does not change the logic >> behind the LOWLEVEL_INIT defines but just fixes the code to agree with >> ARM's manual. Instead of invalidating the cache it now

Re: [U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-30 Thread Sughosh Ganu
hi Christian, On Mon Jan 30, 2012 at 09:10:46AM +0100, Christian Riesch wrote: > >> Perhaps we should revert that change and instead remove > >> CONFIG_SKIP_LOWLEVEL_INIT from the da850 board config files. But since > >> we don't need the lowlevel_init function for DA850 SoCs we must either > >

[U-Boot] [PATCH 1/2 V2] arm926: Flush the data cache before disabling it.

2012-01-30 Thread Christian Riesch
Hi, On Monday, January 30, 2012, Heiko Schocher wrote: > Hello Christian, > > Christian Riesch wrote: >> Hi all, >> >> On Fri, Jan 27, 2012 at 7:33 PM, Tom Rini wrote: >>> So, what do we want to do here? We really want to get this fix in so >>> we can get the hawkboard SPL changes in, and the o