Re: [U-Boot] NAND bootloader, SPL<->NUB offset for large page NAND

2010-04-16 Thread Scott Wood
On Fri, Apr 16, 2010 at 01:29:26PM +0200, Peter Vollmer wrote: > Hi, > > I have a question regarding the usage of CPU's with the Freescale ELBC > nand controller, in my case a MPC8313, and large page NAND (i.e.pagesize = > 2048+64 bytes, blocksize = 128k): > > In nand_spl/nand_boot_fsl_elbc.c

[U-Boot] [Nios] Pull Request

2010-04-16 Thread Scott McNutt
Wolfgang, These changes also fix a broken build for all nios2 boards due to a typographic error introduced in the directory restructuring. The following changes since commit 2a72e9ed18d2164eb7fe569119342eb631b568da: Stefan Roese (1): ppc4xx: Add option for PPC440SPe ports without old

[U-Boot] [PATCH] nios2: Move individual board linker scripts to common script in cpu tree.

2010-04-16 Thread Scott McNutt
Signed-off-by: Scott McNutt --- arch/nios2/config.mk|2 + arch/nios2/cpu/u-boot.lds | 135 ++ board/altera/ep1c20/u-boot.lds | 135 -- board/altera/ep1s10/u-boot.lds | 135 --

Re: [U-Boot] NAND ECC mixup?

2010-04-16 Thread Gary Thomas
On 04/16/2010 09:55 AM, Gary Thomas wrote: > I'm having trouble with NAND ECC on my OMAP/3530 platform. It > seems that U-Boot and Linux don't agree on the ECC patterns for > a given set of data. > > In particular, if I create the U-Boot environment in NAND, then > update it via fw_setconfig in Li

Re: [U-Boot] [PATCH 3/3] mpc83xx: turn on icache in core initialization to improve u-boot boot time

2010-04-16 Thread Michael Zaidman
On Fri, Apr 16, 2010 at 1:36 AM, Kim Phillips wrote: > before, MPC8349ITX boots u-boot in 4.3sec: [snip] > after, MPC8349ITX boots u-boot in 3.0sec: Thanks for the good news! Memory POST test on my board with icach disabled was lasting for hours until I enabled icach locally before and disabled i

[U-Boot] [PATCH v3] Move arch/ppc to arch/powerpc

2010-04-16 Thread Stefan Roese
Because of the size of this patch (approx. 350k), here the link to it: http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0001-Move-arch-ppc-to-arch-powerpc-v3.patch And here the patch description and statistics: [PATCH v3] Move arch/ppc to arch/powerpc As discussed on the list, move "arch/ppc"

Re: [U-Boot] [PATCH] POST: Added ECC memory test for mpc83xx.

2010-04-16 Thread Michael Zaidman
On Fri, Apr 16, 2010 at 1:25 AM, Kim Phillips wrote: > On Thu, 8 Apr 2010 10:37:08 +0200 > Joakim Tjernlund wrote: > >> Kim Phillips wrote on 2010-04-08 10:27:03: >> > >> > The documentation is confusing: the e300c2 has its FPU chopped off - >> > the FP registers are simply not there. >> > >> >

[U-Boot] NAND ECC mixup?

2010-04-16 Thread Gary Thomas
I'm having trouble with NAND ECC on my OMAP/3530 platform. It seems that U-Boot and Linux don't agree on the ECC patterns for a given set of data. In particular, if I create the U-Boot environment in NAND, then update it via fw_setconfig in Linux, U-Boot is no longer happy with the ECC bits. I n

Re: [U-Boot] [PATCH v2] Move arch/ppc to arch/powerpc

2010-04-16 Thread Stefan Roese
Hi Anatolij, On Friday 16 April 2010 16:35:44 Anatolij Gustschin wrote: > > [PATCH v2] Move arch/ppc to arch/powerpc > > > > As discussed on the list, move "arch/ppc" to "arch/powerpc" to > > better match the Linux directory structure. > > > > Please note that this patch also changes the "ppc" t

Re: [U-Boot] Does U-boot supports Spansion S29GL512P NOR Flash?

2010-04-16 Thread prakash bedge
Hi, I removed the changes as you suggested and now it is working without modifying the code. Only thing is that I had to add a flag *CONFIG_SYS_WRITE_SWAPPED_DATA* and it works. But here I am getting the error in erasing the sector as well in saveenv. U-Boot $ *saveenv* Saving Environme

Re: [U-Boot] [PATCH v2] Move arch/ppc to arch/powerpc

2010-04-16 Thread Anatolij Gustschin
Hi Stefan, On Fri, 16 Apr 2010 14:37:52 +0200 Stefan Roese wrote: ... > [PATCH v2] Move arch/ppc to arch/powerpc > > As discussed on the list, move "arch/ppc" to "arch/powerpc" to > better match the Linux directory structure. > > Please note that this patch also changes the "ppc" target in > MA

Re: [U-Boot] [PATCH v2] Move arch/ppc to arch/powerpc

2010-04-16 Thread Kumar Gala
On Apr 16, 2010, at 8:59 AM, Peter Tyser wrote: > >> [PATCH v2] Move arch/ppc to arch/powerpc >> >> As discussed on the list, move "arch/ppc" to "arch/powerpc" to >> better match the Linux directory structure. >> >> Please note that this patch also changes the "ppc" target in >> MAKEALL to "po

Re: [U-Boot] [PATCH v2] Move arch/ppc to arch/powerpc

2010-04-16 Thread Peter Tyser
> [PATCH v2] Move arch/ppc to arch/powerpc > > As discussed on the list, move "arch/ppc" to "arch/powerpc" to > better match the Linux directory structure. > > Please note that this patch also changes the "ppc" target in > MAKEALL to "powerpc" to match this new infrastructure. But "ppc" > is kep

Re: [U-Boot] [STATUS] Heads-up: Reorganize directory structure

2010-04-16 Thread Wolfgang Denk
Dear Graeme Russ, In message you wrote: > > The problem with the current structure is that there is no way of > knowing which $BOARD in board/ uses a particular CPU or SOC. Therefore So look it up in the Makefile, or in MAKEALL - what's exactly the problem? > Exactly - Any code that exists und

[U-Boot] [PATCH v2] Move arch/ppc to arch/powerpc

2010-04-16 Thread Stefan Roese
Because of the size of this patch (approx. 350k), here the link to it: http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0001-Move-arch-ppc-to-arch-powerpc.patch And here the patch description and statistics: [PATCH v2] Move arch/ppc to arch/powerpc As discussed on the list, move "arch/ppc" to

Re: [U-Boot] [STATUS] Heads-up: Reorganize directory structure

2010-04-16 Thread Graeme Russ
On Fri, Apr 16, 2010 at 5:41 PM, Wolfgang Denk wrote: > Dear Graeme Russ, > > In message > you wrote: >> >> And then there is also >> >> board/ >> $BOARDC >> $BOARDD >> >> I've never liked code existing on multiple depths like this. Maybe we move >> towards: > > But we're just about adding e

[U-Boot] NAND bootloader, SPL<->NUB offset for large page NAND

2010-04-16 Thread Peter Vollmer
Hi, I have a question regarding the usage of CPU's with the Freescale ELBC nand controller, in my case a MPC8313, and large page NAND (i.e.pagesize = 2048+64 bytes, blocksize = 128k): In nand_spl/nand_boot_fsl_elbc.c , static void nand_load(unsigned int offs, int uboot_size, uchar *dst) fir

Re: [U-Boot] [PATCH] Move arch/ppc to arch/powerpc

2010-04-16 Thread Detlev Zundel
Hi Stefan, > Because of the size of this patch (approx. 350k), here the link > to it: > > http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0001-Move-arch-ppc-to-arch-powerpc.patch > > And here the patch description and statistics: > > > [PATCH] Move arch/ppc to arch/powerpc > > As discussed on the

[U-Boot] [PATCH] microblaze: Consolidate cache code

2010-04-16 Thread monstr
From: Michal Simek Merge cpu and lib cache code. Flush cache before disabling. Signed-off-by: Michal Simek --- arch/microblaze/cpu/cache.c | 28 +++ arch/microblaze/lib/Makefile |1 - arch/microblaze/lib/cache.c | 43 --

Re: [U-Boot] [PATCH v2] nios2: add nios2-generic board

2010-04-16 Thread Michal Simek
Thomas Chou wrote: > This is a generic approach to port u-boot for nios2 boards. > You may find the usage of this approach on the nioswiki, > http://nioswiki.com/DasUBoot > > A fpga parameter file, which contains base address information > and drivers declaration, is generated from Altera's hardwa

[U-Boot] Microblaze updates

2010-04-16 Thread monstr
Hi All, here is bunch of microblaze patches. Thanks for your review, Micha ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 3/8] microblaze: Move FSL initialization to board.c

2010-04-16 Thread monstr
From: Michal Simek Move FSL out of interrupt controller. Signed-off-by: Michal Simek --- arch/microblaze/cpu/interrupts.c |7 --- arch/microblaze/lib/board.c|7 ++- .../xilinx/microblaze-generic/microblaze-generic.c |7 +++ 3 fi

[U-Boot] [PATCH 1/8] microblaze: Fix irq.S code

2010-04-16 Thread monstr
From: Michal Simek It is ancient code. There is possible to save several instructions just if we use offset instead of addik Signed-off-by: Michal Simek --- arch/microblaze/cpu/irq.S | 182 +++- 1 files changed, 62 insertions(+), 120 deletions(-) diff

[U-Boot] [PATCH 2/8] microblaze: Move timer initialization to board.c

2010-04-16 Thread monstr
From: Michal Simek I would like to handle case where system doesn't contain intc that's why I need timer initialization out of intc code. Signed-off-by: Michal Simek --- arch/microblaze/cpu/interrupts.c |6 -- arch/microblaze/cpu/timer.c |3 ++- arch/microblaze/lib/board.c

[U-Boot] [PATCH 7/8] microblaze: Support system with WB cache

2010-04-16 Thread monstr
From: Michal Simek WB cache use different instruction that WT cache but the major code is that same. That means that wdc.flush on system with WT cache do the same thing as before. You need newer toolchain with wdc.flush support. Signed-off-by: Michal Simek --- arch/microblaze/lib/cache.c |

[U-Boot] [PATCH 4/8] microblaze: Fix interrupt handler code

2010-04-16 Thread monstr
From: Michal Simek It is better to read ivr and react on it than do long parsing from two regs. Interrupt controller returs actual irq number. Signed-off-by: Michal Simek --- arch/microblaze/cpu/interrupts.c | 28 +++- 1 files changed, 11 insertions(+), 17 deletions(-

[U-Boot] [PATCH 6/8] microblaze: Change initialization sequence

2010-04-16 Thread monstr
From: Michal Simek env_relocation should be called first. Added stdio_init too. Signed-off-by: Michal Simek --- arch/microblaze/lib/board.c | 14 +++--- 1 files changed, 11 insertions(+), 3 deletions(-) diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index 41a

[U-Boot] [PATCH 8/8] microblaze: Flush cache before jumping to kernel

2010-04-16 Thread monstr
From: Michal Simek There is used max cache size on system which doesn't define cache size. Signed-off-by: Michal Simek --- arch/microblaze/lib/bootm.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/microblaze/lib/bootm.c b/arch/microblaze/lib/bootm.c index

[U-Boot] [PATCH 5/8] microblaze: Change cache report messages

2010-04-16 Thread monstr
From: Michal Simek It is more accurate to show that caches are OFF instead of FAIL. Signed-off-by: Michal Simek --- arch/microblaze/lib/board.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/microblaze/lib/board.c b/arch/microblaze/lib/board.c index 1d44a64..4

Re: [U-Boot] [PATCH] microblaze: Add FDT support

2010-04-16 Thread Michal Simek
Arun Bhanu wrote: > This patch adds FDT (flattened device tree) support to microblaze arch. > > Tested with Linux arch/microblaze kernels with and without compiled in > FDT on Xilinx ML506 board. > > Signed-off-by: Arun Bhanu Applied. Thanks, Michal > --- > arch/microblaze/lib/bootm.c | 39

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

2010-04-16 Thread Wolfgang Denk
Dear Stefan Roese, In message <201004141036.29317...@denx.de> you wrote: > The following changes since commit 8d321b81c5441db93425ee37cb79cc51d9ce2fb0: > Peter Tyser (1): > Update README to reflect new directory structure > > are available in the git repository at: > > git://www.denx

Re: [U-Boot] [STATUS] Heads-up: Reorganize directory structure

2010-04-16 Thread Wolfgang Denk
Dear Alessandro Rubini, In message <20100416065842.ga21...@morgana.gnudd.com> you wrote: > > > I really like this structure, particularly if the code under > > $VENDOR/[common, include, lib] is arch independent. > > Yes, that would be good, if it was a common case. However, > arch-independent co

Re: [U-Boot] [STATUS] Heads-up: Reorganize directory structure

2010-04-16 Thread Wolfgang Denk
Dear Graeme Russ, In message you wrote: > > And then there is also > > board/ > $BOARDC > $BOARDD > > I've never liked code existing on multiple depths like this. Maybe we move > towards: But we're just about adding exactly such multi-depth structures to the CPU directory (see recent disc

Re: [U-Boot] [PATCH] Move arch/ppc to arch/powerpc

2010-04-16 Thread Stefan Roese
Hi Wolfgang, On Friday 16 April 2010 09:33:06 Wolfgang Denk wrote: > > [PATCH] Move arch/ppc to arch/powerpc > > > > As discussed on the list, move "arch/ppc" to "arch/powerpc" to > > better match the Linux directory structure. > > > > Please note that this patch also changes the "ppc" target in

Re: [U-Boot] [PATCH] Move arch/ppc to arch/powerpc

2010-04-16 Thread Wolfgang Denk
Dear Stefan Roese, In message <201004160921.44401...@denx.de> you wrote: > Because of the size of this patch (approx. 350k), here the link > to it: > > http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0001-Move-arch-ppc-to-arch-powerpc.patch > > And here the patch description and statistics: >

[U-Boot] [PATCH] Move arch/ppc to arch/powerpc

2010-04-16 Thread Stefan Roese
Because of the size of this patch (approx. 350k), here the link to it: http://www.denx.de/wiki/pub/U-Boot/TooBigPatches/0001-Move-arch-ppc-to-arch-powerpc.patch And here the patch description and statistics: [PATCH] Move arch/ppc to arch/powerpc As discussed on the list, move "arch/ppc" to "ar