https://github.com/sifive/freedom-u-sdk
目前无 现成 方法 ,但有 可借鉴 的 资料
fu540的 bootloader
https://github.com/sifive/freedom-u540-c000-bootloader/tree/master/sifive/devices
包含 从零启动 过程 可按 fu740 迁移
sifive/freedom-u540-c000-bootloader#9
https://github.com/carlosedp/riscv-bringup/tree/master/unmatched
https://www.reddit.com/r/RISCV/comments/no4a3e/hifive_unmatched_openocd_gdb_beginning_bare_metal/
openocd + gdb
openocd cfg文件
https://gist.github.com/a4lg/df51da397b72299042182ccc19f75371
需要 去掉 uboot 才能 用 ,现在 的 boot flow ,或许需要自己改u-boot。