Sunday, 2021-11-21

*** tpb <tpb!~supybot@underwood.mithis.com> has joined #litex00:00
*** Degi_ <Degi_!~Degi@x4dbfd108.dyn.telefonica.de> has joined #litex02:30
*** Degi <Degi!~Degi@dynamic-089-012-197-152.89.12.pool.telefonica.de> has quit IRC (Ping timeout: 268 seconds)02:31
*** Degi_ is now known as Degi02:31
*** aquijoule_ <aquijoule_!~richbridg@213-225-3-145.nat.highway.a1.net> has joined #litex03:08
*** aquijoule__ <aquijoule__!~richbridg@213-225-12-152.nat.highway.a1.net> has quit IRC (Ping timeout: 256 seconds)03:11
*** ilia__s <ilia__s!~ilia__s@213.55.225.10> has quit IRC (Read error: Connection reset by peer)03:26
*** ilia__s4 <ilia__s4!~ilia__s@213.55.225.10> has joined #litex03:26
*** mikek_DE1SOC <mikek_DE1SOC!~mikek@192.139.231.252> has quit IRC (Quit: Leaving)03:31
*** ilia__s4 <ilia__s4!~ilia__s@213.55.225.10> has quit IRC (Read error: Connection reset by peer)03:59
*** ilia__s <ilia__s!~ilia__s@213.55.225.10> has joined #litex03:59
*** yootis <yootis!~quassel@c-67-188-26-233.hsd1.ca.comcast.net> has quit IRC (Ping timeout: 264 seconds)04:32
*** yootis <yootis!~quassel@c-67-188-26-233.hsd1.ca.comcast.net> has joined #litex04:40
*** TMM_ <TMM_!hp@amanda.tmm.cx> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)04:41
*** TMM_ <TMM_!hp@amanda.tmm.cx> 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 <yootis!~quassel@c-67-188-26-233.hsd1.ca.comcast.net> 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_ <aquijoule_!~richbridg@213-225-3-145.nat.highway.a1.net> 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_ <TMM_!hp@amanda.tmm.cx> has quit IRC (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)12:33
*** TMM_ <TMM_!hp@amanda.tmm.cx> has joined #litex12:33
*** Martoni42 <Martoni42!~Martoni@2a03:d604:103:600:2ad2:44ff:fe23:2f72> has joined #litex14:38
*** jersey99 <jersey99!~jersey99@sliderule.dhcp.lbl.gov> has quit IRC (Ping timeout: 256 seconds)15:06
cr1901>systemd is incredibly slow to boot16:37
cr1901define "slow"?16:37
*** key2 <key2!sid337923@tinside.irccloud.com> has quit IRC (Remote host closed the connection)17:00
*** openpowerwtf <openpowerwtf!uid526708@ilkley.irccloud.com> has quit IRC (Remote host closed the connection)17:07
*** mithro <mithro!sid24875@ilkley.irccloud.com> has quit IRC (Remote host closed the connection)17:07
*** alanvgreen <alanvgreen!sid467761@ilkley.irccloud.com> has quit IRC (Remote host closed the connection)17:07
*** guan <guan!sid222713@ilkley.irccloud.com> has quit IRC (Remote host closed the connection)17:07
*** sorear <sorear!sid184231@uxbridge.irccloud.com> has quit IRC (Remote host closed the connection)17:11
*** _florent_ <_florent_!sid109740@uxbridge.irccloud.com> has quit IRC (Remote host closed the connection)17:11
*** jer_ <jer_!uid527813@uxbridge.irccloud.com> has quit IRC (Remote host closed the connection)17:11
*** gatecat <gatecat!sid281702@helmsley.irccloud.com> has quit IRC (Ping timeout: 246 seconds)17:19
*** esden <esden!sid32455@hampstead.irccloud.com> has quit IRC (Ping timeout: 246 seconds)17:21
*** tucanae47_ <tucanae47_!sid429270@lymington.irccloud.com> has quit IRC (Ping timeout: 250 seconds)17:22
*** philpax_ <philpax_!sid516926@lymington.irccloud.com> has quit IRC (Ping timeout: 246 seconds)17:23
*** tcal <tcal!sid456577@lymington.irccloud.com> 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_ <_florent_!sid109740@id-109740.uxbridge.irccloud.com> has joined #litex18:51
*** sorear <sorear!sid184231@id-184231.uxbridge.irccloud.com> has joined #litex18:52
*** mithro <mithro!sid24875@id-24875.ilkley.irccloud.com> has joined #litex18:54
*** guan <guan!sid222713@id-222713.ilkley.irccloud.com> has joined #litex18:56
*** alanvgreen <alanvgreen!sid467761@id-467761.ilkley.irccloud.com> has joined #litex18:58
*** gatecat <gatecat!sid281702@id-281702.helmsley.irccloud.com> has joined #litex19:00
*** jer_ <jer_!uid527813@id-527813.uxbridge.irccloud.com> has joined #litex19:01
*** esden <esden!sid32455@id-32455.hampstead.irccloud.com> has joined #litex19:04
*** openpowerwtf <openpowerwtf!uid526708@id-526708.ilkley.irccloud.com> has joined #litex19:05
*** tcal <tcal!sid456577@id-456577.lymington.irccloud.com> has joined #litex19:09
*** key2 <key2!sid337923@id-337923.tinside.irccloud.com> has joined #litex19:10
*** philpax_ <philpax_!sid516926@id-516926.lymington.irccloud.com> has joined #litex19:10
*** tucanae47_ <tucanae47_!sid429270@id-429270.lymington.irccloud.com> 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 <yootis!~matt@c-67-188-26-233.hsd1.ca.comcast.net> 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 <yootis!~matt@c-67-188-26-233.hsd1.ca.comcast.net> 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/!