1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 11:42:57 +00:00

Compare commits

...

28 Commits

Author SHA1 Message Date
Yogesh Siraswar
15613c9510 linux-ti-staging: block sa2ul for am64x hs and j7200 hs device
SA2UL GP driver will not work for HS. Need SA2UL HS driver.
Till it is implemented blacklist sa2ul for am64xx hs and j7200 hs

Change Suggested by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-12-10 03:15:06 +00:00
Yogesh Siraswar
89cb44409d conf: j7200-hs: fix the wrong machine configuration included
j7-evm instead of j7200-evm was included causing boot failure

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-12-10 03:14:28 +00:00
Yogesh Siraswar
d29025f7e8 ti-sci-fw: Fix for k3-image-gen issue for combined boot images
This is temporary fix for combined boot images for KIG in meta-ti till
the patch is integrated.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-12-09 13:34:36 -06:00
Praneeth Bajjuri
6eaf459246 u-boot-ti-staging: Bump u-boot version for 08.01.00.006
u-boot bump for 08.01.00.006 release

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-12-06 18:04:46 -06:00
Praneeth Bajjuri
09582b25de linux-ti-staging: Bump linux version for 08.01.00.006
Bump linux and rt-linux version to 08.01.00.006

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
2021-12-06 18:02:40 -06:00
Sidraya
9fd85b5c70 videnc-test-app: Add the videnc-test-app recipe
The videnc-test-app provides the video encoder test app
(tienc_encode) for j7-evm.

Signed-off-by: David Huang <d-huang@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
2021-12-06 10:56:35 -06:00
Sidraya
8779fba919 viddec-test-app: Add the viddec-test-app recipe
The viddec-test-app provides the video decoder test app
(tidec_decode) for j7-evm.

Signed-off-by: David Huang <d-huang@ti.com>
Signed-off-by: Angela Stegmaier <angelabaker@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Sidraya <sidraya.bj@pathpartnertech.com>
2021-12-06 10:56:08 -06:00
Yogesh Siraswar
a3d1da3a60 vxd-dec-fw: Move firmware one folder up in target
The application expects the pvdec_full_bin.fw to be in /lib/fimware
directory.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-12-03 17:55:07 -06:00
Nick Saulnier
973a73b959 pru-icss_git.bb: update to PSSP v6.0.1
Found a bug in the PRU_ICSSG examples in PSSP v6.0.0, fixed in v6.0.1.

Signed-off-by: Nick Saulnier <nsaulnier@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-12-02 11:07:08 +00:00
Yogesh Siraswar
f9779e93f1 j7-hs-evm: Correct image boot file causing build error
Correct the boot image file that is causing build error

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-19 18:21:12 +00:00
Ryan Eatmon
29967d89a6 linux-ti-staging-rt: Bump linux rt version for 08.01.00.005
Bump linux rt version to 08.01.00.005

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-11-18 20:36:54 -06:00
Ryan Eatmon
64c1d9d96e linux-ti-staging: Bump linux version for 08.01.00.005
Bump linux for 08.01.00.005 release

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-11-18 20:36:48 -06:00
Ryan Eatmon
288c8ce60c u-boot-ti-staging: Bump u-boot version for 08.01.00.005
u-boot bump for 08.01.00.005 release

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
2021-11-18 20:36:39 -06:00
Yogesh Siraswar
1eb6e71fe0 wic: revert grub-efi patch
Revert "conf/machine: k3: Enable grub-efi by default in wic images"

This reverts commit d0b09833b4.
2021-11-19 02:27:48 +00:00
Yogesh Siraswar
f438a091c3 j721e-sr1_1: Add j721e sr1.1 HS support
This patch adds support for J721e HS SR1.1
HS SR1.1 requires updated sysfw binary. Both SR1.0 and SR1.1 sysfw
binary will be generated. sysfw.itb will point to SR1.1

This patch requires J7 SR 1.1 support in K3 Image gen.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-11-19 00:07:45 +00:00
Praneeth Bajjuri
9e1ba1f2e4 vxd-dec-fw: Add the recipe for vxd-dec-fw
Add the firmware packaging recipe for the video decoder
for j721e.

Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
2021-11-18 23:59:51 +00:00
Yogesh Siraswar
194d0bdc71 j7200-hs: changes to support new hs platform
Changes to support new j7200 hs platform in:
1) optee: sign the image
2) atf: sign the image
3) u-boot: Add u-boot-spl image for combined boot image
4) ti-sci-fw_git: Update firmware prefix for j7200 hs

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-16 11:14:52 +00:00
Yogesh Siraswar
3f15773534 ti-rtos-firmware: Add j7200 hs support
We cannot use j7200 keyword for match b'n j7200-evm and j7200-hs-evm due
to existing j7 keyword, we need to duplicate all the j7200 entries for hs.

Also sign the DM firmware for J7200 similar to J7 HS

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-16 11:14:52 +00:00
Yogesh Siraswar
926e364877 conf: machine: Add j7200 hs platform
Machine conf for J7200 HS platform.
Used am64xx hs and j721e hs as reference.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-16 11:14:52 +00:00
Yogesh Siraswar
33d5f0bb7d conf: machine : am65xx: Add missing dtbo
Added missing dtbo k3-am654-evm-ov5640.dtbo required for system test

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-15 21:11:49 +00:00
Yogesh Siraswar
4cde8b6cae conf: machine: am64xx: Add missing dtbo
Add missing k3-am642-evm-nand.dtbo required for system test

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-15 21:11:49 +00:00
Yogesh Siraswar
e20113d667 am64xx-hs: changes to support new hs platform
Changes to support new am64x hs platform in:
1) optee: sign the image
2) atf: sign the image
3) u-boot: Add u-boot-spl image for combined boot image

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-15 21:07:16 +00:00
Yogesh Siraswar
c28a6115d9 ti-sci-fw: changes to build combined boot image for hs build
Added support to build combined boot image for hs build.
This required k3 image gen patch that is already merged.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-15 21:07:16 +00:00
Yogesh Siraswar
7ba78e1b89 conf: machine: add new am64x hs platform
Add new am64x hs platform. This requires two files to be created.
Used am65x and j7  hs platform for reference.

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-15 21:06:46 +00:00
Yogesh Siraswar
ea40937c4b conf: am57xx-evm: Add missing *.dtb and *.dtbo
Add missing dtb and dtbo to deploy folder

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-12 14:12:41 +00:00
Yogesh Siraswar
2b6083bbed ti-linux-fw: Add AUTOREV support for K3 Image Gen
This patch brings k3 image gen under bleeding for nightly builds

Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-12 12:23:40 +00:00
Amjad Ouled-Ameur
cae609388f recipes-bsp: u-boot-ti-mainline: Update to v2021.10 release
This introduces a critical fix for both AM335X EVM and AM43XX EVM, which
can no longer boot because "uuid" is undefined.

v2021.10 has these two fixes, one for each platform:
- commit ff8f277e9121 ("ti: am335x_evm: Switch to DISTRO_BOOT only")
- commit e0c91ae24e5b ("ti: am43xx_evm: Switch to DISTRO_BOOT only")

Signed-off-by: Amjad Ouled-Ameur <aouledameur@baylibre.com>
Reviewed-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-12 12:23:40 +00:00
Denys Dmytriyenko
4c6598f599 recipes: update github SRC_URIs
https://github.blog/2021-09-01-improving-git-protocol-security-github/

GitHub is deprecating unauthenticated protocols, including git:// so update
SRC_URIs with protocol=https

Explicitly pass branch=master where omitted, as bitbake now requires it.

While at it, update libion to the latest to eliminate upstreamed patch.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
2021-11-12 12:23:40 +00:00
32 changed files with 425 additions and 79 deletions

View File

@@ -15,6 +15,7 @@ KERNEL_DEVICETREE = " \
am5729-beagleboneai.dtb \
am57xx-evm.dtb \
ti/am57xx-evm-common.dtbo \
am57xx-evm-reva3.dtb \
ti/am57xx-evm-reva3.dtbo \
am571x-idk.dtb \
ti/am571x-idk-touchscreen.dtbo \
@@ -22,6 +23,8 @@ KERNEL_DEVICETREE = " \
am574x-idk.dtb \
ti/am57xx-idk-osd-lcd-common.dtbo \
ti/am572x-idk-touchscreen.dtbo \
ti/lcd-osd101t2587.dtbo \
ti/lcd-osd101t2045.dtbo \
"
KERNEL_DEVICETREE += "${@oe.utils.conditional('ENABLE_TI_UIO_DEVICES', '1', 'am574x-idk-pru-excl-uio.dtb am572x-idk-pru-excl-uio.dtb am571x-idk-pru-excl-uio.dtb', '', d)}"

View File

@@ -0,0 +1,14 @@
#@TYPE: Machine
#@NAME: AM64xx HS EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "am64x"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs"
SYSFW_SYMLINK = ""
UBOOT_MACHINE = "am64x_hs_evm_r5_defconfig"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"

View File

@@ -0,0 +1,22 @@
#@TYPE: Machine
#@NAME: AM64xx HS EVM
#@DESCRIPTION: Machine configuration for the TI AM64xx HS EVM
require conf/machine/include/am64xx.inc
UBOOT_MACHINE = "am64x_hs_evm_a53_defconfig"
UBOOT_ENTRYPOINT = "0x80080000"
UBOOT_LOADADDRESS = "0x80080000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
UBOOT_DTB_LOADADDRESS = "0x83000000"
UBOOT_DTBO_LOADADDRESS = "0x83080000"
UBOOT_DTBO_OFFSET = "0x00010000"
SPL_BINARY = "tispl.bin_HS"
SPL_BINARYNAME = "tispl.bin"
UBOOT_BINARY = "u-boot.img_HS"
IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"

View File

@@ -10,6 +10,7 @@ KERNEL_DEVICETREE = " \
ti/k3-am642-evm.dtb \
ti/k3-am642-sk.dtb \
ti/k3-am642-evm-icssg1-dualemac.dtbo \
ti/k3-am642-evm-nand.dtbo \
"
# AM64 supports multi-certificate images, use the same

View File

@@ -17,6 +17,7 @@ KERNEL_DEVICETREE = " \
ti/k3-am654-pcie-usb3.dtbo \
ti/k3-am654-evm-tc358876.dtbo \
ti/k3-am654-evm-oldi-lcd1evm.dtbo \
ti/k3-am654-evm-ov5640.dtbo \
"
BBMULTICONFIG += "k3r5-sr2"

View File

@@ -44,12 +44,8 @@ IMAGE_BOOT_FILES_LEGACY = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin sysf
IMAGE_BOOT_FILES_MULTI_CERT = "${SPL_BINARY} u-boot.${UBOOT_SUFFIX} tiboot3.bin"
IMAGE_BOOT_FILES ?= "${IMAGE_BOOT_FILES_LEGACY}"
IMAGE_EFI_BOOT_FILES ?= "${IMAGE_BOOT_FILES}"
EFI_PROVIDER ?= "grub-efi"
MACHINE_FEATURES += "efi"
WKS_FILE ?= "sdimage-2part-efi.wks"
WKS_FILE ?= "sdimage-2part.wks"
do_image_wic[depends] += "virtual/bootloader:do_deploy"
do_image_wic[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] += "mc::k3r5:virtual/bootloader:do_deploy mc::k3r5:ti-sci-fw:do_deploy"

View File

@@ -0,0 +1,11 @@
#@TYPE: Machine
#@NAME: J7 SR1.1 HS EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI J7 SR1.1 HS EVM (R5F core)
# Booting SR1.1 requires different SYSFW, the rest is handled at runtime
require conf/machine/j7-hs-evm-k3r5.conf
SOC_FAMILY_append = ":k3r5-sr1-1"
SYSFW_SOC = "j721e_sr1_1"
SYSFW_SYMLINK = "sysfw.itb"

View File

@@ -19,4 +19,12 @@ SPL_BINARYNAME = "tispl.bin"
UBOOT_BINARY = "u-boot.img_HS"
IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
BBMULTICONFIG += "k3r5-sr1-1"
# Use default IMAGE_BOOT_FILES_LEGACY files
# Since default sysfw.itb on J7 is for SR1.1, add a version for SR1.0
IMAGE_BOOT_FILES += "sysfw-j721e-evm.itb"
do_image_wic[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
do_image_tar[mcdepends] += "mc::k3r5-sr1-1:ti-sci-fw:do_deploy"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"

View File

@@ -0,0 +1,13 @@
#@TYPE: Machine
#@NAME: J7200 HS EVM (R5F)
#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM (R5F core)
require conf/machine/include/k3r5.inc
SYSFW_SOC = "j7200"
SYSFW_CONFIG = "evm"
SYSFW_SUFFIX = "hs"
UBOOT_MACHINE = "j7200_hs_evm_r5_defconfig"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"

View File

@@ -0,0 +1,22 @@
#@TYPE: Machine
#@NAME: J7200 HS EVM
#@DESCRIPTION: Machine configuration for the TI J7200 HS EVM
require conf/machine/j7200-evm.conf
UBOOT_MACHINE = "j7200_hs_evm_a72_defconfig"
UBOOT_ENTRYPOINT = "0x80080000"
UBOOT_LOADADDRESS = "0x80080000"
UBOOT_RD_LOADADDRESS = "0x84000000"
UBOOT_RD_ENTRYPOINT = "0x84000000"
UBOOT_DTB_LOADADDRESS = "0x83000000"
UBOOT_DTBO_LOADADDRESS = "0x83080000"
UBOOT_DTBO_OFFSET = "0x00010000"
SPL_BINARY = "tispl.bin_HS"
SPL_BINARYNAME = "tispl.bin"
UBOOT_BINARY = "u-boot.img_HS"
IMAGE_BOOT_FILES = "${UBOOT_BINARY}"
TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_K3}"

View File

@@ -0,0 +1,3 @@
require k3r5.conf
MACHINE_append = "-sr1-1"

63
licenses/TI-IMG Normal file
View File

@@ -0,0 +1,63 @@
This license applies to the Imagination D5520 firmware image, pvdec_full_bin.fw.
Copyright (C) 2019 Texas Instruments Incorporated
All rights reserved not granted herein.
Limited License.
Texas Instruments Incorporated grants a world-wide, royalty-free, non-exclusive
license under copyrights and patents it now or hereafter owns or controls to
make, have made, use, import, offer to sell and sell ("Utilize") this software
subject to the terms herein. With respect to the foregoing patent license, such
license is granted solely to the extent that any such patent is necessary to
Utilize the software alone. The patent license shall not apply to any
combinations which include this software, other than combinations with devices
manufactured by or for TI (“TI Devices”). No hardware patent is licensed
hereunder.
Redistributions must preserve existing copyright notices and reproduce this
license (including the above copyright notice and the disclaimer and
(if applicable) source code license limitations below) in the documentation
and/or other materials provided with the distribution
Redistribution and use in binary form, without modification, are permitted
provided that the following conditions are met:
* No reverse engineering, decompilation, or disassembly of this
software is permitted with respect to any software provided in binary
form.
* any redistribution and use are licensed by TI for use only with TI
Devices.
* Nothing shall obligate TI to provide you with source code for the
software licensed and provided to you in object code.
If software source code is provided to you, modification and redistribution of
the source code are permitted provided that the following conditions are met:
* any redistribution and use of the source code, including any
resulting derivative works, are licensed by TI for use only with TI
Devices.
* any redistribution and use of any object code compiled from the
source code and any resulting derivative works, are licensed by TI
for use only with TI Devices.
Neither the name of Texas Instruments Incorporated nor the names of its
suppliers may be used to endorse or promote products derived from this
software without specific prior written permission.
DISCLAIMER.
THIS SOFTWARE IS PROVIDED BY TI AND TIS LICENSORS "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
EVENT SHALL TI AND TIS LICENSORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -8,9 +8,9 @@ inherit update-alternatives
BRANCH = "master"
SRC_URI = "git://git.ti.com/pru-software-support-package/pru-software-support-package.git;protocol=git;branch=${BRANCH}"
SRCREV = "acd8479d7f3bdbb4536ceca3cd6803662babaa5a"
SRCREV = "8eee431384b6a1a9c96ae91a8e99485176b4d2b3"
PV = "6.0.0"
PV = "6.0.1"
PR = "r0"
require recipes-ti/includes/ti-paths.inc

View File

@@ -0,0 +1,18 @@
SUMMARY = "Test applications for TI DEC (v4l2 decoder for IMG D5520)"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=f17e17d664f72942124e4fcf06c178ee"
DEPENDS = "libdrm ffmpeg"
inherit autotools pkgconfig
PR = "r1"
SRCREV = "94a80c8c090dbfdc7fafd4e5bb78c2091e715af2"
EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/viddec-test-app.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"

View File

@@ -0,0 +1,18 @@
SUMMARY = "Test applications for TI ENC (v4l2 encoder for IMG VXE384)"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=14;md5=3545dd5bdf513840937d38c10b866605"
DEPENDS = "libdrm"
inherit autotools pkgconfig
PR = "r0"
SRCREV = "a5e7d820bea1be24f25a8369d4d4521c784f869a"
EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"
BRANCH = "master"
SRC_URI = "git://git.ti.com/jacinto7_multimedia/videnc-test-app.git;protocol=git;branch=${BRANCH}"
S = "${WORKDIR}/git"

View File

@@ -0,0 +1,24 @@
SUMMARY = "Video Decoding Firmware"
LICENSE = "TI-IMG"
LIC_FILES_CHKSUM = "file://LICENSE.ti-img;md5=84ca7278930db001870686ad997d6bb1"
require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
PV = "${IMG_DEC_FW_VERSION}"
PR = "${INC_PR}.0"
CLEANBROKEN = "1"
COMPATIBLE_MACHINE = "j7"
PACKAGE_ARCH = "${MACHINE_ARCH}"
S = "${WORKDIR}/git"
TARGET = "pvdec_full_bin.fw"
do_install() {
install -d ${D}${base_libdir}/firmware
install -m 0644 ${S}/ti-img/${TARGET} ${D}${base_libdir}/firmware/${TARGET}
}
FILES_${PN} = "${base_libdir}/firmware"

View File

@@ -13,15 +13,18 @@ NETCP_SA_FW_VERSION = "1.0.0"
NETCP_PA_FW_VERSION = "3.0.2.3"
QMSS_PDSP_FW_VERSION = "1.0.0.9"
PRUETH_FW_AM65X_VERSION = "08.00.00.20"
PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.06"
PRUETH_FW_AM65X_SR2_VERSION = "02.02.09.07"
GOODIX_FW_VERSION = "1.0.0.0"
CADENCE_MHDP_FW_VERSION = "1.2.17"
IMG_DEC_FW_VERSION = "1.0"
TI_LINUX_FW_SRCREV ?= "95232a584175a8ac872adf477b2dbb9ca68ba063"
TI_LINUX_FW_SRCREV ?= "c96a734a059889e571dcf30c0638157c690a6e6e"
SRCREV = "${TI_LINUX_FW_SRCREV}"
BRANCH ?= "ti-linux-firmware"
SRCREV_imggen = "6baabef219aea0f667423f2cab2bc2d63a349488"
K3_IMAGE_GEN_SRCREV ?= "489c767a153ff26e9230746e04dd4b1ad0809901"
SRCREV_imggen = "${K3_IMAGE_GEN_SRCREV}"
SRCREV_FORMAT = "imggen"
SRC_URI = " \

View File

@@ -0,0 +1,64 @@
From 2efc79702a47f9cbbeecbb2f604577f1ec8c95ba Mon Sep 17 00:00:00 2001
From: Yogesh Siraswar <yogeshs@ti.com>
Date: Wed, 8 Dec 2021 17:50:19 -0600
Subject: [KIG PATCH] Makefile: Skip signing of binaries for combined boot hs
images
Combined sysfw binaries used in tiboot.bin do not require signed images.
This fixes issues with AM64x HS and J7200 HS boot images
Upstream-Status: Submitted
Signed-off-by: Yogesh Siraswar <yogeshs@ti.com>
---
Makefile | 8 +++++++-
soc/am64x/Makefile | 1 +
soc/j7200/Makefile | 1 +
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 47b3b20..ab465df 100644
--- a/Makefile
+++ b/Makefile
@@ -215,8 +215,14 @@ $(soc_objroot)/%.o: %.c
$(CROSS_COMPILE)gcc $(CFLAGS) -c -o $@-pre-validated $<
python3 ./scripts/sysfw_boardcfg_validator.py -b $@-pre-validated -i -o $@ -s $(SOC) -l $@.log
-# On HS board configuration binaries must be signed
+# On HS board configuration binaries must be signed unless it is combined boot image
ifdef HS
+ifndef COMBINED_BOOT_IMAGE
+SIGN_BINARY=1
+endif
+endif
+
+ifdef SIGN_BINARY
%.bin.unsigned: %.o
$(CROSS_COMPILE)objcopy -S -O binary $< $@
%.bin: %.bin.unsigned
diff --git a/soc/am64x/Makefile b/soc/am64x/Makefile
index bfbe3e5..33ebbd0 100644
--- a/soc/am64x/Makefile
+++ b/soc/am64x/Makefile
@@ -31,6 +31,7 @@
#
SBL_LOADADDDR ?= 0x70000000
+COMBINED_BOOT_IMAGE = 1
COMBINED_SYSFW_BRDCFG_LOADADDR ?= 0x7b000
LOADADDR ?= 0x44000
SCIFS = sci
diff --git a/soc/j7200/Makefile b/soc/j7200/Makefile
index 3b754f7..0baef51 100644
--- a/soc/j7200/Makefile
+++ b/soc/j7200/Makefile
@@ -31,6 +31,7 @@
#
SBL_LOADADDDR ?= 0x41c00000
+COMBINED_BOOT_IMAGE = 1
COMBINED_TIFS_BRDCFG_LOADADDR ?= 0x7f000
COMBINED_DM_BRDCFG_LOADADDR ?= 0x41c80000
LOADADDR ?= 0x40000
--
2.17.1

View File

@@ -2,10 +2,12 @@ require recipes-bsp/ti-linux-fw/ti-linux-fw.inc
DEPENDS = "openssl-native u-boot-mkimage-native dtc-native"
DEPENDS_append_j7200-evm-k3r5 = " virtual/bootloader"
DEPENDS_append_j7200-hs-evm-k3r5 = " virtual/bootloader"
DEPENDS_append_am64xx-evm-k3r5 = " virtual/bootloader"
DEPENDS_append_am64xx-hs-evm-k3r5 = " virtual/bootloader"
CLEANBROKEN = "1"
PR = "${INC_PR}.0"
PR = "${INC_PR}.1"
# Loaded by R5F core
COMPATIBLE_MACHINE = "k3r5"
@@ -23,6 +25,8 @@ SYSFW_PREFIX = "ti-sci-firmware"
SYSFW_PREFIX_j7-evm-k3r5 = "ti-fs-firmware"
SYSFW_PREFIX_j7200-evm-k3r5 = "ti-fs-firmware"
SYSFW_PREFIX_j7-hs-evm-k3r5 = "ti-fs-firmware"
SYSFW_PREFIX_j7-hs-evm-k3r5-sr1-1 = "ti-fs-firmware"
SYSFW_PREFIX_j7200-hs-evm-k3r5 = "ti-fs-firmware"
SYSFW_SUFFIX ?= "unknown"
@@ -43,17 +47,24 @@ LD[unexport] = "1"
do_configure[noexec] = "1"
SRC_URI_append_j7200-hs-evm-k3r5 = "\
file://0001-Makefile-Skip-signing-of-binaries-for-combined-boot-.patch;patchdir=../imggen"
SRC_URI_append_am64xx-hs-evm-k3r5 = "\
file://0001-Makefile-Skip-signing-of-binaries-for-combined-boot-.patch;patchdir=../imggen"
EXTRA_OEMAKE = "\
CROSS_COMPILE=${TARGET_PREFIX} SYSFW_DL_URL='' SYSFW_HS_DL_URL='' SYSFW_HS_INNER_CERT_DL_URL='' \
SYSFW_PATH="${SYSFW_TISCI}" SOC=${SYSFW_SOC} CONFIG=${SYSFW_CONFIG} \
"
EXTRA_OEMAKE_HS = " \
HS=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \
HS=1 SW_REV=1 SYSFW_HS_PATH="${S}/ti-sysfw/${SYSFW_BASE}-enc.bin" SYSFW_HS_INNER_CERT_PATH="${S}/ti-sysfw/${SYSFW_BASE}-cert.bin" \
"
EXTRA_OEMAKE_append = "${@['',' ${EXTRA_OEMAKE_HS}']['${SYSFW_SUFFIX}' == 'hs']}"
EXTRA_OEMAKE_append_j7200-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
EXTRA_OEMAKE_append_j7200-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
EXTRA_OEMAKE_append_am64xx-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
EXTRA_OEMAKE_append_am64xx-hs-evm-k3r5 = " SBL="${STAGING_DIR_HOST}/boot/u-boot-spl.bin""
do_compile() {
cd ${WORKDIR}/imggen/
@@ -101,6 +112,21 @@ do_deploy_j7200-evm-k3r5() {
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
do_install_j7200-hs-evm-k3r5() {
install -d ${D}/boot
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
}
do_deploy_j7200-hs-evm-k3r5() {
install -d ${DEPLOYDIR}
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
do_install_am64xx-evm-k3r5() {
install -d ${D}/boot
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
@@ -116,4 +142,18 @@ do_deploy_am64xx-evm-k3r5() {
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
do_install_am64xx-hs-evm-k3r5() {
install -d ${D}/boot
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${D}/boot/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
}
do_deploy_am64xx-hs-evm-k3r5() {
install -d ${DEPLOYDIR}
install -m 644 ${WORKDIR}/imggen/${UBOOT_BINARY} ${DEPLOYDIR}/${UBOOT_IMAGE}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_SYMLINK}
ln -sf ${UBOOT_IMAGE} ${DEPLOYDIR}/${UBOOT_BINARY}
install -m 644 ${SYSFW_TISCI} ${DEPLOYDIR}/
}
addtask deploy before do_build after do_compile

View File

@@ -16,6 +16,14 @@ do_compile_append_am65xx-hs-evm() {
)
}
do_compile_append_am64xx-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${B}/${BUILD_DIR}/release/; \
mv bl31.bin bl31.bin.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
)
}
do_compile_append_j7-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${B}/${BUILD_DIR}/release/; \
@@ -23,3 +31,11 @@ do_compile_append_j7-hs-evm() {
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
)
}
do_compile_append_j7200-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${B}/${BUILD_DIR}/release/; \
mv bl31.bin bl31.bin.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh bl31.bin.unsigned bl31.bin; \
)
}

View File

@@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
PR = "r0"
PV = "2021.07"
PV = "2021.10"
# For the un-initiated:
# The actual URL you'd use with a git clone for example would be:
@@ -15,4 +15,4 @@ PV = "2021.07"
# b) and we want git fetcher to use https protocol, hence GIT_PROTOCOL as https
UBOOT_GIT_URI = "git://source.denx.de/u-boot/u-boot.git"
UBOOT_GIT_PROTOCOL = "https"
SRCREV = "840658b093976390e9537724f802281c9c8439f5"
SRCREV = "d80bb749fab53da72c4a0e09b8c2d2aaa3103c91"

View File

@@ -2,8 +2,8 @@ require u-boot-ti.inc
LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"
PR = "r14"
PR = "r16"
BRANCH = "ti-u-boot-2021.01"
SRCREV = "6c804a1af10bda322c86ce1c5dbb29f0fbb56c79"
SRCREV = "15769936a559b1840f50b83f94ee0c636b245001"

View File

@@ -65,7 +65,9 @@ SPL_UART_BINARY_keystone = ""
SPL_UART_BINARY_k3r5 = ""
SPL_UART_BINARY_lego-ev3 = ""
SPL_UART_BINARY_j7200-evm-k3r5 = "u-boot-spl.bin"
SPL_UART_BINARY_j7200-hs-evm-k3r5 = "u-boot-spl.bin"
SPL_UART_BINARY_am64xx-evm-k3r5 = "u-boot-spl.bin"
SPL_UART_BINARY_am64xx-hs-evm-k3r5 = "u-boot-spl.bin"
SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
@@ -396,9 +398,19 @@ do_deploy_append_j7200-evm-k3r5 () {
mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
do_deploy_append_j7200-hs-evm-k3r5 () {
mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
do_deploy_append_am64xx-evm-k3r5 () {
mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
do_deploy_append_am64xx-hs-evm-k3r5 () {
mv ${DEPLOYDIR}/tiboot3.bin ${DEPLOYDIR}/tiboot3-r5spl.bin || true
mv ${DEPLOYDIR}/u-boot-spl.bin ${DEPLOYDIR}/u-boot-spl-r5spl.bin || true
}
TOOLCHAIN = "gcc"

View File

@@ -1,48 +0,0 @@
From 51eece2c291e121f9ae67c9b812617b885e76a64 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Dec 2019 20:31:52 -0800
Subject: [PATCH] cmake: Use GNUInstallDirs module to detect install paths
This helps it to calculate directories as per platform instead of
hardcoding them, helps compile it for arches which use /lib64 and
/usr/lib64 for libpaths
Upstream-Status: Submitted [https://github.com/glneo/libion/pull/2]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
CMakeLists.txt | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6e5928c..5b7c0de 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,6 +3,8 @@ PROJECT(ion)
set(PROJECT_DESCRIPTION "ION Userspace Memory Allocator Library")
set(PROJECT_VERSION 1.0.0)
+INCLUDE(GNUInstallDirs)
+
add_library(ion
SHARED
src/libion.c
@@ -23,12 +25,12 @@ target_include_directories(ion
configure_file(libion.pc.in libion.pc @ONLY)
install(TARGETS ion
- LIBRARY DESTINATION lib
- PUBLIC_HEADER DESTINATION include/ion)
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/ion)
install(DIRECTORY include/kernel-headers/4.19/
- DESTINATION include
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
FILES_MATCHING PATTERN "*.h")
install(FILES ${CMAKE_BINARY_DIR}/libion.pc
- DESTINATION lib/pkgconfig)
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
--
2.24.1

View File

@@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
PV = "1.0.0"
BRANCH = "master"
SRC_URI = "git://github.com/glneo/libion.git;protocol=git;branch=${BRANCH} \
file://0001-cmake-Use-GNUInstallDirs-module-to-detect-install-pa.patch \
"
SRCREV = "813bd63e2f2118e17cb1c5d38505a1e572a2381c"
SRC_URI = "git://github.com/glneo/libion.git;protocol=https;branch=${BRANCH}"
SRCREV = "7e138fc31febbb67734792c1a911439bfd6d23eb"
S = "${WORKDIR}/git"

View File

@@ -39,3 +39,6 @@ RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_am64xx-evm = " prueth-fw-am65x-sr2"
# Add run-time dependency for Cadence MHDP firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " cadence-mhdp-fw"
# Add run-time dependency for Video Decoding firmware to the rootfs
RDEPENDS_${KERNEL_PACKAGE_NAME}-base_append_j7 = " vxd-dec-fw"

View File

@@ -6,5 +6,5 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.10:"
BRANCH = "ti-rt-linux-5.10.y"
SRCREV = "d3083b1688af8af4728478c759e56b2a22adf9e5"
SRCREV = "541ec9a6995c3dd881d6f0b63cc714a08ded457d"
PV = "5.10.65+git${SRCPV}"

View File

@@ -23,11 +23,11 @@ S = "${WORKDIR}/git"
BRANCH = "ti-linux-5.10.y"
SRCREV = "eb55b499b1865222e85acad2c665baadbaea3072"
SRCREV = "dcc6bedb2c2bdb509709e4ae08303206e95ce6c2"
PV = "5.10.65+git${SRCPV}"
# Append to the MACHINE_KERNEL_PR so that a new SRCREV will cause a rebuild
MACHINE_KERNEL_PR_append = "a"
MACHINE_KERNEL_PR_append = "b"
PR = "${MACHINE_KERNEL_PR}"
KERNEL_GIT_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git"
@@ -43,3 +43,9 @@ module_conf_ti_k3_r5_remoteproc = "softdep ti_k3_r5_remoteproc pre: virtio_rpmsg
module_conf_ti_k3_dsp_remoteproc = "softdep ti_k3_dsp_remoteproc pre: virtio_rpmsg_bus"
KERNEL_MODULE_PROBECONF += "rpmsg_client_sample ti_k3_r5_remoteproc ti_k3_dsp_remoteproc"
KERNEL_MODULE_AUTOLOAD_append_j7 = " rpmsg_kdrv_switch"
# Disable SA2UL for AM64x HS and J7200 HS
module_conf_sa2ul_am64xx-hs-evm = "blacklist sa2ul"
KERNEL_MODULE_PROBECONF_append_am64xx-hs-evm = " sa2ul"
module_conf_sa2ul_j7200-hs-evm = "blacklist sa2ul"
KERNEL_MODULE_PROBECONF_append_j7200-hs-evm = " sa2ul"

View File

@@ -61,10 +61,18 @@ do_compile_append_am65xx-hs-evm() {
optee_sign_k3hs
}
do_compile_append_am64xx-hs-evm() {
optee_sign_k3hs
}
do_compile_append_j7-hs-evm() {
optee_sign_k3hs
}
do_compile_append_j7200-hs-evm() {
optee_sign_k3hs
}
do_install_append_ti-soc() {
install -m 644 ${B}/*.optee ${D}${nonarch_base_libdir}/firmware/ || true
install -m 644 ${B}/bl32.bin ${D}${nonarch_base_libdir}/firmware/ || true

View File

@@ -8,7 +8,7 @@ LICENSE = "CC-BY-SA-3.0 & GPLv3+ & MIT & PD"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=f6f02761e31334c48f7021fb94c89aaa"
SRCREV = "05bedba192646152b7bc80b0accaea75aef864e5"
SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git"
SRC_URI = "git://github.com/jadonk/beaglebone-getting-started.git;protocol=https;branch=master"
S = "${WORKDIR}/git"

View File

@@ -15,6 +15,7 @@ inherit update-alternatives
PLAT_SFX = ""
PLAT_SFX_j7 = "j721e"
PLAT_SFX_j7200-evm = "j7200"
PLAT_SFX_j7200-hs-evm = "j7200"
PLAT_SFX_am65xx = "am65xx"
PLAT_SFX_am64xx = "am64xx"
@@ -55,6 +56,15 @@ do_install_prepend_j7-hs-evm() {
)
}
# J7 HS support
do_install_prepend_j7200-hs-evm() {
export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
( cd ${RTOS_DM_FW_DIR}; \
mv ${DM_FIRMWARE} ${DM_FIRMWARE}.unsigned; \
${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ${DM_FIRMWARE}.unsigned ${DM_FIRMWARE}; \
)
}
# Update the am64xx ipc binaries to be consistent with other platforms
do_install_prepend_am64xx() {
( cd ${RTOS_IPC_FW_DIR}; \
@@ -100,6 +110,18 @@ do_install_j7200-evm() {
install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR}
}
do_install_j7200-hs-evm() {
install -d ${LEGACY_IPC_FW_DIR}
install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu2_1_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
# DM Firmware
install -m 0644 ${RTOS_DM_FW_DIR}/ipc_echo_testb_mcu1_0_release_strip.xer5f ${LEGACY_DM_FW_DIR}
# ETH firmware
install -d ${LEGACY_ETH_FW_DIR}
install -m 0644 ${RTOS_ETH_FW_DIR}/app_remoteswitchcfg_server_strip.xer5f ${LEGACY_ETH_FW_DIR}
}
do_install_am65xx() {
install -d ${LEGACY_IPC_FW_DIR}
install -m 0644 ${RTOS_IPC_FW_DIR}/ipc_echo_test_mcu1_0_release_strip.xer5f ${LEGACY_IPC_FW_DIR}
@@ -148,6 +170,13 @@ ALTERNATIVE_${PN}_j7200-evm = "\
j7200-main-r5f0_1-fw \
"
ALTERNATIVE_${PN}_j7200-hs-evm = "\
j7200-mcu-r5f0_0-fw \
j7200-mcu-r5f0_1-fw \
j7200-main-r5f0_0-fw \
j7200-main-r5f0_1-fw \
"
# Set up link names for the firmwares
TARGET_MCU_R5FSS0_0_am65xx = "am65x-mcu-r5f0_0-fw"
@@ -174,6 +203,11 @@ TARGET_MCU_R5FSS0_1_j7200-evm = "j7200-mcu-r5f0_1-fw"
TARGET_MAIN_R5FSS0_0_j7200-evm = "j7200-main-r5f0_0-fw"
TARGET_MAIN_R5FSS0_1_j7200-evm = "j7200-main-r5f0_1-fw"
TARGET_MCU_R5FSS0_0_j7200-hs-evm = "j7200-mcu-r5f0_0-fw"
TARGET_MCU_R5FSS0_1_j7200-hs-evm = "j7200-mcu-r5f0_1-fw"
TARGET_MAIN_R5FSS0_0_j7200-hs-evm = "j7200-main-r5f0_0-fw"
TARGET_MAIN_R5FSS0_1_j7200-hs-evm = "j7200-main-r5f0_1-fw"
ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_0}"
ALTERNATIVE_LINK_NAME[am65x-mcu-r5f0_1-fw] = "${base_libdir}/firmware/${TARGET_MCU_R5FSS0_1}"

View File

@@ -1,7 +0,0 @@
# short-description: Create SD card image with 2 partitions and EFI support
# long-description: Creates a partitioned SD card image for TI platforms that
# supports EFI. Boot files are located in the first vfat partition with extra
# reserved space. We cannot use a GPT here.
bootloader --append="rootfstype=ext4 ro"
part /boot --source bootimg-efi --sourceparams="loader=grub-efi" --fstype=vfat --label boot --active --align 1024 --use-uuid --fixed-size 128M
part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid