summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2017-11-13 15:52:16 +0100
committerMaciej Wereski <m.wereski@partner.samsung.com>2017-11-13 15:52:16 +0100
commit7723d26eb847b5c95a0b27f3a9326d4fd3a69dd9 (patch)
tree67634e2e35cbf5b53670dff2b992fa0484f113f4
parente276524350a016a77b5ebe06118df1faff440e27 (diff)
downloadmeta-7723d26eb847b5c95a0b27f3a9326d4fd3a69dd9.tar.gz
meta-7723d26eb847b5c95a0b27f3a9326d4fd3a69dd9.tar.bz2
meta-7723d26eb847b5c95a0b27f3a9326d4fd3a69dd9.zip
[TRE-1743] Add ramdisk-recovery partition to ARTIK imagessubmit/tizen/20171113.150711accepted/tizen/unified/20171114.132334
Change-Id: I67cac0f871522a79a2f6f4ed5af9f9a55af6e92e Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
-rw-r--r--ks/iot-headed-3parts-armv7l-artik530_710.yaml2
-rw-r--r--ks/iot-headless-2parts-armv7l-artik530_710.yaml2
-rw-r--r--partitions/common-3parts-ramdisk-recovery5
-rw-r--r--partitions/common-mbr-2parts-artik530_710-ramdisk-recovery (renamed from partitions/common-mbr-2parts-artik530_710-ramdisk)1
4 files changed, 8 insertions, 2 deletions
diff --git a/ks/iot-headed-3parts-armv7l-artik530_710.yaml b/ks/iot-headed-3parts-armv7l-artik530_710.yaml
index e2ea3d6..e10a39c 100644
--- a/ks/iot-headed-3parts-armv7l-artik530_710.yaml
+++ b/ks/iot-headed-3parts-armv7l-artik530_710.yaml
@@ -3,7 +3,7 @@ Architecture: armv7l
Schedule: "*"
Active: True
Platform: Tizen IoT
-Part: common-3parts-ramdisk
+Part: common-3parts-ramdisk-recovery
Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
FileName: iot-headed-3parts-armv7l-artik530_710
Repos:
diff --git a/ks/iot-headless-2parts-armv7l-artik530_710.yaml b/ks/iot-headless-2parts-armv7l-artik530_710.yaml
index ab9fdda..1974037 100644
--- a/ks/iot-headless-2parts-armv7l-artik530_710.yaml
+++ b/ks/iot-headless-2parts-armv7l-artik530_710.yaml
@@ -3,7 +3,7 @@ Architecture: armv7l
Schedule: "*"
Active: True
Platform: Tizen IoT
-Part: common-mbr-2parts-artik530_710-ramdisk
+Part: common-mbr-2parts-artik530_710-ramdisk-recovery
Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
Language: C
FileName: iot-headless-2parts-armv7l-artik530_710
diff --git a/partitions/common-3parts-ramdisk-recovery b/partitions/common-3parts-ramdisk-recovery
new file mode 100644
index 0000000..5f7a6fb
--- /dev/null
+++ b/partitions/common-3parts-ramdisk-recovery
@@ -0,0 +1,5 @@
+part / --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label rootfs --fsoptions=defaults,noatime
+part /opt --fstype="ext4" --size=512 --ondisk=mmcblk0 --label system-data --fsoptions=defaults,noatime
+part /opt/usr --fstype="ext4" --size=3500 --ondisk=mmcblk0 --label user --fsoptions=defaults,noatime
+part /mnt/initrd --size=7 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024"
+part /mnt/initrd-recovery --size=12 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"
diff --git a/partitions/common-mbr-2parts-artik530_710-ramdisk b/partitions/common-mbr-2parts-artik530_710-ramdisk-recovery
index acfaa8d..7cf032c 100644
--- a/partitions/common-mbr-2parts-artik530_710-ramdisk
+++ b/partitions/common-mbr-2parts-artik530_710-ramdisk-recovery
@@ -1,3 +1,4 @@
part / --size=1000 --ondisk mmcblk0p --fstype=ext4 --label=rootfs --extoptions="-J size=16"
part /opt/ --size=512 --ondisk mmcblk0p --fstype=ext4 --label=system-data --extoptions="-m 0"
part /mnt/initrd --size=7 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk --extoptions="-b 1024"
+part /mnt/initrd-recovery --size=12 --ondisk mmcblk0p --fstype=ext4 --label=ramdisk-recovery --extoptions="-b 1024 -O ^has_journal"