[U-Boot] U-Boot x86 QEMU: Error on boot

Eric Neblock ceneblock at member.fsf.org
Mon Nov 21 22:31:43 CET 2016


Hello,
  I'm trying to get u-boot working on QEMU so I understand how it works
before moving to an embedded system.

  After following the instructions here:
https://lists.nongnu.org/archive/html/qemu-devel/2015-05/msg04835.html

U-Boot is always crashing, even when omitting the network stuff. Below
is how I'm currently trying to boot:

qemu-system-i386 -nographic -bios u-boot.rom

And here is the ending result:

U-Boot 2016.11 (Nov 21 2016 - 14:03:23 -0600)

CPU: x86, vendor Intel, device 663h
DRAM:  128 MiB
Using default environment

Video: General Protection
EIP: 0010:[<07f685e4>] EFLAGS: 00000046
Original EIP :[<fff005e4>]
EAX: 00000012 EBX: 00000010 ECX: 00000000 EDX: 07d643cf
ESI: 07fad1dc EDI: 07d643e0 EBP: 07fcf564 ESP: 07d64384
 DS: 0018 ES: 0018 FS: 0020 GS: 0018 SS: 0018
CR0: 00000033 CR2: 00000000 CR3: 00000000 CR4: 00000000
DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
DR6: ffff0ff0 DR7: 00000400
Stack:
    0x07d643c4 : 0x0000001c
    0x07d643c0 : 0x7acd6388
    0x07d643bc : 0x00000111
    0x07d643b8 : 0x000c0000
    0x07d643b4 : 0x00000000
    0x07d643b0 : 0x074a7205
    0x07d643ac : 0x07f87d87
    0x07d643a8 : 0x7acd6388
    0x07d643a4 : 0x3b9aca00
    0x07d643a0 : 0x00000000
    0x07d6439c : 0x07f8dbe9
    0x07d64398 : 0x07d67720
    0x07d64394 : 0x00000002
    0x07d64390 : 0xc0010001
    0x07d6438c : 0x00000246
    0x07d64388 : 0x00000010
--->0x07d64384 : 0x07f6a997
    0x07d64380 : 0x00000046
    0x07d6437c : 0x00000010
    0x07d64378 : 0x07f685e4
### ERROR ### Please RESET the board ###


I think I'm on the bleeding edge branch, but even then when reverting to
the v2016.09.01 tag, I still crash.

If there is any additional information that I can provide please let me
know.

Regards,
Eric Neblock


More information about the U-Boot mailing list