Ticket #11844 (closed defect: fixed)

Opened 2 years ago

Last modified 23 months ago

XO-1 external SD card slot detection fails in tests, works with file access

Reported by: earias Owned by: Quozl
Priority: high Milestone:
Component: ofw - open firmware Version: Development firmware
Keywords: Cc: reuben, wmb
Action Needed: no action Verified: no
Deployments affected: Blocked By:
Blocking:

Description (last modified by Quozl) (diff)

With SD either present or absent, the external SD card slot test fails:

ok test ext:0
No card in SD slot
ok 

However filesystem access works fine.

The test should not fail if filesystem access is possible.

Change History

  Changed 2 years ago by earias

  • priority changed from normal to high

  Changed 2 years ago by Quozl

  • status changed from new to assigned
  • next_action changed from never set to add to build
  • description modified (diff)
  • version changed from 1.0 Hardware to Development firmware
  • milestone deleted
  • owner changed from quozl@… to Quozl

Thank you for your problem report.

Fixed by svn 2975, a missing external SD card will no longer halt the test.

Please test with http://dev.laptop.org/~quozl/q2f10jb.rom

Related ticket: #11612.

  Changed 2 years ago by earias

I have tested http://dev.laptop.org/~quozl/q2f10jb.rom.

Don't show error, but dont detect external sd card.

follow-up: ↓ 8   Changed 2 years ago by Quozl

Yes, certain SD cards are not detectable, in either Q2E45 or Q2F10. I have one here. Other SD cards work fine.

Please use the show-cid command in Q2F10 to obtain the manufacturing identity of the SD card, like this:

ok select ext:0
ok show-cid

This should print one line of text, please tell me what it says.

  Changed 2 years ago by earias

Correctly. The system detects external sd card only if you have disabled-security.

Can you generate q2f11 with #11612 solution?

  Changed 2 years ago by Quozl

  • status changed from assigned to closed
  • next_action changed from add to build to no action
  • resolution set to fixed

Q2F11 released.

  Changed 2 years ago by reuben

  • status changed from closed to reopened
  • resolution deleted

It's not clear why this was closed.

in reply to: ↑ 4   Changed 2 years ago by reuben

Replying to Quozl:

Yes, certain SD cards are not detectable, in either Q2E45 or Q2F10. I have one here. Other SD cards work fine. Please use the show-cid command in Q2F10 to obtain the manufacturing identity of the SD card, like this: {{{ ok select ext:0 ok show-cid }}} This should print one line of text, please tell me what it says.

There are thousands of USB and SD cards in use around the world. OFW should be able to detect the presence of them all; the customer should not have to identify each card, thousands, in use in their deployment.

  Changed 2 years ago by reuben

  • cc reuben added

  Changed 23 months ago by reuben

  • cc wmb added

Test using q2e41:

-Insert SD Card -run test /sd -No result displayed - Assume Pass

-Remove SD Card -run test /sd -"No Card Inserted Displayed" displayed

-Insert SD Card -Boot XO run automatic full tests -Test /pci/sd@c,1 -No result displayed - Assume Pass

Switch to q2f11:

-Insert (SAME) SD Card -Launch Graphic Test Menu using left rocker -Switch to SD -testing ext:0 -No Card Inserted

-Remove SD Card -Launch Graphic Test Menu using left rocker -Switch to SD -testing ext:0 -No Card Inserted Displayed

-Insert SD Card -Boot XO run automatic full tests -testing ext:0 Displayed -No Card Inserted

The perception from the team at Ceibal is that when the Graphical test menu was back ported to the XO -1 the SD port mapping was not changed correctly.

  Changed 23 months ago by wmb@…

svn 2990 seems to improve the situation. It fixes a problem that is specific to the SDHCI hardware implementation on XO-1, in which it is necessary to turn on some enable bits before the card insertion bits become visible.

  Changed 23 months ago by Quozl

  • next_action changed from no action to test in build

reviewed and tested svn 2990. reuben, please test build http://dev.laptop.org/~quozl/q2f11jc.rom

  Changed 23 months ago by Quozl

Any update?

  Changed 23 months ago by reuben

Waiting for testing.

  Changed 23 months ago by reuben

Tested okay by earias

  Changed 23 months ago by Quozl

  • next_action changed from test in build to add to release
  • description modified (diff)
  • summary changed from Firmware q2f10: Hardware Test: SD shows error. to XO-1 external SD card slot detection fails in tests, works with file access

Thanks, will be in next release.

Adjusted ticket summary and description to match what has been learned.

  Changed 23 months ago by Quozl

  • status changed from reopened to closed
  • next_action changed from add to release to no action
  • resolution set to fixed

Is in Q2F12.

Note: See TracTickets for help on using tickets.