Sunday, 2021-11-21

*** tpb <[email protected]> has joined #litex00:00
*** Degi_ <[email protected]> has joined #litex02:30
*** Degi <[email protected]> has quit IRC (Ping timeout: 268 seconds)02:31
*** Degi_ is now known as Degi02:31
*** aquijoule_ <[email protected]> has joined #litex03:08
*** aquijoule__ <[email protected]> has quit IRC (Ping timeout: 256 seconds)03:11
*** ilia__s <[email protected]> has quit IRC (Read error: Connection reset by peer)03:26
*** ilia__s4 <[email protected]> has joined #litex03:26
*** mikek_DE1SOC <[email protected]> has quit IRC (Quit: Leaving)03:31
*** ilia__s4 <[email protected]> has quit IRC (Read error: Connection reset by peer)03:59
*** ilia__s <[email protected]> has joined #litex03:59
*** yootis <[email protected]> has quit IRC (Ping timeout: 264 seconds)04:32
*** yootis <[email protected]> has joined #litex04:40
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)04:41
*** TMM_ <[email protected]> has joined #litex04:41
yootisI 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?04:41
*** yootis <[email protected]> has quit IRC (Ping timeout: 256 seconds)05:02
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?05:31
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 litex05:38
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex06:59
sajattack[m]ack!07:45
sajattack[m]I got it working kinda07:45
sajattack[m]no sdcard, so I didn't load install 100MB or whatever of systemd07:46
sajattack[m]but I have busybox as init, and all the debian jazz like apt, though no networking makes it a bit pointless 07:46
sajattack[m]it seems to break a bit when I add the inittab08:19
*** aquijoule_ <[email protected]> has quit IRC (Remote host closed the connection)08:30
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 240 seconds)09:34
sajattack[m]systemd is incredibly slow to boot09:36
sajattack[m]I wish my litex wasn't so broken so I could rebuild a faster soc09:38
sajattack[m]maybe the version on my other pc works09:40
sajattack[m]it do11:16
sajattack[m]does this mean OOM or what? https://bpa.st/DGCQ12:24
tpbTitle: View paste DGCQ (at bpa.st)12:24
*** TMM_ <[email protected]> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)12:33
*** TMM_ <[email protected]> has joined #litex12:33
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex14:38
*** jersey99 <[email protected]> has quit IRC (Ping timeout: 256 seconds)15:06
cr1901>systemd is incredibly slow to boot16:37
cr1901define "slow"?16:37
*** key2 <[email protected]> has quit IRC (Remote host closed the connection)17:00
*** openpowerwtf <[email protected]> has quit IRC (Remote host closed the connection)17:07
*** mithro <[email protected]> has quit IRC (Remote host closed the connection)17:07
*** alanvgreen <[email protected]> has quit IRC (Remote host closed the connection)17:07
*** guan <[email protected]> has quit IRC (Remote host closed the connection)17:07
*** sorear <[email protected]> has quit IRC (Remote host closed the connection)17:11
*** _florent_ <[email protected]> has quit IRC (Remote host closed the connection)17:11
*** jer_ <[email protected]> has quit IRC (Remote host closed the connection)17:11
*** gatecat <[email protected]> has quit IRC (Ping timeout: 246 seconds)17:19
*** esden <[email protected]> has quit IRC (Ping timeout: 246 seconds)17:21
*** tucanae47_ <[email protected]> has quit IRC (Ping timeout: 250 seconds)17:22
*** philpax_ <[email protected]> has quit IRC (Ping timeout: 246 seconds)17:23
*** tcal <[email protected]> has quit IRC (Ping timeout: 260 seconds)17:24
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)17:32
sajattack[m]with the quad core fpu variant, OOM before it even gets to systemd17:33
cr1901That... doesn't sound ideal/right :o17:38
sajattack[m]keep in mind I'm loading the filesystem into ram17:41
sajattack[m]but it's only around 100MB17:42
sajattack[m]and I have 1GB of RAM17:42
sajattack[m]I also switched to opensbi on the one that's OOM'ing17:43
sajattack[m]the single core/no-fpu/bbl, I almost wondered if it tried to switch to activate another tty and lost uart or something17:44
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)17:51
sajattack[m]https://bpa.st/Y27Q17:52
tpbTitle: View paste Y27Q (at bpa.st)17:52
sajattack[m]so maybe something wrong with opensbi or maybe something wrong with 4 cores sharing memory17:53
sajattack[m]helps if your debootstrap has a root password set I guess17:55
tntdoes your devicetree specify the whole ram ? do you see it in the boot message ?18:00
sajattack[m]yes18:02
sajattack[m]I tried setting a smaller RAM too in case that got it to use less than the full memory18:02
sajattack[m]no luck18:03
sajattack[m] 0.000000] Memory: 940300K/1046528K available (4320K kernel code, 4709K rwdata, 2048K rodata, 73835K init, 278K bss, 106228K reserved, 0K cma-reserved)18:06
*** _florent_ <[email protected]> has joined #litex18:51
*** sorear <[email protected]> has joined #litex18:52
*** mithro <[email protected]> has joined #litex18:54
*** guan <[email protected]> has joined #litex18:56
*** alanvgreen <[email protected]> has joined #litex18:58
*** gatecat <[email protected]> has joined #litex19:00
*** jer_ <[email protected]> has joined #litex19:01
*** esden <[email protected]> has joined #litex19:04
*** openpowerwtf <[email protected]> has joined #litex19:05
*** tcal <[email protected]> has joined #litex19:09
*** key2 <[email protected]> has joined #litex19:10
*** philpax_ <[email protected]> has joined #litex19:10
*** tucanae47_ <[email protected]> has joined #litex19:15
sajattack[m]<sajattack[m]> "helps if your debootstrap has..." <- guh, every image I've created attempting to rectify  this has failed in a bizarre way19:55
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has quit IRC (Ping timeout: 240 seconds)20:12
sajattack[m]I'm guessing the issue is my device tree is full of lies and I don't even know it21:48
sajattack[m]lots of timer interrupt kernel panics21:49
sajattack[m]and also udev seemed mad so I uninstalled it21:51
sajattack[m]hmm, now my /dev/ttyLXU0 and /dev/hvc0 systemd start jobs timed out21:52
sajattack[m]do those need udev?21:52
sajattack[m]I always thought the u in udev stood for usb lol21:55
sajattack[m]seems not21:55
*** yootis <[email protected]> has joined #litex22:42
yootisI 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. 22:44
yootisWhen I run plaiun python, I can do an import migen just fine, but import migen.genlib fails.22:45
yootisIf 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_bosrds22:46
yootisIs there anyone who can help me get the install working?22:47
sajattack[m]did you install as `--user` or root?23:00
sajattack[m]and what is the commands/logs of your procedure?23:00
*** yootis <[email protected]> has quit IRC (Ping timeout: 260 seconds)23:25
sajattack[m]this guy keeps asking for help then leaving23:30

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