historical/m0-applesillicon.git/xnu-qemu-arm64-5.1.0/roms/edk2/EmbeddedPkg/Scripts/LauterbachT32/README.txt

8 lines
980 B
Text
Raw Normal View History

2024-01-16 11:20:27 -06:00
DXE Phase Debug
===============
Update the memsize variable in EfiLoadDxe.cmm for the actual amount of memory available in your system. Allow your system to boot to the point that the DXE core is initialized (so that the System Table and Debug Information table is present in memory) and execute this script (using the toolbar button or <20>do EfiLoadDxe<78> from the command area). It will scan memory for the debug info table and load modules in it.
SEC/PEI Phase Debug
===================
There is no way to autodetect where these images reside so you must pass an address for the memory-mapped Firmware Volume containing these images. To do this, enter <20>do EfiLoadFv <addr><3E> where <addr> is the base address for the firmware volume containing the SEC or PEI code. To be more efficient you may want to create a script that calls this, like MyBoardLoadSec.cmm which contains the call to EfiLoadFv. You can them map this script to a T32 menu or toolbar button for quick access.