*** tpb has joined #timvideos | 00:00 | |
*** rohitksingh has joined #timvideos | 03:40 | |
*** futarisWeb has joined #timvideos | 03:42 | |
*** futarisWeb has quit IRC | 04:08 | |
*** futarisWeb has joined #timvideos | 04:39 | |
futarisWeb | collect2: error: ld returned 1 exit status | 04:40 |
---|---|---|
futarisWeb | /home/futaris/buildroot/output/host/usr/lm32-buildroot-uclinux-uclibc/bin/ld.real: error: no memory region specified for loadable section `.ro | 04:40 |
futarisWeb | Note: if build needs additional libraries, put them in CONFIG_EXTRA_LDLIBS. | 04:40 |
futarisWeb | Example: CONFIG_EXTRA_LDLIBS="pthread dl tirpc audit pam" | 04:40 |
futarisWeb | Makefile:717: recipe for target 'busybox_unstripped' failed | 04:41 |
futarisWeb | ---- | 04:46 |
futarisWeb | ---- | 04:46 |
futarisWeb | bfd_vma _lm32fdpic_add_rofixup() function in binutils-2.26.1/bfd/elf32-lm32.c .... | 04:47 |
futarisWeb | --- | 04:47 |
futarisWeb | Does the code for the firmware work with -fPIC / Position-Independent Code? http://elinux.org/UClinux_Shared_Library | 04:51 |
tpb | Title: UClinux Shared Library - eLinux.org (at elinux.org) | 04:51 |
futarisWeb | Trying to revert back to buildroot 2014.11 has binutils 2.22 which doesn't have mainline support for lm32... Why use buildroot 2014.11? BR2_PREFER_STATIC_LIB is still supported in that. | 05:27 |
futarisWeb | http://www.ubercomp.com/jslm32/src/ rootfs seems to only have static executables... No shared libraries. | 05:33 |
tpb | Title: Javascript LatticeMico32 Emulator (runs Linux) (at www.ubercomp.com) | 05:33 |
futarisWeb | http://linuxdevices.linuxgizmos.com/two-approaches-to-shared-library-support-for-uclinux-uclibc-a/ | 05:36 |
tpb | Title: Article: Two approaches to shared library support for uClinux/uClibc (at linuxdevices.linuxgizmos.com) | 05:36 |
futarisWeb | https://github.com/m-labs/uclibc-lm32/tree/master/ldso/ldso - no lm32 directory | 05:39 |
tpb | Title: uclibc-lm32/ldso/ldso at master · m-labs/uclibc-lm32 · GitHub (at github.com) | 05:39 |
futarisWeb | https://cgit.openadk.org/cgi/cgit/uclibc-ng.git/tree/ldso/ldso - no lm32 directory | 05:39 |
tpb | Title: uclibc-ng.git - Unnamed repository; edit this file 'description' to name the repository. (at cgit.openadk.org) | 05:39 |
futarisWeb | https://github.com/jpbonn/musl/tree/master/src/ldso - no lm32 directory. | 05:44 |
tpb | Title: musl/src/ldso at master · jpbonn/musl · GitHub (at github.com) | 05:44 |
futarisWeb | ---- | 05:44 |
futarisWeb | Going off that, lm32 uClinux basically only supported static executables... | 05:44 |
paddatrapper | mithro: should be finishing the changes today | 06:15 |
futarisWeb | http://mailman.uclinux.org/pipermail/uclinux-dev/2010-February/049953.html | 06:22 |
tpb | Title: [uClinux-dev] uClinux/FDPIC loader on LatticeMico32/Milkymist (at mailman.uclinux.org) | 06:22 |
futarisWeb | http://devel.milkymist.narkive.com/GUsvl2X4/compiling-uclinux-lm32-userspace-apps | 06:44 |
tpb | Title: Compiling uClinux/LM32 userspace apps (at devel.milkymist.narkive.com) | 06:44 |
futarisWeb | http://m-labs.hk/milkymist-wiki/wiki/index.php%3Ftitle=Milkymist_Linux_cheat_sheet.html | 06:45 |
tpb | Title: Milkymist Linux cheat sheet - Milkymist Wiki (at m-labs.hk) | 06:45 |
futarisWeb | http://connect.linaro.org/resource/sfo15/sfo15-406-arm-fdpic-toolset-kernel-libraries-for-cortex-m-cortex-r-mmuless-cores/ | 06:47 |
tpb | Title: SFO15 406 ARM FDPIC toolset, kernel & libraries for Cortex M & Cortex R mmuless cores - Linaro Connect (at connect.linaro.org) | 06:47 |
futarisWeb | https://github.com/mickael-guene/fdpic_doc/blob/master/abi.txt | 06:49 |
tpb | Title: fdpic_doc/abi.txt at master · mickael-guene/fdpic_doc · GitHub (at github.com) | 06:49 |
futarisWeb | ---- | 07:27 |
mithro | hey futarisWeb | 07:27 |
futarisWeb | on the openrisc front: | 07:27 |
futarisWeb | https://lwn.net/Articles/716063/ | 07:27 |
tpb | Title: Buildroot 2017.02 released [LWN.net] (at lwn.net) | 07:27 |
mithro | futarisWeb: Just replied to your email | 07:28 |
mithro | futarisWeb: the lm32 we use has a MMU | 07:29 |
mithro | futarisWeb: https://github.com/m-labs/lm32/blob/master/doc/mmu.rst | 07:29 |
tpb | Title: lm32/mmu.rst at master · m-labs/lm32 · GitHub (at github.com) | 07:29 |
futarisWeb | Yeah, the MMU is there. You'll still have to write the loader support for full linux. In the past with microblaze and other soft-core architectures, they tend to get uClinux running first, then migrate to MMU linux. | 07:30 |
mithro | futarisWeb: newlib has lm32 support - I assume that isn't useful for Linux userspace? | 07:30 |
futarisWeb | newlib isn't used in linux. Generally only bare-metal or on a RTOS maybe. | 07:31 |
mithro | futarisWeb: https://github.com/jpbonn/musl/tree/master/arch/lm32 ? | 07:31 |
tpb | Title: musl/arch/lm32 at master · jpbonn/musl · GitHub (at github.com) | 07:31 |
futarisWeb | Watching the FDPIC video linked above or reading sort of explains it. | 07:31 |
mithro | musl also looks to as some point maybe have supported lm32? | 07:32 |
futarisWeb | Yeah, I mentioned that above too. ldso directory is the important stuff. | 07:32 |
futarisWeb | You can build a static executable or a few (without the ldso support for FDPIC or something). But no shared libraries. | 07:33 |
futarisWeb | https://blog.waldemar-brodkorb.de/index.php?archives/26-English.html&serendipity%5Blang_selected%5D=en&serendipity%5Buser_language%5D=en | 07:34 |
tpb | Title: noMMU status - Waldemar Brodkorb's tech blog (at blog.waldemar-brodkorb.de) | 07:34 |
futarisWeb | I didn't really look into what or1k / openrisc are doing in buildroot .... | 07:35 |
futarisWeb | https://patchwork.ozlabs.org/patch/712240/ | 07:41 |
tpb | Title: arch: add support for OpenRISC architecture - Patchwork (at patchwork.ozlabs.org) | 07:41 |
futarisWeb | I'm pretty sure the config for or1k buildroot should just work. Which means it's just a matter of writing the newer drivers for the other peripherals. | 07:46 |
futarisWeb | Is there much work in changing the qemu-build script for CPU=or1k ? | 07:47 |
mithro | futarisWeb: I started looking at getting the qemu support to include or1k | 07:49 |
mithro | futarisWeb: Hopefully I'll have some time later in the week to look at that | 07:49 |
futarisWeb | Ok. | 07:49 |
mithro | I spent the weekend working on upgrading our GCC toolchain | 07:49 |
*** rohitksingh has quit IRC | 08:14 | |
*** rohitksingh has joined #timvideos | 09:07 | |
*** rohitksingh has quit IRC | 09:14 | |
*** rohitksingh has joined #timvideos | 09:15 | |
*** rohitksingh has quit IRC | 09:27 | |
*** futaris has joined #timvideos | 09:29 | |
mithro | futarisWeb: The or1k in qemu is using their peripherals, not ours | 09:33 |
futaris | MMIO at different addresses for the TTYs, isn't it? Ethernet is probably a little bit more work. Change the devicetree. Write new device drivers. | 09:35 |
futaris | I don't know the memory map for or1k litex. | 09:35 |
mithro | futaris: totally different UART driver | 09:35 |
futaris | third_party/litex/litex/soc/software/libbase/uart.c - very simple driver, like you said last week. | 09:41 |
mithro | Yeah, pretty much a fifo :-P | 09:43 |
futaris | Yeah. Should be straightforward to port the qemu lm32 changes across to qemu or32 (or1k). | 09:48 |
futaris | https://github.com/enjoy-digital/litepcie/tree/master/litepcie/software/linux looks interesting | 09:50 |
tpb | Title: litepcie/litepcie/software/linux at master · enjoy-digital/litepcie · GitHub (at github.com) | 09:50 |
*** futarisWeb has quit IRC | 09:51 | |
*** futaris has quit IRC | 09:55 | |
*** rohitksingh has joined #timvideos | 13:07 | |
*** rohitksingh has quit IRC | 13:28 | |
*** salva_ has joined #timvideos | 14:56 | |
salva_ | hi | 14:56 |
salva_ | i would like to submit a proposal to GSoC, something related to Verilog | 14:57 |
salva_ | any idea? | 14:57 |
CarlFK | salva_: https://code.timvideos.us/summer-of-code/ - I am not sure what is and isn't good for Verilog, but I think that will help | 15:01 |
salva_ | thanks CarlFK | 15:03 |
*** karan has joined #timvideos | 15:21 | |
*** karan_ has joined #timvideos | 15:26 | |
karan_ | mithro: for project of jpeg encoder can i use vivado for testing by converting modules form migen to verilog | 15:27 |
cr1901_modern | karan_: Yes, but it requires a bit of work. migen in the past only supported iverilog as a simulator, and in late 2015 there was an API change that removed iverilog support. | 15:28 |
*** karan has quit IRC | 15:28 | |
*** karan_ is now known as karan | 15:28 | |
cr1901_modern | karan: I don't remember the reason iverilog support hasn't been added back in, but I do recall ugly edge cases. | 15:29 |
cr1901_modern | karan: Here's an example of how you might insert your own design into an iverilog testbench: https://github.com/cr1901/hdmi_tb | 15:30 |
tpb | Title: GitHub - cr1901/hdmi_tb: HDMI2USB Litex Minimal Mimasv2 Testbench (at github.com) | 15:30 |
karan | cr1901_modern: from migen docs it shows it support iverilog | 15:31 |
cr1901_modern | karan: Which docs? | 15:32 |
cr1901_modern | (Can I have a link?) | 15:33 |
karan | cr1901_modern:https://migen.readthedocs.io/en/latest/simulation.html#vpisetup | 15:37 |
tpb | Title: Simulating a Migen design Migen X documentation (at migen.readthedocs.io) | 15:37 |
cr1901_modern | karan: I'm asking on #m-labs IRC, but I think those docs are out of date. The VPI library was removed with the API change. | 15:40 |
cr1901_modern | I would suggest doing something similar to my Makefile to get access to signals from the Vivado simulator | 15:41 |
cr1901_modern | karan: Up to date docs https://m-labs.hk/migen/manual/index.html | 15:48 |
*** hobbes- has joined #timvideos | 15:55 | |
*** karan_ has joined #timvideos | 16:02 | |
*** karan has quit IRC | 16:02 | |
*** karan_ is now known as karan | 16:03 | |
*** salva_ has quit IRC | 16:04 | |
*** karan_ has joined #timvideos | 16:17 | |
*** karan has quit IRC | 16:18 | |
*** karan_ is now known as karan | 16:18 | |
karan | cr1901_modern: can you elaborate mathod of makefile,not getting it | 16:20 |
cr1901_modern | karan: I'll have to do it later, sorry :(. I am massively distracted right now | 16:30 |
*** karan_ has joined #timvideos | 16:30 | |
*** karan has quit IRC | 16:33 | |
*** karan_ is now known as karan | 16:33 | |
*** karan_ has joined #timvideos | 16:36 | |
*** karan has quit IRC | 16:38 | |
*** karan_ is now known as karan | 16:38 | |
*** karan has quit IRC | 16:43 | |
*** CarlFK has quit IRC | 17:05 | |
*** CarlFK has joined #timvideos | 17:54 | |
*** ChanServ sets mode: +v CarlFK | 17:54 | |
*** karan has joined #timvideos | 19:06 | |
karan | looks like its simulating after generating .vcd file in migen and opening it in gtkwave in iverilog:) | 19:10 |
*** karan has quit IRC | 19:15 | |
*** samsagaz has joined #timvideos | 20:10 | |
*** olasd has quit IRC | 21:04 | |
*** olasd has joined #timvideos | 21:31 | |
*** samsagaz has quit IRC | 22:19 | |
*** arcticShadow has joined #timvideos | 23:13 | |
arcticShadow | Hi All - Im looking at the Numato Opsis, trying to work out if it can do what i want it to do. I've been reading all the documentation I can find (which is not much) so wondered if I have missed something. I.E. Where should I start reading to figure out how to configure this hardware? | 23:16 |
arcticShadow | Well actually the better question might be where do I start to configure HDMI2USB | 23:16 |
*** arcticShadow has quit IRC | 23:22 | |
*** arcticShadow has joined #timvideos | 23:24 | |
CarlFK | arcticShadow: do you have it now? | 23:25 |
arcticShadow | I don't have the hardware yet, if thats what you refer to. | 23:27 |
mithro | Hi arcticShadow | 23:37 |
CarlFK | where you start depends on what you are hoping to do | 23:37 |
mithro | arcticShadow: What do you want to do? | 23:37 |
mithro | CarlFK: jinx :-P | 23:37 |
CarlFK | :) | 23:37 |
mithro | cr1901_modern: ping? | 23:39 |
arcticShadow | hehe. The specific question I had to start with, is it possible to get two input streams out via usb. | 23:39 |
arcticShadow | But was also hoping to find some good reading material overall. Just found some more docs on the Numato.com site for configuring as well. | 23:40 |
CarlFK | arcticShadow: only 1 input can be routed an output. | 23:45 |
CarlFK | including the encoder, which feeds the usb | 23:45 |
CarlFK | unless someone adds the feature to the firmware | 23:45 |
arcticShadow | Cool - That fits with what I was expecting. So the next question would be, How can i stream 1 (or 2) inputs via ethernet. i.e. what would I need to receive these streams. | 23:47 |
CarlFK | mithro: does it stream over ethernet yet? | 23:47 |
mithro | No streaming via Ethernet, just control | 23:48 |
mithro | arcticShadow: It is only possible to get a single stream via USB | 23:48 |
mithro | arcticShadow: There is a FAQ about video resolutions and capabilities at https://opsis.hdmi2usb.tv/info/video-info-faq.html | 23:49 |
arcticShadow | Thats an interesting read, thanks. | 23:51 |
mithro | arcticShadow: It's also complicated by the fact that what the hardware can do and what the current firmware can do are two different things | 23:52 |
arcticShadow | I'm getting that impression :-D | 23:54 |
mithro | arcticShadow: IE We only started getting working Ethernet middle of last year | 23:54 |
CarlFK | arcticShadow: https://github.com/timvideos/HDMI2USB-litex-firmware/issues/224 | 23:54 |
CarlFK | "...stream more then one input source (assuming the bandwidth allows). | 23:54 |
tpb | Title: Make the HDMI2Eth target fully functional · Issue #224 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 23:54 |
mithro | arcticShadow: Being an FOSS project, we are driven by people's avaliable spare time and the limited amount of funding / hardware that I'm willing to provide (instead of spending it on beer :) | 23:55 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!