Code Monkey home page Code Monkey logo

uefitoolspkg's Issues

UEFI tool to read/write/probe serial flash

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.

How to build?

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

not found StdLib/StdLib.inc

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

  • Failed -
    Build end time: 10:06:54, Jun.29 2024
    Build total time: 00:00:00

root@TQM-YONGHUI-YU:/src/vUDK2017#

Build fail

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.