[C-11] Hi3716C

[Hi3716C-fastboot] Build commands for fastboot

eoseontaek 2013. 11. 26. 10:34

Step 1. Switch to the fastboot source code directory.

$ cd bootable/bootloader/fastboot3.0/


Step 2. Obtain the configuration file corresponding to the board.

$ cp ./lowlevel_reg_info/hi3716cdmoverb_hi3716cv100_ddr3_1gbyte_8bitx4_4layers.reg ../.reg


Step 3. Compile the fastboot

$ make ARCH=arm CROSS_COMPILE=arm-hisiv200-linux- godbox_config

$ make ARCH=arm CROSS_COMPILE=arm-hisiv200-linux- 


Delete the fastboot compilation result

$ make ARCH=arm CROSS_COMPILE=arm-hisiv200-linux- distclean


Step 4. Burn into SPI Flash

fastboot# tftp 0x81000000 fastboot-burn.bin

fastboot# sf probe 0

fastboot# sf erase 0 0x00070000

fastboot# sf write 0x81000000 0 0x00070000