Custom bootloader for Xiaomi Smart Camera Standard Edition (MJSXJ02HL)
Extract the contents of the u-boot source code archive (osdrv/opensource/uboot/u-boot-2016.11.tgz
) from the Hi3518EV300 SDK to the root directory of the repository. The default name of the unpacked folder is u-boot-2016.11
.
To use the device's firmware features, you need to install Ch341Prog.
make UBOOT_SRC=u-boot-2016.11 UBOOT_BIN=u-boot-mjsxj02hl.bin all
or (defaults u-boot source directory u-boot-2016.11
and output file u-boot-mjsxj02hl.bin
):
make all
Read the current firmware, replace u-boot, and write the output file to the device.
make UBOOT_BIN=u-boot-mjsxj02hl.bin FIRMWARE=firmware-mjsxj02hl.bin flash_firmware
or (defaults u-boot binary file u-boot-mjsxj02hl.bin
and output firmware file firmware-mjsxj02hl.bin
):
make flash_firmware