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:

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/products/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