Build tools for mjsxj02hl firmware
Attention! This firmware is no longer supported by the author. We recommend using OpenIPC.
- Install dependencies:
sudo apt install git cmake lib32z1 lib32stdc++6 u-boot-tools dbus python3-pip dos2unix
pip3 install click
- Install Hi3518Ev300 toolchain:
tar -zxf arm-himix100-linux.tgz
cd arm-himix100-linux
sudo ./arm-himix100-linux.install
sudo mkdir -p /opt/hisi-linux/x86-arm/arm-himix100-linux/target/usr/app/lib
sudo chmod 777 /opt/hisi-linux/x86-arm/arm-himix100-linux/target/usr/app/lib
gnome-session-quit
Clone the repository:
git clone https://github.com/kasitoru/mjsxj02hl_firmware
cd mjsxj02hl_firmware
make FIRMWARE_VER=x.y.z
make FIRMWARE_FILE=image.bin FIRMWARE_DIR=unpkg unpack
or (defaults input file demo_hlc6.bin
and output directory temp/firmware
):
make unpack
make FIRMWARE_DIR=unpkg FIRMWARE_FILE=image.bin pack
or (defaults input directory temp/firmware
and output file demo_hlc6.bin
):
make pack