[U-Boot] [RFC][PATCH v2 17/19] arm cp15: setup mmu and enable dcache

Heiko Schocher hs at denx.de
Wed Aug 11 19:06:21 CEST 2010


Hello Ben,

Ben Gardiner wrote:
> On Wed, Aug 11, 2010 at 9:31 AM, Ben Gardiner
> <bengardiner at nanometrics.ca> wrote:
>> On Wed, Aug 11, 2010 at 1:56 AM, Heiko Schocher <hs at denx.de> wrote:
>>> Can you try
>>>
>>> http://git.denx.de/?p=u-boot/u-boot-testing.git;a=shortlog;h=refs/heads/arm-reloc-and-cache-support
> 
> This is the commit from which I was working -- there have been no
> additional updates (git reports 'already up-to-date').

Ok.

>>> + remove in include/configs/da850evm.h
>>>  line 42: #define CONFIG_SKIP_RELOCATE_UBOOT      /* to a proper address, init done */
>>>
>>> ?
>>>
>>> If it don;t work, can you make a breakpoint in
>>> arch/arm/cpu/arm926ejs/start.S relocate_code and provide a register
>>> dump? And can you find out whats stored in gd->ram_size?
>> Most definitely. I'll get back to you shortly.
> 
> With:
> diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
> index e14817b..a7b8021 100644
> --- a/include/configs/da850evm.h
> +++ b/include/configs/da850evm.h
> @@ -39,7 +39,6 @@
>  #define CONFIG_SYS_HZ_CLOCK            clk_get(DAVINCI_AUXCLK_CLKID)
>  #define CONFIG_SYS_HZ                  1000
>  #define CONFIG_SKIP_LOWLEVEL_INIT
> -#define CONFIG_SKIP_RELOCATE_UBOOT     /* to a proper address, init done */
> 
>  /*
>   * Memory Info
> 
> It works! Thank you, Heiko.

Great!

> So the code was working fine all along -- I just needed to configure
> it correctly. Sorry for all the noise and thank you again for your
> patches and the help in using them.

Thanks for testing.

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list