From: David F. <dav...@ya...> - 2004-09-08 22:04:57
|
Robert, I thought you had a MMC card that did not work? The SD will not work in linux yet (ever?). David. --- Bouwens / Mehl <bou...@bl...> wrote: > Hi David, > > I inserted a sd card ... it simply works. > Cut&Paste: > GUM> mmcinit > *********************************************** > * SD found. Card desciption is: * > * MID = 19 OID=DY * > * Revision = 00.00 * > * Product Name = SMISD * > * Serial Number = 0000c270 * > * Month = 6 Year = 2004 > * > *********************************************** > CSD_STRUCTURE = 0, MMC_PROT=0 > TAAC=7f (80000000ns), NSAC=0 > TRAN = 32 (25000000bps) > CCC=1f5, READ_BL_LEN=9 (512) > C_SIZE=f27, C_SIZE_MULT=4 (64) > TOTAL SD SIZE=127107072 > GUM> > > Hmm, and what do we do now? > > Regards > Robert > -----Original Message----- > From: > gum...@li... > [mailto:gum...@li...]On > Behalf Of David Farrell > Sent: Dienstag, 7. September 2004 17:09 > To: gum...@li... > Subject: RE: [Gumstix-users] Secure Digital > Enabled u-boot > > > Robert, > I am using the new board. I have 200MHZ with > bluetooth but I am running > it at 400MHZ (I don't advise anyone to do > this). So the code is for > 400MHZ. > > To safely try it use u-boot to load it to > ram. > > GUM>loadb 0xa2000000 > (use hypertermial to send it using kermit) > > When the uplaod completes: > GUM>go 0xa2000000 > > This will run the new u-boot without changing > the existing u-boot in > flash. > Now insert you MMC/SD card and type "mmcinit" > Let me know what is says when it reports card > info. > > Linux may not work for you MMC yet. > > David. > > > > > > Bouwens / Mehl <bou...@bl...> > wrote: > Hi David, > > I don't have a JTAG device so just a > question. > For which board is you patched u-boot > binary? > > I have a new mmc card which is not > recognozed by u-boot 1.1.1 > So your work might be very helpfull. > It just depends on the gumstix youre using. > Below the command to update the u-boot > partion of the flash. > (copied from a previous mail) > Regards > > Robert > > 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) > > reboot > > -----Original Message----- > From: > gum...@li... > [mailto:gum...@li...]On > Behalf Of David Farrell > Sent: Dienstag, 7. September 2004 05:29 > To: gumstix > Subject: [Gumstix-users] Secure Digital > Enabled u-boot > > > Craig, > Attached is a u-boot binary which > contains support for Secure Digital > and MMC memory cards. This image > corrects several errors with the > origional 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 fake > partition 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 the > above 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 > diff > that the sources. > > David. > |