*** psydroid <psydroid!~psydroid@user/psydroid> has quit IRC | 02:46 | |
*** gnucode <gnucode!~gnucode@user/jab> has quit IRC | 03:11 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.170.111> has quit IRC | 05:13 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.52.231> has joined #libre-soc | 05:14 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.52.231> has quit IRC | 05:23 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.170.111> has joined #libre-soc | 05:23 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.170.111> has quit IRC | 05:37 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.53.112> has joined #libre-soc | 05:38 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.53.112> has quit IRC | 05:40 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.162.78> has joined #libre-soc | 05:41 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.162.78> has quit IRC | 07:28 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.170.137> has joined #libre-soc | 07:30 | |
*** markos_ <markos_!~markos_@user/markos/x-1838887> has quit IRC | 07:42 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.170.137> has quit IRC | 07:49 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.42.194> has joined #libre-soc | 07:49 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.42.194> has quit IRC | 07:51 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.57.175> has joined #libre-soc | 07:51 | |
*** markos_ <markos_!~markos_@static062038076032.access.hol.gr> has joined #libre-soc | 07:56 | |
*** markos_ <markos_!~markos_@user/markos/x-1838887> has joined #libre-soc | 07:56 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.57.175> has quit IRC | 07:58 | |
markos_ | lkcl, I think we should invest some time in how litex does it with vexriscv and duplicate this work, or why not, use litex itself. I mean what's the point getting an uber-fpga card with 1GB ram if we can't use it? we will have to do it eventually so why not start now? initially I was of the opinion that hyperram is good enough, but I am not so sure any more. It's limited and it doesn't solve the actual problem -which others have fixed btw | 08:00 |
---|---|---|
*** openpowerbot <openpowerbot!~openpower@94-226-187-44.access.telenet.be> has quit IRC | 08:01 | |
*** openpowerbot <openpowerbot!~openpower@94-226-187-44.access.telenet.be> has joined #libre-soc | 08:05 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.25> has joined #libre-soc | 08:40 | |
*** lxo <lxo!~lxo@gateway/tor-sasl/lxo> has joined #libre-soc | 08:49 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has joined #libre-soc | 08:52 | |
*** lxo <lxo!~lxo@gateway/tor-sasl/lxo> has quit IRC | 08:52 | |
*** Lucretia <Lucretia!~laguest@user/lucretia> has quit IRC | 08:59 | |
*** Lucretia <Lucretia!~laguest@user/lucretia> has joined #libre-soc | 09:02 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.164.25> has quit IRC | 09:07 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.170.147> has joined #libre-soc | 09:42 | |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has quit IRC | 09:45 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@91.205.170.147> has quit IRC | 10:00 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.170.236> has joined #libre-soc | 10:01 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.170.236> has quit IRC | 10:17 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.55.112> has joined #libre-soc | 10:17 | |
openpowerbot | [irc] <lkcl> sadoon[m]1, morning - i have a couple of ideas re. apt: | 10:20 |
openpowerbot | [irc] <lkcl> 1) use static-linking on libudev. link to libudev.a not libudev.so | 10:20 |
openpowerbot | [irc] <lkcl> 2) don't f*****g worry about it. just "dpkg -i {insert ppc64le package} | 10:21 |
openpowerbot | [irc] <lkcl> (the chroot won't care, and it can be dealt with later) | 10:21 |
openpowerbot | [irc] <lkcl> by (2) it becomes possible once there is at least a base, to replace *slowly* each package, recompiling them one at a time | 10:22 |
openpowerbot | [irc] <sadoon[m]1> It'd be much easier to use devuan's sources though no? | 10:29 |
openpowerbot | [irc] <sadoon[m]1> Rather than having to do the manual work ourselves | 10:31 |
openpowerbot | [irc] <sadoon[m]1> At some point we do need to upstream patches to most of these projects, including systemd, if we want to have any hope of Debian officially supporting microwatt/libre-soc | 10:33 |
markos_ | with dpkg --root=<chroot dir> you can tell dpkg to install directly in the chroot, if dependencies are not satisfied, you can even use --root=<chroot dir> -x | 10:33 |
markos_ | so that it just extracts the files directly and doesn't execute any scripts | 10:34 |
openpowerbot | [irc] <sadoon[m]1> Good idea | 10:34 |
openpowerbot | [irc] <sadoon[m]1> At any rate there's no reason why systemd would need VSX and co, it's probably something minor that can be fixed easily, unlike glibc | 10:35 |
markos_ | but no point in upstreaming anything yet, sffs is not yet an official standard | 10:35 |
openpowerbot | [irc] <sadoon[m]1> Ik ik, just talking about the future plans | 10:36 |
markos_ | re systemd it's probably something that was automatically produced by the compiler | 10:36 |
openpowerbot | [irc] <sadoon[m]1> Or God forbid, assembly | 10:36 |
markos_ | I doubt they explicitely used VSX instructions | 10:36 |
markos_ | sincerely doubt that | 10:36 |
openpowerbot | [irc] <sadoon[m]1> Perhaps it's for some crypto stuff | 10:36 |
openpowerbot | [irc] <sadoon[m]1> They did bloat it with those | 10:36 |
openpowerbot | [irc] <sadoon[m]1> In usual systemd fashion | 10:37 |
markos_ | nope, just checked the code, no VSX instructions there | 10:37 |
openpowerbot | [irc] <sadoon[m]1> Then it's build scripts ignoring CFLAGS or requiring 128-bit double | 10:38 |
openpowerbot | [irc] <sadoon[m]1> It's always one of these three | 10:38 |
markos_ | could you tell me the actual instructions found and the object file that has them? | 10:39 |
markos_ | we could check how they are produced in that case | 10:39 |
markos_ | and just change the flags | 10:39 |
openpowerbot | [irc] <sadoon[m]1> Can't right now, still running around finishing up paperwork for my new job | 10:40 |
openpowerbot | [irc] <sadoon[m]1> But remind me :) | 10:40 |
markos_ | nevermind, found stxvd2x in libsystemd0 | 10:41 |
openpowerbot | [irc] <sadoon[m]1> Aaand there it is :') | 10:41 |
markos_ | yeah, there is no code explicitly VSX in that function | 10:42 |
markos_ | it's just compiler stuff | 10:42 |
markos_ | the compiler just groups some stores and produces VSX code | 10:42 |
openpowerbot | [irc] <sadoon[m]1> So it's the other scenario: ingoring CFLAGS | 10:42 |
openpowerbot | [irc] <sadoon[m]1> That at least needs less patching and manual work | 10:43 |
markos_ | yes, it's definitely CFLAGS | 10:43 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.55.112> has quit IRC | 11:42 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.55.112> has joined #libre-soc | 11:42 | |
openpowerbot | [irc] <lkcl> sadoon[m]1, no. they (devuan) have far too many inter-dependent changes and don't keep up-to-date | 11:42 |
openpowerbot | [irc] <lkcl> which is why the chroot itself becomes important to have a (patched) version of gcc in it where those CFLAGS are the default | 11:44 |
openpowerbot | [irc] <sadoon[m]1> Hey, that's a task we can add, and shouldn't be *too* difficult | 11:45 |
*** psydroid <psydroid!~psydroid@user/psydroid> has joined #libre-soc | 11:45 | |
openpowerbot | [irc] <lkcl> and it becomes possible to (one-package-at-a-time) re-compile *in the chroot*, replacing each package with a re-compiled SFFS-only version of itself | 11:45 |
openpowerbot | [irc] <sadoon[m]1> Would save us efforts in patching upstream software ,you're right | 11:45 |
openpowerbot | [irc] <lkcl> i can even run it under qemu-ppc64le-user on my x86 system - https://wiki.debian.org/QemuUserEmulation | 11:46 |
openpowerbot | [irc] <lkcl> although i think dpkg-cross can be covered by what markos suggested, dpkg with the "--root=...." option, now | 11:48 |
openpowerbot | [irc] <lkcl> anlinux does something "clever" like this, with proot/termux | 11:48 |
*** psydroid2 <psydroid2!~psydroid@user/psydroid> has joined #libre-soc | 11:49 | |
*** cesar <cesar!~cesar@2804:14d:7e2b:9124:cb4f:29cf:4b1f:dcf0> has joined #libre-soc | 12:01 | |
cesar | Hi markos_. When you can, please program the device again, and try the switches. They should control the leds. | 12:35 |
cesar | Also, open a serial terminal, and press the buttons. A message should be sent on the UART. | 12:36 |
cesar | ... for each button press. | 12:36 |
markos_ | cesar, the switches do work, I already tried them | 12:41 |
cesar | Nice. | 12:43 |
cesar | I have prepared another bit file. It's a simpler one, just with leds and switches. | 12:44 |
cesar | Please try: | 12:44 |
cesar | git stash | 12:44 |
cesar | git pull | 12:45 |
cesar | cd nmigen_boards/test/nexys_video/switchled | 12:45 |
cesar | ./prog-vivado.sh | 12:45 |
markos_ | seems to work, leds are controlled by the switches | 12:46 |
cesar | Good. | 12:47 |
cesar | It seems openFPGALoader has support for the Nexyx Video. | 12:51 |
cesar | On the chroot, pleas try: "openFPGALoader -b nexysVideo vivado/switchled.bit" | 12:52 |
cesar | * please | 12:52 |
markos_ | yup, indeed | 12:55 |
cesar | Excelent. | 12:58 |
markos_ | that means though that we need vivado to generate the bitstreams properly? | 13:08 |
cesar | Not necessarily. | 13:17 |
cesar | Right now, we know we are able to program the board, with libre tools. | 13:18 |
cesar | I'll now get the simple Verilog file, which I compiled with Vivado, and try it with the libre tools. | 13:19 |
cesar | I mean, right now, we know we are able to download a (working) bit file to the board, using only libre tools. | 13:21 |
*** cesar <cesar!~cesar@2804:14d:7e2b:9124:cb4f:29cf:4b1f:dcf0> has quit IRC | 13:26 | |
openpowerbot | [irc] <sadoon[m]1> made a new branch for dev-env-scripts, trying to make them work fine on ppc64le hosts | 14:25 |
openpowerbot | [irc] <sadoon[m]1> still under testing | 14:25 |
openpowerbot | [irc] <lkcl> cesar, markos: openFPGALoader is in the dev-scripts https://git.libre-soc.org/?p=dev-env-setup.git;a=blob;f=fpga-boot-load-prog-install;hb=HEAD | 14:56 |
openpowerbot | [irc] <lkcl> sadoon[m]1, good idea - remember to use "rebase" in ~/.gitconfig (unless you find that irritating) | 14:57 |
openpowerbot | [irc] <lkcl> [pull] | 14:57 |
openpowerbot | [irc] <lkcl> rebase = true | 14:57 |
openpowerbot | [irc] <lkcl> [branch] | 14:57 |
openpowerbot | [irc] <lkcl> autosetuprebase = always | 14:57 |
openpowerbot | [irc] <lkcl> it does mean you need to use "git stash; git pull; git stash apply" if you have made any modifications-to-workingset-files-without-committing, but hey | 14:58 |
openpowerbot | [irc] <lkcl> it then makes keeping the branch up-to-date *real* easy | 14:58 |
*** lx0 <lx0!~lxo@gateway/tor-sasl/lxo> has joined #libre-soc | 15:02 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.55.112> has quit IRC | 15:07 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.56.47> has joined #libre-soc | 15:07 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.56.47> has quit IRC | 15:20 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.162.130> has joined #libre-soc | 15:20 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.162.130> has quit IRC | 15:24 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.42.11> has joined #libre-soc | 15:25 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.42.11> has quit IRC | 15:42 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.40.18> has joined #libre-soc | 15:43 | |
*** cesar <cesar!~cesar@2804:14d:688a:59ea:682d:e88b:7a7a:882f> has joined #libre-soc | 15:49 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.40.18> has quit IRC | 16:02 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-90-154-80-239.ip.moscow.rt.ru> has joined #libre-soc | 16:03 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-90-154-80-239.ip.moscow.rt.ru> has quit IRC | 16:11 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.179> has joined #libre-soc | 16:12 | |
*** cesar <cesar!~cesar@2804:14d:688a:59ea:682d:e88b:7a7a:882f> has quit IRC | 16:22 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.179> has quit IRC | 16:44 | |
*** cesar <cesar!~cesar@2804:14d:688a:59ea:682d:e88b:7a7a:882f> has joined #libre-soc | 17:03 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.179> has joined #libre-soc | 17:10 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.54.179> has quit IRC | 17:20 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.43.89> has joined #libre-soc | 17:21 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@176.59.43.89> has quit IRC | 17:28 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-90-154-80-239.ip.moscow.rt.ru> has joined #libre-soc | 17:29 | |
cesar | markos_, I have a new design for you to try. | 17:57 |
cesar | It's the same as before, but build with libre tools, instead of Vivado. | 17:58 |
cesar | Try: | 17:58 |
cesar | git pull | 17:58 |
cesar | cd nmigen_boards/test/nexys_video/switchled | 17:58 |
cesar | ./build.sh | 17:59 |
cesar | ./prog.sh | 17:59 |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-90-154-80-239.ip.moscow.rt.ru> has quit IRC | 18:05 | |
*** ghostmansd[m] <ghostmansd[m]!~ghostmans@broadband-90-154-80-239.ip.moscow.rt.ru> has joined #libre-soc | 18:05 | |
markos_ | leds do nothing | 18:15 |
markos_ | it seems to program, I see the READY led, but switches don't control the leds | 18:16 |
markos_ | and no output on serial | 18:16 |
cesar | Disappointing. Try prog-vivado.sh again, to be sure? | 18:27 |
cesar | (there is no serial output in this design) | 18:28 |
markos_ | yup, leds work now | 18:35 |
*** cesar <cesar!~cesar@2804:14d:688a:59ea:682d:e88b:7a7a:882f> has quit IRC | 18:36 | |
*** cesar <cesar!~cesar@2804:14d:688a:59ea:682d:e88b:7a7a:882f> has joined #libre-soc | 19:33 | |
*** psydroid <psydroid!~psydroid@user/psydroid> has quit IRC | 21:53 | |
*** hl_ <hl_!~hl@user/hl> has joined #libre-soc | 21:54 | |
*** hl <hl!~hl@user/hl> has quit IRC | 22:02 | |
*** josuah <josuah!~josuah@46.23.94.12> has quit IRC | 22:02 | |
*** hl_ is now known as hl | 22:10 | |
*** cesar <cesar!~cesar@2804:14d:688a:59ea:682d:e88b:7a7a:882f> has quit IRC | 23:37 | |
*** psydroid2 <psydroid2!~psydroid@user/psydroid> has quit IRC | 23:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!