]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPlatformPkg/Documentation/ArmRealViewRTSMInstructions.txt
Add patch-able PCD to support binary modification of MRC module.
[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. Set up the environment. And build the EDK2\92s tools
20 export EDK_TOOLS_PATH=`pwd`/BaseTools
21 . edksetup.sh `pwd`/BaseTools/
22 make -C $EDK_TOOLS_PATH
23
24 4. Build the ARM RealView EB UEFI Firmware
25 build -a ARM -p ArmPlatformPkg/ArmRealViewEBPkg/ArmRealViewEb-RTSM-A8.dsc -t RVCTLINUX
26
27
28 Howto test UEFI RealView EB on RealTime System Model - Example Cortex A8
29 ------------------------------------------------------------------------
30
31 1. Build 'ArmRealViewEb-RTSM-A8.dsc'
32
33 2. To Run ArmRealViewEbPkg on the RTSM
34 1. Start RealView Debugger
35 2. Target > "Connect to Target"
36 3. Add RTSM
37 4. Configure this new RTSM.
38 5. Choose CortexA8
39 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)
40 7. Turn use_s8 to TRUE in baseboard.sp810_sysctrl
41 8. Turn uart_enable to TRUE in baseboard.uart_0
42 4. Connect a telnet client to the port 5000 of your localhost
43 5. Launch the program