On 11/23/2016 11:35 AM, Tom Rini wrote: > On Wed, Nov 23, 2016 at 11:04:29AM -0600, Eric Neblock wrote: >> On 11/22/2016 08:21 AM, Tom Rini wrote: >>> On Mon, Nov 21, 2016 at 03:31:43PM -0600, Eric Neblock wrote: >>>> 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. >>> >>> qemu-x86 is one of our regularly (every push to mainline) tested >>> targets. I invoke mine as: >>> qemu-system-i386 -nographic -cpu qemu32 -bios u-boot.rom \ >>> -netdev user,id=net0,tftp=/tftpboot -device e1000,netdev=net0 >>> >>> What version of qemu are you running? >>> >> qemu-system-i386 --version: >> >> QEMU emulator version 2.3.1, Copyright (c) 2003-2008 Fabrice Bellard >> >> Perhaps important to note is I'm using OpenSuSE 42.1. > > That is older than what we test with which is 2.5 > The newer version of qemu is not pushed in to the mainline repo, instead using the Virtulization repo.
Even when upgrading to version: QEMU emulator version 2.7.0(Virtualization / openSUSE_Leap_42.1), Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers We still see the same results, even when just running: qemu-system-i386 -nographic -cpu qemu32 -bios u-boot.rom _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot