*** tpb has joined #timvideos | 00:00 | |
*** TheAssassin has quit IRC | 00:25 | |
*** TheAssassin has joined #timvideos | 00:30 | |
*** ewen has joined #timvideos | 01:17 | |
*** ewen has quit IRC | 01:50 | |
*** tvCommitBot has joined #timvideos | 02:12 | |
*** tvCommitBot has left #timvideos | 02:12 | |
*** tvCommitBot has joined #timvideos | 02:15 | |
*** tvCommitBot has left #timvideos | 02:15 | |
*** tvCommitBot has joined #timvideos | 02:24 | |
*** tvCommitBot has left #timvideos | 02:24 | |
*** tvCommitBot has joined #timvideos | 02:28 | |
*** tvCommitBot has left #timvideos | 02:28 | |
*** tvCommitBot has joined #timvideos | 02:35 | |
*** tvCommitBot has left #timvideos | 02:35 | |
*** cr1901_modern1 has joined #timvideos | 02:41 | |
*** cr1901_modern has quit IRC | 02:43 | |
*** cr1901_modern1 has quit IRC | 02:43 | |
*** cr1901_modern has joined #timvideos | 02:44 | |
*** kiboneu has joined #timvideos | 02:46 | |
*** TimGremalm1 has joined #timvideos | 02:47 | |
*** TimGremalm has quit IRC | 02:53 | |
*** cnomad has quit IRC | 02:53 | |
*** tvCommitBot has joined #timvideos | 03:35 | |
*** tvCommitBot has left #timvideos | 03:35 | |
*** tvCommitBot has joined #timvideos | 03:46 | |
*** tvCommitBot has left #timvideos | 03:46 | |
*** tvCommitBot has joined #timvideos | 04:07 | |
*** tvCommitBot has left #timvideos | 04:07 | |
*** CarlFK has quit IRC | 04:17 | |
*** rohitksingh_work has joined #timvideos | 04:18 | |
*** CarlFK has joined #timvideos | 04:46 | |
*** ChanServ sets mode: +v CarlFK | 04:46 | |
*** tvCommitBot has joined #timvideos | 05:03 | |
*** tvCommitBot has left #timvideos | 05:03 | |
*** tvCommitBot has joined #timvideos | 05:10 | |
*** tvCommitBot has left #timvideos | 05:10 | |
*** hozer has joined #timvideos | 05:13 | |
*** mauz555 has quit IRC | 05:54 | |
*** tvCommitBot has joined #timvideos | 06:09 | |
*** tvCommitBot has left #timvideos | 06:09 | |
*** ewen has joined #timvideos | 06:19 | |
ewen | mithro: You mentioned you had something you wanted me to look at. URL? | 06:28 |
---|---|---|
mithro | ewen: When you get a moment, I could use a review for the tinyprog improvements - https://github.com/tinyfpga/TinyFPGA-Bootloader/pull/36 | 06:29 |
tpb | Title: Clean up tinyprog for releasing by mithro · Pull Request #36 · tinyfpga/TinyFPGA-Bootloader · GitHub (at github.com) | 06:29 |
xobs | mithro: by the way, I'm working on generating a Raspberry Pi image that can be used to develop for Fomu [EVT]: https://github.com/im-tomu/fomu-pi-gen | 06:31 |
tpb | Title: GitHub - im-tomu/fomu-pi-gen: A fork of pi-gen for creating Fomu images (at github.com) | 06:31 |
mithro | xobs: Develop or flash? You mention "The starting filesystem size is limited to 768 MB, to let users use smaller SD cards." ? | 06:36 |
xobs | mithro: ideally either. I'm looking into what it would take to put nextpnr, icestorm, yosys, and a riscv compiler on there. | 06:40 |
xobs | The 768 MB change was because I have some 1GB cards here, and it doesn't make sense to require a 4 GB card when most of the space is empty anyway. | 06:40 |
mithro | xobs: https://stackoverflow.com/questions/39371772/how-to-install-anaconda-on-raspberry-pi-3-model-b <- It kind of looks like conda has RPi support... | 06:40 |
tpb | Title: python 3.x - How to install Anaconda on RaspBerry Pi 3 Model B - Stack Overflow (at stackoverflow.com) | 06:40 |
xobs | That could work. Just need the packages for it. | 06:43 |
mithro | xobs: I wonder if it is just as simple as adding something to -> https://github.com/timvideos/conda-hdmi2usb-packages/blob/master/.travis/script.sh#L21 | 06:52 |
tpb | Title: conda-hdmi2usb-packages/script.sh at master · timvideos/conda-hdmi2usb-packages · GitHub (at github.com) | 06:52 |
*** tvCommitBot has joined #timvideos | 06:52 | |
*** tvCommitBot has left #timvideos | 06:52 | |
xobs | mithro: quite possibly. with binfmt_misc you can "natively" cross-compile, so many CI platforms work easily. | 06:53 |
mithro | https://github.com/jjhelmus/berryconda | 06:55 |
tpb | Title: GitHub - jjhelmus/berryconda: Conda based Python distribution for the Raspberry Pi (at github.com) | 06:55 |
*** tvCommitBot has joined #timvideos | 07:11 | |
*** tvCommitBot has left #timvideos | 07:11 | |
mithro | ewen: Did you get to micropython booting on the tinyfpga-bx in the end? | 07:15 |
mithro | xobs: I was also pondering the stuff nrossi did to recreate the litex-buildenv using yocto stuff... | 07:16 |
*** TheAssassin has quit IRC | 07:16 | |
mithro | xobs: That lets you produce "sdk"s | 07:16 |
xobs | mithro: it's been forever since I've used yocto [openembedded]. The hardest bit is getting a RISC-V cross compiler. The second hardest thing is integrating nextpnr which requires qt5. | 07:18 |
mithro | xobs: Just don't build with the gui | 07:18 |
mithro | That is my solution :-P | 07:18 |
xobs | Ah, okay. I thought python support required the gui. But I guess it's the other way around! | 07:19 |
mithro | xobs: https://github.com/timvideos/conda-hdmi2usb-packages/blob/master/nextpnr/build.sh#L10 | 07:20 |
tpb | Title: conda-hdmi2usb-packages/build.sh at master · timvideos/conda-hdmi2usb-packages · GitHub (at github.com) | 07:20 |
mithro | ewen: https://pypi.org/project/tinyprog/1.0.24.dev13/ | 07:24 |
tpb | Title: tinyprog · PyPI (at pypi.org) | 07:24 |
mithro | ewen: I'm not sure why that isn't being rendered properly... | 07:25 |
ewen | mithro: Review done. There was one fatal error (at least on Python 3.6 it seems to be throwing a different exception than you expected on the common path), and three instances of formatting string confusion, plus a possible wrong exception catch (I'm a bit unclear on the exception heirachy at that point; see GitHub pull request comments). | 07:45 |
ewen | mithro: (... catching up) Yes, I did get MicroPython booting on TinyFGPA BX. I can program the TinyFPGA BX with the MicroPython included image, and get serial console. But I still can't program with the non-MicroPython image (H2U?). (As best I can tell it's failing due to a short read at a consistent point while verifying, but I'm unclear why it's a short read and whether it's just accidentally working | 07:49 |
ewen | in practice and needs a loop to retry the read.) | 07:50 |
ewen | mithro: Re pypi.org rendering, it looks like it's assuming that it's text, not Markdown, and showing it raw. I'm unclear why. https://packaging.python.org/guides/making-a-pypi-friendly-readme/ suggests that PyPI should support GitHub flavoured Markdown... | 07:52 |
tpb | Title: Making a PyPI-friendly README Python Packaging User Guide (at packaging.python.org) | 07:52 |
mithro | ewen: https://pypi.org/project/tinyprog/1.0.24.dev14/ | 08:35 |
tpb | Title: tinyprog · PyPI (at pypi.org) | 08:35 |
ewen | mithro: AFAICT the commits are still merged into tinyfpga master (eg, I can pull them from there). So I'll just test against that. (I don't seem to be able to fetch from the pull request any more now it's closed.) | 08:41 |
mithro | ewen: https://github.com/tinyfpga/TinyFPGA-Bootloader/issues/18 | 08:42 |
tpb | Title: Error while updating bootloader: invalid literal for int() with base 10 · Issue #18 · tinyfpga/TinyFPGA-Bootloader · GitHub (at github.com) | 08:42 |
mithro | ewen: Looks like ValueError appears sometimes too... | 08:42 |
mithro | ewen: Yes, I push is with a merge commit however | 08:44 |
*** puck_ has quit IRC | 08:46 | |
ewen | mithro: re issues/18, looks like that ValueError would be *after* it'd been through the try:/except:, as it's a ValueError on int() getting an empty string. Rather than the bit you changed which was exception handling of ord().... | 08:50 |
mithro | ewen: Yeah | 08:50 |
*** puck_ has joined #timvideos | 08:51 | |
mithro | ewen: I'm going to give up for the night I think | 08:54 |
* ewen too | 09:07 | |
*** ewen has quit IRC | 09:07 | |
*** rohitksingh_work has quit IRC | 10:05 | |
*** CarlFK has quit IRC | 10:17 | |
*** TheAssassin has joined #timvideos | 10:49 | |
*** CarlFK has joined #timvideos | 11:56 | |
*** ChanServ sets mode: +v CarlFK | 11:56 | |
*** rohitksingh_work has joined #timvideos | 12:43 | |
*** rohitksingh_work has quit IRC | 13:22 | |
*** rohitksingh has joined #timvideos | 14:08 | |
*** m4ssi has joined #timvideos | 14:30 | |
*** xobs has quit IRC | 15:39 | |
*** nrossi has quit IRC | 15:39 | |
*** CarlFK[m] has quit IRC | 15:39 | |
*** master1588[m] has quit IRC | 15:39 | |
*** futaris[m] has quit IRC | 15:40 | |
*** felix[m]1 has quit IRC | 15:40 | |
*** jfng has quit IRC | 15:40 | |
*** ducky[m] has quit IRC | 15:40 | |
*** pzieba[m] has quit IRC | 15:40 | |
*** shivm28[m] has quit IRC | 15:40 | |
*** pzieba[m] has joined #timvideos | 15:40 | |
*** nrossi has joined #timvideos | 15:41 | |
*** master1588[m] has joined #timvideos | 15:41 | |
*** xobs has joined #timvideos | 15:41 | |
*** CarlFK[m] has joined #timvideos | 15:41 | |
*** ChanServ sets mode: +v CarlFK[m] | 15:41 | |
*** shivm28[m] has joined #timvideos | 15:44 | |
*** ducky[m] has joined #timvideos | 15:46 | |
*** futaris[m] has joined #timvideos | 15:47 | |
*** jfng has joined #timvideos | 15:48 | |
*** felix[m]1 has joined #timvideos | 15:49 | |
*** ducky[m] has quit IRC | 15:56 | |
*** ducky[m] has joined #timvideos | 15:56 | |
*** kiboneu is now known as cnomad | 17:05 | |
*** m4ssi has quit IRC | 17:58 | |
*** rohitksingh has quit IRC | 18:31 | |
*** xfxf has joined #timvideos | 21:39 | |
*** ewen has joined #timvideos | 22:03 | |
ewen | mithro: I think the PyPI formatting confusion is being caused by trying to use a multi-line Summary: (description=... in setup.py), which is resulting in a stray blank line in PKG-INFO, which is causing everything after that to be treated as description not headers. | 22:04 |
ewen | mithro: In which case adding .strip() to the end of the multi-line string setting description= should fix it. | 22:05 |
ewen | Hmm, there's also an embedded newline that'll need to be removed. I'll figure out a more detailed approach and make a pull request. | 22:19 |
ewen | mithro: https://github.com/tinyfpga/TinyFPGA-Bootloader/pull/37 | 22:29 |
tpb | Title: setup.py: generate single line description= by ewenmcneill · Pull Request #37 · tinyfpga/TinyFPGA-Bootloader · GitHub (at github.com) | 22:29 |
*** TimGremalm1 has quit IRC | 23:00 | |
*** TimGremalm has joined #timvideos | 23:01 | |
*** mauz555 has joined #timvideos | 23:17 | |
mithro | ewen: You might find https://gist.github.com/mithro/7fee3383bf08eb0deaa1be2dab28c5af interesting | 23:21 |
tpb | Title: litex-mm.md · GitHub (at gist.github.com) | 23:21 |
*** micolous[m] has joined #timvideos | 23:21 | |
*** ChanServ sets mode: +v micolous[m] | 23:21 | |
mithro | tinyfpga: When you get a moment, can I walk you through enabling travis on your tinyfpga/TinyFPGA-Bootloader repository? Sadly only the owner can do it | 23:26 |
mithro | xobs: When you arrive in Christchurch? | 23:33 |
mithro | ewen: It's starting to look better -> https://pypi.org/project/tinyprog/1.0.24.dev17/ | 23:35 |
tpb | Title: tinyprog · PyPI (at pypi.org) | 23:35 |
mithro | ewen: But it's still not being rendered? | 23:35 |
ewen | mithro: Curious. We're defintely *closer* (no extraneous PKG-INFO dict stuff), but it looks like it's not recognising that it's Markdown yet. | 23:37 |
tumbleweed | long_description_content_type='text/markdown' ? | 23:37 |
mithro | ewen: Your missing my setuptools upgrade patch | 23:37 |
mithro | ewen: Just added that to your pull request | 23:37 |
ewen | mithro: Cool, I'll re-pull. | 23:38 |
mithro | ewen: https://travis-ci.com/mithro/TinyFPGA-Bootloader/builds/97767543 | 23:38 |
tpb | Title: Travis CI - Test and Deploy with Confidence (at travis-ci.com) | 23:38 |
ewen | mithro: How are you uploading? https://dustingram.com/articles/2018/03/16/markdown-descriptions-on-pypi/ points out that a newer version of twine is needed to send the right header... | 23:38 |
tpb | Title: Markdown Descriptions on PyPI - Dustin Ingram (at dustingram.com) | 23:38 |
mithro | ewen: YAY! -> https://pypi.org/project/tinyprog/1.0.24.dev18/ | 23:40 |
tpb | Title: tinyprog · PyPI (at pypi.org) | 23:40 |
mithro | ewen: Need to get people to test with the dev version and then we can do a release... | 23:42 |
mithro | ewen: Can you communicate to discord and stuff? | 23:42 |
ewen | mithro: Yay! | 23:43 |
ewen | mithro: Yes, I'll add note on discourse thread, etc, suggesting people test newer version. | 23:44 |
mithro | ewen: Okay, I'll leave you to tell me when to tag a new release | 23:44 |
mithro | ewen: You interested in going for a walk and getting some lunch? | 23:46 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!