[U-Boot] [PATCH 0/7] add fw_cfg interface support for qemu-x86 targets

Miao Yan yanmiaobest at gmail.com
Tue Dec 29 07:58:21 CET 2015


Hi Saket,

2015-12-28 18:43 GMT+08:00 Saket Sinha <saket.sinha89 at gmail.com>:
> Hi Miao,
>
> Find my response inline.
>
>>
>> The main purpose of my patch is:
>>   + directly loads kernel from qemu
>>   + eliminate the cpu number limits in smp boot
>>
>
> Our patches are similar in case of  fw_cfg apis support it brings to
> u-boot but our use case of using them are different.
> My patches target tables (ACPI tables to be specific.)
>
>> I am not familiar with the acpi part, but if you have a
>> basic configuration to reproduce the error, maybe I can
>> have a try.
>>
>
> I shared the patch with you on the separate thread. If you read
> through the thread, you can find  the details how to reproduce it.

Are you referring to "Initial fw_cfg support for qemu-x86 targets" ?
I didn't find any patch in that email you sent to me.

But I did give Seabios a try and it works. So I don't think there's
anything wrong with the acpi tables generated by qemu. It seems
other than just loading files into memory, guests are supposed
to perform some "fix-ups" to those table according to qemu's instructions.

But I can't say what's wrong without seeing your original patches.

>
> Anyways, I am sharing how you can test my patch to reproduce the error.
>
> 1. Apply the patch file(sahred seprately) to u-boot-x86 tree.
> patch -p1 *.patch
>
> 2. make qemu-x86_defconfig, make all
>
> 3. qemu-system-i386 -nographic -bios u-boot.rom -net nic -net
> user,tftp=/tftpboot
>
> Regards,
> Saket Sinha


More information about the U-Boot mailing list