Skip to content

Instantly share code, notes, and snippets.

@kid1412-net
Last active December 1, 2015 10:54
Show Gist options
  • Save kid1412-net/ddea91b698b8f0a523fb to your computer and use it in GitHub Desktop.
Save kid1412-net/ddea91b698b8f0a523fb to your computer and use it in GitHub Desktop.
SD Card Test

Command Line

cd /sys/class/mmc_host/mmc?/mmc?:*

echo -e "cid:$(cat cid) \ncsd:$(cat csd) \ndate:$(cat date) \nfwrev:$(cat fwrev) \nhwrev:$(cat hwrev) \nmanfid:$(cat manfid) \nname:$(cat name) \noemid:$(cat oemid) \nscr:$(cat scr) \nserial:$(cat serial)"

References

Some logs

cid:035344534c3332478028e9cae800eb00 
csd:400e00325b590000edc87f800a404000 
date:11/2014 
fwrev:0x0 
hwrev:0x8 
manfid:0x000003 
name:SL32G 
oemid:0x5344 
scr:0235800100000000 
serial:0x28e9cae8


cid:035344535530344780068b2e1b00c400 
csd:400e00325b5900001d8a7f800a404000 
date:04/2012 
fwrev:0x0 
hwrev:0x8 
manfid:0x000003 
name:SU04G 
oemid:0x5344 
scr:0235800100000000 
serial:0x068b2e1b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment