]> git.proxmox.com Git - mirror_edk2.git/blame - UnixPkg/readme.txt
Revert r8771. UnixPkg has a custom RTC driver.
[mirror_edk2.git] / UnixPkg / readme.txt
CommitLineData
020f7cf4 1Unix Simulation Platform
2========================
3
4UnixPkg is one of platform package which can be built to a platform's firmware from UnixPkg.dsc file.
5And this package provide a simulation platform under *INUX environment in IA32 architecture.
6
7- Same points between real platform and simulation platform:
8 1) Unix simulation platform also run with firmware device image built from UnixPkg
9 2) The working flow of simulation platform also contains SEC/PEI/DXE phase.
10
11- Different points between real platform and simulation platform:
12 1) The SEC phase in simulation platform in fact is a *INUX native application which can be run from *INUX shell;
13 2) The device in simulation platform is not real hardware but simulation component in API level;
14 3) The ThunkBus driver in simulation platform will get virtual device's desription from PCD and create virtual Device
15
16Build
17=====
18UnixPkg is built with following command:
19 build -p UnixPkg/UnixPkg.dsc -a IA32 -t ELFGCC
20 Notes: ELFGCC is defined in <Workspace>/Conf/tools_def.txt file. This tool chain use native gcc/binutil instead of
21 cross-compiler like UNIXGCC tool chain.
22
23
24FAQ
25===
261, I fail to build UnixPkg due to "X11/extensions/XShm.h: No such file or directory"?
27 The display adapter in UnixPkg is a virtual device written in X11 API. The library of x11proto-xext-dev is required
28 for building.
29
302, I fail to build UnixPkg due to "/usr/bin/ld: cannot find -lXext"?
31 libxext-dev library is required for building.
32