All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] coreboot uboot qemu x86
@ 2014-12-29  4:38 Ajoy Das
  2014-12-29 14:06 ` Simon Glass
  0 siblings, 1 reply; 17+ messages in thread
From: Ajoy Das @ 2014-12-29  4:38 UTC (permalink / raw)
  To: u-boot

Hi

Need Help

I want to run U-BOOT as coreboot payload on QEMU platform

I am on uboot-x86 git

Compiled U-BOOT with make coreboot-x86_defconfig and make all

Running qemu with
qemu-system-i386 -bios ../coreboot/build/coreboot.rom -hda disk.img
-nographic -m 1g

But The system crashes with the following message

qemu: fatal: Trying to execute code outside RAM or ROM at 0x5e2a36c2

Loading Segment: addr: 0x0000000001110000 memsz: 0x00000000000588e8 filesz:
0x00000000000252eb
lb: [0x0000000000100000, 0x000000000012b030)
Post relocation: addr: 0x0000000001110000 memsz: 0x00000000000588e8 filesz:
0x00000000000252eb
using LZMA
[ 0x01110000, 011688e8, 0x011688e8) <- fffd2770
dest 01110000, end 011688e8, bouncebuffer 3ff77000
Loaded segments
Jumping to boot code at 01110015
CPU0: stack: 00126000 - 00127000, lowest used address 00126b8c, stack used:
1140 bytes
entry    = 0x01110015
lb_start = 0x00100000
lb_size  = 0x0002b030
buffer   = 0x3ff77000
qemu: fatal: Trying to execute code outside RAM or ROM@0x5e2a36c2

EAX=0000000a EBX=000186a0 ECX=01145d15 EDX=19203eb0
ESI=00000000 EDI=00000000 EBP=01145f6c ESP=01145f54
EIP=5e2a36c2 EFL=00000002 [-------] CPL=0 II=0 A20=1 SMM=0 HLT=0
ES =0018 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
CS =0010 00000000 ffffffff 00cf9b00 DPL=0 CS32 [-RA]
SS =0018 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
DS =0018 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
FS =0020 19203f5c ffffffff 00cf9300 DPL=0 DS   [-WA]
GS =0018 00000000 ffffffff 00cf9300 DPL=0 DS   [-WA]
LDT=0000 00000000 0000ffff 00008200 DPL=0 LDT
TR =0000 00000000 0000ffff 00008b00 DPL=0 TSS32-busy
GDT=     19203e60 00000047
IDT=     00000000 00000000
CR0=60000033 CR2=00000000 CR3=00000000 CR4=00000000
DR0=00000000 DR1=00000000 DR2=00000000 DR3=00000000
DR6=ffff0ff0 DR7=00000400
CCS=00000218 CCD=01145f50 CCO=ADDL
EFER=0000000000000000
FCW=037f FSW=0000 [ST=0] FTW=00 MXCSR=00001f80
FPR0=0000000000000000 0000 FPR1=0000000000000000 0000
FPR2=0000000000000000 0000 FPR3=0000000000000000 0000
FPR4=0000000000000000 0000 FPR5=0000000000000000 0000
FPR6=0000000000000000 0000 FPR7=0000000000000000 0000
XMM00=00000000000000000000000000000000
XMM01=00000000000000000000000000000000
XMM02=00000000000000000000000000000000
XMM03=00000000000000000000000000000000
XMM04=00000000000000000000000000000000
XMM05=00000000000000000000000000000000
XMM06=00000000000000000000000000000000
XMM07=00000000000000000000000000000000
Aborted (core dumped)

qemu-system-i386 --version
QEMU emulator version 1.0 (qemu-kvm-1.0), Copyright (c) 2003-2008 Fabrice
Bellard

Is QEMU not supported for coreboot and u-boot


Thanks
Ajoy

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-01-12  8:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-29  4:38 [U-Boot] coreboot uboot qemu x86 Ajoy Das
2014-12-29 14:06 ` Simon Glass
2014-12-29 14:34   ` Ajoy Das
2014-12-29 15:58     ` Simon Glass
2014-12-29 21:31       ` Ajoy Das
2014-12-29 22:47         ` Simon Glass
2014-12-30  5:45           ` Ajoy Das
2014-12-30  8:10             ` Ajoy Das
2014-12-30 19:44               ` [U-Boot] Fwd: " Ajoy Das
2014-12-30 20:43                 ` [U-Boot] " Simon Glass
2014-12-31  3:21                   ` [U-Boot] Fwd: " Ajoy Das
2014-12-31  5:28                     ` Ajoy Das
2014-12-31 18:52                       ` [U-Boot] " Simon Glass
2015-01-02 16:35                       ` [U-Boot] Fwd: " Bin Meng
2015-01-02 16:42                         ` [U-Boot] Fwd: " Ajoy Das
2015-01-03 14:45                           ` [U-Boot] " Bin Meng
2015-01-12  8:23                             ` [U-Boot] Fwd: " Ajoy Das

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.