XO Debugging tips

From OLPC
Revision as of 15:08, 4 August 2010 by Martinlanghoff (talk | contribs) (Created page with '=SD Card= ==Retrieve internal SD card manufacturer== From Linux find /sys -name oemid | xargs cat From OFW (Q3E49 and newer) ok select int:0 ok show-cid On older OFW tr…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SD Card

Retrieve internal SD card manufacturer

From Linux

find /sys -name oemid | xargs cat 

From OFW (Q3E49 and newer)

ok select int:0
ok show-cid

On older OFW try

ok dev /sd  patch get-cid get-csd attach-card  select int:0  " cid" $call-parent 10 dump

Interpreting the dump is not trivial. WMB dixit: "One of the fields is an enumerated hex number, another is a two-ascii character assigned ID (stored backwards), another is a 5-byte arbitrary ascii string (stored backwards), another is a BCD two-nibble version number, another is a 12-bit BCD code date, and another is a 4-byte serial number"