<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
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]>
<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