save_boot_params_default() in cpu.c accesses uninitialized stack area
when it compiled with -O0 (not optimized).
This patch removes save_boot_params_default() and put the equivalent in start.S
Signed-off-by: Tetsuyuki Kobayashi
---
Hi Tom, Albert,
I rewrite it again.
I tested it quickly on my kz
The DMA mode didn't properly configure the DMA_ENABLE bit in CTRL1.
Also, it was using SSP0 DMA channel for all SSP devices.
Signed-off-by: Marek Vasut
Cc: Wolfgang Denk
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Andy Fleming
---
drivers/mmc/mxsmmc.c | 10 --
1 file changed, 8 inserti
Large blocks (> 512b) shall be transfered via DMA to make
things a bit faster.
Signed-off-by: Marek Vasut
Cc: Wolfgang Denk
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Andy Fleming
---
drivers/mmc/mxsmmc.c | 46 --
1 file changed, 20 insertions(+), 2
The DMA didn't work properly because the DMA descriptor wasn't
properly cleaned after it was used once. Also, the DMA_ENABLE bit
was enabled/disabled too late.
Signed-off-by: Marek Vasut
Cc: Wolfgang Denk
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Andy Fleming
---
drivers/mmc/mxsmmc.c | 34 ++
Move DMA and PIO data transfer parts into separate functions.
Signed-off-by: Marek Vasut
Cc: Wolfgang Denk
Cc: Stefano Babic
Cc: Fabio Estevam
Cc: Andy Fleming
---
drivers/mmc/mxsmmc.c | 154 --
1 file changed, 86 insertions(+), 68 deletions(-
Dear Zhong Hongbo,
Am Freitag, 6. Juli 2012 schrieb Zhong Hongbo :
On 07/06/2012 09:57 PM, Andreas Bießmann wrote:
> Dear Zhong Hongbo,
>
> On 06.07.2012 15:50, Zhong Hongbo wrote:
>> On 07/06/2012 09:23 PM, Andreas Bießmann wrote:
>>> On 06.07.2012 14:20, Zhong Hongbo wro
Dear Aneesh V,
> Hi Marek,
>
> On 07/06/2012 04:32 PM, Tetsuyuki Kobayashi wrote:
> > Hello,
> >
> > On 2012/07/07, at 8:02, Marek Vasut wrote:
> >> Dear Aneesh V,
> >>
> >>> Enable -march=armv7-a for armv7 platforms if the tool-chain
> >>> supports it. This in turn results in Thumb-2 code gene
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 section operation.
Signed-off-by: Zhong Hongbo
---
Change for V2
- Fixed bss
On 07/07/2012 03:29 PM, Andreas Bießmann wrote:
> Dear Zhong Hongbo,
>
> Am Freitag, 6. Juli 2012 schrieb Zhong Hongbo :
>
> On 07/06/2012 09:57 PM, Andreas Bießmann wrote:
> > Dear Zhong Hongbo,
> >
> > On 06.07.2012 15:50, Zhong Hongbo wrote:
> >> On 07/06/2012 09:23 PM, And
This serial patch intent to:
1. Switch all I/O to use readl/writel function
2. Change nand_spl to use SPL framework
3. S3C64XX serial includes s3c6400 and s3c6410,
Here seprate cpu and board file to support to board's of s3c6410.
I test this patch on my s3c6410 development board. the log as follo
From: Zhong Hongbo
Signed-off-by: Zhong Hongbo
---
Makefile | 20
board/samsung/smdk6400/config.mk |4 +---
boards.cfg |2 ++
include/configs/smdk6400.h |2 +-
4 files changed, 4 insertions(+), 24 deletions(-
From: Zhong Hongbo
Signed-off-by: Zhong Hongbo
---
arch/arm/include/asm/arch-s3c64xx/nand.h| 69 +++
arch/arm/include/asm/arch-s3c64xx/s3c6400.h | 79 ++-
board/samsung/smdk6400/lowlevel_init.S |8 ++--
drivers/mtd/nand/s3c64xx.c
From: Zhong Hongbo
Signed-off-by: Zhong Hongbo
---
arch/arm/include/asm/arch-s3c64xx/s3c6400.h | 65 +--
arch/arm/include/asm/arch-s3c64xx/s3c64x0.h | 31 -
arch/arm/include/asm/arch-s3c64xx/uart.h| 54 ++
board/samsung/smdk6400/
From: Zhong Hongbo
Signed-off-by: Zhong Hongbo
---
arch/arm/cpu/arm1176/s3c64xx/Makefile |1 +
arch/arm/cpu/arm1176/s3c64xx/pwm.c | 189 +++
arch/arm/include/asm/arch-s3c64xx/pwm.h | 70 ++
arch/arm/include/asm/arch-s3c64xx/s3c6400.h |
From: Zhong Hongbo
The old s3c64xx timer is not work normal, Adopt s5p time design,
It work perfect.
Signed-off-by: Zhong Hongbo
---
arch/arm/cpu/arm1176/s3c64xx/timer.c | 195 --
1 files changed, 94 insertions(+), 101 deletions(-)
diff --git a/arch/arm/cpu/ar
From: Zhong Hongbo
It just only do the memory init. The memory depend on the
design of board.
Signed-off-by: Zhong Hongbo
---
arch/arm/cpu/arm1176/s3c64xx/Makefile |2 +-
arch/arm/cpu/arm1176/s3c64xx/cpu_init.S | 135 ---
board/samsung/smdk6400/Makefile
From: Zhong Hongbo
The old spl use nand_spl directory file to support
nand flash boot. We will adopt the new SPL framework
to implement it.
Signed-off-by: Zhong Hongbo
---
board/samsung/smdk6400/config.mk | 28 ---
boards.cfg |4 +-
include/c
From: Zhong Hongbo
Adopt the new SPL framework to implement the SPL booting of
the nand flash for S3C6400.
Signed-off-by: Zhong Hongbo
---
arch/arm/cpu/arm1176/start.S| 17 +---
board/samsung/smdk6400/Makefile | 29 +-
board/samsung/smdk6400/lowlevel
From: Zhong Hongbo
Signed-off-by: Zhong Hongbo
---
arch/arm/cpu/arm1176/s3c64xx/Makefile |2 +-
arch/arm/cpu/arm1176/s3c64xx/srom.c | 52 +++
arch/arm/include/asm/arch-s3c64xx/s3c6400.h | 13 +++
arch/arm/include/asm/arch-s3c64xx/sromc.h | 4
From: Zhong Hongbo
Signed-off-by: Zhong Hongbo
---
arch/arm/cpu/arm1176/s3c64xx/reset.S|4 +-
arch/arm/cpu/arm1176/s3c64xx/speed.c| 50 ++---
arch/arm/include/asm/arch-s3c64xx/clock.h | 147 +++
arch/arm/include/asm/arch-s3c64xx/s3c6400.h | 167
From: Zhong Hongbo
Signed-off-by: Zhong Hongbo
---
arch/arm/include/asm/arch-s3c64xx/s3c6400.h | 173 +--
board/samsung/smdk6400/mem_init.S | 110 +-
2 files changed, 56 insertions(+), 227 deletions(-)
diff --git a/arch/arm/include/asm/arch-s
From: Zhong Hongbo
Signed-off-by: Zhong Hongbo
---
arch/arm/include/asm/arch-s3c64xx/s3c6400.h | 294 +--
board/samsung/smdk6400/lowlevel_init.S | 50 ++---
board/samsung/smdk6400/mem_init.S |4 +
3 files changed, 30 insertions(+), 318 deletions(-)
From: Zhong Hongbo
Signed-off-by: Zhong Hongbo
---
arch/arm/include/asm/arch-s3c64xx/s3c6400.h | 26 --
board/samsung/smdk6400/lowlevel_init.S |6 +++---
2 files changed, 3 insertions(+), 29 deletions(-)
diff --git a/arch/arm/include/asm/arch-s3c64xx/s3c6400.
Hi Zhong Hongbo,
On Sat, 7 Jul 2012 17:47:16 +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 b
Hi Marek,
On Sat, 7 Jul 2012 09:59:52 +0200, Marek Vasut wrote:
> Dear Aneesh V,
>
> > Hi Marek,
> >
> > On 07/06/2012 04:32 PM, Tetsuyuki Kobayashi wrote:
> > > Hello,
> > >
> > > On 2012/07/07, at 8:02, Marek Vasut wrote:
> > >> Dear Aneesh V,
> > >>
> > >>> Enable -march=armv7-a for armv7
Hi Allen,
On Fri, 6 Jul 2012 16:17:19 -0700, Allen Martin wrote:
> On Fri, Jul 06, 2012 at 01:44:32PM -0700, Stephen Warren wrote:
> > On 07/06/2012 02:33 PM, Allen Martin wrote:
> > > On Fri, Jul 06, 2012 at 12:09:43PM -0700, Stephen Warren wrote:
> > >> On 07/06/2012 12:08 PM, Allen Martin wrot
Hi Wolfgang,
On Fri, 06 Jul 2012 14:34:25 +0200, Wolfgang Denk wrote:
> Hi all,
>
> this is just a reminder for the first U-Boot Developer's Meeting which
> takes place next week in the context of the 13es Rencontres Mondiales
> du Logiciel Libre (RMLL) aka 13th Libre Software Meeting (LSM) in
>
Hi Albert,
(2012/07/06 22:46), Albert ARIBAUD wrote:
Hi Tetsuyuki,
On Fri, 06 Jul 2012 16:48:05 +0900, Tetsuyuki Kobayashi
wrote:
Hi, Iwamatsu-san
(2012/07/06 9:12), Nobuhiro Iwamatsu wrote:
BTW, do you become a maintainer of kzm9g board?
If it becomes a maintainer, please send the patch t
Hi Jens,
Le Mon, 16 Jan 2012 11:22:02 +0100,
Jens Scharsig a écrit :
> * add support for board VL+MA2SC
> * adds vl_ma2sc_config for standard NOR boot configuration
> * adds vl_ma2sc_ram_config for RAM load configuration
>
> Signed-off-by: Jens Scharsig
> ---
Applied to u-boot-arm/master, tha
Hi, Iwamatsu-san
I made v2 patch set for kzm9g.
Please revert my previous 3 patches and apply this patch set.
After this patch set, LTSI kernel can boot on KZM-A9-GT board.
It seems stable as before.
Tetsuyuki Kobayashi (5):
arm: rmobile: kzm9g: Modify sdram area
arm: rmobile: kzm9g: Adjust
Hi Fabio,
Le Thu, 1 Mar 2012 19:31:45 +0100,
Marek Vasut a écrit :
> > No need to define CONFIG_ARCH_CPU_INIT.
> >
> > All mx6 based boards should use arch_cpu_init().
> >
>
> Acked-by: Marek Vasut
>
> > Signed-off-by: Fabio Estevam
> > ---
Applied (rebased) to u-boot-arm/master, thanks.
Reserve first 16MB for RT-CPU (as same as kernel config).
Signed-off-by: Tetsuyuki Kobayashi
Signed-off-by: Nobuhiro Iwamatsu
---
Changes for v2:
- No change. Just rebased.
include/configs/kzm9g.h |5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/include/configs/kzm9
Adjust low level hardware setting in s_init.
Signed-off-by: Tetsuyuki Kobayashi
Signed-off-by: Nobuhiro Iwamatsu
---
Changes for v2:
- No change. Just rebased.
arch/arm/include/asm/arch-rmobile/sh73a0.h |4 +++-
board/kmc/kzm9g/kzm9g.c|2 ++
2 files changed, 5 inse
Hi Fabio,
On Thu, 1 Mar 2012 19:31:54 +0100, Marek Vasut wrote:
> > No need to define CONFIG_ARCH_CPU_INIT.
> >
> > All mx28 based boards should use arch_cpu_init().
> >
>
> Acked-by: Marek Vasut
>
> > Signed-off-by: Fabio Estevam
> > ---
Applied to ub-boot-arm/master, thanks.
Amicalemen
Change U-Boot prompt to board specific one.
Signed-off-by: Tetsuyuki Kobayashi
Signed-off-by: Nobuhiro Iwamatsu
---
Changes for v2:
- No change. Just rebased.
include/configs/kzm9g.h |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/kzm9g.h b/include/confi
Add dummy member to struct sh73a0_rwdt in sh73a0.h.
Without this, initializing watch dog timer goes wrong.
Signed-off-by: Tetsuyuki Kobayashi
---
Changes for v2:
- New
arch/arm/include/asm/arch-rmobile/sh73a0.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/include/asm/arch-
Add Tetsuyuki Kobayshi for kzm9g in MAINTAINERS file.
Signed-off-by: Tetsuyuki Kobayashi
---
Changes for v2:
- New
MAINTAINERS |1 +
1 file changed, 1 insertion(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 45446f4..55a6c1b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -947,6 +947,7 @@
Hi Marek,
On Thu, 8 Mar 2012 16:46:18 +0100, Marek Vasut wrote:
> Dear Marek Vasut,
>
> > Signed-off-by: Marek Vasut
> > ---
> > include/configs/zipitz2.h |1 +
> > 1 files changed, 1 insertions(+), 0 deletions(-)
> >
> > diff --git a/include/configs/zipitz2.h b/include/configs/zipitz2.h
Hi Fabio,
On Mon, 2 Apr 2012 18:19:45 -0300, Fabio Estevam
wrote:
> Introduce arch_early_init_r() function, which can be useful for doing
> early initialization after relocation has happened.
>
> Signed-off-by: Fabio Estevam
> ---
> arch/arm/include/asm/u-boot-arm.h |1 +
> arch/arm/lib/b
Hi R Sricharan,
On Thu, 17 May 2012 15:22:54 +0530, R Sricharan
wrote:
> The following is the cleanup sequence in arch/arm/cpu/armv7/cpu.c
>
> int cleanup_before_linux(void)
> {
> ...
> ...
> dcache_disable();
> v7_outer_cache_disable();
> invalidate_dcache_all();
> }
>
> 1) invalidate_d
Hi Wolfgang,
The following changes since commit
558cd995d6d3eaa94fb342d142289a1fa2f76ba3:
tools/mkenvimage.c: fix basename(3) usage (2012-07-02 20:21:49 +0200)
are available in the git repository at:
git://git.denx.de/u-boot-arm master
for you to fetch changes up to d702b0811df53a1fc2d8049
On 07/07/2012 05:58 PM, Albert ARIBAUD wrote:
> Hi Zhong Hongbo,
>
> On Sat, 7 Jul 2012 17:47:16 +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 __b
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 section operation.
Signed-off-by: Zhong Hongbo
---
Change for V1
- Fixed bss
Hi Stefano,
On Mon, Jun 18, 2012 at 3:31 PM, Marek Vasut wrote:
> Dear Fabio Estevam,
>
>> commit 419ea2d84 (mx28: Split the README into a common part and a m28
>> specific part) missed an entry in the Contents section that was part of
>> the original file.
>>
>> Add the missing entry for complet
On 07/07/2012 17:41, Fabio Estevam wrote:
> Hi Stefano,
>
> On Mon, Jun 18, 2012 at 3:31 PM, Marek Vasut wrote:
>> Dear Fabio Estevam,
>>
>>> commit 419ea2d84 (mx28: Split the README into a common part and a m28
>>> specific part) missed an entry in the Contents section that was part of
>>> the o
On 27/06/2012 16:14, Anatolij Gustschin wrote:
> The documented link to elftosb package tarball is not accessible,
> change to another working link.
>
> Signed-off-by: Anatolij Gustschin
> Cc: Otavio Salvador
> Cc: Marek Vasut
> Cc: Fabio Estevam
> Acked-by: Otavio Salvador
> ---
Applied to
On 15/06/2012 15:48, Ashok wrote:
>
>
> Use the same name as defined in the datasheet.
> DSP_CLK -> DISP_CLK
>
> Signed-off-by: Ashok Kumar Reddy Kourla
> ---
Applied to u-boot-imx, thanks.
Best regards,
Stefano Babic
--
=
On 28/06/2012 22:36, Philippe Reynes wrote:
> Signed-off-by: Philippe Reynes
> ---
Hi Philippe,
> include/configs/apf27.h | 916
> +++
> 1 files changed, 916 insertions(+), 0 deletions(-)
> create mode 100644 include/configs/apf27.h
>
> diff --git
On 28/06/2012 22:36, Philippe Reynes wrote:
> Signed-off-by: Philippe Reynes
> Signed-off-by: Eric Jarrige
> ---
Hi Philippe,
> nand_spl/board/armadeus/apf27/Makefile | 79 +
> nand_spl/board/armadeus/apf27/config.mk | 45 +++
> nand_spl/board/armadeus/apf27/start.S| 548
> +++
On 28/06/2012 22:36, Philippe Reynes wrote:
> Signed-off-by: Philippe Reynes
> Signed-off-by: Eric Jarrige
> ---
Hi Philippe,
> + *
> + */
> +#include
> +
> +#if defined(CONFIG_FPGA)
Maybe you can drop this and compiling this file only if CONFIG_FPGA is
set, changing your Makefile
> +
> +#d
On 28/06/2012 22:36, Philippe Reynes wrote:
> Signed-off-by: Philippe Reynes
> Signed-off-by: Eric Jarrige
> Signed-off-by: Nicolas Colombain
> ---
Hi Philippe,
> + rm -f $(SOBJS) $(OBJS)
> +
> +distclean: clean
> + rm -f $(LIB) core *.bak $(obj).depend
clean / distclean are not n
On Sat, Jul 07, 2012 at 03:15:36AM -0700, Albert ARIBAUD wrote:
> Hi Allen,
>
> On Fri, 6 Jul 2012 16:17:19 -0700, Allen Martin wrote:
> > On Fri, Jul 06, 2012 at 01:44:32PM -0700, Stephen Warren wrote:
> > > On 07/06/2012 02:33 PM, Allen Martin wrote:
> > > > On Fri, Jul 06, 2012 at 12:09:43PM -
mkenvimage does not build due to missed os_support.o and unsupported
file modes S_IRGRP S_IWGRP.
Tested with mingw 4.2.1 on ubuntu 12.04.
Signed-off-by: Vladimir Yakovlev
---
tools/Makefile |3 ++-
tools/mkenvimage.c | 10 --
2 files changed, 10 insertions(+), 3 deletions(-)
d
Dear Stefan Herbrechtsmeier,
> Am 04.07.2012 08:57, schrieb Schneider, Kolja:
> >> Am 03.07.2012 20:10, schrieb Marek Vasut:
> The commit 5dd95cf93dfffa1d19a1928990852aac9f55b9d9 'usb_storage:
> Fix EHCI "out of buffer pointers" with CD-ROM' introduce a bug in
> usb_storage as it wr
Add Guennadi to the loop.
Thanks,
hongbo
On 07/07/2012 05:56 PM, Zhong Hongbo wrote:
> This serial patch intent to:
> 1. Switch all I/O to use readl/writel function
> 2. Change nand_spl to use SPL framework
> 3. S3C64XX serial includes s3c6400 and s3c6410,
> Here seprate cpu and board file to supp
This is the out-of-function-scope counterpart of
ALLOC_CACHE_ALIGN_BUFFER.
Signed-off-by: Marek Vasut
Cc: Tom Rini
Cc: Ilya Yanok
---
include/common.h | 11 +++
1 file changed, 11 insertions(+)
diff --git a/include/common.h b/include/common.h
index 17c64b0..06d278f 100644
--- a/incl
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
coherency. In those cases, use that value rather than the USB spec
minimum. We add a cpp check to to define USB_DMA_MINALIGN and
make use o
57 matches
Mail list logo