]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/Documentation/ArmRealViewRTSMInstructions.txt
ArmPlatformPkg: Update the list of the BaseTools pending patches and the documentation
[mirror_edk2.git] / ArmPlatformPkg / Documentation / ArmRealViewRTSMInstructions.txt
1 ==============================================
2 = ARM RealView Emulation Board Documentation =
3 ==============================================
4
5
6 Howto build UEFI RealView EB for RealTime System Model
7 ------------------------------------------------------
8
9 For Linux
10 ---------
11
12 1. Get EDK2 from Tianocore Subversion repository
13 svn co https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2 edk2 --username guest
14
15 2. Get FatPkg from EDK2 SVN repository:
16 cd edk2
17 svn co https://edk2-fatdriver2.svn.sourceforge.net/svnroot/edk2-fatdriver2/trunk/FatPkg FatPkg --username guest
18
19 3. Apply BaseTools patches (BaseTools-Pending-Patches.patch combines all the currently pending BaseTools patches)
20 patch -p1 < ArmPlatformPkg/Documentation/patches/BaseTools-Pending-Patches.patch
21
22 4. Set up the environment. And build the EDK2\92s tools
23 export EDK_TOOLS_PATH=`pwd`/BaseTools
24 . edksetup.sh `pwd`/BaseTools/
25 make -C $EDK_TOOLS_PATH
26
27 5. Build the ARM RealView EB UEFI Firmware
28 build -a ARM -p ArmPlatformPkg/ArmRealViewEBPkg/ArmRealViewEb-RTSM-A8.dsc -t RVCTLINUX
29
30
31 Howto test UEFI RealView EB on RealTime System Model - Example Cortex A8
32 ------------------------------------------------------------------------
33
34 1. Build 'ArmRealViewEb-RTSM-A8.dsc'
35
36 2. To Run ArmRealViewEbPkg on the RTSM
37 1. Start RealView Debugger
38 2. Target > "Connect to Target"
39 3. Add RTSM
40 4. Configure this new RTSM.
41 5. Choose CortexA8
42 6. Setup the 'fname' of baseboard.flashldr_0 with your FD file (eg: c:\dev\edk2\Build\ArmRealViewEb-RTSM-A8\DEBUG_RVCT\FV\ARMREALVIEWEB_EFI.fd)
43 7. Turn use_s8 to TRUE in baseboard.sp810_sysctrl
44 8. Turn uart_enable to TRUE in baseboard.uart_0
45 4. Connect a telnet client to the port 5000 of your localhost
46 5. Launch the program