eMMC Reset Line

1,308 views
Skip to first unread message

Christopher Stack

unread,
Oct 13, 2015, 5:41:01 PM10/13/15
to BeagleBoard
Hello,

I would like to disable the eMMC so I can use the additional GPIO lines. I was following these instructions as they were the most succinct I was able to find: https://github.com/modmaker/BeBoPr/wiki/BeBoPr-goes-Black. However I found that the rstn command is no longer supported. Looking at the U-boot code (I'm on the 2015.10.rc2 uboot) it appears that the rstn command has became rst-function and has been firewalled behind CONFIG_SUPPORT_EMMC_BOOT.

Is the best way for me to re-compile uboot with the CONFIG_SUPPORT_EMMC_BOOT (and where does it need to go?) Or am I going down the incorrect path?

Thanks,

Chris

Matthijs van Duin

unread,
Nov 1, 2015, 3:49:44 AM11/1/15
to BeagleBoard
I think you can also use mmc-utils from linux to enable the reset pin functionality in eMMC. Keep in mind this setting (ECSD byte 162, "RST_n_FUNCTION"), like disturbingly many of the eMMC's settings, is one-time-programmable. No margin for mistakes or second thoughts here :P  (Unlike the author of the article you linked to I'm personally quite glad these settings were left in virgin state since there are security implications to enabling the reset line.)

Note BTW that as long as you leave mmc_clk alone you can safely use the remaining pins for other purposes, so unless you really need that last pin too I would leave reset alone.

Matthijs van Duin

unread,
Nov 1, 2015, 3:58:59 AM11/1/15
to beagl...@googlegroups.com
On 1 November 2015 at 09:49, Matthijs van Duin <matthij...@gmail.com> wrote:
Note BTW that as long as you leave mmc_clk alone you can safely use the remaining pins for other purposes, so unless you really need that last pin too I would leave reset alone.

Or, if you can briefly use the mmc_clk and mmc_cmd lines during boot, you can command the eMMC enter inactive state (which makes it withdraw from the bus until next power-up). You can then freely use all mmc lines.

helloro...@gmail.com

unread,
Dec 19, 2017, 2:20:48 PM12/19/17
to BeagleBoard
I CAN DO IT

在 2015年10月14日星期三 UTC+8上午5:41:01,Christopher Stack写道:
Reply all
Reply to author
Forward
0 new messages