Skip to content

LNH-team/dspico-bootloader

Repository files navigation

DSpico Bootloader

This is the repository for the DSpico Bootloader. It is a small NDS rom that initializes the DSpico and uses Pico Loader to boot the nds file at fat:/_picoboot.nds.

Setup & configuration

We recommend using WSL (Windows Subsystem for Linux), or MSYS2 to compile this repository. The steps provided will assume you already have one of those environments set up.

  1. Install BlocksDS.
  2. To be able to use this bootloader, compile Pico Loader and place the files on your SD card.
  3. Place the rom to boot on the root of your SD card as _picoboot.nds.

Compiling

  1. Compile the bootloader by running make
  2. Patch BOOTLOADER.nds with the DSpico DLDI driver using dlditool:
    • dlditool DSpico.dldi BOOTLOADER.nds
  3. Prepare BOOTLOADER.nds for use on a cartridge using DSRomEncryptor:
    • DSRomEncryptor BOOTLOADER.nds BOOTLOADER.nds
    • Note that this requires the ntr and twl blowfish keys (see also the readme of DSRomEncryptor) and .NET 9.0
  4. Rename BOOTLOADER.nds to default.nds and place it in the roms folder of the DSpico Firmware
  5. Compile the DSpico Firmware and flash it to the DSpico

License

This software is licensed under the zlib license.

Additional licenses may apply to the project.

For details, see the license directory, as well as LICENSE.txt.

Contributors

About

Bootloader for the DSpico.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages