[coreboot] qemu-armv7: code execution out of RAM or ROM using latest QEMU

Piotr Król pietrushnic at gmail.com
Tue Aug 12 00:37:20 CEST 2014


On Mon, Aug 11, 2014 at 01:51:16PM -0700, ron minnich wrote:
> I can't recall for ARM, it's been more than a year since I used qemu
> on that platform. That said, ... on the platforms we use ROM is in low
> memory. What's your coreboot system.map say?
> 
I'm not sure what 'coreboot system.map' is but I will assume that you mean
{bootblock, romstage, ramstage}.map.

CONFIG_BOOTBLOCK_BASE is 0x10000
CONFIG_ROMSTAGE_BASE  is 0x20000
CONFIG_SYS_SDRAM_BASE is 0x1000000

Uploaded files: https://gist.github.com/pietrushnic/7fea530d3498cf5ac5cfo

Meanwhile I objdumped bootblock and found that ldmia instruction that
breaks qemu execution came from dcache_foreach method.

Anyone know how to load bootblock debug symbols to gdb when debugging
using '-s -S' option ?

Thanks,
Piotr



More information about the coreboot mailing list