Re: [U-Boot] [PATCH v2 2/2] lsxl: rework boot scripts

2014-04-19 Thread Michael Walle
Am 2014-04-01 20:09, schrieb Michael Walle: Move addresses for kernel, ramdisk and fdt blob to own variables. Add dtb blob loading to all existing boot scripts, dtb filenames were taken from vanilla kernel. Introduce new boot script bootcmd_legacy, which only loads a kernel and a ramdisk. Make

[U-Boot] [PATCH v2] am33xx: add SSC enable macro

2014-04-19 Thread Yegor Yefremov
Signed-off-by: Yegor Yefremov --- Changes: v2: use CM_CLKMODE_DPLL_SSC_EN_MASK in board file of Siemens device arch/arm/include/asm/arch-am33xx/clock.h | 2 ++ board/siemens/rut/board.c| 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/arm/include/

Re: [U-Boot] config: enable CONFIG_API in distro config

2014-04-19 Thread Ian Campbell
On Fri, 2014-04-18 at 11:23 -0600, Stephen Warren wrote: > That said, I still conceptually object to config_distro_defaults.h > enabling API support in order to support grub; A worse problem is that I'm far from convinced that the API is suitable to be used in production. The mechanism for determ

Re: [U-Boot] [linux-sunxi] Re: [PATCH 2/3] net/designware: invalidate entire descriptor in dw_eth_send

2014-04-19 Thread Ian Campbell
On Sat, 2014-04-19 at 10:14 -0400, Stefan Monnier wrote: > > Some platforms cannot invalidate the cache at four byte intervals, so > > invalidate the entire descriptor. > > Wouldn't it be simpler to make invalidate_dcache_range round up to the > nearest aligned boundaries? > > Can there ever be s

[U-Boot] [PATCH] rtc: add support maxim dallas rtc ds1347

2014-04-19 Thread RAGHAVENDRA GANIGA
>From 48802d37079bfc3e705cd43af78b7b2186a02046 Mon Sep 17 00:00:00 2001 From: Raghavendra Ganiga Date: Thu, 17 Apr 2014 23:14:22 +0530 Subject: [PATCH] rtc: add support maxim dallas rtc ds1347 This is a patch to add support for maxim dallas rtc ds1347 Signed-off-by: Raghavendra Chandra Ganiga -

Re: [U-Boot] config: enable CONFIG_API in distro config

2014-04-19 Thread Ian Campbell
On Sat, 2014-04-19 at 02:05 +0100, Leif Lindholm wrote: > Ian Campbell wrote some neat patches for patching the (grub) kernel > link addres at grub-install time, which would be an improvement, but is > also quite invasive over several ports: > http://lists.gnu.org/archive/html/grub-devel/2013-12/ms

Re: [U-Boot] config: enable CONFIG_API in distro config

2014-04-19 Thread Ian Campbell
On Fri, 2014-04-18 at 11:43 -0600, Simon Glass wrote: > Hi Stephen, > > On 18 April 2014 11:23, Stephen Warren wrote: > > On 04/18/2014 09:35 AM, Tom Rini wrote: > >> On Thu, Apr 10, 2014 at 03:55:48PM -0500, Rob Herring wrote: > >> > >>> From: Rob Herring > >>> > >>> CONFIG_API is needed for u-

[U-Boot] [PATCH 3/3] net/designware: align cache invalidation on rx

2014-04-19 Thread Ian Campbell
Signed-off-by: Ian Campbell --- drivers/net/designware.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c index 7d14cec..30446d3 100644 --- a/drivers/net/designware.c +++ b/drivers/net/designware.c @@ -354,7 +354,7 @@ static i

[U-Boot] [PATCH 1/3] net/designware: ensure device private data is DMA aligned.

2014-04-19 Thread Ian Campbell
struct dw_eth_dev contains fields which are accessed via DMA, so make sure it is aligned to a dma boundary. Without this I see: ERROR: v7_dcache_inval_range - start address is not aligned - 0x7fb677e0 Signed-off-by: Ian Campbell --- drivers/net/designware.c | 3 ++- 1 file changed, 2 inserti

[U-Boot] [PATCH 2/3] net/designware: invalidate entire descriptor in dw_eth_send

2014-04-19 Thread Ian Campbell
Some platforms cannot invalidate the cache at four byte intervals, so invalidate the entire descriptor. Signed-off-by: Ian Campbell --- drivers/net/designware.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/net/designware.c b/drivers/net/designware.c ind

Re: [U-Boot] [linux-sunxi] Uboot error: address not aligned in v7_dcache_inval_range

2014-04-19 Thread Ian Campbell
On Sun, 2014-04-13 at 23:45 -0400, Shixin Zeng wrote: > Hi, > > I compiled the current u-boot from > https://github.com/jwrdegoede/u-boot-sunxi.git for cubieboard2, and > wrote it to the SD card. I was trying to boot the kernel on my > computer over network by tftp, however it failed when I ran "d