cfdrake / filesystempkg Goto Github PK
View Code? Open in Web Editor NEWMy Google Summer of Code project for Tianocore.
Home Page: http://cfdrake.github.com/FileSystemPkg
My Google Summer of Code project for Tianocore.
Home Page: http://cfdrake.github.com/FileSystemPkg
FfsOpen() is crashing with an ASSERT throwing CR has Bad Signature
.
Start showing progress bar... Press any key to stop it! ...Zzz.... Showing progress bar...Remaining 10 second! PROGRESS CODE: V3050006 I0 PROGRESS CODE: V3050007 I0 FfsOpenVolume: Start FfsOpenVolume: Grab private filesys struct FfsOpenVolume: Allocate private file struct FfsOpenVolume: End of func FfsOpen: Start OPENING : \EFI\BOOT\BOOTIA32.EFI DXE_ASSERT!: /home/colin/Projects/edk2/FileSystemPkg/FfsDxe/Ffs.c (220): CR has Bad Signature`
Upon loading the driver, it correctly sees a new FV2, checks that the protocol isn't already installed, and allocates space for the new data structure. After this, it crashes:
New FV2 detected!
*** Check
*** Alloc
ASSERT_EFI_ERROR (Status = Invalid Parameter)
ASSERT!: /home/colin/Projects/edk2/edk2/UnixPkg/FileSystemPkg/FfsDxe/Ffs.c (259): !EFI_ERROR (Status)
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00ad48ec in CpuBreakpoint () from /home/colin/Projects/edk2/edk2/Build/Unix/DEBUG_ELFGCC/IA32/UnixPkg/FileSystemPkg/FfsDxe/Ffs/DEBUG/FfsDxe.dll
Most of these files seem to not hit the EOF limit. Typing them opens an infinite stream of characters. *.ffs files seem unaffected.
Inspecting the contents, they "seem" right. However, running:
> load <file>.efi
doesn't run the file. I get load: fsnt0:\<file>.efi is not an image
.
I'm thinking possibly my IsFileExecutable
function is returning something incorrectly. Maybe I'm somehow returning TRUE
for images for other CPU/Machine types? EDIT: Doesn't look like this is the cause, AFAIK.
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.