From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::444; helo=mail-wr1-x444.google.com; envelope-from=leif.lindholm@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2BBF821191F3D for ; Wed, 5 Dec 2018 01:45:51 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id p4so18917939wrt.7 for ; Wed, 05 Dec 2018 01:45:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=i/vGZ7BIw9OvWpdERGdqY+w2TxFUc+BDHgLmxTJpYFU=; b=cDHv3SdzS+XSwR87LJmIV/ptFMHAmPr1f3VR0v4QKxOlID1+bo1YnDE+0OgU1rzSXN 4fezru5m58O0flHP0T6eCWcOWsTRuwexlPO5JZqKURMo5Y3QaviEHM9yRw/SCRyyO/FT Nv1Lb20GH5F2wMFKZPwag3n18cTOsCbBubYzI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=i/vGZ7BIw9OvWpdERGdqY+w2TxFUc+BDHgLmxTJpYFU=; b=FzK2AWC9m45jt3adpPB06YgFdoXi8lJZUUo1wN712R1oFfAgxRyOHNb4QhHVXrhq9T WNBloLtOd3Vjf3C0LGE2KZNQN8N6SzxnPo3tcpIhhhcgQsmpGdHZKQnUeSl0wQb/J7ly dWJnvI5teHymFdcxo01AUeS8s2eFHsg8+vyr2n7ZhfqRRVRpkDdWL2ve69y1ZFXZKYMq G4Rya3JSD3H9DmMhghj6dRpXHO64a6yhq7YArg5wV+O1xRfQwEC6s481THGGhYuobEhO jkfVt1R+CmA6jvVf04v7WDkWvfpgAgXRWuE1UIDzKzr6QadHzf8iKgXtEmIfK4fGjr78 l3tA== X-Gm-Message-State: AA+aEWb2NvdUjESrb+1gbfMEsejkYCwxzxA5VF3LWrIMt1S784DOOoke 2Ru5YH6V4BVoNrwlPaVXW7CqsA== X-Google-Smtp-Source: AFSGD/VFXau9lGUdaGqzu+6gKpsn7DbXEGfd4cyuf6IjWBi5kRcjTXoSsuSEy+lVEBUMJNbNXi5xtw== X-Received: by 2002:adf:f9cb:: with SMTP id w11mr20393642wrr.201.1544003149841; Wed, 05 Dec 2018 01:45:49 -0800 (PST) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id k23sm7054088wmj.32.2018.12.05.01.45.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 05 Dec 2018 01:45:48 -0800 (PST) Date: Wed, 5 Dec 2018 09:45:47 +0000 From: Leif Lindholm To: Nariman Poushin Cc: edk2-devel@lists.01.org Message-ID: <20181205094547.pxhwnuhdur6aqobj@bivouac.eciton.net> References: <1543586196-24466-1-git-send-email-nariman.poushin@linaro.org> MIME-Version: 1.0 In-Reply-To: <1543586196-24466-1-git-send-email-nariman.poushin@linaro.org> User-Agent: NeoMutt/20170113 (1.7.2) Subject: Re: [edk2-platforms] [PATCH v6 2/2] Platform/ARM: Add Readme.md X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Dec 2018 09:45:52 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Nariman, Sorry, one more round: can you replace the
 tags for 'text` and
```text
more text
even more text
```
please?

And the  with **text**?

(And if I missed any more inline HTML, please convert that too.)

Regards,

Leif

On Fri, Nov 30, 2018 at 01:56:36PM +0000, Nariman Poushin wrote:
> This covers the bulk of the information originally present in
> https://github.com/tianocore/tianocore.github.io/wiki/ArmPlatformPkg-AArch64
> regarding building and running the Foundation/Base FVP Platforms.
> 
> The sections on fetching source have been delegated to the root Readme.md
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Nariman Poushin 
> ---
> 
> Changes from v5:
> 
> 	- Properly fixed (rather tha NOT) fix the prebuilt_tools repo url
> 
>  Platform/ARM/Readme.md | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++
>  Readme.md              |  4 +---
>  2 files changed, 63 insertions(+), 3 deletions(-)
>  create mode 100644 Platform/ARM/Readme.md
> 
> diff --git a/Platform/ARM/Readme.md b/Platform/ARM/Readme.md
> new file mode 100644
> index 0000000..d343e7a
> --- /dev/null
> +++ b/Platform/ARM/Readme.md
> @@ -0,0 +1,62 @@
> +== Introduction ==
> +
> +These instructions explain how to get an edk2/edk2-platforms build running
> +on the ARM Base FVP, which is a software model provided by ARM (for free)
> +, which models a Cortex A core with various peripherals. More information
> +can be found here:
> +https://developer.arm.com/products/system-design/fixed-virtual-platforms
> +
> +Requirement:
> +* A 32-bit or 64-bit Linux host machine.
> +* Visual Studio is not officially supported, experimental support can be found here:
> +[https://git.linaro.org/people/leif.lindholm/edk2.git/log/?h=aarch64-vs]
> +
> +== Build EDK2 Tianocore ==
> +
> +
cd $(WORKSPACE)/edk2
For the Foundation and Base FVPs (defined by the DSC file Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc): > +
build -a AARCH64 -p Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc -t GCC5
> + > +Once built, the edk2 image is the following file Build/ArmVExpress-FVP-AArch64/DEBUG_GCC5/FV/FVP_AARCH64_EFI.fd > + > +=== Run edk2/edk2-platforms on the ARM Base Platform FVP === > + > +In order to run the binary we have just built there are a few steps we need to > +go through, we need to get a model, a set of prebuilts (where we will swap out > +the edk2 image with our own) and the tool with which we will swap out the > +prebuilt edk2 image. > + > +We will also rely on the "run_model" script that comes with the prebuilts, it > +is entirely possible to run the model without this but would require quite a bit > +of knowledge regarding the areguments ARM fastmodel (documentation can be found here: > +https://developer.arm.com/docs/100966/1101/programming-reference-for-base-fvps/base-platform-revc-features) > +however the manual set of the FVP is outside the scope of this document. If you are interested > +please consult the documentation. > + > +It's recommended you create a folder where you download the prebuilts and > +required tool and copy your edk2 image in to it, as the run script expects > +the binaries in the same directory. > + > +1) Download the Base FVP from here https://developer.arm.com/products/system-design/fixed-virtual-platforms > + > + - Select Armv8-A Base Platform FVP based on Fast Models 11.4 > + - It has a click through license but is free. > + > +2) Download the 18.10 Linaro ARM Landing Team release for FVP booting UEFI > +https://releases.linaro.org/members/arm/platforms/18.10/fvp-uefi.zip > + > +3) Download the prebuilt fiptool from https://git.linaro.org/landing-teams/working/arm/prebuilt_tools.git > + > +4) Update the fip.bin image from fvp-uefi.zip by running the following command: > + > + fiptool update --nt-fw=[path to binary built above] fip.bin > + > +5) Execute the FVP run_model.sh script from fvp-uefi.zip and provide a path to the FVP binaries > +downloaded in step 1): > + > + MODEL=[path to FVP binary] ./run_model.sh > + > +This expects the contents of fvp-uefi.zip, the bl1.bin and fip.bin (which is > +the file we modify), to be in the same directory as the run_model.sh script. > + > +This should be sufficient to provide a build/run/debug environment for aarch64. > + > diff --git a/Readme.md b/Readme.md > index 6ad5953..6748826 100644 > --- a/Readme.md > +++ b/Readme.md > @@ -206,9 +206,7 @@ they will be documented with the platform. > * [Overdrive](Platform/AMD/OverdriveBoard) > * [Overdrive 1000](Platform/SoftIron/Overdrive1000Board) > > -## ARM > -* [Juno](Platform/ARM/JunoPkg) > -* [Versatile Express](Platform/ARM/VExpressPkg) > +## [ARM](Platform/ARM/Readme.md) > > ## Hisilicon > * [D02](Platform/Hisilicon/D02) > -- > 2.7.4 >