Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unpacker: add FIT image support #159

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Conversation

andrewjlamarche
Copy link
Contributor

@andrewjlamarche andrewjlamarche commented Oct 15, 2024

Support unpacking FIT images.

Depends:

Solves:

Notes:

  • The included fit.itb is a FIT image containing a mock rootfs, kernel and device tree. The rootfs and kernel were generated with /dev/urandom as the input, and the device tree just has a description. Please feel free to check (there is no xz-like backdoor here with binary blobs).

@andrewjlamarche andrewjlamarche marked this pull request as ready for review October 16, 2024 16:16
@andrewjlamarche
Copy link
Contributor Author

andrewjlamarche commented Oct 16, 2024

Ready for review, ping @jstucke 👍

@jstucke
Copy link
Collaborator

jstucke commented Oct 30, 2024

Ready for review, ping @jstucke 👍

For whatever reason the CI does not want to run on this PR. Could you try to run pre-commit locally on the related files?

@andrewjlamarche
Copy link
Contributor Author

That should do the trick

Copy link
Collaborator

@jstucke jstucke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me. Also I tested it with some samples from firmware images and can confirm that it works. Again thank you for your contribution!

@jstucke jstucke merged commit 92988a3 into fkie-cad:master Oct 30, 2024
2 checks passed
@andrewjlamarche
Copy link
Contributor Author

Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants