To Enable MMC2 in U-boot

117 views
Skip to first unread message

Dileep D R

unread,
Aug 29, 2015, 8:03:26 AM8/29/15
to BeagleBoard
Hi,

I am trying to enable MMC2 in U-boot. Below are my changes in U-boot source.

File: board.c
Function : cpu_mmc_init
Added : omap_mmc_init(2, 0, 0, -1, -1);

File: mmc_host_def.h
Added : #define OMAP_HSMMC3_BASE 0x47810100

File: clock_am33xx.c
Function : enable_basic_clocks
Added : &cmper->mmc2clkctrl, ---> u32 *const clk_modules_explicit_en[];

when booted i am getting:

U-Boot 2015.10-rc2-00179-g79c884d-dirty (Aug 29 2015 - 09:26:57 +0000)

Watchdog enabled
I2C: ready
DRAM: 512 MiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1, OMAP SD/MMC: 2
Card did not respond to voltage select!
MMC init failed
Net: <ethaddr> not set. Validating first E-fuse MAC
cpsw, usb_ether
Hit any key to stop autoboot: 0


Regards,
Dileep

Maxim Podbereznyy

unread,
Aug 29, 2015, 1:40:16 PM8/29/15
to beagleboard

Pin mux

29 Авг 2015 г. 15:03 пользователь "Dileep D R" <drdil...@gmail.com> написал:
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

s...@ara-ler.com

unread,
Jun 13, 2016, 7:51:24 PM6/13/16
to BeagleBoard
There is something else to set up, pin mux by itself doesn't help

On Saturday, August 29, 2015 at 11:40:16 AM UTC-6, lisarden wrote:

Pin mux

Reply all
Reply to author
Forward
0 new messages