Leapster Explorer: Emerald Boot SD0 Autoboot

From eLinux.org
Revision as of 22:43, 28 July 2011 by Jrspruitt (Talk | contribs) (Partition SD Card)

Jump to: navigation, search

Summary

With the LeapPad Explorer SD replaced NAND as the storage medium of choice. The Emerald Boot and Madrid Boot (LeapPad) sources are basically parallel builds, you build both at the same time. With a little tweaking you can set up Emerald Boot to check the SD card in a cartridge on boot up, and if it contains a correctly formatted SD card, kernel, rootfs, etc it will boot off that, if not, it falls back to normal NAND booting. This is fairly similar to how the LeapPad works, except it checks SD1 instead. In theory this modification should work with the LeapPad also. As of this writing the LeapPad has not been released.

Prerequisites

UART Boot Emerald Boot (for testing, highly recommended)

Software Needed

LeapPad Explorer Sources (LF-Linux-2503-20110602-1237.tar.gz)

EB2.0.2 SD/UART Patch

Linux host PC

  • fdisk
  • mke2fs

kernel.cbf

HEALTH_AND_SAFETY.32.rle

rootfs/

Hardware Needed

Console Access

SD Card Cartridge

micro SD Card

Set up SD Card

Write Data to SD Card

For the screens and kernel, you'll need to write the data directly, for the rootfs, you'll be able to mount the SD card and copy the files and directories that way. Again be sure to double check everything, as these commands could have disastrous effects if aimed at the wrong places. In this example we will be using /dev/sdf as the device.

First to copy HEALTH_AND_SAFETY.32.rle to the screens partition:

dd if=HEALTH_AND_SAFETY.32.rle of=/dev/sdf1 bs=512

Then copy the kernel.cbf file to its partition:

dd if=kernel.cbf of=/dev/sdf2 bs=512

You should now be able to remount the SD Card and rootfs will automount on your host PC.

You can now copy the contents of your rootfs to the rootfs partition on the SD card.