[U-Boot] FW: U-boot & x86 & coreboot

Rossier Daniel Daniel.Rossier at heig-vd.ch
Wed Jul 17 23:20:53 CEST 2013


By the way, the issue related to the debugger is that I'm unable to use it with Eclipse CDT (using gdbserver in Qemu). It leads to a seg fault in Qemu.
If you have an idea, I would appreciate.
Regards
Daniel

From: sjg at google.com<mailto:sjg at google.com> [mailto:sjg at google.com] On Behalf Of Simon Glass
Sent: mercredi 17 juillet 2013 17:43
To: Rossier Daniel
Cc: u-boot at lists.denx.de<mailto:u-boot at lists.denx.de>
Subject: Re: [U-Boot] U-boot & x86 & coreboot

Hi Rossier,

On Wed, Jul 17, 2013 at 2:29 AM, Rossier Daniel <Daniel.Rossier at heig-vd.ch<mailto:Daniel.Rossier at heig-vd.ch>> wrote:
Hi,

I would like to run U-boot on x86 emulated QEMU-based environment. I found some info regarding coreboot + U-boot integration, using U-boot as payload, etc. but I was unable to start U-boot.
I'm using the 32-bits i686-pc-linux-gnu toolchain and I successfully cross-compiled coreboot and started it on qemu-system-i386.
I also configured coreboot to use u-boot (ELF) as payload, but coreboot performs a reset when U-boot should show up after loading.
Where could I have some information regarding that?

There are post codes generated in x86 U-Boot which might help with diagnosing this. I have not tried this on QEMU. But I suppose in that environment it might be possible to watch execution and see where it is going wrong.

Furthermore, I'm unable to debug anything remotely with gdb; gdb cannot disassemble once connected via "target remote localhost:1234".

Do you mean it cannot find the source files?

Regards,
Simon


Any hints welcome.
Thanks so much.

Cheers
Daniel


_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de<mailto:U-Boot at lists.denx.de>
http://lists.denx.de/mailman/listinfo/u-boot



More information about the U-Boot mailing list