Sunday, 2020-09-13

*** tpb has joined #tomu00:00
*** Alistair[m]1 has quit IRC00:06
xobsAlistair[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
xobsFoboot comes with xip spi, which is how it's able to execute software binaries loaded.01:07
xobsHowever, 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
xobsThis of course means foboot can only be a maximum of around 8 kB.01:09
xobsNote 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 IRC02:07
*** CarlFK has joined #tomu03:00
*** Vercas has quit IRC03:57
*** Vercas has joined #tomu03:59
*** gio_ has quit IRC04:01
*** gio has joined #tomu04:05
*** andi- has quit IRC04:24
*** st-gourichon-fid has quit IRC04:41
*** st-gourichon-fid has joined #tomu04:58
*** st-gourichon-fid has quit IRC05:58
*** st-gourichon-fid has joined #tomu05:59
*** eddyb[legacy] has quit IRC06:48
*** dwg has quit IRC06:48
*** flokli has quit IRC06:48
*** andi- has joined #tomu06:49
*** andi- has quit IRC06:54
*** eddyb[legacy] has joined #tomu07:25
*** dwg has joined #tomu07:25
*** flokli has joined #tomu07:25
*** thaytan has quit IRC07:47
*** thaytan has joined #tomu07:48
*** andi- has joined #tomu07:59
*** js has joined #tomu11:59
*** andi- has quit IRC12:40
*** andi- has joined #tomu12:44
*** squelch has quit IRC15:55
*** _stew_ has quit IRC19:53
*** _stew_ has joined #tomu19:53
*** Alistair[m]1 has joined #tomu21:22
Alistair[m]1Thanks xobs21:22
Alistair[m]1I'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 addresses21:23
Alistair[m]1When I build a bitstream with: litex-boards/litex_boards/targets/fomu.py --board evt --cpu-type="vexriscv" --build --output-dir ./build/ --no-uart --no-timer21:23
Alistair[m]1and flash it I can't then load any software21:23
*** wrtlprnft has quit IRC21:35
*** wrtlprnft has joined #tomu21:37
*** andi- has quit IRC22:56
*** andi- has joined #tomu23:02

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!