Ticket #1395 (closed enhancement: community)

Opened 11 years ago

Last modified 2 years ago


Reported by: openmoko@… Owned by: openmoko-kernel@…
Priority: high Milestone:
Component: u-boot Version: current svn head
Severity: minor Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:


Would be nice to have u-boot support SDHC-Cards.


SampleOutputOfMMCInit.txt (527 bytes) - added by openmoko@… 11 years ago.
Sample output of mmcinit for a Kingston-4GB-SDHC-card

Change History

Changed 11 years ago by openmoko@…

Sample output of mmcinit for a Kingston-4GB-SDHC-card

comment:1 Changed 11 years ago by andy

It does support them for GTA02 / Glamo SD interface.

comment:2 Changed 11 years ago by roh

i think this can be considered 'working' quite some time.

did a quick test with freerunner prototype 85 and a sandisk 4gb microsd:

root@om-gta02:/media/card# fdisk -l /dev/mmcblk0

Disk /dev/mmcblk0: 4075 MB, 4075290624 bytes
126 heads, 62 sectors/track, 1018 cylinders
Units = cylinders of 7812 * 512 = 3999744 bytes

Device Boot Start End Blocks Id System

/dev/mmcblk0p1 1 1018 3976277 83 Linux

root@om-gta02:/media/card# df -h /dev/mmcblk0p1
Filesystem Size Used Available Use% Mounted on
/dev/mmcblk0p1 3.7G 18.2M 3.5G 1% /media/card

in my case the card is ext2 formated

but thats only valid inside a booted linux kernel.

for uboot i fear this is a wontfix since a sdhc card can still be booted via kernel in flash, and fs on sdhc

comment:3 Changed 11 years ago by andy

  • Status changed from new to closed
  • Resolution set to community

I added support for SDHC on Glamo SD in U-Boot some months ago and tested it on a 4GB Sandisk SDHC card I bought. Unlike Linux U-Boot doesn't have a protocol stack concept, so it only applies to the GTA02 driver.

Also, at that time ext2 support in U-Boot simply didn't work, you have to currently make a VFAT partition initially to hold the uImage.bin so U-Boot can parse the FS. With that done SDHC boot is fine on GTA02 (on my large sample population of 1 card, anyway).

For me, adding support for SDHC in GTA01 is a WONTFIX though, but if someone else in interested they should diff the protocol parts of the Glamo MCI driver and the s3c one in U-Boot and bring the changes over. That being the case I will close this with the new figleaf "community" (while kinda expecting this very act may spark someone to actually do it ;-) )

comment:4 Changed 2 years ago by Chassmetly

Proscar Yahoo Propecia <a href=http://viag1.xyz/order-cheap-viagra.php>Order Cheap Viagra</a> El Cialis No Me Hace Efecto Buy Propecia In Uk <a href=http://kama1.xyz/kamagra-pill.php>Kamagra Pill</a> Keflex Sinus Infection Priligy Generico En Venezuela <a href=http://levitra.ccrpdc.com/cheap-levitra-online.php>Cheap Levitra Online</a> Acheter Vrai Viagra En Ligne En Antibes Buy Nolvadex Tamoxifen Uk <a href=http://zoloft.ccrpdc.com/cheap-zoloft-no-rx.php>Cheap Zoloft No Rx</a> Viagra With Out Prescription Propecia En Ligne France <a href=http://kama1.xyz/cheap-kamagra-uk.php>Cheap Kamagra Uk</a> Cheap Alternative To Effexor No Perscription Diflucan <a href=http://cial5mg.xyz/order-cialis.php>Order Cialis</a> Liquid Amoxicillin For Kittens Propecia Edema <a href=http://kama1.xyz/cheap-kamagra-uk.php>Cheap Kamagra Uk</a> How Can You Last Longer Amoxicillin Company <a href=http://viag1.xyz/best-generic-viagra.php>Best Generic Viagra</a> Isotretinoin price Buy Accutane 5 Mg Online Usa <a href=http://xenical.ccrpdc.com/order-alli.php>Order Alli</a> Canadian Pharmacies Selling Avodart Progesterone Store <a href=http://cial1.xyz/where-to-buy-cialis.php>Where To Buy Cialis</a> Zithromax Suspension Dosage Average Dose Of Amoxicillin <a href=http://cial5mg.xyz/buy-generic-cialis-online.php>Buy Generic Cialis Online</a> Viagra Senza Ricetta Come Cialis Generico A Cosa Serve <a href=http://cial1.xyz/cialis-free-offer.php>Cialis Free Offer</a> Anuncios De Kamagra Propecia Generic Vs Brand <a href=http://cial1.xyz/buy-tadalafil-online.php>Buy Tadalafil Online</a> Mix Klonopin With Cephalexin Comprar Cialis En Andalucia <a href=http://cial5mg.xyz/need-to-order-cialis.php>Need To Order Cialis</a> Prezzo Kamagra 100 Comprar Viagra Cialis Foro <a href=http://cial1.xyz/buy-cialis-online-usa.php>Buy Cialis Online Usa</a> Where Can I Buy Doryx Tulsa

Note: See TracTickets for help on using tickets.