*** tpb has joined #timvideos | 00:00 | |
mithro | CarlFK[m]: Working on it -> https://github.com/timvideos/litex-buildenv/issues/159 | 00:03 |
---|---|---|
tpb | Title: Spartan 6 based builds broken · Issue #159 · timvideos/litex-buildenv · GitHub (at github.com) | 00:03 |
*** acathla has quit IRC | 00:44 | |
*** acathla has joined #timvideos | 00:46 | |
*** CarlFK has joined #timvideos | 01:05 | |
*** ChanServ sets mode: +v CarlFK | 01:05 | |
mithro | CarlFK: btw - you know how you find it really hard to do improvements of the firmware C code? | 01:24 |
mithro | CarlFK[m]: Renode will be soon at a level that you should be able to use that to do firmware dev and get going very quickly... | 01:25 |
mithro | CarlFK: Renode is kind of like QEmu on steroids... | 01:25 |
CarlFK | mithro: yay. I hope ;) | 01:41 |
CarlFK | mithro: did you see my power supply installed in an Opsis box: https://matrix.org/_matrix/media/v1/download/matrix.org/iNievyJyGHsrFVEMGJZiyamx | 01:42 |
mithro | Nope! | 01:43 |
mithro | CarlFK: !!!! | 01:43 |
mithro | CarlFK: I might have time this long weekend to dig up the opsis boards for you | 01:44 |
*** tweakoz has quit IRC | 01:47 | |
*** CarlFK has quit IRC | 02:10 | |
*** CarlFK has joined #timvideos | 02:21 | |
*** ChanServ sets mode: +v CarlFK | 02:21 | |
*** tweakoz has joined #timvideos | 04:04 | |
*** CarlFK has quit IRC | 04:18 | |
*** tweakoz has quit IRC | 04:42 | |
*** tweakoz has joined #timvideos | 04:43 | |
*** tweakoz has joined #timvideos | 04:44 | |
*** tweakoz has quit IRC | 04:44 | |
*** tweakoz has joined #timvideos | 04:44 | |
*** CarlFK has joined #timvideos | 04:48 | |
*** ChanServ sets mode: +v CarlFK | 04:48 | |
mithro | CarlFK: That power supply install is *nice* | 04:59 |
mithro | CarlFK: Exactly the time of thing I was looking to do | 05:00 |
*** rohitksingh_work has joined #timvideos | 05:04 | |
CarlFK | mithro: send boxes, I'll fix em up | 05:19 |
*** sb0 has quit IRC | 05:19 | |
CarlFK | mithro: I have 10 of these in my amazon cart: https://smile.amazon.com/gp/product/B00D2LS2AO/ref=ox_sc_act_title_1?smid=A11PO5E8WWIM7V&psc=1 | 05:19 |
mithro | CarlFK: I was going to suggest getting ones which have the PCIe 12V output only, but I guess you can split the 5V off for your RPi / odroid, etc | 05:20 |
mithro | CarlFK: btw did you see the new RPi? | 05:21 |
CarlFK | yes- 2 hdmi outs and gig-e | 05:21 |
mithro | CarlFK: faster CPU too | 05:21 |
CarlFK | yeah - Ed our NERP leader brought one in Monday | 05:22 |
CarlFK | it renders pdf's with images fast. | 05:23 |
mithro | CarlFK: Tried pairing it with an Opsis yet? | 05:23 |
CarlFK | mithro: no - should work. | 05:27 |
mithro | Remind me tomorrow to look for the opsis boards | 05:32 |
CarlFK | it's tomorrow here :D | 05:32 |
*** sb0 has joined #timvideos | 05:59 | |
*** m4ssi has joined #timvideos | 06:50 | |
*** amd has joined #timvideos | 07:54 | |
*** CarlFK has quit IRC | 08:03 | |
*** CarlFK has joined #timvideos | 08:27 | |
*** ChanServ sets mode: +v CarlFK | 08:27 | |
*** amd has left #timvideos | 08:39 | |
*** DAmesberger has joined #timvideos | 09:42 | |
*** rohitksingh_work has quit IRC | 10:35 | |
*** rohitksingh_work has joined #timvideos | 10:46 | |
*** DAmesberger has quit IRC | 10:53 | |
*** rohitksingh_work has quit IRC | 10:54 | |
*** rohitksingh_work has joined #timvideos | 10:56 | |
*** rohitksingh_wor1 has joined #timvideos | 11:00 | |
*** rohitksingh_work has quit IRC | 11:02 | |
*** brett-soric has joined #timvideos | 11:19 | |
*** rohitksingh_wor1 has quit IRC | 11:20 | |
*** rohitksingh_work has joined #timvideos | 11:47 | |
*** brett-soric has left #timvideos | 12:08 | |
*** sb0 has quit IRC | 12:24 | |
*** rohitksingh_work has quit IRC | 12:30 | |
*** rohitksingh_work has joined #timvideos | 12:34 | |
*** cr1901_modern1 has joined #timvideos | 13:05 | |
*** rohitksingh_work has quit IRC | 13:06 | |
*** cr1901_modern has quit IRC | 13:08 | |
*** tweakoz has joined #timvideos | 13:19 | |
*** tweakoz has quit IRC | 13:44 | |
*** rohitksingh has joined #timvideos | 13:55 | |
*** rohitksingh_ has joined #timvideos | 13:55 | |
*** rohitksingh_ has quit IRC | 13:58 | |
*** rohitksingh has quit IRC | 13:58 | |
*** rohitksingh has joined #timvideos | 13:58 | |
*** rohitksingh has quit IRC | 14:16 | |
*** rohitksingh has joined #timvideos | 14:25 | |
*** rohitksingh has quit IRC | 14:50 | |
*** rohitksingh has joined #timvideos | 14:50 | |
*** DAmesberger has joined #timvideos | 15:15 | |
*** m4ssi has quit IRC | 17:45 | |
*** DAmesberger has quit IRC | 18:00 | |
*** aiena has joined #timvideos | 18:08 | |
aiena | Hi CarlFK | 18:08 |
CarlFK | hi aiena | 18:08 |
aiena | Ok so I got a very stupid module writeen with just 2 printk() statements on module_init and module_exit | 18:09 |
aiena | *written | 18:09 |
aiena | my issue is how to use the sitro kernel header files | 18:10 |
aiena | to build it | 18:10 |
CarlFK | I have only made changes to existing modules | 18:12 |
aiena | hmm how did you build those changes | 18:12 |
CarlFK | eitiher make or debuild | 18:13 |
*** cr1901_modern1 has quit IRC | 18:13 | |
*** cr1901_modern has joined #timvideos | 18:14 | |
CarlFK | https://slideplayer.com/slide/6865803/ is 122 slides - it took me over 30 min to read them all - if you are starting to do linux kernel modules, you should do that | 18:14 |
tpb | Title: Linux.conf.au 2005 Kernel Tutorial Robert Love Rusty Russell. - ppt download (at slideplayer.com) | 18:14 |
CarlFK | all of the supporting files should be on https://github.com/timvideos/litex-buildenv/wiki/FPGA_Linux_module | 18:15 |
tpb | Title: FPGA_Linux_module · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 18:15 |
CarlFK | you don't need to know/do anything with the FPGA part | 18:15 |
aiena | thanks CarlFK | 18:16 |
*** rohitksingh has quit IRC | 18:24 | |
aiena | CarlFK: hmm that process specifies downloading kernle sources first | 18:25 |
aiena | is the process the same for kernel 5.x | 18:26 |
CarlFK | aiena: it can be. what is best for you depends on what you are trying to do, but I would try to avoid spending time discovering what is best .... | 18:28 |
CarlFK | and spend your time doing things, like download the source, build it, install it... | 18:28 |
aiena | I did not get the qemu part in the slides | 18:29 |
aiena | i need to read up on qemu | 18:29 |
aiena | also the slides ont mentio the nuilding of the kernel part | 18:29 |
CarlFK | aiena: do you have a 2nd machine to work on? | 18:29 |
aiena | CarlFK: at the moment no | 18:29 |
aiena | hmm actually I do have a second machine | 18:30 |
CarlFK | qemu will let you test in a VM, which means if it breaks you won't break the real machine you are working on | 18:30 |
aiena | ah so I could use virtualbox as well | 18:30 |
aiena | with say USB passthrough | 18:30 |
CarlFK | qemu is like virtualbox | 18:30 |
aiena | ok | 18:30 |
CarlFK | I would avoid using real hardware until you get your printk() statements working | 18:31 |
* aiena nods | 18:31 | |
CarlFK | using a real machine will likely be easier than a VM | 18:32 |
aiena | I have 2 real machines I can use | 18:32 |
aiena | I also happened to find the kernel source tree for ubuntu | 18:32 |
aiena | all the core header files are in /lib/modules/5.0.0-20-generic/build/include/linux | 18:33 |
CarlFK | working with ubuntu's packages will be easier, once you learn how to work with them | 18:34 |
aiena | nods that is what I am trying to learn | 18:34 |
CarlFK | working with "mainline linux" will be easier because there is less to learn | 18:34 |
aiena | Ah | 18:34 |
aiena | but I have a doubt | 18:35 |
aiena | if I build the mainline linux kernel will it replace the ubuntu one | 18:35 |
CarlFK | that is likely fine. | 18:35 |
aiena | also the linux git repo will be huge I think I wonder how much space would be needed to clone the repo | 18:36 |
aiena | I mean the commit history included | 18:36 |
CarlFK | yes - one moment, there is a way to not get the history... | 18:36 |
CarlFK | git clone --depth 1 ... | 18:41 |
CarlFK | https://git-scm.com/docs/git-clone#Documentation/git-clone.txt---depthltdepthgt | 18:42 |
tpb | Title: Git - git-clone Documentation (at git-scm.com) | 18:42 |
CarlFK | you can also find a tar of the sources, which may be better. You should probably use a stable released version of linux, not the dev version in git | 18:43 |
aiena | CarlFK: I'd like to use the same kernel version ans provided by ubuntu | 18:45 |
aiena | I think the tarball maybe a good idea. | 18:45 |
aiena | Also since this is a kernel | 18:45 |
aiena | but I compile and make install I have a few doubts | 18:46 |
aiena | if I do a make uninstall what do I need to do to revert back to the ubuntu kernel so I don't get an unbootable system | 18:46 |
aiena | *but before | 18:46 |
CarlFK | it won't overwrite - you will get grub menu of which kernel you want to boot | 18:47 |
CarlFK | no need to uninstall - just pick the original kernel | 18:48 |
aiena | Oh that is good | 18:48 |
aiena | cool | 18:48 |
aiena | I am getting the v5.0 tarball from https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tag/?h=v5.0 | 18:49 |
tpb | Title: kernel/git/torvalds/linux.git - Linux kernel source tree (at git.kernel.org) | 18:49 |
aiena | I'll let you know when I unpack it | 18:49 |
aiena | thank you CarlFK | 18:51 |
CarlFK | aiena: somewhere is a setting to let you add something to the version string... | 18:51 |
aiena | also I downloaded that ppt it was getting a bit tough to read it on the site | 18:51 |
CarlFK | so that you see "linux 5.1.2.3-myver" | 18:52 |
aiena | CarlFK: I don't know what ubuntu's 5.0.0.20 is | 18:52 |
CarlFK | myver is something you make up and set in a config file | 18:52 |
aiena | I guess ubuntu may have added its own patches and bumped the version the git tags don't show much except the rest being release candidates | 18:52 |
CarlFK | so that you know "this is my work" not "this is unchanged" | 18:53 |
aiena | oh ok | 18:53 |
aiena | so you sort of branded your compiled kernel like that so you know which kernel you're booting into | 18:54 |
aiena | i think its called extraversion from what I read | 18:54 |
CarlFK | https://www.kernel.org/doc/html/latest/ | 18:54 |
tpb | Title: The Linux Kernel documentation The Linux Kernel documentation (at www.kernel.org) | 18:54 |
CarlFK | yes, extraversion sounds like it | 18:54 |
aiena | e.g. the -rc2 in the sildes | 18:54 |
CarlFK | that will make sure yours does not overwrite the installed kernel that works | 18:55 |
CarlFK | but don't be too afraid to break your machine - you know how to install, so if it doesn't boot.. start over. | 18:56 |
CarlFK | it takes time, but you know how to do it | 18:56 |
CarlFK | be sure to check in your changes and push to github first ;) | 18:56 |
aiena | CarlFK: yes I am not that scared I had had fun doing a chain reaction of ubuntu dist-upgrades where everything appeared fine on the surface but was so broken in weird places I just reinstalled fresh | 18:57 |
aiena | and it was a breezer because it clean a lot of apt install junk I never knew I had | 18:57 |
CarlFK | perfect attitude | 18:58 |
aiena | the annoying part is the wait to repull deps | 18:58 |
aiena | my internet conn isnt so great but its oks for kernel modules | 18:58 |
aiena | I think afterwards I can experiment with a vm and passthrough | 18:59 |
aiena | I think if I can get usbmon on the vm to pick up a devices raw packets I think driver rpgrammin in the VM will be same | 18:59 |
CarlFK | oh you know usbmon? | 18:59 |
aiena | I am aware of it | 18:59 |
CarlFK | futarisIRCcloud: do you have that usbmon video url handy? | 19:00 |
CarlFK | aiena: what is your interest in usb? | 19:00 |
aiena | CarlFK: I have a wacom drawing tablet and another one | 19:00 |
aiena | the second drawing tablet doesnt have a driver for linux | 19:01 |
aiena | and I want to make one | 19:01 |
aiena | from what I read these devices are character devices | 19:01 |
aiena | because they provide input realtime | 19:01 |
aiena | it was fun seein my wacom's packets through wireshark | 19:02 |
aiena | I think because its pen and touch though there was lots of packet noise when the device was idle | 19:02 |
aiena | i don't need a driver for that though there is already input-wacom | 19:03 |
aiena | its the other tablet I am interested in | 19:03 |
CarlFK | https://youtu.be/0mTw9iHcj3Q?t=16308 4:31:46 Accessible USB talk by Kate Temkin and Mikaela Szekley | 19:03 |
CarlFK | (we did not make that video. ) | 19:03 |
* aiena watches | 19:04 | |
*** tweakoz has joined #timvideos | 19:15 | |
*** DAmesberger has joined #timvideos | 19:22 | |
*** DAmesberger has quit IRC | 19:40 | |
*** DAmesberger has joined #timvideos | 19:40 | |
*** DAmesberger has quit IRC | 19:43 | |
aiena | CarlFK: have you tried out the viewsb stuff | 20:18 |
*** tweakoz has quit IRC | 20:19 | |
*** aiena has quit IRC | 20:20 | |
CarlFK | mithro: look for Opsis | 20:48 |
CarlFK | xobs: is this your problem? http://fomu.im I’m available for pre-order now on Crowd Supply. is 404 | 20:49 |
tpb | Title: Fomu, I’m | I’m Fomu - an FPGA in your USB port (at fomu.im) | 20:49 |
CarlFK | Kamilion: have anything like this, or know where I can get them in under a week? https://www.ebay.com/itm/12V-5V-2A-USB-to-IDE-SATA-Power-Supply-Adapter-Hard-Drive-HDD-CD-ROM-AC-DC-/113739594746?hash=item1a7b687bfa | 22:04 |
tpb | Title: 12V/5V 2A USB to IDE/SATA Power Supply Adapter Hard Drive HDD CD-ROM AC DC | eBay (at www.ebay.com) | 22:04 |
*** tweakoz has joined #timvideos | 22:55 | |
*** tweakoz has quit IRC | 22:58 | |
*** tweakoz has joined #timvideos | 23:30 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!