Re: [coreboot] PCI passthrough on ASUS KGPE-D16

2016-10-03 Thread Timothy Pearson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/03/2016 06:09 PM, Mike Banon wrote:
> Correct me if I am wrong, but I think: IOMMU support means that a
> graphics card passthrough is possible (this is binary: IOMMU yes ==>
> possible / no ==> not possible). If IOMMU support is buggy (which
> seems to be commonly found with proprietary BIOS) maybe your system
> could experience some bugs while you are using this feature. Of course
> the most reliable way to find out is to try it, but I am pretty sure
> that coreboot's IOMMU support is good

I am 99% sure this functions correctly.  It's been a while but I think
it was tested early this year as part of the coreboot support bringup.

Bear in mind the usual caveats apply; if you're not using the open
source drivers for your card the manufacturer may have locked out
passthrough, etc.  nVidia is especially famous for this.

- -- 
Timothy Pearson
Raptor Engineering
+1 (415) 727-8645 (direct line)
+1 (512) 690-0200 (switchboard)
https://www.raptorengineering.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJX8ua0AAoJEK+E3vEXDOFbsvIH/ihDV23xro6DFexRH+m29pja
MyWMeCg2o+UyL942tn2J/FZjkrBHPJVBGMkRjEUmK1VDlr/4qtwg8uNsvYBKXFQE
BwgoBSwVJPkfEy9SsUQMzNXHorMbgMT7q0GJhJTGvPRMgpC4fcnQajnwASZrctc+
2TJuuh84ZMDUgDIntzMuCijHyyS/GPnSQ3oL48Hski4Hnzxu+xvfv9EdDHSYsjSc
G9rLet+HaApUrQIAiwjQjT+XrVjeZMnYR2Xlyewe6n6+pSjGRfM6K1gIPRwbQXTY
0gKfWzy+fLAmCtUn7ecA/nrAwPif2qfvuY7wL0GdXNxTePTRHOtFfLONXQ8y0O0=
=rOvF
-END PGP SIGNATURE-

-- 
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] PCI passthrough on ASUS KGPE-D16

2016-10-03 Thread Mike Banon
Correct me if I am wrong, but I think: IOMMU support means that a
graphics card passthrough is possible (this is binary: IOMMU yes ==>
possible / no ==> not possible). If IOMMU support is buggy (which
seems to be commonly found with proprietary BIOS) maybe your system
could experience some bugs while you are using this feature. Of course
the most reliable way to find out is to try it, but I am pretty sure
that coreboot's IOMMU support is good

On Sun, Oct 2, 2016 at 9:04 PM, Zoran Stojsavljevic
 wrote:
>> Would it be possible to passthrough a graphics card to a virtual machine
>> while using Coreboot/Libreboot?
>
> Hello opteron/AMD supporter,
>
> You did ask very (very, should say extremely) tricky question, you do know
> this (I betcha you do, don't you)??? ;-)
>
> Zoran
> ___
>
> On Sun, Oct 2, 2016 at 6:22 PM,  wrote:
>>
>> Hi,
>>
>> would it be possible to passthrough a graphics card to a virtual machine
>> while using Coreboot/Libreboot? The libreboot website says that the
>> motherboard offers full IOMMU-support when using a CPU from the Opteron
>> 6200/6300 series.
>>
>> https://wiki.archlinux.org/index.php/PCI_passthrough_via_OVMF
>> https://libreboot.org/docs/hcl/kgpe-d16.html
>>
>> --
>> coreboot mailing list: coreboot@coreboot.org
>> https://www.coreboot.org/mailman/listinfo/coreboot
>
>
>
> --
> coreboot mailing list: coreboot@coreboot.org
> https://www.coreboot.org/mailman/listinfo/coreboot

-- 
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot


Re: [coreboot] Adapting Linux kernel documentation setup with Sphinx and reStructuredText

2016-10-03 Thread Martin Roth
Zaolin has been working for a while on updating our documentation, and his
plan is to switch coreboot to using Hugo for our documentation manager.[1]
 Hugo supports various different markup languages, including markdown,
html, RestructuredText, and AsciiDoc. [2]

I meant to send the list an email a while back about doing this, but got
sidetracked with other projects.  It's just been picked back up, so if
anyone has any thoughts, please feel free to comment, either here or in his
patches.  [3] [4]

We're going to try to switch away from the wiki for our documentation.  The
wiki is great for some things, but not so good for other things.  The
thought is that if we keep the documentation in the coreboot tree, in an
accessible format, people will be able to contribute to it more easily, and
it will hopefully stay more up-to-date.  The plan is to move some of the
documentation out of the wiki into the Documentation folder and adding new
documentation shortly.

And, as always, any documentation contributions would be greatly
appreciated. [5]

Martin

[1] https://gohugo.io/
[2] https://gohugo.io/content/supported-formats
[3] https://review.coreboot.org/#/c/16853/
[4] https://review.coreboot.org/#/c/16787/
[5] Please.

On Mon, Oct 3, 2016 at 1:56 AM, Paul Menzel via coreboot <
coreboot@coreboot.org> wrote:

> Dear coreboot folks,
>
>
> The Linux kernel switched to Sphinx and reStructuredText [1] for its
> documentation [2][3][4].
>
> Would it make sense to also use that for coreboot? I would see the
> following benefits.
>
> 1. It’s easier to import code like drivers from the Linux kernel to
> coreboot.
> 2. Developers familiar with the Linux kernel have it easier to work on
> coreboot.
> 3. The coreboot project could import all improvements the Linux kernel
> documenation gets.
>
>
> Thanks,
>
> Paul
>
>
> [1] https://en.wikipedia.org/wiki/ReStructuredText
> [2] https://static.lwn.net/kerneldoc/index.html
> [3] https://lwn.net/Articles/692704/
> "Kernel documentation with Sphinx, part 1: how we got here"
> [4] https://lwn.net/Articles/692705/
> "Kernel documentation with Sphinx, part 2: how it works
> --
> coreboot mailing list: coreboot@coreboot.org
> https://www.coreboot.org/mailman/listinfo/coreboot
>
-- 
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot

Re: [coreboot] How to pass custom defined data from Coreboot to GRUB2

2016-10-03 Thread Paul Menzel via coreboot
Dear Mohan,


Am Montag, den 03.10.2016, 11:06 + schrieb Mohan Shanmuga Sundaram:
> I have a requirement to pass the state value of a GPIO (on Intel ATOM
> Baytrail SoC) from Coreboot to GRUB2. Based on this GPIO state, I
> would script the GRUB2 to configuration to select an alternative OS
> from the GRUB menu list. Is there a facility to pass this custom
> defined data from Coreboot to GRUB2?

I suggest to use CBTABLES for that. GRUB also can read that.


Thanks,

Paul


[1] grub-core/kern/i386/coreboot/cbtable.c


PS: Please note, that coreboot is written all lowercase.
PPS: Please don’t add the disclaimer to the end of your messages.
PPPS: Please just send plain text messages, and no HTML ones.

signature.asc
Description: This is a digitally signed message part
-- 
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot

[coreboot] How to pass custom defined data from Coreboot to GRUB2

2016-10-03 Thread Mohan Shanmuga Sundaram
Hi!
I have a requirement to pass the state value of a GPIO (on Intel ATOM Baytrail 
SoC) from Coreboot to GRUB2. Based on this GPIO state, I would script the GRUB2 
to configuration to select an alternative OS from the GRUB menu list. Is there 
a facility to pass this custom defined data from Coreboot to GRUB2?

Regards,
Mohan

"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."
-- 
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot

[coreboot] Adapting Linux kernel documentation setup with Sphinx and reStructuredText

2016-10-03 Thread Paul Menzel via coreboot
Dear coreboot folks,


The Linux kernel switched to Sphinx and reStructuredText [1] for its
documentation [2][3][4].

Would it make sense to also use that for coreboot? I would see the
following benefits.

1. It’s easier to import code like drivers from the Linux kernel to
coreboot.
2. Developers familiar with the Linux kernel have it easier to work on
coreboot.
3. The coreboot project could import all improvements the Linux kernel
documenation gets.


Thanks,

Paul


[1] https://en.wikipedia.org/wiki/ReStructuredText
[2] https://static.lwn.net/kerneldoc/index.html
[3] https://lwn.net/Articles/692704/
    "Kernel documentation with Sphinx, part 1: how we got here"
[4] https://lwn.net/Articles/692705/
    "Kernel documentation with Sphinx, part 2: how it works

signature.asc
Description: This is a digitally signed message part
-- 
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot