[TRE-2729] Add VIM3 and C4 hal.img image 25/259625/1 accepted/tizen/unified/20210611.013634 submit/tizen/20210611.012138
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 10 Jun 2021 04:22:14 +0000 (13:22 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Thu, 10 Jun 2021 08:48:16 +0000 (17:48 +0900)
Add  iot-hal-backend-vim3.yaml and iot-hal-backend-c4.yaml files
for VIM3/C4 hal.img.

- iot-hal-backend-vim3.yaml for VIM3 hal.img
and then the created hal.img will be added to tizen-boot-arm64-vim3.

- iot-hal-backend-c4.yaml for C4 hal.img
and then the created hal.img will be added to tizen-boot-arm64-c4.

Change-Id: Ibd690945723c2584093d38e60227a4a3a72d6a1c
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
common.yaml
ks/tizen-boot-arm64-c4.yaml
ks/tizen-boot-arm64-vim3.yaml
partitions/common-amlogic-mbr-boot
patterns/iot-hal-backend-c4.yaml [new file with mode: 0644]
patterns/iot-hal-backend-vim3.yaml [new file with mode: 0644]
scripts/iot-hal-backend.post

index 1a761a90b4daaa4c015a58799dbd987e87ecd370..1a617ec94ef2f2cd34a5d27c601e6dcb06142731 100644 (file)
@@ -99,6 +99,8 @@ Boot-VIM3:
     UserGroups: "audio,video"
     Groups:
         - IoT Boot VIM3
+    PostScripts:
+        - iot-hal-backend
     Repos: []
 
 Boot-C4:
@@ -108,6 +110,8 @@ Boot-C4:
     UserGroups: "audio,video"
     Groups:
         - IoT Boot C4
+    PostScripts:
+        - iot-hal-backend
     Repos: []
 
 Tizen IoT:
index 865371a6064be8125d3297cc33bbd1e03e58ad86..499f1aade4ae1fc020aa9669da1e75ebd5ccefdd 100644 (file)
@@ -6,9 +6,13 @@ Platform: Boot-C4
 Part: common-amlogic-mbr-boot
 Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz
 FileName: tizen-boot-arm64-c4
-Group: IoT Boot C4
+Groups:
+- IoT Boot C4
+- IoT Hal Base
+- IoT Hal Backend C4
 Attachment:
 - /var/tmp/u-boot-amlogic/u-boot-c4.bin
 - /var/tmp/u-boot-amlogic/u-boot-n2.bin
 Repos:
 - unified-standard
+- base-standard
index cf22273c13925b6912a95243bfe7a00396d5cfbf..2bb19001b2ce6c0a03736917e497162a7fce766c 100644 (file)
@@ -6,9 +6,13 @@ Platform: Boot-VIM3
 Part: common-amlogic-mbr-boot
 Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz
 FileName: tizen-boot-arm64-vim3
-Group: IoT Boot VIM3
+Groups:
+- IoT Boot VIM3
+- IoT Hal Base
+- IoT Hal Backend VIM3
 Attachment:
 - /var/tmp/u-boot-amlogic/u-boot-vim3.bin
 - /var/tmp/u-boot-amlogic/u-boot-vim3l.bin
 Repos:
 - unified-standard
+- base-standard
index 7ee1d0d981b78c05af2a814915c06cd6b39120eb..1fafa8ba5992861490a3e18710f02ae4575a0273 100644 (file)
@@ -1,2 +1,3 @@
 part /boot --fstype="vfat" --size=128 --ondisk=mmcblk0 --active --label boot --fsoptions=defaults,noatime
 part /lib/modules --fstype="ext4" --size=100 --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-hal-backend-c4.yaml b/patterns/iot-hal-backend-c4.yaml
new file mode 100644 (file)
index 0000000..c835b9c
--- /dev/null
@@ -0,0 +1,5 @@
+Summary: IoT Hal Backend C4
+Description: IoT Hal Backend C4
+Name: iot-hal-backend-c4
+Packages:
+- building-blocks-sub1-Preset_boards-C4_HAL_Backend
diff --git a/patterns/iot-hal-backend-vim3.yaml b/patterns/iot-hal-backend-vim3.yaml
new file mode 100644 (file)
index 0000000..fd15403
--- /dev/null
@@ -0,0 +1,5 @@
+Summary: IoT Hal Backend VIM3
+Description: IoT Hal Backend VIM3
+Name: iot-hal-backend-vim3
+Packages:
+- building-blocks-sub1-Preset_boards-VIM3_HAL_Backend
index a111a504daf517b594649ae3639093aca760b60d..60f1adac1af96fb0cfe6fc648e4ec7041edf4309 100644 (file)
@@ -86,7 +86,7 @@ create_backend_dependency_file() {
 }
 
 #Supported Target's list
-TARGET=("RPI3" "ARTIK530");
+TARGET=("RPI3" "ARTIK530" "VIM3" "C4");
 
 PKGGROUP=`/usr/bin/rpm -qa | /bin/grep package-groups`
 if [ $PKGGROUP ]; then
@@ -105,6 +105,12 @@ if [ $PKGGROUP ]; then
        ARTIK530)
                BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend ARTIK530"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
        ;;
+       VIM3)
+               BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend VIM3"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
+       ;;
+       C4)
+               BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend C4"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
+       ;;
        esac
 
        /usr/bin/mkdir -p /hal/list/