AM:UpdateFirmwareAuto

From 3dbrew
(Redirected from AM:InstallNATIVEFIRM)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x040F0000]

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

Same as AM:UpdateFirmwareTo except the titleID used here is loaded by AM module with AMPXI:GetTitleList, this titleID is NATIVE_FIRM. The titleID used here is the first titleID from the loaded title-list which is a CTR system title, where uniqueID=0. After obtaining this titleID, AM module then uses command AMPXI:GetTitleInfo, the titleID-low and title-version from this are then compared with data stored in Configuration Memory. If these title-info checks fail, AM module will return result-code 0xD8A083FA. The AMPXI:InstallFIRM command is only used if these title-info checks pass.