From nobody Sun Feb 8 17:22:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+80930+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80930+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1632222137; cv=none; d=zohomail.com; s=zohoarc; b=O7okFvmarR0XtzzPSPnAUQWS2pMpL660Vexlfo6/OaSeCmveLuzGjllDsxKbrR/NNP48yhRYjDgGZ6YSL/Ec5obJT0BdsvKEqJI8oaNEegQDzPUIMDx+L0MgV9A/59nTcYLpqMO+RSrg4PkNorCSK+WtlUJHebOMdA3HSaFys2s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632222137; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=ZLa5LfzM13KkNo1quTxwlQdDLExa6A9fkfQmvpeIT7I=; b=epCs7Hth2AiPHwsGqQMZDXXu0uwGY04l7Ov1GAOOuCSAYmnBmJQv8TPtIHe+GJLoR7q5C/ibygJPYbcLWiTjMabMLqjKpmGTK2Coxi0Dz8COUG29BqFfSstm90yweWKJ/g0giOP0mtEs3nmUpPsyvNLtRylQLfZplvd4o5etzoQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80930+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1632222137419700.3635025628454; Tue, 21 Sep 2021 04:02:17 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id bResYY1788612xaLwMSuU24t; Tue, 21 Sep 2021 04:02:17 -0700 X-Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mx.groups.io with SMTP id smtpd.web10.5965.1632222136088775351 for ; Tue, 21 Sep 2021 04:02:16 -0700 X-Received: by mail-lf1-f41.google.com with SMTP id b20so21135121lfv.3 for ; Tue, 21 Sep 2021 04:02:15 -0700 (PDT) X-Gm-Message-State: DndhwqLqff6QTZjojHmiWQPfx1787277AA= X-Google-Smtp-Source: ABdhPJwAQo0tVghMTsrWVbUBXkkFlMIkuZ576qeHI2bVd0tUmuSxCNziL3+rDDvWNW9YvNkyXGDm3A== X-Received: by 2002:a05:6512:2307:: with SMTP id o7mr21942160lfu.183.1632222132647; Tue, 21 Sep 2021 04:02:12 -0700 (PDT) X-Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id 131sm2101246ljj.52.2021.09.21.04.02.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 04:02:12 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, jaz@semihalf.com, gjb@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, alon.rotman@solid-run.com, Marcin Wojtas Subject: [edk2-devel] [edk2-platforms PATCH 1/4] SolidRun/Cn913xCEx7Eval: Add Readme.md Date: Tue, 21 Sep 2021 13:00:53 +0200 Message-Id: <20210921110056.659697-2-mw@semihalf.com> In-Reply-To: <20210921110056.659697-1-mw@semihalf.com> References: <20210921110056.659697-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1632222137; bh=z+tLKqe3dA/WCHL2T15Ix/BUAhy7LbcS83jStoxevy4=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=cntNa7GE/UuipVdDfykFT5w84RD8OoEmehbMaARyoJyFudkjrVuF0kWLeVU9gWsdEe5 DoolabJ1Tk+bLk+V7Vzfpe01i5AKCHLjBSK6c8xwt7CR9PmMxHC6ULqhgw/oZ6FEzdwXf 9itfGMMTvlZhpp51BHusLhYZFZcgD/Ojs8E= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1632222138273100006 Content-Type: text/plain; charset="utf-8" Add the complete build instruction for CN913x CEx7 Evaluation Board. Signed-off-by: Marcin Wojtas --- Platform/SolidRun/Cn913xCEx7Eval/Readme.md | 98 ++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 Platform/SolidRun/Cn913xCEx7Eval/Readme.md diff --git a/Platform/SolidRun/Cn913xCEx7Eval/Readme.md b/Platform/SolidRun= /Cn913xCEx7Eval/Readme.md new file mode 100644 index 0000000000..813e723b65 --- /dev/null +++ b/Platform/SolidRun/Cn913xCEx7Eval/Readme.md @@ -0,0 +1,98 @@ +=EF=BB=BFSolidRun CN913x CEx7 Evaluation Board +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +# Summary + +This is a port of 64-bit TianoCore EDK II firmware for the SolidRun CN913x= CEx7 Evaluation Board. + +# Building the firmware + +## Prepare toolchain (for cross-compilation only): + +1. Download the toolchain: + + ``` + wget https://releases.linaro.org/components/toolchain/binaries/7.5-2019= .12/aarch64-linux-gnu/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu.tar= .xz + ``` + +1. After extracting, setup the path and compiler prefix to GCC5\_AARCH64\_= PREFIX variable: + + ``` + export GCC5_AARCH64_PREFIX=3D/gcc-linaro-7.5.0-2019.12-= x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- + ``` + +## Prepare prerequisites + +1. Create a new folder (directory) on your local development machine + for use as your workspace. This example uses `/work/git/tianocore`, mod= ify as + appropriate for your needs. + + ``` + $ export WORKSPACE=3D/work/git/tianocore + $ mkdir -p $WORKSPACE + $ cd $WORKSPACE + ``` + +1. Clone the Trusted Firmware repository: + + ``` + $ cd ${WORKSPACE} + $ git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git + ``` +1. Clone repository for auxiliary firmware on the SoC co-processors and ch= eckout to binaries-marvell-armada-SDK10.0.1.0: + + ``` + $ cd ${WORKSPACE} + $ git clone https://github.com/MarvellEmbeddedProcessors/binaries-marve= ll.git + $ cd binaries-marvell/ + $ git checkout -b binaries-marvell-armada-SDK10.0.1.0 origin/binaries-m= arvell-armada-SDK10.0.1.0 + ``` +1. Clone the DDR training code from: + + ``` + $ cd ${WORKSPACE} + $ git clone https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell= .git + ``` +## Prepare EDKII environment: + +Please follow instructions from "Obtaining source code" and "Manual buildi= ng" from the top level edk2-platforms [Readme.md](https://github.com/tianoc= ore/edk2-platforms#readme). + +## Build EDKII: + +1. Use below build command: + + ``` + $ cd ${WORKSPACE} + $ build -a AARCH64 -t GCC5 -b RELEASE -D INCLUDE_TFTP_COMMAND -D CAPSUL= E_ENABLE -D X64EMU_ENABLE -p Platform/SolidRun/Cn913xCEx7Eval/Cn913xCEx7Eva= l.dsc + ``` + +## Build the final firmware image: + +1. Set BL33 variable to path to EDK II output binary: + + ``` + $ export BL33=3D${WORKSPACE}/Build/Cn913xCEx7Eval-AARCH64/RELEASE_GCC5/= FV/ARMADA_EFI.fd + ``` +1. Export SCP_BL2 variable: + + ``` + $ export SCP_BL2=3D${WORKSKPACE}/binaries-marvell/mrvl_scp_bl2.img + ``` +1. Export compiler variables (for cross-compilation only): + + ``` + $ export ARCH=3Darm64 + $ export CROSS_COMPILE=3D/gcc-linaro-7.5.0-2019.12-x86_= 64_aarch64-linux-gnu/bin/aarch64-linux-gnu- + ``` +1. Build the image: + + ``` + $ cd ${WORKSPACE}/trusted-firmware-a/ + $ make LOG_LEVEL=3D20 MV_DDR_PATH=3D${WORKSPACE}/mv-ddr-marvell CP_NUM= =3D3 PLAT=3Dt9130_cex7_eval all fip mrvl_flash + + ``` +The firmware image `flash-image.bin` can be found in `build/t9130_cex7_eva= l/release/` directory. + +# ARM System Ready certification. + +CN913x CEx7 Evaluation Board is [System Ready ES](https://developer.arm.co= m/architectures/system-architectures/arm-systemready/es) certified. Release= binary and the firmware components' baselines list are available in a dedi= cated [wiki page](https://github.com/semihalf/edk2-platforms/wiki). --=20 2.29.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80930): https://edk2.groups.io/g/devel/message/80930 Mute This Topic: https://groups.io/mt/85762837/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Feb 8 17:22:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+80931+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80931+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1632222138; cv=none; d=zohomail.com; s=zohoarc; b=HkNzcSH79ejKVdQhmvK3hKuK0eR8X53cxzl5QClbFYNPlr+gpJQ2YLhcdSO8Xp19Z3jTYmx+sD3txoZ9npAiZW/kV6vAhP/TEhUsaW/ZZonDjQj33pv/nlfdahnf4j0FbVku/RR3w1xdWHu3qbe7/kgHyTDeyInLZ69Ja9mOgjs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632222138; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=dC3OabA8/2ea4IEkwm+EttA8TD5/XGY0Qc6ZwpFhsPc=; b=hqSH7iLJnrS/jlSLrdfxq0C4xOh49oGE1GsFCaUsljkkutDqS3leplDwo4n3Oymd+T9TmO7LvHderJAIICyh7gnd2U7nEqmSfUUZpRYpJCT3Wgru6IGSwJf5JrrXAE4eMLJSnOKaEmPKyx05USDm2JxXrFTviK31WmWGHpcnNgg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80931+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1632222138151752.19243406121; Tue, 21 Sep 2021 04:02:18 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id DWHYYY1788612xBsSH7UJk8k; Tue, 21 Sep 2021 04:02:17 -0700 X-Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mx.groups.io with SMTP id smtpd.web10.5966.1632222136916351961 for ; Tue, 21 Sep 2021 04:02:17 -0700 X-Received: by mail-lf1-f46.google.com with SMTP id e15so40932728lfr.10 for ; Tue, 21 Sep 2021 04:02:16 -0700 (PDT) X-Gm-Message-State: OVt6rnbGZgvN13p8y9ZeoTKEx1787277AA= X-Google-Smtp-Source: ABdhPJyYggffIR61UE0pcS618Tl9jBnEHs2U/ascE7H2Fbw/m7jJ/IOKWmVWWkF+A6wgW8eciqsgnA== X-Received: by 2002:a05:6512:3f03:: with SMTP id y3mr22661461lfa.5.1632222133626; Tue, 21 Sep 2021 04:02:13 -0700 (PDT) X-Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id 131sm2101246ljj.52.2021.09.21.04.02.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 04:02:13 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, jaz@semihalf.com, gjb@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, alon.rotman@solid-run.com, Marcin Wojtas Subject: [edk2-devel] [edk2-platforms PATCH 2/4] SolidRun/Armada80x0McBin: Add Readme.md Date: Tue, 21 Sep 2021 13:00:54 +0200 Message-Id: <20210921110056.659697-3-mw@semihalf.com> In-Reply-To: <20210921110056.659697-1-mw@semihalf.com> References: <20210921110056.659697-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1632222137; bh=IAx7/e4I5V0rNXVB5hlYR/LnOjFqARmb+tQ+xqcun34=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=e64J2uw7RbfIRUxqgXVJ0ryMWfvpbP+ILPMVSWGXA6ub4xFlpmaJGtLHGrH4WSiKHVe 3B31l+VvfDFlGVHdjD88SbBw0qn57JZ0H52Sg8PRHYWQHic97i6PuTA8catLWd5/Ig592 Y1U+rr/NiBVXTNSxP6tbZyNgblgGhODYyos= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1632222138805100010 Content-Type: text/plain; charset="utf-8" From: Grzegorz Bernacki Add the complete build instruction for MacchiatoBin platform. Signed-off-by: Marcin Wojtas --- Platform/SolidRun/Armada80x0McBin/Readme.md | 97 ++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 Platform/SolidRun/Armada80x0McBin/Readme.md diff --git a/Platform/SolidRun/Armada80x0McBin/Readme.md b/Platform/SolidRu= n/Armada80x0McBin/Readme.md new file mode 100644 index 0000000000..c63cf41b2d --- /dev/null +++ b/Platform/SolidRun/Armada80x0McBin/Readme.md @@ -0,0 +1,97 @@ +=EF=BB=BFSolidRun MacchiatoBin +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D + +# Summary + +This is a port of 64-bit TianoCore EDK II firmware for the SolidRun Macchi= atoBin platform based on the Marvell ARMADA 8040 SoC. + +# Building the firmware + +## Prepare toolchain (for cross-compilation only): + +1. Download the toolchain: + + ``` + wget https://releases.linaro.org/components/toolchain/binaries/7.5-2019= .12/aarch64-linux-gnu/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu.tar= .xz + ``` + +1. After extracting, setup the path and compiler prefix to GCC5\_AARCH64\_= PREFIX variable: + + ``` + export GCC5_AARCH64_PREFIX=3D/gcc-linaro-7.5.0-2019.12-= x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- + ``` + +## Prepare prerequisites + +1. Create a new folder (directory) on your local development machine + for use as your workspace. This example uses `/work/git/tianocore`, mod= ify as + appropriate for your needs. + + ``` + $ export WORKSPACE=3D/work/git/tianocore + $ mkdir -p $WORKSPACE + $ cd $WORKSPACE + ``` + +1. Clone the Trusted Firmware repository: + + ``` + $ cd ${WORKSPACE} + $ git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git + ``` +1. Clone repository for auxiliary firmware on the SoC co-processors and ch= eckout to binaries-marvell-armada-SDK10.0.1.0: + + ``` + $ cd ${WORKSPACE} + $ git clone https://github.com/MarvellEmbeddedProcessors/binaries-marve= ll.git + $ cd binaries-marvell/ + $ git checkout -b binaries-marvell-armada-SDK10.0.1.0 origin/binaries-m= arvell-armada-SDK10.0.1.0 + ``` +1. Clone the DDR training code from: + + ``` + $ cd ${WORKSPACE} + $ git clone https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell= .git + ``` +## Prepare EDKII environment: + +Please follow instructions from "Obtaining source code" and "Manual buildi= ng" from the top level edk2-platforms [Readme.md](https://github.com/tianoc= ore/edk2-platforms#readme). + +## Build EDKII: + +1. Use below build command: + + ``` + $ cd ${WORKSPACE} + $ build -a AARCH64 -t GCC5 -b RELEASE -D INCLUDE_TFTP_COMMAND -D X64EMU= _ENABLE -p Platform/SolidRun/Armada80x0McBin/Armada80x0McBin.dsc + ``` + +## Build the final firmware image: + +1. Set BL33 variable to path to EDK II output binary: + + ``` + $ export BL33=3D${WORKSPACE}/Build/Armada80x0McBin-AARCH64/RELEASE_GCC5= /FV/ARMADA_EFI.fd + ``` +1. Export SCP_BL2 variable: + + ``` + $ export SCP_BL2=3D${WORKSKPACE}/binaries-marvell/mrvl_scp_bl2.img + ``` +1. Export compiler variables (for cross-compilation only): + + ``` + $ export ARCH=3Darm64 + $ export CROSS_COMPILE=3D/gcc-linaro-7.5.0-2019.12-x86_= 64_aarch64-linux-gnu/bin/aarch64-linux-gnu- + ``` +1. Build the image: + + ``` + $ cd ${WORKSPACE}/trusted-firmware-a/ + $ make LOG_LEVEL=3D20 MV_DDR_PATH=3D${WORKSPACE}/mv-ddr-marvell PLAT=3D= a80x0_mcbin all fip mrvl_flash + ``` +The firmware image `flash-image.bin` can be found in `build/a80x0_mcbin/re= lease/` directory. + +# ARM System Ready certification. + +MacchiatoBin is [System Ready ES](https://developer.arm.com/architectures/= system-architectures/arm-systemready/es) certified. Release binary and the = firmware components' baselines list are available in a dedicated [wiki page= ](https://github.com/semihalf/edk2-platforms/wiki). --=20 2.29.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80931): https://edk2.groups.io/g/devel/message/80931 Mute This Topic: https://groups.io/mt/85762838/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Feb 8 17:22:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+80933+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80933+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1632222139; cv=none; d=zohomail.com; s=zohoarc; b=fNpPvWFwmbhXfpNamsj+Cgyt7KMkZ5cyowRquYklczDyK/1o9bfiSat0Rcwb4IT7JBEuqsuHSOoaQn0rKQXr3E+gXgBMLDAcfnAldpIPrnSJcOKkxugegsghSGOhHWIb3nWLHqi9ANpm/0C54Zdnfg/LSBlyrfSnIHjKOo3E+3I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632222139; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=WQU6m85qdFHxR5mpakXIZB4xuoNzRrPbRxd+qBODAr0=; b=aqXeBmKLojKh4tFk180cbswbL84ESlYtuz5XyvPBCs36EyCHO3taH+eiCvHffOAL+BD/jbTxIT1kSJt15rXKjQpMyNcbm5W4Qy2QhKf0X+C8a/OsQmCCECi1BcooASpR5goNt9khNvcc4Ie4hflQzSuAydmLNj/ocaxLeBO6bEg= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80933+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1632222139348794.6394721246855; Tue, 21 Sep 2021 04:02:19 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id 7391YY1788612xf1W90HgBiw; Tue, 21 Sep 2021 04:02:19 -0700 X-Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com [209.85.167.41]) by mx.groups.io with SMTP id smtpd.web10.5967.1632222138034330117 for ; Tue, 21 Sep 2021 04:02:18 -0700 X-Received: by mail-lf1-f41.google.com with SMTP id u8so28373347lff.9 for ; Tue, 21 Sep 2021 04:02:17 -0700 (PDT) X-Gm-Message-State: 1JCoajVnTpgBBszNYnWDwGyVx1787277AA= X-Google-Smtp-Source: ABdhPJy6MqfI9I1dNnbL/6Hv5mJzcV1C57PJxIx1xwHNj7kS1iA+Gv6flRjxQ2VtjSbFdb45QLWQIA== X-Received: by 2002:a05:6512:33c1:: with SMTP id d1mr22843677lfg.96.1632222134623; Tue, 21 Sep 2021 04:02:14 -0700 (PDT) X-Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id 131sm2101246ljj.52.2021.09.21.04.02.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 04:02:14 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, jaz@semihalf.com, gjb@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, alon.rotman@solid-run.com, Marcin Wojtas Subject: [edk2-devel] [edk2-platforms PATCH 3/4] Marvell/Cn913xDbA: Add Readme.md Date: Tue, 21 Sep 2021 13:00:55 +0200 Message-Id: <20210921110056.659697-4-mw@semihalf.com> In-Reply-To: <20210921110056.659697-1-mw@semihalf.com> References: <20210921110056.659697-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1632222139; bh=rpVDs5Z3ML+/n+f4A17CF0OXSzH/iorbtO4PDysS2lY=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=CTlPitaJyuwyglaxkfoDqqVPC37R+mnWlwjv6B+K1tecUrLN4yZmHrEyFyJMpOqfUB7 69eezuugrTZ/rKGJKy2aYU2eLIIq0HTZCy5H40cwGh0XKdsUbqgbSZrx5T9vomIJKCIge k0FKSXqKjvzbLYomvGHCztw02vKrrv5yxKk= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1632222141110100018 Content-Type: text/plain; charset="utf-8" Add the complete build instruction for CN913x Development Board. Signed-off-by: Marcin Wojtas --- Platform/Marvell/Cn913xDb/Readme.md | 98 ++++++++++++++++++++ 1 file changed, 98 insertions(+) create mode 100644 Platform/Marvell/Cn913xDb/Readme.md diff --git a/Platform/Marvell/Cn913xDb/Readme.md b/Platform/Marvell/Cn913xD= b/Readme.md new file mode 100644 index 0000000000..ecdb78302b --- /dev/null +++ b/Platform/Marvell/Cn913xDb/Readme.md @@ -0,0 +1,98 @@ +=EF=BB=BFMarvell CN913x Development Board +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D + +# Summary + +This is a port of 64-bit TianoCore EDK II firmware for the Marvell CN913x = Development Board. + +# Building the firmware + +## Prepare toolchain (for cross-compilation only): + +1. Download the toolchain: + + ``` + wget https://releases.linaro.org/components/toolchain/binaries/7.5-2019= .12/aarch64-linux-gnu/gcc-linaro-7.5.0-2019.12-x86_64_aarch64-linux-gnu.tar= .xz + ``` + +1. After extracting, setup the path and compiler prefix to GCC5\_AARCH64\_= PREFIX variable: + + ``` + export GCC5_AARCH64_PREFIX=3D/gcc-linaro-7.5.0-2019.12-= x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu- + ``` + +## Prepare prerequisites + +1. Create a new folder (directory) on your local development machine + for use as your workspace. This example uses `/work/git/tianocore`, mod= ify as + appropriate for your needs. + + ``` + $ export WORKSPACE=3D/work/git/tianocore + $ mkdir -p $WORKSPACE + $ cd $WORKSPACE + ``` + +1. Clone the Trusted Firmware repository: + + ``` + $ cd ${WORKSPACE} + $ git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git + ``` +1. Clone repository for auxiliary firmware on the SoC co-processors and ch= eckout to binaries-marvell-armada-SDK10.0.1.0: + + ``` + $ cd ${WORKSPACE} + $ git clone https://github.com/MarvellEmbeddedProcessors/binaries-marve= ll.git + $ cd binaries-marvell/ + $ git checkout -b binaries-marvell-armada-SDK10.0.1.0 origin/binaries-m= arvell-armada-SDK10.0.1.0 + ``` +1. Clone the DDR training code from: + + ``` + $ cd ${WORKSPACE} + $ git clone https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell= .git + ``` +## Prepare EDKII environment: + +Please follow instructions from "Obtaining source code" and "Manual buildi= ng" from the top level edk2-platforms [Readme.md](https://github.com/tianoc= ore/edk2-platforms#readme). + +## Build EDKII: + +1. Use below build command: + + ``` + $ cd ${WORKSPACE} + $ build -a AARCH64 -t GCC5 -b RELEASE -D CN9132 -D INCLUDE_TFTP_COMMAND= -D CAPSULE_ENABLE -p Platform/Marvell/Cn913xDb/Cn913xDbA.dsc + ``` + +## Build the final firmware image: + +1. Set BL33 variable to path to EDK II output binary: + + ``` + $ export BL33=3D${WORKSPACE}/Build/Cn9132DbA-AARCH64/RELEASE_GCC5/FV/AR= MADA_EFI.fd + ``` +1. Export SCP_BL2 variable: + + ``` + $ export SCP_BL2=3D${WORKSKPACE}/binaries-marvell/mrvl_scp_bl2.img + ``` +1. Export compiler variables (for cross-compilation only): + + ``` + $ export ARCH=3Darm64 + $ export CROSS_COMPILE=3D/gcc-linaro-7.5.0-2019.12-x86_= 64_aarch64-linux-gnu/bin/aarch64-linux-gnu- + ``` +1. Build the image: + + ``` + $ cd ${WORKSPACE}/trusted-firmware-a/ + $ make LOG_LEVEL=3D20 MV_DDR_PATH=3D${WORKSPACE}/mv-ddr-marvell CP_NUM= =3D3 PLAT=3Dt9130 all fip mrvl_flash + + ``` +The firmware image `flash-image.bin` can be found in `build/t9130/release/= ` directory. + +# ARM System Ready certification. + +CN913x Development Board is [System Ready ES](https://developer.arm.com/ar= chitectures/system-architectures/arm-systemready/es) certified. Release bin= ary and the firmware components' baselines list are available in a dedicate= d [wiki page](https://github.com/semihalf/edk2-platforms/wiki). --=20 2.29.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80933): https://edk2.groups.io/g/devel/message/80933 Mute This Topic: https://groups.io/mt/85762840/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- From nobody Sun Feb 8 17:22:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+80932+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80932+1787277+3901457@groups.io ARC-Seal: i=1; a=rsa-sha256; t=1632222138; cv=none; d=zohomail.com; s=zohoarc; b=nLTRrAmwxfVJwBa3Cp4Wpb8+CsMOVWYoBz2Jyk+fFSiNnvjOkcUDDy9GCqIxOHWVktf3QSJwef3avth/fRTgaRV1vuy/eUpKVNXJt9hb/viKlWjnI+xmtAtT45K07lECfHNy8HsKn+vOGU+wHoYe6QHu2Vhtufzs9WFZMOKqLT4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1632222138; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=pb9B0yir2cLXHuskEdvSX7PTxndtQvQG432pnWDf4JE=; b=d/pvgv8Tnw7aBf/NEurDm11/yK7sRgyzL0cY3FxE44HSTMPP/ux4xb40EgRkUGcYyGsOmRXPhKUgoZHSZ7WoqY3IPt7stRF8wDTFxcWrx1zrfboqDPmG+wlZYppdn3u81uDYfzj7z9DaehbPu9YRRM1USN6O6jEFGSf1TxEa30w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+80932+1787277+3901457@groups.io Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1632222138708114.98481444732556; Tue, 21 Sep 2021 04:02:18 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id QfpKYY1788612xVYwAGB3rco; Tue, 21 Sep 2021 04:02:18 -0700 X-Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) by mx.groups.io with SMTP id smtpd.web08.5965.1632222137366406299 for ; Tue, 21 Sep 2021 04:02:17 -0700 X-Received: by mail-lf1-f47.google.com with SMTP id p29so78958104lfa.11 for ; Tue, 21 Sep 2021 04:02:17 -0700 (PDT) X-Gm-Message-State: Rn8QPlWQXXEnh5cavLhB8x30x1787277AA= X-Google-Smtp-Source: ABdhPJxD1JzJSEoVb0NC5R/n8ulLWuun0aZC2R+G16wKCJy/Z+QyEZPEuf162lyUf6KuJtY2/fjHww== X-Received: by 2002:a05:6512:228f:: with SMTP id f15mr19818188lfu.253.1632222135589; Tue, 21 Sep 2021 04:02:15 -0700 (PDT) X-Received: from gilgamesh.lab.semihalf.net ([83.142.187.85]) by smtp.gmail.com with ESMTPSA id 131sm2101246ljj.52.2021.09.21.04.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Sep 2021 04:02:15 -0700 (PDT) From: "Marcin Wojtas" To: devel@edk2.groups.io Cc: leif@nuviainc.com, ardb+tianocore@kernel.org, jaz@semihalf.com, gjb@semihalf.com, Samer.El-Haj-Mahmoud@arm.com, alon.rotman@solid-run.com, Marcin Wojtas Subject: [edk2-devel] [edk2-platforms PATCH 4/4] Marvell: Armada7k8k/OcteonTx: Bump firmware to "EDK2 SH 1.1" revision Date: Tue, 21 Sep 2021 13:00:56 +0200 Message-Id: <20210921110056.659697-5-mw@semihalf.com> In-Reply-To: <20210921110056.659697-1-mw@semihalf.com> References: <20210921110056.659697-1-mw@semihalf.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mw@semihalf.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1632222138; bh=jR/VQ7n9k7TX6/vML2DMS7b/qgStG8X2zk5/dZ4tUIY=; h=Cc:Date:From:Reply-To:Subject:To; b=oj1TxZBsIPJcvjPiaINTI1V5XdqlhgkA5K9H7NzKdCxCutb4aXHPnsO+Fzuprl3VL+7 rZ11rNBM5ICqmAGxHTRGjyN49zZLVyajZYyNe8MFPCr41UeXOHScKRnss2O9Pltdsh1pb oM2zk2bHJZ4OkkTrfmfyYEv2NkoS/ui9Kdo= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1632222140891100013 Content-Type: text/plain; charset="utf-8" Update firmware revision after PCI / IcuLib reworks and adding CN913x CEx7 Evaluation Board support. Signed-off-by: Marcin Wojtas --- Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc b/Silicon/Marvel= l/Armada7k8k/Armada7k8k.dsc.inc index d27e582b54..3b76acd99c 100644 --- a/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc +++ b/Silicon/Marvell/Armada7k8k/Armada7k8k.dsc.inc @@ -248,7 +248,7 @@ !endif =20 [PcdsFixedAtBuild.common] - gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"EDK2 SH 1.0" + gEfiMdeModulePkgTokenSpaceGuid.PcdFirmwareVersionString|L"EDK2 SH 1.1" gArmPlatformTokenSpaceGuid.PcdCoreCount|4 =20 gEfiMdePkgTokenSpaceGuid.PcdMaximumUnicodeStringLength|1000000 @@ -388,7 +388,7 @@ gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosDocRev|0x0 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosEntryPointProvideMethod|0x2 gEfiMdeModulePkgTokenSpaceGuid.PcdSmbiosVersion|0x0302 - gMarvellTokenSpaceGuid.PcdFirmwareVersion|"EDK2 SH 1.0" + gMarvellTokenSpaceGuid.PcdFirmwareVersion|"EDK2 SH 1.1" =20 # TRNG gMarvellTokenSpaceGuid.PcdEip76TrngBaseAddress|0xF2760000 --=20 2.29.0 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80932): https://edk2.groups.io/g/devel/message/80932 Mute This Topic: https://groups.io/mt/85762839/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-