This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
MMU question - AT91RM9200
- From: Juergen Wischer <unclejay1 at gmail dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Thu, 30 Jun 2005 17:27:58 +0200
- Subject: [ECOS] MMU question - AT91RM9200
- Reply-to: Juergen Wischer <unclejay1 at gmail dot com>
Hello,
I have a problem with the right setup of my mmu table.
For testing I load the Redboot ROMRAM image at 0x20300000, where it is
relocated to 0x20000000. Without mmu everything works fine.
When I enable the mmu after following initialization:
ttb_base = 0x20400000
X_ARM_MMU_SECTION(0x200, 0x200, 4, ARM_UNCACHEABLE,
ARM_UNBUFFERABLE, ARM_ACCESS_PERM_RW_RW);
(macro from the AAED2000 board)
I get the problem that my code hangs at the end of the PLATFORM_SETUP1
macro. So there must be a mistake in the mmu init....
hardware:
AT91RM9200 - ARM920T core
0x20000000 - 0x21FFFFFF (RAM)
I hope there somebody out here who can help me with this problem.
Thanks,
Jürgen
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss