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

Ben Gardiner bengardiner at nanometrics.ca
Wed Aug 11 15:53:58 CEST 2010


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').

>> + 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.

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.

Best Regards,
Ben Gardiner

---
Nanometrics Inc.
http://www.nanometrics.ca


More information about the U-Boot mailing list