bouffalolab / bl808_linux

Apache License 2.0
125 stars 39 forks source link

[Question] How to program low_load d0/m0 by command line? #22

Open cjacker opened 1 year ago

cjacker commented 1 year ago

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 : https://github.com/bouffalolab/bl_mcu_sdk/issues/115#issuecomment-1457363889

[Question 1] How to program low_load by command line?

From the log of BLDevCube,

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.

Pavlos1 commented 8 months ago

bflb-mcu-tool didn't work for me even with those patches, so I threw this together: https://github.com/Pavlos1/bl808-utils