Re: [U-Boot] AR8031 Ethernet on mx6

2012-09-14 Thread Dirk Behme
On 15.09.2012 05:06, Fabio Estevam wrote: Hi Jason, I don't have a mx6qarm2 and would like to ask you if you could please confirm that Ethernet is functional on mx6qarm2 running the latest U-boot. I am trying to get Ethernet working on mx6qsabresd, which also uses the same AR8031 PHY, but it is

[U-Boot] AR8031 Ethernet on mx6

2012-09-14 Thread Fabio Estevam
Hi Jason, I don't have a mx6qarm2 and would like to ask you if you could please confirm that Ethernet is functional on mx6qarm2 running the latest U-boot. I am trying to get Ethernet working on mx6qsabresd, which also uses the same AR8031 PHY, but it is not working yet. AR8031 is supposed to out

Re: [U-Boot] [PATCH v4 2/2] ARM: kirkwood/orion5x: Use reset_cpu definition in include/common.h

2012-09-14 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of dingu...@altera.com > Sent: 14 September 2012 14:08 > To: u-boot@lists.denx.de > Cc: ma...@denx.de; dinh.li...@gmail.com; pa...@denx.de; > cl...@altera.com; tr...@ti.com; s...@d

[U-Boot] [PATCH] mx35pdk: README: Remove NAND references

2012-09-14 Thread Fabio Estevam
From: Fabio Estevam Booting from NAND is currently not supported, so remove its references. Signed-off-by: Fabio Estevam --- board/freescale/mx35pdk/README | 78 ++-- 1 file changed, 2 insertions(+), 76 deletions(-) diff --git a/board/freescale/mx35pdk/RE

Re: [U-Boot] [PATCH v2 8/8] FAT: Make it possible to read from any file position

2012-09-14 Thread Tom Rini
On 09/14/2012 03:03 PM, Benoît Thébaudeau wrote: > On Friday, September 14, 2012 10:49:04 PM, Tom Rini wrote: >> On Mon, Sep 03, 2012 at 04:17:09PM +0200, Beno??t Th??baudeau wrote: >>> Dear Wolfgang Denk, >>> >>> On Sunday, September 2, 2012 5:28:09 PM, Wolfgang Denk wrote: Dear Beno??t Th??b

Re: [U-Boot] [PATCH v2 8/8] FAT: Make it possible to read from any file position

2012-09-14 Thread Benoît Thébaudeau
On Friday, September 14, 2012 10:49:04 PM, Tom Rini wrote: > On Mon, Sep 03, 2012 at 04:17:09PM +0200, Beno??t Th??baudeau wrote: > > Dear Wolfgang Denk, > > > > On Sunday, September 2, 2012 5:28:09 PM, Wolfgang Denk wrote: > > > Dear Beno??t Th??baudeau, > > > > > > In message > > > <1285759492.

Re: [U-Boot] u-boot support for reading USB sticks formatted as NTFS

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 04:15:36PM -0500, Bill wrote: > In the u-boot command line, I can use fatls & fatload to read files > from a formatted USB stick formatted as fat16/fat32. However, is > there support to read files from a USB stick formatted as NTFS? There is not. License-compatible sourc

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
On Friday, September 14, 2012 11:28:48 PM, Fabio Estevam wrote: > Hi Benoît, > > On Fri, Sep 14, 2012 at 4:53 PM, Benoît Thébaudeau > wrote: > > > Good news! This function can easily be added locally to your board > > init file. I > > don't think that mainline U-Boot should be changed for that s

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Fabio Estevam
Hi Benoît, On Fri, Sep 14, 2012 at 4:53 PM, Benoît Thébaudeau wrote: > Good news! This function can easily be added locally to your board init file. > I > don't think that mainline U-Boot should be changed for that since it is an > issue > in FSL's Linux that relies on the revision tag instead

[U-Boot] u-boot support for reading USB sticks formatted as NTFS

2012-09-14 Thread Bill
In the u-boot command line, I can use fatls & fatload to read files from a formatted USB stick formatted as fat16/fat32. However, is there support to read files from a USB stick formatted as NTFS? Bill ___ U-Boot mailing list U-Boot@lists.denx.de ht

Re: [U-Boot] [PATCH v2 8/8] FAT: Make it possible to read from any file position

2012-09-14 Thread Tom Rini
On Mon, Sep 03, 2012 at 04:17:09PM +0200, Beno??t Th??baudeau wrote: > Dear Wolfgang Denk, > > On Sunday, September 2, 2012 5:28:09 PM, Wolfgang Denk wrote: > > Dear Beno??t Th??baudeau, > > > > In message > > <1285759492.332736.1342790529256.javamail.r...@advansee.com> you > > wrote: > > > When

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread Scott Wood
On Fri, Sep 14, 2012 at 01:20:32PM -0700, Tom Rini wrote: > On Fri, Sep 14, 2012 at 02:24:48PM -0500, Scott Wood wrote: > > On Fri, Sep 14, 2012 at 08:21:11PM +0200, Marek Vasut wrote: > > > Dear Jos? Miguel Gon?alves, > > > > > > > NAND Flash driver with HW ECC for the S3C24XX SoCs. > > > > Curre

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 02:24:48PM -0500, Scott Wood wrote: > On Fri, Sep 14, 2012 at 08:21:11PM +0200, Marek Vasut wrote: > > Dear Jos? Miguel Gon?alves, > > > > > NAND Flash driver with HW ECC for the S3C24XX SoCs. > > > Currently it only supports SLC NAND chips. > > > > > > Signed-off-by: Jos?

[U-Boot] [PATCH v4 1/2] ARM: Add Altera SOCFPGA Cyclone5

2012-09-14 Thread dinguyen
From: Dinh Nguyen Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Applied on top of trini/WIP/spl-improvements v6 Signed-off-by: Dinh Nguyen Signed-off-by: Chin Liang See Signed-off-by: Pavel Machek --- MAINTAINERS|5 + arch/arm/cpu/a

[U-Boot] [PATCH v4 2/2] ARM: kirkwood/orion5x: Use reset_cpu definition in include/common.h

2012-09-14 Thread dinguyen
From: Dinh Nguyen include/common.h has the reset_cpu defined already. No need to re-define here. Signed-off-by: Dinh Nguyen Signed-off-by: Pavel Machek --- arch/arm/include/asm/arch-kirkwood/cpu.h |1 - arch/arm/include/asm/arch-orion5x/cpu.h |1 - 2 files changed, 2 deletions(-) di

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

2012-09-14 Thread Dinh Nguyen
Hi Marek, On Fri, 2012-09-14 at 19:02 +0200, Marek Vasut wrote: > Dear dingu...@altera.com, > > > From: Dinh Nguyen > > > > Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. > > > > Applied on top of trini/WIP/spl-improvements v6 > > Test building edminiv2_config and km_kirkwood_con

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
Greg, On Friday, September 14, 2012 9:35:28 PM, Greg Topmiller wrote: > I've made some progress. Yes, the TZIC is not being set up properly. > This is because the system and rev information is not being put > into the ATAG that is passed to the Linux kernel. What is added is > " #define CONFIG_

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread Scott Wood
On Fri, Sep 14, 2012 at 08:21:11PM +0200, Marek Vasut wrote: > Dear José Miguel Gonçalves, > > > NAND Flash driver with HW ECC for the S3C24XX SoCs. > > Currently it only supports SLC NAND chips. > > > > Signed-off-by: José Miguel Gonçalves > > [...] > > > +#include > > +#include > > +#inclu

Re: [U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread Scott Wood
On Fri, Sep 14, 2012 at 09:07:12PM +0200, Marek Vasut wrote: > Dear Scott Wood, > > > On Fri, Sep 14, 2012 at 08:25:25PM +0200, Marek Vasut wrote: > > > Dear José Miguel Gonçalves, > > > > > > > Hi Marek, > > > > > > > > On 14-09-2012 19:03, Marek Vasut wrote: > > > > > Dear José Miguel Gonçalve

Re: [U-Boot] [PATCH v2 10/11] Add u-boot-ubl.bin target to the Makefile

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 06:29:01PM +0100, Jos?? Miguel Gon??alves wrote: > Samsung's S3C24XX SoCs need this in order to generate a binary image > with the SPL and U-Boot concatenated. > > Signed-off-by: Jos?? Miguel Gon??alves > --- > Changes for v2: >- None > --- > Makefile |7 ---

Re: [U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread Marek Vasut
Dear Scott Wood, > On Fri, Sep 14, 2012 at 08:25:25PM +0200, Marek Vasut wrote: > > Dear José Miguel Gonçalves, > > > > > Hi Marek, > > > > > > On 14-09-2012 19:03, Marek Vasut wrote: > > > > Dear José Miguel Gonçalves, > > > > > > > > It's getting better :) > > > > > > Hopefully :-) > > > >

Re: [U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread Scott Wood
On Fri, Sep 14, 2012 at 08:25:25PM +0200, Marek Vasut wrote: > Dear José Miguel Gonçalves, > > > Hi Marek, > > > > On 14-09-2012 19:03, Marek Vasut wrote: > > > Dear José Miguel Gonçalves, > > > > > > It's getting better :) > > > > Hopefully :-) > > > > > [...] > > > > > >> + > > >> +typedef

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 07:45:40PM +0100, Jos? Miguel Gon?alves wrote: > On 14-09-2012 19:21, Marek Vasut wrote: > >Dear Jos? Miguel Gon?alves, > > > >>NAND Flash driver with HW ECC for the S3C24XX SoCs. > >>Currently it only supports SLC NAND chips. > >> > >>Signed-off-by: Jos? Miguel Gon?alves >

Re: [U-Boot] [PATCH v2 11/11] S3C24XX: Add support to MINI2416 board

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 06:29:02PM +0100, Jos?? Miguel Gon??alves wrote: > The MINI2416 board is based on a Samsung's S3C2416 SoC and has 64MB DDR2 > SDRAM, > 256MB NAND Flash, a LAN9220 Ethernet Controller and a WM8731 Audio CODEC. > This U-Boot port was implemented and tested on a unit bought t

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Joe Hershberger
Hi Marek, On Fri, Sep 14, 2012 at 6:00 AM, Marek Vasut wrote: >> > I guess this platform won't make it into .10 release anyway. >> >> Why not? Any reason why these 4 patches should wait till the next release? > > MW is closed (Aug. 18) The first version of this series was sent on Aug 14. http://

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 06:29:00PM +0100, Jos?? Miguel Gon??alves wrote: > NAND Flash driver with HW ECC for the S3C24XX SoCs. > Currently it only supports SLC NAND chips. > > Signed-off-by: Jos?? Miguel Gon??alves [snip] > +#ifdef CONFIG_SPL_BUILD > +#define printf(arg...) do {} while (0) > +#e

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread José Miguel Gonçalves
On 14-09-2012 19:21, Marek Vasut wrote: Dear José Miguel Gonçalves, NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips. Signed-off-by: José Miguel Gonçalves [...] +#include +#include +#include +#include +#include + +#define MAX_CHIPS 2 +

Re: [U-Boot] [PATCH 10/12] env: acl: Add environment variable access control list

2012-09-14 Thread Wolfgang Denk
Dear Joe Hershberger, In message you wrote: > > I guess you didn't see this the last time I sent it to you off list... I didn't receive any such reply, sorry. Do you have the message ID and/or exact timestanmp of your message? > > - It appears you will store all access related information i

Re: [U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 06:28:53PM +0100, Jos?? Miguel Gon??alves wrote: > This patch adds the support for Samsung's S3C24XX SoCs that have an ARM926EJS > core. > Currently it supports S3C2412, S3C2413, S3C2416 and S3C2450. > Tested on an S3C2416 platform. [snip] > +/* > + * Reset the cpu by sett

Re: [U-Boot] [PATCH 0/7] [RFC] Driver model, take 1

2012-09-14 Thread Tom Rini
On Tue, Aug 21, 2012 at 06:00:46PM +0200, Marek Vasut wrote: > I'm submitting hereby the initial code for the driver model. This is a RFC > patch, please give it a spin and scream :-) > > The GPIO api should now use the new approach on the sandbox target. There's > also > "dm" command, that allo

Re: [U-Boot] [PATCH] common, hush [BUG]: exit not work in hush shell

2012-09-14 Thread Wolfgang Denk
Dear Heiko Schocher, In message <1347645856-3326-1-git-send-email...@denx.de> you wrote: > running the following script in u-boot: > setenv error 'if true; then > echo ERROR > exit; > fi' I think I once tried to fix this, too. See here: http://article.gmane.org/gmane.co

Re: [U-Boot] [PATCH 1/7] dm: Add skeleton support for cores and drivers

2012-09-14 Thread Tom Rini
On Tue, Aug 21, 2012 at 06:00:47PM +0200, Marek Vasut wrote: > From: Pavel Herrmann > > Signed-off-by: Pavel Herrmann > Signed-off-by: Marek Vasut More of a commit message please. At least point to the design docs that are now in tree. > +#ifndef _COMMON_DM_TREE_H_ > +#define _COMMON_DM_TRE

Re: [U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > Hi Marek, > > On 14-09-2012 19:03, Marek Vasut wrote: > > Dear José Miguel Gonçalves, > > > > It's getting better :) > > Hopefully :-) > > > [...] > > > >> + > >> +typedef ulong(*getfreq) (void); > > > > Is this used? > > In the array declaration bellow... Why

Re: [U-Boot] [PATCH v2 10/11] Add u-boot-ubl.bin target to the Makefile

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > Samsung's S3C24XX SoCs need this in order to generate a binary image > with the SPL and U-Boot concatenated. You aren't adding it, you're modifying it. > Signed-off-by: José Miguel Gonçalves > --- > Changes for v2: >- None > --- > Makefile |7 --- > 1

Re: [U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > NAND Flash driver with HW ECC for the S3C24XX SoCs. > Currently it only supports SLC NAND chips. > > Signed-off-by: José Miguel Gonçalves [...] > +#include > +#include > +#include > +#include > +#include > + > +#define MAX_CHIPS2 > +static int nand_cs[MAX

Re: [U-Boot] [PATCH v2 08/11] rtc: Don't allow setting unsuported years on s3c24x0_rtc

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > This RTC only supports a 100 years range so rtc_set() should not allow > setting years bellow 1970 or above 2069. Acked-by: Marek Vasut > Signed-off-by: José Miguel Gonçalves > --- > Changes for v2: >- New patch > --- > drivers/rtc/s3c24x0_rtc.c |5 +

Re: [U-Boot] [PATCH v2 07/11] rtc: Fix rtc_reset() on s3c24x0_rtc

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > rtc_reset() must set the RTC date to the UNIX Epoch. Acked-by: Marek Vasut > Signed-off-by: José Miguel Gonçalves > --- > Changes for v2: >- New patch > --- > drivers/rtc/s3c24x0_rtc.c | 15 +++ > 1 file changed, 11 insertions(+), 4 deletions(-)

Re: [U-Boot] [PATCH v2 06/11] rtc: Improve rtc_get() on s3c24x0_rtc

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > A better approach to avoid reading the RTC during updates, as sugested in > the S3C2416 User's Manual. > > Signed-off-by: José Miguel Gonçalves > --- > Changes for v2: >- New patch > --- > drivers/rtc/s3c24x0_rtc.c | 10 -- > 1 file changed, 8 inserti

Re: [U-Boot] [PATCH v2 05/11] serial: Remove unnecessary delay in serial_s3c24x0

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > The loop used to make a delay after baudrate setting is not necessary. > Moreover it is removed by the GCC optimizer (at least with GCC 4.6). > > Signed-off-by: José Miguel Gonçalves Acked-by: Marek Vasut > --- > Changes for v2: >- New patch > --- > drivers/

Re: [U-Boot] [PATCH v2 04/11] serial: Use a more precise baud rate generation for serial_s3c24x0

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, > Program udivslot register in order to obtain a more precise baudrate. More explanatory commit message would be nice. [...] > +static const int udivslot[] = { const array const members, no ? > + 0x, 0x0080, 0x0808, 0x0888, 0x, 0x4924, 0x4A52, 0x54AA, >

[U-Boot] [PATCH] common, hush [BUG]: exit not work in hush shell

2012-09-14 Thread Heiko Schocher
running the following script in u-boot: setenv error 'if true; then echo ERROR exit; fi' setenv foo echo "This should not be printed" setenv loadubi setenv updfs 'if true; then echo; echo == Updating rootfs ==; echo; if run

Re: [U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread Marek Vasut
Dear José Miguel Gonçalves, It's getting better :) [...] > + > +typedef ulong(*getfreq) (void); Is this used? > +static const getfreq freq_f[] = { const array const members, no? > + get_FCLK, > + get_HCLK, > + get_PCLK, > + get_UCLK, > +}; > + > +static const char freq_c[] =

Re: [U-Boot] [PATCH 00/16] pmic: Redesign PMIC framework to support multiple instances of devices

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:39:59PM +0200, Lukasz Majewski wrote: > PMIC framework has been redesigned to support multiple instances of power > related devices > (e.g. fuel gauge, PMICs, chargers, micro USB IC). > > Due to that, code at other architectures and boards have been adjusted > properl

Re: [U-Boot] [PATCH 15/16] arm:trats:pmic: Support for charging battery at Samsung's TRATS board

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:40:14PM +0200, Lukasz Majewski wrote: > The battery connected to Samsung's Trats development board is now > charged when voltage drops below threshold. [snip] > @@ -247,6 +250,40 @@ int power_board_init(void) > pmic_init_max8997(); > power_fg_init(I2C_9); >

[U-Boot] [PATCH v2 11/11] S3C24XX: Add support to MINI2416 board

2012-09-14 Thread José Miguel Gonçalves
The MINI2416 board is based on a Samsung's S3C2416 SoC and has 64MB DDR2 SDRAM, 256MB NAND Flash, a LAN9220 Ethernet Controller and a WM8731 Audio CODEC. This U-Boot port was implemented and tested on a unit bought to Boardcon (http://www.armdesigner.com/) but there are some other chinese providers

[U-Boot] [PATCH v2 09/11] S3C24XX: Add NAND Flash driver

2012-09-14 Thread José Miguel Gonçalves
NAND Flash driver with HW ECC for the S3C24XX SoCs. Currently it only supports SLC NAND chips. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - Coding style cleanup - Use of clrsetbits_le32() - Use of register bit macros instead of magic numbers --- drivers/mtd/nand/Makefile

[U-Boot] [PATCH v2 02/11] S3C24XX: Add core support for Samsung's S3C24XX SoCs

2012-09-14 Thread José Miguel Gonçalves
This patch adds the support for Samsung's S3C24XX SoCs that have an ARM926EJS core. Currently it supports S3C2412, S3C2413, S3C2416 and S3C2450. Tested on an S3C2416 platform. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - Added register bit macros to avoid magic numbers - Remo

[U-Boot] [PATCH v2 10/11] Add u-boot-ubl.bin target to the Makefile

2012-09-14 Thread José Miguel Gonçalves
Samsung's S3C24XX SoCs need this in order to generate a binary image with the SPL and U-Boot concatenated. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - None --- Makefile |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 058fb

[U-Boot] [PATCH v2 03/11] serial: Add support to 4 ports in serial_s3c24x0

2012-09-14 Thread José Miguel Gonçalves
S3C2416 and S3C2450 have 4 UARTs insted of 3 found on older chips. This patch adds support to the additional UART port and changes the mapping between CONFIG_SERIAL? and S3C24X0_UART? in order they have a direct correspondence. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New pat

[U-Boot] [PATCH v2 08/11] rtc: Don't allow setting unsuported years on s3c24x0_rtc

2012-09-14 Thread José Miguel Gonçalves
This RTC only supports a 100 years range so rtc_set() should not allow setting years bellow 1970 or above 2069. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/rtc/s3c24x0_rtc.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/rtc/s3c24x0_rt

[U-Boot] [PATCH v2 04/11] serial: Use a more precise baud rate generation for serial_s3c24x0

2012-09-14 Thread José Miguel Gonçalves
Program udivslot register in order to obtain a more precise baudrate. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/serial/serial_s3c24x0.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/drivers/serial/serial_

[U-Boot] [PATCH v2 00/11] S3C24XX: Add support to MINI2416 board

2012-09-14 Thread José Miguel Gonçalves
Support for the MINI2416 board based on a Samsung's S3C2416 SoC with 64MB DDR2 SDRAM, 256MB NAND Flash, a LAN9220 Ethernet Controller and a WM8731 Audio CODEC. Changes for v2: - Coding style cleanup - Removed new serial and rtc drivers - Use of in-tree serial and rtc drivers José Miguel

[U-Boot] [PATCH v2 07/11] rtc: Fix rtc_reset() on s3c24x0_rtc

2012-09-14 Thread José Miguel Gonçalves
rtc_reset() must set the RTC date to the UNIX Epoch. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/rtc/s3c24x0_rtc.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/drivers/rtc/s3c24x0_rtc.c b/drivers/rtc/s3c24x0_rtc.c

[U-Boot] [PATCH v2 05/11] serial: Remove unnecessary delay in serial_s3c24x0

2012-09-14 Thread José Miguel Gonçalves
The loop used to make a delay after baudrate setting is not necessary. Moreover it is removed by the GCC optimizer (at least with GCC 4.6). Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/serial/serial_s3c24x0.c |3 --- 1 file changed, 3 deletions(-) diff

[U-Boot] [PATCH v2 06/11] rtc: Improve rtc_get() on s3c24x0_rtc

2012-09-14 Thread José Miguel Gonçalves
A better approach to avoid reading the RTC during updates, as sugested in the S3C2416 User's Manual. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - New patch --- drivers/rtc/s3c24x0_rtc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/

[U-Boot] [PATCH v2 01/11] ARM: fix relocation on ARM926EJS

2012-09-14 Thread José Miguel Gonçalves
Jumping to board_init_r is not performed due to a bug on address computation. Relocation offsets are not needed when building SPL. Signed-off-by: José Miguel Gonçalves --- Changes for v2: - None --- arch/arm/cpu/arm926ejs/start.S |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) di

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
On Friday, September 14, 2012 7:04:14 PM, Greg Topmiller wrote: > SoC: i.MX51 > Board: mx51evk and our own board that is based on the mx51evk. > Linux: FSL version. Perfect, so we are in exactly the same test conditions, except for mx51evk. Can you try mx51evk with U-Boot 2012.07 and mainline Lin

Re: [U-Boot] [PATCH 13/16] arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:40:12PM +0200, Lukasz Majewski wrote: > FG IC built into the MAX8997 device (compliant to MAX17042) is enabled > at TRATS. [snip] > +#define CONFIG_POWER_FG > +#define CONFIG_POWER_FG_MAX17042 > #define CONFIG_POWER_MUIC > #define CONFIG_POWER_MUIC_MAX8997 > + > + > #

[U-Boot] FW: Don't get any interrupts once I boot into Linux

2012-09-14 Thread Greg Topmiller
Thanks Benoit, I also tried changing the uboot V2012.07, file arm/cpu/armv7/timer.c to use the IPG clock rather than the 32Khz but no difference. It looks like the FSL interrupt initialization is in arch/arm/plat-mxc/tzic.c file. I don't see anything obvious. It's not real big. I have a La

Re: [U-Boot] [PATCH 10/16] pmic:max8997: Function for calculating LDO internal register value

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:40:09PM +0200, Lukasz Majewski wrote: > Function for calculating LDO internal register value from passed micro > Volt. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Stefano Babic > --- > drivers/misc/pmic_max8997.c | 17 +

Re: [U-Boot] [PATCH 09/16] pmic:fuel-gauge: Support for MAX17042 fuel-gauge

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 05:40:08PM +0200, Lukasz Majewski wrote: > Support for MAX17042 fuel-gauge (FG), which is built into the MAX8997 > power management device. > Special file - fg_battery_cell_params.h with cells characteristics > added. [snip] > +#ifndef __FG_BATTERY_CELL_PARAMS_H_ > +#define

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

2012-09-14 Thread Tom Rini
On Fri, Sep 14, 2012 at 11:02:37AM -0600, dingu...@altera.com wrote: > From: Dinh Nguyen > > Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. [snip] > +/* > + * Write the reset manager register to cause reset > + */ > +__attribute__((noreturn)) void reset_cpu(ulong addr) Please add

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

2012-09-14 Thread Marek Vasut
Dear dingu...@altera.com, > From: Dinh Nguyen > > Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. > > Applied on top of trini/WIP/spl-improvements v6 > Test building edminiv2_config and km_kirkwood_config w/o > errors. This doesn't belong into the commit message. > Signed-off-by:

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Marek Vasut
Dear Michal Simek, [...] > > MW is closed (Aug. 18) > > ok. Isn't there any "next" branch for this purpose? > I believe it can go at least to custodian arm tree. That's a question for Albert I think. > Thanks, > Michal Best regards, Marek Vasut ___

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
On Friday, September 14, 2012 6:08:15 PM, Greg Topmiller wrote: > Thanks Benoit, > > I also tried changing the uboot V2012.07, file arm/cpu/armv7/timer.c > to use the IPG clock rather than the 32Khz but no difference. OK, as expected. > It looks like the FSL interrupt initialization is in > ar

[U-Boot] [PATCHv3] ARM: Add Altera SOCFPGA Cyclone5

2012-09-14 Thread dinguyen
From: Dinh Nguyen Add minimal support for Altera's SOCFPGA Cyclone 5 hardware. Applied on top of trini/WIP/spl-improvements v6 Test building edminiv2_config and km_kirkwood_config w/o errors. Signed-off-by: Dinh Nguyen Signed-off-by: Chin Liang See Signed-off-by: Pavel Machek --- MAINTAINER

Re: [U-Boot] [PATCH] phy: Add support for Marvell 88E1118R

2012-09-14 Thread Joe Hershberger
Hi Michal, On Fri, Sep 14, 2012 at 8:15 AM, Michal Simek wrote: > Hi Tom and Joe, > > > On 08/07/2012 02:23 PM, Michal Simek wrote: >> >> Marvell 88E1118R has different uid then 88E1118. >> >> Signed-off-by: Michal Simek >> CC: Andy Fleming >> CC: Zang Roy-R61911 >> CC: Kumar Gala >> --- >>

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
Hi Stefano, On Friday, September 14, 2012 6:06:16 PM, Benoît Thébaudeau wrote: > Hi Fabio, Greg, > > On Friday, September 14, 2012 5:15:17 PM, Fabio Estevam wrote: > > On Fri, Sep 14, 2012 at 12:04 PM, Greg Topmiller > > wrote: > > > I downloaded the V2012.07 version of u-boot from the git.denx.

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Benoît Thébaudeau
Hi Fabio, Greg, On Friday, September 14, 2012 5:15:17 PM, Fabio Estevam wrote: > On Fri, Sep 14, 2012 at 12:04 PM, Greg Topmiller > wrote: > > I downloaded the V2012.07 version of u-boot from the git.denx.de > > repository and built it for our target. U-boot boots up properly > > and I can use t

Re: [U-Boot] Cache alignment warnings on Tegra (ARM)

2012-09-14 Thread Simon Glass
Hi, On Wed, Sep 12, 2012 at 4:42 PM, Marek Vasut wrote: > Dear Stephen Warren, > >> On 09/12/2012 04:38 PM, Marek Vasut wrote: >> > Dear Stephen Warren, >> > >> >> On 09/12/2012 10:19 AM, Tom Warren wrote: >> >>> Folks, >> >>> >> >>> Stephen Warren has posted an internal bug regarding the cache >

[U-Boot] [PATCH 16/16] arm:trats:pmic: Power consumption reduction state for Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
When charging battery is necessary, the development board needs to be turned into low power mode for better efficiency. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c | 43 +++ 1 files change

[U-Boot] [PATCH 15/16] arm:trats:pmic: Support for charging battery at Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
The battery connected to Samsung's Trats development board is now charged when voltage drops below threshold. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c | 37 + 1 files changed, 37 insertions

[U-Boot] [PATCH 13/16] arm:trats:pmic: Enable fuel-gauge (MAX17042) at Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
FG IC built into the MAX8997 device (compliant to MAX17042) is enabled at TRATS. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c |2 ++ include/configs/trats.h |4 2 files changed, 6 insertions(+), 0 deletions(-) dif

[U-Boot] [PATCH 14/16] pmic:max8997: Support for MAX8997 internal charger control

2012-09-14 Thread Lukasz Majewski
Support for MAX8997 built-in charger. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- drivers/misc/pmic_max8997.c | 52 ++ include/power/max8997_pmic.h |3 +- 2 files changed, 54 insertions(+), 1 deletions(-) dif

[U-Boot] [PATCH 12/16] arm:trats:pmic: Enable MUIC (MAX8997) at Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
MUIC IC built into the MAX8997 device is enabled at TRATS. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c |2 ++ include/configs/trats.h |2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/board/samsung/

[U-Boot] [PATCH 11/16] arm:trats:pmic: Default PMIC(MAX8997) initialization for Samsung's TRATS board

2012-09-14 Thread Lukasz Majewski
Default PMIC (MAX8997) initialization for Samsung's TRATS development board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Minkyu Kang --- board/samsung/trats/trats.c | 150 ++ include/power/max8997_pmic.h |9 +++ 2 files changed,

[U-Boot] [PATCH 10/16] pmic:max8997: Function for calculating LDO internal register value

2012-09-14 Thread Lukasz Majewski
Function for calculating LDO internal register value from passed micro Volt. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- drivers/misc/pmic_max8997.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/drivers/misc/pmic

[U-Boot] [PATCH 09/16] pmic:fuel-gauge: Support for MAX17042 fuel-gauge

2012-09-14 Thread Lukasz Majewski
Support for MAX17042 fuel-gauge (FG), which is built into the MAX8997 power management device. Special file - fg_battery_cell_params.h with cells characteristics added. The FG device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefan

[U-Boot] [PATCH 05/16] pmic: Introduce power_board_init() method at ./lib/board.c file

2012-09-14 Thread Lukasz Majewski
It is necessary to introduce a new system wide function- power_board_init() It turns out, that power initialization must be done as early as possible. In the case of PMIC framework redesign, which aims to support multiple instances of PMIC devices the initialization shall be performed just after m

[U-Boot] [PATCH 08/16] pmic:muic: Support for MUIC built into MAX8997 device

2012-09-14 Thread Lukasz Majewski
Support for MUIC (Micro USB Integrated Circuit) built into the MAX8997 power management device. The MUIC device will work with redesigned PMIC framework. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- drivers/misc/Makefile|1 + drivers/misc/muic_

[U-Boot] [PATCH 07/16] pmic:chrg: Common information about charger and battery (power_chrg.h)

2012-09-14 Thread Lukasz Majewski
New power_chrg.h file has been added to "bind" together common information about charging battery available in the system. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park Cc: Stefano Babic --- include/power/power_chrg.h | 53 1 files c

[U-Boot] [PATCH 06/16] pmic: Enable power_board_init() support at TRATS

2012-09-14 Thread Lukasz Majewski
Enable support for power_board_init() method at TRATS board. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- board/samsung/trats/trats.c | 15 +++ include/configs/trats.h |1 + 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/board/samsung/tr

[U-Boot] [PATCH 04/16] pmic: Extend PMIC framework to support multiple instances of PMIC devices

2012-09-14 Thread Lukasz Majewski
The PMIC framework has been extended to support multiple instances of the variety of devices responsible for power management. This change allows supporting of e.g. fuel gauge, charger, MUIC (Micro USB Interface Circuit). Power related includes have been moved to ./include/power directory. This is

[U-Boot] [PATCH 03/16] pmic:max8997: Switch the MAX8997 PMIC to be used with multibus I2C

2012-09-14 Thread Lukasz Majewski
PMIC MAX8997 is now ready to work with single and multibus soft I2C implementation. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- drivers/misc/pmic_max8997.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/misc/pmic_max8997.c b/drivers/misc/p

[U-Boot] [PATCH 02/16] pmic:i2c: Add I2C byte order to PMIC framework

2012-09-14 Thread Lukasz Majewski
Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. This commit adds the reverse (which is default) and normal byte order. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- drivers/misc/pmic_i2c.c | 31 ++

[U-Boot] [PATCH 01/16] pmic:i2c: Handle PMIC I2C transmission comprising of two bytes

2012-09-14 Thread Lukasz Majewski
This patch adds support for proper handling of a PMIC I2C transmission comprising of two bytes. Signed-off-by: Lukasz Majewski Signed-off-by: Kyungmin Park --- drivers/misc/pmic_i2c.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/misc/pmic_i2c.c b/driv

[U-Boot] [PATCH 00/16] pmic: Redesign PMIC framework to support multiple instances of devices

2012-09-14 Thread Lukasz Majewski
PMIC framework has been redesigned to support multiple instances of power related devices (e.g. fuel gauge, PMICs, chargers, micro USB IC). Due to that, code at other architectures and boards have been adjusted properly. New power_board_init() method at ./lib/board.c file has been introduced. It

[U-Boot] [PATCH] sf: spansion: Correct the first byte of idcode1 for S25FL256S part

2012-09-14 Thread 402jagan
From: Jagannadha Sutradharudu Teki <402ja...@gmail.com> This patch corrected the first byte of idcode1 for S25FL256S SPI flash. Signed-off-by: Jagannadha Sutradharudu Teki <402ja...@gmail.com> --- drivers/mtd/spi/spansion.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH] Correct the first byte of idcode1 for S25FL256S part

2012-09-14 Thread 402jagan
From: Jagannadha Sutradharudu Teki <402ja...@gmail.com> First byte of idcode1 for S25FL256S was miss assinged, so I was corrected and tested the same. Regards, Jagan. Jagannadha Sutradharudu Teki (1): sf: spansion: Correct the idcode1 of S25FL256S part drivers/mtd/spi/spansion.c |2 +- 1

Re: [U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Fabio Estevam
On Fri, Sep 14, 2012 at 12:04 PM, Greg Topmiller wrote: > I downloaded the V2012.07 version of u-boot from the git.denx.de repository > and built it for our target. U-boot boots up properly and I can use the > commands but now when I boot into Linux I don't seem to be getting > interrupts. Th

[U-Boot] Don't get any interrupts once I boot into Linux

2012-09-14 Thread Greg Topmiller
I downloaded the V2012.07 version of u-boot from the git.denx.de repository and built it for our target. U-boot boots up properly and I can use the commands but now when I boot into Linux I don't seem to be getting interrupts. The Linux kernel hangs in the calculate_delay function waiting for

Re: [U-Boot] [PATCH] phy: Add support for Marvell 88E1118R

2012-09-14 Thread Michal Simek
Hi Tom and Joe, On 08/07/2012 02:23 PM, Michal Simek wrote: Marvell 88E1118R has different uid then 88E1118. Signed-off-by: Michal Simek CC: Andy Fleming CC: Zang Roy-R61911 CC: Kumar Gala --- drivers/net/phy/marvell.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-)

Re: [U-Boot] [PATCH 3/4 v3] arm: Support new Xilinx Zynq platform

2012-09-14 Thread Michal Simek
On 09/14/2012 12:58 PM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 11:59 AM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 09:50 AM, Marek Vasut wrote: Dear Michal Simek, Add timer driver. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Move low

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Michal Simek
On 09/14/2012 01:00 PM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 12:03 PM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 09:45 AM, Marek Vasut wrote: Dear Michal Simek, The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Mare

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > On 09/14/2012 12:03 PM, Marek Vasut wrote: > > Dear Michal Simek, > > > >> On 09/14/2012 09:45 AM, Marek Vasut wrote: > >>> Dear Michal Simek, > >>> > The driver is used on Xilinx Zynq platform. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > >

Re: [U-Boot] [PATCH 3/4 v3] arm: Support new Xilinx Zynq platform

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > On 09/14/2012 11:59 AM, Marek Vasut wrote: > > Dear Michal Simek, > > > >> On 09/14/2012 09:50 AM, Marek Vasut wrote: > >>> Dear Michal Simek, > >>> > Add timer driver. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > CC: Marek Vasut > >>>

Re: [U-Boot] [PATCH 1/4 v4] serial: Add Zynq serial driver

2012-09-14 Thread Marek Vasut
Dear Michal Simek, > The driver is used on Xilinx Zynq platform. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > CC: Marek Vasut Acked-by: Marek Vasut > --- > v2: Use Zynq name instead of Dragonfire and XPSS/XDFUART > Rename driver name > Remove driver description > > v3: S

[U-Boot] [PATCH 1/4 v4] serial: Add Zynq serial driver

2012-09-14 Thread Michal Simek
The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Use Zynq name instead of Dragonfire and XPSS/XDFUART Rename driver name Remove driver description v3: SERIAL_MULTI support Rename xdfuart to uart_zynq v4: Properly

Re: [U-Boot] [PATCH 1/4 v3] serial: Add Zynq serial driver

2012-09-14 Thread Michal Simek
On 09/14/2012 12:03 PM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 09:45 AM, Marek Vasut wrote: Dear Michal Simek, The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Use Zynq name instead of Dragonfire and XPSS/XD

Re: [U-Boot] [PATCH 3/4 v3] arm: Support new Xilinx Zynq platform

2012-09-14 Thread Michal Simek
On 09/14/2012 11:59 AM, Marek Vasut wrote: Dear Michal Simek, On 09/14/2012 09:50 AM, Marek Vasut wrote: Dear Michal Simek, Add timer driver. Signed-off-by: Michal Simek CC: Joe Hershberger CC: Marek Vasut --- v2: Move lowlevel_init.S from board to cpu folder Remove XPSS prefix

  1   2   >