mbox series

[0/9] Add support for BeaglePlay

Message ID cover.1704632056.git.jan.kiszka@siemens.com
Headers show
Series Add support for BeaglePlay | expand

Message

Jan Kiszka Jan. 7, 2024, 12:54 p.m. UTC
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.10. Major features are working but others may not
(upstream-based integrations are still uncommon...).

Patch 1 obsoletes patch 8 from the recent RISC-V series
(https://groups.google.com/g/isar-users/c/0QBjhzcs3ac/m/slLUMUUbBAAJ).

Still on my todo list is demoing RPMB and fTPM on this board, altough it
does not support real security (GP variant only).

Jan

Jan Kiszka (9):
  meta-isar: linux-mainline: Update to 6.6.10
  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
  Add support for the BeaglePlay board
  expand-on-first-boot: Preserve MBR on expansion of GPT disks

 RECIPE-API-CHANGELOG.md                       |  5 ++
 kas/machine/Kconfig                           |  5 ++
 kas/machine/beagleplay.yaml                   |  9 +++
 .../imagetypes_beagleplay_hybrid.bbclass      | 25 ++++++
 meta-isar/conf/machine/beagleplay.conf        | 24 ++++++
 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-rc6.bb   | 41 ++++++++++
 ...ne_5.4.203.bb => linux-mainline_6.6.10.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 +++
 18 files changed, 273 insertions(+), 16 deletions(-)
 create mode 100644 kas/machine/beagleplay.yaml
 create mode 100644 meta-isar/classes/imagetypes_beagleplay_hybrid.bbclass
 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-rc6.bb
 rename meta-isar/recipes-kernel/linux/{linux-mainline_5.4.203.bb => linux-mainline_6.6.10.bb} (85%)
 create mode 100644 meta-isar/scripts/lib/wic/canned-wks/beagleplay.wks.in

Comments

Anton Mikanovich Jan. 8, 2024, 8:51 a.m. UTC | #1
07/01/2024 14:54, 'Jan Kiszka' via isar-users wrote:
> 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.10. Major features are working but others may not
> (upstream-based integrations are still uncommon...).
>
> Patch 1 obsoletes patch 8 from the recent RISC-V series
> (https://groups.google.com/g/isar-users/c/0QBjhzcs3ac/m/slLUMUUbBAAJ).
>
> Still on my todo list is demoing RPMB and fTPM on this board, altough it
> does not support real security (GP variant only).
>
> Jan

Hello Jan,

Please cover this target under full CI in the next version of patchset 
if any.
Jan Kiszka Jan. 8, 2024, 12:18 p.m. UTC | #2
On 08.01.24 09:51, Anton Mikanovich wrote:
> 07/01/2024 14:54, 'Jan Kiszka' via isar-users wrote:
>> 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.10. Major features are working but others may not
>> (upstream-based integrations are still uncommon...).
>>
>> Patch 1 obsoletes patch 8 from the recent RISC-V series
>> (https://groups.google.com/g/isar-users/c/0QBjhzcs3ac/m/slLUMUUbBAAJ).
>>
>> Still on my todo list is demoing RPMB and fTPM on this board, altough it
>> does not support real security (GP variant only).
>>
>> Jan
> 
> Hello Jan,
> 
> Please cover this target under full CI in the next version of patchset
> if any.

Sure - but where exactly? CrossTest?

Jan
Jan Kiszka Jan. 8, 2024, 3:07 p.m. UTC | #3
On 08.01.24 14:53, Anton Mikanovich wrote:
> 08/01/2024 14:18, Jan Kiszka wrote:
>> Sure - but where exactly? CrossTest?
>>
>> Jan
>>
> We don't have full-cross test cases jet, but this rebuild is already
> scheduled.
> So currently the only option is: test_nocross()
> And when we will rebuild full CI into two major test cases (full-cross +
> full+nocross) it will go to cross.

I just don't want another no-cross kernel build added to the CI test -
wasted resources. It seem hikey is already in the same boat, but we
should not do ANY non-cross kernel build in CI in fact.

Jan