[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] vexpress-a9: coreboot is unable to push any data on sta
Re: [Qemu-devel] vexpress-a9: coreboot is unable to push any data on stack
Sat, 16 Aug 2014 12:19:21 +0100
On 16 August 2014 10:50, Piotr Król <address@hidden> wrote:
> On Fri, Aug 15, 2014 at 11:54:55PM +0100, Peter Maydell wrote:
>> I'm not looking for advocacy, just for an explanation of what it's
>> doing, and in particular whether anybody's ever tested this on real
>> hardware. (Running guest code only on QEMU is a recipe for bugs,
>> because our emulation is often not very accurate and if you only test
>> on QEMU you can end up accidentally relying on our bugs.)
> Creboot is an open source replacement for BIOS. Almost every supported
> board contain its own memory map. According to commit message from
> Chromium developer coreboot build for qemu vexpress-a9 was created to
> 'simplify testing ARM implementation (... and) to verify the boot loader
> functionality'. I think that code for real hardware got little in common
> with qemu implementation.
> I'm trying to use this implementation for pure educational purposes.
> Going back to my initial issues with stack, changing stack location to
> SRAM improves situation but does not fix booting. It looks like whole
> implementation assumes running from RAM.
It sounds like this guest code is just broken and needs fixing to
relocate itself into RAM somehow, then...