public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/2] Readme.md: Update instructions to fetch source
@ 2018-11-26 13:10 Nariman Poushin
  2018-11-26 13:10 ` [PATCH 2/2] Platform/ARM: Add Readme.md Nariman Poushin
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Nariman Poushin @ 2018-11-26 13:10 UTC (permalink / raw)
  To: edk2-devel

Openssl is fetched as a git submodule, so make sure git clone --recursive
is specified in the instructions to fetch a full source tree.

Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
---
 Readme.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Readme.md b/Readme.md
index 6ad5953..bb53c6f 100644
--- a/Readme.md
+++ b/Readme.md
@@ -78,7 +78,7 @@ target-specific binutils. These are included with any prepackaged GCC toolchain
    1. [edk2-non-osi](https://github.com/tianocore/edk2-non-osi) (if building
       platforms that need it)
    ```
-   $ git clone https://github.com/tianocore/edk2.git
+   $ git clone https://github.com/tianocore/edk2.git --recursive
    ...
    $ git clone https://github.com/tianocore/edk2-platforms.git
    ...
-- 
2.7.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [PATCH 2/2] Platform/ARM: Add Readme.md
  2018-11-26 13:10 [PATCH 1/2] Readme.md: Update instructions to fetch source Nariman Poushin
@ 2018-11-26 13:10 ` Nariman Poushin
  2018-11-26 14:11 ` [PATCH 1/2] Readme.md: Update instructions to fetch source Gao, Liming
  2018-11-26 18:41 ` [PATCH " Leif Lindholm
  2 siblings, 0 replies; 10+ messages in thread
From: Nariman Poushin @ 2018-11-26 13:10 UTC (permalink / raw)
  To: edk2-devel

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

Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
---
 Platform/ARM/Readme.md | 102 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 102 insertions(+)
 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..1ef11a6
--- /dev/null
+++ b/Platform/ARM/Readme.md
@@ -0,0 +1,102 @@
+== Introduction ==
+These instructions are to build and run UEFI on the AArch64 Foundation or Base FVPs (Fixed Virtual Platforms). FVPs are fixed configurations of ARM Fast Models; they are also known as RTSMs (Real Time System Models). The Base FVP is an evolution of the VE (Versatile Express) RTSM.<br/>
+While the AArch64 Foundation FVP is free to download, the Base FVP requires an ARM license. The Base FVP has additional debugging and configuration features.
+
+<b>Requirement:</b>
+* A 32-bit or 64-bit Linux host machine. Support for MS Windows-based toolchains has not been added to the EDK2 BaseTools. 
+
+== Getting the EDK2 Source with AArch64 support (ARM 64-bit architecture) ==
+1) Get the requirements
+
+A Universally Unique Id (UUID) header. Needed to build the EDK2 BaseTools. On Ubuntu: sudo apt-get install uuid-dev 
+
+2) Download the sources 
+<pre>git clone git@github.com:tianocore/edk2.git
+git clone https://github.com/tianocore/edk2-platforms.git</pre>
+
+== Build EDK2 Tianocore ==
+
+1) Install AArch64 GNU toolchain:
+<pre>sudo apt install gcc-aarch64-linux-gnu</pre>
+
+2) Build EDK2:
+
+<pre>cd $(WORKSPACE)/edk2</pre>
+* For the Foundation and Base FVPs (defined by the DSC file ArmPlatformPkg?/ArmVExpressPkg/ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc):
+<pre>GCC5_AARCH64_PREFIX=aarch64-linux-gnu- build -a AARCH64 -p Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc -t GCC5</pre>
+
+Once built, the UEFI Firmware is the following file Build/ArmVExpress-FVP-AArch64/DEBUG_GCC5/FV/FVP_AARCH64_EFI.fd
+
+<b>Note 1:</b> To build the release build, add '-b RELEASE'. Here's an example with the Foundation FVP:
+<pre>GCC5_AARCH64_PREFIX=aarch64-linux-gnu- build -a AARCH64 -p Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc -t GCC5 -b RELEASE</pre>
+
+== Start Linux from UEFI on the FVPs ==
+
+=== Build AArch64 Linux ===
+1) Get the AArch64 Linux sources
+<pre>git clone git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64.git -b soc-armv8-model
+cd linux-aarch64</pre>
+
+2) Build the AArch64 kernel with Virtio support
+<pre>make ARCH=arm64 mrproper
+make ARCH=arm64 defconfig</pre>
+
+Enable Virtio Disk and Ext4 support in the kernel. The Linaro disk file-system uses Ext4.
+<pre>make ARCH=arm64 menuconfig
+Device Drivers  ---> Virtio drivers  ---> <*> Platform bus driver for memory mapped virtio devices
+Device Drivers  ---> [*] Block devices  --->  <*> Virtio block driver
+File systems  ---> <*> The Extended 4 (ext4) filesystem</pre>
+
+Build the kernel.
+<pre>make -j4 ARCH=arm64 CROSS_COMPILE=<path-to-aarch64-gcc>/gcc-linaro-aarch64-linux-gnu-4.8-2013.06_linux/bin/aarch64-linux-gnu-</pre>
+
+You should get the binaries:
+* arch/arm64/boot/Image
+* arch/arm64/boot/dts/foundation-v8.dtb
+* arch/arm64/boot/dts/rtsm_ve-aemv8a.dtb 
+
+=== Run Linux from UEFI on the Foundation FVP ===
+
+1) Download the Foundation FVP: http://www.arm.com/fvp
+
+Decompress the AArch64 Foundation FVP
+<pre>tar xf ~/FM000-KT-00035-r0p8-48rel5.tgz</pre>
+
+2) The current version of the Foundation FVP can only start an ELF image. To workaround this limitation, we use the 'uefi-aarch64-bootstrap' to start the UEFI image on this model.
+
+To build the 'uefi-aarch64-bootstrap':
+<pre>pushd ArmPlatformPkg/ArmVExpressPkg/Scripts/uefi-aarch64-bootstrap/
+CROSS_COMPILE=<path-to-aarch64-gcc>/gcc-linaro-aarch64-linux-gnu-4.8-2013.06_linux/bin/aarch64-linux-gnu- make
+popd</pre>
+
+3) The Foundation FVP takes an option for an ELF file to be loaded as well as an option to load a binary data blob into RAM.
+
+Linux kernel (filename = 'Image') and the Device Tree Binary (filename = 'foundation-v8.dtb') are expected to be found in the directory where the model is started from.
+
+A file system example can be downloaded from Linaro:
+<pre>wget http://releases.linaro.org/13.06/openembedded/aarch64/vexpress64-openembedded_minimal-armv8_20130623-376.img.gz
+gunzip vexpress64-openembedded_minimal-armv8_20130623-376.img.gz</pre>
+
+The file-system needs some minimal preparation:
+<pre>mkdir tmp
+fdisk -lu vexpress64-openembedded_minimal-armv8_20130623-376.img
+sudo mount -o loop,offset=$((106496 * 512)) vexpress64-openembedded_minimal-armv8_20130623-376.img tmp/
+cd tmp
+sudo ln -s S35mountall.sh etc/rcS.d/S03mountall.sh
+sudo sh -c "echo 'devtmpfs /dev devtmpfs mode=0755,nosuid 0 0' >> etc/fstab"
+cd ..
+sudo umount tmp/</pre>
+
+The following command line can be used to run UEFI in the following manner:
+<pre>$AARCH64_FOUNDATION_MODEL_ROOT/Foundation_v8 --cores=2 --image=ArmPlatformPkg/ArmVExpressPkg/Scripts/uefi-aarch64-bootstrap/uefi-bootstrap-el3-foundation.axf --nsdata=Build/ArmVExpress-RTSM-AEMv8Ax4-foundation/DEBUG_GCC47/FV/RTSM_VE_FOUNDATIONV8_EFI.fd@0xA0000000 --block-device=<path/to>/vexpress64-openembedded_minimal-armv8_20130623-376.img</pre>
+
+<b>Note:</b> Do not use a symbolic link to the file-system image. The model will not be able to read the image file.
+
+=== Run Linux from UEFI on the Base FVP ===
+
+The Linux kernel (filename = 'Image') and the Device Tree Binary (filename = 'rtsm_ve-aemv8a.dtb') are expected to be found in the directory where the model is started from.
+<pre>export PATH=ARM_BASE_AEMV8_ROOT:$PATH
+export LD_LIBRARY_PATH=ARM_BASE_AEMV8_ROOT:$LD_LIBRARY_PATH
+FVP_VE_AEMv8A -C motherboard.flashloader0.fname=Build/ArmVExpress-RTSM-AEMv8Ax4/DEBUG_GCC47/FV/RTSM_VE_AEMV8_EFI.fd</pre>
+
+<!-- [[Category:ARM]] -->
-- 
2.7.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/2] Readme.md: Update instructions to fetch source
  2018-11-26 13:10 [PATCH 1/2] Readme.md: Update instructions to fetch source Nariman Poushin
  2018-11-26 13:10 ` [PATCH 2/2] Platform/ARM: Add Readme.md Nariman Poushin
@ 2018-11-26 14:11 ` Gao, Liming
  2018-11-26 14:15   ` Nariman Poushin
  2018-11-26 14:52   ` [edk2-platforms] [PATCH v2 " Nariman Poushin
  2018-11-26 18:41 ` [PATCH " Leif Lindholm
  2 siblings, 2 replies; 10+ messages in thread
From: Gao, Liming @ 2018-11-26 14:11 UTC (permalink / raw)
  To: Nariman Poushin, edk2-devel@lists.01.org

Could you add [edk2-platform] in the title? So, I know this change is for edk2-platform repo. 

And, please add Contributed-under: TianoCore Contribution Agreement 1.1 before Signed-off-by.

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Nariman Poushin
> Sent: Monday, November 26, 2018 9:11 PM
> To: edk2-devel@lists.01.org
> Subject: [edk2] [PATCH 1/2] Readme.md: Update instructions to fetch source
> 
> Openssl is fetched as a git submodule, so make sure git clone --recursive
> is specified in the instructions to fetch a full source tree.
> 
> Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
> ---
>  Readme.md | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Readme.md b/Readme.md
> index 6ad5953..bb53c6f 100644
> --- a/Readme.md
> +++ b/Readme.md
> @@ -78,7 +78,7 @@ target-specific binutils. These are included with any prepackaged GCC toolchain
>     1. [edk2-non-osi](https://github.com/tianocore/edk2-non-osi) (if building
>        platforms that need it)
>     ```
> -   $ git clone https://github.com/tianocore/edk2.git
> +   $ git clone https://github.com/tianocore/edk2.git --recursive
>     ...
>     $ git clone https://github.com/tianocore/edk2-platforms.git
>     ...
> --
> 2.7.4
> 
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/2] Readme.md: Update instructions to fetch source
  2018-11-26 14:11 ` [PATCH 1/2] Readme.md: Update instructions to fetch source Gao, Liming
@ 2018-11-26 14:15   ` Nariman Poushin
  2018-11-26 14:52   ` [edk2-platforms] [PATCH v2 " Nariman Poushin
  1 sibling, 0 replies; 10+ messages in thread
From: Nariman Poushin @ 2018-11-26 14:15 UTC (permalink / raw)
  To: liming.gao; +Cc: edk2-devel

Hi,

Of course, I will resend both patches with the appropriate Contribution
agreement.

Thanks
Nariman

On Mon, 26 Nov 2018 at 14:11, Gao, Liming <liming.gao@intel.com> wrote:

> Could you add [edk2-platform] in the title? So, I know this change is for
> edk2-platform repo.
>
> And, please add Contributed-under: TianoCore Contribution Agreement 1.1
> before Signed-off-by.
>
> > -----Original Message-----
> > From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Nariman Poushin
> > Sent: Monday, November 26, 2018 9:11 PM
> > To: edk2-devel@lists.01.org
> > Subject: [edk2] [PATCH 1/2] Readme.md: Update instructions to fetch
> source
> >
> > Openssl is fetched as a git submodule, so make sure git clone --recursive
> > is specified in the instructions to fetch a full source tree.
> >
> > Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
> > ---
> >  Readme.md | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Readme.md b/Readme.md
> > index 6ad5953..bb53c6f 100644
> > --- a/Readme.md
> > +++ b/Readme.md
> > @@ -78,7 +78,7 @@ target-specific binutils. These are included with any
> prepackaged GCC toolchain
> >     1. [edk2-non-osi](https://github.com/tianocore/edk2-non-osi) (if
> building
> >        platforms that need it)
> >     ```
> > -   $ git clone https://github.com/tianocore/edk2.git
> > +   $ git clone https://github.com/tianocore/edk2.git --recursive
> >     ...
> >     $ git clone https://github.com/tianocore/edk2-platforms.git
> >     ...
> > --
> > 2.7.4
> >
> >
> > _______________________________________________
> > edk2-devel mailing list
> > edk2-devel@lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [edk2-platforms] [PATCH v2 1/2] Readme.md: Update instructions to fetch source
  2018-11-26 14:11 ` [PATCH 1/2] Readme.md: Update instructions to fetch source Gao, Liming
  2018-11-26 14:15   ` Nariman Poushin
@ 2018-11-26 14:52   ` Nariman Poushin
  2018-11-26 14:52     ` [edk2-platforms] [PATCH v3 2/2] Platform/ARM: Add Readme.md Nariman Poushin
  2018-12-11 18:32     ` [edk2-platforms] [PATCH v2 1/2] Readme.md: Update instructions to fetch source Leif Lindholm
  1 sibling, 2 replies; 10+ messages in thread
From: Nariman Poushin @ 2018-11-26 14:52 UTC (permalink / raw)
  To: edk2-devel, liming.gao

Openssl is fetched as a git submodule, so make sure git clone --recursive
is specified in the instructions to fetch a full source tree.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
---

Changes since v1:

	- Added Contribution Agreement tag

 Readme.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Readme.md b/Readme.md
index 6ad5953..bb53c6f 100644
--- a/Readme.md
+++ b/Readme.md
@@ -78,7 +78,7 @@ target-specific binutils. These are included with any prepackaged GCC toolchain
    1. [edk2-non-osi](https://github.com/tianocore/edk2-non-osi) (if building
       platforms that need it)
    ```
-   $ git clone https://github.com/tianocore/edk2.git
+   $ git clone https://github.com/tianocore/edk2.git --recursive
    ...
    $ git clone https://github.com/tianocore/edk2-platforms.git
    ...
-- 
2.7.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [edk2-platforms] [PATCH v3 2/2] Platform/ARM: Add Readme.md
  2018-11-26 14:52   ` [edk2-platforms] [PATCH v2 " Nariman Poushin
@ 2018-11-26 14:52     ` Nariman Poushin
  2018-12-11 18:32     ` [edk2-platforms] [PATCH v2 1/2] Readme.md: Update instructions to fetch source Leif Lindholm
  1 sibling, 0 replies; 10+ messages in thread
From: Nariman Poushin @ 2018-11-26 14:52 UTC (permalink / raw)
  To: edk2-devel, liming.gao

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 <nariman.poushin@linaro.org>
---

Changes since v2:

	- Updated the "Download the Sources" section to have the correct path
	- Added Contribution Agreement tag

 Platform/ARM/Readme.md | 102 +++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 102 insertions(+)
 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..c23b0a2
--- /dev/null
+++ b/Platform/ARM/Readme.md
@@ -0,0 +1,102 @@
+== Introduction ==
+These instructions are to build and run UEFI on the AArch64 Foundation or Base FVPs (Fixed Virtual Platforms). FVPs are fixed configurations of ARM Fast Models; they are also known as RTSMs (Real Time System Models). The Base FVP is an evolution of the VE (Versatile Express) RTSM.<br/>
+While the AArch64 Foundation FVP is free to download, the Base FVP requires an ARM license. The Base FVP has additional debugging and configuration features.
+
+<b>Requirement:</b>
+* A 32-bit or 64-bit Linux host machine. Support for MS Windows-based toolchains has not been added to the EDK2 BaseTools. 
+
+== Getting the EDK2 Source with AArch64 support (ARM 64-bit architecture) ==
+1) Get the requirements
+
+A Universally Unique Id (UUID) header. Needed to build the EDK2 BaseTools. On Ubuntu: sudo apt-get install uuid-dev 
+
+2) Download the sources
+
+Please see the root edk2-platforms/Readme.md for information on how to obtain the source
+
+== Build EDK2 Tianocore ==
+
+1) Install AArch64 GNU toolchain:
+<pre>sudo apt install gcc-aarch64-linux-gnu</pre>
+
+2) Build EDK2:
+
+<pre>cd $(WORKSPACE)/edk2</pre>
+* For the Foundation and Base FVPs (defined by the DSC file ArmPlatformPkg?/ArmVExpressPkg/ArmVExpress-RTSM-AEMv8Ax4-foundation.dsc):
+<pre>GCC5_AARCH64_PREFIX=aarch64-linux-gnu- build -a AARCH64 -p Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc -t GCC5</pre>
+
+Once built, the UEFI Firmware is the following file Build/ArmVExpress-FVP-AArch64/DEBUG_GCC5/FV/FVP_AARCH64_EFI.fd
+
+<b>Note 1:</b> To build the release build, add '-b RELEASE'. Here's an example with the Foundation FVP:
+<pre>GCC5_AARCH64_PREFIX=aarch64-linux-gnu- build -a AARCH64 -p Platform/ARM/VExpressPkg/ArmVExpress-FVP-AArch64.dsc -t GCC5 -b RELEASE</pre>
+
+== Start Linux from UEFI on the FVPs ==
+
+=== Build AArch64 Linux ===
+1) Get the AArch64 Linux sources
+<pre>git clone git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/linux-aarch64.git -b soc-armv8-model
+cd linux-aarch64</pre>
+
+2) Build the AArch64 kernel with Virtio support
+<pre>make ARCH=arm64 mrproper
+make ARCH=arm64 defconfig</pre>
+
+Enable Virtio Disk and Ext4 support in the kernel. The Linaro disk file-system uses Ext4.
+<pre>make ARCH=arm64 menuconfig
+Device Drivers  ---> Virtio drivers  ---> <*> Platform bus driver for memory mapped virtio devices
+Device Drivers  ---> [*] Block devices  --->  <*> Virtio block driver
+File systems  ---> <*> The Extended 4 (ext4) filesystem</pre>
+
+Build the kernel.
+<pre>make -j4 ARCH=arm64 CROSS_COMPILE=<path-to-aarch64-gcc>/gcc-linaro-aarch64-linux-gnu-4.8-2013.06_linux/bin/aarch64-linux-gnu-</pre>
+
+You should get the binaries:
+* arch/arm64/boot/Image
+* arch/arm64/boot/dts/foundation-v8.dtb
+* arch/arm64/boot/dts/rtsm_ve-aemv8a.dtb 
+
+=== Run Linux from UEFI on the Foundation FVP ===
+
+1) Download the Foundation FVP: http://www.arm.com/fvp
+
+Decompress the AArch64 Foundation FVP
+<pre>tar xf ~/FM000-KT-00035-r0p8-48rel5.tgz</pre>
+
+2) The current version of the Foundation FVP can only start an ELF image. To workaround this limitation, we use the 'uefi-aarch64-bootstrap' to start the UEFI image on this model.
+
+To build the 'uefi-aarch64-bootstrap':
+<pre>pushd ArmPlatformPkg/ArmVExpressPkg/Scripts/uefi-aarch64-bootstrap/
+CROSS_COMPILE=<path-to-aarch64-gcc>/gcc-linaro-aarch64-linux-gnu-4.8-2013.06_linux/bin/aarch64-linux-gnu- make
+popd</pre>
+
+3) The Foundation FVP takes an option for an ELF file to be loaded as well as an option to load a binary data blob into RAM.
+
+Linux kernel (filename = 'Image') and the Device Tree Binary (filename = 'foundation-v8.dtb') are expected to be found in the directory where the model is started from.
+
+A file system example can be downloaded from Linaro:
+<pre>wget http://releases.linaro.org/13.06/openembedded/aarch64/vexpress64-openembedded_minimal-armv8_20130623-376.img.gz
+gunzip vexpress64-openembedded_minimal-armv8_20130623-376.img.gz</pre>
+
+The file-system needs some minimal preparation:
+<pre>mkdir tmp
+fdisk -lu vexpress64-openembedded_minimal-armv8_20130623-376.img
+sudo mount -o loop,offset=$((106496 * 512)) vexpress64-openembedded_minimal-armv8_20130623-376.img tmp/
+cd tmp
+sudo ln -s S35mountall.sh etc/rcS.d/S03mountall.sh
+sudo sh -c "echo 'devtmpfs /dev devtmpfs mode=0755,nosuid 0 0' >> etc/fstab"
+cd ..
+sudo umount tmp/</pre>
+
+The following command line can be used to run UEFI in the following manner:
+<pre>$AARCH64_FOUNDATION_MODEL_ROOT/Foundation_v8 --cores=2 --image=ArmPlatformPkg/ArmVExpressPkg/Scripts/uefi-aarch64-bootstrap/uefi-bootstrap-el3-foundation.axf --nsdata=Build/ArmVExpress-RTSM-AEMv8Ax4-foundation/DEBUG_GCC47/FV/RTSM_VE_FOUNDATIONV8_EFI.fd@0xA0000000 --block-device=<path/to>/vexpress64-openembedded_minimal-armv8_20130623-376.img</pre>
+
+<b>Note:</b> Do not use a symbolic link to the file-system image. The model will not be able to read the image file.
+
+=== Run Linux from UEFI on the Base FVP ===
+
+The Linux kernel (filename = 'Image') and the Device Tree Binary (filename = 'rtsm_ve-aemv8a.dtb') are expected to be found in the directory where the model is started from.
+<pre>export PATH=ARM_BASE_AEMV8_ROOT:$PATH
+export LD_LIBRARY_PATH=ARM_BASE_AEMV8_ROOT:$LD_LIBRARY_PATH
+FVP_VE_AEMv8A -C motherboard.flashloader0.fname=Build/ArmVExpress-RTSM-AEMv8Ax4/DEBUG_GCC47/FV/RTSM_VE_AEMV8_EFI.fd</pre>
+
+<!-- [[Category:ARM]] -->
-- 
2.7.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [PATCH 1/2] Readme.md: Update instructions to fetch source
  2018-11-26 13:10 [PATCH 1/2] Readme.md: Update instructions to fetch source Nariman Poushin
  2018-11-26 13:10 ` [PATCH 2/2] Platform/ARM: Add Readme.md Nariman Poushin
  2018-11-26 14:11 ` [PATCH 1/2] Readme.md: Update instructions to fetch source Gao, Liming
@ 2018-11-26 18:41 ` Leif Lindholm
  2018-11-27  9:34   ` [edk2-platforms] [PATCH v2 " Nariman Poushin
  2 siblings, 1 reply; 10+ messages in thread
From: Leif Lindholm @ 2018-11-26 18:41 UTC (permalink / raw)
  To: Nariman Poushin; +Cc: edk2-devel

On Mon, Nov 26, 2018 at 01:10:53PM +0000, Nariman Poushin wrote:
> Openssl is fetched as a git submodule, so make sure git clone --recursive
> is specified in the instructions to fetch a full source tree.

Can you add a
Contributed-under: TianoCore Contribution Agreement 1.1
tag for all patches contributed to TianoCore?
Preferably before the Signed-off-by.
Other than that, this patch is good, thanks!

> Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
>
> ---
>  Readme.md | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Readme.md b/Readme.md
> index 6ad5953..bb53c6f 100644
> --- a/Readme.md
> +++ b/Readme.md
> @@ -78,7 +78,7 @@ target-specific binutils. These are included with any prepackaged GCC toolchain
>     1. [edk2-non-osi](https://github.com/tianocore/edk2-non-osi) (if building
>        platforms that need it)
>     ```
> -   $ git clone https://github.com/tianocore/edk2.git
> +   $ git clone https://github.com/tianocore/edk2.git --recursive
>     ...
>     $ git clone https://github.com/tianocore/edk2-platforms.git
>     ...
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 10+ messages in thread

* [edk2-platforms] [PATCH v2 1/2] Readme.md: Update instructions to fetch source
  2018-11-26 18:41 ` [PATCH " Leif Lindholm
@ 2018-11-27  9:34   ` Nariman Poushin
  0 siblings, 0 replies; 10+ messages in thread
From: Nariman Poushin @ 2018-11-27  9:34 UTC (permalink / raw)
  To: leif.lindholm; +Cc: edk2-devel, Nariman Poushin

Openssl is fetched as a git submodule, so make sure git clone --recursive
is specified in the instructions to fetch a full source tree.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
---

Resending v2, which addresses the lack of a Contribution Agreement tag.

Changes since v1:

	- Added Contribution Agreement tag

 Readme.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Readme.md b/Readme.md
index 6ad5953..bb53c6f 100644
--- a/Readme.md
+++ b/Readme.md
@@ -78,7 +78,7 @@ target-specific binutils. These are included with any prepackaged GCC toolchain
    1. [edk2-non-osi](https://github.com/tianocore/edk2-non-osi) (if building
       platforms that need it)
    ```
-   $ git clone https://github.com/tianocore/edk2.git
+   $ git clone https://github.com/tianocore/edk2.git --recursive
    ...
    $ git clone https://github.com/tianocore/edk2-platforms.git
    ...
-- 
2.7.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

* Re: [edk2-platforms] [PATCH v2 1/2] Readme.md: Update instructions to fetch source
  2018-11-26 14:52   ` [edk2-platforms] [PATCH v2 " Nariman Poushin
  2018-11-26 14:52     ` [edk2-platforms] [PATCH v3 2/2] Platform/ARM: Add Readme.md Nariman Poushin
@ 2018-12-11 18:32     ` Leif Lindholm
  2018-12-12 15:19       ` Nariman Poushin
  1 sibling, 1 reply; 10+ messages in thread
From: Leif Lindholm @ 2018-12-11 18:32 UTC (permalink / raw)
  To: Nariman Poushin; +Cc: edk2-devel

On Mon, Nov 26, 2018 at 02:52:14PM +0000, Nariman Poushin wrote:
> Openssl is fetched as a git submodule, so make sure git clone --recursive
> is specified in the instructions to fetch a full source tree.
> 
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>

Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Pushed as 572a554e1d.

Did you send a v7(?) of 2/2, I haven't seen one?
(No panic if you haven't, just we had some emails going missing
earlier in this thread and I wanted to make sure that wasn't happening
again.)

/
    Leif

> ---
> 
> Changes since v1:
> 
> 	- Added Contribution Agreement tag
> 
>  Readme.md | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Readme.md b/Readme.md
> index 6ad5953..bb53c6f 100644
> --- a/Readme.md
> +++ b/Readme.md
> @@ -78,7 +78,7 @@ target-specific binutils. These are included with any prepackaged GCC toolchain
>     1. [edk2-non-osi](https://github.com/tianocore/edk2-non-osi) (if building
>        platforms that need it)
>     ```
> -   $ git clone https://github.com/tianocore/edk2.git
> +   $ git clone https://github.com/tianocore/edk2.git --recursive
>     ...
>     $ git clone https://github.com/tianocore/edk2-platforms.git
>     ...
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [edk2-platforms] [PATCH v2 1/2] Readme.md: Update instructions to fetch source
  2018-12-11 18:32     ` [edk2-platforms] [PATCH v2 1/2] Readme.md: Update instructions to fetch source Leif Lindholm
@ 2018-12-12 15:19       ` Nariman Poushin
  0 siblings, 0 replies; 10+ messages in thread
From: Nariman Poushin @ 2018-12-12 15:19 UTC (permalink / raw)
  To: Leif Lindholm; +Cc: edk2-devel

On Tue, 11 Dec 2018 at 18:32, Leif Lindholm <leif.lindholm@linaro.org>
wrote:

> On Mon, Nov 26, 2018 at 02:52:14PM +0000, Nariman Poushin wrote:
> > Openssl is fetched as a git submodule, so make sure git clone --recursive
> > is specified in the instructions to fetch a full source tree.
> >
> > Contributed-under: TianoCore Contribution Agreement 1.1
> > Signed-off-by: Nariman Poushin <nariman.poushin@linaro.org>
>
> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
> Pushed as 572a554e1d.
>
>
Thanks!


> Did you send a v7(?) of 2/2, I haven't seen one?
> (No panic if you haven't, just we had some emails going missing
> earlier in this thread and I wanted to make sure that wasn't happening
> again.)
>
> /
>     Leif
>

No, not yet, I will sort this out soon, have been diverted on other stuff.
No email
chaos, yet!

Thanks
Nariman


>
> > ---
> >
> > Changes since v1:
> >
> >       - Added Contribution Agreement tag
> >
> >  Readme.md | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/Readme.md b/Readme.md
> > index 6ad5953..bb53c6f 100644
> > --- a/Readme.md
> > +++ b/Readme.md
> > @@ -78,7 +78,7 @@ target-specific binutils. These are included with any
> prepackaged GCC toolchain
> >     1. [edk2-non-osi](https://github.com/tianocore/edk2-non-osi) (if
> building
> >        platforms that need it)
> >     ```
> > -   $ git clone https://github.com/tianocore/edk2.git
> > +   $ git clone https://github.com/tianocore/edk2.git --recursive
> >     ...
> >     $ git clone https://github.com/tianocore/edk2-platforms.git
> >     ...
> > --
> > 2.7.4
> >
> >
> > _______________________________________________
> > edk2-devel mailing list
> > edk2-devel@lists.01.org
> > https://lists.01.org/mailman/listinfo/edk2-devel
>


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-12-12 15:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-26 13:10 [PATCH 1/2] Readme.md: Update instructions to fetch source Nariman Poushin
2018-11-26 13:10 ` [PATCH 2/2] Platform/ARM: Add Readme.md Nariman Poushin
2018-11-26 14:11 ` [PATCH 1/2] Readme.md: Update instructions to fetch source Gao, Liming
2018-11-26 14:15   ` Nariman Poushin
2018-11-26 14:52   ` [edk2-platforms] [PATCH v2 " Nariman Poushin
2018-11-26 14:52     ` [edk2-platforms] [PATCH v3 2/2] Platform/ARM: Add Readme.md Nariman Poushin
2018-12-11 18:32     ` [edk2-platforms] [PATCH v2 1/2] Readme.md: Update instructions to fetch source Leif Lindholm
2018-12-12 15:19       ` Nariman Poushin
2018-11-26 18:41 ` [PATCH " Leif Lindholm
2018-11-27  9:34   ` [edk2-platforms] [PATCH v2 " Nariman Poushin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox