copy Uboot.bin to MMC
power up gumstix with MMC installed and get to Uboot prompt.
initialize MMC (mmcinit)
load Uboot image into RAM @ a2000000 (fatload mmc 1 a2000000 uboot.bin)
unprotect sector 0 of flash (protect off 0)
erase sector 0 of flash: (era 1:0)
copy image from RAM to flash (cp.b a2000000 0 $(filesize))
protect sector 0 (protect on 0)
From: email@example.com [mailto:firstname.lastname@example.org]On Behalf Of David Farrell
Sent: Dienstag, 7. September 2004 05:29
Subject: [Gumstix-users] Secure Digital Enabled u-bootCraig,Attached is a u-boot binary which contains support for Secure Digitaland MMC memory cards. This image corrects several errors with theorigional plus adds SD.mmcinit now 100% 1st time all MMC cards I have, please test more..card size is read and passed to fat fs no 32MB fakepartition table detected and 1st active passed to fat fs (not tested)boot sector read to determine 1st actual sector.Linux 2.6.9 seems to init the mmc card on its own, so most of theabove is useless for linux. Next I will try to patch the kernel driver.How do I diff against the repository? I would rather send you the diffthat the sources.David.