summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.yaml4
-rw-r--r--ks/tizen-boot-arm64-c4.yaml6
-rw-r--r--ks/tizen-boot-arm64-vim3.yaml6
-rw-r--r--partitions/common-amlogic-mbr-boot1
-rw-r--r--patterns/iot-hal-backend-c4.yaml5
-rw-r--r--patterns/iot-hal-backend-vim3.yaml5
-rw-r--r--scripts/iot-hal-backend.post8
7 files changed, 32 insertions, 3 deletions
diff --git a/common.yaml b/common.yaml
index 1a761a9..1a617ec 100644
--- a/common.yaml
+++ b/common.yaml
@@ -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:
diff --git a/ks/tizen-boot-arm64-c4.yaml b/ks/tizen-boot-arm64-c4.yaml
index 865371a..499f1aa 100644
--- a/ks/tizen-boot-arm64-c4.yaml
+++ b/ks/tizen-boot-arm64-c4.yaml
@@ -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
diff --git a/ks/tizen-boot-arm64-vim3.yaml b/ks/tizen-boot-arm64-vim3.yaml
index cf22273..2bb1900 100644
--- a/ks/tizen-boot-arm64-vim3.yaml
+++ b/ks/tizen-boot-arm64-vim3.yaml
@@ -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
diff --git a/partitions/common-amlogic-mbr-boot b/partitions/common-amlogic-mbr-boot
index 7ee1d0d..1fafa8b 100644
--- a/partitions/common-amlogic-mbr-boot
+++ b/partitions/common-amlogic-mbr-boot
@@ -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
index 0000000..c835b9c
--- /dev/null
+++ b/patterns/iot-hal-backend-c4.yaml
@@ -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
index 0000000..fd15403
--- /dev/null
+++ b/patterns/iot-hal-backend-vim3.yaml
@@ -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
diff --git a/scripts/iot-hal-backend.post b/scripts/iot-hal-backend.post
index a111a50..60f1ada 100644
--- a/scripts/iot-hal-backend.post
+++ b/scripts/iot-hal-backend.post
@@ -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/