...
These commands are just for reference if you intend to reverse-engineer their work step by step.
Unless you have the source code of sgminer and the firmware, it is pointless to issue the same commands as you don't have the same files.
Isn't the firmware in the flashcard that is used? The sgminer code may also be in that since it would be impractical to embed permanently into a rom, don't you think? Anyone have any experience with this?