On 12 January 2015 at 00:44, Peter Fillmore pe...@peterfillmore.com wrote:
heres the code which creates the memory (contained in a custom driver):
memory_region_init_ram(s-iomem, OBJECT(dev), arm-lpc213x-iap, 0x1000,
NULL);
sysbus_init_mmio(sd, s-iomem);
char *memptr =
Awesome!- that got it - i wasn’t aligned to the page so the emulator didn’t
recognise it of course.
Reason behind it being a that address is that the SoC contains embedded boot
code which is called by the firmware image - since i don’t have the full image
i needed to put some code to emulate
On 12 January 2015 at 23:18, Peter Fillmore pe...@peterfillmore.com wrote:
The setup code is edited for brevity:
MemoryRegion *sysmem = get_system_memory();
MemoryRegion *iap = g_new(MemoryRegion, 1);
//create pointer for region
Hello,
I need help in understanding on how to map memory in qemu..
I’m currently trying to create a board package for a NXP LPC213x SoC and am
running into difficulties in creating a “boot loader” section of code in a
defined section of memory(i.e embedded in production code).
My idea is to