*** tpb <[email protected]> has joined #litex | 00:00 | |
*** xenador77 <xenador77!~xenador77@user/xenador77> has joined #litex | 01:10 | |
*** Degi <[email protected]> has quit IRC (Ping timeout: 268 seconds) | 02:31 | |
*** Degi <[email protected]> has joined #litex | 02:33 | |
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) | 06:08 | |
*** TMM_ <[email protected]> has joined #litex | 06:08 | |
*** FabM <FabM!~FabM@2a03:d604:103:600:f7b4:82ba:d707:69c0> has joined #litex | 06:21 | |
*** Shatur <[email protected]> has joined #litex | 06:53 | |
Shatur | Hi! 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 bytes | 06:54 |
---|---|---|
Shatur | Is that too many bytes? Does this mean that the generated memory and svd are invalid? | 06:55 |
geertu | Shatur: 18446744073675997184 = 0xFFFFFFFFFE000000 = -0x2000000 | 07:29 |
Shatur | Yes, looks like an overflow? | 07:30 |
geertu | Shatur: Any chance the llinker script has some symbols in the wrong order? | 07:45 |
Shatur | geertu: here is how my memory.x look: https://pastebin.com/N6mCQskr | 07:46 |
tpb | Title: memory.x - Pastebin.com (at pastebin.com) | 07:46 |
Shatur | I use rust | 07:46 |
geertu | Shatur: There's no spiflash under MEMORY? Perhaps you meant rom? | 07:48 |
Shatur | geertu: oh, sorry, it's a wrong file with my experiments :) Here is the right one: https://pastebin.com/MBFcfBNZ | 07:51 |
tpb | Title: memory.x - Pastebin.com (at pastebin.com) | 07:51 |
geertu | Shatur: Change _stext to 0x01000000? | 07:53 |
geertu | Currently, it's at -32 MiB from the end of spiflash | 07:53 |
geertu | Hmm, as it is CPU reset, it should stay at zero. | 07:54 |
geertu | But you should make sure it ends up in rom, not in spiflash. | 07:54 |
Shatur | geertu: it worked, thank you! | 07:56 |
Shatur | But why litex_sim generates it this way? Is it a bug? | 07:56 |
Shatur | Here 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-flash | 08:04 |
geertu | Shatur: sorry, no idea | 08:11 |
geertu | _florent_: ^ | 08:11 |
*** xenador77 <xenador77!~xenador77@user/xenador77> has quit IRC (Ping timeout: 252 seconds) | 09:02 | |
Shatur | Is it possible to connect to litex_sim via serial? I trying to print something via UART. | 09:53 |
Shatur | In 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 |
Shatur | Oh, 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 #litex | 16: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 #litex | 18: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/!