diff --git a/Recovery/board/funkey/rootfs-overlay/usr/local/sbin/sched_shutdown b/Recovery/board/funkey/rootfs-overlay/usr/local/sbin/sched_shutdown new file mode 100755 index 0000000..d555501 --- /dev/null +++ b/Recovery/board/funkey/rootfs-overlay/usr/local/sbin/sched_shutdown @@ -0,0 +1,5 @@ +#!/bin/sh + +# No waiting period in Recovery + +shutdown_funkey diff --git a/genimage-prod.cfg b/genimage-prod.cfg new file mode 100644 index 0000000..07ea9e0 --- /dev/null +++ b/genimage-prod.cfg @@ -0,0 +1,65 @@ +config { +} + +image sdcard-prod.img { + hdimage { + gpt = true + gpt-location = 800K + } + +# partition gpt-header { +# in-partition-table = "no" +# offset = 1K +# size = 512 +# } + + partition u-boot { + in-partition-table = "no" + image = "Recovery/output/images/u-boot-sunxi-with-spl.bin" + offset = 8K + size = 536K # 544KB - 8KB + } + + partition u-boot-env { + in-partition-table = "no" + offset = 544K + size = 128K + image = "Recovery/output/images/u-boot-env-prod.img" + } + +# partition gpt-table { +# in-partition-table = "no" +# offset = 800K +# size = 16K +# } + + partition Recovery { + offset = 1M + partition-type = 0x83 + image = "Recovery/output/images/rootfs.ext4" + size = 100M + } + + partition FunKey { + offset = 101M + partition-type = 0x83 + bootable = "yes" + image = "FunKey/output/images/rootfs.ext4" + size = 100M # This will be resized to 1G during first boot + } + +# These partitions will be created during first boot +# partition swap { +# offset = 1.01G +# partition-type = 0xC +# bootable = "false" +# size = 128M +# } +# +# partition share { +# offset = 1.138G +# partition-type = 0xC +# bootable = "false" +# size = 0 # Fill in the disk up to its full size +# } +}