diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2022-02-25 07:39:41 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2022-02-25 09:25:03 +0900 |
commit | 747e90c50201bd87348611cfb545e69a5c5d1f3d (patch) | |
tree | decec71a1be03920b2f73523c9d0e50789e64d5c | |
parent | 6d3fbc989cf29a782d841460d560bba0410d0629 (diff) | |
download | meta-747e90c50201bd87348611cfb545e69a5c5d1f3d.tar.gz meta-747e90c50201bd87348611cfb545e69a5c5d1f3d.tar.bz2 meta-747e90c50201bd87348611cfb545e69a5c5d1f3d.zip |
[TRE-2878] Support Tizen Generic HAL Image(GHI)submit/tizen/20220302.022238accepted/tizen/unified/20220302.131923
Support Tizen Generic HAL Image(GHI).
It will be used without any H/W specific dependency.
Change-Id: I4019b2c97e30abbdb7e45f59eab3f6f4715e3f0a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | common-targets.yaml | 2 | ||||
-rw-r--r-- | common.yaml | 11 | ||||
-rw-r--r-- | ks/tizen-arm64-generic-hal.yaml | 14 | ||||
-rw-r--r-- | ks/tizen-armv7l-generic-hal.yaml | 14 | ||||
-rw-r--r-- | partitions/common-generic-hal | 2 | ||||
-rw-r--r-- | patterns/iot-hal-backend-generic.yaml | 5 | ||||
-rw-r--r-- | patterns/iot-hal-base.yaml | 2 | ||||
-rw-r--r-- | scripts/iot-hal-backend.post | 4 |
8 files changed, 53 insertions, 1 deletions
diff --git a/common-targets.yaml b/common-targets.yaml index 619bc8c..47ce9c8 100644 --- a/common-targets.yaml +++ b/common-targets.yaml @@ -14,6 +14,8 @@ Targets: - tizen-headless-armv7l.yaml - tizen-headed-aarch64.yaml - tizen-headless-aarch64.yaml + - tizen-armv7l-generic-hal.yaml + - tizen-arm64-generic-hal.yaml - Name: emulator Images: diff --git a/common.yaml b/common.yaml index 6670f6b..23446bf 100644 --- a/common.yaml +++ b/common.yaml @@ -169,3 +169,14 @@ Tizen-Headed-Emulator32-wayland: Repos: [] NoChrootScripts: - buildname + +Generic-HAL: + Part: common-generic-hal + Desktop: None + SaveRepos: False + UserGroups: "audio,video" + Groups: + - IoT Hal Backend GENERIC + PostScripts: + - iot-hal-backend + Repos: [] diff --git a/ks/tizen-arm64-generic-hal.yaml b/ks/tizen-arm64-generic-hal.yaml new file mode 100644 index 0000000..2ecc3bb --- /dev/null +++ b/ks/tizen-arm64-generic-hal.yaml @@ -0,0 +1,14 @@ +Name: tizen-arm64-generic-hal +Architecture: aarch64 +Schedule: "*" +Active: True +Platform: Generic-HAL +Part: common-generic-hal +Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz +FileName: tizen-arm64-generic-hal +Groups: +- IoT Hal Base +- IoT Hal Backend GENERIC +Repos: +- unified-standard +- base-standard diff --git a/ks/tizen-armv7l-generic-hal.yaml b/ks/tizen-armv7l-generic-hal.yaml new file mode 100644 index 0000000..8725040 --- /dev/null +++ b/ks/tizen-armv7l-generic-hal.yaml @@ -0,0 +1,14 @@ +Name: tizen-armv7l-generic-hal +Architecture: armv7l +Schedule: "*" +Active: True +Platform: Generic-HAL +Part: common-generic-hal +Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz +FileName: tizen-armv7l-generic-hal +Groups: +- IoT Hal Base +- IoT Hal Backend GENERIC +Repos: +- unified-standard +- base-standard diff --git a/partitions/common-generic-hal b/partitions/common-generic-hal new file mode 100644 index 0000000..c0ce442 --- /dev/null +++ b/partitions/common-generic-hal @@ -0,0 +1,2 @@ +part / --exclude-from-image --fstype="ext4" --size=512 --ondisk=mmcblk0 --active --label dummy --fsoptions=defaults,noatime +part /hal --fstype="ext4" --size=256 --ondisk=mmcblk0 --active --label hal --fsoptions=defaults,noatime diff --git a/patterns/iot-hal-backend-generic.yaml b/patterns/iot-hal-backend-generic.yaml new file mode 100644 index 0000000..c122d6d --- /dev/null +++ b/patterns/iot-hal-backend-generic.yaml @@ -0,0 +1,5 @@ +Summary: IoT Hal Backend GENERIC +Description: IoT Hal Backend GENERIC +Name: iot-hal-backend-generic +Packages: +- building-blocks-sub1-Preset_boards-GENERIC_HAL_Backend diff --git a/patterns/iot-hal-base.yaml b/patterns/iot-hal-base.yaml index a36419e..1eff967 100644 --- a/patterns/iot-hal-base.yaml +++ b/patterns/iot-hal-base.yaml @@ -8,3 +8,5 @@ Packages: - tizen-release - gawk - sed +- grep +- coreutils diff --git a/scripts/iot-hal-backend.post b/scripts/iot-hal-backend.post index 063b017..19d9741 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"); +TARGET=("RPI3" "RPI4" "ARTIK530" "VIM3" "C4" "GENERIC"); PKGGROUP=`/usr/bin/rpm -qa | /bin/grep package-groups` if [ $PKGGROUP ]; then @@ -114,6 +114,8 @@ if [ $PKGGROUP ]; then C4) BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend C4"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml` ;; + GENERIC) + BACKEND=`/usr/bin/xmlstarlet sel -t -v '//group[name = "IoT Hal Backend GENERIC"]/packagelist/packagereq' -n /usr/share/package-groups/group.xml` esac /usr/bin/mkdir -p /hal/list/ |