This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)
sudo apt install wget
wget -nc http://update.jethome.ru/tools/aml_image_v2_packer
chmod +x ./aml_image_v2_packer
out
image and a directory for mounting the rootfs partition mount
: mkdir -pv out mount
out
directory: ./aml_image_v2_packer -d Armbian_20.08_Arm-64_focal_current_5.7.16_j80.img out
mount
directory (requires admin rights): sudo mount -v -o loop,rw out/data.PARTITION mount/
echo test_parameter=777 | sudo tee mount /etc/test.conf
touch test_file
sudo cp -v test_file mount /usr/lib/firmware/
sudo umount mount/
out
directory with the modified rootfs partition into a new image: ./aml_image_v2_packer -r out/image.cfg out Armbian_20.08_Arm-64_focal_current_5.7.16_j80_REPACKED.img
out
and mount
directories: rm -rf out mount
For J100
use file Armbian_20.08_Arm-64_focal_current_5.7.16_j100.img