[coreboot] Help required to boot DUET (Seabios floppy mechanism)

Anthony Ross anthonyross230 at gmail.com
Sat Nov 9 07:05:47 CET 2013


Hello Folks

Well Im still trying to figure out how to get the debug messages of
updatememorymap () written to the serial port. If any help could be
provided.

Secondly since I'm facing the same freeze problem I would like to try
something different.I need the code to execute DUET as a coreboot payload
as spoken earlier by Partick Georgi

Thirdly since I already have the latest seabios  prepped I would like to
prepare a HDD image with duet  installed to its mbr and the efi loaders set
to its active partitions.

Thanks........

Neo..


On Thu, Nov 7, 2013 at 3:00 AM, Patrick Georgi <patrick at georgi-clan.de>wrote:

> Am 2013-11-06 14:55, schrieb Scott Duplichan:
>
>  ]We had that 4 years ago or so. Want me to look up the code?
>>
>> Yes, I would be interested to see how others approach it,
>> though I have the payload support working now.
>>
> I'll take a look, but it can take some days.
>
>
>  1) Hack in a change to make it use the proper I/O port when
>> reading the ACPI power management timer. The ideal solution
>> is to get the ACPI PM timer address from the ACPI tables,
>> which is what Duet does.
>>
> I started work on FixedAtBuild Pcds that teach the various table managers
> in UEFI to inherit existing tables (SMBIOS, ACPI). That way we could pass
> the coreboot tables into UEFI, making the payload even more independent.
> The change might also be useful for DUET, but I don't know if upstream is
> actually still interested in it.
>
>
>  2) Change PCI device and function numbers hard-coded in
>> bdsplatform.h from 440BX values to AMD SB800 values. Not
>> sure if this is essential for shell boot.
>> 3) Disable PCI ARI support to eliminate some EDK2 code
>> crashes. Not sure if the cause of the problem is an EDK2
>> problem or a simnow model problem.
>> 4) Work around a crash in SmbiosDxe.c. I didn't investigate
>> the cause.
>> 5) Expand the temporary identity mapped page tables. I
>> believe they map up to 1GB, and I am using more.
>> 6) Big changes to make it build on Windows using Microsoft
>> tools. It is really unfortunate that as of 2013, Microsoft
>> doesn't support C99. I used fasm in place of Microsoft's
>> assembler because it can assemble a module containing both
>> 32-bit and 64-bit code.
>>
> Any chance you could publish these somewhere?
>
>
>  might even be possible to extract the native UEFI GOP video driver
>> from an OEM UEFI ROM for reuse. But I believe in the case of my
>> ASRock E350M1 the OEM UEFI ROM has no GOP driver, only legacy.
>>
> Another alternative would be graphics init in coreboot, setting up a frame
> buffer. UEFI could parse out the cbtables to figure out the position and
> layout of the framebuffer in a primitive GOP driver.
>
> Unfortunately my time for UEFI work is rather limited these days.
>
>
>  The biggest work is going to be support for the large NVRAM
>> area needed by EDK2 UEFI. A generic solution is not possible.
>>
> Not totally generic, but I guess we could carve out some space by adding a
> CBFS file (with proper alignment) whose content is managed as nv variable
> storage (similar to how the MRC stuff on both intel and AMD works now).
> For security, I'd also propose doing the actual flash access from SMM in
> coreboot code (which can reuse the existing flash drivers) - but maybe
> that's something for later.
>
>
>  I will start with support for AMD systems.
>>
> Great!
>
>
> Regards,
>
> Patrick
>
> --
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20131109/e483edef/attachment-0001.html>


More information about the coreboot mailing list