Difference between revisions of "boot0"

From Rare Gaming Dump
m (Lavacakes moved page Boot0 to boot0: awesome)
m (Reverted edits by Mquin40440 (talk) to last revision by Lavacakes)
Tag: Rollback
 
(One intermediate revision by one other user not shown)
(No difference)

Latest revision as of 20:54, 21 May 2022

Wii.png This topic has a Wiibrew article. For more information, check here.

boot0 is the first-stage bootloader of the Wii, contained within a Mask ROM chip inside the Hollywood package. It is a very small piece of code which serves only to initialize the Wii's GPIOs, and to load and verify boot1. Since it is stored on Mask ROM, it cannot be modified.

Behavior

boot0 starts by initializing the Wii hardware, then reading the first pages of NAND (which are meant to contain boot1) and verifying them using the boot1 hash in the Wii's OTP. If the hash is mismatched, the system will halt. If the hash matches, the system will continue. If the OTP is blank, the system will continue.

This behavior prevents boot1 from being modified once the OTP is programmed (at the factory for normal retail systems).