2011-04-19 18:43:53 +02:00
|
|
|
============================================================================
|
|
|
|
OVERVIEW
|
|
|
|
============================================================================
|
2011-05-17 00:20:11 +02:00
|
|
|
The binaries of ShellBinPkg are generated with ShellPkg project and built with
|
2013-06-12 20:14:33 +02:00
|
|
|
BaseTools Package (r14400). The binaries are built with no debug information
|
2011-05-17 00:20:11 +02:00
|
|
|
by building with "RELEASE" target.
|
2011-04-19 18:43:53 +02:00
|
|
|
|
|
|
|
The following steps can help to re-generate these binaries for customization:
|
|
|
|
1. Check out EDK II to $(WORKSPACE)
|
2013-06-08 07:26:39 +02:00
|
|
|
(svn https://svn.code.sf.net/p/edk2/code/trunk/edk2).
|
2011-05-17 00:20:11 +02:00
|
|
|
|
2011-04-19 18:43:53 +02:00
|
|
|
2. Under $(WORKSPACE) directory (i.e. c:\EdkII),
|
2011-05-17 00:20:11 +02:00
|
|
|
To generate Shell, execute:
|
|
|
|
"build -a IA32 -a X64 -p ShellPkg\ShellPkg.dsc -b RELEASE"
|
|
|
|
To generate Minimal Shell, execute:
|
|
|
|
"build -a IA32 -a X64 -p ShellPkg\ShellPkg.dsc -b RELEASE -D NO_SHELL_PROFILES"
|
2011-04-19 18:43:53 +02:00
|
|
|
|
|
|
|
============================================================================
|
|
|
|
HOW TO INCORPORATE THIS SHELL INTO NT32
|
|
|
|
============================================================================
|
|
|
|
The instructions below are included as a sample and template on how a
|
|
|
|
developer may integrate this code into an existing platform:
|
|
|
|
|
|
|
|
1. Update system PCDs to support this new module
|
|
|
|
Update the PCD as follows using the Shell's PCD:
|
2011-04-28 03:39:31 +02:00
|
|
|
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0x83, 0xA5,
|
|
|
|
0x04, 0x7C, 0x3E, 0x9E, 0x1C, 0x4F, 0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0,
|
|
|
|
0xB4, 0xD1 }
|
2011-04-19 18:43:53 +02:00
|
|
|
|
|
|
|
2. Remove the old shell from the NT32 Firmware list
|
|
|
|
Remove the FILE APPLICATION section for the old shell.
|
|
|
|
|
|
|
|
3. Add this shell to the NT32 firmware list
|
|
|
|
Add the Shell.INF to the end of the list of DXE modules.
|
|
|
|
|
|
|
|
4. Build NT32
|
|
|
|
|
|
|
|
============================================================================
|
|
|
|
KNOWN LIMITATIONS
|
|
|
|
============================================================================
|
|
|
|
1. RM can delete current working directory via other map name.
|
2011-05-17 00:20:11 +02:00
|
|
|
2. DrvCfg does not overlap boot manager functionality.
|
2011-11-29 22:13:29 +01:00
|
|
|
3. Shell documentation is in development and forthcoming.
|
2012-09-27 17:28:54 +02:00
|
|
|
4. ARM binaries are based on revision 13646. It is expected the binaries to
|
|
|
|
sync with the other architectures next time they are rebuilt.
|
2011-04-19 18:43:53 +02:00
|
|
|
|
|
|
|
============================================================================
|