|
From: | mar.krzeminski |
Subject: | [Qemu-discuss] Cortex A9 MMU enabling and processor hangs |
Date: | Sat, 27 Jun 2015 14:19:12 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Hi all, It is my first post here, and first question. I am creating new hw board wirt cortex a-9 CPU. I have code in my SPL: asm volatile ("mrc p15, 0, %0, c1, c0, 0" : "=r" (a) : ); // Read SCTLR a = a | (1 << 2) | (1 << 0); asm volatile ("mcr p15, 0, %0, c1, c0, 0" : : "r" (a)); // Write SCTLR After writing to SCTLR cpu seems to hangs. On real hardware this code works. My question is how can I debug what is wrong in here? Regards, Marcin |
[Prev in Thread] | Current Thread | [Next in Thread] |