Difference between revisions of "Hardware/SEEPROM"

From WiiBrew
Jump to navigation Jump to search
m (Robot: Cosmetic changes)
Line 5: Line 5:
 
                         u32 ms_id;
 
                         u32 ms_id;
 
                         u32 ca_id;
 
                         u32 ca_id;
                         u32 ng_id;
+
                         u32 ng_key_id;
 
                         u8 ng_sig[60];  
 
                         u8 ng_sig[60];  
 
                         u16 counters[5];
 
                         u16 counters[5];

Revision as of 14:48, 30 June 2010

Photo courtesy of Flylogic

The Hollywood package contains a 93C56 (or similar) SPI EEPROM, organized as 128 16-byte words. It is accessed by twiddling some of the Starlet GPIO lines. Most of the data here is written once at the factory and never changed, but some fields are updated fairly frequently.

               struct {
                       u32 ms_id;
                       u32 ca_id;
                       u32 ng_key_id;
                       u8 ng_sig[60]; 
                       u16 counters[5];
                       u16 fill[5];
                       u16 counters2[3];
                       u8 korean_key[16];
               };
   fixme: there should be a checksum and a SFFS generation number in here somewhere, too

[check]