summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2023-08-28 16:01:49 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2023-08-28 17:38:40 +0900
commit2fc2d0f00446f3347d31ca1d98e9fb8325f980d2 (patch)
tree9b276a43bb97967f0cc53947df918d80d259526b
parent0a544d450848842df563f0f77e1283b254f97eb9 (diff)
downloadmeta-2fc2d0f00446f3347d31ca1d98e9fb8325f980d2.tar.gz
meta-2fc2d0f00446f3347d31ca1d98e9fb8325f980d2.tar.bz2
meta-2fc2d0f00446f3347d31ca1d98e9fb8325f980d2.zip
Support iot-hal-backend-vf2 to use a hal imageaccepted/tizen/unified/riscv/20230829.072058
Support iot-hal-backend-vf2 to use a hal.img. hal.img will be include into BOOT tar file. Change-Id: I3a054d32f8d3a1fde4ae4f1c75ff82c16608d1fc Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-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/