[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-discuss] Bios debugging

From: Anton Gerasimov
Subject: [Qemu-discuss] Bios debugging
Date: Wed, 1 Nov 2017 14:16:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

Hi all,

I'm trying to debug u-boot running as BIOS in qemu (BTW, the problem is
'trying to execute code outside RAM or ROM at 0x00000000000a0000'). So I run

    qemu-system-x86_64 -bios /path/to/bios.rom -s -S

and connect with gdb using

    target remote localhost:1234

command. I start at 0x0000fff0 address and the only thing that I can see
at this address is a series of 'add %al,(%rax)' commands, which at a
closer look turn out to be just all-zeros. u-boot.rom doesn't have a row
of zeros, neither at the 0th address, nor at 0xfff0, so I wonder if it is

1) Me having debugger set up wrong.

2) Qemu loading u-boot at wrong address.

3) Anything else.

Any help is most appreciated.

Anton Gerasimov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]