Re: [U-Boot] [PATCH] armv7: Fix infinite loop for the spl boot

2012-07-05 Thread Albert ARIBAUD (by way of Albert ARIBAUD
Hi Zhong Hongbo, On Thu, 05 Jul 2012 19:53:46 +0800, Zhong Hongbo wrote: > Hi Albert, > > Could you applied the patch to the arm tree? > > Thanks, > hongbo > On 07/03/2012 07:46 AM, Zhong Hongbo wrote: > > From: Zhong Hongbo > > > > In the spl booting step, When __bss_start is equal to __bss_

[U-Boot] Pull request for u-boot-marvell.git

2012-07-05 Thread Prafulla Wadaskar
Dear Albert, Please pull The following changes since commit 863ba81c70d8ca8dc49e0c5a28a1fd0fb23ca62d: Tetsuyuki Kobayashi (1): arm: bugfix: Move vector table before jumping relocated code are available in the git repository at: u-boot-marvell.git master branch. Holger Brunck (6):

Re: [U-Boot] [PATCH v4] arm/km: add kmnusa board support

2012-07-05 Thread Prafulla Wadaskar
> -Original Message- > From: Holger Brunck [mailto:holger.bru...@keymile.com] > Sent: 05 July 2012 21:08 > To: u-boot@lists.denx.de > Cc: Holger Brunck; Valentin Longchamp; Gerlando Falauto; Prafulla > Wadaskar > Subject: [PATCH v4] arm/km: add kmnusa board support > > This board is simi

Re: [U-Boot] [PATCH v3 00/11] updates for Keymile Marvell boards

2012-07-05 Thread Prafulla Wadaskar
> -Original Message- > From: Holger Brunck [mailto:holger.bru...@keymile.com] > Sent: 05 July 2012 20:35 > To: u-boot@lists.denx.de > Cc: Holger Brunck; Valentin Longchamp; Prafulla Wadaskar > Subject: [PATCH v3 00/11] updates for Keymile Marvell boards > > Changes for v3 in general: >

Re: [U-Boot] i.MX35PDK: Starting U-Boot from serial NOR-Flash

2012-07-05 Thread Fabio Estevam
Hi Michael, On Thu, Jul 5, 2012 at 6:09 AM, Hornung, Michael wrote: > Hi Fabio, > > thank you very much for your reply. > >> With these values you can create a correct imximage.cfg file for mx35pdk. > > Thank you, I'll try my best. > >>> $ ./tools/mkimage -n ./board/freescale/mx35pdk/imximage.cfg

Re: [U-Boot] [PATCH v8 2/4] net: use common rand()/srand() functions

2012-07-05 Thread Kim Phillips
On Mon, 4 Jun 2012 15:10:55 -0500 Joe Hershberger wrote: > On Fri, Jun 1, 2012 at 3:39 PM, Michael Walle wrote: > > Replace rand() with the functions from lib/. The link-local network code > > stores its own seed, derived from the MAC address. Thus making it > > independent from calls to srand()

Re: [U-Boot] [PATCH] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-05 Thread Ilya Yanok
Hi Tom, On Thu, Jul 5, 2012 at 9:15 PM, Tom Rini wrote: > On Wed, Jul 04, 2012 at 05:03:59PM +0400, Ilya Yanok wrote: > ` > > From: Tom Rini > > > > The USB spec says that 32 bytes is the minimum required alignment. > > However on some platforms we have a larger minimum requirement for cache >

Re: [U-Boot] [PATCH] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-05 Thread Ilya Yanok
Hi Marek, On Thu, Jul 5, 2012 at 12:24 AM, Marek Vasut wrote: > > > -static struct QH qh_list __attribute__((aligned(32))); > > +static char __qh_list[ALIGN(sizeof(struct QH), USB_DMA_MINALIGN)] > > + __attribute__((aligned(USB_DMA_MINALIGN))); > > +static struct QH *qh_list

Re: [U-Boot] [PATCH] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-05 Thread Marek Vasut
Dear Ilya Yanok, > Hi Tom, > > On Thu, Jul 5, 2012 at 9:15 PM, Tom Rini wrote: > > On Wed, Jul 04, 2012 at 05:03:59PM +0400, Ilya Yanok wrote: > > ` > > > > > From: Tom Rini > > > > > > The USB spec says that 32 bytes is the minimum required alignment. > > > However on some platforms we have

[U-Boot] [PATCH 05/11 v2] snowball: Moving to ux500.v2 addess scheme for PRCMU access

2012-07-05 Thread mathieu . poirier
From: "Mathieu J. Poirier" Addresses between ux500.v1 and ux500.v2 have changed slightly, hence mandating a review of the PRCMU access methods. Signed-off-by: Mathieu Poirier Signed-off-by: John Rigby --- Changes for v2: - Refactored to apply cleanly over previous v2 changes. --- arch/arm/

[U-Boot] [PATCH 02/11 v2] u8500: Moving prcmu to cpu directory

2012-07-05 Thread mathieu . poirier
From: "Mathieu J. Poirier" This is to allow the prcmu functions to be used by multiple u8500-based processors. Signed-off-by: Mathieu Poirier Signed-off-by: John Rigby --- Changes for v2: - Fixed white space errors. --- arch/arm/cpu/armv7/u8500/Makefile |2 +- arch/arm/cpu/armv7/

[U-Boot] [PATCH 11/11 v2] snowball: Adding board specific cache cleanup routine

2012-07-05 Thread mathieu . poirier
From: "Mathieu J. Poirier" Following ARM's reference manuel for initializing the cache - the kernel won't boot otherwise. Signed-off-by: Mathieu Poirier Signed-off-by: John Rigby --- Changes for v2: - Using correct I/O access function. - Added cache controller address offsets for clarity

[U-Boot] [PATCH V2 04/25] mxc_i2c: clear i2sr before waiting for bit

2012-07-05 Thread Troy Kisky
Let's clear the sr register before waiting for bit to be set, instead of clearing it after hardware sets it. No real operational difference here, but allows combining of i2c_imx_trx_complete and i2c_imx_bus_busy in later patches. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack a

[U-Boot] [PATCH V2 08/25] mxc_i2c: combine i2c_imx_bus_busy and i2c_imx_trx_complete into wait_for_sr_state

2012-07-05 Thread Troy Kisky
Not using udelay gives a more accurate timeout. The current implementation of udelay in imx-common does not seem to wait at all for a udelay(1). Signed-off-by: Troy Kisky Acked-by: Marek Vasut V2: Added WATCHDOG_RESET as suggested by Marek Vasut add error message when stop fails mxc_i2c:

[U-Boot] [PATCH V2 19/25] mxc_i2c: finish adding CONFIG_I2C_MULTI_BUS support

2012-07-05 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: global data in sram section --- drivers/i2c/mxc_i2c.c | 17 + 1 file changed, 17 insertions(+) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 41849d3..2017399 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@

[U-Boot] [PATCH V2 06/25] mxc_i2c: call i2c_imx_stop on error in i2c_read/i2c_write

2012-07-05 Thread Troy Kisky
Signed-off-by: Troy Kisky --- drivers/i2c/mxc_i2c.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 4ce695a..55a688a 100644 --- a/drivers/i2c/mxc_i2c.c +++ b/drivers/i2c/mxc_i2c.c @@ -337,8 +337,10 @@ int i2c_rea

[U-Boot] [PATCH V2 07/25] mxc_i2c.c: code i2c_probe as a 0 length i2c_write

2012-07-05 Thread Troy Kisky
Signed-off-by: Troy Kisky Acked-by: Marek Vasut Acked-by: Stefano Babic --- v2: add acks change comment --- --- drivers/i2c/mxc_i2c.c | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 55a688a..62

[U-Boot] [PATCH V2 18/25] mxc_i2c: add bus recovery support

2012-07-05 Thread Troy Kisky
Add support for calling a function that will toggle the SCL line to return the bus to idle condition. The actual toggling function is added in a later patch. Signed-off-by: Troy Kisky --- v2: commit log change, global data in sram section. make toggle_i2c return int --- drivers/i2c/mxc_i2c.c |

[U-Boot] [PATCH V2 10/25] mxc_i2c: place imx_start code inline

2012-07-05 Thread Troy Kisky
imx_start is only referenced once so move to that location. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c | 53 +++-- 1 file changed, 20 insertions(+), 33 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c

[U-Boot] [PATCH V2 02/25] mxc_i2c: remove ifdef of CONFIG_HARD_I2C

2012-07-05 Thread Troy Kisky
This is always selected when CONFIG_I2C_MXC is selected, so it adds no value. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c |6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c inde

[U-Boot] [PATCH V2 05/25] mxc_i2c: create i2c_init_transfer

2012-07-05 Thread Troy Kisky
Initial code of i2c_read and i2c_write is identical, move to subroutine. Signed-off-by: Troy Kisky Acked-by: Marek Vasut Acked-by: Stefano Babic --- v2: add ack --- drivers/i2c/mxc_i2c.c | 44 ++-- 1 file changed, 18 insertions(+), 26 deletions(-) di

[U-Boot] [PATCH V2 25/25] mx6qsabrelite: add i2c multi-bus support

2012-07-05 Thread Troy Kisky
This includes bus recovery support. Signed-off-by: Troy Kisky --- v2: no change --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 50 +++-- include/configs/mx6qsabrelite.h |6 +-- 2 files changed, 48 insertions(+), 8 deletions(-) diff --git a/board/fre

[U-Boot] [PATCH V2 09/25] mxc_i2c: remove redundant read

2012-07-05 Thread Troy Kisky
wait_for_sr_state returns i2sr on success so no need to read again. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 01a6408..83c2fab 100644 --- a/

[U-Boot] [PATCH V2 11/25] mxc_i2c: place i2c_reset code inline

2012-07-05 Thread Troy Kisky
imx_reset is only referenced once so move to that location. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 9efa9

[U-Boot] [PATCH V2 01/25] mxc_i2c: fix i2c_imx_stop

2012-07-05 Thread Troy Kisky
Instead of clearing 2 bits, all the other bits were set because '|=' was used instead of '&='. Signed-off-by: Troy Kisky Acked-by: Marek Vasut Acked-by: Stefano Babic --- V2: add acks --- drivers/i2c/mxc_i2c.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/

[U-Boot] [PATCH V2 03/25] mxc_i2c: create tx_byte function

2012-07-05 Thread Troy Kisky
Use tx_byte function instead of having 3 copies of the code. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack change ret to integer from unsigned --- drivers/i2c/mxc_i2c.c | 82 +++-- 1 file changed, 24 insertions(+), 58 deletions(-)

[U-Boot] [PATCH V2 12/25] mxc_i2c: don't disable controller after every transaction

2012-07-05 Thread Troy Kisky
This helps in a multiple bus master environment which is why I also added a wait for bus idle. Signed-off-by: Troy Kisky --- v2: no change --- drivers/i2c/mxc_i2c.c | 28 +--- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drive

Re: [U-Boot] [PATCH] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-05 Thread Marek Vasut
Dear Ilya Yanok, > Hi Marek, > > On Thu, Jul 5, 2012 at 12:24 AM, Marek Vasut wrote: > > > -static struct QH qh_list __attribute__((aligned(32))); > > > +static char __qh_list[ALIGN(sizeof(struct QH), USB_DMA_MINALIGN)] > > > + __attribute__((aligned(USB_DMA_MINALIGN))); > >

Re: [U-Boot] [PATCH V2 01/25] mxc_i2c: fix i2c_imx_stop

2012-07-05 Thread Troy Kisky
On 7/5/2012 12:53 PM, Troy Kisky wrote: Instead of clearing 2 bits, all the other bits were set because '|=' was used instead of '&='. Signed-off-by: Troy Kisky Acked-by: Marek Vasut Acked-by: Stefano Babic --- V2: add acks --- drivers/i2c/mxc_i2c.c |2 +- 1 file changed, 1 insertion(

Re: [U-Boot] [PATCH] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-05 Thread Ilya Yanok
Hi Marek, On Thu, Jul 5, 2012 at 11:58 PM, Marek Vasut wrote: > > > > > Yep. I even thought about this but decided not to do... can't recall why. > > Now I think it's really a good idea. > > > > Maybe we should create DEFINE_ALIGNED_VARIABLE as a common.h macro? > Like what's in common.h -- ALLO

[U-Boot] [PATCH V2 14/25] mxc_i2c: check for arbitration lost

2012-07-05 Thread Troy Kisky
No need to continue waiting if arbitration lost. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index ba2aad3..093a73f 100644 --- a/drivers/i2c

[U-Boot] [PATCH V2 23/25] i.mx53: add definition for I2C3_BASE_ADDR

2012-07-05 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: no change --- arch/arm/include/asm/arch-mx5/imx-regs.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-mx5/imx-regs.h b/arch/arm/include/asm/arch-mx5/imx-regs.h index 4fa6658..caf5d21 100644 --- a/arch/arm/include/asm/arch-mx5/i

[U-Boot] [PATCH V2 17/25] mxc_i2c: prep work for multiple busses support

2012-07-05 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: moved global data to static ram section available before ram is initialized and removed typedef as suggested by Marek Vasut and Heiko Schocher make toggle_fn return int. --- drivers/i2c/mxc_i2c.c | 125 - 1 file

[U-Boot] [PATCH V2 24/25] imx-common: add i2c.c for bus recovery support

2012-07-05 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: do nothing if bus is already idle print failure message if appropriate change enable_i2c_clock to enable_i2c_clk clear non-idle bus before calling bus_i2c_init. wait .2 seconds for bus to clear before returning error fix compiler warnings ---

[U-Boot] [PATCH V2 20/25] iomux-v3: remove include of mx6x_pins.h

2012-07-05 Thread Troy Kisky
This include is not needed. Signed-off-by: Troy Kisky --- v2: no change --- arch/arm/cpu/armv7/mx6/iomux-v3.c |1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/cpu/armv7/mx6/iomux-v3.c b/arch/arm/cpu/armv7/mx6/iomux-v3.c index 8785532..a0c4b15 100644 --- a/arch/arm/cpu/armv7/mx6/i

[U-Boot] [PATCH V2 15/25] mxc_i2c: add retries

2012-07-05 Thread Troy Kisky
Retry unexpected hardware errors. This will not retry a received NAK. Signed-off-by: Troy Kisky --- v2: if i2c_init_transfer_ returns no error, then return 0 --- drivers/i2c/mxc_i2c.c | 36 +++- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/dri

[U-Boot] [PATCH V2 21/25] i.mx: iomux-v3.h: move to imx-common include directory

2012-07-05 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: no change --- arch/arm/cpu/armv7/mx6/iomux-v3.c |2 +- arch/arm/include/asm/arch-mx6/mx6x_pins.h |2 +- .../asm/{arch-mx6 => imx-common}/iomux-v3.h|0 board/freescale/mx6qarm2/mx6qarm2.c|2 +- boa

[U-Boot] [PATCH V2 13/25] mxc_i2c: change slave addr if conflicts with destination.

2012-07-05 Thread Troy Kisky
The i2c controller cannot be both master and slave in the same transaction. Signed-off-by: Troy Kisky --- v2: no change --- drivers/i2c/mxc_i2c.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index 1a5e379..ba2aad3 100644 --- a/drivers/i2

[U-Boot] [PATCH V2 16/25] mxc_i2c: add i2c_regs argument to i2c_imx_stop

2012-07-05 Thread Troy Kisky
This is prep work for CONFIG_I2C_MULTI_BUS. Signed-off-by: Troy Kisky Acked-by: Marek Vasut --- v2: add ack --- drivers/i2c/mxc_i2c.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index cbb0fff..44a04b5

[U-Boot] [PATCH V2 22/25] i.mx: iomux-v3.c: move to imx-common directory

2012-07-05 Thread Troy Kisky
Signed-off-by: Troy Kisky --- v2: no change --- arch/arm/cpu/armv7/imx-common/Makefile|2 +- arch/arm/cpu/armv7/{mx6 => imx-common}/iomux-v3.c |0 arch/arm/cpu/armv7/mx6/Makefile |2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename arch/arm/cpu

[U-Boot] [PATCH 1/2] phylib: phy_startup() should return an error code on failure

2012-07-05 Thread Timur Tabi
phy_startup() calls the PHY driver's startup function, but it ignores the return code from that function, and so it never returns any failures. Signed-off-by: Timur Tabi --- drivers/net/phy/phy.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/net/phy/phy.c b

[U-Boot] [PATCH 2/2] net: abort network initialization if the PHY driver fails

2012-07-05 Thread Timur Tabi
Now that phy_startup() can return an actual error code, check for that error code and abort network initialization if the PHY fails. Signed-off-by: Timur Tabi --- drivers/net/fec_mxc.c |7 ++- drivers/net/fm/eth.c |9 - drivers/net/sh_eth.c |6 ++

Re: [U-Boot] [PATCH] ehci-hcd.c, musb_core, usb.h: Add USB_DMA_MINALIGN define for cache alignment

2012-07-05 Thread Marek Vasut
Dear Ilya Yanok, > Hi Marek, > > On Thu, Jul 5, 2012 at 11:58 PM, Marek Vasut wrote: > > > Yep. I even thought about this but decided not to do... can't recall > > > why. Now I think it's really a good idea. > > > > > > > Maybe we should create DEFINE_ALIGNED_VARIABLE as a common.h macro? > >

Re: [U-Boot] [PATCH 1/2] Remove unused CONFIG_STACKSIZE

2012-07-05 Thread Rob Herring
Albert, On 07/05/2012 05:10 AM, Albert ARIBAUD wrote: > Hi Rob, > > On Thu, 28 Jun 2012 08:54:10 -0500, Rob Herring > wrote: >> From: Rob Herring >> >> CONFIG_STACKSIZE is not referenced anywhere except on AVR32, but >> present in most ARM boards. The IRQ and FIQ stacks are not setup in >> star

Re: [U-Boot] Please pull u-boot-ti/master

2012-07-05 Thread Albert ARIBAUD
Hi Tom, On Thu, 5 Jul 2012 09:18:38 -0700, Tom Rini wrote: > Hi Albert, > > The following changes since commit 863ba81c70d8ca8dc49e0c5a28a1fd0fb23ca62d: > > arm: bugfix: Move vector table before jumping relocated code (2012-07-05 > 14:01:28 +0200) > > are available in the git repository at:

Re: [U-Boot] Please pull u-boot-staging.git/s...@denx.de

2012-07-05 Thread Albert ARIBAUD
Hi Stefan, On Thu, 5 Jul 2012 15:10:26 +0200, Stefan Roese wrote: > Hi Albert, > > as you seem to be working on U-Boot patches right now, here another short > reminder from me. ;) > > Thanks, > Stefan Can you rebase this on current uboot-arm? Sorry for the inconvenience. Amicalement, -- Alb

Re: [U-Boot] [PATCH v8 2/4] net: use common rand()/srand() functions

2012-07-05 Thread Michael Walle
Am Donnerstag 05 Juli 2012, 20:18:12 schrieb Kim Phillips: > On Mon, 4 Jun 2012 15:10:55 -0500 > > Joe Hershberger wrote: > > On Fri, Jun 1, 2012 at 3:39 PM, Michael Walle wrote: > > > Replace rand() with the functions from lib/. The link-local network > > > code stores its own seed, derived fro

Re: [U-Boot] [PATCH v2 5/5] arm: rmobile: Add supoprt for KMC KZM-A9-GT board

2012-07-05 Thread Nobuhiro Iwamatsu
Hi, Thank you for your review. 2012/7/5 Tetsuyuki Kobayashi : > Hello, Iwamatsu-san > > > (2012/07/05 16:01), Nobuhiro Iwamatsu wrote: > >> diff --git a/board/kmc/kzm9g/kzm9g.c b/board/kmc/kzm9g/kzm9g.c >> new file mode 100644 >> index 000..3f38f69 >> --- /dev/null >> +++ b/board/kmc/kzm9g/kz

[U-Boot] [PATCH v3] arm: rmobile: Add supoprt for KMC KZM-A9-GT board

2012-07-05 Thread Nobuhiro Iwamatsu
The KZM-A9-GT board has Renesas R-Mobile SH73A0, 512MB DDR2-SDRAM, USB, Ethernet, and more. This patch supports the following functions: - 512MB DDR2-SDRAM - 16MB NOR Flash memory - Serial console (SCIF) - Ethernet (SCIM) - I2C Signed-off-by: Nobuhiro Iwama

Re: [U-Boot] [PATCH v2 1/5] arm: rmobile: Add basic support for Renesas R-Mobile

2012-07-05 Thread Nobuhiro Iwamatsu
Hi, Tetsuyuki Kobayashi さんは書きました: Thank you, Iwamatu-san. But I am afraid that [PATCH v2 2/5] is missing. I didn't recieve it. This mail was blocked by Mailing List system. Size of Mail is too big. If you can show patchwork, you can get from that. http://patchwork.ozlabs.org/patch/169095/

Re: [U-Boot] U-boot Porting

2012-07-05 Thread Daniel Schwierzeck
Hi Sayed, 2012/7/5 Andreas Bießmann : > Dear sayed zahid, > > On 05.07.2012 13:42, sayed zahid wrote: >> Hi , >> I have basic knowledge of porting u-boot to a new board. But now i have got >> a task to port u-boot on cavium mips based board. As i know that mips >> architecture is already supported

[U-Boot] [PATCH] net: make net_rand.h inclusion depend on BOOTP_RANDOM_DELAY

2012-07-05 Thread Kim Phillips
commit "net: use common rand()/srand() functions" introduced the following build warning on the current u-boot-arm tree: $ ./MAKEALL MPC8313ERDB_66 Configuring for MPC8313ERDB_66 - Board: MPC8313ERDB, Options: SYS_66MHZ textdata bss dec hex filename 271988 13976 41768 3277

[U-Boot] [PATCH] arm: rmobile: Support build with gcc-4.6 or later

2012-07-05 Thread Nobuhiro Iwamatsu
Latest rmobile code was tested by using old gcc (gcc-4.4). When we use gcc-4.6 (or later), the build is made, but does not work. This solves a problem not to work by add -march=armv5 to compiple option when we built in gcc-4.6 (or later). I tested by linaro's compiler version 2012.04-20120426. Sig

[U-Boot] [PATCH] rmobile: kzm9g: Fix warnin in cmp_loop function

2012-07-05 Thread Nobuhiro Iwamatsu
cmp_loop function was used from the structure of register. And for the member of this structure, volatile is defined. Since a volatile declaration of cmp_loop function is not made by argument, made warning by compiler. This fixes this problem. Signed-off-by: Nobuhiro Iwamatsu --- board/kmc/kzm9g

Re: [U-Boot] U-boot Porting

2012-07-05 Thread Aaron Williams
Hi Andreas, We have been shipping 2011.03 for some time and internally are planning to use 2012.07 when it is released since we are tracking the top of trunk. We have made a lot of improvements since then and added a lot of new capabilities. -Aaron On 07/05/2012 06:18 AM, Andreas Bießmann w

Re: [U-Boot] U-boot Porting

2012-07-05 Thread Aaron Williams
Hi Zahid, I am in charge of U-Boot for OCTEON MIPS. I have not pushed the changes back upstream since the amount of code is enormous (over 430K lines of code!). Granted, a huge percentage of that is from generated register files but it is still a huge amount of code. Just the DRAM initializat

Re: [U-Boot] [PATCH 0/3] arm: rmobile: kzm9g: enable booting Linux kernel

2012-07-05 Thread Nobuhiro Iwamatsu
HI, 2012/7/5 Tetsuyuki Kobayashi : > Hello, Iwamatu-san > > I rebased u-boot-sh.git arm/rmobile branch and reworked my patches. > After this patch set, LTSI kernel can boot on KZM-A9-GT board. > > But I found it is not stable. It needs more work. > > > Tetsuyuki Kobayashi (3): > arm: rmobile: kz

Re: [U-Boot] [PATCH 2/2] net: abort network initialization if the PHY driver fails

2012-07-05 Thread Nobuhiro Iwamatsu
Hi, 2012/7/6 Timur Tabi : > Now that phy_startup() can return an actual error code, check for that error > code and abort network initialization if the PHY fails. > > Signed-off-by: Timur Tabi > --- > drivers/net/fec_mxc.c |7 ++- > drivers/net/fm/eth.c |9 -

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

2012-07-05 Thread Scott Wood
On 07/04/2012 02:46 AM, Jim Lin wrote: >> -Original Message- >> From: Scott Wood [mailto:scottw...@freescale.com] >> Sent: Thursday, April 26, 2012 6:17 AM >> To: Simon Glass >> Cc: U-Boot Mailing List; Tom Warren; Stephen Warren; Jim Lin; Stephen Warren >> Subject: Re: [PATCH v3 6/7] tegr

Re: [U-Boot] [PATCH 2/2] net: abort network initialization if the PHY driver fails

2012-07-05 Thread Tabi Timur-B04825
Nobuhiro Iwamatsu wrote: >> diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c >> index eee41d7..7a3d16b 100644 >> --- a/drivers/net/fec_mxc.c >> +++ b/drivers/net/fec_mxc.c >> @@ -510,7 +510,12 @@ static int fec_open(struct eth_device *edev) >> fec_eth_phy_config(edev); >

Re: [U-Boot] [PATCH] arm/s5pxx: Fix get_timer_masked to get the time.

2012-07-05 Thread Minkyu Kang
Dear Jaehoon and Donghwa, On 5 July 2012 20:55, Zhong Hongbo wrote: > Hi Minkyu, > > Could you help me to review it? > > Thanks, > hongbo > > On 07/03/2012 07:50 AM, Zhong Hongbo wrote: >> From: Zhong Hongbo >> >> In general, The get_timer_masked function get the system time, >> no the number of

[U-Boot] [PATCH v4] arm : Atmel : add at91sam9x5ek board support

2012-07-05 Thread Bo Shen
Add at91sam9x5ek board support, this board support the following SoCs AT91SAM9G15, AT91SAM9G25, AT91SAM9G35, AT91SAM9X25, AT91SAM9X35 Using at91sam9x5ek_nandflash to configure for the board Now only supports NAND with software ECC boot up Signed-off-by: Bo Shen --- This patch is based on git:/

Re: [U-Boot] [PATCH] arm/s5pxx: Fix get_timer_masked to get the time.

2012-07-05 Thread Jaehoon Chung
Hi Minkyu, I tested on trats-board. I think it's working fine. Tested-by: Jaehoon Chung Best Regards, Jaehoon Chung On 07/06/2012 11:13 AM, Minkyu Kang wrote: > Dear Jaehoon and Donghwa, > > On 5 July 2012 20:55, Zhong Hongbo wrote: >> Hi Minkyu, >> >> Could you help me to review it? >> >> T

Re: [U-Boot] [PATCH] armv7: Fix to mistake clean the memory space

2012-07-05 Thread Albert ARIBAUD
Hi Zhong, On Thu, 5 Jul 2012 22:35:15 +0800, Zhong Hongbo wrote: > From: Zhong Hongbo > > In currently, when __bss_start is equal to __bss_end__, > The bss loop will clear all the things in memory space. > > But just only when __bss_end__ greater than __bss_start__, > we do the clear bss sect

[U-Boot] [PATCH v4] arm: bugfix: save_boot_params_default accesses uninitalized stack when -O0

2012-07-05 Thread Tetsuyuki Kobayashi
save_boot_params_default() in cpu.c accesses uninitialized stack area when it compiled with -O0 (not optimized). Signed-off-by: Tetsuyuki Kobayashi --- Hi Tom, Albert, I rewrite them in asm language and put it to start.S. No warning now. I tested it quickly on my kzm9g board. Changes for v2: -

Re: [U-Boot] [PATCH V2 01/25] mxc_i2c: fix i2c_imx_stop

2012-07-05 Thread Marek Vasut
Dear Troy Kisky, > On 7/5/2012 12:53 PM, Troy Kisky wrote: > > Instead of clearing 2 bits, all the other > > bits were set because '|=' was used instead > > of '&='. > > > > Signed-off-by: Troy Kisky > > Acked-by: Marek Vasut > > Acked-by: Stefano Babic > > > > --- > > V2: add acks > > --- >

<    1   2