From: rhgadsdon@gmail.com (Robert Gadsdon)
To: linus-amlogic@lists.infradead.org
Subject: [PATCH 0/2] Add support for Amlogic Meson MMC controller
Date: Fri, 20 May 2016 19:28:02 -0700 [thread overview]
Message-ID: <573FC7B2.8040606@gmail.com> (raw)
In-Reply-To: <20160520193443.GA17269@mephisto>
On 05/20/2016 12:34 PM, Carlo Caione wrote:
> On 20/05/16 11:58, Robert Gadsdon wrote:
>> On 05/20/2016 01:07 AM, Carlo Caione wrote:
>>> On 20/05/16 08:27, Carlo Caione wrote:
>>>> On 19/05/16 21:51, Robert Gadsdon wrote:
>>>>> Applied this on my Odroid C2, and it worked OK when installed on the
>>>>> SDcard, but failed when installed on the eMMC module:
>>> Oh, reading this again you meant that you put u-boot directly on the
>>> eMMC? Ok then, something is wrong when using the driver with the eMMC.
>>>
>>> Yes, I installed it directly on the eMMC, using the micro-sd adapter,
>>> and following the same instructions as for the SDcard..
> Could you try with this patch?
>
> diff --git a/board/hardkernel/odroid-c2/odroid-c2.c
> b/board/hardkernel/odroid-c2/odroid-c2.c
> index 34b9a95..ab78328 100644
> --- a/board/hardkernel/odroid-c2/odroid-c2.c
> +++ b/board/hardkernel/odroid-c2/odroid-c2.c
> @@ -80,6 +80,11 @@ U_BOOT_DEVICE(meson_mmc) = {
> .platdata = &gxbb_sd_platdata[CONFIG_MMC_MESON_SD_PORT],
> };
>
> +U_BOOT_DEVICE(meson_emmc) = {
> + .name = "meson_mmc",
> + .platdata = &gxbb_sd_platdata[2],
> +};
> +
> static void meson_mmc_pinmux_setup(unsigned int port)
> {
> switch (port) {
>
> Thanks,
Patch applied, and now the eMMC is detected OK:
=> mmc info
Device: <NULL>
Manufacturer ID: 15
OEM: 100
Name: BGND3
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.0
High Capacity: Yes
Capacity: 29.1 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 29.1 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
... And I can load/boot the Kernel (as far as the /dev/mmc... prompt..)
Thanks!
Robert Gadsdon.
WARNING: multiple messages have this Message-ID (diff)
From: Robert Gadsdon <rhgadsdon@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 0/2] Add support for Amlogic Meson MMC controller
Date: Fri, 20 May 2016 19:28:02 -0700 [thread overview]
Message-ID: <573FC7B2.8040606@gmail.com> (raw)
In-Reply-To: <20160520193443.GA17269@mephisto>
On 05/20/2016 12:34 PM, Carlo Caione wrote:
> On 20/05/16 11:58, Robert Gadsdon wrote:
>> On 05/20/2016 01:07 AM, Carlo Caione wrote:
>>> On 20/05/16 08:27, Carlo Caione wrote:
>>>> On 19/05/16 21:51, Robert Gadsdon wrote:
>>>>> Applied this on my Odroid C2, and it worked OK when installed on the
>>>>> SDcard, but failed when installed on the eMMC module:
>>> Oh, reading this again you meant that you put u-boot directly on the
>>> eMMC? Ok then, something is wrong when using the driver with the eMMC.
>>>
>>> Yes, I installed it directly on the eMMC, using the micro-sd adapter,
>>> and following the same instructions as for the SDcard..
> Could you try with this patch?
>
> diff --git a/board/hardkernel/odroid-c2/odroid-c2.c
> b/board/hardkernel/odroid-c2/odroid-c2.c
> index 34b9a95..ab78328 100644
> --- a/board/hardkernel/odroid-c2/odroid-c2.c
> +++ b/board/hardkernel/odroid-c2/odroid-c2.c
> @@ -80,6 +80,11 @@ U_BOOT_DEVICE(meson_mmc) = {
> .platdata = &gxbb_sd_platdata[CONFIG_MMC_MESON_SD_PORT],
> };
>
> +U_BOOT_DEVICE(meson_emmc) = {
> + .name = "meson_mmc",
> + .platdata = &gxbb_sd_platdata[2],
> +};
> +
> static void meson_mmc_pinmux_setup(unsigned int port)
> {
> switch (port) {
>
> Thanks,
Patch applied, and now the eMMC is detected OK:
=> mmc info
Device: <NULL>
Manufacturer ID: 15
OEM: 100
Name: BGND3
Tran Speed: 52000000
Rd Block Len: 512
MMC version 5.0
High Capacity: Yes
Capacity: 29.1 GiB
Bus Width: 8-bit
Erase Group Size: 512 KiB
HC WP Group Size: 8 MiB
User Capacity: 29.1 GiB WRREL
Boot Capacity: 4 MiB ENH
RPMB Capacity: 4 MiB ENH
... And I can load/boot the Kernel (as far as the /dev/mmc... prompt..)
Thanks!
Robert Gadsdon.
next prev parent reply other threads:[~2016-05-21 2:28 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-12 12:41 [PATCH 0/2] Add support for Amlogic Meson MMC controller Carlo Caione
2016-05-12 12:41 ` [U-Boot] " Carlo Caione
2016-05-12 12:41 ` [PATCH 1/2] mmc: Add Amlogic Meson driver Carlo Caione
2016-05-12 12:41 ` [U-Boot] " Carlo Caione
2016-05-13 13:46 ` Kevin Hilman
2016-05-13 13:46 ` [U-Boot] " Kevin Hilman
2016-05-13 13:53 ` Carlo Caione
2016-05-13 13:53 ` [U-Boot] " Carlo Caione
2016-05-13 16:07 ` Kevin Hilman
2016-05-13 16:07 ` [U-Boot] " Kevin Hilman
2016-08-07 15:49 ` Andreas Färber
2016-08-07 15:49 ` Andreas Färber
2016-08-04 6:48 ` [U-Boot,1/2] " Jaehoon Chung
2016-08-04 6:48 ` [U-Boot] " Jaehoon Chung
2016-05-12 12:41 ` [PATCH 2/2] arm: amlogic: Enable MMC driver on Odroid-C2 Carlo Caione
2016-05-12 12:41 ` [U-Boot] " Carlo Caione
2016-05-20 4:51 ` [PATCH 0/2] Add support for Amlogic Meson MMC controller Robert Gadsdon
2016-05-20 4:51 ` [U-Boot] " Robert Gadsdon
2016-05-20 6:27 ` Carlo Caione
2016-05-20 6:27 ` [U-Boot] " Carlo Caione
2016-05-20 8:07 ` Carlo Caione
2016-05-20 8:07 ` [U-Boot] " Carlo Caione
2016-05-20 18:58 ` Robert Gadsdon
2016-05-20 18:58 ` [U-Boot] " Robert Gadsdon
2016-05-20 19:34 ` Carlo Caione
2016-05-20 19:34 ` [U-Boot] " Carlo Caione
2016-05-21 2:28 ` Robert Gadsdon [this message]
2016-05-21 2:28 ` Robert Gadsdon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=573FC7B2.8040606@gmail.com \
--to=rhgadsdon@gmail.com \
--cc=linus-amlogic@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.