[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linuxbios
Subject:    Re: [coreboot] Baytrail MMC ACPI mode
From:       Ben Gardner <gardner.ben () gmail ! com>
Date:       2016-08-11 23:47:41
Message-ID: CAE7DoPbquKncUzqGrWJu=k5cTuh2bV=7LHbw_oZgZrR1imZ5eQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/related)]

[Attachment #4 (multipart/alternative)]


I fixed ACPI mode for two other devices (LPE & LPSS).
It looks like the change for eMMC would be similar.
https://review.coreboot.org/#/c/14042/
https://review.coreboot.org/#/c/14041/

On Thu, Aug 11, 2016 at 12:12 PM, Matt DeVillier <matt.devillier@gmail.com>
wrote:

> HI Alex,
>
> assuming you are using the 'baytrail_fsp' SoC, you might take a look at
> the 'baytrail' soc used by the Baytrail Google ChromeOS devices.  All of
> them use the eMMC in ACPI mode, and the SoC code for doing so might need to
> be added to the baytrail_fsp SoC if not already present (or at least give
> you a starting point to investigate)
>
> cheers,
> Matt
>
> On Thu, Aug 11, 2016 at 2:00 AM, Zoran Stojsavljevic <
> zoran.stojsavljevic@gmail.com> wrote:
>
>> Hello/Privet Alex,
>>
>> I'll try to help you, since I am not too much familiar with the eMMC
>> drivers in Coreboot. I bet there are none, but there must be BCT support as
>> you outlined it: *"Enable PCI mode for SCC devices"
>> (PcdSccEnablePciMode)"*.
>>
>> I never tried to set eMMC on BayTrail on Coreboot (in fact, I never tried
>> BayTrail with Coreboot, but I did try others' companies Coreboot images on
>> once upon a time BayleyBay Fab.3 E3826 (dual Core) CRB). But I did try all
>> of (and more) what you are writing here with various INTEL and AMI BIOSes.
>> It is off topic.
>>
>> Here is what I did try on some other customized platform, using E3845 B3
>> and D0 steppings, and AMI BIOS. This is how I did setup with South Bridge,
>> SCC controller:
>>
>> [image: Inline image 1]
>>
>> Indeed, I was able to install Linux on eMMC (it was eMMC 5.0 compliant,
>> 32GB size, paired with BYT-I as written above, which supports up to eMMC
>> 4.51), namely Fedora 21 (if I recall correctly), and it worked seamlessly.
>>
>> I admit, I never tried WIN, but I do know that there are special INTEL
>> drivers developed for embedded WIN (for WEC 7 and WEC 2013). I am not sure
>> if such amenities exist for WES 7 (indirectly for WIN 7), you should check
>> these yourself: http://www.intel.com/content/www/us/en/embedded/pr
>> oducts/bay-trail/software-and-drivers.html
>>
>> Maybe you can find some WIN eMMC driver support on this site. At least I
>> hope. Hope dies last. ;-)
>>
>> Hope this helps/nadejus6 eto pomozet,
>> Zoran
>>
>> On Tue, Aug 9, 2016 at 11:10 AM, szr <iszr@yandex.ru> wrote:
>>
>>> Hello.
>>>
>>> I have the board with Intel Baytrail E3845 and eMMC card v4.41, use
>>> coreboot 4.4, seabios 1.9.1. In PCI mode eMMC work, I can install and boot
>>> Ubuntu. The problem in Windows 8/10, which see card as "removable" disk,
>>> and therefore, do not allow to install on it.
>>>
>>> Excuse me, I have the simple question. How switch the MMC controller to
>>> ACPI mode? If set "Enable PCI mode for SCC devices" (PcdSccEnablePciMode) =
>>> Disabled in BCT, a controller be lost in lspci, but system no detect a ACPI
>>> device (checked in Ubuntu).
>>>
>>> I would be grateful for any help.
>>>
>>> Thanks,
>>> Alex.
>>>
>>> --
>>> 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
>

[Attachment #7 (text/html)]

<div dir="ltr">I fixed ACPI mode for two other devices (LPE &amp; LPSS).   <div>It \
looks like the change for eMMC would be similar.   <div><a \
href="https://review.coreboot.org/#/c/14042/">https://review.coreboot.org/#/c/14042/</a><br></div><div><a \
href="https://review.coreboot.org/#/c/14041/">https://review.coreboot.org/#/c/14041/</a><br></div></div></div><div \
class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 11, 2016 at 12:12 PM, \
Matt DeVillier <span dir="ltr">&lt;<a href="mailto:matt.devillier@gmail.com" \
target="_blank">matt.devillier@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">HI Alex,<div><br></div><div>assuming you are \
using the &#39;baytrail_fsp&#39; SoC, you might take a look at the &#39;baytrail&#39; \
soc used by the Baytrail Google ChromeOS devices.   All of them use the eMMC in ACPI \
mode, and the SoC code for doing so might need to be added to the baytrail_fsp SoC if \
not already present (or at least give you a starting point to \
investigate)</div><div><br></div><div>cheers,<br>Matt</div><div><div class="h5"><div \
class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 11, 2016 at 2:00 AM, \
Zoran Stojsavljevic <span dir="ltr">&lt;<a \
href="mailto:zoran.stojsavljevic@gmail.com" \
target="_blank">zoran.stojsavljevic@gmail.com</a><wbr>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr">Hello/Privet \
Alex,<div><br></div><div>I&#39;ll try to help you, since I am not too much familiar \
with the eMMC drivers in Coreboot. I bet there are none, but there must be BCT \
support as you outlined it:  <span style="font-size:12.8px"><i>&quot;Enable PCI mode \
for SCC devices&quot; (PcdSccEnablePciMode)&quot;</i>.</span></div><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I never \
tried to set eMMC on BayTrail on Coreboot (in fact, I never tried BayTrail with \
Coreboot, but I did try others&#39; companies Coreboot images on once upon a time \
BayleyBay Fab.3 E3826 (dual Core) CRB). But I did try all of (and more) what you are \
writing here with various INTEL and AMI BIOSes. It is off \
topic.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span \
style="font-size:12.8px">Here is what I did try on some other customized platform, \
using E3845 B3 and D0 steppings, and AMI BIOS. This is how I did setup with South \
Bridge, SCC controller:</span></div><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"><img \
src="cid:ii_156784f3a73ed4c5" alt="Inline image 1" width="473" \
height="181"><br></span></div><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Indeed, \
I was able to install Linux on eMMC (it was eMMC 5.0 compliant, 32GB size, paired \
with BYT-I as written above, which supports up to eMMC 4.51), namely Fedora 21 (if I \
recall correctly), and it worked seamlessly.</span></div><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">I \
admit, I never tried WIN, but I do know that there are special INTEL drivers \
developed for embedded WIN (for WEC 7 and WEC 2013). I am not sure if such amenities \
exist for WES 7 (indirectly for WIN 7), you should check these yourself:  <a \
href="http://www.intel.com/content/www/us/en/embedded/products/bay-trail/software-and-drivers.html" \
target="_blank">http://www.intel.com<wbr>/content/www/us/en/embedded/pr<wbr>oducts/bay-trail/software-and-<wbr>drivers.html</a></span></div><div><span \
style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Maybe \
you can find some WIN eMMC driver support on this site. At least I hope. Hope dies \
last. ;-)</span></div><div><span style="font-size:12.8px"><br></span></div><div><span \
style="font-size:12.8px">Hope this helps/nadejus6 eto pomozet,</span></div><div><span \
style="font-size:12.8px">Zoran</span></div></div><div><div><div \
class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 9, 2016 at 11:10 AM, szr \
<span dir="ltr">&lt;<a href="mailto:iszr@yandex.ru" \
target="_blank">iszr@yandex.ru</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex">Hello.<br> <br>
I have the board with Intel Baytrail E3845 and eMMC card v4.41, use coreboot 4.4, \
seabios 1.9.1. In PCI mode eMMC work, I can install and boot Ubuntu. The problem in \
Windows 8/10, which see card as &quot;removable&quot; disk, and therefore, do not \
allow to install on it.<br> <br>
Excuse me, I have the simple question. How switch the MMC controller to ACPI mode? If \
set &quot;Enable PCI mode for SCC devices&quot; (PcdSccEnablePciMode) = Disabled in \
BCT, a controller be lost in lspci, but system no detect a ACPI device (checked in \
Ubuntu).<br> <br>
I would be grateful for any help.<br>
<br>
Thanks,<br>
Alex.<br>
<span><font color="#888888"><br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" \
target="_blank">coreboot@coreboot.org</a><br> <a \
href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" \
target="_blank">https://www.coreboot.org/mailm<wbr>an/listinfo/coreboot</a><br> \
</font></span></blockquote></div><br></div> </div></div><br>--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" \
target="_blank">coreboot@coreboot.org</a><br> <a \
href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" \
target="_blank">https://www.coreboot.org/mailm<wbr>an/listinfo/coreboot</a><br></blockquote></div><br></div></div></div></div>
 <br>--<br>
coreboot mailing list: <a \
href="mailto:coreboot@coreboot.org">coreboot@coreboot.org</a><br> <a \
href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" \
target="_blank">https://www.coreboot.org/<wbr>mailman/listinfo/coreboot</a><br></blockquote></div><br></div>



["image.png" (image/png)]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic