public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] U-boot qemu-x86 :load acpi tables from fw_cfg.
       [not found] ` <CAPnjgZ2SMo0iJfeUB1JASVMPxzpiHcmjVLDEB-j-PaAbXjYtnQ@mail.gmail.com>
@ 2015-05-22 16:54   ` Saket Sinha
  2015-05-22 17:19     ` Simon Glass
  2015-05-25 17:09     ` Paolo Bonzini
  0 siblings, 2 replies; 3+ messages in thread
From: Saket Sinha @ 2015-05-22 16:54 UTC (permalink / raw)
  To: u-boot

Hi Simon,

>>
>> Is it possible for us to add support to qemu to provide acpi tables
>> via fw_cfg in u-boot ?
>>
>> If we find acpi tables in fw_cfg try loading them, otherwise fallback
>> to the builtin acpi tables.
>>
>> Coreboot does it in the following way -
>> http://review.coreboot.org/#/c/4040/
>
> It seems like it might be useful to implement this in U-Boot. Perhaps
> look at this after you have the built-in support running?
>

I guess it would be extremely useful for u-boot.

It is being used by q-boot, a new minimal x86 firmware for QEMU.
http://lwn.net/Articles/645455/
https://github.com/bonzini/qboot

q-boot is able to give a minimal booting time, with the help of
fw_cfg, by reading both the kernel and initrd image
from fw_cfg.
I guess ACPI support for both q-boot and qemu-x86 in u-boot can be
implemented on similar lines.


Regards,
Saket Sinha

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

* [U-Boot] U-boot qemu-x86 :load acpi tables from fw_cfg.
  2015-05-22 16:54   ` [U-Boot] U-boot qemu-x86 :load acpi tables from fw_cfg Saket Sinha
@ 2015-05-22 17:19     ` Simon Glass
  2015-05-25 17:09     ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2015-05-22 17:19 UTC (permalink / raw)
  To: u-boot

Hi Saket,

On 22 May 2015 at 10:54, Saket Sinha <saket.sinha89@gmail.com> wrote:
> Hi Simon,
>
>>>
>>> Is it possible for us to add support to qemu to provide acpi tables
>>> via fw_cfg in u-boot ?
>>>
>>> If we find acpi tables in fw_cfg try loading them, otherwise fallback
>>> to the builtin acpi tables.
>>>
>>> Coreboot does it in the following way -
>>> http://review.coreboot.org/#/c/4040/
>>
>> It seems like it might be useful to implement this in U-Boot. Perhaps
>> look at this after you have the built-in support running?
>>
>
> I guess it would be extremely useful for u-boot.
>
> It is being used by q-boot, a new minimal x86 firmware for QEMU.
> http://lwn.net/Articles/645455/
> https://github.com/bonzini/qboot
>
> q-boot is able to give a minimal booting time, with the help of
> fw_cfg, by reading both the kernel and initrd image
> from fw_cfg.
> I guess ACPI support for both q-boot and qemu-x86 in u-boot can be
> implemented on similar lines.

Sounds good!

Regards,
Simon

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

* [U-Boot] U-boot qemu-x86 :load acpi tables from fw_cfg.
  2015-05-22 16:54   ` [U-Boot] U-boot qemu-x86 :load acpi tables from fw_cfg Saket Sinha
  2015-05-22 17:19     ` Simon Glass
@ 2015-05-25 17:09     ` Paolo Bonzini
  1 sibling, 0 replies; 3+ messages in thread
From: Paolo Bonzini @ 2015-05-25 17:09 UTC (permalink / raw)
  To: u-boot



On 22/05/2015 18:54, Saket Sinha wrote:
> Hi Simon,
> 
>>>
>>> Is it possible for us to add support to qemu to provide acpi tables
>>> via fw_cfg in u-boot ?
>>>
>>> If we find acpi tables in fw_cfg try loading them, otherwise fallback
>>> to the builtin acpi tables.
>>>
>>> Coreboot does it in the following way -
>>> http://review.coreboot.org/#/c/4040/
>>
>> It seems like it might be useful to implement this in U-Boot. Perhaps
>> look at this after you have the built-in support running?
>>
> 
> I guess it would be extremely useful for u-boot.
> 
> It is being used by q-boot, a new minimal x86 firmware for QEMU.
> http://lwn.net/Articles/645455/
> https://github.com/bonzini/qboot
> 
> q-boot is able to give a minimal booting time, with the help of
> fw_cfg, by reading both the kernel and initrd image
> from fw_cfg.
> I guess ACPI support for both q-boot and qemu-x86 in u-boot can be
> implemented on similar lines.

ACPI support is now included in qboot.

Paolo

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

end of thread, other threads:[~2015-05-25 17:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <CAK25hWPNL=w0jWjVscf50XxFDTyo2Yfxk+E9V4JKWZZ4_iuujw@mail.gmail.com>
     [not found] ` <CAPnjgZ2SMo0iJfeUB1JASVMPxzpiHcmjVLDEB-j-PaAbXjYtnQ@mail.gmail.com>
2015-05-22 16:54   ` [U-Boot] U-boot qemu-x86 :load acpi tables from fw_cfg Saket Sinha
2015-05-22 17:19     ` Simon Glass
2015-05-25 17:09     ` Paolo Bonzini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox