Skip to content

Forked from smaeul/sun20i_d1_spl , add ability to boot program read from sd card

Notifications You must be signed in to change notification settings

cs107e/sdcard_boot_spl

Repository files navigation

To build a bootable SD card

Step 1: Build spl-mmc binary (there is a compiled binary in repo, can skip build and use our version as-is)

$ make CROSS_COMPILE=riscv64-unknown-elf- p=sun20iw1p1 mmc

Step 2: Format SD card with FAT 32 filesystem.

Step 3: Write mmc image to boot sector of SD card. We have a script to do this (works for macOS only).

$ jz-write-bootsector.sh

See README-sdcard.txt for rest of instructions about using the SD card for boot.

About

Forked from smaeul/sun20i_d1_spl , add ability to boot program read from sd card

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •