summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaulo Alcantara <pcacjr@zytor.com>2015-06-06 18:58:54 -0300
committerPaulo Alcantara <pcacjr@zytor.com>2015-06-06 18:58:54 -0300
commit38d8207e6305b0d82de66b302c8e5346dc437337 (patch)
tree784f2cb9d259f48c6171d8066a45048305ceb2fd
parentb01eb22c92ea486f003e409001990d04681b0522 (diff)
downloadminnow-master.tar.gz
minnow-master.tar.xz
minnow-master.zip
Update docs.HEADmaster
Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
-rw-r--r--doc/howto.txt47
1 files changed, 46 insertions, 1 deletions
diff --git a/doc/howto.txt b/doc/howto.txt
index 4e0e48d..04b06c4 100644
--- a/doc/howto.txt
+++ b/doc/howto.txt
@@ -28,7 +28,7 @@ Access MinnowBoard's serial console
- detach and logout: Ctrl+A D D
Flash latest official Minnowboard MAX's firmware image
-=========================================
+======================================================
- open: http://firmware.intel.com/projects/minnowboard-max
- you might want to download a complete set of docs
@@ -66,3 +66,48 @@ Flash latest official Minnowboard MAX's firmware image
# FirmwareUpdateX64.efi <TargetIA64BiosImageFileName>
5) The system will automatically shutdwon after the update is complete.
+
+How to create full source tree
+==============================
+
+- install required tools
+ # yum install gcc iasl nasm
+
+- install git svn
+ # yum install git-svn
+
+- checkout it from revision 16867 (sit and relax -- it may take a while):
+ $ git svn clone -r16867:HEAD https://svn.code.sf.net/p/edk2/code/branches/UDK2014.SP1
+- download Minnow's binary objects at http://firmware.intel.com/sites/default/files/MinnowBoard_MAX-0.80-Binary.Objects.zip
+
+- extract downloaded zip (not including parent dir) into your source tree
+- download the FatPkg from rev 92
+ $ cd /path/to/edk2
+ $ mkdir FatPkg && cd FatPkg
+ $ git svn clone -r92:HEAD https://svn.code.sf.net/p/edk2-fatdriver2/code/trunk/FatPkg
+
+- download OpenSSL
+ $ cd /tmp
+ $ wget -c http://www.openssl.org/source/openssl-0.9.8zf.tar.gz
+
+- extract OpenSSL, patch and install it
+ $ cd /path/to/edk2
+ $ tar -xf /tmp/openssl-0.9.8zf.tar.gz -C CryptoPkg/Library/OpensslLib/
+ $ cd CryptoPkg/Library/OpensslLib/openssl-0.9.8zf
+ $ patch -p0 -i ../EDKII_openssl-0.9.8zf.patch
+ $ cd ..
+ $ ./Install.sh
+
+- make the required build script and binary as executable file:
+ $ cd /path/to/edk2
+ $ chmod +x edksetup.sh Vlv2TbltDevicePkg/bld_vlv.sh Vlv2TbltDevicePkg/Build_IFWI.sh Vlv2TbltDevicePkg/GenBiosId
+
+- build firmware image
+ $ cd /path/to/edk2
+ $ make -C BaseTools
+ $ export EDK_TOOLS_PATH=/path/to/edk2/BaseTools
+ $ . edksetup.sh BaseTools
+ - Comment out DigitalThermalSensor Vlv2TbltDevicePkg/PlatformPkgGcc.fdf and Vlv2TbltDevicePkg/PlatformPkgGccX64.dsc
+ - Change "TOOL_CHAIN_TAG" in Vlv2TbltDevicePkg/bld_vlv.sh to match your GCC version (check it with `gcc --version`)
+ $ cd Vlv2TbltDevicePkg
+ $ . Build_IFWI.sh MNW2 [Release / Debug]