Dear Greg Ungerer,
On Tue, 27 Aug 2013 14:11:40 +1000, Greg Ungerer wrote:
> The most immediate reason for this comes back to code in src/target/armv7a.c,
> function armv7a_read_ttbcr(), which does this:
>
> if (armv7a->armv7a_mmu.ttbr1_used == 1) {
> LOG_INFO("SVC access above %x",
> (0xffffffff & armv7a->armv7a_mmu.ttbr0_mask));
> armv7a->armv7a_mmu.os_border = 0xffffffff &
> armv7a->armv7a_mmu.ttbr0_mask;
> } else {
> /* fix me , default is hard coded LINUX border */
> armv7a->armv7a_mmu.os_border = 0xc0000000;
> }
>
> That hard coded 0xc0000000 is causing the eventual address check in
> cortex_a8_check_address(), src/target/cortex_a.c to fail.
>
> Off hand I am not sure how best to change that, but in it currents form
> it won't work for all cases.
In the end, have you been able to get a working setup for OpenOCD on
the Armada 370 Mirabox?
Thanks!
Thomas
--
Thomas Petazzoni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel