summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2017-08-23 14:44:15 +0200
committerPawel Wieczorek <p.wieczorek2@samsung.com>2017-08-23 15:08:52 +0200
commit75a339d1028f67b93d6026e00c2d5f568cd18f8b (patch)
treee16350d19d775af4696ce978030a1c86f6dc459c
parent8d44a5318c61d44cce1bdfdae4f06e7cf5493acb (diff)
downloadmeta-75a339d1028f67b93d6026e00c2d5f568cd18f8b.tar.gz
meta-75a339d1028f67b93d6026e00c2d5f568cd18f8b.tar.bz2
meta-75a339d1028f67b93d6026e00c2d5f568cd18f8b.zip
[TRE-1467] Add initrd-recovery to RPi3 IoT Core
Change-Id: If70a2e0e5bf14eab015fae46996939dce7d564dd Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
-rw-r--r--ks/common-iot_core-2parts-armv7l-rpi3.yaml2
-rw-r--r--partitions/common-mbr-2parts-rpi3-ramdisk-recovery4
-rwxr-xr-xpatterns/common-adaptation-rpi3-iot_core.yaml5
3 files changed, 9 insertions, 2 deletions
diff --git a/ks/common-iot_core-2parts-armv7l-rpi3.yaml b/ks/common-iot_core-2parts-armv7l-rpi3.yaml
index 14baa49..0cdbdfa 100644
--- a/ks/common-iot_core-2parts-armv7l-rpi3.yaml
+++ b/ks/common-iot_core-2parts-armv7l-rpi3.yaml
@@ -3,7 +3,7 @@ Architecture: armv7l
Schedule: "*"
Active: True
Platform: RPi3 IoT Core
-Part: common-mbr-2parts-rpi3-ramdisk
+Part: common-mbr-2parts-rpi3-ramdisk-recovery
Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
Language: C
FileName: common-iot_core-2parts-armv7l-rpi3
diff --git a/partitions/common-mbr-2parts-rpi3-ramdisk-recovery b/partitions/common-mbr-2parts-rpi3-ramdisk-recovery
new file mode 100644
index 0000000..c7fc772
--- /dev/null
+++ b/partitions/common-mbr-2parts-rpi3-ramdisk-recovery
@@ -0,0 +1,4 @@
+part / --size=200 --ondisk mmcblk0p --fstype=ext4 --label=rootfs --extoptions="-J size=16"
+part /opt/ --size=100 --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"
diff --git a/patterns/common-adaptation-rpi3-iot_core.yaml b/patterns/common-adaptation-rpi3-iot_core.yaml
index 8971281..482d71c 100755
--- a/patterns/common-adaptation-rpi3-iot_core.yaml
+++ b/patterns/common-adaptation-rpi3-iot_core.yaml
@@ -71,4 +71,7 @@ Packages:
- avahi-libs
- avahi
#From TRE-1470
-- building-blocks-sub2-domain_API-AppFramework-TPK_Installation \ No newline at end of file
+- building-blocks-sub2-domain_API-AppFramework-TPK_Installation
+#From TRE-1467
+- initrd-recovery
+- system-recovery-non_gui