andreiw / uefitoolspkg Goto Github PK
View Code? Open in Web Editor NEWVarious useful utilities for UEFI
Various useful utilities for UEFI
pls help offer builded efi file
UefiToolsPkg/Applications/dd/dd.c
Line 444 in f36197b
Hi,
Is there any tool/utility available to read/write/probe serial flash from UEFI ?
Something like 'sf', thats available on uboot.
If there is, kindly guide me to it.
Totally new to edk and this. Please help me to do my very first build on Ubuntu.
I untar edk2-edk2-stable202108-rc1.tar on my ubuntu and put UefiToolsPkg into edk2-edk2-stable202108-rc1.
My steps to build:
cd edk2-edk2-stable202108-rc1
source edksetup.sh
build -p UefiToolsPkg/trunk/UefiToolsPkg.dsc
edk2-edk2-stable202108-rc1/UefiToolsPkg/trunk/UefiToolsPkg.dsc(44): error 000E: File/directory not found in workspace
edk2-edk2-stable202108-rc1/UefiToolsPkg/trunk/StdLib/StdLib.inc
edk2-edk2-stable202108-rc1/StdLib/StdLib.inc
I searched edk2-edk2-stable202108-rc1 and only found these:
./UefiToolsPkg/trunk/Library/StdLibDevConsole
./UefiToolsPkg/trunk/Library/StdLibUefi
./UefiToolsPkg/trunk/Library/StdLibInteractiveIO
In README.md under StdLibDevConsole:
This is a fixed-up version of edk2's StdLib/LibC/Uefi/Devices/Console
.
Do I need do some changes in UefiToolsPkg.dsc?
Thank you
Harry
root@TQM-YONGHUI-YU:/src/vUDK2017# build -p ../uu/UefiToolsPkg2023.dsc -a X64
Build environment: Linux-5.10.16.3-microsoft-standard-WSL2-x86_64-with-glibc2.39
Build start time: 10:06:54, Jun.29 2024
WORKSPACE = /src/edk2
EDK_TOOLS_PATH = /src/edk2/BaseTools
CONF_PATH = /src/edk2/Conf
PYTHON_COMMAND = python3
build.py...
/src/uu/UefiToolsPkg2023.dsc(38): error 000E: File/directory not found in workspace
/src/uu/StdLib/StdLib.inc
/src/edk2/StdLib/StdLib.inc
root@TQM-YONGHUI-YU:/src/vUDK2017#
I have an Ubuntu machine on which I have setup an edk2 environment following the instructions on the tianocore GitHub page. I have confirmed that I can build the MdeModulePkg and that the resulting HelloWorld.efi
works in my efi shell.
I cloned this repo into my edk2 base directory and made the following changes to Conf/target.txt
:
ACTIVE_PLATFORM = UefiToolsPkg/UefiToolsPkg.dsc
TARGET_ARCH = X64
TOOL_CHAIN_TAG = GCC5
MAX_CONCURRENT_THREAD_NUMBER = 9
Issuing the build
command gives the following:
Build start time: 14:50:38, Dec.13 2022
WORKSPACE = /home/russell/src/edk2
EDK_TOOLS_PATH = /home/russell/src/edk2/BaseTools
CONF_PATH = /home/russell/src/edk2/Conf
PYTHON_COMMAND = /usr/bin/python3
build.py...
/home/russell/src/edk2/UefiToolsPkg/UefiToolsPkg.dsc(44): error 000E: File/directory not found in workspace
/home/russell/src/edk2/UefiToolsPkg/StdLib/StdLib.inc
/home/russell/src/edk2/StdLib/StdLib.inc
- Failed -
Build end time: 14:50:38, Dec.13 2022
Build total time: 00:00:00
Build is correct the file /home/russell/src/edk2/UefiToolsPkg/StdLib/StdLib.inc
doesn't exist. I've had a look through UefiToolsPkg.dsc
and see references to over riding StdLib but I see anything blatantly wrong. However I am a complete novice at building efi packages with edk2.
Having grep in an efi shell means I can script the update procedure for certain LSI based RAID/HBA cards. Any help would be really appreciated.
Regards,
Russell
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.