Skip to content
Snippets Groups Projects
Commit f05d5743 authored by Chris Webb's avatar Chris Webb Committed by Kever Yang
Browse files

rockchip: make_fit_atf.py: Eliminate pyelftools dependency


make_fit_aft.py depends on the non-standard library pyelftools to pull
out PT_LOAD segments from ELF files. However, this is as easy to do
manually, without imposing the extra dependency on users.

Structures in the ELF file are unpacked into variables named to exactly
match the ELF spec to ensure the destructuring code is reasonably
self-documenting.

Signed-off-by: default avatarChris Webb <chris@arachsys.com>
Reviewed-by: default avatarAndy Yan <andy.yan@rock-chips.com>
Reviewed-by: default avatarKever Yang <Kever.yang@rock-chips.com>
parent fb7b1b79
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment