-
Notifications
You must be signed in to change notification settings - Fork 344
EmbeddedPkg Fdt
Jordan Justen edited this page Sep 4, 2014
·
1 revision
Device Tree (DT) is a format used to describe the hardware resources of a specific platform. Lbfdt library (dual license - BSD/GPL) is often used to read or modify the information of the FDT (Flat Device Tree).
The current version of EDK2 used libdft from Wednesday 16th January 2014.
Tag Version 1.4.0 Signed-off-by: Jon Loeliger <[email protected]>
- Here are the instructions to update the version of libfdt:
cd $(EDK2_ROOT)/EmbeddedPkg/Library git clone git://git.jdl.com/software/dtc.git
2. Copy the content of 'libfdt' into EmbeddedPkg/Library/FdtLib/
cd dtc cp -a libfdt/* ../FdtLib/
3. Copy the libfdt headers:
mv ../FdtLib/libfdt.h ../../Include/ mv ../FdtLib/fdt.h ../../Include/ rm ../FdtLib/libfdt_env.h
- To add libfdt support to your EDK2 firmware, add the following line to your platform DSC file (required by BdsLib):
FdtLib|EmbeddedPkg/Library/FdtLib/FdtLib.inf
Home
Getting Started with EDK II
Build Instructions
EDK II Platforms
EDK II Documents
EDK II Release Planning
Reporting Issues
Reporting Security Issues
Community Information
Inclusive Language
Additional Projects & Tasks
Training
Community Support
Community Virtual Meetings
GHSA GitHub Security Advisories Proceess (Draft)