* [U-Boot] MMC interfaces on AM335x
@ 2014-08-26 12:57 Andy Pont
0 siblings, 0 replies; 2+ messages in thread
From: Andy Pont @ 2014-08-26 12:57 UTC (permalink / raw)
To: u-boot
Hello,
I am working on a port of U-Boot to a custom hardware platform based on the
TI AM3354. According to the schematics from the hardware design company,
the AM3354 has a 4bit MMC interface (MMC0) which has been connected to a uSD
card connector.
There is a second interface (8bit) connected to GPMC signals which is
connected to a Micron eMMC device labelled as MMC1.
U-Boot and the Linux kernel will be stored in a separate SPI flash device
and the eMMC card will hold the root file system and the uSD card for
removable storage. Am I correct in thinking that if U-Boot boots with no
uSD card installed the eMMC device will be accessed as device 0 e.g.
U-Boot> fatload mmc 0 ...
but if it boots with a uSD card fitted then the eMMC device will be device
1, e.g.
U-Boot> fatload mmc 1 ...
Is there any way to force U-Boot always to map the eMMC device as device 0?
Thanks,
Andy.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] MMC interfaces on AM335x
[not found] <53fc8458.0b5ab40a.49d7.fffff9f5SMTPIN_ADDED_BROKEN@mx.google.com>
@ 2014-08-26 15:17 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2014-08-26 15:17 UTC (permalink / raw)
To: u-boot
On Tue, Aug 26, 2014 at 01:57:23PM +0100, Andy Pont wrote:
> Hello,
>
> I am working on a port of U-Boot to a custom hardware platform based on the
> TI AM3354. According to the schematics from the hardware design company,
> the AM3354 has a 4bit MMC interface (MMC0) which has been connected to a uSD
> card connector.
> There is a second interface (8bit) connected to GPMC signals which is
> connected to a Micron eMMC device labelled as MMC1.
>
> U-Boot and the Linux kernel will be stored in a separate SPI flash device
> and the eMMC card will hold the root file system and the uSD card for
> removable storage. Am I correct in thinking that if U-Boot boots with no
> uSD card installed the eMMC device will be accessed as device 0 e.g.
No. If you build with support for both MMC interfaces (and configure
them in U-Boot) then the first one is 0 and the second is 1, even if
there is no card inserted.
> U-Boot> fatload mmc 0 ...
>
> but if it boots with a uSD card fitted then the eMMC device will be device
> 1, e.g.
>
> U-Boot> fatload mmc 1 ...
>
> Is there any way to force U-Boot always to map the eMMC device as device 0?
Only by removing support for the SD slot. You're better off in this
case knowing that eMMC will always be 1.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140826/5e0631f4/attachment.pgp>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-08-26 15:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-26 12:57 [U-Boot] MMC interfaces on AM335x Andy Pont
[not found] <53fc8458.0b5ab40a.49d7.fffff9f5SMTPIN_ADDED_BROKEN@mx.google.com>
2014-08-26 15:17 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox