Because of the bss area is cleared after relocation, we've lost pointers.
This patch fixed it.
Signed-off-by: Minkyu Kang
Signed-off-by: Kyungmin Park
---
arch/arm/cpu/armv7/s5p-common/cpu_info.c |2 -
arch/arm/cpu/armv7/s5pc1xx/clock.c | 38 ++---
arch/arm/i
Le 26/12/2010 22:09, Marcel a écrit :
> relocation Offset is: 0409e000
>
> How is 0409e000 near top of my RAM ?
> How does it get this value ?
This is an offset, a difference of addresses, not an absolute address.
And since it is rather big, it means the original and relocated
locations are far
On 12/20/2010 07:52 AM, John Rigby wrote:
> Jason:
> No one is arguing about the use the plugin feature. The objection is
> to how you are getting the plugin bits into the u-boot image. You
> should use a tool to prepend the plugins to the u-boot.bin file in a
> similar way to how mkimage is use
On 12/22/2010 02:23 PM, Jason Liu wrote:
> Add initial support for Freescale MX53 processor,
>
> - Add the iomux support and the pin definition,
> - Add the regs definition, clean up some unused def from mx51,
> - Add the low level init support, make use the freq input of setup_pll macro
>
> ---
On 12/22/2010 02:23 PM, Jason Liu wrote:
> Add initial support for MX53EVK board support.
> FEC, SD/MMC, UART, I2C, have been support.
>
> Signed-off-by: Jason Liu
>
> ---
> Changes for v2:
> -Address the comments from Stefano, Albert and Wolfgang,
> -remove the ivt.S file and use imxima
On 12/22/2010 02:23 PM, Jason Liu wrote:
> This patch add mxc_gpio support for Freescale MX53 processor
>
> Signed-off-by: Jason Liu
> ---
> drivers/gpio/mxc_gpio.c |9 +++--
> 1 files changed, 7 insertions(+), 2 deletions(-)
>
Hi Jason,
Please move this patch in the same patchset to
There is possibility that pointers set to NULL before relocation.
In this case, system is hang, because of r0 is invalid location in RAM.
Signed-off-by: Minkyu Kang
---
arch/arm/cpu/armv7/start.S |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/arch/arm/cpu/armv7/start.
On 12/22/2010 02:23 PM, Jason Liu wrote:
> This patch add I2C interface for fsl_pmic driver support
>
> +#ifdef CONFIG_FSL_PMIC_I2C
> +#include
> +static int init_done;
> +
> +u32 pmic_reg(u32 reg, u32 val, u32 write)
> +{
> + unsigned char buf[4] = { 0 };
> + u32 ret_val = 0;
> +
> +
Dear Nobuhiro Iwamatsu,
In message <1293433224-17341-1-git-send-email-iwama...@nigauri.org> you wrote:
> This move linker option used by the last of u-boot in LDFLAGS_u-boot variable.
> And the option to use in ld uses LDFLAGS variable.
Can you please explain why this would be needed?
> -LDFLAGS
On 12/22/2010 02:23 PM, Jason Liu wrote:
> This patch add the MX53 boot image support
>
> This patch has been tested on Freescale MX53EVK board.
>
> Signed-off-by: Jason Liu
> ---
> board/freescale/mx53evk/config.mk| 25
> board/freescale/mx53evk/imximage.cfg | 108
> ++
Dear Minkyu Kang,
On Monday 27 December 2010 12:55 PM, Minkyu Kang wrote:
< snip >
>> +
>> +#ifndef CONFIG_SYS_NO_DCACHE
>> +void v7_setup_outer_cache_ops(void)
>> +{
>> +#ifndef CONFIG_L2_OFF
>> + v7_outer_cache.enable = ca8_l2_cache_enable;
>> + v7_outer_cache.disable = ca8_l2_cache_
Hello.
On 26-12-2010 5:41, Yanjun Yang wrote:
> The lan91c96_detect_chip routine is not correct according
> to the manual.
> Signed-off-by: YanJun Yang
[...]
> diff --git a/drivers/net/lan91c96.c b/drivers/net/lan91c96.c
> index bd6966e..2550aa2 100644
> --- a/drivers/net/lan91c96.c
> +++ b/dri
On 12/23/2010 12:13 PM, Jason Liu wrote:
> The early bootup information is not print out due to
> the UART pin iomux not set up correctly before board_init
>
> Add the board_early_init_f function and enable the
> CONFIG_BOARD_EARLY_INIT_F. Move the UART pin setting
> from board_init to board_early
Hello.
On 27-12-2010 5:46, Thomas Chou wrote:
> Signed-off-by: Thomas Chou
[...]
> diff --git a/arch/nios2/include/asm/gpio.h b/arch/nios2/include/asm/gpio.h
> index 36a7132..4b21c8f 100644
> --- a/arch/nios2/include/asm/gpio.h
> +++ b/arch/nios2/include/asm/gpio.h
> @@ -52,6 +52,11 @@ static in
Hello.
On 27-12-2010 7:48, Mike Frysinger wrote:
> The recent global data changes (making the size autogenerated) broke the
> board info handling on Blackfin ports as we were lying and lumping the
> bd_t size in with the gd_t size. So use the new dedicated bd_t size to
> setup its own address in
Dear Alex Dubov,
In message <25288.34605...@web37607.mail.mud.yahoo.com> you wrote:
> Mpq101 is a RapidIO development board in AMC form factor, featuring MPC8548
> processor, 512MB of hardwired DDR2 RAM and 128MB of hardwired NAND flash
> memory. USB controller is available, but not presently enab
On 12/27/2010 07:35 PM, Sergei Shtylyov wrote:
> Hello.
>
> On 27-12-2010 5:46, Thomas Chou wrote:
>
>> Signed-off-by: Thomas Chou
> [...]
>
>> diff --git a/arch/nios2/include/asm/gpio.h
>> b/arch/nios2/include/asm/gpio.h
>> index 36a7132..4b21c8f 100644
>> --- a/arch/nios2/include/asm/gpio.h
>> ++
On Monday, December 27, 2010 06:41:47 Sergei Shtylyov wrote:
> On 27-12-2010 7:48, Mike Frysinger wrote:
> > + bd = (bd_t *) (CONFIG_SYS_BD_INFO_ADDR);
>
> Parens not needed around CONFIG_SYS_BD_INFO_ADDR.
it isnt a problem to have the parens, and it keeps things sane if someone does
somet
On Monday, December 27, 2010 05:47:54 Wolfgang Denk wrote:
> Nobuhiro Iwamatsu wrote:
> > This move linker option used by the last of u-boot in LDFLAGS_u-boot
> > variable. And the option to use in ld uses LDFLAGS variable.
>
> Can you please explain why this would be needed?
he explained in the
Hi,
I found that config_auto_complete feature have no correct functional
since this version (version v2010.09 is ok).
Some part of my board's header file:
...
#define CONFIG_AUTO_COMPLETE
#define CONFIG_SYS_HUSH_PARSER
#define CONFIG_EXTRA_ENV_SETTING \
"_kernel=tf uImage; er FE00 +$filesize;
Dear Mike Frysinger,
In message <201012271146.22205.vap...@gentoo.org> you wrote:
>
> > Nobuhiro Iwamatsu wrote:
> > > This move linker option used by the last of u-boot in LDFLAGS_u-boot
> > > variable. And the option to use in ld uses LDFLAGS variable.
> >
> > Can you please explain why this wo
Dear =?KOI8-R?B?7cnIwcnM?=,
In message you
wrote:
>
> I found that config_auto_complete feature have no correct functional
> since this version (version v2010.09 is ok).
...
> Can anyone confirm this malfunction?
It is expected behaviour. See TODO item 2 for commit ea882ba, and
not-yet-added p
On Monday, December 27, 2010 13:58:08 Wolfgang Denk wrote:
> Mike Frysinger wrote:
> > > Nobuhiro Iwamatsu wrote:
> > > > This move linker option used by the last of u-boot in LDFLAGS_u-boot
> > > > variable. And the option to use in ld uses LDFLAGS variable.
> > >
> > > Can you please explain why
Dear Mike Frysinger,
In message <201012271511.54110.vap...@gentoo.org> you wrote:
>
> > > > Nobuhiro Iwamatsu wrote:
> > > > > This move linker option used by the last of u-boot in LDFLAGS_u-boot
> > > > > variable. And the option to use in ld uses LDFLAGS variable.
> > > >
> > > > Can you please
As implemented now the timer used to implement __udelay counts
to 0x and then gets stuck there because the the programmed
reload value is 0x. This value is not only wrong but
illegal according to the reference manual.
One can reproduce the bug by leaving a board at the u-boot prom
This patch series adds the ability to boot a beagle board from
nand without x-loader. A future addition will add mmc boot
support.
John Rigby (8):
NAND: nand_spl/nand_boot.c: add 16-bit and readid support
armv7: add nand_spl support
OMAP3: and nand_spl support
OMAP3: add dram timing con
Some platforms read the nand type to make configuration
choices. For example, some versions of OMAP3 Beagle use
the NAND type as a hint of the DRAM type.
Turn readid support on with CONFIG_SYS_NAND_BOOT_READID
Add 16-bit nand support.
Turn it on with CONFIG_SYS_NAND_BUSWIDTH_16
Signed-off-by: J
Signed-off-by: John Rigby
---
arch/arm/cpu/armv7/start.S | 45 +++-
1 files changed, 44 insertions(+), 1 deletions(-)
diff --git a/arch/arm/cpu/armv7/start.S b/arch/arm/cpu/armv7/start.S
index 684f2d2..17b86e1 100644
--- a/arch/arm/cpu/armv7/start.S
+++
Signed-off-by: John Rigby
---
arch/arm/cpu/armv7/omap3/board.c |4
arch/arm/cpu/armv7/omap3/clock.c |3 +++
arch/arm/cpu/armv7/omap3/gpio.c |5 +
arch/arm/cpu/armv7/omap3/lowlevel_init.S |2 +-
arch/arm/cpu/armv7/omap3/mem.c |2 ++
a
Signed-off-by: John Rigby
---
arch/arm/include/asm/arch-omap3/mem.h | 45 +
1 files changed, 45 insertions(+), 0 deletions(-)
diff --git a/arch/arm/include/asm/arch-omap3/mem.h
b/arch/arm/include/asm/arch-omap3/mem.h
index f165949..970e8b4 100644
--- a/arch/arm
Signed-off-by: John Rigby
CC: Scott Wood
---
drivers/mtd/nand/omap_gpmc.c | 36
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/omap_gpmc.c b/drivers/mtd/nand/omap_gpmc.c
index 99b9cef..4c76544 100644
--- a/drivers/mtd/nand/
Signed-off-by: John Rigby
---
board/ti/beagle/beagle_nand_spl.c | 250 +++
boards.cfg |1 +
include/configs/omap3_beagle.h | 39 ++
nand_spl/board/ti/beagle/Makefile | 138 +++
nand_spl/board/ti/beagle/u
Signed-off-by: John Rigby
---
common/image.c|1 +
include/image.h |1 +
tools/Makefile|2 +
tools/mkimage.c |2 +
tools/omapimage.c | 226 +
tools/omapimage.h | 50
6 files changed, 282 insertions(+),
Signed-off-by: John Rigby
---
Makefile |9 +
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
index 9055028..baf11b3 100644
--- a/Makefile
+++ b/Makefile
@@ -289,8 +289,13 @@ LDPPFLAGS += \
ifeq ($(CONFIG_NAND_U_BOOT),y)
NAND_SPL = nand_spl
+ifeq
On Monday, December 27, 2010 18:23:17 Wolfgang Denk wrote:
> And I see no trace of any $(XFLAGS_$(@F)) there.
it's fairly obvious that the "X" is for you to replace as a matching char
-mike
signature.asc
Description: This is a digitally signed message part.
__
> > +phys_size_t
> > +initdram (int board_type)
> > +{
> ...
> > + dram_size = setup_ddr_tlbs(1ull
> << (CONFIG_SYS_SDRAM_SIZE_LOG - 20));
> > +
> > + puts(" DDR: ");
> > +
> > + return dram_size << 20;
>
> You should use get_ram_size().
I still need to call setup_ddr_tlbs because get
> > +CONFIG_SYS_TEXT_BASE = 0xfffc0800
> > +LDFLAGS +=
> --section-start=.ppcenv=$(CONFIG_ENV_ADDR)
>
> Please mode defines to board config file and get rid of
> config.mk
And another question: how am I supposed to specify linker flags in the
board config file (I suppose, you mean boards.cfg). Th
Hello John,
On Tuesday 28 December 2010 06:17 AM, John Rigby wrote:
> This patch series adds the ability to boot a beagle board from
> nand without x-loader. A future addition will add mmc boot
> support.
I had been working on something similar for OMAP4. Basically, I have an
SPL ready for MMC o
Some platform's esdhc pins don't share with other function.
The eSDHC shouldn't be disabled, even if "esdhc" isn't defined
in hwconfig env variable.
Use CONFIG_FSL_ESDHC_PIN_MUX to fix this problem.
The problem was introduced by this commit:
commit b33433a63fe08c9e723ea15a7c7c7143bf527c6d
Author:
Hello John,
On Tuesday 28 December 2010 06:17 AM, John Rigby wrote:
< snip >
> +LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
> +LDFLAGS = -Bstatic -T $(nandobj)u-boot.lds -Ttext
> $(CONFIG_SYS_NAND_SPL_TEXT_BASE) $(PLATFORM_LDFLAGS)
> +AFLAGS += -DCONFIG_PRELOADER -DCONFI
Hi, Stefano,
2010/12/27 Stefano Babic :
> On 12/22/2010 02:23 PM, Jason Liu wrote:
>> Add initial support for MX53EVK board support.
>> FEC, SD/MMC, UART, I2C, have been support.
>>
>> Signed-off-by: Jason Liu
>>
>> ---
>> Changes for v2:
>> -Address the comments from Stefano, Albert and Wolfgang
On 28.12.2010 07:50, Aneesh V wrote:
> Hello John,
>
> On Tuesday 28 December 2010 06:17 AM, John Rigby wrote:
> < snip>
>
>> +LDSCRIPT= $(TOPDIR)/nand_spl/board/$(BOARDDIR)/u-boot.lds
>> +LDFLAGS = -Bstatic -T $(nandobj)u-boot.lds -Ttext
>> $(CONFIG_SYS_NAND_SPL_TEXT_BASE) $(PLATFORM_LDFLAGS
42 matches
Mail list logo