unpack_bootimg

make unpack_bootimg

编译:
source
then
make unpack_bootimg
生成二进制文件:
user:~/out$ find . -name unpack_bootimg
./host/linux-x86/obj/EXECUTABLES/unpack_bootimg_intermediates/unpack_bootimg
./host/linux-x86/bin/unpack_bootimg
./soong/.intermediates/system/tools/mkbootimg/unpack_bootimg
./soong/.intermediates/system/tools/mkbootimg/unpack_bootimg/linux_glibc_x86_64_PY2/unpack_bootimg
./soong/host/linux-x86/bin/unpack_bootimg
./.path/unpack_bootimg

解压boot.img
./out/host/linux-x86/bin/unpack_bootimg --boot_img boot.img --out boot

boot_magic: ANDROID!
kernel_size: 10212797

你可能感兴趣的:(驱动,android,linux)