*** tpb has joined #timvideos | 00:00 | |
*** CarlFK has quit IRC | 00:30 | |
*** CarlFK has joined #timvideos | 00:30 | |
*** ChanServ sets mode: +v CarlFK | 00:30 | |
aiena | hi | 02:38 |
---|---|---|
mithro | CarlFK[m]: I'll merge your pattern change tonight if things go green... | 02:39 |
CarlFK | mithro: k. | 02:39 |
CarlFK | mithro: any idea why the jpeg encoder breaks and then gets fixed 5-6 revs later ? | 02:40 |
CarlFK | aiena: hi | 02:40 |
mithro | Poke futarisIRCcloud about the above Linux stuff | 02:40 |
mithro | CarlFK: There must be a missing timing constraint, so some of the time it happens to be satisfied, some of the time it isn't | 02:40 |
CarlFK | swell :p | 02:41 |
mithro | CarlFK: In theory if you did a build loop you might get firmware which worked and firmware which didn't... | 02:41 |
CarlFK | futarisIRCcloud: fix my keyboard :p | 02:41 |
mithro | I think jea had something like that happening a while ago? | 02:41 |
aiena | CarlFK: I had a reasonable amount of success trying out skelinux | 02:43 |
aiena | as in I figured out that with dd,losetup and gparted its easier to resize the filesystems in it and then install the modules | 02:43 |
aiena | but make modules_install install older kernel modules into the image too and it runs out of space :P | 02:44 |
aiena | I am just wondering if it would be easier to create a virtualbox vm and just compile a kernel in it | 02:45 |
CarlFK | aiena: lots of choices, hard to say what is easier | 02:45 |
aiena | nods | 02:46 |
aiena | CarlFK: I tried to build his qemu sources but I think 2005 is too long back | 02:46 |
CarlFK | personally I wouldn | 02:46 |
CarlFK | personally I wouldn't do anything with virtualbox because I know nothing about it | 02:46 |
aiena | ok | 02:47 |
mithro | CarlFK: btw you should join the #litex channel - there are a bunch of people discussing Linux on LiteX there | 02:47 |
aiena | is qemu only an emulator for devices | 02:47 |
CarlFK | you can skip building qemu - that is so the lr3k module will have 'hardware' to talk to | 02:47 |
aiena | and kvm the acutal virtualisation engine? | 02:47 |
aiena | i was going through the docs and it had lots of info i didnt understand but thats the idea I got. | 02:48 |
mithro | CarlFK: https://logs.timvideos.us/%23litex/%23litex.2019-07-05.log.html | 02:50 |
mithro | Heading home now - bblr | 02:50 |
CarlFK | okee dokee | 02:52 |
aiena | CarlFK: I was installing my built kernel on the host | 03:01 |
aiena | I noticed that the kernel install ok but I do get a dkms error | 03:01 |
aiena | so the proprietary nvidia drivers do not install during the make install stage | 03:02 |
aiena | what are the steps to use dkms before the make install step? | 03:02 |
aiena | or do I run it after that | 03:02 |
CarlFK | or you ignore that ;) | 03:02 |
aiena | lets say I want my nvidia driver to work on the new kernel | 03:02 |
aiena | I am unsure if the kernel defaults back to nouveau if that error comes up | 03:03 |
aiena | would it default back to nouveau? | 03:03 |
CarlFK | don't know. it's more things to break, so I would avoid all of that | 03:04 |
CarlFK | you will have enough trouble with the simple case | 03:04 |
aiena | ok I'll try without dkms and see how the kernel boots | 03:05 |
aiena | if it boots then its all cool I don't need the prop driver | 03:05 |
CarlFK | no one needs it. people want it so their games are more fun. | 03:06 |
aiena | I need it only because of Blender | 03:06 |
aiena | I dont game on my linux lol | 03:06 |
aiena | CUDA wont work without it\ | 03:07 |
CarlFK | ok, blender is not exactly a game, but close ;) | 03:07 |
aiena | aye :P | 03:07 |
aiena | what does `make headers` in the kernle do? | 03:07 |
aiena | does it insttall sources to /usr/src? | 03:07 |
aiena | there are lots of make commands I accidentally ran make mrproper once it removed my config file too | 03:08 |
aiena | I wonder if there is some doc outside the makefile which explains the commands | 03:08 |
CarlFK | well.. "make" is the command | 03:08 |
aiena | i mean documentation for the make TARGETS | 03:09 |
aiena | targets is more precise | 03:09 |
CarlFK | I'm sure there are docs explaining how the typical linux Makefile .. works? | 03:09 |
aiena | ok cool https://www.kernel.org/doc/makehelp.txt | 03:10 |
aiena | found it | 03:10 |
aiena | CarlFK: oops I ran `make install` first before `make modules_install` can rerunning `make install` fix the errors | 03:17 |
CarlFK | maybe - I'm not sure it matters which of those you do first | 03:18 |
aiena | make install compalins it cannot find the modules dir if you run it first | 03:21 |
aiena | depmod: ERROR: could not open directory /lib/modules/5.0.0-aiena: No such file or directory | 03:21 |
aiena | depmod: FATAL: could not search modules: No such file or directory | 03:21 |
aiena | seems like makeinstall after that sorts it out | 03:22 |
CarlFK | huh. 'good' ;) | 03:22 |
aiena | ok CarlFK dkms works only the nvidia drivers doesnt and thats ok I think. This probably stems from me not using the debian build method to build the kernel | 03:29 |
aiena | let me reboot into my new kernel and see | 03:29 |
CarlFK | sounds about right | 03:30 |
aiena | I had written one shell script to remove a kernel | 03:32 |
aiena | maybe you can look into it while I reboot I don;t think I missed anything though | 03:32 |
aiena | https://paste.ubuntu.com/p/8fxJGWwqD7/ | 03:33 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 03:33 |
aiena | brb | 03:34 |
*** aiena has quit IRC | 03:35 | |
*** aiena has joined #timvideos | 03:43 | |
aiena | CarlFK: I have good news and bad news | 03:44 |
CarlFK | good is great! bad is expected :p | 03:44 |
aiena | the good news the kernel boots perfectly fine. The bad news systemd gets stuck at 'update UTMP about system changes' and this is expected because f the nvidia issue | 03:45 |
aiena | so I get a TUI but no kde or GUI or xserver | 03:45 |
* aiena likes ze gui | 03:46 | |
aiena | i mean I can get to a virtual console by going through the distro way | 03:46 |
aiena | i think I'll clean up my kernel and try the ubuntu mainline kernel docs | 03:47 |
aiena | https://wiki.ubuntu.com/KernelTeam/GitKernelBuild seems the closest to a manual install | 03:47 |
tpb | Title: KernelTeam/GitKernelBuild - Ubuntu Wiki (at wiki.ubuntu.com) | 03:47 |
CarlFK | that all sounds about right | 03:48 |
CarlFK | I personally do all this kind of stuff on a 2nd box over ssh | 03:48 |
CarlFK | don't have to worry about gui, or braking it, etc | 03:49 |
aiena | well for ssh even if there is no GUI you wouldn't care | 03:49 |
aiena | ha aye CarlFK | 03:49 |
CarlFK | yeah - of course that means a 2nd box, which is cumbersome, and sometimes I have walk over to it and figure out what happened | 03:49 |
aiena | well at least you can walk over to it :P | 03:50 |
aiena | imagine ssh into some remote server and building a kernel | 03:50 |
aiena | ok I am trying the debian way lets see hehehe | 04:02 |
aiena | its rebuilding I just did a good cleanup | 04:02 |
aiena | gah thats failing some dpkg errors | 04:58 |
*** tweakoz has joined #timvideos | 05:02 | |
aiena | let me try to fix :P | 05:05 |
*** futarisIRCcloud has quit IRC | 06:16 | |
*** Kamilion has quit IRC | 06:16 | |
*** Signotheque has quit IRC | 06:16 | |
*** CarlFK[m] has quit IRC | 06:17 | |
*** Toba has quit IRC | 06:17 | |
aiena | ok cool CarlFK the packages built except the debug one | 06:19 |
aiena | kernel debug symbols are huge I think | 06:19 |
CarlFK | aiena: no clue - I've never done anything where I needed them | 06:20 |
aiena | the kernel debug symbols | 06:20 |
aiena | for drivers i doubt you need then as you are not altering the kernel itself | 06:21 |
*** puck_ has quit IRC | 06:21 | |
*** nrossi has quit IRC | 06:21 | |
*** nats` has quit IRC | 06:21 | |
*** kmehall has quit IRC | 06:21 | |
*** hyadez has quit IRC | 06:21 | |
*** puck_ has joined #timvideos | 06:26 | |
*** nrossi has joined #timvideos | 06:26 | |
*** nats` has joined #timvideos | 06:26 | |
*** kmehall has joined #timvideos | 06:26 | |
*** hyadez has joined #timvideos | 06:26 | |
*** futarisIRCcloud has joined #timvideos | 06:27 | |
*** Kamilion has joined #timvideos | 06:27 | |
*** Signotheque has joined #timvideos | 06:27 | |
*** CarlFK[m] has joined #timvideos | 06:27 | |
*** Toba has joined #timvideos | 06:27 | |
aiena | woot CarlFK no nvidia dkms errors :) | 06:36 |
aiena | now time to reboot dis | 06:36 |
aiena | then I'll see how to turn off building the dbg package that mammoth gives false errors | 06:37 |
*** aiena has quit IRC | 06:37 | |
* CarlFK[m] uploaded an image: VectorImage_2019-07-07_014318.jpg (7763KB) < https://matrix.org/_matrix/media/v1/download/matrix.org/CaGhHcCQEkHCCBbqeXAozWUm > | 06:59 | |
CarlFK | 7763KB ?!! | 06:59 |
CarlFK | anyway, neat artifacts, both on the screen and the phone cam made some more | 07:00 |
*** aiena has joined #timvideos | 07:05 | |
aiena | Hi CarlFK My kernel installed and I got the GUI everything :) | 07:05 |
CarlFK | woot! that;s progress! | 07:06 |
aiena | yes now I need to see how to turn off those debug packages and relook at the lerkcode | 07:07 |
aiena | CarlFK: what is the difference between modprobe and insmod? | 07:07 |
CarlFK | aiena: modprobe will also load dependencies | 07:08 |
aiena | ok I don;t understand how a driver specifies dependencies but I will understand later | 07:09 |
aiena | so modprobe and modprobe -r are preferable to insmod and rmmmod | 07:09 |
aiena | and dmsg shows the output so that dumb driver works | 07:10 |
CarlFK | yay!! thats 2 progresses! | 07:10 |
aiena | yes but I feel like slapping the whole deb build system haha | 07:11 |
aiena | i looked at builddep and there is no way to do an incremental compile | 07:12 |
aiena | so you need to rebuild the whole kernel each time what a waste | 07:12 |
aiena | CarlFK: I was reading this https://help.ubuntu.com/community/Kernel/Compile | 07:14 |
tpb | Title: Kernel/Compile - Community Help Wiki (at help.ubuntu.com) | 07:14 |
aiena | it says under resons not to compile a kernel number 1 `you merely need to compile a special driver. For this, you only need to install the linux-headers packages. ` | 07:14 |
aiena | so lets say I go with the stock kernel what is the approach to driver development then? | 07:15 |
CarlFK | what is "stock kernel"? | 07:15 |
aiena | the distro provided one | 07:15 |
aiena | e.g. 5.0.0.20-generic | 07:16 |
aiena | or lets say the ones provided by the distribution under their packagemanagent from their repositories | 07:17 |
aiena | because I can package a custom kernel in a distro format but that doesnt make it stock | 07:17 |
CarlFK | good question - I think you will need to manually apply all the patches | 07:17 |
CarlFK | I suspect using Ubuntu's kernel will be much harder than vanilla | 07:19 |
CarlFK | I also have no idea how you will install it | 07:20 |
*** CarlFK has quit IRC | 07:30 | |
*** aiena has quit IRC | 07:32 | |
*** xobs has quit IRC | 08:20 | |
*** jfng has quit IRC | 08:21 | |
*** CarlFK[m] has quit IRC | 08:21 | |
*** nrossi has quit IRC | 08:21 | |
*** thepatr1ck has quit IRC | 08:21 | |
*** CarlFK[m] has joined #timvideos | 08:29 | |
*** tannewt has quit IRC | 08:34 | |
*** tannewt has joined #timvideos | 08:35 | |
*** nrossi has joined #timvideos | 09:03 | |
*** jfng has joined #timvideos | 09:03 | |
*** xobs has joined #timvideos | 09:03 | |
*** thepatr1ck has joined #timvideos | 09:03 | |
*** aiena has joined #timvideos | 10:02 | |
*** tweakoz has quit IRC | 11:24 | |
mithro | CarlFK[m]: Is 4 x opsis going to be enough? | 15:40 |
*** CarlFK has joined #timvideos | 16:19 | |
*** ChanServ sets mode: +v CarlFK | 16:19 | |
*** CarlFK has quit IRC | 17:11 | |
CarlFK[m] | mithro yes, I have Atlys. But more opsis you'd send the more PS I can install | 17:12 |
*** springermac_ has joined #timvideos | 17:28 | |
*** springermac is now known as Guest14444 | 17:28 | |
*** springermac_ is now known as springermac | 17:29 | |
mithro | CarlFK[m]: I mean, I found 4 opsis that I could send | 18:00 |
CarlFK[m] | mithro send em. They will help me with pyOhio, and I'll get them fixed up with nice power supplies | 18:02 |
mithro | okay, will try and send them tomorrow | 18:06 |
*** CarlFK has joined #timvideos | 18:17 | |
*** ChanServ sets mode: +v CarlFK | 18:17 | |
*** aiena has quit IRC | 19:17 | |
mithro | CarlFK: new firmware with your patches should be published now... | 19:26 |
CarlFK | mithro: k - I'll check it out | 19:27 |
*** CarlFK has quit IRC | 19:30 | |
*** CarlFK has joined #timvideos | 19:30 | |
*** ChanServ sets mode: +v CarlFK | 19:30 | |
*** tweakoz has joined #timvideos | 20:26 | |
*** tweakoz has quit IRC | 20:26 | |
CarlFK | mithro: where should I get openocd from ? | 20:45 |
CarlFK | mithro: I can't figure out how to --flash-image | 21:01 |
CarlFK | seems my pi at home is the only thing that I can get to work | 21:01 |
mithro | CarlFK: OpenOCD from conda | 21:35 |
*** techman83 has quit IRC | 22:09 | |
*** techman83 has joined #timvideos | 22:10 | |
*** ChanServ sets mode: +v techman83 | 22:10 | |
CarlFK | mithro: https://github.com/timvideos/litex-buildenv/wiki/Bootstrap "Run the bootstrap script..." Unknown CPU value '' | 22:34 |
tpb | Title: Bootstrap · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 22:34 |
CarlFK | http://paste.ubuntu.com/p/ThZFXY88xs/ | 22:35 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 22:35 |
mithro | export CPU=vexriscv | 22:42 |
mithro | I'll fix that shortly | 22:42 |
futarisIRCcloud | CarlFK: In reference to your photos from ~15 hrs ago. https://xkcd.com/1814/ | 22:55 |
CarlFK | futarisIRCcloud: nice! | 22:56 |
CarlFK | futarisIRCcloud: mithro says this is your problem: um.. boot linux on qemu or Artys, I get a login: but it ignores my keyboard | 22:58 |
CarlFK | I can ^c and exit qemu, or ^d to exit flterm | 22:58 |
CarlFK | any idea what I am talking about? | 22:58 |
futarisIRCcloud | I thought I saw an issue logged against this a while ago. | 22:59 |
CarlFK | it started before conda broke which was about ... weeks ago | 22:59 |
futarisIRCcloud | litex-buildenv linux / qemu, right? | 22:59 |
CarlFK | I think so | 22:59 |
futarisIRCcloud | I've seen it happen before, but no-one is really using linux actively on qemu or Artys, so I'm not sure where the issue has crept in. Probably something changed in litex, which changed how IRQs happen, and the interrupt handler in linux is broken. So it doesn't see the keys typed (over serial). | 23:02 |
CarlFK | sweel.. I just said I would to a talk this Sat about "booting Linux on fpga" .. mostly to promote all the open source fpga stuff | 23:08 |
futarisIRCcloud | Best to demo the linux-on-litex-vexriscv repo, since more people are actually using that. | 23:37 |
futarisIRCcloud | https://github.com/litex-hub/linux-on-litex-vexriscv#supported-boards | 23:37 |
tpb | Title: GitHub - litex-hub/linux-on-litex-vexriscv: Linux on LiteX-VexRiscv (at github.com) | 23:37 |
*** TheAssassin has quit IRC | 23:39 | |
*** puck_ has quit IRC | 23:39 | |
*** TheAssassin has joined #timvideos | 23:42 | |
*** puck_ has joined #timvideos | 23:43 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!