[U-Boot] [PATCH 0/3] x86: coreboot: Support running U-Boot in qemu

Simon Glass sjg at chromium.org
Mon Jan 5 02:56:09 CET 2015


Hi Bin,

On 3 January 2015 at 19:36, Bin Meng <bmeng.cn at gmail.com> wrote:
> Hi Simon,
>
> On Sun, Jan 4, 2015 at 10:28 AM, Simon Glass <sjg at chromium.org> wrote:
>> Hi Bin,
>>
>> On 3 January 2015 at 18:59, Bin Meng <bmeng.cn at gmail.com> wrote:
>>> Hi Otavio,
>>>
>>> On Sun, Jan 4, 2015 at 9:06 AM, Otavio Salvador <otavio at ossystems.com.br> wrote:
>>>> On Sat, Jan 3, 2015 at 12:40 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
>>>>> Currently when U-Boot is loaded by coreboot in qemu, U-Boot does not
>>>>> boot due to several issues. This patch series fix these issues to make
>>>>> coreboot support in U-Boot more robust so that it can run on top of
>>>>> qemu out of the box.
>>>>>
>>>>> The command to package u-boot into coreboot.rom:
>>>>> ./build/util/cbfstool/cbfstool build/coreboot.rom add-flat-binary \
>>>>> -f u-boot-dtb.bin -n fallback/payload -c lzma -l 0x1110000 -e 0x1110015
>>>>
>>>> It'd be awesome to have it documented somewhere :)
>>>
>>> Yes, I can document it in README.x86.
>>
>> Thanks. Also does qemu run U-Boot bare? I assume not. What is the main
>> use case for Coreboot + U-Boot under qemu?
>>
>
> So far only coreboot can run bare on qemu. It is a specific board
> (Emulation board) for qemu in coreboot Kconfig. We can support qemu
> running U-Boot bare as well. It is just a matter of time of doing
> that. If you think this might be helpful, I can spend some time to
> support qemu bare in U-Boot. As for the main use case, I believe this
> provides us a way of testing U-Boot coreboot support without a real
> hardware, just like the purpose of any emulation/simulation tool we
> have in the market.

OK thanks for the info. It seems like it might be useful. Presumably
it can run without binary blobs which would be good.

Regards,
Simon


More information about the U-Boot mailing list