stb-toolThis tool has two main functions: one is to decompress a boot.img and open the ramdisk, and the other is to pack a boot.img. 1. Decompress boot.imgTo decompress a boot.img using VSCode, press Ctrl + Shift + P, then input open boot.img to decompress the boot.img file. 2. Pack boot.imgAfter modifying the content, press Ctrl + Shift + P, then input save boot.img to pack the boot.img file. 3. compile moduledependencies: export COMPILE_ROOT_DIR=/path/to/compile.sh in your .bashrc file. to compile the current module, rigth click and select "compile module"。 |