All of lore.kernel.org
 help / color / mirror / Atom feed
From: "chuck kamas" <chuckkamas@yahoo.com>
To: yocto@lists.yoctoproject.org
Subject: Raspberry PI enabling MMC1
Date: Mon, 16 Nov 2020 23:42:45 -0800	[thread overview]
Message-ID: <61df164e-fa3a-7517-33e8-db8ef0c8af92@yahoo.com> (raw)
In-Reply-To: 61df164e-fa3a-7517-33e8-db8ef0c8af92.ref@yahoo.com

Hi all,


I have been spinning my wheels for two days trying to discover how to 
enable MMC1 on a CM3. This is the one on GPIO22-27. I can boot Rasbian 
on the CM3 and it inits the MMC1 and its pins just fine. I can 
read/write to my SD card from it etc. However, when I build yocto it 
leaves the GPIOS22-27 in gpio mode and does not set them to MMC1 mode.  
I have tried changing the device tree as described here:

https://stackoverflow.com/questions/44702426/how-to-setup-an-own-device-tree-for-a-raspberrypi-in-yocto

That compiles and add the .dtbo to my build, but still the GPIOS are not 
set to MMC1 mode.

> cat /sys/kernel/debug/pinctrl/*gpio*/pinmux-pins
> Pinmux settings per pin
> Format: pin (name): mux_owner gpio_owner hog?
> ....
>
> pin 22 (gpio22): (MUX UNCLAIMED) (GPIO UNCLAIMED)
> pin 23 (gpio23): (MUX UNCLAIMED) (GPIO UNCLAIMED)
> pin 24 (gpio24): (MUX UNCLAIMED) (GPIO UNCLAIMED)
> pin 25 (gpio25): (MUX UNCLAIMED) (GPIO UNCLAIMED)
> pin 26 (gpio26): (MUX UNCLAIMED) (GPIO UNCLAIMED)
> pin 27 (gpio27): (MUX UNCLAIMED) (GPIO UNCLAIMED)
>
> .....
>
I have looked at:

https://ralimtek.com/raspberry%20pi/electronics/software/raspberry_pi_secondary_sd_card/


Any ideas of where to look next to turn on the sdio would be appreciated!


Chuck



       reply	other threads:[~2020-11-17  7:42 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <61df164e-fa3a-7517-33e8-db8ef0c8af92.ref@yahoo.com>
2020-11-17  7:42 ` chuck kamas [this message]
2020-11-17  8:08   ` [yocto] Raspberry PI enabling MMC1 Khem Raj
2020-11-18  0:29     ` chuck kamas
2020-11-18  0:29     ` chuck kamas
2020-11-18  0:29     ` chuck kamas
2020-11-18  0:29     ` chuck kamas
2020-11-20 17:52       ` Khem Raj
     [not found]     ` <16488BC657DA2093.23836@lists.yoctoproject.org>
2020-11-19  3:59       ` chuck kamas
2020-11-19  3:59       ` chuck kamas
     [not found]       ` <1648CCC040C7B594.8629@lists.yoctoproject.org>
2020-11-19  4:32         ` chuck kamas
2020-11-19  4:32         ` chuck kamas
2020-11-20 12:22           ` Erik Boto
2020-12-02  0:50             ` chuck kamas
2020-11-20 12:22           ` Erik Boto

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=61df164e-fa3a-7517-33e8-db8ef0c8af92@yahoo.com \
    --to=chuckkamas@yahoo.com \
    --cc=yocto@lists.yoctoproject.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.