summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2023-05-19 16:27:51 +0200
committerJaehoon Chung <jh80.chung@samsung.com>2023-07-17 08:51:26 +0900
commit2a6ae7753e810f6966a4727f3f561627f0526a58 (patch)
tree9f764af2d655fd3c3ad4411ee2f68fafedfe3369
parente8afb2fc1ac466413156294b14673b45291b6598 (diff)
downloadmeta-2a6ae7753e810f6966a4727f3f561627f0526a58.tar.gz
meta-2a6ae7753e810f6966a4727f3f561627f0526a58.tar.bz2
meta-2a6ae7753e810f6966a4727f3f561627f0526a58.zip
Add tizen-boot-riscv64-vf2
Add tizen-boot-riscv64-vf2 for VisionFive2 board. In future, "IoT Hal Backend VisionFive2" will be added after finishing backend. Change-Id: I56a02a1a7dd183ec998fc299902a94dd162efa17 Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r--common-targets.yaml1
-rw-r--r--common.yaml8
-rw-r--r--ks/tizen-boot-riscv64-vf2.yaml16
-rw-r--r--partitions/common-mbr-boot-without-hal2
-rw-r--r--patterns/iot-boot-vf2.yaml8
-rw-r--r--patterns/iot-hal-backend-vf2.yaml5
6 files changed, 40 insertions, 0 deletions
diff --git a/common-targets.yaml b/common-targets.yaml
index da25e55..f94f0b2 100644
--- a/common-targets.yaml
+++ b/common-targets.yaml
@@ -11,6 +11,7 @@ Targets:
- tizen-boot-armv7l-rpi4-rt.yaml
- tizen-boot-arm64-vim3.yaml
- tizen-boot-arm64-c4.yaml
+ - tizen-boot-riscv64-vf2.yaml
- tizen-headed-armv7hl.yaml
- tizen-headed-armv7l.yaml
- tizen-headless-armv7l.yaml
diff --git a/common.yaml b/common.yaml
index 3a67a45..e538c8d 100644
--- a/common.yaml
+++ b/common.yaml
@@ -113,6 +113,14 @@ Boot-C4:
- iot-hal-backend
Repos: []
+Boot-VisionFive2:
+ Part: common-mbr-boot
+ Desktop: None
+ SaveRepos: False
+ UserGroups: "audio,video"
+ Groups: []
+ Repos: []
+
Tizen IoT:
Part: common-3parts-ramdisk
Groups:
diff --git a/ks/tizen-boot-riscv64-vf2.yaml b/ks/tizen-boot-riscv64-vf2.yaml
new file mode 100644
index 0000000..2a8b62f
--- /dev/null
+++ b/ks/tizen-boot-riscv64-vf2.yaml
@@ -0,0 +1,16 @@
+Name: tizen-boot-riscv64-vf2
+Architecture: riscv64
+Schedule: "*"
+Active: True
+Platform: Boot-VisionFive2
+Part: common-mbr-boot-without-hal
+Mic2Options: -A riscv64 -f loop --pack-to=@NAME@.tar.gz
+FileName: tizen-boot-riscv64-vf2
+Groups:
+- IoT Boot VisionFive2
+Attachment:
+- /var/tmp/u-boot.itb
+- /var/tmp/u-boot-spl.bin.normal.out
+Repos:
+- unified-standard
+- base-standard
diff --git a/partitions/common-mbr-boot-without-hal b/partitions/common-mbr-boot-without-hal
new file mode 100644
index 0000000..66dcfb5
--- /dev/null
+++ b/partitions/common-mbr-boot-without-hal
@@ -0,0 +1,2 @@
+part /boot --fstype="vfat" --size=64 --ondisk=mmcblk0 --active --label boot --fsoptions=defaults,noatime
+part /lib/modules --fstype="ext4" --size=20 --ondisk=mmcblk0 --active --label modules --fsoptions=defaults,noatime
diff --git a/patterns/iot-boot-vf2.yaml b/patterns/iot-boot-vf2.yaml
new file mode 100644
index 0000000..341ae0d
--- /dev/null
+++ b/patterns/iot-boot-vf2.yaml
@@ -0,0 +1,8 @@
+Summary: IoT Boot VisionFive2
+Description: IoT Boot VisionFive2
+Name: iot-boot-vf2
+Packages:
+- riscv-visionfive2-linux-kernel
+- riscv-visionfive2-linux-kernel-modules
+- linux-tizen-modules-visionfive2
+- u-boot-visionfive2
diff --git a/patterns/iot-hal-backend-vf2.yaml b/patterns/iot-hal-backend-vf2.yaml
new file mode 100644
index 0000000..631212e
--- /dev/null
+++ b/patterns/iot-hal-backend-vf2.yaml
@@ -0,0 +1,5 @@
+Summary: IoT Hal Backend VisionFive2
+Description: IoT Hal Backend VisionFive2
+Name: iot-hal-backend-vf2
+Packages:
+- building-blocks-sub1-Preset_boards-VisionFive2_HAL_Backend