summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2024-11-21 09:19:22 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2024-11-21 10:21:43 +0900
commit1a06d49c6f061a0c70d0d6a5882e805799430444 (patch)
tree8df16b967eaf40ac7d6dcd381c7e4968a53e10f2
parent244ff789e3d76be7641204edee8f52baaba5e99c (diff)
downloadmeta-tizen.tar.gz
meta-tizen.tar.bz2
meta-tizen.zip
Change the hal backend packages from GENERIC to BPIF3/LPI4AHEADaccepted/tizen/unified/20241122.171537tizenaccepted/tizen_unified
Current BPIF3/LPI4A are using GENERIC Backend. To use a correct backend, change to BPIF3/LPI4A. Change-Id: I9ca0f476dae337dc78c385e0295ebcceb4b51a54 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r--ks/tizen-boot-riscv64-bpif3.yaml2
-rw-r--r--ks/tizen-boot-riscv64-lpi4a-16g.yaml2
-rw-r--r--ks/tizen-boot-riscv64-lpi4a-8g.yaml2
-rw-r--r--patterns/iot-hal-backend-bpif3.yaml5
-rw-r--r--patterns/iot-hal-backend-lpi4a.yaml5
-rw-r--r--scripts/iot-hal-backend.post8
6 files changed, 20 insertions, 4 deletions
diff --git a/ks/tizen-boot-riscv64-bpif3.yaml b/ks/tizen-boot-riscv64-bpif3.yaml
index 3ccb287..4799e4f 100644
--- a/ks/tizen-boot-riscv64-bpif3.yaml
+++ b/ks/tizen-boot-riscv64-bpif3.yaml
@@ -9,7 +9,7 @@ FileName: tizen-boot-riscv64-bpif3
Groups:
- IoT Boot BPIF3
- IoT Hal Base
-- IoT Hal Backend GENERIC
+- IoT Hal Backend BPIF3
Attachment:
- /var/tmp/u-boot.itb
- /var/tmp/FSBL.bin
diff --git a/ks/tizen-boot-riscv64-lpi4a-16g.yaml b/ks/tizen-boot-riscv64-lpi4a-16g.yaml
index 86f7775..206990f 100644
--- a/ks/tizen-boot-riscv64-lpi4a-16g.yaml
+++ b/ks/tizen-boot-riscv64-lpi4a-16g.yaml
@@ -9,7 +9,7 @@ FileName: tizen-boot-riscv64-lpi4a-16g
Groups:
- IoT Boot LicheePi4A 16G
- IoT Hal Base
-- IoT Hal Backend GENERIC
+- IoT Hal Backend LPI4A
Attachment:
- /var/tmp/bootcode.bin
- /var/tmp/u-boot-with-spl.bin
diff --git a/ks/tizen-boot-riscv64-lpi4a-8g.yaml b/ks/tizen-boot-riscv64-lpi4a-8g.yaml
index 787c7ab..0766c67 100644
--- a/ks/tizen-boot-riscv64-lpi4a-8g.yaml
+++ b/ks/tizen-boot-riscv64-lpi4a-8g.yaml
@@ -9,7 +9,7 @@ FileName: tizen-boot-riscv64-lpi4a-8g
Groups:
- IoT Boot LicheePi4A 8G
- IoT Hal Base
-- IoT Hal Backend GENERIC
+- IoT Hal Backend LPI4A
Attachment:
- /var/tmp/bootcode.bin
- /var/tmp/u-boot-with-spl.bin
diff --git a/patterns/iot-hal-backend-bpif3.yaml b/patterns/iot-hal-backend-bpif3.yaml
new file mode 100644
index 0000000..8151a1a
--- /dev/null
+++ b/patterns/iot-hal-backend-bpif3.yaml
@@ -0,0 +1,5 @@
+Summary: IoT Hal Backend BPIF3
+Description: IoT Hal Backend BPIF3
+Name: iot-hal-backend-bpif3
+Packages:
+- building-blocks-sub1-Preset_boards-BPIF3_HAL_Backend
diff --git a/patterns/iot-hal-backend-lpi4a.yaml b/patterns/iot-hal-backend-lpi4a.yaml
new file mode 100644
index 0000000..23fb946
--- /dev/null
+++ b/patterns/iot-hal-backend-lpi4a.yaml
@@ -0,0 +1,5 @@
+Summary: IoT Hal Backend LPI4A
+Description: IoT Hal Backend LPI4A
+Name: iot-hal-backend-lpi4a
+Packages:
+- building-blocks-sub1-Preset_boards-LPI4A_HAL_Backend
diff --git a/scripts/iot-hal-backend.post b/scripts/iot-hal-backend.post
index b13141f..2ac38f4 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" "VISIONFIVE2");
+TARGET=("RPI3" "RPI4" "ARTIK530" "VIM3" "C4" "GENERIC" "VISIONFIVE2" "BPIF3" "LPI4A");
PKGGROUP=`/usr/bin/rpm -qa | /bin/grep package-groups`
if [ $PKGGROUP ]; then
@@ -120,6 +120,12 @@ if [ $PKGGROUP ]; then
VISIONFIVE2)
BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend VISIONFIVE2"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
;;
+ BPIF3)
+ BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend BPIF3"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
+ ;;
+ LPI4A)
+ BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend LPI4A"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml`
+ ;;
esac
/usr/bin/mkdir -p /hal/list/