Re: [U-Boot] [PATCH 12/26] ARM: add relocation support

2010-09-17 Thread Albert ARIBAUD
Le 18/09/2010 00:42, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4c93e978.9010...@free.fr> you wrote: >> >>> u-boot.map for this board shows: >>> >>> ... >>>arch/powerpc/lib/cache.o(.text) >>>.text 0x40007c20 0x64 arch/powerpc/lib/cache.o >>>

Re: [U-Boot] [PATCH 12/26 v2][NEXT] ARM: add relocation support

2010-09-17 Thread Albert ARIBAUD
Le 17/09/2010 21:22, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4c939add.5090...@free.fr> you wrote: >> > init_fnc_t *init_sequence[] = { init_sequence is a constant, not an initialized variable, and thus should have the 'const' qualifier. >>> >>> Actually

Re: [U-Boot] [PATCH 12/26] ARM: add relocation support

2010-09-17 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4c93e978.9010...@free.fr> you wrote: > > > u-boot.map for this board shows: > > > > ... > > arch/powerpc/lib/cache.o(.text) > > .text 0x40007c20 0x64 arch/powerpc/lib/cache.o > > 0x40007c20flush_cache > >

Re: [U-Boot] [PATCH 12/26] ARM: add relocation support

2010-09-17 Thread Albert ARIBAUD
Le 17/09/2010 21:04, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, >> Reminder: here we're talking about fitting a>64 KB u-boot in flash, >> with _start at the reset vector (0x on orion5x), without wasting >> the space above the reset vector (64 KB on orion5x) and with minimal >> waste in

Re: [U-Boot] [PATCH 14/26 v2][NEXT] ARM: implement relocation for ARM V7 (OMAP)

2010-09-17 Thread Wolfgang Denk
Dear John, In message you wrote: > > I noticed that when I wrote to ram in the range where u-boot runs > before being relocated sometimes the board hangs. I then narrowed it Stupid question: how did you write to that RAM location? And why? The RAM is not supposed to be accessable before relo

[U-Boot] [PATCH 3/5] mpc8308: add SICR{L,H} fields definitions

2010-09-17 Thread Ilya Yanok
This patch adds defines to set supported fields in System I/O Configuration Registers High and Low on Freescale MPC8308 CPU. Signed-off-by: Ilya Yanok --- include/mpc83xx.h | 48 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/in

[U-Boot] [PATCH 5/5] mpc8308_p1m: support for MPC8308 P1M board

2010-09-17 Thread Ilya Yanok
This patch provides support for MPC8308 P1M board with the following set of features: Dual UART is supported NOR flash is supported Both TSEC Ethernet controllers are supported PCI Express initialization is supported Both I2C controllers are supported Signed-off-by: Ilya Yanok --- MAINTAINE

[U-Boot] [PATCH 4/5] MPC8308RDB: various clean ups

2010-09-17 Thread Ilya Yanok
This patch cleans up the Freescale MPC8308RDB Development board support. Things fixed: - Removed unused PCIE2 definitions from configuration - SICR{L,H} defines used for System I/O Configuration Registers values instead of hardcoding - CONFIG_SYS_SCCR_PCIEXP1CM used to enable PCIE clock inste

[U-Boot] [PATCH 2/5] mpc83xx: add support for setting PCIE clocks

2010-09-17 Thread Ilya Yanok
This patch adds support for setting PCIE clocks in cpu_init.c by providing CONFIG_SYS_SCCR_PCIEXP{1,2} in configuration. Signed-off-by: Ilya Yanok --- arch/powerpc/cpu/mpc83xx/cpu_init.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/powerpc/cpu/mpc83xx

[U-Boot] [PATCH 1/5] mpc83xx/pcie: make it compile with PCIE2 unconfigured

2010-09-17 Thread Ilya Yanok
MPC8308 has only one PCIE host controller so we want it to compile without CONFIG_SYS_PCIE2_CFG_{BASE,SIZE} defined. Signed-off-by: Ilya Yanok --- arch/powerpc/cpu/mpc83xx/pcie.c | 38 +- 1 files changed, 25 insertions(+), 13 deletions(-) diff --git a/arch/

Re: [U-Boot] [PATCH 14/26 v2][NEXT] ARM: implement relocation for ARM V7 (OMAP)

2010-09-17 Thread John Rigby
On Fri, Sep 17, 2010 at 5:10 AM, Heiko Schocher wrote: > Change the implementation for ARM V7 to relocate the code to an > arbitrary address in RAM. > > Adapt the Beagle board (Cortex A8) to test the changes. > Heiko, I'm running -next on a Beagle board (first version of arm reloc not v2). I no

Re: [U-Boot] [PATCH 1/5] mpc83xx/pcie: make it compile with PCIE2 unconfigured

2010-09-17 Thread Ilya Yanok
Hi Kim, On 17.09.2010 03:54, Kim Phillips wrote: >> +#if defined(CONFIG_SYS_PCIE2_CFG_BASE)&& defined(CONFIG_SYS_PCIE2_SIZE) >> #define PCIE_MAX_BUSES 2 >> +#else >> +#define PCIE_MAX_BUSES 1 >> +#endif >> > Technically this should be an indirect function of MPC8308, but what's > the prob

[U-Boot] [PATCH v2] README: Add new NAND env features

2010-09-17 Thread Scott Wood
CONFIG_ENV_SIZE does not need block alignment. Document CONFIG_ENV_RANGE and CONFIG_ENV_OFFSET_OOB. Signed-off-by: Scott Wood --- CONFIG_ENV_SIZE doesn't even need page alignment. README | 32 +++- 1 files changed, 23 insertions(+), 9 deletions(-) diff --git a/RE

Re: [U-Boot] [PATCH] README: Add new NAND env features

2010-09-17 Thread Scott Wood
On Fri, 17 Sep 2010 22:47:04 +0200 Wolfgang Denk wrote: > For example, on NOR flash we might see an erase block size of 256 KiB > (resulting in a "#define CONFIG_ENV_SECT_SIZE (256 << 10)" or > similar). But normally we don't need so much space for the > environment, so we set CONFIG_ENV_SIZE to

Re: [U-Boot] [PATCH] README: Add new NAND env features

2010-09-17 Thread Wolfgang Denk
Dear Scott Wood, In message <20100917194327.ga17...@udp111988uds.am.freescale.net> you wrote: > CONFIG_ENV_SIZE only needs page alignment, not block > > Document CONFIG_ENV_RANGE and CONFIG_ENV_OFFSET_OOB. I appreciate your efforts, but I think we should also fix the code. For me it seems impor

Re: [U-Boot] [PATCH] README: Add new NAND env features

2010-09-17 Thread Ben Gardiner
On Fri, Sep 17, 2010 at 3:43 PM, Scott Wood wrote: > CONFIG_ENV_SIZE only needs page alignment, not block > > Document CONFIG_ENV_RANGE and CONFIG_ENV_OFFSET_OOB. > > Signed-off-by: Scott Wood > +       - CONFIG_ENV_OFFSET_OOB (optional): > + > +         Enables support for dynamically retrievin

[U-Boot] [PATCH] README: Add new NAND env features

2010-09-17 Thread Scott Wood
CONFIG_ENV_SIZE only needs page alignment, not block Document CONFIG_ENV_RANGE and CONFIG_ENV_OFFSET_OOB. Signed-off-by: Scott Wood --- README | 22 +++--- 1 files changed, 19 insertions(+), 3 deletions(-) diff --git a/README b/README index aa11c37..4d95a8b 100644 --- a/READM

Re: [U-Boot] [PATCH 12/26 v2][NEXT] ARM: add relocation support

2010-09-17 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4c939add.5090...@free.fr> you wrote: > > >>>init_fnc_t *init_sequence[] = { > >> > >> init_sequence is a constant, not an initialized variable, and thus > >> should have the 'const' qualifier. > > > > Actually it _is_ an initialized variable (which still may ta

Re: [U-Boot] [u-boot-release] [PATCH] [v3] p1022ds: use weak CFI flash accessorswhen DIU is enabled

2010-09-17 Thread Scott Wood
On Thu, 16 Sep 2010 19:51:33 -0700 Tabi Timur-B04825 wrote: > Jaggi Manish-B10520 wrote: > > Most of the read/write functions do this way > > 0:+ int sw = set_mux_to_lbc(); > > 1:+ > > 2:+ ret = __raw_readl(addr); > > 3:+ if (sw) > > 4:+ set_mux_to_diu(); > > > > c

Re: [U-Boot] [PATCH 12/26] ARM: add relocation support

2010-09-17 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4c9399a7.5020...@free.fr> you wrote: > > Depends on the processor I guess; but still, my point is that "start at > any location" does not require that you detect whether you are fresh out > of reset or not. OK. I've repeated that often enough now, I will not ite

Re: [U-Boot] [PATCH v1] e300: increase CONFIG_SYS_BOOTMAPSZ to allow booting large kernels

2010-09-17 Thread Ira W. Snyder
On Fri, Sep 10, 2010 at 03:42:32PM -0700, Ira W. Snyder wrote: > Newer Linux kernels can overrun the initial memory window used for > booting with their BSS area. When this happens, they overwrite the FDT > and silently fail to boot. > > On e300 CPUs, the Linux kernel uses an initial BAT covering

Re: [U-Boot] RE : Davinci DM365 custom design : Problem when reading uBoot environment variables

2010-09-17 Thread Scott Wood
On Fri, 17 Sep 2010 16:32:04 +0200 Wolfgang Denk wrote: > Dear Reda MIMOUNE, > > In message <1918f436c366b34bb245dd28389e039453adfaa...@mars.easii.fr> you > wrote: > > > > reading the README file, here is what I read: > > > > Note: CFG_ENV_OFFSET and CFG_ENV_OFFSET_REDUND must be aligned

Re: [U-Boot] u-boot USB status

2010-09-17 Thread Marcel
Hi Damien, Thanks for the info. I will check it out. I'm also not sure if the SAM9 USB device support is available. I actually did some work a while ago to make USB work for the SAM9 but had to leave it in non-working condition at the time. If SAM9 USB is not supported yet, I guess I best fix m

Re: [U-Boot] U-boot support for Strataflash NOR

2010-09-17 Thread Stefan Roese
Hi Brent, On Friday 17 September 2010 16:40:13 Brent Bartson wrote: > Does u-boot support "Numonyx StrataFlash (P30)" NOR flash devices? I > understand it supports NOR flash but does that imply **all** NOR flash? Yes, U-Boot supports the StrataFlash chips via the common CFI flash driver. Many bo

[U-Boot] request for ubifs recovery support

2010-09-17 Thread Eric Cooper
I've configured my device (a Seagate DockStar) with just two NAND flash partitions -- one for u-boot and one for the Linux rootfs. This has some nice advantages: it maximizes the available flash space, and allows the Linux distribution's own tools to install new kernel and initramfs files without

Re: [U-Boot] [PATCH 12/26 v2][NEXT] ARM: add relocation support

2010-09-17 Thread Albert ARIBAUD
Le 17/09/2010 16:54, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4c936823.1060...@free.fr> you wrote: >> >>>init_fnc_t *init_sequence[] = { >> >> init_sequence is a constant, not an initialized variable, and thus >> should have the 'const' qualifier. > > Actually it _is_ an i

Re: [U-Boot] [PATCH 12/26] ARM: add relocation support

2010-09-17 Thread Albert ARIBAUD
Le 17/09/2010 16:52, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4c9365e7.50...@free.fr> you wrote: >> >>> - You need a way to detect if you are running on a virgin CPU fresh >>> out of reset or on a pre-initialized system. >>> - You need to isolate parts in the initializatio

Re: [U-Boot] RE : RE : Davinci DM365 custom design : Problem when reading uBoot environment variables

2010-09-17 Thread Wolfgang Denk
Dear Reda MIMOUNE, In message <1918f436c366b34bb245dd28389e039453ade8b...@mars.easii.fr> you wrote: > > No Davinci did not mess it up. I read 0x4000 (16KB) instead of 0x4 > (256KB). Actually I do think Davinci is messed up. Many boards define CONFIG_ENV_SIZE as 256 or 128 KiB, which makes n

Re: [U-Boot] [PATCH 12/26 v2][NEXT] ARM: add relocation support

2010-09-17 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4c936823.1060...@free.fr> you wrote: > > > init_fnc_t *init_sequence[] = { > > init_sequence is a constant, not an initialized variable, and thus > should have the 'const' qualifier. Actually it _is_ an initialized variable (which still may take a const). Best

Re: [U-Boot] [PATCH 12/26] ARM: add relocation support

2010-09-17 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4c9365e7.50...@free.fr> you wrote: > > > - You need a way to detect if you are running on a virgin CPU fresh > >out of reset or on a pre-initialized system. > > - You need to isolate parts in the initialization sequence that must > >not be repeated. > > - Y

Re: [U-Boot] RE : RE : Davinci DM365 custom design : Problem when reading uBoot environment variables

2010-09-17 Thread Reda MIMOUNE
Thank you No Davinci did not mess it up. I read 0x4000 (16KB) instead of 0x4 (256KB). So if I understand you I can swap the values in my first email: CONFIG_ENV_SECT_SIZE= 128KB CFG_ENV_SIZE= 16KB Thanks for help. Cordialement, Reda MIMOUNE Reda MIMOUNE Ingénieur Software S

[U-Boot] U-boot support for Strataflash NOR

2010-09-17 Thread Brent Bartson
Hello, Does u-boot support "Numonyx StrataFlash (P30)" NOR flash devices? I understand it supports NOR flash but does that imply **all** NOR flash? Regards, Brent Bartson __ Information from ESET NOD32 Antivirus, version of virus signature database 5458 (20100917) _

Re: [U-Boot] RE : RE : Davinci DM365 custom design : Problem when reading uBoot environment variables

2010-09-17 Thread Wolfgang Denk
Dear Reda MIMOUNE, In message <1918f436c366b34bb245dd28389e039453adfaa...@mars.easii.fr> you wrote: > > reading the README file, here is what I read: > > Note: CFG_ENV_OFFSET and CFG_ENV_OFFSET_REDUND must be aligned > to a block boundary, and CFG_ENV_SIZE must be a multiple of >

Re: [U-Boot] [PATCH 12/26 v2][NEXT] ARM: add relocation support

2010-09-17 Thread Albert ARIBAUD
Hi Heiko, Le 17/09/2010 13:10, Heiko Schocher a écrit : > diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c > index 54519b0..88c6427 100644 > --- a/arch/arm/lib/board.c > +++ b/arch/arm/lib/board.c > @@ -234,6 +246,7 @@ typedef int (init_fnc_t) (void); > > int print_cpuinfo (void); > >

Re: [U-Boot] [PATCH 12/26] ARM: add relocation support

2010-09-17 Thread Albert ARIBAUD
Le 17/09/2010 13:05, Wolfgang Denk a écrit : > Dear Albert ARIBAUD, > > In message<4c9307c4.40...@free.fr> you wrote: >> >> Things do change indeed, hence my attempt à 1) making sure I detect the >> change, 2) design things so that they are as resilient to change as >> possible. One example of suc

[U-Boot] RE : RE : Davinci DM365 custom design : Problem when reading uBoot environment variables

2010-09-17 Thread Reda MIMOUNE
Hello Wolfgang Thanks for answering. Good to see that mkimage would be ok with both versions. What do I fear ? I traditionnaly saw many problems of version coherence between binaries and tools generating them. Now I prefer to ask. Concerning the #define, I made a mistake when recopying. this s

Re: [U-Boot] RE : Davinci DM365 custom design : Problem when reading uBoot environment variables

2010-09-17 Thread Wolfgang Denk
Dear Reda MIMOUNE, In message <1918f436c366b34bb245dd28389e039453adfaa...@mars.easii.fr> you wrote: > > Have a question about it, if I upgrade to a new version of uBoot. Is it > guaranteed that mkimage > will wrap the uboot binary the same way. Is mkimage the same version ? Of course mkimage is

[U-Boot] [PATCH 12/26 v2][NEXT] ARM: add relocation support

2010-09-17 Thread Heiko Schocher
!! This breaks support for all arm boards !! To compile in old style, you must define CONFIG_SYS_ARM_WITHOUT_RELOC or you can compile with "CONFIG_SYS_ARM_WITHOUT_RELOC=1 ./MAKEALL board" !! This define will be removed soon, so convert your board to use relocation support Portions of this work w

[U-Boot] [PATCH 14/26 v2][NEXT] ARM: implement relocation for ARM V7 (OMAP)

2010-09-17 Thread Heiko Schocher
Change the implementation for ARM V7 to relocate the code to an arbitrary address in RAM. Adapt the Beagle board (Cortex A8) to test the changes. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/armv7/mx51/u-boot.lds | 14

[U-Boot] [PATCH 15/26 v2][NEXT] ARM: implement relocation for ARM926

2010-09-17 Thread Heiko Schocher
Change the implementation for arm926 to relocate the code to an arbitrary address in RAM. Adapt the TX25 (i.MX25), magnesium board to test the changes. On the tx25 board TEXT_BASE is set to the final relocation address to prevent one more copying of u-boot code when relocating. More info see: doc

[U-Boot] [PATCH 17/26 v2][NEXT] ARM: implement relocation for ARM925

2010-09-17 Thread Heiko Schocher
Change the implementation for arm925 to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/arm925t/start.S| 204 ++- arch/arm/cpu/arm92

[U-Boot] [PATCH 20/26 v2][NEXT] ARM: implement relocation for ixp

2010-09-17 Thread Heiko Schocher
Change the implementation for ixp to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/ixp/start.S| 280 +++ arch/arm/cpu/ixp/u-bo

[U-Boot] [PATCH 00/26 v2][NEXT] arm: add full relocation / cache support

2010-09-17 Thread Heiko Schocher
This patch series add full relocation and cache support for arm based boards. I test this for arm1136, arm_cortexa8 and arm926ejs based boards. Relocation support: !! This change is not compatible to old code !! If you want to compile in old style, you can set CONFIG_SYS_ARM_WITHOUT_RELOC but

[U-Boot] [PATCH 24/26 v2][NEXT] ARM: implement relocation for arm_intcm

2010-09-17 Thread Heiko Schocher
Change the implementation for arm_intcm to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/arm_intcm/start.S| 166 + arch/arm/cpu/ar

[U-Boot] [PATCH 18/26 v2][NEXT] ARM: implement relocation for ARM946

2010-09-17 Thread Heiko Schocher
Change the implementation for arm946 to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/arm946es/start.S| 168 +- arch/arm/cpu/arm94

[U-Boot] [PATCH 13/26 v2][NEXT] ARM: implement relocation for ARM11

2010-09-17 Thread Heiko Schocher
Change the implementation for ARM11 to relocate the code to an arbitrary address in RAM. Tested on the qong board. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/arm1136/start.S| 201 +

[U-Boot] [PATCH 19/26 v2][NEXT] ARM: implement relocation for pxa

2010-09-17 Thread Heiko Schocher
Change the implementation for pxa to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/pxa/start.S| 168 +++ arch/arm/cpu/pxa/u-bo

[U-Boot] [PATCH 09/26 v2][NEXT] disk/part.c: fix relocation fixup

2010-09-17 Thread Heiko Schocher
Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- disk/part.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/disk/part.c b/disk/part.c index 3ba88c7..8bcf2f8 100644 --- a/disk/part.c +++ b/disk/part.c @@

[U-Boot] [PATCH 25/26 v2][NEXT] ARM: implement relocation for arm720t

2010-09-17 Thread Heiko Schocher
Change the implementation for arm720t to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/arm720t/start.S| 170 +++ arch/arm/cpu/arm7

[U-Boot] [PATCH 08/26 v2][NEXT] i2c: fix command usage help

2010-09-17 Thread Heiko Schocher
Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- common/cmd_i2c.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c index 1283c82..a7b65ed 100644 --- a/common/cmd_i2c.c +++ b/co

[U-Boot] [PATCH 02/26 v2][NEXT] ARM: cp15: setup mmu and enable dcache

2010-09-17 Thread Heiko Schocher
This has been tested on at91sam9263 and STN8815. Again, I didn't check if it has bad effects on non-arm926 cores. Initially I had a "done" bit to only set up page tables at the beginning. However, since the aligmnent requirement was for the whole object file, this extra integer tool 16kB in BSS, s

[U-Boot] [PATCH 01/26 v2][NEXT] arm: get rid of bi_env

2010-09-17 Thread Heiko Schocher
bi_env is nowhere used, so delete it! Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher similar patch posted from Dirk Behme Tue Jul 27 18:36:09 CEST 2010 http://lists.denx.de/pipermail/u-boot/2010-July/074542.html so this patch maybe obsole

[U-Boot] [PATCH 22/26 v2][NEXT] ARM: implement relocation for s3c44b0

2010-09-17 Thread Heiko Schocher
Change the implementation for s3c44b0 to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/s3c44b0/start.S| 174 +++ arch/arm/cpu/s3c4

[U-Boot] [PATCH 26/26 v2][NEXT] ARM: implement relocation for arm1176

2010-09-17 Thread Heiko Schocher
Change the implementation for arm1176 to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/arm1176/start.S| 286 +++ arch/arm/cpu/arm1

[U-Boot] [PATCH 23/26 v2][NEXT] ARM: implement relocation for lh7a40x

2010-09-17 Thread Heiko Schocher
Change the implementation for lh7a40x to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/lh7a40x/start.S| 187 ++- arch/arm/cpu/lh7a

[U-Boot] [PATCH 16/26 v2][NEXT] ARM: implement relocation for ARM920

2010-09-17 Thread Heiko Schocher
Change the implementation for arm920 to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/arm920t/start.S| 225 ++- arch/arm/cpu/arm92

[U-Boot] [PATCH 06/26 v2][NEXT] relocation: fixup cmdtable

2010-09-17 Thread Heiko Schocher
fixup_cmdtable() did all work for fixing up the cmdtable, if CONFIG_RELOC_FIXUP_WORKS is not defined. CONFIG_RELOC_FIXUP_WORKS is missing for i386! I talked with Graeme Russ, and he will fix this soon. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko

[U-Boot] [PATCH 21/26 v2][NEXT] ARM: implement relocation for sa1100

2010-09-17 Thread Heiko Schocher
Change the implementation for sa1100 to relocate the code to an arbitrary address in RAM. Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/arm/cpu/sa1100/start.S| 162 arch/arm/cpu/sa110

[U-Boot] [PATCH 10/26 v2][NEXT] i2c, omap24xx: set bus_initialized only after relocation.

2010-09-17 Thread Heiko Schocher
Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- drivers/i2c/omap24xx_i2c.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c index a7c4e69..3febd1f 100644

[U-Boot] [PATCH 11/26 v2][NEXT] nand_boot_fsl_nfc.c: make "nfc" a "static const" pointer

2010-09-17 Thread Heiko Schocher
With -fPIC enabled, this variable needs an entry in the GOT, which causes the image size to exceed 2 KiB which is the maximum allowed for some systems. Making it a "static const" avoids the GOT entry and thus reduces the image size to < 2 KiB. Portions of this work were supported by funding from t

[U-Boot] [PATCH 04/26 v2][NEXT] ARM V7 (OMAP): add data cache support, test on Beagle board

2010-09-17 Thread Heiko Schocher
Add data cache support for ARM V7 systems. Used cache flush functions from linux:arch/arm/mm/cache-v7.S developed from Catalin Marinas. Enable "cache" command on Beagle board and test performance. Test 1: Loading 127 MB of data from NAND flash into RAM: Instr. Cacheoff on

[U-Boot] [PATCH 05/26 v2][NEXT] ARM (ARM11): add data cache support, test on Qong board

2010-09-17 Thread Heiko Schocher
Add data cache support for arm1136 systems. Enable "cache" command on Qong board and test performance. Test 1: Loading 127 MB of data from NAND flash into RAM: Instr. Cacheoff on on Data Cacheoff off on --

[U-Boot] [PATCH 07/26 v2][NEXT] common: move TOTAL_MALLOC_LEN to include/common.h

2010-09-17 Thread Heiko Schocher
Portions of this work were supported by funding from the CE Linux Forum. Signed-off-by: Heiko Schocher --- arch/m68k/lib/board.c|8 arch/mips/lib/board.c|8 arch/powerpc/lib/board.c | 10 -- include/common.h |9 + 4 files changed, 9

[U-Boot] [PATCH 03/26 v2][NEXT] ARM (ARM926ejs): add data cache support, tested on magnesium and tx25 board

2010-09-17 Thread Heiko Schocher
Enable "cache" command on tx25 and magnesium board and test performance. Test 1: Loading 127 MB of data from NAND flash into RAM: Instr. Cacheoff on on Data Cacheoff off on -- magnesium

Re: [U-Boot] [PATCH 12/26] ARM: add relocation support

2010-09-17 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4c9307c4.40...@free.fr> you wrote: > > Things do change indeed, hence my attempt à 1) making sure I detect the > change, 2) design things so that they are as resilient to change as > possible. One example of such a resilience is making sure the u-boot > code des

Re: [U-Boot] Multiple binaries built through u-boot source

2010-09-17 Thread Premi, Sanjeev
> -Original Message- > From: Mike Frysinger [mailto:vap...@gentoo.org] > Sent: Friday, September 17, 2010 12:02 AM > To: u-boot@lists.denx.de > Cc: Premi, Sanjeev; Kyungmin Park; Stefan Roese; Shiraz HASHIM > Subject: Re: [U-Boot] Multiple binaries built through u-boot source > > On Thurs

Re: [U-Boot] Multiple binaries built through u-boot source

2010-09-17 Thread Premi, Sanjeev
> -Original Message- > From: Scott Wood [mailto:scottw...@freescale.com] > Sent: Thursday, September 16, 2010 11:30 PM > To: Premi, Sanjeev > Cc: Kyungmin Park; Stefan Roese; u-boot@lists.denx.de; Shiraz HASHIM > Subject: Re: [U-Boot] Multiple binaries built through u-boot source > > On T

Re: [U-Boot] P4080 Reset Vector

2010-09-17 Thread Liu Dave-R63238
> It look same as other PQ2/3 which using BR0/OR0 to set boot vecror base address. > > just confirm, do you know CPU will read RCW data before it jump to 0x_FFFC? Yes. CPU reset module must fetch RCW and configure CPU itself. then reset to 0x_FFFC, it is also same as PQ3. Thanks, Dave

Re: [U-Boot] P4080 Reset Vector

2010-09-17 Thread Tony Wang
Liu Dave-R63238 freescale.com> writes: > > > For that reset address question, I think because p4080ds's FPGA can do > this address > > decode and map 0xefff to 0x setting by SW7, is it right? > > No. FPGA doesn't matter with it. > > The e500mc core boot start address(0x_FFFC) w

[U-Boot] RE : Davinci DM365 custom design : Problem when reading uBoot environment variables

2010-09-17 Thread Reda MIMOUNE
Hi Scott; Again thank you for the answer. >My expense request for a time machine was denied, so we can't go back >and put new features in old versions. :-) >Please upgrade, or backport the features yourself. Have a question about it, if I upgrade to a new version of uBoot. Is it guaranteed that