diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2021-06-03 11:22:08 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2021-06-09 18:21:30 +0900 |
commit | 2f42ae0b18bc5ea9470d81eb105ff0215537a901 (patch) | |
tree | 7ec165ecb191925f4b583e598fd3811598de84bb | |
parent | 8fbcc2b8e3bf8c9b8623abf417062b129c8cd918 (diff) | |
download | meta-2f42ae0b18bc5ea9470d81eb105ff0215537a901.tar.gz meta-2f42ae0b18bc5ea9470d81eb105ff0215537a901.tar.bz2 meta-2f42ae0b18bc5ea9470d81eb105ff0215537a901.zip |
[TRE-2700] Support hal and tizen core imagesubmit/tizen/20210610.013454accepted/tizen/unified/20210610.022619
Add hal image into BOOT image.
Consist of below image :
* Each targets have
- kernel
- bootloader
- module
- hal-backend
* Create core image (Tizen Common Platform) :
- tizen-haeded-aarch64
- tizen-headed-arvm7l
- tizen-headless-aarch64
- tizen-headless-armv7l
Change-Id: I4e112e35f30505ee697c8f851020a38a332f7db2
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | common-targets.yaml | 4 | ||||
-rw-r--r-- | common.yaml | 11 | ||||
-rw-r--r-- | ks/tizen-boot-arm64-rpi3.yaml | 6 | ||||
-rw-r--r-- | ks/tizen-boot-arm64-rpi4.yaml | 6 | ||||
-rw-r--r-- | ks/tizen-boot-armv7l-artik530.yaml | 6 | ||||
-rw-r--r-- | ks/tizen-boot-armv7l-rpi3.yaml | 6 | ||||
-rw-r--r-- | ks/tizen-boot-armv7l-rpi4.yaml | 6 | ||||
-rw-r--r-- | ks/tizen-headed-aarch64.yaml | 16 | ||||
-rw-r--r-- | ks/tizen-headed-armv7l.yaml | 16 | ||||
-rw-r--r-- | ks/tizen-headless-aarch64.yaml | 16 | ||||
-rw-r--r-- | ks/tizen-headless-armv7l.yaml | 16 | ||||
-rw-r--r-- | partitions/common-artik-mbr-boot | 1 | ||||
-rw-r--r-- | partitions/common-mbr-boot | 1 | ||||
-rw-r--r-- | patterns/iot-adaptation-headless.yaml | 5 | ||||
-rw-r--r-- | patterns/iot-adaptation.yaml | 5 | ||||
-rw-r--r-- | patterns/iot-hal-backend-artik530.yaml | 5 | ||||
-rw-r--r-- | patterns/iot-hal-backend-rpi3.yaml | 5 | ||||
-rw-r--r-- | patterns/iot-hal-base.yaml | 10 |
18 files changed, 136 insertions, 5 deletions
diff --git a/common-targets.yaml b/common-targets.yaml index 50f1142..a540d30 100644 --- a/common-targets.yaml +++ b/common-targets.yaml @@ -13,6 +13,10 @@ Targets: - tizen-headless-2parts-armv7l-btrfs-rootfs-rpi.yaml - tizen-headless-2parts-aarch64-btrfs-rootfs-rpi.yaml - tizen-boot-arm64-amlogic.yaml + - tizen-headed-armv7l.yaml + - tizen-headless-armv7l.yaml + - tizen-headed-aarch64.yaml + - tizen-headless-aarch64.yaml - Name: emulator Images: diff --git a/common.yaml b/common.yaml index 241fb95..378ae70 100644 --- a/common.yaml +++ b/common.yaml @@ -25,6 +25,8 @@ Boot-Artik530: UserGroups: "audio,video" Groups: - IoT Boot Artik 530 + PostScripts: + - iot-hal-backend Repos: [] Boot-Artik533s: @@ -53,6 +55,8 @@ Boot-RPi3: UserGroups: "audio,video" Groups: - IoT Boot RPi3 + PostScripts: + - iot-hal-backend Repos: [] Boot-RPi3-32Bit: @@ -62,6 +66,8 @@ Boot-RPi3-32Bit: UserGroups: "audio,video" Groups: - IoT Boot RPi3 32Bit + PostScripts: + - iot-hal-backend Repos: [] Boot-RPi4: @@ -71,6 +77,8 @@ Boot-RPi4: UserGroups: "audio,video" Groups: - IoT Boot RPi4 + PostScripts: + - iot-hal-backend Repos: [] Boot-RPi4-32Bit: @@ -80,6 +88,8 @@ Boot-RPi4-32Bit: UserGroups: "audio,video" Groups: - IoT Boot RPi4 32Bit + PostScripts: + - iot-hal-backend Repos: [] Boot-Amlogic: @@ -115,6 +125,7 @@ Tizen IoT: - iot-making-building-blocks-dll - generic-depmod - common-cleanup-directory + - common-hal-directory-check Repos: [] NoChrootScripts: - buildname diff --git a/ks/tizen-boot-arm64-rpi3.yaml b/ks/tizen-boot-arm64-rpi3.yaml index f9bf4c3..27b3372 100644 --- a/ks/tizen-boot-arm64-rpi3.yaml +++ b/ks/tizen-boot-arm64-rpi3.yaml @@ -6,6 +6,10 @@ Platform: Boot-RPi3 Part: common-mbr-boot Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz FileName: tizen-boot-arm64-rpi3 -Group: IoT Boot RPi3 +Groups: +- IoT Boot RPi3 +- IoT Hal Base +- IoT Hal Backend RPI3 Repos: - unified-standard +- base-standard diff --git a/ks/tizen-boot-arm64-rpi4.yaml b/ks/tizen-boot-arm64-rpi4.yaml index f98eece..d771b8b 100644 --- a/ks/tizen-boot-arm64-rpi4.yaml +++ b/ks/tizen-boot-arm64-rpi4.yaml @@ -6,6 +6,10 @@ Platform: Boot-RPi4 Part: common-mbr-boot Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz FileName: tizen-boot-arm64-rpi4 -Group: IoT Boot RPi4 +Groups: +- IoT Boot RPi4 +- IoT Hal Base +- IoT Hal Backend RPI3 Repos: - unified-standard +- base-standard diff --git a/ks/tizen-boot-armv7l-artik530.yaml b/ks/tizen-boot-armv7l-artik530.yaml index 56d008f..00c4c16 100644 --- a/ks/tizen-boot-armv7l-artik530.yaml +++ b/ks/tizen-boot-armv7l-artik530.yaml @@ -6,7 +6,10 @@ Platform: Boot-Artik530 Part: common-artik-mbr-boot Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz FileName: tizen-boot-armv7l-artik530 -Group: IoT Boot Artik 530 +Groups: +- IoT Boot Artik 530 +- IoT Hal Base +- IoT Hal Backend ARTIK530 Attachment: - /boot/u-boot/bootloader.img - /boot/u-boot/params.bin @@ -15,3 +18,4 @@ Attachment: - /boot/s5p4418-artik530-raptor-rev03.dtb Repos: - unified-standard + - base-standard diff --git a/ks/tizen-boot-armv7l-rpi3.yaml b/ks/tizen-boot-armv7l-rpi3.yaml index 9a2b055..f568c5f 100644 --- a/ks/tizen-boot-armv7l-rpi3.yaml +++ b/ks/tizen-boot-armv7l-rpi3.yaml @@ -6,6 +6,10 @@ Platform: Boot-RPi3-32Bit Part: common-mbr-boot Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz FileName: tizen-boot-armv7l-rpi3 -Group: IoT Boot RPi3 32Bit +Groups: +- IoT Boot RPi3 32Bit +- IoT Hal Base +- IoT Hal Backend RPI3 Repos: - unified-standard +- base-standard diff --git a/ks/tizen-boot-armv7l-rpi4.yaml b/ks/tizen-boot-armv7l-rpi4.yaml index 78d5189..d4f759b 100644 --- a/ks/tizen-boot-armv7l-rpi4.yaml +++ b/ks/tizen-boot-armv7l-rpi4.yaml @@ -6,6 +6,10 @@ Platform: Boot-RPi4-32Bit Part: common-mbr-boot Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz FileName: tizen-boot-armv7l-rpi4 -Group: IoT Boot RPi4 32Bit +Groups: +- IoT Boot RPi4 32Bit +- IoT Hal Base +- IoT Hal Backend RPI3 Repos: - unified-standard +- base-standard diff --git a/ks/tizen-headed-aarch64.yaml b/ks/tizen-headed-aarch64.yaml new file mode 100644 index 0000000..05b9ad4 --- /dev/null +++ b/ks/tizen-headed-aarch64.yaml @@ -0,0 +1,16 @@ +Name: tizen-headed-aarch64 +Architecture: aarch64 +Schedule: "*" +Active: True +Platform: Tizen IoT +Part: btrfs-rootfs-3parts-ramdisk-recovery +Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz +FileName: tizen-headed-aarch64 +Repos: + - unified-standard + - base-standard +Groups: + - IoT Headed Base + - IoT Adaptation COMMON +NoChrootScripts: + - backup-data diff --git a/ks/tizen-headed-armv7l.yaml b/ks/tizen-headed-armv7l.yaml new file mode 100644 index 0000000..f7e8449 --- /dev/null +++ b/ks/tizen-headed-armv7l.yaml @@ -0,0 +1,16 @@ +Name: tizen-headed-armv7l +Architecture: armv7l +Schedule: "*" +Active: True +Platform: Tizen IoT +Part: common-3parts-ramdisk-recovery +Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz +FileName: tizen-headed-armv7l +Repos: + - unified-standard + - base-standard +Groups: + - IoT Headed Base + - IoT Adaptation COMMON +NoChrootScripts: + - backup-data diff --git a/ks/tizen-headless-aarch64.yaml b/ks/tizen-headless-aarch64.yaml new file mode 100644 index 0000000..cc03639 --- /dev/null +++ b/ks/tizen-headless-aarch64.yaml @@ -0,0 +1,16 @@ +Name: tizen-headless-aarch64 +Architecture: aarch64 +Schedule: "*" +Active: True +Platform: Tizen IoT +Part: btrfs-rootfs-2parts-ramdisk-recovery +Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz +Language: C +FileName: tizen-headless-aarch64 +Repos: + - unified-standard + - base-standard +Groups: + - IoT Adaptation COMMON Headless +NoChrootScripts: + - backup-data diff --git a/ks/tizen-headless-armv7l.yaml b/ks/tizen-headless-armv7l.yaml new file mode 100644 index 0000000..fa596b3 --- /dev/null +++ b/ks/tizen-headless-armv7l.yaml @@ -0,0 +1,16 @@ +Name: tizen-headless-armv7l +Architecture: armv7l +Schedule: "*" +Active: True +Platform: Tizen IoT +Part: btrfs-rootfs-2parts-ramdisk-recovery +Mic2Options: -A armv7l -f loop --pack-to=@NAME@.tar.gz +Language: C +FileName: tizen-headless-armv7l +Repos: + - unified-standard + - base-standard +Groups: + - IoT Adaptation COMMON Headless +NoChrootScripts: + - backup-data diff --git a/partitions/common-artik-mbr-boot b/partitions/common-artik-mbr-boot index 33b1650..87257f3 100644 --- a/partitions/common-artik-mbr-boot +++ b/partitions/common-artik-mbr-boot @@ -1 +1,2 @@ part /lib/modules --fstype="ext4" --size=25 --ondisk=mmcblk0 --active --label modules --fsoptions=defaults,noatime +part /hal --fstype="ext4" --size=64 --ondisk=mmcblk0 --active --label hal --fsoptions=defaults,noatime diff --git a/partitions/common-mbr-boot b/partitions/common-mbr-boot index 66dcfb5..1d0f8d9 100644 --- a/partitions/common-mbr-boot +++ b/partitions/common-mbr-boot @@ -1,2 +1,3 @@ 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 +part /hal --fstype="ext4" --size=64 --ondisk=mmcblk0 --active --label hal --fsoptions=defaults,noatime diff --git a/patterns/iot-adaptation-headless.yaml b/patterns/iot-adaptation-headless.yaml new file mode 100644 index 0000000..b3c67a1 --- /dev/null +++ b/patterns/iot-adaptation-headless.yaml @@ -0,0 +1,5 @@ +Summary: IoT Adaptation COMMON Headless +Description: IoT Adaptation COMMON Headless +Name: iot-adaptation-common-headless +Packages: +- building-blocks-sub1-Preset_img_headless-common diff --git a/patterns/iot-adaptation.yaml b/patterns/iot-adaptation.yaml new file mode 100644 index 0000000..650b729 --- /dev/null +++ b/patterns/iot-adaptation.yaml @@ -0,0 +1,5 @@ +Summary: IoT Adaptation COMMON +Description: IoT Adaptation COMMON +Name: iot-adaptation-common +Packages: +- building-blocks-sub1-Preset_img_headed-common diff --git a/patterns/iot-hal-backend-artik530.yaml b/patterns/iot-hal-backend-artik530.yaml new file mode 100644 index 0000000..e20d5d4 --- /dev/null +++ b/patterns/iot-hal-backend-artik530.yaml @@ -0,0 +1,5 @@ +Summary: IoT Hal Backend ARTIK530 +Description: IoT Hal Backend ARTIK530 +Name: iot-hal-backend-artik530 +Packages: +- building-blocks-sub1-Preset_boards-ARTIK530_HAL_Backend diff --git a/patterns/iot-hal-backend-rpi3.yaml b/patterns/iot-hal-backend-rpi3.yaml new file mode 100644 index 0000000..0eaf087 --- /dev/null +++ b/patterns/iot-hal-backend-rpi3.yaml @@ -0,0 +1,5 @@ +Summary: IoT Hal Backend RPI3 +Description: IoT Hal Backend RPI3 +Name: iot-hal-backend-rpi3 +Packages: +- building-blocks-sub1-Preset_boards-RPI3_HAL_Backend diff --git a/patterns/iot-hal-base.yaml b/patterns/iot-hal-base.yaml new file mode 100644 index 0000000..a36419e --- /dev/null +++ b/patterns/iot-hal-base.yaml @@ -0,0 +1,10 @@ +Summary: IoT Hal Base +Description: IoT Hal Base +Name: iot-hal-base +Packages: +- rpm +- package-groups +- xmlstarlet +- tizen-release +- gawk +- sed |