From patchwork Tue Feb 27 16:35:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrea Cappelli X-Patchwork-Id: 3011 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 8D45A3FA05 for ; Tue, 27 Feb 2024 17:36:07 +0100 (CET) Received: by mail-wr1-f42.google.com with SMTP id ffacd0b85a97d-33d754746c3so3009822f8f.1 for ; Tue, 27 Feb 2024 08:36:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; t=1709051767; x=1709656567; darn=patchwork.amarulasolutions.com; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=GCr0Wpxwj9b0RTdugJ5M6VqYWzi32vlsmJgYS82YJ8w=; b=BvJu8/JtLyNPkMtO2azGcsSr08Tq880o4FJdapVm2muGXVw1ByilH6mr54CwueREhl wxcAumcKhHppxNWZtsUphW4M6gPtA3F7RP6jVdmxz1Kd+L+nzbhzCPGxHNLltJiDfBWr Ysw6Uo/Dw54fMG2TNe4ahIK6+ifnAmMCXnPUk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709051767; x=1709656567; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GCr0Wpxwj9b0RTdugJ5M6VqYWzi32vlsmJgYS82YJ8w=; b=EUtHu8fxZsXPf4gW03Dmz91r/e8rc/pFq1GO27+KyXSrhPQs3Vlcj46u0Mg1DjjcE+ vaSW4evSfM7c+omFzo1WeH/39xkuqkWhugV8V+418FOZz9nM7T8TG8B8cCDV25jrDRYw f712wrEkByndh9kOfklKIvUaLTe91wDzYHU7sHex4Om2MY941zx1OKmC8uLYVUjIn/iv oGuTvqe9ZXaUrQu7i/7lvyS635//7Sof74U7KsIbbfsVqbz+ONnlJH1ZFS7QLPNdZz3j VpruA/kYWWsScju+NjBMsqyNtB0dlvkXhzxx4bbJY3z7oQ/wwo9yxlyYbhTSfEGJHEd2 PTuA== X-Gm-Message-State: AOJu0Yw15IXnvKC6zVevZtlVO6eMPqjT81MqhFE8Wcgda1b0G/ftwVaO Odoo1rYRweqdQTRyCw/PKN0qQ03mnbaw6p+U9ZvCiSnfLHNJpQhg2bE7hpVdUUA6LxKg0shEBBP tC1jzMW9Nh97DnkT6TglE6gCDhHlU96i8RrOupF6WT10rqUvlxtE= X-Google-Smtp-Source: AGHT+IFZf7foaWTdXYzjWXQsms9rFdAX6KQ49OoZW28sKnuuEYSNTzZ62YDyRC7ubYYscnVTM7epuxEBGSauQ1k/mNY= X-Received: by 2002:adf:e546:0:b0:33d:6edc:99af with SMTP id z6-20020adfe546000000b0033d6edc99afmr7833371wrm.34.1709051767026; Tue, 27 Feb 2024 08:36:07 -0800 (PST) MIME-Version: 1.0 References: <20240227163019.2876942-1-dario.binacchi@amarulasolutions.com> In-Reply-To: <20240227163019.2876942-1-dario.binacchi@amarulasolutions.com> From: Andrea Cappelli Date: Tue, 27 Feb 2024 17:35:56 +0100 Message-ID: Subject: Fwd: [PATCH v7 00/17] Add support for AM62x-SK HS-FS devices To: linux-amarula@patchwork.amarulasolutions.com ---------- Forwarded message --------- From: Dario Binacchi Date: Tue, 27 Feb 2024 at 17:30 Subject: [PATCH v7 00/17] Add support for AM62x-SK HS-FS devices To: Cc: Romain Naour , Alexander Sverdlin < alexander.sverdlin@gmail.com>, Andreas Dannenberg , Yegor Yefremov , Xuanhao Shi < X15000177@gmail.com>, Anand Gadiyar , James Hilliard < james.hilliard1@gmail.com>, Thomas Petazzoni , Dario Binacchi , < michael@amarulasolutions.com>, Asaf Kahlon , < francois.perrad@gadz.org>, , < bryce@redpinelabs.com> The SK-AM62B-P1 is the newest version of SK-AM62 which includes high-security field-securable (HS-FS) silicon to optionally customize keys and encryption for security applications. This requires enabling the BR2_TARGET_TI_K3_IMAGE_GEN_SECTYPE_HS_FS option, which, however, was buggy. This series fixes the errors and bumps the Linux kernel and U-Boot required for such a new device. Dario Binacchi (17): configs/ti_am62x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting configs/ti_am64x_sk_defconfig: fix BR2_TARGET_OPTEE_OS_PLATFORM setting configs/ti_am62x_sk_defconfig: explicitly set the ti-k3-r5-loader version configs/ti_am64x_sk_defconfig: explicitly set the ti-k3-r5-loader version boot/ti-k3-r5-loader: bump to version 2024.01 package/python-attrs: add host variant package/python-rpds-py: add host variant package/python-referencing: add host variant package/python-jsonschema-specifications: add host variant package/python-jsonschema: add host variant boot/ti-k3-r5-loader: set binman environment boot/uboot: add BR2_TARGET_UBOOT_USE_BINMAN option package/ti-k3: move TI_K3_{SECTYPE,SOC} out of the image-gen scope package/ti-k3: disable HS-FS for AM65 SOC boot/ti-k3/ti-k3-r5-loader: install tiboot3.bin configs/ti_am62x_sk_defconfig: bump U-Boot version to 2024.01 configs/ti_am62x_sk_defconfig: bump Linux version to 6.6.17 board/ti/am62x-sk/genimage.cfg | 7 ++- board/ti/am62x-sk/post-build.sh | 54 ++++++++++++++++ board/ti/am62x-sk/post-image.sh | 5 ++ boot/ti-k3-image-gen/Config.in | 61 ++----------------- boot/ti-k3-image-gen/ti-k3-image-gen.mk | 4 +- boot/ti-k3-r5-loader/Config.in | 5 +- boot/ti-k3-r5-loader/ti-k3-r5-loader.hash | 2 +- boot/ti-k3-r5-loader/ti-k3-r5-loader.mk | 12 +++- boot/uboot/Config.in | 23 +++---- boot/uboot/uboot.mk | 12 +++- configs/ti_am62x_sk_defconfig | 22 ++++--- configs/ti_am64x_sk_defconfig | 7 ++- package/Config.in | 1 + package/python-attrs/python-attrs.mk | 6 ++ .../python-jsonschema-specifications.mk | 10 +++ .../python-jsonschema/python-jsonschema.mk | 14 +++++ .../python-referencing/python-referencing.mk | 11 ++++ package/python-rpds-py/python-rpds-py.mk | 1 + package/ti-k3/Config.in | 60 ++++++++++++++++++ package/ti-k3/ti-k3.mk | 7 +++ 20 files changed, 237 insertions(+), 87 deletions(-) create mode 100755 board/ti/am62x-sk/post-build.sh create mode 100755 board/ti/am62x-sk/post-image.sh create mode 100644 package/ti-k3/Config.in create mode 100644 package/ti-k3/ti-k3.mk