whole image can be programmed by 'bflb-iot-tool' by:
bflb-iot-tool --chipname bl808 --interface uart --port /dev/ttyUSB1 --baudrate 2000000 --firmware whole_img_linux@0xD2000.bin --addr 0xD2000 --single
Update : To program low_load firmwares, bf-mcu-tool need to be patched as : bouffalolab/bouffalo_sdk#115 (comment)
[Question 1] How to program low_load by command line?
From the log of BLDevCube,
bootinfo_group0.bin programmed to 0x0000
bootinfo_group1.bin programmed to 0x1000
low_load_bl808_m0@0x58000000.bin programmed to 0x2000
low_load_bl808_d0@0x58000000.bin programmed to 0x52000
It seems latest 'bflb-mcu-tool' do not support groups and generate 'bootinfo_group0.bin' and 'bootinfo_group1.bin', also can not program 2 firmwares in one time.
whole image can be programmed by 'bflb-iot-tool' by:
Update : To program low_load firmwares, bf-mcu-tool need to be patched as : bouffalolab/bouffalo_sdk#115 (comment)
[Question 1] How to program low_load by command line?
From the log of BLDevCube,
bootinfo_group0.binprogrammed to 0x0000bootinfo_group1.binprogrammed to 0x1000low_load_bl808_m0@0x58000000.binprogrammed to 0x2000low_load_bl808_d0@0x58000000.binprogrammed to 0x52000It seems latest 'bflb-mcu-tool' do not support groups and generate 'bootinfo_group0.bin' and 'bootinfo_group1.bin', also can not program 2 firmwares in one time.