mirror of
https://github.com/FunKey-Project/FunKey-OS.git
synced 2026-03-19 02:12:41 +01:00
recovery build
Signed-off-by: Michel-FK <michel.stempin@funkey-project.com>
This commit is contained in:
@@ -1,54 +0,0 @@
|
||||
image sdcard.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 = "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 = "u-boot-env.img"
|
||||
}
|
||||
|
||||
# partition gpt-table {
|
||||
# in-partition-table = "no"
|
||||
# offset = 800K
|
||||
# size = 16K
|
||||
# }
|
||||
|
||||
partition rootfs_alt {
|
||||
offset = 1M
|
||||
partition-type = 0x83
|
||||
image = "rootfs.ext4"
|
||||
size = 100M
|
||||
}
|
||||
|
||||
partition rootfs {
|
||||
offset = 101M
|
||||
partition-type = 0x83
|
||||
bootable = "yes"
|
||||
image = "rootfs.ext4"
|
||||
size = 100M
|
||||
}
|
||||
|
||||
# partition share {
|
||||
# offset = 1G
|
||||
# partition-type = 0xC
|
||||
# bootable = "false"
|
||||
# size = 0
|
||||
# }
|
||||
}
|
||||
@@ -13,6 +13,3 @@ rm -f ${TARGET_DIR}/etc/init.d/S01syslogd ${TARGET_DIR}/etc/init.d/S02klogd
|
||||
|
||||
# Change dropbear init sequence
|
||||
mv ${TARGET_DIR}/etc/init.d/S50dropbear ${TARGET_DIR}/etc/init.d/S42dropbear
|
||||
|
||||
# Generate U-Boot environment
|
||||
${HOST_DIR}/bin/mkenvimage -p 0x0 -s 0x20000 -o ${BINARIES_DIR}/u-boot-env.img ${TARGET_DIR}/etc/u-boot.env
|
||||
|
||||
Reference in New Issue
Block a user