Wednesday, 2020-11-25

*** tpb has joined #litex00:00
*** lf_ has joined #litex00:47
*** lf has quit IRC00:47
*** FFY00 has quit IRC01:48
*** Degi_ has joined #litex01:54
*** Degi has quit IRC01:54
*** Degi_ is now known as Degi01:54
*** FFY00 has joined #litex01:59
*** Dolu_ has quit IRC02:18
*** lkcl has quit IRC02:48
*** lkcl has joined #litex03:02
*** CarlFK has joined #litex04:00
*** CarlFK has quit IRC04:59
*** lkcl has quit IRC06:01
*** Bertl_oO is now known as Bertl_zZ06:02
*** lkcl has joined #litex06:14
_franck_st-gourichon-fid what is annoying you with this change in the linker script ?07:59
*** Bertl_zZ is now known as Bertl10:31
*** Dolu_ has joined #litex11:14
*** FFY00 has quit IRC11:29
*** FFY00 has joined #litex11:30
st-gourichon-fid_florent_, thanks for asking! In our design, another microcontroller runs code compiled with another SDK and linker script, and little flexibility without modifying the SDK itself, which contains the linker script used. So far we could progress without modifying the SDK.11:51
st-gourichon-fidI considered alternatives, like: before compilation, generating a C-source-level array listing all symbols.  Fully scripted "build in one step" of course.  We can also run a modified SDK from now on. ¯\_(ツ)_/¯11:56
st-gourichon-fid"all symbols" -> providing the same C-runtime-level array without linker script trick.11:57
_franck_st-gourichon-fid without the linker section and the KEEP attribute, you may have to find a trick to keep cmd functions in the object file (not beeing stripped away)13:44
_franck_and by the way there is _franck_ and _florent_ :)13:45
zyp_franck_, listing them in an array would reference them and keep them from being garbage collected, no tricks needed14:43
zypst-gourichon-fid, are you saying that you are building the litex bios against the SDK for another microcontroller? I'm not sure I understand exactly what you're trying to do14:44
*** lkcl has quit IRC14:53
*** CarlFK has joined #litex14:55
*** lkcl has joined #litex15:05
st-gourichon-fid_franck_, thanks for your answer. And yes, I was bitten by the IRC client autocompletion. :-p15:14
st-gourichon-fidzyp, the other microcontroller is an external chip that can access the wishbone bus, so it can be very handy to run the bios prompt on that chip.15:15
zypmakes sense15:33
zypat least if you're using peripherals that the bios runs initialization for15:33
st-gourichon-fidRunning our own interactive commands (with readline) is an appreciated luxury.15:48
_franck_zyp you're right, I've misread "generating a C-source-level array listing all symbols". I was thinking at something that would have emulated the linker section.16:19
*** Bertl is now known as Bertl_oO16:51
*** lkcl has quit IRC20:21
*** lkcl has joined #litex20:33
*** indy has quit IRC22:19
*** indy has joined #litex22:42

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