summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.yaml2
-rw-r--r--ks/tizen-boot-riscv64-vf2.yaml4
-rw-r--r--patterns/iot-hal-backend-vf2.yaml6
-rw-r--r--scripts/iot-hal-backend.post6
4 files changed, 13 insertions, 5 deletions
diff --git a/common.yaml b/common.yaml
index 57f4946..62603c9 100644
--- a/common.yaml
+++ b/common.yaml
@@ -119,6 +119,8 @@ Boot-VisionFive2:
SaveRepos: False
UserGroups: "audio,video"
Groups: []
+ PostScripts:
+ - iot-hal-backend
Repos: []
Boot-QEMU-RISC-V:
diff --git a/ks/tizen-boot-riscv64-vf2.yaml b/ks/tizen-boot-riscv64-vf2.yaml
index 2a8b62f..26d87d8 100644
--- a/ks/tizen-boot-riscv64-vf2.yaml
+++ b/ks/tizen-boot-riscv64-vf2.yaml
@@ -3,11 +3,13 @@ Architecture: riscv64
Schedule: "*"
Active: True
Platform: Boot-VisionFive2
-Part: common-mbr-boot-without-hal
+Part: common-mbr-boot
Mic2Options: -A riscv64 -f loop --pack-to=@NAME@.tar.gz
FileName: tizen-boot-riscv64-vf2
Groups:
- IoT Boot VisionFive2
+- IoT Hal Base
+- IoT Hal Backend VISIONFIVE2
Attachment:
- /var/tmp/u-boot.itb
- /var/tmp/u-boot-spl.bin.normal.out
diff --git a/patterns/iot-hal-backend-vf2.yaml b/patterns/iot-hal-backend-vf2.yaml
index 631212e..926eb08 100644
--- a/patterns/iot-hal-backend-vf2.yaml
+++ b/patterns/iot-hal-backend-vf2.yaml
@@ -1,5 +1,5 @@
-Summary: IoT Hal Backend VisionFive2
-Description: IoT Hal Backend VisionFive2
+Summary: IoT Hal Backend VISIONFIVE2
+Description: IoT Hal Backend VISIONFIVE2
Name: iot-hal-backend-vf2
Packages:
-- building-blocks-sub1-Preset_boards-VisionFive2_HAL_Backend
+- building-blocks-sub1-Preset_boards-VISIONFIVE2_HAL_Backend
diff --git a/scripts/iot-hal-backend.post b/scripts/iot-hal-backend.post
index 19d9741..b13141f 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" "RPI4" "ARTIK530" "VIM3" "C4" "GENERIC");
+TARGET=("RPI3" "RPI4" "ARTIK530" "VIM3" "C4" "GENERIC" "VISIONFIVE2");
PKGGROUP=`/usr/bin/rpm -qa | /bin/grep package-groups`
if [ $PKGGROUP ]; then
@@ -116,6 +116,10 @@ if [ $PKGGROUP ]; then
;;
GENERIC)
BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend GENERIC"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
+ ;;
+ VISIONFIVE2)
+ BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend VISIONFIVE2"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
+ ;;
esac
/usr/bin/mkdir -p /hal/list/