Look at the Raspberry Pi website. Look at the source codes and read the material on that site.
You will find the details on both the SD card format, and the code format.
↧