[U-Boot] [PATCH v7 2/3] mmc: meson: add MMC driver for Meson GX (S905)

Heiner Kallweit
2017-04-15T18:18:41Z

Am 15.04.2017 um 17:05 schrieb Andreas Färber:
> Am 14.04.2017 um 08:22 schrieb Jaehoon Chung:
>> On 04/13/2017 03:30 AM, Heiner Kallweit wrote:
>>> From: Carlo Caione <carlo@caione.org>
>>> This driver implements MMC support on Meson GX (S905) based systems.
>>> It's based on Carlo Caione's work, changes:
>>> - BLK support added
>>> - general refactoring
>>>
>>> Signed-off-by: Carlo Caione <carlo@caione.org>
>>> Signed-off-by: Andreas Färber <afaerber@suse.de>
>>> Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
>>
>> Applied to u-boot-mmc. Thanks!
>
> Thanks guys for all the work on this!
>
> I have tested it successfully on the Odroid-C2.
>
> But for the Vega S95 Telos I needed to disable the first of three MMC
> nodes (SDIO) - otherwise U-Boot would happily iterate over them for
> distro boot with Heinrich's patch, but GRUB would come up with no disks,
> so that booting failed. I'm not yet sure why, maybe it's a UEFI-side
> problem in that it is the first MMC device that is absent rather than
> the last one?
>
I don't own this device so I can just provide a guess.
Based on DT the device ordering most likely is:
mmc0: SDIO
mmc1: SD
mmc2: eMMC

I'm not familiar with distro boot, but as far as I understand Heinrich's
patch it just adds mmc0 and mmc1. Therefore distro boot doesn't try to
boot from eMMC.

Rgds, Heiner

> Regards,
> Andreas
>