omap3beagle: register SD interface
This isn't complete, it needs a call to an mmc_init function that does
something like board-sdp-hsmmc.c does. This patch gives me:
mmci-omap mmci-omap.1: No Slots
during boot, which is progress
Signed-off-by: Koen Kooi <koen@openembedded.org>
new patch is at http://amethyst.openembedded.net/~koen/beagleboard/add-beagle-sd-support.diff
[1]
regards,
Koen
[1] All my mailers tend to damage patches, so I'm putting it online
SD support summary:
* http://beagleboard.googlecode.com/files/uImage -> not working
* http://www.beagleboard.org/uploads/2.6_kernel-beagle-rev2.tar.gz ->
not working
* linux-omap git + Dirks patches -> not working
* linux-omap git + Khasims patches -> not working
* linux-omap git + Khasims patches + my patch -> not working
* http://beagleboard.googlecode.com/files/u-boot.bin -> working
I'd rather not invest time in getting the 2.6.22 source working and
work with Khasim and Dirk to get 2.6.25 working.
regards,
Koen
PS: Steves patches are a nice inspiration as well:
http://www.sakoman.net/omap3/omap3evm-oe/user.collection/packages/linux/linux-omap3evm/
Ok, I'm officially an idiot. I used "" around an uboot var, which
linux doesn't like. So:
BAD: set bootargs "root=/dev/mmcblk0p2 rootdelay=5
console=ttyS2,115200n8 noinitrd rootfstype=ext2"
GOOD: set bootargs root=/dev/mmcblk0p2 rootdelay=10
console=ttyS2,115200n8 noinitrd rootfstype=ext2 ip=off
linux-omap git + Khasims patches + my patch:
mmc0: new SD card at address e624
mmcblk0: mmc0:e624 SD01G 992000KiB
mmcblk0: p1 p2
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 148K
Success!
sorry for wasting your time,
Koen