Test SDCard boot with OrangeCrab
See original GitHub issueI just added SDCard SPI-Mode support to the OrangeCrab with: https://github.com/litex-hub/litex-boards/commit/6e6b6dac5524e2b9ebef0d3d1be316674a7bd012 and https://github.com/litex-hub/linux-on-litex-vexriscv/commit/dc61f0acf95506b08e8486e33590ff9ddf8b3095 but don’t have the harware to test it.
@pdp7, @gregdavill interested in testing? 😃
If so, you can use the attached bitstream and copy the attached images to a FAT16 formated SDCard.
Then just try to boot with spisdcardboot
command. (that’s possible you’ll have to type it twice since the SDCard does not always seem to be initialized correctly the first time).
orangecrab_linux_images.zip orangecrab_bitstream_with_spisdcard.zip
Issue Analytics
- State:
- Created 3 years ago
- Comments:29 (22 by maintainers)
Top Results From Across the Web
Summer of FPGAs -- OrangeCrab Dev Bd - Review
The board comes pre-loaded with a USB DFU bootloader (Open source), so users can load new FPGA code (bitstreams aka gateware) or RISC-V...
Read more >OrangeCrab - 1BitSquared
The OrangeCrab is a feather form factor electronics development board. For the Lattice ECP5 ... Pre-loaded DFU bootloader (No external programmer required!)
Read more >Guide: Working with SD Cards - CS107e
The Raspberry Pi card reader slot accepts an un-jacketed micro-SD card. ... The Pi boot sequence next looks for a file called kernel.img...
Read more >SD card/USB boot device revised guidance (85685)
There is no way to reliably check and monitor for the SD card endurance, as these devices usually do not provide support for...
Read more >litex setup
The Debian microSD card was set up with the kernel, rootfs, ... up host network load a MicroPython binary and boot it on...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@pdp7: you should be able to build it with upstream repos. ValentyUSB is automatically cloned when building the OrangeCrab bitstream: https://github.com/litex-hub/linux-on-litex-vexriscv/blob/master/make.py#L221.
The code has been refactored (to use FatFs and allow FAT16/FAT32 partitions), performance has been improved (>1MB/s transfers) and has been tested recently on the OrangeCrab: https://twitter.com/enjoy_digital/status/1271128930385362947
A new wiki page that explains the different boot options is also available at: https://github.com/enjoy-digital/litex/wiki/Load-Application-Code-To-CPU