Comments (5)
Thanks for pointing this out!
I've removed the foboot-main
directory and moved it to a branch.
The general thought was that there would be a simple foboot
ROM that gets shipped as part of the default SPI image, but a larger and more complex "Foboot Main" could live on SPI flash. If the boot ROM detected a magic number on the main SPI, it would jump to that.
Foboot Main would present a UF2 filesystem or similar interface. The exact specifics of which were never ironed out.
Early on in the life of Fomu, it used the PicoRvSpi block for doing XIP spi. This was deprecated in favour of the litex SPI block which was more resource-efficient (if a bit slower).
Foboot Main had rotted to the point where it was no longer usable. As you noted, it wasn't even using the correct bit-bang SPI driver.
Since it still may be of academic interest to someone, I'll keep it as a branch (https://github.com/im-tomu/foboot/tree/foboot-main/foboot-main) but I'll remove it from the main branch to prevent future confusion.
from foboot.
According to BOOT-SEQUENCE.md, CFM_EN is 0x4.
from foboot.
Thanks for clearing that up, @xobs!
from foboot.
FWIW, the same typo also exists in sw/src/main.c
from foboot.
Thanks for pointing that out! I corrected that in dfa09fc
from foboot.
Related Issues (20)
- Can't build - ERROR: Conflicting init values for signal 1'0 (\cpu_interrupt [0] = 1'0 != 1'x). HOT 1
- Building --no-cpu creates memory overlap
- Issue building new updater -- Unable to open booster.bin HOT 3
- RAM load doesn't work for me HOT 7
- tinyusb examples don't seem to work with current head of master (e928b868) HOT 2
- Instability seen with some Fomu with v2.0.3
- Add DFU signature support? HOT 2
- Auto-boot image after 5 seconds HOT 1
- Booting from RAM HOT 2
- Can't seem to update my Fomu HOT 7
- Stability after switching to eptri HOT 2
- Add support for tinyfpga-bx board
- Add support for ECP5 hardware HOT 30
- fomu can be be bricked by flashing too large of an image HOT 8
- Maximum writable file size through dfu HOT 2
- Litex SPI Flash Core Was Deprecated in Favor of LiteSPI
- string.h: No such file or directory
- Fails to meet timing without specifying a seed HOT 5
- Needs better instructions for loading the bootloader
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from foboot.