Ticket #164 (closed defect: fixed)

Opened 6 years ago

Last modified 5 years ago

improve non-SanDisk microSD support in u-boot

Reported by: laforge@… Owned by: werner@…
Priority: highest Milestone:
Component: u-boot Version: current svn head
Severity: major Keywords:
Cc: buglog@… Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: PatchReviewResult:
Reproducible:

Description

u-boots mmc/sd code currently doesn't deal with many different vendors/cards
(see https://wiki.openmoko.org/wiki/Supported_microSD_cards).

Thus, we need to find thos interoperability bugs and get all cards working that
we can find.

Change History

comment:1 Changed 6 years ago by laforge@…

  • Owner changed from laforge@… to werner@…

reassigning this to werner

comment:2 Changed 6 years ago by laforge@…

  • Milestone set to Phase 1

comment:3 Changed 6 years ago by werner@…

  • Status changed from new to assigned

Went shopping and got four hitherto untested cards (512MB Kingston, Toshiba,
Corsair, and vox-fon), all of them failing in more or less spectacular ways
(which is good as far as debugging is concerned). Updated
https://wiki.openmoko.org/wiki/Supported_microSD_cards

comment:4 Changed 6 years ago by mickey@…

any news on that?

comment:5 Changed 6 years ago by jluebbe@…

I've tested a Kingston 1GB card, which works ok with 2.6.20.4-moko8.

<6>s3c2410-sdi s3c2410-sdi: powered down.
<6>s3c2410-sdi s3c2410-sdi: initialisation done.
<6>s3c2410-sdi s3c2410-sdi: running at 0kHz (requested: 0kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 99kHz (requested: 98kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 99kHz (requested: 98kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 99kHz (requested: 98kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 99kHz (requested: 98kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 99kHz (requested: 98kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 99kHz (requested: 98kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 99kHz (requested: 98kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 99kHz (requested: 98kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 12666kHz (requested: 25000kHz).
<6>s3c2410-sdi s3c2410-sdi: running at 12666kHz (requested: 25000kHz).
<6>mmcblk0: mmc0:6b1f SD01G 1006080KiB
<6> mmcblk0: p1

comment:6 Changed 6 years ago by laforge@…

Jan: This bug is about u-boot, not the kernel ;)

In any case: Please add the kingston card to
https://wiki.openmoko.org/wiki/Supported_microSD_cards once you've tested
reading/writing.

comment:7 Changed 6 years ago by werner@…

Alas, no news yet. It's getting pushed back by other things :-(
My current plan is to implement a bit-banging microSD driver,
and once this one works, figure out what's wrong in the one
using the higher-level protocol support in the uC.

comment:8 Changed 6 years ago by laforge@…

  • Status changed from assigned to closed
  • Resolution set to fixed

fixed in svn rev. 1915

comment:9 Changed 5 years ago by anonymous

  • Milestone Phase 1 deleted

Milestone Phase 1 deleted

Note: See TracTickets for help on using tickets.