Option C: Install a custom OS on an original AWS DeepRacer device
If you own an original AWS DeepRacer device (Intel Atom-based), you can install a modern operating system using the developer bootloader shim. This option requires no hardware modifications, no soldering, and no additional purchases. The developer bootloader shim is based on the open-source shim project
The developer bootloader shim replaces the factory boot process and transfers control to your custom operating system. You can choose from three sub-options depending on your needs.
Developer mode security implications
Installing the developer bootloader shim places your device into developer mode, which disables the factory Secure Boot chain. In developer mode, the device boots only operating systems signed with certificates that you provide. We do not provide support for devices running in developer mode.
Option C1: Install the community distribution
The AWS DeepRacer Community
To install the community distribution, follow the instructions in the Installation section
Option C2: Install a third-party distribution
You can use the developer bootloader shim to install a third-party operating system (such as Ubuntu) on your AWS DeepRacer device.
To install a third-party distribution:
-
Download the developer bootloader shim
. -
Prepare the boot volume of the third-party OS.
-
Rename the original bootloader to
EFI/BOOT/GRUBX64.EFI. -
Replace the default
EFI/BOOT/BOOTX64.EFIfile with the developer bootloader shim. -
Place your public signing certificate in DER (Distinguished Encoding Rules) format in the
EFI/DEVELOPER/certs/directory. -
Sign the OS kernel and bootloader with your private key.
-
Boot the device from the prepared volume.
For detailed instructions, refer to the USAGE.md file included in the developer bootloader shim download.
Option C3: Build and install a custom OS
You can build and install a fully custom operating system on the original AWS DeepRacer device.
To build and install a custom OS:
-
Download the developer bootloader shim
. -
Create a boot volume with the following structure:
EFI/ ├── BOOT/ │ ├── BOOTX64.EFI (developer bootloader shim) │ └── GRUBX64.EFI (your OS kernel or bootloader) └── DEVELOPER/ └── certs/ └── your-cert.der (your public signing certificate) -
Place the developer bootloader shim as
EFI/BOOT/BOOTX64.EFI. -
Place your OS kernel or bootloader as
EFI/BOOT/GRUBX64.EFI. -
Place your public signing certificate in DER (Distinguished Encoding Rules) format in the
EFI/DEVELOPER/certs/directory. -
Sign your OS kernel with the corresponding private key.
-
Boot the device from the prepared volume.
For detailed instructions, refer to the USAGE.md file included in the developer bootloader shim download.
Getting started
To get started with any Option C sub-option:
-
Download the developer bootloader shim
. -
Extract the archive and review the
USAGE.mdfile for detailed instructions specific to your chosen sub-option.
Early boot sequence
When the developer bootloader shim starts, it blinks "DEVELOPER MODE" in Morse code on the device LEDs. This sequence takes approximately 21 seconds. After the Morse code sequence completes, the shim checks for valid certificates in /EFI/DEVELOPER/certs/. If a valid signed operating system is found, the shim transfers control to it.
Returning to original configuration
To restore your device to its original factory configuration, follow the directions in the Update and restore your vehicle chapter.
For more information about the developer bootloader shim, see Custom OS installation now available on AWS DeepRacer devices