From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 7321338948658135040 X-Received: by 2002:a05:6871:491:b0:206:9ccd:a1ff with SMTP id f17-20020a056871049100b002069ccda1ffmr7254700oaj.40.1705239578398; Sun, 14 Jan 2024 05:39:38 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a05:6870:7e0f:b0:203:3b8e:507a with SMTP id wx15-20020a0568707e0f00b002033b8e507als1446035oab.2.-pod-prod-03-us; Sun, 14 Jan 2024 05:39:37 -0800 (PST) X-Google-Smtp-Source: AGHT+IHvdK6Cn5cQ0/a9YSdXadbUSv3BwK2+NhKppGIdu5yCEo4FyFAuhqg4KyaHe8dfXRGI5A98 X-Received: by 2002:a05:6871:d08d:b0:206:98a:316f with SMTP id mw13-20020a056871d08d00b00206098a316fmr3813202oac.29.1705239577370; Sun, 14 Jan 2024 05:39:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705239577; cv=none; d=google.com; s=arc-20160816; b=V75LE6/Gr4Jm1nJzKahI6vIYdBVnwGIIA3BWBXnBiHAhXWFouZ4vtcz9+DYcxxzxMC yjtceST98pynMmJ70lmeBOMRLYWQmvFVwxXCn95VHHJ23A4JDzYaz5J0MBpGW/r3/nzS fA0yeHY++VkOYvlRA5Qu5Ye8IrFBqW5tyqiSmCK1pZpzkVxl6KCto0qzW8pto5DiwtGr CBF/IBo+k9WTz5phti91tnE+CYLLAhbqls9+Ojj+1SCsjni+Bi6xdCkqfUrnE4Vnbvdm oOjcCtCpqLG87hkbUujcK3Ne8VCWqMTeSJtGvOPDnLMA7MX5z5ZTZC8RxuJ0otPiqWEK 90uw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:message-id:date :subject:cc:to:from:dkim-signature; bh=kdyDV76WjAlcVmedThWaNsA7J7bpIf3jQhjQQSKMxiI=; fh=IlHmq1Kl6WDqsYIcQXzwFqB72MHx6soicqMlhBagVr4=; b=a6Ot82+IpGz0dYYv+AvOUuoyu0SkvSSZi3kCtGDEXPzoGQokjrlRqeZt2VPqjBXCOv 7se0bbOCx6b2LCj22Vqh6iAwwuT1Eqtq2d17r9WXsU1D2xdVttxarHkpHcff1nVL/cPw S1rOjXjnG1YHs+Zlpyr9jlc1Yv6ne7Dlk5luU9SVMTyjqe+owlk5lPeOhxVVtDLvCLCw 8q5DYjeT24+rsGpqmEfsMTCM6R29IktoN1CX48G6G1XGQTaKBe1XAAC+o7NnVBUuZpnX ypLPEFcuRm0aVY8WgBIDMb2GzaN4yvUzHZN4A1uIutxloSqBPWq+1MdeKft7K7pdESWm tscA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=PtQ+PxgJ; spf=pass (google.com: domain of fm-294854-20240114133935987088b15ee54f7351-lswkn0@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-294854-20240114133935987088b15ee54f7351-lswKn0@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Return-Path: Received: from mta-64-226.siemens.flowmailer.net (mta-64-226.siemens.flowmailer.net. [185.136.64.226]) by gmr-mx.google.com with ESMTPS id nd12-20020a056871440c00b002081eea1dd3si126677oab.3.2024.01.14.05.39.37 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 14 Jan 2024 05:39:37 -0800 (PST) Received-SPF: pass (google.com: domain of fm-294854-20240114133935987088b15ee54f7351-lswkn0@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) client-ip=185.136.64.226; Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=fm1 header.b=PtQ+PxgJ; spf=pass (google.com: domain of fm-294854-20240114133935987088b15ee54f7351-lswkn0@rts-flowmailer.siemens.com designates 185.136.64.226 as permitted sender) smtp.mailfrom=fm-294854-20240114133935987088b15ee54f7351-lswKn0@rts-flowmailer.siemens.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=siemens.com Received: by mta-64-226.siemens.flowmailer.net with ESMTPSA id 20240114133935987088b15ee54f7351 for ; Sun, 14 Jan 2024 14:39:35 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=fm1; d=siemens.com; i=jan.kiszka@siemens.com; h=Date:From:Subject:To:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Cc; bh=kdyDV76WjAlcVmedThWaNsA7J7bpIf3jQhjQQSKMxiI=; b=PtQ+PxgJq4QkGar1X97ma8FmoGGHo6NUbL6oAyPRnTbEyTNiSM3n7dNy4gF9rvyx3m+euK Qk8q2jHGJHNky6EJIUlsgk9FX0XQBafXY/DWGpQveB9Qy/4OoHVHFvZVyjiKuSi1z/ICKpcR Z+RyBhwBBIyXKILjvAOb4S6z4NJxM=; From: Jan Kiszka To: isar-users Cc: Nishanth Menon Subject: [PATCH v2 00/11] Add support for BeaglePlay Date: Sun, 14 Jan 2024 14:39:23 +0100 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Flowmailer-Platform: Siemens Feedback-ID: 519:519-294854:519-21489:flowmailer X-TUID: eVLvhiz91ihV This adds basic support for the BeaglePlay, a TI AM62x based ARM64 board (https://www.beagleboard.org/boards/beagleplay). The integration is upstream-based: U-Boot 2024.01-rc6, TF-A 2.10, OP-TEE 4.0.0 and kernel 6.6.11. Major features are working but others may not (upstream-based integrations are still uncommon...). Patch 1 obsoletes patch 7 from the recent RISC-V series v2 (https://groups.google.com/g/isar-users/c/0QBjhzcs3ac/m/KKPN9k8QAgAJ). Still on my todo list is demoing RPMB and fTPM on this board, altough it does not support real security (GP variant only). Changes in v2: - fix and simplify the hybrid partition table generation (previous approach caused bmap corruptions) - hook into CI - update to 6.6.11 Jan Jan Kiszka (11): meta-isar: linux-mainline: Update to 6.6.11 optee-os: Switch default binary to tee-raw.bin u-boot-custom: Allow to set BL31 and TEE from recipes u-boot-custom: Allow to define different installation binaries beagleplay: Add TF-A recipe beagleplay: Add OP-TEE recipe beagleplay: Add U-Boot recipe wic: Add hybrid-boot bootloader source plugin expand-on-first-boot: Preserve MBR on expansion of GPT disks Add support for the BeaglePlay board ci: Add beagleplay to full CI test RECIPE-API-CHANGELOG.md | 5 ++ kas/machine/Kconfig | 5 ++ kas/machine/beagleplay.yaml | 9 +++ meta-isar/conf/machine/beagleplay.conf | 20 +++++ meta-isar/conf/mc.conf | 1 + .../conf/multiconfig/beagleplay-bookworm.conf | 7 ++ .../optee-os/optee-os-beagleplay_4.0.0.bb | 18 +++++ .../trusted-firmware-a-beagleplay_2.10.bb | 15 ++++ ...2x-Add-basic-initialization-for-usb-.patch | 80 +++++++++++++++++++ .../recipes-bsp/u-boot/files/rules-beagleplay | 16 ++-- .../u-boot/u-boot-beagleplay_2024.01.bb | 41 ++++++++++ ...ne_5.4.203.bb => linux-mainline_6.6.11.bb} | 6 +- .../lib/wic/canned-wks/beagleplay.wks.in | 11 +++ meta/recipes-bsp/optee-os/optee-os.inc | 2 +- .../u-boot/files/debian/rules.tmpl | 2 +- meta/recipes-bsp/u-boot/u-boot-custom.inc | 12 ++- .../files/expand-last-partition.sh | 10 +++ .../lib/wic/plugins/source/hybrid-boot.py | 38 +++++++++ testsuite/citest.py | 1 + 19 files changed, 283 insertions(+), 16 deletions(-) create mode 100644 kas/machine/beagleplay.yaml create mode 100644 meta-isar/conf/machine/beagleplay.conf create mode 100644 meta-isar/conf/multiconfig/beagleplay-bookworm.conf create mode 100644 meta-isar/recipes-bsp/optee-os/optee-os-beagleplay_4.0.0.bb create mode 100644 meta-isar/recipes-bsp/trusted-firmware-a/trusted-firmware-a-beagleplay_2.10.bb create mode 100644 meta-isar/recipes-bsp/u-boot/files/0001-TMP-board-ti-am62x-Add-basic-initialization-for-usb-.patch copy meta/recipes-bsp/u-boot/files/debian/rules.tmpl => meta-isar/recipes-bsp/u-boot/files/rules-beagleplay (55%) create mode 100644 meta-isar/recipes-bsp/u-boot/u-boot-beagleplay_2024.01.bb rename meta-isar/recipes-kernel/linux/{linux-mainline_5.4.203.bb => linux-mainline_6.6.11.bb} (85%) create mode 100644 meta-isar/scripts/lib/wic/canned-wks/beagleplay.wks.in create mode 100644 meta/scripts/lib/wic/plugins/source/hybrid-boot.py -- 2.35.3