diff options
author | Jaehoon Chung <jh80.chung@samsung.com> | 2020-12-14 08:01:38 +0900 |
---|---|---|
committer | Jaehoon Chung <jh80.chung@samsung.com> | 2020-12-14 17:18:40 +0900 |
commit | 60538ed8795b7ca427a1033d10f3df78e29fb082 (patch) | |
tree | 8b48d15e47b35cfa519dbcb90e92032f3e975715 | |
parent | 457bc072386bb59c86b0d3ab0290f68b71ee2b74 (diff) | |
download | meta-60538ed8795b7ca427a1033d10f3df78e29fb082.tar.gz meta-60538ed8795b7ca427a1033d10f3df78e29fb082.tar.bz2 meta-60538ed8795b7ca427a1033d10f3df78e29fb082.zip |
[TRE-2575] Create Amlogic Boot imagesubmit/tizen/20201214.223303submit/tizen/20201214.221923accepted/tizen/unified/20201214.224015
Create Amlogic boot image.
It will be supported the below targets.
- Khadas VIM3 / VIM3L
- Odroid C4 / N2
Change-Id: I7798a95896fb1dac4f418470136e857da878f382
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r-- | common-targets.yaml | 1 | ||||
-rw-r--r-- | common.yaml | 9 | ||||
-rw-r--r-- | ks/tizen-boot-arm64-amlogic.yaml | 16 | ||||
-rw-r--r-- | partitions/common-amlogic-mbr-boot | 2 | ||||
-rw-r--r-- | patterns/iot-boot-amlogic.yaml | 12 |
5 files changed, 40 insertions, 0 deletions
diff --git a/common-targets.yaml b/common-targets.yaml index ea11a73..79f9934 100644 --- a/common-targets.yaml +++ b/common-targets.yaml @@ -11,6 +11,7 @@ Targets: - tizen-boot-arm64-rpi4.yaml - tizen-boot-armv7l-rpi4.yaml - tizen-headless-2parts-armv7l-btrfs-rootfs-rpi.yaml + - tizen-boot-arm64-amlogic.yaml - Name: emulator Images: diff --git a/common.yaml b/common.yaml index 02010a6..fbcbbfb 100644 --- a/common.yaml +++ b/common.yaml @@ -82,6 +82,15 @@ Boot-RPi4-32Bit: - IoT Boot RPi4 32Bit Repos: [] +Boot-Amlogic: + Part: common-amlogic-mbr-boot + Desktop: None + SaveRepos: False + UserGroups: "audio,video" + Groups: + - IoT Boot Amlogic + Repos: [] + Tizen IoT: Part: common-3parts-ramdisk Groups: diff --git a/ks/tizen-boot-arm64-amlogic.yaml b/ks/tizen-boot-arm64-amlogic.yaml new file mode 100644 index 0000000..45de256 --- /dev/null +++ b/ks/tizen-boot-arm64-amlogic.yaml @@ -0,0 +1,16 @@ +Name: tizen-boot-arm64-amlogic +Architecture: aarch64 +Schedule: "*" +Active: True +Platform: Boot-Amlogic +Part: common-amlogic-mbr-boot +Mic2Options: -A aarch64 -f loop --pack-to=@NAME@.tar.gz +FileName: tizen-boot-arm64-amlogic +Group: IoT Boot Amlogic +Attachment: +- /var/tmp/u-boot-amlogic/u-boot-c4.bin +- /var/tmp/u-boot-amlogic/u-boot-n2.bin +- /var/tmp/u-boot-amlogic/u-boot-vim3.bin +- /var/tmp/u-boot-amlogic/u-boot-vim3l.bin +Repos: +- unified-standard diff --git a/partitions/common-amlogic-mbr-boot b/partitions/common-amlogic-mbr-boot new file mode 100644 index 0000000..7ee1d0d --- /dev/null +++ b/partitions/common-amlogic-mbr-boot @@ -0,0 +1,2 @@ +part /boot --fstype="vfat" --size=128 --ondisk=mmcblk0 --active --label boot --fsoptions=defaults,noatime +part /lib/modules --fstype="ext4" --size=100 --ondisk=mmcblk0 --active --label modules --fsoptions=defaults,noatime diff --git a/patterns/iot-boot-amlogic.yaml b/patterns/iot-boot-amlogic.yaml new file mode 100644 index 0000000..f8d903e --- /dev/null +++ b/patterns/iot-boot-amlogic.yaml @@ -0,0 +1,12 @@ +Summary: IoT Boot Amlogic +Description: IoT Boot Amlogic +Name: iot-boot-amlogic +Packages: +- u-boot-c4 +- u-boot-n2 +- u-boot-vim3 +- u-boot-vim3l +- linux-kernel-amlogic-kvim +- linux-kernel-amlogic-odroid +- linux-kernel-modules-amlogic-kvim +- linux-kernel-modules-amlogic-odroid |