*** tpb has joined #litex | 00:00 | |
_florent_ | mithro: cool, thanks | 05:32 |
---|---|---|
_florent_ | mithro: next step: go further in the inception demo daveshah presented and also run LiteX/Migen (+Yosys/Nextpnr ) :) | 05:36 |
futarisIRCcloud | _florent_: We can already do that in qemu. Should be trivial enough to run it on hardware. | 05:58 |
_florent_ | futarisIRCcloud: nice! | 06:09 |
*** xobs has quit IRC | 06:39 | |
*** xobs has joined #litex | 06:48 | |
*** futarisIRCcloud has quit IRC | 09:04 | |
*** futarisIRCcloud has joined #litex | 09:40 | |
*** xobs has quit IRC | 10:01 | |
*** xobs has joined #litex | 10:09 | |
*** futarisIRCcloud has quit IRC | 13:59 | |
somlo | I'm at the point where I need to provide a crt0-rocket.S file (in litex/soc/software/libbase); I'm looking at existing crt0-*.S files trying to make sense of what's actually supposed to be going on -- any clues or pointers would be super helpful right now... :) | 15:16 |
somlo | so, assuming crt0-vexriscv.S is the "closest", looks like I need to provide an entry point to "everything" (_start), which sets up the "trap_entry" (does it have to be marked .global, since it's only ever referenced within crt0-vexriscv.S?), then initializes the bss, and calls main() | 15:31 |
somlo | so maybe replacing sw & lw with sd and ld is most of what I need ? | 15:35 |
somlo | one more: why is the "j crt_init" followed by all those nop instructions (https://github.com/enjoy-digital/litex/blob/master/litex/soc/software/libbase/crt0-vexriscv.S#L6) -- is that an alignment thing? | 15:36 |
tpb | Title: litex/crt0-vexriscv.S at master · enjoy-digital/litex · GitHub (at github.com) | 15:36 |
somlo | * alignment for trap_entry, that is ? | 15:36 |
*** spacekookie_ has joined #litex | 22:05 | |
*** acathpala has joined #litex | 22:06 | |
*** tinyfpga_ has joined #litex | 22:08 | |
*** acathla has quit IRC | 22:09 | |
*** tinyfpga has quit IRC | 22:09 | |
*** spacekookie has quit IRC | 22:09 | |
*** spacekookie_ is now known as spacekookie | 22:22 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!