[TRE-2700] Support hal and tizen core image 41/259241/2 accepted/tizen/unified/20210610.022619 submit/tizen/20210610.013454
authorJaehoon Chung <jh80.chung@samsung.com>
Thu, 3 Jun 2021 02:22:08 +0000 (11:22 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 9 Jun 2021 09:21:30 +0000 (18:21 +0900)
Add hal image into BOOT image.
Consist of below image :
* Each targets have
- kernel
- bootloader
- module
- hal-backend

* Create core image (Tizen Common Platform) :
- tizen-haeded-aarch64
- tizen-headed-arvm7l
- tizen-headless-aarch64
- tizen-headless-armv7l

Change-Id: I4e112e35f30505ee697c8f851020a38a332f7db2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
18 files changed:
common-targets.yaml
common.yaml
ks/tizen-boot-arm64-rpi3.yaml
ks/tizen-boot-arm64-rpi4.yaml
ks/tizen-boot-armv7l-artik530.yaml
ks/tizen-boot-armv7l-rpi3.yaml
ks/tizen-boot-armv7l-rpi4.yaml
ks/tizen-headed-aarch64.yaml [new file with mode: 0644]
ks/tizen-headed-armv7l.yaml [new file with mode: 0644]
ks/tizen-headless-aarch64.yaml [new file with mode: 0644]
ks/tizen-headless-armv7l.yaml [new file with mode: 0644]
partitions/common-artik-mbr-boot
partitions/common-mbr-boot
patterns/iot-adaptation-headless.yaml [new file with mode: 0644]
patterns/iot-adaptation.yaml [new file with mode: 0644]
patterns/iot-hal-backend-artik530.yaml [new file with mode: 0644]
patterns/iot-hal-backend-rpi3.yaml [new file with mode: 0644]
patterns/iot-hal-base.yaml [new file with mode: 0644]

index 50f11425a138bb95af646894912f968449ecbd69..a540d301fc7cf43af1ca0dfdb2bff8a6d85a56d9 100644 (file)
@@ -13,6 +13,10 @@ Targets:
             - tizen-headless-2parts-armv7l-btrfs-rootfs-rpi.yaml
             - tizen-headless-2parts-aarch64-btrfs-rootfs-rpi.yaml
             - tizen-boot-arm64-amlogic.yaml
+            - tizen-headed-armv7l.yaml
+            - tizen-headless-armv7l.yaml
+            - tizen-headed-aarch64.yaml
+            - tizen-headless-aarch64.yaml
 
     -   Name: emulator
         Images:
index 241fb95f8b2c54d7e031a3c691c09448d9964cee..378ae7087e42a01f6763116b15ceffc7dafbf970 100644 (file)
@@ -25,6 +25,8 @@ Boot-Artik530:
     UserGroups: "audio,video"
     Groups:
         - IoT Boot Artik 530
+    PostScripts:
+        - iot-hal-backend
     Repos: []
 
 Boot-Artik533s:
@@ -53,6 +55,8 @@ Boot-RPi3:
     UserGroups: "audio,video"
     Groups:
         - IoT Boot RPi3
+    PostScripts:
+        - iot-hal-backend
     Repos: []
 
 Boot-RPi3-32Bit:
@@ -62,6 +66,8 @@ Boot-RPi3-32Bit:
     UserGroups: "audio,video"
     Groups:
         - IoT Boot RPi3 32Bit
+    PostScripts:
+        - iot-hal-backend
     Repos: []
 
 Boot-RPi4:
@@ -71,6 +77,8 @@ Boot-RPi4:
     UserGroups: "audio,video"
     Groups:
         - IoT Boot RPi4
+    PostScripts:
+        - iot-hal-backend
     Repos: []
 
 Boot-RPi4-32Bit:
@@ -80,6 +88,8 @@ Boot-RPi4-32Bit:
     UserGroups: "audio,video"
     Groups:
         - IoT Boot RPi4 32Bit
+    PostScripts:
+        - iot-hal-backend
     Repos: []
 
 Boot-Amlogic:
@@ -115,6 +125,7 @@ Tizen IoT:
         - iot-making-building-blocks-dll
         - generic-depmod
         - common-cleanup-directory
+        - common-hal-directory-check
     Repos: []
     NoChrootScripts:
         - buildname
index f9bf4c36cdae731baa2e38fb3862bc114398e095..27b33723fd5f42cd0baf9df5b658bff9eaf3e887 100644 (file)
@@ -6,6 +6,10 @@ Platform: Boot-RPi3
 Part: common-mbr-boot
 Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz
 FileName: tizen-boot-arm64-rpi3
-Group: IoT Boot RPi3
+Groups:
+- IoT Boot RPi3
+- IoT Hal Base
+- IoT Hal Backend RPI3
 Repos:
 - unified-standard
+- base-standard
index f98eece2310f8ecb862c3855575eb35355d8d1d5..d771b8b70c5ca74b48deaba0aa1c0f979b675829 100644 (file)
@@ -6,6 +6,10 @@ Platform: Boot-RPi4
 Part: common-mbr-boot
 Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz
 FileName: tizen-boot-arm64-rpi4
-Group: IoT Boot RPi4
+Groups:
+- IoT Boot RPi4
+- IoT Hal Base
+- IoT Hal Backend RPI3
 Repos:
 - unified-standard
+- base-standard
index 56d008fc16728320e9e366f89400985805f1d1ac..00c4c16015e86415975bc44309ab51cc1d0370eb 100644 (file)
@@ -6,7 +6,10 @@ Platform: Boot-Artik530
 Part: common-artik-mbr-boot
 Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
 FileName: tizen-boot-armv7l-artik530
-Group: IoT Boot Artik 530
+Groups:
+- IoT Boot Artik 530
+- IoT Hal Base
+- IoT Hal Backend ARTIK530
 Attachment:
     - /boot/u-boot/bootloader.img
     - /boot/u-boot/params.bin
@@ -15,3 +18,4 @@ Attachment:
     - /boot/s5p4418-artik530-raptor-rev03.dtb
 Repos:
     - unified-standard
+    - base-standard
index 9a2b055595b3ec09c8599ee2fdcfd963b5d3d17c..f568c5f04dfc3419e37cb07da8dc2dc1acce00e7 100644 (file)
@@ -6,6 +6,10 @@ Platform: Boot-RPi3-32Bit
 Part: common-mbr-boot
 Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
 FileName: tizen-boot-armv7l-rpi3
-Group: IoT Boot RPi3 32Bit
+Groups:
+- IoT Boot RPi3 32Bit
+- IoT Hal Base
+- IoT Hal Backend RPI3
 Repos:
 - unified-standard
+- base-standard
index 78d5189cb96d27f9ef41079f9bb7ccb245c01728..d4f759bf40b61f51de6a8982aa09b51a12c07015 100644 (file)
@@ -6,6 +6,10 @@ Platform: Boot-RPi4-32Bit
 Part: common-mbr-boot
 Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
 FileName: tizen-boot-armv7l-rpi4
-Group: IoT Boot RPi4 32Bit
+Groups:
+- IoT Boot RPi4 32Bit
+- IoT Hal Base
+- IoT Hal Backend RPI3
 Repos:
 - unified-standard
+- base-standard
diff --git a/ks/tizen-headed-aarch64.yaml b/ks/tizen-headed-aarch64.yaml
new file mode 100644 (file)
index 0000000..05b9ad4
--- /dev/null
@@ -0,0 +1,16 @@
+Name: tizen-headed-aarch64
+Architecture: aarch64
+Schedule: "*"
+Active: True
+Platform: Tizen IoT
+Part: btrfs-rootfs-3parts-ramdisk-recovery
+Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz
+FileName: tizen-headed-aarch64
+Repos:
+    - unified-standard
+    - base-standard
+Groups:
+    - IoT Headed Base
+    - IoT Adaptation COMMON
+NoChrootScripts:
+    - backup-data
diff --git a/ks/tizen-headed-armv7l.yaml b/ks/tizen-headed-armv7l.yaml
new file mode 100644 (file)
index 0000000..f7e8449
--- /dev/null
@@ -0,0 +1,16 @@
+Name: tizen-headed-armv7l
+Architecture: armv7l
+Schedule: "*"
+Active: True
+Platform: Tizen IoT
+Part: common-3parts-ramdisk-recovery
+Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
+FileName: tizen-headed-armv7l
+Repos:
+    - unified-standard
+    - base-standard
+Groups:
+    - IoT Headed Base
+    - IoT Adaptation COMMON
+NoChrootScripts:
+    - backup-data
diff --git a/ks/tizen-headless-aarch64.yaml b/ks/tizen-headless-aarch64.yaml
new file mode 100644 (file)
index 0000000..cc03639
--- /dev/null
@@ -0,0 +1,16 @@
+Name: tizen-headless-aarch64
+Architecture: aarch64
+Schedule: "*"
+Active: True
+Platform: Tizen IoT
+Part: btrfs-rootfs-2parts-ramdisk-recovery
+Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz
+Language: C
+FileName: tizen-headless-aarch64
+Repos:
+    - unified-standard
+    - base-standard
+Groups:
+    - IoT Adaptation COMMON Headless
+NoChrootScripts:
+    - backup-data
diff --git a/ks/tizen-headless-armv7l.yaml b/ks/tizen-headless-armv7l.yaml
new file mode 100644 (file)
index 0000000..fa596b3
--- /dev/null
@@ -0,0 +1,16 @@
+Name: tizen-headless-armv7l
+Architecture: armv7l
+Schedule: "*"
+Active: True
+Platform: Tizen IoT
+Part: btrfs-rootfs-2parts-ramdisk-recovery
+Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz
+Language: C
+FileName: tizen-headless-armv7l
+Repos:
+    - unified-standard
+    - base-standard
+Groups:
+    - IoT Adaptation COMMON Headless
+NoChrootScripts:
+    - backup-data
index 33b1650860aeb5ddc3cf4d8cd5492aebce15a8bf..87257f3bf2cdf619f41f60066605ad0764173b06 100644 (file)
@@ -1 +1,2 @@
 part /lib/modules --fstype="ext4" --size=25 --ondisk=mmcblk0 --active --label modules --fsoptions=defaults,noatime
+part /hal --fstype="ext4" --size=64 --ondisk=mmcblk0 --active --label hal --fsoptions=defaults,noatime
index 66dcfb554973b178eff21262eba56d6666cbfeef..1d0f8d96d6ecf8f7a6e21b47312c88c804b01bfb 100644 (file)
@@ -1,2 +1,3 @@
 part /boot --fstype="vfat" --size=64 --ondisk=mmcblk0 --active --label boot --fsoptions=defaults,noatime
 part /lib/modules --fstype="ext4" --size=20 --ondisk=mmcblk0 --active --label modules --fsoptions=defaults,noatime
+part /hal --fstype="ext4" --size=64 --ondisk=mmcblk0 --active --label hal --fsoptions=defaults,noatime
diff --git a/patterns/iot-adaptation-headless.yaml b/patterns/iot-adaptation-headless.yaml
new file mode 100644 (file)
index 0000000..b3c67a1
--- /dev/null
@@ -0,0 +1,5 @@
+Summary: IoT Adaptation COMMON Headless
+Description: IoT Adaptation COMMON Headless
+Name: iot-adaptation-common-headless
+Packages:
+- building-blocks-sub1-Preset_img_headless-common
diff --git a/patterns/iot-adaptation.yaml b/patterns/iot-adaptation.yaml
new file mode 100644 (file)
index 0000000..650b729
--- /dev/null
@@ -0,0 +1,5 @@
+Summary: IoT Adaptation COMMON
+Description: IoT Adaptation COMMON
+Name: iot-adaptation-common
+Packages:
+- building-blocks-sub1-Preset_img_headed-common
diff --git a/patterns/iot-hal-backend-artik530.yaml b/patterns/iot-hal-backend-artik530.yaml
new file mode 100644 (file)
index 0000000..e20d5d4
--- /dev/null
@@ -0,0 +1,5 @@
+Summary: IoT Hal Backend ARTIK530
+Description: IoT Hal Backend ARTIK530
+Name: iot-hal-backend-artik530
+Packages:
+- building-blocks-sub1-Preset_boards-ARTIK530_HAL_Backend
diff --git a/patterns/iot-hal-backend-rpi3.yaml b/patterns/iot-hal-backend-rpi3.yaml
new file mode 100644 (file)
index 0000000..0eaf087
--- /dev/null
@@ -0,0 +1,5 @@
+Summary: IoT Hal Backend RPI3
+Description: IoT Hal Backend RPI3
+Name: iot-hal-backend-rpi3
+Packages:
+- building-blocks-sub1-Preset_boards-RPI3_HAL_Backend
diff --git a/patterns/iot-hal-base.yaml b/patterns/iot-hal-base.yaml
new file mode 100644 (file)
index 0000000..a36419e
--- /dev/null
@@ -0,0 +1,10 @@
+Summary: IoT Hal Base
+Description: IoT Hal Base
+Name: iot-hal-base
+Packages:
+- rpm
+- package-groups
+- xmlstarlet
+- tizen-release
+- gawk
+- sed