Tasks - jljusten/tianocore GitHub Wiki
These tasks have been identified by our community. They are currently open for development by community members, and would be a great way to get involved and start contributing. Please let us know on edk2-devel if you plan to work on one of these tasks (to prevent duplicated effort). Also, please provide status updates on edk2-devel so the community will know the project is still being actively developed.
LLVM support in EDK II is currently limited to Linux builds. Add build support under Microsoft Windows 10.
- Mentor: Steven Shi
LLVM Address Sanitation using Intel MPX to detect buffer overflows
- Depends on compiler & hardware that supports the Intel MPX compiler
- Focus on firmware components
Microsoft Visual Studio will be released March 7, 2017. Add VS2017 build support to EDK II.
Port portions of ACPI-CA to a shell application to enable dumping and disassembly of ACPI tables.
- Based on https://acpica.org/node/126
- Table Verifier: AML method execution for testing without booting to an OS.
Build I2C support as a PI component, based on the PI 1.3 specification. Initial development on Galileo or MinnowBoardMax platforms.
- Mentor: Mike Kinney
Add features to Galileo based on open source platform in EDK II. https://github.com/tianocore/edk2/tree/master/QuarkPlatformPkg
- Switch from private SD/MMC stack to standard one in MdeModulePkg.
- Debugger/Console using USB client mode for multiple high perf UARTs in ESRAM
- Logging and Debugger support over USB using ESRAM for DMA.
Improvements to the test harness in the edk2-test staging branch. https://github.com/tianocore/edk2-staging/tree/edk2-test
- Test Harness for PEI using Capsule Update or Recovery feature to deliver tests
- Test Harness for SMM using Capsule Update or Recovery feature to deliver tests
- Performance improvements of test harness
Improvements to existing UEFI Driver Wizard
- Update to latest version of wxPython
- Update for latest UEFI Specifications
- Consider adding PI module types (PEIMs, DXE Drivers, DXE Runtime Drivers, SMM Drivers)
Enable Coverity Scan for all EDK II projects. https://scan.coverity.com/
- Evaluate open source CI tools to fine best one to periodically auto run Coverity static analysis
- Look into ways to auto-post results to TianoCore (website, wiki, or git repo).
- Look into ways to automate Bugzilla issue generation based on Coverity results.
Allow APs to safely print and use DEBUG trace messages.
> Note: This project depends on an open-source MP implementation, which is currently not available.
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: andrewfish
Intel Firmware Engine adds UserExtensions in the SDK to describe connections between modules and module parameters (as "Patchable In Binary" PCDs). This enables binary distribution of configurable firmware components. Porting these extensions to a branch of OVMF would allow development and testing of these concepts on a virtual platform.
- https://firmware.intel.com/learn/intel-firmware-engine/downloads
- https://firmware.intel.com/sites/default/files/Intel%C2%AE%20Firmware%20Engine%20SDK_R2.0.2.zip
Simplify EDK II development:
- GUI helper tool to pull multiple repos and setup WORKSPACE.
- GUI helper tool to configure and launch a build.
- GUI helper tool to configure platform PCDs.
- GUI helper tool to configure FLASH layout, Recovery, and Capsules.
- Use Intel Firmware Engine user extensions to perform additional build checking.
- Automatically set values in target.txt based on platform configuration (compiler, thread count, etc.).
On demand builds to verify patch series before sending to edk2-devel (for Windows, Linux, OSX)
Port EmulatorPkg to Microsoft Windows (32/64 bit), as a replacement for NT32.
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: andrewfish
Create a ARM based host environment for EmulatorPkg.
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: andrewfish
EmulatorPkg network support for Linux
Port EmulatorPkg/EmuSnpDxe to support Linux.
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: andrewfish
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: bjjohnson, andreiwarkentin
Enable accessing content on an SMB network share
- Difficulty: Hard
- Language: C
- Mentor:
- Suggested by: jljusten, geekboy15a, jcarsey
Implement DNS proxy on EDK II
- Difficulty:
- Language: C
- Mentor:
- Suggested by: kidzyoung
A fully functional gdb stub for x86/x64, attaching to SourceLevelDebugPkg's remote protocol.
- Difficulty: Medium ... Hard
- Language: Python, C
- Mentor:
- Suggested by: bjjohnson
Optimize cursor motion sequences; support Linux/UNIX standard (xterm/konsole/gnome-terminal/etc.) key codes and line-drawing characters
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: bjjohnson
A command-line based HII browser, suitable for automation. Either a shell command or set of commands for locating, dumping, and modifying configuration values, or commands for dumping and loading HII data to/from a file in an easily-edited format.
- Difficulty: Medium ... Hard
- Language: C
- Mentor:
- Suggested by: bjjohnson
The DataHub and GCD layers don't scale well as the number of data items gets large, since they are based on simple linked lists. Find better data structures.
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: bjjohnson
Make use of __builtin_return_address(n) & _ReturnAddress to add debug & data gathering capabilities. Some ideas:
- Produce a protocol with info on the image handle so a shell command can dump out the information
- Track, on a per call basis, where resources are being consumed
- Detect memory leaks
- Log information about stall and timer usage
- Collect statistics on BootServices and RuntimeServices calls.
- Performance profile library calls EFI boot and runtime services calls.
- gBS is set up by a library so it could point to a debug wrapper for the functions.
- Post process raw output (PDB name + offset in PE/COFF) to include function names via parsing .map files.
Note: There are many ideas here. Please feel free to gather any reasonable subset for a project proposal.
- Debug version of libraries, and tools to analyze the data:
- UefiBootServicesTableLib.h & UefiRuntimeServicesLib.h that can profile UEFI service usage.
- Debug version of MemoryAllocationLib.h that can detect memory leaks, buffer overruns, etc.
- Add a library class for logging the data
- Log data directly to image handle, per driver.
- Log data to centralized data service.
- Add a library class for a module to access/initiate leak checking.
- Add sample based profiling to EmulatorPkg/Nt32Pkg. On a Mac this would be figuring out how to use Instruments to profile the emulator.
- Add a sampling based profiling tool to a real EFI system. Note this requires the ability to capture a stack trace and then post process it (likely on the build system).
Add Xen specific support in OVMF to improve boot & runtime performance. http://www.xen.org/
- Difficulty: Medium/Hard
- Language: C
- Mentor:
- Suggested by: andreiwarkentin, Bei Guan
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: bjjohnson
Develop a read-only ext2 filesystem driver. http://en.wikipedia.org/wiki/Ext2
- Difficulty: Medium ... Hard
- Language: C
- Mentor:
- Suggested by: rsun3
- Status: Some progress was made during GSOC2011. May be a duplicate of other work, see https://github.com/pbatard/efifs/tree/master/
A CSM allows a UEFI system to boot legacy operating systems on IA32 & X64 systems. In other words, most current production OS's. Strong preference is for a BSD licensed solution, as this is license used by nearly all of our code. A SeaBIOS based solution could be considered, but would not be as widely usable (GPL license). http://www.coreboot.org/SeaBIOS
- Difficulty: Hard
- Language: Assembly, C
- Mentor:
- Suggested by: bjjohnson
- Status: No longer a priority, since UEFI OS support is mainstream. SeaBIOS can be built as a CSM, but a BSD licensed alternative is still not available.
Develop a read-only filesystem driver which allows the contents of each PI 1.2 FFS in the system to appear as a pseudo-file system.
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: mdkinney
- Status: Ready for integration into main edk2 tree from external repo: https://github.com/cfdrake/FileSystemPkg
Various improvements for the Shell editor
- Difficulty: Medium
- Language: C
- Mentor: jljusten
- Suggested by: jljusten, geekboy15a, jcarsey
- Status: Available in main edk2 tree
Get Xen to boot UEFI with OVMF.
- Difficulty: Hard (depending on tasks taken on)
- Language: C
- Mentor: andreiwarkentin, jljusten
- Suggested by: andreiwarkentin
- Status: Available in main edk2 tree
Develop a USB driver for a common USB-to-serial adapter.
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: jljusten
Enable multiprocessor support for IA32 & X64 within UefiCpuPkg/CpuDxe. (Implement MdePkg/Include/Protocol/MpService.h)
- Difficulty: Medium
- Language: Assembly, C
- Mentor:
- Suggested by: jljusten
- Status: Available in EDK II tree
Enable Link-time Code Optimization on Linux for either GCC or LLVM/CLANG. http://gcc.gnu.org/wiki/LinkTimeOptimization
This feature hopefully would significantly reduce code generation size for Linux based builds.
- Difficulty: Medium
- Language: C
- Mentor:
- Suggested by: andrewfish, jljusten
- Status: Available in GCC5 & CLANG38 toolchains