项目作者: avdeevsv91

项目描述 :
Custom bootloader for Xiaomi Smart Camera Standard Edition (MJSXJ02HL)
高级语言: C
项目地址: git://github.com/avdeevsv91/mjsxj02hl_uboot.git
创建时间: 2021-06-16T07:55:02Z
项目社区:https://github.com/avdeevsv91/mjsxj02hl_uboot

开源协议:

下载


mjsxj02hl_uboot

Custom bootloader for Xiaomi Smart Camera Standard Edition (MJSXJ02HL)

Preparation

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.

Usage

Build u-boot:

  1. 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):

  1. make all

Flash firmware:

Read the current firmware, replace u-boot, and write the output file to the device.

  1. 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):

  1. make flash_firmware