Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cjacker opened this issue Mar 2, 2023 · 1 comment
Open

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

cjacker opened this issue Mar 2, 2023 · 1 comment

Comments

@cjacker
Copy link

cjacker commented Mar 2, 2023

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.

@Pavlos1
Copy link

Pavlos1 commented Oct 29, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants