Wednesday, 2018-09-26

*** tpb has joined #timvideos00:00
*** mapreri1 has quit IRC00:01
CarlFKdoes anyone know what this is about? For Centos-7, you will need to run  ./scripts/"./scripts/"require centos,00:04
CarlFKit is the same thing as the line above: Enter the LiteX environment and run the ./scripts/ script00:04
*** robher7 has joined #timvideos00:05
*** robher7 has quit IRC00:07
CarlFKoh no.. this looks new:00:11
CarlFK(LX P=arty C=or1k.linux F=linux) [email protected]:~/tv/litex-buildenv$ ./scripts/build-qemu.sh00:12
CarlFKlitex-buildenv/third_party/qemu-litex/util/memfd.c:40:12: error: static declaration of ‘memfd_create’ follows non-static declaration00:12
CarlFKor maybe this is old00:13
*** mindfreeze16 has joined #timvideos00:46
*** nfobot1 has joined #timvideos00:52
*** jrddunbr16 has joined #timvideos00:53
*** optiz0r28 has joined #timvideos00:53
*** bjorn`8 has joined #timvideos00:53
*** nfobot1 has quit IRC00:54
*** optiz0r28 has quit IRC00:56
*** jrddunbr16 has quit IRC00:56
*** zahlman has joined #timvideos00:57
*** zahlman has quit IRC00:58
*** mmi13 has joined #timvideos00:59
*** mmi13 has quit IRC01:00
*** liefer7 has joined #timvideos01:07
*** liefer7 has quit IRC01:10
*** gamingrobot1 has joined #timvideos01:13
*** Guest87385 has joined #timvideos01:14
*** gamingrobot1 has quit IRC01:16
*** Guest87385 has quit IRC01:17
CarlFKshorne: are you around to look at qemu-system-or1k not booting linux?01:20
CarlFKshorne: it does boot hdm2usb01:20
tpbTitle: Ubuntu Pastebin (at
*** tac-tics has quit IRC01:27
*** jwit27 has joined #timvideos01:27
*** Maxis8 has joined #timvideos01:29
*** jwit27 has quit IRC01:30
*** Doow has joined #timvideos01:33
*** ewen has joined #timvideos01:50
ewenCarlFK: FYI (in response to earlier question), FuPy (MicroPython) won't currently build on or1k (only lm32).  See for more detail (and my attempt to date at, which doesn't work)01:51
tpbTitle: Make FuPy MicroPython arch independent · Issue #3 · fupy/micropython · GitHub (at
ewenCarlFK: Feel free to take a look at issues.  I won't have time until (at least) next month to even get FPGA dev stuff out...01:52
CarlFKewen: thanks - I'm trying to collect things that work into maybe  a CI like test suite so we can see when things break sooner01:53
ewen(IIRC Linux is built on or1k basically because there's a Linux or1k port, but not a lm32 port; other things are most tested on lm32.)01:53
ewenCarlFK: CI test suite (expansion) is aogod plan01:54
ewen(a good) plan01:55
*** hasufell_ has joined #timvideos01:56
CarlFK  cp's xilinx Vavado from a usb disk, clones repos and gets me to an hdmi2usb prompt runinng in qemu, then compiles linux for or1k, tries to boot that in qemu, and fails01:56
tpbTitle: Ubuntu Pastebin (at
xobscr1901_modern: This is on an lm32?01:59
*** hasufell_ has quit IRC02:00
ewenCarlFK: Looks like a good start.  I think if you set CPU=lm32 and FIRMWARE=micropython you'd be able to run scripts/ as well (although it'll probably need to download *another* cross compiler the first time its run)02:02
ewenCarlFK: I'm not aware of any attempt to get MicroPython (on lm32/or1k) running under qemu.  But it might be useful to do at some point (and or1k may be easiest)02:02
CarlFKewen: I don't have the time or skills right now to take that on02:03
ewenCarlFK: The "set environment variables and run scripts/" should in theory "just work".02:05
ewenCarlFK: The "MicroPython or1k build" is definitely a project for someone (else) in the future....02:05
xobscr1901_modern: I'm curious how it works.  Does your platform have its own custom "common.h" that previously defined MMPTR()?02:08
*** ewen has quit IRC02:18
*** FooBizz has joined #timvideos02:24
*** nikitosiusis17 has joined #timvideos02:25
*** nthdegreeburns6 has joined #timvideos02:28
*** FooBizz has quit IRC02:28
*** nikitosiusis17 has quit IRC02:28
*** nthdegreeburns6 has quit IRC02:30
*** scientes4 has joined #timvideos02:38
*** wyvie23 has joined #timvideos02:40
*** scientes4 has quit IRC02:40
*** wyvie23 has quit IRC02:46
*** jacekowski5 has joined #timvideos02:54
*** jacekowski5 has quit IRC02:54
TobaI am trying to set up litex-buildenv03:06
Tobabased on this guide -
tpbTitle: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at
TobaI am using ubuntu 16.0403:06
tpbTitle: built gateware, no image-gateware+bios+firmware.bin - (at
TobaIt looked like the build succeeded, and it top.bin was written, but a different file is documented as expected03:07
Tobamithro / CarlFK what do?03:08
Tobaalso, see you Saturday :)03:08
CarlFKToba: hold...03:08
CarlFKToba: this is a cop out - bu t this scrip runs for me03:09
tpbTitle: Ubuntu Pastebin (at
CarlFKit is the commands from the HowTo03:09
CarlFKToba: 16.04 should work too.  unless we broke it making tings work with 18, wich is pretty likely03:11
*** shinanyenzo has joined #timvideos03:17
*** shinanyenzo has quit IRC03:21
*** MadDecent21 has joined #timvideos03:23
*** MadDecent21 has quit IRC03:28
*** zune1 has joined #timvideos03:38
*** jefferai24 has joined #timvideos03:49
*** rohitksingh_work has joined #timvideos03:50
*** jefferai24 has quit IRC03:52
*** CarlFK has quit IRC04:22
*** CarlFK has joined #timvideos04:40
*** ChanServ sets mode: +v CarlFK04:40
CarlFKToba: sorry, got distracted - where you at?04:45
*** auscompgeek has quit IRC05:06
*** auscompgeek has joined #timvideos05:06
*** DTZUZO has joined #timvideos05:26
*** DTZUZO has quit IRC05:30
*** AE5CP9 has joined #timvideos05:31
*** Blaguvest has joined #timvideos05:35
*** AE5CP9 has quit IRC05:35
*** degville3 has joined #timvideos05:36
*** Blaguvest has quit IRC05:38
*** degville3 has quit IRC05:40
CarlFKwhat?   qemu-system-or1k: -M litex: unsupported machine type06:05
*** MiX-MaN has joined #timvideos06:06
tpbTitle: Ubuntu Pastebin (at
*** MiX-MaN has quit IRC06:11
*** haagch25 has joined #timvideos06:19
*** haagch25 has quit IRC06:23
*** astocko21 has joined #timvideos06:28
*** flay has joined #timvideos06:30
*** flay has quit IRC06:34
*** raimo_t has joined #timvideos06:42
*** zampa has joined #timvideos06:46
*** zampa has quit IRC06:48
*** lorenzh24 has joined #timvideos06:49
*** prettymuchbryce1 has joined #timvideos06:51
*** lorenzh24 has quit IRC06:52
CarlFKgood news: runing the same commands on debian gets the exact same results , including the fail06:52
xobsCarlFK: Just to be clear: the failure you're seeing is "unsupported machine type" and not "csr_writel(): undefined function", right?06:53
*** prettymuchbryce1 has quit IRC06:53
CarlFKxobs: no, that seemed to fix itself ;/06:54
*** ljboiler6 has joined #timvideos06:54
tpbTitle: Ubuntu Pastebin (at
CarlFKon qemu: litex boots, linux does not (I think that is accurate description)06:55
*** StrangerVP10 has joined #timvideos06:56
*** MiVo3 has joined #timvideos06:56
*** ljboiler6 has quit IRC06:57
*** MiVo3 has quit IRC06:57
*** StrangerVP10 has quit IRC06:58
*** tesu26 has joined #timvideos07:01
* CarlFK boots off to bed07:01
*** tesu26 has quit IRC07:03
*** kavity has joined #timvideos07:10
*** rohitksingh_wor1 has joined #timvideos07:10
*** Piru14 has joined #timvideos07:11
*** kavity has quit IRC07:12
*** lilmonkey`` has joined #timvideos07:13
*** rohitksingh_work has quit IRC07:13
*** lilmonkey`` has quit IRC07:14
*** Piru14 has quit IRC07:14
*** thaytan1 has joined #timvideos07:23
*** thaytan1 has quit IRC07:28
*** Bun-Bun23 has joined #timvideos07:33
*** flexd0 has joined #timvideos07:38
*** Bun-Bun23 has quit IRC07:40
*** flexd0 has quit IRC07:40
*** Kripton has quit IRC07:40
*** Kripton has joined #timvideos07:40
*** rgrau8 has joined #timvideos07:49
*** Trashlord26 has joined #timvideos07:52
*** rgrau8 has quit IRC07:52
*** d0py has joined #timvideos07:53
*** Trashlord26 has quit IRC07:54
*** ThomasMonroe6 has joined #timvideos07:55
*** ThomasMonroe6 has quit IRC07:55
*** d0py has quit IRC07:58
*** nj8 has joined #timvideos08:00
*** nj8 has quit IRC08:03
*** joel` has joined #timvideos08:03
*** paininhead_ has joined #timvideos08:03
*** joel` has quit IRC08:04
*** paininhead_ has quit IRC08:08
*** CarlFK has quit IRC08:18
*** Mart__ has joined #timvideos08:19
*** Mart__ has quit IRC08:22
*** Anduck25 has joined #timvideos08:28
*** whislock2 has joined #timvideos08:38
*** whislock2 has quit IRC08:41
shorneCarlFK[m]: I will be around tomorrow08:41
*** Lauda4 has joined #timvideos08:55
*** Lauda4 has quit IRC08:57
*** nyuszika has joined #timvideos08:59
*** Dreg15 has joined #timvideos08:59
*** geal29 has joined #timvideos08:59
*** square15 has joined #timvideos09:01
*** Emanon`26 has joined #timvideos09:02
*** square15 has quit IRC09:03
*** nyuszika has quit IRC09:03
*** Dreg15 has quit IRC09:04
*** geal29 has quit IRC09:04
*** Emanon`26 has quit IRC09:06
*** hprakash14 has joined #timvideos09:08
*** crazik29 has joined #timvideos09:09
*** hashworks8 has joined #timvideos09:11
*** crazik29 has quit IRC09:11
*** haagch0 has joined #timvideos09:14
*** Bun_G has joined #timvideos09:16
*** hashworks8 has quit IRC09:16
*** haagch0 has quit IRC09:18
*** electrical_10 has joined #timvideos09:21
*** Bun_G has quit IRC09:21
*** electrical_10 has quit IRC09:21
*** Ranhir27 has joined #timvideos09:22
*** Moult8 has joined #timvideos09:22
*** Ranhir27 has quit IRC09:23
*** Moult8 has quit IRC09:24
*** Sithyrra2 has joined #timvideos09:25
*** Sithyrra2 has quit IRC09:26
*** samnob10 has joined #timvideos09:27
*** samnob10 has quit IRC09:28
*** Guest3739_____16 has joined #timvideos09:29
*** Guest3739_____16 has quit IRC09:32
*** Qiming11 has joined #timvideos09:35
*** Kamilion has quit IRC09:35
*** Qiming11 has quit IRC09:35
*** Kamilion has joined #timvideos09:37
*** Guest93143 has joined #timvideos09:54
*** Guest93143 has quit IRC09:57
*** Kamilion has quit IRC10:00
*** Kamilion has joined #timvideos10:02
*** freebullets8 has joined #timvideos10:05
*** Prospero_1 has joined #timvideos10:05
*** freebullets8 has quit IRC10:07
*** clavi23 has joined #timvideos10:08
*** Prospero_1 has quit IRC10:09
*** quad28 has joined #timvideos10:10
*** clavi23 has quit IRC10:10
*** quad28 has quit IRC10:13
*** daamien9 has joined #timvideos10:30
*** pcrews5 has joined #timvideos10:33
*** unixpro19701 has joined #timvideos10:41
*** sepa22 has joined #timvideos10:43
*** sepa22 has quit IRC10:44
*** wgwz21 has joined #timvideos10:48
*** ruairi5 has joined #timvideos10:50
*** wgwz21 has quit IRC10:53
*** kireevco20 has joined #timvideos10:53
*** ruairi5 has quit IRC10:53
*** kireevco20 has quit IRC10:58
*** Mangy_Dog has joined #timvideos10:59
*** Mangy_Dog has quit IRC11:00
*** m4dh4tt4 has joined #timvideos11:01
*** Kamilion has quit IRC11:08
*** mnemoc has joined #timvideos11:08
*** zone_314 has joined #timvideos11:11
*** apexio19 has joined #timvideos11:18
*** zone_314 has quit IRC11:18
cr1901_modernxobs: I don't know :P11:20
*** apexio19 has quit IRC11:21
*** Kamilion has joined #timvideos11:22
*** judge2020 has joined #timvideos11:25
*** judge2020 has quit IRC11:29
*** Kripton has quit IRC11:45
*** Viper-726 has joined #timvideos11:47
*** Kripton has joined #timvideos11:56
*** dennwc0 has joined #timvideos11:56
*** dennwc0 has quit IRC11:59
*** Candle25 has joined #timvideos12:10
*** Candle25 has quit IRC12:11
*** xistence21 has joined #timvideos12:11
*** NostawRm28 has joined #timvideos12:17
*** Raimondi27 has joined #timvideos12:17
xobscr1901_modern: did you manage to get it working?12:18
*** NostawRm28 has quit IRC12:21
cr1901_modernxobs: No lol... I mainly wanted to know how to get the old CSR defs back12:22
cr1901_modernAnd I wanted to know why you changed them12:23
cr1901_moderncsr_write became csr_writel, etc12:23
cr1901_modernxobs: It seems like that change is going to break a lot of stuff in litex-buildenv unless there's a quick solution to get the old csr_write functions back12:26
xobscr1901_modern: There weren't any csr_write functions earlier, it was using the MMPTR() macro, also defined in common.h.12:38
xobsThe change was made in order to make it possible to swap out functions for prototyping hardware.  With the change in place, it's possible to #define CSR_ACCESSORS_DEFINED and provide your own, otherwise it will replace them with the values.12:41
*** rohitksingh_wor1 has quit IRC12:41
xobsThough, hmm... if you #define ASSEMBLER, then I could see things not working as intended.  Is that happening in your code?12:41
xobsHow can I replicate the environment you're using?12:43
cr1901_modernxobs: Lemme push my commits12:44
*** trae3256616 has joined #timvideos12:45
cr1901_modernxobs: Okay, add my repo of litex-buildenv as a remote and fetch/checkout branch "data-crt0"12:46
*** egon102418 has joined #timvideos12:46
tpbTitle: GitHub - cr1901/litex-buildenv: An environment for building LiteX based FPGA designs. Makes it easy to get everything you need! (at
cr1901_modernThen export the following vars: "PLATFORM=tinyfpga_bx.lite FIRMWARE=micropython TARGET=base CPU_VARIANT=lite", and source enter-env script12:47
cr1901_modernlemme know when you get that far12:48
*** trae3256616 has quit IRC12:49
*** egon102418 has quit IRC12:51
xobsIs it the data-crt0 branch?  And I don't see an "enter-env" script.12:52
cr1901_modernyes, the data-crt0 branch12:52
cr1901_modernand I meant ./scripts/enter-env.sh12:53
xobsOh, in scripts/.  Makes sense.12:53
* cr1901_modern doesn't know if you use litex-buildenv or not12:53
cr1901_modernNext, you need to checkout micropython under third_party directory: (specifically use the "litex-flash" branch)12:53
tpbTitle: GitHub - cr1901/micropython at litex-flash (at
cr1901_modernYou may need to run ./scripts/ and ./scripts/ as well- it's a conda env12:55
cr1901_modernit won't affect your system environment- almost everything will be contained :)12:55
xobsI usually just use Python.  Let me try to get this set up.  It wants udev rules for some reason.12:55
cr1901_modernit's for the opsis board12:56
cr1901_modernYou won't use them, but the build env will complain if you don't have them12:56
xobsWeird.  It complained about a lack of a build directory, so I did "mkdir build"12:58
cr1901_modernprob should be included by default with a .keepme inside12:59
xobsI can't source scripts/ since it wants targets/tinyfpga_bx.lite/, but targets/tinyfpga_bx.lite doesn't exist12:59
cr1901_modernxobs: That was my fault13:00
cr1901_modern"PLATFORM=tinyfpga_bx FIRMWARE=micropython TARGET=base CPU_VARIANT=lite"13:00
cr1901_moderntry that13:00
cr1901_modernexport PLATFORM=tinyfpga_bx13:00
xobsOkay, it's installing conda now13:01
*** ZaraFrax19 has joined #timvideos13:02
cr1901_modernIf the phase of the moon is correct, this should go without a hitch13:03
*** ZaraFrax19 has quit IRC13:05
*** phogg27 has joined #timvideos13:12
xobsI guess cython is a requirement that I need to install first.  Let me install that in Ubuntu.13:13
cr1901_modernI don't remember needing to install that. Hrm...13:15
*** phogg27 has quit IRC13:17
xobsI installed cython, but the script still insists that I need to install cython in order to build mkl-random and mkl-fft13:17
xobsAlso, it's complaining about being unable to reach
xobsI'm not sure what "No module named 'migen'" means, but:
tpbTitle: · GitHub (at
cr1901_moderncc: mithro13:20
cr1901_modernxobs: The complaint about edid-decode being missing is legitimate; the URL indeed actually change, but Idk why a fresh checkout doesn't pick that up13:21
cr1901_modernI have no idea what's wrong w/ migen. Is there any chance you could just comment the check out of the enter-env script for now?13:23
* cr1901_modern is running out of things to pipeline/work on13:25
*** rohitksingh has joined #timvideos13:27
xobsOkay, the script is broken.  It works if I manually set PYTHONPATH.13:28
xobsDo I run now?13:28
cr1901_moderncc: mithro13:28
cr1901_modernNo, you need to checkout
tpbTitle: GitHub - cr1901/micropython at litex-flash (at
cr1901_moderninto third_party13:29
cr1901_modernyou need that specific branch13:29
xobsOkay, I've done that and added it to PYHTONPATH13:29
cr1901_modernnow run ./scripts/build-micropython.sh13:30
cr1901_modernand you should get as far as I did before the build chokes13:30
*** theorbtwo has joined #timvideos13:31
xobsSegfault on gcc lm32.  mithro mentioned that the bug where various gccs used a deprecated syscall method was resolved, but it looks like I'm still running into that problem.13:33
*** theorbtwo has quit IRC13:33
*** CrtxReavr4 has joined #timvideos13:34
*** otti13 has joined #timvideos13:35
*** CrtxReavr4 has quit IRC13:38
*** otti13 has quit IRC13:38
cr1901_modernokaaaaaaay... micropython isn't even including hw/common.h13:39
cr1901_modern Oh that explains it! ._.13:40
tpbTitle: micropython/common.h at master · fupy/micropython · GitHub (at
* cr1901_modern grumbles why are we redefining headers anyway?13:40
xobsOh.  They include their own hw/common.h?13:40
cr1901_modernIt appears so13:40
cr1901_modernin any case, copying your version fixes it13:43
cr1901_modernsorry for all the overhead :(13:43
xobsWhat about removing that file altogether?13:43
cr1901_modernthe litex hw/common.h isn't part of include path13:44
xobsNo, I'm sorry to have caused you to waste so much time.13:44
*** jannic has joined #timvideos13:45
xobsAlso, why was it designed that way?  It seems almost like MMPTR() was designed to be swapped out, but the way it's written it's not actually possible to do so.13:45
cr1901_modernI appreciate that :). I'm clearly not having a good day (real life annoyances that shouldn't bother me but do), and I want to reach a good stopping point13:45
*** jannic has quit IRC13:45
cr1901_modernProb would have to ask sb0 that. I imagine the intent of MMPTR was simply to avoid typing13:45
xobsThe nice thing about the new system is you can do something like use litex_server and compile micropython on your local machine and transparently poke at the hardware on a real device.  Or in verilator.  Makes driver development much easier.13:47
cr1901_modernOf course now the firmware doesn't work when I program it ._.13:48
cr1901_modernThere is _way_ too much overhead/moving dependencies working w/ litex-buildenv13:49
cr1901_modernwhat broke now? I have three separate repositories I have to bisect just to figure this out13:50
cr1901_moderneverything was working 3 days ago13:50
cr1901_modernwhat the hell changed in THREE days that broke things so badly?!13:50
xobslm32 doesn't have a debugger, does it?13:51
cr1901_modernOnly for spartan 6 parts13:51
*** rabbitear5 has joined #timvideos13:52
xobsI thought it could run under qemu...13:52
*** cannedprimates9 has joined #timvideos13:53
*** rabbitear5 has quit IRC13:54
cr1901_modernbisecting this is gonna be _such_ an awful PITA13:55
xobscr1901_modern: I installed the earlier lm32 packages from mithro ( and got further.  Now it's complaining MP_QSTR_micropython is undeclared13:55
tpbTitle: Bash On Windows · timvideos/litex-buildenv Wiki · GitHub (at
*** jwacalex22 has joined #timvideos13:56
*** cannedprimates9 has quit IRC13:56
*** Madbrad2002 has joined #timvideos13:56
*** jwacalex22 has quit IRC13:59
*** Madbrad2002 has quit IRC14:00
cr1901_modernAnd now of course the reset pin is triggerring a reset _even when I tie it to ground_14:00
*** Ofloo`_ has joined #timvideos14:01
*** toolz5 has joined #timvideos14:01
cr1901_modernxobs: I've never seen that error before14:03
*** t36s13 has joined #timvideos14:03
cr1901_modernand looks like the wire I was using to tie reset to gnd is faulty14:03
*** Ofloo`_ has quit IRC14:03
xobsWhere is MP_QSTR_micropython defined?  There are lots of undefined values, including MP_QSTR_bytecode and MP_QSTR_AssertionError.  I don't see them defined anywhere.14:04
*** t36s13 has quit IRC14:04
cr1901_modernI don't know. As much as I hate to say it, micropython "just worked" for me14:04
*** GenTarkin18 has joined #timvideos14:04
xobsI removed build/tinyfpga_bx_base_lm32.lite and did a rebuild.  It then errored out on "sys/string.h: no such file or directory".14:07
xobsI did a rebuild again, and now I see the CSR error you're referring to.14:07
*** charcol has joined #timvideos14:07
cr1901_modernmust be a windoze thing14:07
*** charcol has quit IRC14:08
xobsI'd guess it's a makefile dependency issue.  It looks like it's building with -j414:09
*** GenTarkin18 has quit IRC14:09
cr1901_modernWell now I have a good and bad firmware to look at the differences. But I'll do that later. I need a break...14:10
cr1901_modernxobs: Thanks for your help. Any chance you can leave my directory on your disk to debug your issues later?14:11
cr1901_modernB/c it shouldn't be that difficult for a user to get started14:11
*** trisk25 has joined #timvideos14:11
xobscr1901_modern: sure.  The very last thing I got to was the final linking stage, where it tried to link the ".../software/micropython/" directory as an object file, and errored out with "file not recognized: Is a directory".14:12
cr1901_modernxobs: Yes I fixed that locally14:13
xobsI have lots of trouble with litex-buildenv, which is why I moved to using lxbuildenv.py14:13
cr1901_modernIf you want to fix that yourself, look for OBJ_S line with the assignment to ""14:13
cr1901_modernand remove the quotes14:13
cr1901_modernApparently, GNU make doesn't think "" is an empty string, which then gets processed by variable substitution later when I didn't want it to be14:14
cr1901_modernerr, SRC_S = "" should be SRC_S =14:14
cr1901_moderntry that14:14
*** trisk25 has quit IRC14:14
*** tardybaker22 has joined #timvideos14:16
xobsOkay!  It's synthesizing a bitstream now.,14:16
*** tardybaker22 has quit IRC14:20
*** CarlFK has joined #timvideos14:26
*** ChanServ sets mode: +v CarlFK14:26
*** Tokoyami11 has joined #timvideos14:28
*** LeandroLuiz24 has joined #timvideos14:29
*** Tokoyami11 has quit IRC14:31
*** m0nkey_20 has joined #timvideos14:32
*** Guest41066 has joined #timvideos14:51
CarlFKmithro: do you know where your page of video dongle adapters is?14:51
*** sms20 has joined #timvideos14:53
*** Guest41066 has quit IRC14:53
mithroIts pretty out of date...14:56
*** Kyros19 has joined #timvideos14:57
*** sms20 has quit IRC14:57
tpbTitle: Conference Adapter Kit · timvideos/HDMI2USB Wiki · GitHub (at
*** Entroacceptor1 has joined #timvideos15:00
*** Kyros19 has quit IRC15:00
CarlFKmithro: thanks15:03
CarlFKshorne: qemu?   and is your litex branch what I should be testing against?15:03
*** Entroacceptor1 has quit IRC15:03
*** alisdair23 has joined #timvideos15:04
*** zicada has joined #timvideos15:06
*** alisdair23 has quit IRC15:08
*** zicada has quit IRC15:10
*** misinformed has joined #timvideos15:10
*** juarez_ has joined #timvideos15:13
*** brenns1021 has joined #timvideos15:14
*** Guest76951 has joined #timvideos15:14
*** puffi20 has joined #timvideos15:15
*** misinformed has quit IRC15:15
*** puffi20 has quit IRC15:15
*** juarez_ has quit IRC15:18
*** brenns1021 has quit IRC15:18
*** Guest76951 has quit IRC15:19
xobscr1901_modern: If it helps you in any way, your firmware.elf works under this version of qemu I've just managed to build.15:21
*** DJClean7 has joined #timvideos15:22
xobsI did have to set JOBS=1 to compile qemu, and I have to manually run qemu with "-global litex_ssi.spiflash=m25p80" (instead of the default of m25p16), and it doesn't load the firmware by default, but I can connect to it via gdb, run "load firmware.elf", then "mon system_reset", and I get a MicroPython prompt.15:23
*** lathiat_ has joined #timvideos15:23
CarlFKxobs: what qemu repo/branch?15:23
*** lathiat_ has quit IRC15:24
xobsCarlFK: Whatever the "" script used.15:24
xobsLooks like @ 92d6c11f7cf204054d20e13553e709296e5e8c4b (i.e. "master")15:25
tpbTitle: GitHub - timvideos/qemu-litex (at
CarlFKyes - you can tell the script to use another, like15:26
CarlFKexport QEMU_BRANCH=litex15:26
tpbTitle: GitHub - stffrdhrn/qemu: Official QEMU mirror. Please see for how to submit changes to QEMU. Pull Requests are ignored. (at
CarlFKdon't ask me what happens if you set those and re-run the script.15:26
*** DJClean7 has quit IRC15:29
*** fugyk7 has joined #timvideos15:30
*** fugyk7 has quit IRC15:34
xobsCarlFK: it works as-is, though.  it's just picking up the wrong default SPI model, and multi-process builds break.  And I'm not sure how to specify a .elf file to be loaded at the appropriate offset, but gdb can do that once the system is running.15:34
xobsAnyway, it should make debugging easier for cr1901_modern15:34
*** grym8 has joined #timvideos15:37
cr1901_modernxobs: I'm just doing a diff between a known good firmware and the bad one (same size)15:39
cr1901_modernwell whenever I'm off break anyway15:39
cr1901_modernobjdump -d in general gives me more insight than qemu15:40
*** cdal20 has joined #timvideos15:44
*** cdal20 has quit IRC15:48
*** NDPTAL8510 has joined #timvideos15:48
*** NDPTAL8510 has quit IRC15:54
*** rideh24 has joined #timvideos15:57
*** rideh24 has quit IRC16:02
*** emcnabb has joined #timvideos16:14
*** meltemi_ has joined #timvideos16:16
*** emcnabb has quit IRC16:17
*** [diecast]7 has joined #timvideos16:19
*** lightyear-23 has joined #timvideos16:19
*** [diecast]7 has quit IRC16:19
*** djz8814 has joined #timvideos16:20
*** meltemi_ has quit IRC16:20
*** djz8814 has quit IRC16:21
*** cfedde has joined #timvideos16:21
*** Fairy7 has joined #timvideos16:22
*** lightyear-23 has quit IRC16:23
*** rohitksingh has quit IRC16:24
*** rohitksingh has joined #timvideos16:25
*** NV28 has joined #timvideos16:26
*** NV28 has quit IRC16:31
*** Guest85318 has joined #timvideos16:39
*** Guest85318 has quit IRC16:39
*** rohitksingh has quit IRC16:52
*** TemporalBeing25 has joined #timvideos16:55
*** TemporalBeing25 has quit IRC16:58
*** melamo5 has joined #timvideos16:58
*** melamo5 has quit IRC17:00
*** dshin17 has joined #timvideos17:06
*** dshin17 has quit IRC17:09
*** commander25 has joined #timvideos17:09
*** rohitksingh has joined #timvideos17:12
*** commander25 has quit IRC17:13
*** mohan43u29 has joined #timvideos17:16
*** mohan43u29 has quit IRC17:18
*** AcTiVaTe22 has joined #timvideos17:19
*** dstaudt5 has joined #timvideos17:20
*** AcTiVaTe22 has quit IRC17:24
*** dstaudt5 has quit IRC17:26
*** HcsOmot11 has joined #timvideos17:35
*** HcsOmot11 has quit IRC17:40
*** joehh has joined #timvideos17:42
*** halbeno has joined #timvideos17:44
*** squeakytoy2 has joined #timvideos17:52
*** speedio3 has joined #timvideos17:55
cr1901_modernsqueakytoy... now there's a memorable handle17:55
*** squeakytoy2 has quit IRC17:55
*** speedio3 has quit IRC17:56
*** admincomplex6 has joined #timvideos17:56
*** pseubodot9 has joined #timvideos18:00
*** admincomplex6 has quit IRC18:00
*** rubdos1 has joined #timvideos18:00
*** pseubodot9 has quit IRC18:01
*** birchwo has joined #timvideos18:02
*** rubdos1 has quit IRC18:02
*** birchwo has quit IRC18:04
*** state_bits has joined #timvideos18:08
*** state_bits has quit IRC18:11
*** bshelden has joined #timvideos18:12
*** bshelden has quit IRC18:16
*** rohitt has joined #timvideos18:18
*** rohitt has quit IRC18:21
*** MC_saban has joined #timvideos18:23
*** simonpatapon15 has joined #timvideos18:26
*** MC_saban has quit IRC18:27
*** chewbranca2 has joined #timvideos18:28
*** simonpatapon15 has quit IRC18:29
*** tac-tics has joined #timvideos18:34
*** Rhetorical13 has joined #timvideos18:40
*** Evie13 has joined #timvideos18:42
*** Rhetorical13 has quit IRC18:47
*** annalee_ has joined #timvideos18:48
*** bengl20 has joined #timvideos18:55
*** bengl20 has quit IRC18:56
*** petan1 has joined #timvideos18:58
*** petan1 has quit IRC19:00
*** rohitksingh has quit IRC19:05
*** pas-ha23 has joined #timvideos19:08
*** Verge20 has joined #timvideos19:09
*** alankila25 has joined #timvideos19:10
*** ljunkie15 has joined #timvideos19:12
*** pas-ha23 has quit IRC19:13
*** n1kx3 has joined #timvideos19:13
*** alankila25 has quit IRC19:14
*** ljunkie15 has quit IRC19:15
*** Verge20 has quit IRC19:16
*** n1kx3 has quit IRC19:18
*** Karambol13 has joined #timvideos19:19
*** Karambol13 has quit IRC19:24
CarlFKwoot - 3 artys just arrive.19:25
*** duck_whisperer has joined #timvideos19:27
*** duck_whisperer has quit IRC19:31
*** Wyzard1 has joined #timvideos19:35
*** fhats28 has joined #timvideos19:36
*** Wyzard1 has quit IRC19:40
*** fhats28 has quit IRC19:40
*** opqdonut10 has joined #timvideos19:43
*** kysse15 has joined #timvideos19:43
*** kysse15 has quit IRC19:44
*** opqdonut10 has quit IRC19:48
*** itacos27 has joined #timvideos19:52
*** jidar23 has joined #timvideos19:53
*** jidar23 has quit IRC19:54
*** itacos27 has quit IRC19:55
*** Tyrant_ has joined #timvideos19:58
*** ballpointcarrot has joined #timvideos20:00
*** atouk has joined #timvideos20:14
*** atouk has quit IRC20:17
*** aps has joined #timvideos20:17
*** Guest22576 has joined #timvideos20:21
*** Guest22576 has quit IRC20:23
*** gsl9 has joined #timvideos20:25
*** ricus15 has joined #timvideos20:27
*** ricus15 has quit IRC20:29
*** gsl9 has quit IRC20:29
*** puck_ has quit IRC20:32
*** puck_ has joined #timvideos20:36
*** netravnen6 has joined #timvideos20:45
*** netravnen6 has quit IRC20:48
*** nexxus63 has joined #timvideos20:50
*** ShotokanZH11 has joined #timvideos20:55
*** ShotokanZH11 has quit IRC20:56
*** Kripton has quit IRC21:04
*** Kripton has joined #timvideos21:05
*** Riviera_ has joined #timvideos21:20
*** Riviera_ has quit IRC21:23
*** splittist23 has joined #timvideos21:24
*** splittist23 has quit IRC21:26
*** amotoki18 has joined #timvideos22:05
*** amotoki18 has quit IRC22:09
*** mbrubeck22 has joined #timvideos22:13
*** mbrubeck22 has quit IRC22:18
CarlFKToba: Ubuntu 16.04.5 - "mostly works"22:25
CarlFKmithro: also, everything works the same: debian, 16.04.5 and badger22:35
*** CarlFK has left #timvideos22:45
*** CarlFK has joined #timvideos22:45
*** ChanServ sets mode: +v CarlFK22:45
*** eculver5 has joined #timvideos23:34
*** lounge-userant2 has joined #timvideos23:45
*** sztanpet26 has joined #timvideos23:54
*** sztanpet26 has quit IRC23:55

Generated by 2.13.1 by Marius Gedminas - find it at!