frederic / aml_bootloader_tool Goto Github PK
View Code? Open in Web Editor NEWparse and regenerate the SHA-256 of bootloaders for Amlogic S905 SoC
License: GNU General Public License v3.0
parse and regenerate the SHA-256 of bootloaders for Amlogic S905 SoC
License: GNU General Public License v3.0
Segmentation fault (core dumped)
./aml_bootloader_tool bootloader.img H 2
fip_toc_header.name: a75a7544
fip_toc_header.serial_number: dd3ee05d
fip_toc_header.flags: 1712b7f29c66abdd
TOC ENTRY #2
fip_toc_entry.uuid: D3136362812394885C6DB30F12F9AB3C
fip_toc_entry.offset_address: 40ed74bc5e380543 (absolute: 0x40ed74bc5e38c543)
fip_toc_entry.size: 0xed657f44e4390d49
fip_toc_entry.flags: 0xd3b00658f0bfed06
Segmentation fault (core dumped)
Dmesg
traps: aml_bootloader_[4131] general protection fault ip:7fc73d14067d sp:7ffeba1897c8 error:0 in libc-2.27.so[7fc73cfb2000+1e7000]
Compile error
gcc -o aml_bootloader_tool -ltomcrypt aml_bootloader_tool.c
/tmp/cc5Kjhr8.o: In function hash_aml_img': aml_bootloader_tool.c:(.text+0x90): undefined reference to
sha256_desc'
aml_bootloader_tool.c:(.text+0x95): undefined reference to register_hash' aml_bootloader_tool.c:(.text+0xa4): undefined reference to
sha256_init'
aml_bootloader_tool.c:(.text+0x13d): undefined reference to sha256_process' aml_bootloader_tool.c:(.text+0x179): undefined reference to
sha256_process'
aml_bootloader_tool.c:(.text+0x1b1): undefined reference to sha256_process' aml_bootloader_tool.c:(.text+0x1ca): undefined reference to
sha256_done'
collect2: error: ld returned 1 exit status
Fix compile just move lib to and
gcc -o aml_bootloader_tool aml_bootloader_tool.c -ltomcrypt
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.