Monday, 2022-06-27

*** tpb <[email protected]> has joined #litex00:00
*** xenador77 <xenador77!~xenador77@user/xenador77> has joined #litex01:10
*** Degi <[email protected]> has quit IRC (Ping timeout: 268 seconds)02:31
*** Degi <[email protected]> has joined #litex02:33
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)06:08
*** TMM_ <[email protected]> has joined #litex06:08
*** FabM <FabM!~FabM@2a03:d604:103:600:f7b4:82ba:d707:69c0> has joined #litex06:21
*** Shatur <[email protected]> has joined #litex06:53
ShaturHi! I generated svd and memory from litex_sim, but have the following linker error: section '.text.dummy' will not fit in region 'spiflash': overflowed by 18446744073675997184 bytes06:54
ShaturIs that too many bytes? Does this mean that the generated memory and svd are invalid?06:55
geertuShatur: 18446744073675997184 = 0xFFFFFFFFFE000000 = -0x200000007:29
ShaturYes, looks like an overflow?07:30
geertuShatur: Any chance the llinker script has some symbols in the wrong order?07:45
Shaturgeertu: here is how my memory.x look: https://pastebin.com/N6mCQskr07:46
tpbTitle: memory.x - Pastebin.com (at pastebin.com)07:46
ShaturI use rust07:46
geertuShatur: There's no spiflash under MEMORY? Perhaps you meant rom?07:48
Shaturgeertu: oh, sorry, it's a wrong file with my experiments :) Here is the right one: https://pastebin.com/MBFcfBNZ07:51
tpbTitle: memory.x - Pastebin.com (at pastebin.com)07:51
geertuShatur: Change _stext to 0x01000000?07:53
geertuCurrently, it's at -32 MiB from the end of spiflash07:53
geertuHmm, as it is CPU reset, it should stay at zero.07:54
geertuBut you should make sure it ends up in rom, not in spiflash.07:54
Shaturgeertu: it worked, thank you!07:56
ShaturBut why litex_sim generates it this way? Is it a bug?07:56
ShaturHere is what I used to generate it: litex_sim --csr-svd=hal/litex_sim_pac/soc.svd --memory-x=hal/litex_sim_pac/memory.x --with-spi-flash08:04
geertuShatur: sorry, no idea08:11
geertu_florent_: ^08:11
*** xenador77 <xenador77!~xenador77@user/xenador77> has quit IRC (Ping timeout: 252 seconds)09:02
ShaturIs it possible to connect to litex_sim via serial? I trying to print something via UART.09:53
ShaturIn simulator it shows --============= Liftoff! ===============-- and nothing after it. Is it something wrong with the firmware or I just need to connect to the simulator somehow?10:00
ShaturOh, I see, it prints UART to console by default using uart2console module. Probably something wrong with printing code.10:42
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has quit IRC (Remote host closed the connection)16:46
*** peepsalot <peepsalot!~peepsalot@openscad/peepsalot> has joined #litex16:51
*** Melkhior <Melkhior!~Melkhior@2a01:e0a:1b7:12a0:225:90ff:fefb:e717> has quit IRC (Quit: Leaving)17:54
*** Melkhior <Melkhior!~Melkhior@2a01:e0a:1b7:12a0:225:90ff:fefb:e717> has joined #litex18:03
*** FabM <FabM!~FabM@armadeus/team/FabM> has quit IRC (Ping timeout: 248 seconds)19:55
*** Shatur <[email protected]> has quit IRC (Quit: Konversation terminated!)21:33

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