123456789101112131415161718192021222324252627282930313233343536373839404142 |
- # Minimal SD card image for the OrangePi R1
- #
- image boot.vfat {
- vfat {
- files = {
- "zImage",
- "sun8i-h2-plus-orangepi-r1.dtb",
- "boot.scr"
- }
- }
- size = 10M
- }
- image sdcard.img {
- hdimage {
- # for root=PARTLABEL support
- gpt = true
- # default GPT location conflicts with spl, move it after
- gpt-location = 1M
- }
- partition u-boot {
- in-partition-table = "no"
- image = "u-boot-sunxi-with-spl.bin"
- offset = 8192
- size = 1056768 # 1MB - 8192 + 16384 (GPT)
- }
- partition boot {
- partition-type = 0xC
- bootable = "true"
- image = "boot.vfat"
- }
- # 'rootfs' will be used as the partition label, used
- # with root=PARTLABEL=rootfs kernel command line
- partition rootfs {
- partition-type = 0x83
- image = "rootfs.ext4"
- size = 512M
- }
- }
|