-
Notifications
You must be signed in to change notification settings - Fork 11
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
Checkout freedom-metal to another branch #7
Comments
In the BSP directory there is an update-targets.sh script that may need to be run. I have not looked at the recent updates on the freedom SDK so I would have to perform the updates to try and replicate. What are the exact steps that you performed? |
Thanks for the comment.
This is what I have done before. I also ran
as you suggested and ...
Seems like my toolchain is not setup correctly. |
You will need the devicetree compiler. Also notice that even the mainline freedom-e-sdk doesn't use the master branch. Maybe it is about time to attempt merging lofive to the upstream repository. |
Plus one for merging the lofive to the upstream repository. I'm currently trying to program my first LoFive board and running into issues. Would love to contribute as I do this. |
@Layke heads up! When SiFive switched silicon revision they depracated openocd support. It works but only after the very first programming of the flash. Switching to JLINK is the easy way out: I have not updated the SDK in years so maybe they fixed it by now but I doubt it. Contributions are always welcome so if you get something working, document it For collaboration I have a channel on discord: |
@mwelling I just got couple of lofive boards today. would like to know if the FE310-G002 in the lofive has the same init code in OTP and jumps into flash as it happens in Hifive1-rev B board? What is the best way to quickly bringup the board with gdb & load the code into ram and execute? I assume the openocd script that works on hifive1-revb Board should work for this as well. |
OTP and Mask ROM are the same in all -G002 versions. After brief checks to confirm presence of an external xSPI memory device, execution will go to 0x20000000. Perhaps the easiest and quickest way to load into and run from RAM is as follows: |
Just tried out to get a newer version of freedom-metal running. I switched to the master branch in the freedom-metal submodule.
Compilation works, but it cannot find the correct library file (apparently). I am sure this is possible. I did not find any documentation on that subject.
The text was updated successfully, but these errors were encountered: