*** tpb has joined #timvideos | 00:00 | |
*** mapreri1 has quit IRC | 00:01 | |
CarlFK | does anyone know what this is about? For Centos-7, you will need to run ./scripts/build-linux.sh"./scripts/build-linux.sh"require centos, | 00:04 |
---|---|---|
CarlFK | it is the same thing as the line above: Enter the LiteX environment and run the ./scripts/build-qemu.sh script | 00:04 |
*** robher7 has joined #timvideos | 00:05 | |
*** robher7 has quit IRC | 00:07 | |
CarlFK | oh no.. this looks new: | 00:11 |
CarlFK | (LX P=arty C=or1k.linux F=linux) juser@gator:~/tv/litex-buildenv$ ./scripts/build-qemu.sh | 00:12 |
CarlFK | litex-buildenv/third_party/qemu-litex/util/memfd.c:40:12: error: static declaration of ‘memfd_create’ follows non-static declaration | 00:12 |
CarlFK | or maybe this is old | 00:13 |
*** mindfreeze16 has joined #timvideos | 00:46 | |
*** nfobot1 has joined #timvideos | 00:52 | |
*** jrddunbr16 has joined #timvideos | 00:53 | |
*** optiz0r28 has joined #timvideos | 00:53 | |
*** bjorn`8 has joined #timvideos | 00:53 | |
*** nfobot1 has quit IRC | 00:54 | |
*** optiz0r28 has quit IRC | 00:56 | |
*** jrddunbr16 has quit IRC | 00:56 | |
*** zahlman has joined #timvideos | 00:57 | |
*** zahlman has quit IRC | 00:58 | |
*** mmi13 has joined #timvideos | 00:59 | |
*** mmi13 has quit IRC | 01:00 | |
*** liefer7 has joined #timvideos | 01:07 | |
*** liefer7 has quit IRC | 01:10 | |
*** gamingrobot1 has joined #timvideos | 01:13 | |
*** Guest87385 has joined #timvideos | 01:14 | |
*** gamingrobot1 has quit IRC | 01:16 | |
*** Guest87385 has quit IRC | 01:17 | |
CarlFK | shorne: are you around to look at qemu-system-or1k not booting linux? | 01:20 |
CarlFK | shorne: it does boot hdm2usb | 01:20 |
CarlFK | shorne: http://paste.ubuntu.com/p/MqSGJBN7Jx/ | 01:25 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 01:25 |
*** tac-tics has quit IRC | 01:27 | |
*** jwit27 has joined #timvideos | 01:27 | |
*** Maxis8 has joined #timvideos | 01:29 | |
*** jwit27 has quit IRC | 01:30 | |
*** Doow has joined #timvideos | 01:33 | |
*** ewen has joined #timvideos | 01:50 | |
ewen | CarlFK: FYI (in response to earlier question), FuPy (MicroPython) won't currently build on or1k (only lm32). See https://github.com/fupy/micropython/issues/3 for more detail (and my attempt to date at https://github.com/fupy/micropython/pull/50, which doesn't work) | 01:51 |
tpb | Title: Make FuPy MicroPython arch independent · Issue #3 · fupy/micropython · GitHub (at github.com) | 01:51 |
ewen | CarlFK: 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 |
CarlFK | ewen: thanks - I'm trying to collect things that work into maybe a CI like test suite so we can see when things break sooner | 01: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 |
ewen | CarlFK: CI test suite (expansion) is aogod plan | 01:54 |
ewen | (a good) plan | 01:55 |
*** hasufell_ has joined #timvideos | 01:56 | |
CarlFK | http://paste.ubuntu.com/p/dzfyM43TcW/ 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 fails | 01:56 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 01:56 |
xobs | cr1901_modern: This is on an lm32? | 01:59 |
*** hasufell_ has quit IRC | 02:00 | |
ewen | CarlFK: Looks like a good start. I think if you set CPU=lm32 and FIRMWARE=micropython you'd be able to run scripts/build-micropython.sh as well (although it'll probably need to download *another* cross compiler the first time its run) | 02:02 |
ewen | CarlFK: 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 |
CarlFK | ewen: I don't have the time or skills right now to take that on | 02:03 |
ewen | CarlFK: The "set environment variables and run scripts/build-micropython.sh" should in theory "just work". | 02:05 |
ewen | CarlFK: The "MicroPython or1k build" is definitely a project for someone (else) in the future.... | 02:05 |
xobs | cr1901_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 IRC | 02:18 | |
*** FooBizz has joined #timvideos | 02:24 | |
*** nikitosiusis17 has joined #timvideos | 02:25 | |
*** nthdegreeburns6 has joined #timvideos | 02:28 | |
*** FooBizz has quit IRC | 02:28 | |
*** nikitosiusis17 has quit IRC | 02:28 | |
*** nthdegreeburns6 has quit IRC | 02:30 | |
*** scientes4 has joined #timvideos | 02:38 | |
*** wyvie23 has joined #timvideos | 02:40 | |
*** scientes4 has quit IRC | 02:40 | |
*** wyvie23 has quit IRC | 02:46 | |
*** jacekowski5 has joined #timvideos | 02:54 | |
*** jacekowski5 has quit IRC | 02:54 | |
Toba | hey | 03:06 |
Toba | I am trying to set up litex-buildenv | 03:06 |
Toba | based on this guide - https://github.com/timvideos/litex-buildenv/wiki/HowTo-LCA2018-FPGA-Miniconf | 03:06 |
tpb | Title: HowTo LCA2018 FPGA Miniconf · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 03:06 |
Toba | I am using ubuntu 16.04 | 03:06 |
Toba | https://pastebin.com/5yKencZB | 03:07 |
tpb | Title: built gateware, no image-gateware+bios+firmware.bin - Pastebin.com (at pastebin.com) | 03:07 |
Toba | It looked like the build succeeded, and it top.bin was written, but a different file is documented as expected | 03:07 |
Toba | mithro / CarlFK what do? | 03:08 |
Toba | also, see you Saturday :) | 03:08 |
CarlFK | Toba: hold... | 03:08 |
CarlFK | Toba: this is a cop out - bu t this scrip runs for me | 03:09 |
CarlFK | http://paste.ubuntu.com/p/dzfyM43TcW/ | 03:09 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 03:09 |
CarlFK | it is the commands from the HowTo | 03:09 |
CarlFK | Toba: 16.04 should work too. unless we broke it making tings work with 18, wich is pretty likely | 03:11 |
*** shinanyenzo has joined #timvideos | 03:17 | |
*** shinanyenzo has quit IRC | 03:21 | |
*** MadDecent21 has joined #timvideos | 03:23 | |
*** MadDecent21 has quit IRC | 03:28 | |
*** zune1 has joined #timvideos | 03:38 | |
*** jefferai24 has joined #timvideos | 03:49 | |
*** rohitksingh_work has joined #timvideos | 03:50 | |
*** jefferai24 has quit IRC | 03:52 | |
*** CarlFK has quit IRC | 04:22 | |
*** CarlFK has joined #timvideos | 04:40 | |
*** ChanServ sets mode: +v CarlFK | 04:40 | |
CarlFK | Toba: sorry, got distracted - where you at? | 04:45 |
*** auscompgeek has quit IRC | 05:06 | |
*** auscompgeek has joined #timvideos | 05:06 | |
*** DTZUZO has joined #timvideos | 05:26 | |
*** DTZUZO has quit IRC | 05:30 | |
*** AE5CP9 has joined #timvideos | 05:31 | |
*** Blaguvest has joined #timvideos | 05:35 | |
*** AE5CP9 has quit IRC | 05:35 | |
*** degville3 has joined #timvideos | 05:36 | |
*** Blaguvest has quit IRC | 05:38 | |
*** degville3 has quit IRC | 05:40 | |
CarlFK | what? qemu-system-or1k: -M litex: unsupported machine type | 06:05 |
*** MiX-MaN has joined #timvideos | 06:06 | |
CarlFK | http://paste.ubuntu.com/p/wYzZJHTyMF/ | 06:07 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 06:07 |
*** MiX-MaN has quit IRC | 06:11 | |
*** haagch25 has joined #timvideos | 06:19 | |
*** haagch25 has quit IRC | 06:23 | |
*** astocko21 has joined #timvideos | 06:28 | |
*** flay has joined #timvideos | 06:30 | |
*** flay has quit IRC | 06:34 | |
*** raimo_t has joined #timvideos | 06:42 | |
*** zampa has joined #timvideos | 06:46 | |
*** zampa has quit IRC | 06:48 | |
*** lorenzh24 has joined #timvideos | 06:49 | |
*** prettymuchbryce1 has joined #timvideos | 06:51 | |
*** lorenzh24 has quit IRC | 06:52 | |
CarlFK | good news: runing the same commands on debian gets the exact same results , including the fail | 06:52 |
xobs | CarlFK: 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 IRC | 06:53 | |
CarlFK | xobs: no, that seemed to fix itself ;/ | 06:54 |
*** ljboiler6 has joined #timvideos | 06:54 | |
CarlFK | http://paste.ubuntu.com/p/k2WcyQdp54/ | 06:54 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 06:54 |
CarlFK | on qemu: litex boots, linux does not (I think that is accurate description) | 06:55 |
*** StrangerVP10 has joined #timvideos | 06:56 | |
*** MiVo3 has joined #timvideos | 06:56 | |
*** ljboiler6 has quit IRC | 06:57 | |
*** MiVo3 has quit IRC | 06:57 | |
*** StrangerVP10 has quit IRC | 06:58 | |
*** tesu26 has joined #timvideos | 07:01 | |
* CarlFK boots off to bed | 07:01 | |
*** tesu26 has quit IRC | 07:03 | |
*** kavity has joined #timvideos | 07:10 | |
*** rohitksingh_wor1 has joined #timvideos | 07:10 | |
*** Piru14 has joined #timvideos | 07:11 | |
*** kavity has quit IRC | 07:12 | |
*** lilmonkey`` has joined #timvideos | 07:13 | |
*** rohitksingh_work has quit IRC | 07:13 | |
*** lilmonkey`` has quit IRC | 07:14 | |
*** Piru14 has quit IRC | 07:14 | |
*** thaytan1 has joined #timvideos | 07:23 | |
*** thaytan1 has quit IRC | 07:28 | |
*** Bun-Bun23 has joined #timvideos | 07:33 | |
*** flexd0 has joined #timvideos | 07:38 | |
*** Bun-Bun23 has quit IRC | 07:40 | |
*** flexd0 has quit IRC | 07:40 | |
*** Kripton has quit IRC | 07:40 | |
*** Kripton has joined #timvideos | 07:40 | |
*** rgrau8 has joined #timvideos | 07:49 | |
*** Trashlord26 has joined #timvideos | 07:52 | |
*** rgrau8 has quit IRC | 07:52 | |
*** d0py has joined #timvideos | 07:53 | |
*** Trashlord26 has quit IRC | 07:54 | |
*** ThomasMonroe6 has joined #timvideos | 07:55 | |
*** ThomasMonroe6 has quit IRC | 07:55 | |
*** d0py has quit IRC | 07:58 | |
*** nj8 has joined #timvideos | 08:00 | |
*** nj8 has quit IRC | 08:03 | |
*** joel` has joined #timvideos | 08:03 | |
*** paininhead_ has joined #timvideos | 08:03 | |
*** joel` has quit IRC | 08:04 | |
*** paininhead_ has quit IRC | 08:08 | |
*** CarlFK has quit IRC | 08:18 | |
*** Mart__ has joined #timvideos | 08:19 | |
*** Mart__ has quit IRC | 08:22 | |
*** Anduck25 has joined #timvideos | 08:28 | |
*** whislock2 has joined #timvideos | 08:38 | |
*** whislock2 has quit IRC | 08:41 | |
shorne | CarlFK[m]: I will be around tomorrow | 08:41 |
*** Lauda4 has joined #timvideos | 08:55 | |
*** Lauda4 has quit IRC | 08:57 | |
*** nyuszika has joined #timvideos | 08:59 | |
*** Dreg15 has joined #timvideos | 08:59 | |
*** geal29 has joined #timvideos | 08:59 | |
*** square15 has joined #timvideos | 09:01 | |
*** Emanon`26 has joined #timvideos | 09:02 | |
*** square15 has quit IRC | 09:03 | |
*** nyuszika has quit IRC | 09:03 | |
*** Dreg15 has quit IRC | 09:04 | |
*** geal29 has quit IRC | 09:04 | |
*** Emanon`26 has quit IRC | 09:06 | |
*** hprakash14 has joined #timvideos | 09:08 | |
*** crazik29 has joined #timvideos | 09:09 | |
*** hashworks8 has joined #timvideos | 09:11 | |
*** crazik29 has quit IRC | 09:11 | |
*** haagch0 has joined #timvideos | 09:14 | |
*** Bun_G has joined #timvideos | 09:16 | |
*** hashworks8 has quit IRC | 09:16 | |
*** haagch0 has quit IRC | 09:18 | |
*** electrical_10 has joined #timvideos | 09:21 | |
*** Bun_G has quit IRC | 09:21 | |
*** electrical_10 has quit IRC | 09:21 | |
*** Ranhir27 has joined #timvideos | 09:22 | |
*** Moult8 has joined #timvideos | 09:22 | |
*** Ranhir27 has quit IRC | 09:23 | |
*** Moult8 has quit IRC | 09:24 | |
*** Sithyrra2 has joined #timvideos | 09:25 | |
*** Sithyrra2 has quit IRC | 09:26 | |
*** samnob10 has joined #timvideos | 09:27 | |
*** samnob10 has quit IRC | 09:28 | |
*** Guest3739_____16 has joined #timvideos | 09:29 | |
*** Guest3739_____16 has quit IRC | 09:32 | |
*** Qiming11 has joined #timvideos | 09:35 | |
*** Kamilion has quit IRC | 09:35 | |
*** Qiming11 has quit IRC | 09:35 | |
*** Kamilion has joined #timvideos | 09:37 | |
*** Guest93143 has joined #timvideos | 09:54 | |
*** Guest93143 has quit IRC | 09:57 | |
*** Kamilion has quit IRC | 10:00 | |
*** Kamilion has joined #timvideos | 10:02 | |
*** freebullets8 has joined #timvideos | 10:05 | |
*** Prospero_1 has joined #timvideos | 10:05 | |
*** freebullets8 has quit IRC | 10:07 | |
*** clavi23 has joined #timvideos | 10:08 | |
*** Prospero_1 has quit IRC | 10:09 | |
*** quad28 has joined #timvideos | 10:10 | |
*** clavi23 has quit IRC | 10:10 | |
*** quad28 has quit IRC | 10:13 | |
*** daamien9 has joined #timvideos | 10:30 | |
*** pcrews5 has joined #timvideos | 10:33 | |
*** unixpro19701 has joined #timvideos | 10:41 | |
*** sepa22 has joined #timvideos | 10:43 | |
*** sepa22 has quit IRC | 10:44 | |
*** wgwz21 has joined #timvideos | 10:48 | |
*** ruairi5 has joined #timvideos | 10:50 | |
*** wgwz21 has quit IRC | 10:53 | |
*** kireevco20 has joined #timvideos | 10:53 | |
*** ruairi5 has quit IRC | 10:53 | |
*** kireevco20 has quit IRC | 10:58 | |
*** Mangy_Dog has joined #timvideos | 10:59 | |
*** Mangy_Dog has quit IRC | 11:00 | |
*** m4dh4tt4 has joined #timvideos | 11:01 | |
*** Kamilion has quit IRC | 11:08 | |
*** mnemoc has joined #timvideos | 11:08 | |
*** zone_314 has joined #timvideos | 11:11 | |
*** apexio19 has joined #timvideos | 11:18 | |
*** zone_314 has quit IRC | 11:18 | |
cr1901_modern | xobs: I don't know :P | 11:20 |
*** apexio19 has quit IRC | 11:21 | |
*** Kamilion has joined #timvideos | 11:22 | |
*** judge2020 has joined #timvideos | 11:25 | |
*** judge2020 has quit IRC | 11:29 | |
*** Kripton has quit IRC | 11:45 | |
*** Viper-726 has joined #timvideos | 11:47 | |
*** Kripton has joined #timvideos | 11:56 | |
*** dennwc0 has joined #timvideos | 11:56 | |
*** dennwc0 has quit IRC | 11:59 | |
*** Candle25 has joined #timvideos | 12:10 | |
*** Candle25 has quit IRC | 12:11 | |
*** xistence21 has joined #timvideos | 12:11 | |
*** NostawRm28 has joined #timvideos | 12:17 | |
*** Raimondi27 has joined #timvideos | 12:17 | |
xobs | cr1901_modern: did you manage to get it working? | 12:18 |
*** NostawRm28 has quit IRC | 12:21 | |
cr1901_modern | xobs: No lol... I mainly wanted to know how to get the old CSR defs back | 12:22 |
cr1901_modern | And I wanted to know why you changed them | 12:23 |
cr1901_modern | csr_write became csr_writel, etc | 12:23 |
cr1901_modern | xobs: 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 back | 12:26 |
xobs | cr1901_modern: There weren't any csr_write functions earlier, it was using the MMPTR() macro, also defined in common.h. | 12:38 |
cr1901_modern | Hrm... | 12:39 |
xobs | The 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 IRC | 12:41 | |
xobs | Though, hmm... if you #define ASSEMBLER, then I could see things not working as intended. Is that happening in your code? | 12:41 |
xobs | How can I replicate the environment you're using? | 12:43 |
cr1901_modern | xobs: Lemme push my commits | 12:44 |
*** trae3256616 has joined #timvideos | 12:45 | |
cr1901_modern | xobs: Okay, add my repo of litex-buildenv as a remote and fetch/checkout branch "data-crt0" | 12:46 |
*** egon102418 has joined #timvideos | 12:46 | |
cr1901_modern | https://github.com/cr1901/litex-buildenv | 12:46 |
tpb | Title: GitHub - cr1901/litex-buildenv: An environment for building LiteX based FPGA designs. Makes it easy to get everything you need! (at github.com) | 12:47 |
cr1901_modern | Then export the following vars: "PLATFORM=tinyfpga_bx.lite FIRMWARE=micropython TARGET=base CPU_VARIANT=lite", and source enter-env script | 12:47 |
cr1901_modern | lemme know when you get that far | 12:48 |
*** trae3256616 has quit IRC | 12:49 | |
*** egon102418 has quit IRC | 12:51 | |
xobs | Is it the data-crt0 branch? And I don't see an "enter-env" script. | 12:52 |
cr1901_modern | yes, the data-crt0 branch | 12:52 |
cr1901_modern | and I meant ./scripts/enter-env.sh | 12:53 |
xobs | Oh, in scripts/. Makes sense. | 12:53 |
* cr1901_modern doesn't know if you use litex-buildenv or not | 12:53 | |
cr1901_modern | Next, you need to checkout micropython under third_party directory: https://github.com/cr1901/micropython/tree/litex-flash (specifically use the "litex-flash" branch) | 12:53 |
tpb | Title: GitHub - cr1901/micropython at litex-flash (at github.com) | 12:54 |
cr1901_modern | You may need to run ./scripts/download-env.sh and ./scripts/download-root.sh as well- it's a conda env | 12:55 |
cr1901_modern | it won't affect your system environment- almost everything will be contained :) | 12:55 |
xobs | I usually just use Python. Let me try to get this set up. It wants udev rules for some reason. | 12:55 |
cr1901_modern | it's for the opsis board | 12:56 |
cr1901_modern | You won't use them, but the build env will complain if you don't have them | 12:56 |
xobs | Weird. It complained about a lack of a build directory, so I did "mkdir build" | 12:58 |
cr1901_modern | prob should be included by default with a .keepme inside | 12:59 |
xobs | I can't source scripts/enter-env.sh since it wants targets/tinyfpga_bx.lite/Makefile.mk, but targets/tinyfpga_bx.lite doesn't exist | 12:59 |
cr1901_modern | xobs: That was my fault | 13:00 |
cr1901_modern | "PLATFORM=tinyfpga_bx FIRMWARE=micropython TARGET=base CPU_VARIANT=lite" | 13:00 |
cr1901_modern | try that | 13:00 |
cr1901_modern | export PLATFORM=tinyfpga_bx | 13:00 |
xobs | Okay, it's installing conda now | 13:01 |
*** ZaraFrax19 has joined #timvideos | 13:02 | |
cr1901_modern | If the phase of the moon is correct, this should go without a hitch | 13:03 |
*** ZaraFrax19 has quit IRC | 13:05 | |
*** phogg27 has joined #timvideos | 13:12 | |
xobs | I guess cython is a requirement that I need to install first. Let me install that in Ubuntu. | 13:13 |
cr1901_modern | I don't remember needing to install that. Hrm... | 13:15 |
*** phogg27 has quit IRC | 13:17 | |
xobs | I installed cython, but the script still insists that I need to install cython in order to build mkl-random and mkl-fft | 13:17 |
xobs | Also, it's complaining about being unable to reach https://anongit.freedesktop.org/git/xorg/app/edid-decode/ | 13:18 |
xobs | I'm not sure what "No module named 'migen'" means, but: https://gist.github.com/xobs/5b3d166637a0b73715fa2ed40be004a6 | 13:20 |
tpb | Title: enter-env.sh · GitHub (at gist.github.com) | 13:20 |
cr1901_modern | cc: mithro | 13:20 |
cr1901_modern | xobs: The complaint about edid-decode being missing is legitimate; the URL indeed actually change, but Idk why a fresh checkout doesn't pick that up | 13:21 |
cr1901_modern | I 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 on | 13:25 | |
*** rohitksingh has joined #timvideos | 13:27 | |
xobs | Okay, the enter-env.sh script is broken. It works if I manually set PYTHONPATH. | 13:28 |
xobs | Do I run make.py now? | 13:28 |
cr1901_modern | cc: mithro | 13:28 |
cr1901_modern | No, you need to checkout https://github.com/cr1901/micropython/tree/litex-flash | 13:28 |
tpb | Title: GitHub - cr1901/micropython at litex-flash (at github.com) | 13:28 |
cr1901_modern | into third_party | 13:29 |
cr1901_modern | you need that specific branch | 13:29 |
xobs | Okay, I've done that and added it to PYHTONPATH | 13:29 |
cr1901_modern | now run ./scripts/build-micropython.sh | 13:30 |
cr1901_modern | and you should get as far as I did before the build chokes | 13:30 |
*** theorbtwo has joined #timvideos | 13:31 | |
xobs | Segfault 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 IRC | 13:33 | |
*** CrtxReavr4 has joined #timvideos | 13:34 | |
*** otti13 has joined #timvideos | 13:35 | |
*** CrtxReavr4 has quit IRC | 13:38 | |
*** otti13 has quit IRC | 13:38 | |
cr1901_modern | okaaaaaaay... micropython isn't even including hw/common.h | 13:39 |
cr1901_modern | https://github.com/fupy/micropython/blob/master/ports/fupy/hw/common.h Oh that explains it! ._. | 13:40 |
tpb | Title: micropython/common.h at master · fupy/micropython · GitHub (at github.com) | 13:40 |
* cr1901_modern grumbles why are we redefining headers anyway? | 13:40 | |
xobs | Oh. They include their own hw/common.h? | 13:40 |
cr1901_modern | It appears so | 13:40 |
cr1901_modern | in any case, copying your version fixes it | 13:43 |
cr1901_modern | sorry for all the overhead :( | 13:43 |
xobs | What about removing that file altogether? | 13:43 |
cr1901_modern | the litex hw/common.h isn't part of include path | 13:44 |
xobs | No, I'm sorry to have caused you to waste so much time. | 13:44 |
*** jannic has joined #timvideos | 13:45 | |
xobs | Also, 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_modern | I 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 point | 13:45 |
*** jannic has quit IRC | 13:45 | |
cr1901_modern | Prob would have to ask sb0 that. I imagine the intent of MMPTR was simply to avoid typing | 13:45 |
xobs | The 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_modern | Of course now the firmware doesn't work when I program it ._. | 13:48 |
cr1901_modern | There is _way_ too much overhead/moving dependencies working w/ litex-buildenv | 13:49 |
cr1901_modern | what broke now? I have three separate repositories I have to bisect just to figure this out | 13:50 |
cr1901_modern | everything was working 3 days ago | 13:50 |
cr1901_modern | what the hell changed in THREE days that broke things so badly?! | 13:50 |
xobs | lm32 doesn't have a debugger, does it? | 13:51 |
cr1901_modern | Only for spartan 6 parts | 13:51 |
*** rabbitear5 has joined #timvideos | 13:52 | |
xobs | I thought it could run under qemu... | 13:52 |
*** cannedprimates9 has joined #timvideos | 13:53 | |
*** rabbitear5 has quit IRC | 13:54 | |
cr1901_modern | bisecting this is gonna be _such_ an awful PITA | 13:55 |
xobs | cr1901_modern: I installed the earlier lm32 packages from mithro (https://github.com/timvideos/litex-buildenv/wiki/Bash-On-Windows#install-litex) and got further. Now it's complaining MP_QSTR_micropython is undeclared | 13:55 |
tpb | Title: Bash On Windows · timvideos/litex-buildenv Wiki · GitHub (at github.com) | 13:55 |
*** jwacalex22 has joined #timvideos | 13:56 | |
*** cannedprimates9 has quit IRC | 13:56 | |
*** Madbrad2002 has joined #timvideos | 13:56 | |
*** jwacalex22 has quit IRC | 13:59 | |
*** Madbrad2002 has quit IRC | 14:00 | |
cr1901_modern | And now of course the reset pin is triggerring a reset _even when I tie it to ground_ | 14:00 |
*** Ofloo`_ has joined #timvideos | 14:01 | |
*** toolz5 has joined #timvideos | 14:01 | |
cr1901_modern | xobs: I've never seen that error before | 14:03 |
*** t36s13 has joined #timvideos | 14:03 | |
cr1901_modern | and looks like the wire I was using to tie reset to gnd is faulty | 14:03 |
*** Ofloo`_ has quit IRC | 14:03 | |
xobs | Where 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 IRC | 14:04 | |
cr1901_modern | I don't know. As much as I hate to say it, micropython "just worked" for me | 14:04 |
*** GenTarkin18 has joined #timvideos | 14:04 | |
xobs | I 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 |
xobs | I did a rebuild again, and now I see the CSR error you're referring to. | 14:07 |
*** charcol has joined #timvideos | 14:07 | |
cr1901_modern | must be a windoze thing | 14:07 |
*** charcol has quit IRC | 14:08 | |
xobs | I'd guess it's a makefile dependency issue. It looks like it's building with -j4 | 14:09 |
*** GenTarkin18 has quit IRC | 14:09 | |
cr1901_modern | Well 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_modern | xobs: Thanks for your help. Any chance you can leave my directory on your disk to debug your issues later? | 14:11 |
cr1901_modern | B/c it shouldn't be that difficult for a user to get started | 14:11 |
*** trisk25 has joined #timvideos | 14:11 | |
xobs | cr1901_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_modern | xobs: Yes I fixed that locally | 14:13 |
xobs | I have lots of trouble with litex-buildenv, which is why I moved to using lxbuildenv.py | 14:13 |
cr1901_modern | If you want to fix that yourself, look for OBJ_S line with the assignment to "" | 14:13 |
cr1901_modern | and remove the quotes | 14:13 |
cr1901_modern | Apparently, GNU make doesn't think "" is an empty string, which then gets processed by variable substitution later when I didn't want it to be | 14:14 |
cr1901_modern | err, SRC_S = "" should be SRC_S = | 14:14 |
cr1901_modern | try that | 14:14 |
*** trisk25 has quit IRC | 14:14 | |
*** tardybaker22 has joined #timvideos | 14:16 | |
xobs | Okay! It's synthesizing a bitstream now., | 14:16 |
*** tardybaker22 has quit IRC | 14:20 | |
*** CarlFK has joined #timvideos | 14:26 | |
*** ChanServ sets mode: +v CarlFK | 14:26 | |
*** Tokoyami11 has joined #timvideos | 14:28 | |
*** LeandroLuiz24 has joined #timvideos | 14:29 | |
*** Tokoyami11 has quit IRC | 14:31 | |
*** m0nkey_20 has joined #timvideos | 14:32 | |
*** Guest41066 has joined #timvideos | 14:51 | |
CarlFK | mithro: do you know where your page of video dongle adapters is? | 14:51 |
*** sms20 has joined #timvideos | 14:53 | |
*** Guest41066 has quit IRC | 14:53 | |
mithro | Its pretty out of date... | 14:56 |
*** Kyros19 has joined #timvideos | 14:57 | |
*** sms20 has quit IRC | 14:57 | |
mithro | https://github.com/timvideos/HDMI2USB/wiki/Conference-Adapter-Kit | 14:58 |
tpb | Title: Conference Adapter Kit · timvideos/HDMI2USB Wiki · GitHub (at github.com) | 14:58 |
*** Entroacceptor1 has joined #timvideos | 15:00 | |
*** Kyros19 has quit IRC | 15:00 | |
CarlFK | mithro: thanks | 15:03 |
CarlFK | shorne: qemu? and is your litex branch what I should be testing against? | 15:03 |
*** Entroacceptor1 has quit IRC | 15:03 | |
*** alisdair23 has joined #timvideos | 15:04 | |
*** zicada has joined #timvideos | 15:06 | |
*** alisdair23 has quit IRC | 15:08 | |
*** zicada has quit IRC | 15:10 | |
*** misinformed has joined #timvideos | 15:10 | |
*** juarez_ has joined #timvideos | 15:13 | |
*** brenns1021 has joined #timvideos | 15:14 | |
*** Guest76951 has joined #timvideos | 15:14 | |
*** puffi20 has joined #timvideos | 15:15 | |
*** misinformed has quit IRC | 15:15 | |
*** puffi20 has quit IRC | 15:15 | |
*** juarez_ has quit IRC | 15:18 | |
*** brenns1021 has quit IRC | 15:18 | |
*** Guest76951 has quit IRC | 15:19 | |
xobs | cr1901_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 #timvideos | 15:22 | |
xobs | I 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 #timvideos | 15:23 | |
CarlFK | xobs: what qemu repo/branch? | 15:23 |
*** lathiat_ has quit IRC | 15:24 | |
xobs | CarlFK: Whatever the "build-qemu.sh" script used. | 15:24 |
xobs | Looks like https://github.com/timvideos/qemu-litex.git @ 92d6c11f7cf204054d20e13553e709296e5e8c4b (i.e. "master") | 15:25 |
tpb | Title: GitHub - timvideos/qemu-litex (at github.com) | 15:25 |
CarlFK | yes - you can tell the script to use another, like | 15:26 |
CarlFK | export QEMU_REMOTE=https://github.com/stffrdhrn/qemu.git | 15:26 |
CarlFK | export QEMU_BRANCH=litex | 15:26 |
tpb | Title: GitHub - stffrdhrn/qemu: Official QEMU mirror. Please see http://wiki.qemu.org/Contribute/SubmitAPatch for how to submit changes to QEMU. Pull Requests are ignored. (at github.com) | 15:26 |
CarlFK | don't ask me what happens if you set those and re-run the script. | 15:26 |
*** DJClean7 has quit IRC | 15:29 | |
*** fugyk7 has joined #timvideos | 15:30 | |
*** fugyk7 has quit IRC | 15:34 | |
xobs | CarlFK: 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 |
xobs | Anyway, it should make debugging easier for cr1901_modern | 15:34 |
*** grym8 has joined #timvideos | 15:37 | |
cr1901_modern | xobs: I'm just doing a diff between a known good firmware and the bad one (same size) | 15:39 |
cr1901_modern | well whenever I'm off break anyway | 15:39 |
cr1901_modern | objdump -d in general gives me more insight than qemu | 15:40 |
*** cdal20 has joined #timvideos | 15:44 | |
*** cdal20 has quit IRC | 15:48 | |
*** NDPTAL8510 has joined #timvideos | 15:48 | |
*** NDPTAL8510 has quit IRC | 15:54 | |
*** rideh24 has joined #timvideos | 15:57 | |
*** rideh24 has quit IRC | 16:02 | |
*** emcnabb has joined #timvideos | 16:14 | |
*** meltemi_ has joined #timvideos | 16:16 | |
*** emcnabb has quit IRC | 16:17 | |
*** [diecast]7 has joined #timvideos | 16:19 | |
*** lightyear-23 has joined #timvideos | 16:19 | |
*** [diecast]7 has quit IRC | 16:19 | |
*** djz8814 has joined #timvideos | 16:20 | |
*** meltemi_ has quit IRC | 16:20 | |
*** djz8814 has quit IRC | 16:21 | |
*** cfedde has joined #timvideos | 16:21 | |
*** Fairy7 has joined #timvideos | 16:22 | |
*** lightyear-23 has quit IRC | 16:23 | |
*** rohitksingh has quit IRC | 16:24 | |
*** rohitksingh has joined #timvideos | 16:25 | |
*** NV28 has joined #timvideos | 16:26 | |
*** NV28 has quit IRC | 16:31 | |
*** Guest85318 has joined #timvideos | 16:39 | |
*** Guest85318 has quit IRC | 16:39 | |
*** rohitksingh has quit IRC | 16:52 | |
*** TemporalBeing25 has joined #timvideos | 16:55 | |
*** TemporalBeing25 has quit IRC | 16:58 | |
*** melamo5 has joined #timvideos | 16:58 | |
*** melamo5 has quit IRC | 17:00 | |
*** dshin17 has joined #timvideos | 17:06 | |
*** dshin17 has quit IRC | 17:09 | |
*** commander25 has joined #timvideos | 17:09 | |
*** rohitksingh has joined #timvideos | 17:12 | |
*** commander25 has quit IRC | 17:13 | |
*** mohan43u29 has joined #timvideos | 17:16 | |
*** mohan43u29 has quit IRC | 17:18 | |
*** AcTiVaTe22 has joined #timvideos | 17:19 | |
*** dstaudt5 has joined #timvideos | 17:20 | |
*** AcTiVaTe22 has quit IRC | 17:24 | |
*** dstaudt5 has quit IRC | 17:26 | |
*** HcsOmot11 has joined #timvideos | 17:35 | |
*** HcsOmot11 has quit IRC | 17:40 | |
*** joehh has joined #timvideos | 17:42 | |
*** halbeno has joined #timvideos | 17:44 | |
*** squeakytoy2 has joined #timvideos | 17:52 | |
*** speedio3 has joined #timvideos | 17:55 | |
cr1901_modern | squeakytoy... now there's a memorable handle | 17:55 |
*** squeakytoy2 has quit IRC | 17:55 | |
*** speedio3 has quit IRC | 17:56 | |
*** admincomplex6 has joined #timvideos | 17:56 | |
*** pseubodot9 has joined #timvideos | 18:00 | |
*** admincomplex6 has quit IRC | 18:00 | |
*** rubdos1 has joined #timvideos | 18:00 | |
*** pseubodot9 has quit IRC | 18:01 | |
*** birchwo has joined #timvideos | 18:02 | |
*** rubdos1 has quit IRC | 18:02 | |
*** birchwo has quit IRC | 18:04 | |
*** state_bits has joined #timvideos | 18:08 | |
*** state_bits has quit IRC | 18:11 | |
*** bshelden has joined #timvideos | 18:12 | |
*** bshelden has quit IRC | 18:16 | |
*** rohitt has joined #timvideos | 18:18 | |
*** rohitt has quit IRC | 18:21 | |
*** MC_saban has joined #timvideos | 18:23 | |
*** simonpatapon15 has joined #timvideos | 18:26 | |
*** MC_saban has quit IRC | 18:27 | |
*** chewbranca2 has joined #timvideos | 18:28 | |
*** simonpatapon15 has quit IRC | 18:29 | |
*** tac-tics has joined #timvideos | 18:34 | |
*** Rhetorical13 has joined #timvideos | 18:40 | |
*** Evie13 has joined #timvideos | 18:42 | |
*** Rhetorical13 has quit IRC | 18:47 | |
*** annalee_ has joined #timvideos | 18:48 | |
*** bengl20 has joined #timvideos | 18:55 | |
*** bengl20 has quit IRC | 18:56 | |
*** petan1 has joined #timvideos | 18:58 | |
*** petan1 has quit IRC | 19:00 | |
*** rohitksingh has quit IRC | 19:05 | |
*** pas-ha23 has joined #timvideos | 19:08 | |
*** Verge20 has joined #timvideos | 19:09 | |
*** alankila25 has joined #timvideos | 19:10 | |
*** ljunkie15 has joined #timvideos | 19:12 | |
*** pas-ha23 has quit IRC | 19:13 | |
*** n1kx3 has joined #timvideos | 19:13 | |
*** alankila25 has quit IRC | 19:14 | |
*** ljunkie15 has quit IRC | 19:15 | |
*** Verge20 has quit IRC | 19:16 | |
*** n1kx3 has quit IRC | 19:18 | |
*** Karambol13 has joined #timvideos | 19:19 | |
*** Karambol13 has quit IRC | 19:24 | |
CarlFK | woot - 3 artys just arrive. | 19:25 |
*** duck_whisperer has joined #timvideos | 19:27 | |
*** duck_whisperer has quit IRC | 19:31 | |
*** Wyzard1 has joined #timvideos | 19:35 | |
*** fhats28 has joined #timvideos | 19:36 | |
*** Wyzard1 has quit IRC | 19:40 | |
*** fhats28 has quit IRC | 19:40 | |
*** opqdonut10 has joined #timvideos | 19:43 | |
*** kysse15 has joined #timvideos | 19:43 | |
*** kysse15 has quit IRC | 19:44 | |
*** opqdonut10 has quit IRC | 19:48 | |
*** itacos27 has joined #timvideos | 19:52 | |
*** jidar23 has joined #timvideos | 19:53 | |
*** jidar23 has quit IRC | 19:54 | |
*** itacos27 has quit IRC | 19:55 | |
*** Tyrant_ has joined #timvideos | 19:58 | |
*** ballpointcarrot has joined #timvideos | 20:00 | |
*** atouk has joined #timvideos | 20:14 | |
*** atouk has quit IRC | 20:17 | |
*** aps has joined #timvideos | 20:17 | |
*** Guest22576 has joined #timvideos | 20:21 | |
*** Guest22576 has quit IRC | 20:23 | |
*** gsl9 has joined #timvideos | 20:25 | |
*** ricus15 has joined #timvideos | 20:27 | |
*** ricus15 has quit IRC | 20:29 | |
*** gsl9 has quit IRC | 20:29 | |
*** puck_ has quit IRC | 20:32 | |
*** puck_ has joined #timvideos | 20:36 | |
*** netravnen6 has joined #timvideos | 20:45 | |
*** netravnen6 has quit IRC | 20:48 | |
*** nexxus63 has joined #timvideos | 20:50 | |
*** ShotokanZH11 has joined #timvideos | 20:55 | |
*** ShotokanZH11 has quit IRC | 20:56 | |
*** Kripton has quit IRC | 21:04 | |
*** Kripton has joined #timvideos | 21:05 | |
*** Riviera_ has joined #timvideos | 21:20 | |
*** Riviera_ has quit IRC | 21:23 | |
*** splittist23 has joined #timvideos | 21:24 | |
*** splittist23 has quit IRC | 21:26 | |
*** amotoki18 has joined #timvideos | 22:05 | |
*** amotoki18 has quit IRC | 22:09 | |
*** mbrubeck22 has joined #timvideos | 22:13 | |
*** mbrubeck22 has quit IRC | 22:18 | |
CarlFK | Toba: Ubuntu 16.04.5 - "mostly works" | 22:25 |
CarlFK | mithro: also, everything works the same: debian, 16.04.5 and badger | 22:35 |
*** CarlFK has left #timvideos | 22:45 | |
*** CarlFK has joined #timvideos | 22:45 | |
*** ChanServ sets mode: +v CarlFK | 22:45 | |
*** eculver5 has joined #timvideos | 23:34 | |
*** lounge-userant2 has joined #timvideos | 23:45 | |
*** sztanpet26 has joined #timvideos | 23:54 | |
*** sztanpet26 has quit IRC | 23:55 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!