Difference between revisions of "Bootloader"

From 3dbrew
Jump to navigation Jump to search
(4 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
* 0 Seconds - unit is powered on bootrom begins execution
 
* 0 Seconds - unit is powered on bootrom begins execution
  
* 2 Seconds - bootrom attempts to initialize the NAND. If the NAND is successfully initialized, the bootrom launches the firmware loaded from the NAND [[FIRM]] partition which handles booting the rest of the system. If the NAND cannot be initialized, (i.e. the NAND chip is not connected/damaged etc) a blue error screen similar to the screen above appears.
+
* 2 Seconds - bootrom attempts to initialize the NAND. If the NAND is successfully initialized, the bootrom loads the firmware stored in the NAND [[FIRM]] partition which handles booting the rest of the system. The ARM11 kernel loaded from FIRM then launches the [[NCCH#CXI|CXI]] ARM11 system modules loaded from FIRM.(Note that the ARM11 kernel does not handle any encryption/RSA verification, this is handled by the [[FIRM|ARM9]]) If the NAND cannot be initialized, (i.e. the NAND chip is not connected/damaged etc) a blue error screen similar to the screen above appears.
  
* 3 Seconds - all essential hardware is active - [[NS]] loads the [[Shared_Registers#REG_ACTIVEMENUTID|current active menu]], for retail units this is usually the [[Home Menu]].
+
* 3 Seconds - all essential hardware is active. The [[Process_Manager_Services|PM]] module launches [[NS]], [[NS]] then launches [[ErrDisp]] and the [[Configuration Memory#ACTIVEMENUTID|current active menu]] via PM module. For retail units this menu is usually the [[Home Menu]]. NS will [[NS|auto-boot]] titles instead of launching ErrDisp/Home Menu, if auto-booting is needed. Note that PM module first launches the module dependencies when launching a process, prior to actually launching the process.
  
 
* 4 Seconds - the LCD screens are initialized
 
* 4 Seconds - the LCD screens are initialized
  
 
* 7 Seconds - [[Home Menu]] is fully initialized/loaded
 
* 7 Seconds - [[Home Menu]] is fully initialized/loaded

Revision as of 04:52, 4 May 2013

When the 3DS does not find the NAND chip, the following error is displayed:

CTR Bootrom Error.jpg

The 3DS' Boot procedure:

  • 0 Seconds - unit is powered on bootrom begins execution
  • 2 Seconds - bootrom attempts to initialize the NAND. If the NAND is successfully initialized, the bootrom loads the firmware stored in the NAND FIRM partition which handles booting the rest of the system. The ARM11 kernel loaded from FIRM then launches the CXI ARM11 system modules loaded from FIRM.(Note that the ARM11 kernel does not handle any encryption/RSA verification, this is handled by the ARM9) If the NAND cannot be initialized, (i.e. the NAND chip is not connected/damaged etc) a blue error screen similar to the screen above appears.
  • 3 Seconds - all essential hardware is active. The PM module launches NS, NS then launches ErrDisp and the current active menu via PM module. For retail units this menu is usually the Home Menu. NS will auto-boot titles instead of launching ErrDisp/Home Menu, if auto-booting is needed. Note that PM module first launches the module dependencies when launching a process, prior to actually launching the process.
  • 4 Seconds - the LCD screens are initialized
  • 7 Seconds - Home Menu is fully initialized/loaded