Skip to content

Instantly share code, notes, and snippets.

@smaeul
Last active February 19, 2023 20:34
Show Gist options
  • Save smaeul/6fc91324b66fcd001717263f61bf3d06 to your computer and use it in GitHub Desktop.
Save smaeul/6fc91324b66fcd001717263f61bf3d06 to your computer and use it in GitHub Desktop.
BL808 U-Boot HOWTO
@smaeul
Copy link
Author

smaeul commented Jan 18, 2023

Updates for tag bl808-2023-01-18:

  • M0 now builds an XIP binary by default. You can flash u-boot.bin with bflb-mcu-tool --chipname bl808 --port /dev/ttyUSB0 --baudrate 2000000 --firmware u-boot.bin or equivalent. You no longer need bouffalo-loader. However, if you want, you can still use it, by disabling CONFIG_XIP.
  • Because M0 no longer needs GPIO14/15 for the boot ROM, I swapped the UARTs so M0 gets its "normal" pins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment