_florent_ changed the topic of #litex to: LiteX FPGA SoC builder and Cores / Github : https://github.com/enjoy-digital, https://github.com/litex-hub / Logs: https://libera.irclog.whitequark.org/litex
tpb has quit [Remote host closed the connection]
tpb has joined #litex
Degi_ has joined #litex
Degi has quit [Ping timeout: 268 seconds]
Degi_ is now known as Degi
aquijoule_ has joined #litex
aquijoule__ has quit [Ping timeout: 256 seconds]
ilia__s has quit [Read error: Connection reset by peer]
ilia__s4 has joined #litex
mikek_DE1SOC has quit [Quit: Leaving]
ilia__s4 has quit [Read error: Connection reset by peer]
ilia__s has joined #litex
yootis has quit [Ping timeout: 264 seconds]
yootis has joined #litex
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
<yootis> I just installed litex using the Quick start guide, and running lxsim throws an error -- importlib.metadata.PackageNiotFoundError even though importing litex from Python works. Any ideas?
yootis has quit [Ping timeout: 256 seconds]
<sajattack[m]> <_florent_> "somlo: I'm not sure to remember..." <- I did a very naive attempt at replicating this (copying a riscv64 debian rootfs to the initramfs folder, deleting a bunch of cruft, and following the instructions to generate boot.bin), couldn't get it working, is anyone else planning to try?
<sajattack[m]> also worth noting I was trying with a single core and no fpu, since I still can't get a working bitstream from my installed copy of litex
Martoni42 has joined #litex
<sajattack[m]> ack!
<sajattack[m]> I got it working kinda
<sajattack[m]> no sdcard, so I didn't load install 100MB or whatever of systemd
<sajattack[m]> but I have busybox as init, and all the debian jazz like apt, though no networking makes it a bit pointless
<sajattack[m]> it seems to break a bit when I add the inittab
aquijoule_ has quit [Remote host closed the connection]
Martoni42 has quit [Ping timeout: 240 seconds]
<sajattack[m]> systemd is incredibly slow to boot
<sajattack[m]> I wish my litex wasn't so broken so I could rebuild a faster soc
<sajattack[m]> maybe the version on my other pc works
<sajattack[m]> it do
<sajattack[m]> does this mean OOM or what? https://bpa.st/DGCQ
<tpb> Title: View paste DGCQ (at bpa.st)
TMM_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM_ has joined #litex
Martoni42 has joined #litex
jersey99 has quit [Ping timeout: 256 seconds]
<cr1901> >systemd is incredibly slow to boot
<cr1901> define "slow"?
key2 has quit [Remote host closed the connection]
openpowerwtf has quit [Remote host closed the connection]
mithro has quit [Remote host closed the connection]
alanvgreen has quit [Remote host closed the connection]
guan has quit [Remote host closed the connection]
sorear has quit [Remote host closed the connection]
jer_ has quit [Remote host closed the connection]
_florent_ has quit [Remote host closed the connection]
gatecat has quit [Ping timeout: 246 seconds]
esden has quit [Ping timeout: 246 seconds]
tucanae47_ has quit [Ping timeout: 250 seconds]
philpax_ has quit [Ping timeout: 246 seconds]
tcal has quit [Ping timeout: 260 seconds]
<sajattack[m]> with the single core and no fpu, it sets the hostname and then stops outputting to the console for at least half an hour (at which point I killed it)
<sajattack[m]> with the quad core fpu variant, OOM before it even gets to systemd
<cr1901> That... doesn't sound ideal/right :o
<sajattack[m]> keep in mind I'm loading the filesystem into ram
<sajattack[m]> but it's only around 100MB
<sajattack[m]> and I have 1GB of RAM
<sajattack[m]> I also switched to opensbi on the one that's OOM'ing
<sajattack[m]> the single core/no-fpu/bbl, I almost wondered if it tried to switch to activate another tty and lost uart or something
<sajattack[m]> aha, seems the trick (for whatever reason) is to use the quad core fpu with the single core's bbl+dts (such that it only runs a single core)
<sajattack[m]> https://bpa.st/Y27Q
<tpb> Title: View paste Y27Q (at bpa.st)
<sajattack[m]> so maybe something wrong with opensbi or maybe something wrong with 4 cores sharing memory
<sajattack[m]> helps if your debootstrap has a root password set I guess
<tnt> does your devicetree specify the whole ram ? do you see it in the boot message ?
<sajattack[m]> yes
<sajattack[m]> I tried setting a smaller RAM too in case that got it to use less than the full memory
<sajattack[m]> no luck
<sajattack[m]> 0.000000] Memory: 940300K/1046528K available (4320K kernel code, 4709K rwdata, 2048K rodata, 73835K init, 278K bss, 106228K reserved, 0K cma-reserved)
_florent_ has joined #litex
sorear has joined #litex
mithro has joined #litex
guan has joined #litex
alanvgreen has joined #litex
gatecat has joined #litex
jer_ has joined #litex
esden has joined #litex
openpowerwtf has joined #litex
tcal has joined #litex
key2 has joined #litex
philpax_ has joined #litex
tucanae47_ has joined #litex
<sajattack[m]> <sajattack[m]> "helps if your debootstrap has..." <- guh, every image I've created attempting to rectify this has failed in a bizarre way
Martoni42 has quit [Ping timeout: 240 seconds]
<sajattack[m]> I'm guessing the issue is my device tree is full of lies and I don't even know it
<sajattack[m]> lots of timer interrupt kernel panics
<sajattack[m]> and also udev seemed mad so I uninstalled it
<sajattack[m]> hmm, now my /dev/ttyLXU0 and /dev/hvc0 systemd start jobs timed out
<sajattack[m]> do those need udev?
<sajattack[m]> I always thought the u in udev stood for usb lol
<sajattack[m]> seems not
yootis has joined #litex
<yootis> I have a fresh install of litex, done by following the quick start guide, but no matter which thing I try to do, it fails, often with different messages. If I try to run radiona_ulx3s.py I get "ModuleNotFoundError: No module named 'migen.genlib'" for example.
<yootis> When I run plaiun python, I can do an import migen just fine, but import migen.genlib fails.
<yootis> If I run sqrl_acorn.py I get "ModuleNotFoundError: No module named 'litex_boards'". Again, at a plain python command prompt I can import litex, but not litex_bosrds
<yootis> Is there anyone who can help me get the install working?
<sajattack[m]> did you install as `--user` or root?
<sajattack[m]> and what is the commands/logs of your procedure?
yootis has quit [Ping timeout: 260 seconds]
<sajattack[m]> this guy keeps asking for help then leaving