FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
Degi has quit [Ping timeout: 260 seconds]
FFY00 has joined #litex
Degi has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
FFY00 has quit [Remote host closed the connection]
FFY00 has joined #litex
alanvgreen has quit [Ping timeout: 272 seconds]
alanvgreen has joined #litex
felix__ has joined #litex
felix_ has quit [Read error: Connection reset by peer]
felix__ is now known as felix_
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
kgugala_ has quit [Read error: Connection reset by peer]
kgugala has joined #litex
Dolu has joined #litex
lkcl has quit [Ping timeout: 265 seconds]
lkcl has joined #litex
TMM has quit [Remote host closed the connection]
TMM has joined #litex
<leons>
Is there a way to use litex_sim with a preloaded ram file, but to not autoboot (i.e. still get the shell in bios)?
st-gourichon-fid has quit [Read error: Connection reset by peer]
st-gourichon-fid has joined #litex
<leons>
In general, how should I approach debugging with litex_sim best? I have a binary which works on an ArtyA7. The mem regions match up. Even a simple binary loaded using `--mem-init` which just writes a byte to the UART txrx-register (3 basic instructions) doesn't seem to work :/
<_florent_>
leons: you can abort the boot sequence with Q or ESC
<leons>
florent: Those are great references, thanks! I tried aborting the boot sequence with Q, but the window is too small. Also, with ethernet enabled, the simulation is just stuck somehow... I'll investigate
<_florent_>
leons: you can just press ESC or Q when you see the LiteX banner, it will also works
<leons>
Okay, weirdly enough everything works just fine as long as a put my binary in the ROM, using `litex_sim.py` with `--ram-init` does not work and I'm still not sure why...
<leons>
Maybe there are some issue with accessing the data in RAM? I've tried using SDRAM like linux-on-litex does, but I don't get past the memcheck, even when I set the bus,data,addr size to 0, as done in the sim.py of linux-on-litex
<_florent_>
leons: i could have a look, so you are just usign litex_sim with --ram-init and aborting the boot to check the ram content?
<leons>
_florent_: That'd be awesome, but you of course don't have to. I'm using `litex_sim.py` from master with `--ram-init` and want to check the RAM content, though I don't manage to abort the boot
<leons>
I suppose I could undefine the `ROM_BOOT_ADDRESS`
<leons>
It appears like the binary is loaded correctly...
<leons>
_florent_: Thanks for your help! I'll definitely continue to look into my issue, but for now I'm incredibly happy that my binary works in ROM!
<_florent_>
leons: not sure to understand, so this is working with --rom-init but not --ram-init?
<leons>
_florent_: exactly. Of course I'm changing the base offsets in my ELF, but that shouldn't even matter as the first three instructions should already output a character on the UART
<_florent_>
leons: ok strange that if works on hardware
<leons>
_florent_: I agree. I'm using pretty much the same binary, so the RAM addresses are the same. Just stripping out some peripherals such as the LED, etc.
<_florent_>
leons: would you mind creating an issue in LiteX for this with the software or binary and steps to reproduce? I'm in a middle of something else so can't help that much now but i could have a closer look later
<leons>
_florent_: sure!
kgugala_ has joined #litex
kgugala has quit [Ping timeout: 256 seconds]
kgugala has joined #litex
kgugala_ has quit [Ping timeout: 272 seconds]
peeps[zen] has joined #litex
peepsalot has quit [Ping timeout: 246 seconds]
peepsalot has joined #litex
peeps[zen] has quit [Ping timeout: 246 seconds]
somlo has quit [Remote host closed the connection]
somlo has joined #litex
<leons>
_florent_: Would you be open to adding a `--timer-uptime` command line parameter to soc_core.py? I've come to use it quite frequently and would happily create a PR
<_florent_>
leons: yes sure, this can indeed be useful, thanks.
awordnot has quit [Ping timeout: 264 seconds]
awordnot has joined #litex
<acathla>
On an iCE40up5k I already have 12MHz and 48MHz for USB (fomu style), I need a 24MHz clock. What's the best way to add it?
<acathla>
I added a self.sync.usb_48 += self.cd_ir_24.clk.eq(~self.cd_ir_24.clk)
<acathla>
But since it's linked to the 48MHz it does not always pass the timing analysis
<acathla>
Or... my design is just a bit too full
awordnot has quit [Read error: Connection reset by peer]
awordnot has joined #litex
cjearls has quit [Quit: Leaving]
peepsalot has quit [Read error: Connection reset by peer]