*** tpb has joined #tomu | 00:00 | |
*** Alistair[m]1 has quit IRC | 00:06 | |
xobs | Alistair[m]1: "all" you have to do is make sure your bitstream has xip spi, then point your program counter at the correct address. | 01:07 |
---|---|---|
xobs | Foboot comes with xip spi, which is how it's able to execute software binaries loaded. | 01:07 |
xobs | However, I didn't want to have to deal with combining bitstream addresses, so foboot cheats and stores the 8kB of foboot code in bram that is embedded in the bitstream. | 01:08 |
xobs | This of course means foboot can only be a maximum of around 8 kB. | 01:09 |
xobs | Note also that you'll have to add the correct offset of your program. The bitstream starts 262144 bytes into the spi image, and the bitstream image is roughly 104 kB long. | 01:10 |
*** CarlFK has quit IRC | 02:07 | |
*** CarlFK has joined #tomu | 03:00 | |
*** Vercas has quit IRC | 03:57 | |
*** Vercas has joined #tomu | 03:59 | |
*** gio_ has quit IRC | 04:01 | |
*** gio has joined #tomu | 04:05 | |
*** andi- has quit IRC | 04:24 | |
*** st-gourichon-fid has quit IRC | 04:41 | |
*** st-gourichon-fid has joined #tomu | 04:58 | |
*** st-gourichon-fid has quit IRC | 05:58 | |
*** st-gourichon-fid has joined #tomu | 05:59 | |
*** eddyb[legacy] has quit IRC | 06:48 | |
*** dwg has quit IRC | 06:48 | |
*** flokli has quit IRC | 06:48 | |
*** andi- has joined #tomu | 06:49 | |
*** andi- has quit IRC | 06:54 | |
*** eddyb[legacy] has joined #tomu | 07:25 | |
*** dwg has joined #tomu | 07:25 | |
*** flokli has joined #tomu | 07:25 | |
*** thaytan has quit IRC | 07:47 | |
*** thaytan has joined #tomu | 07:48 | |
*** andi- has joined #tomu | 07:59 | |
*** js has joined #tomu | 11:59 | |
*** andi- has quit IRC | 12:40 | |
*** andi- has joined #tomu | 12:44 | |
*** squelch has quit IRC | 15:55 | |
*** _stew_ has quit IRC | 19:53 | |
*** _stew_ has joined #tomu | 19:53 | |
*** Alistair[m]1 has joined #tomu | 21:22 | |
Alistair[m]1 | Thanks xobs | 21:22 |
Alistair[m]1 | I'm trying to build my own RISC-V Litex CPU and then load the riscv-blink example. So I'm assuming the application is correctly compiled for the right addresses | 21:23 |
Alistair[m]1 | When I build a bitstream with: litex-boards/litex_boards/targets/fomu.py --board evt --cpu-type="vexriscv" --build --output-dir ./build/ --no-uart --no-timer | 21:23 |
Alistair[m]1 | and flash it I can't then load any software | 21:23 |
*** wrtlprnft has quit IRC | 21:35 | |
*** wrtlprnft has joined #tomu | 21:37 | |
*** andi- has quit IRC | 22:56 | |
*** andi- has joined #tomu | 23:02 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!