*** tpb has joined #timvideos | 00:00 | |
jea | xfxf: I am around. currently setting up machines for recording wordcamp next weekend, with ben and kim | 01:52 |
---|---|---|
xfxf | cool, i'm spending most of my spare time on av related stuff, my todo list is stupid | 01:53 |
xfxf | working all of today on stuff | 01:54 |
jea | i can imagine it would be pretty long. always a lot to do before lca/pycon | 01:54 |
*** tvCommitBot has joined #timvideos | 02:57 | |
-tvCommitBot- [av-foss-stack] CarlFK pushed 1 new commit to master: https://git.io/vQdjp | 02:57 | |
-tvCommitBot- av-foss-stack/master 73adb6a Carl Karsten: add the Best Buy laptops to the pool. | 02:57 | |
*** tvCommitBot has left #timvideos | 02:57 | |
CarlFK | jea: xfxf: https://github.com/CarlFK/video-stack-deploy/tree/usb_late/scripts moved docs to readme - try soon | 05:44 |
tpb | Title: video-stack-deploy/scripts at usb_late · CarlFK/video-stack-deploy · GitHub (at github.com) | 05:44 |
jea | CarlFK: thanks for that | 05:59 |
jea | CarlFK: there is a section that uses desktopvideo stuff for blackmagic. where do I get them from? | 05:59 |
CarlFK | jea: you fumble around on the bm site ... hmm, I think I have a good starting URL.. sec... | 06:01 |
CarlFK | how do I get stuff back that I git stash -ed ? | 06:10 |
jea | git stash pop | 06:10 |
CarlFK | unstash isn't it :p | 06:10 |
CarlFK | da, tx | 06:10 |
jea | np | 06:10 |
xfxf | stash... stack... popping makes sense, right? :P | 06:12 |
jea | i have another question that I think you might be able to help with CarlFK - how do you flash your atlys? | 06:12 |
CarlFK | bm - see if this makes sense https://github.com/CarlFK/video-stack-deploy/blob/bm-urls/roles/blackmagic/defaults/main.yml#L4 | 06:14 |
tpb | Title: video-stack-deploy/main.yml at bm-urls · CarlFK/video-stack-deploy · GitHub (at github.com) | 06:14 |
jea | yep, that makes sense thanks :) | 06:16 |
CarlFK | flashing - https://github.com/timvideos/hdmi2usb.tv/blob/carlfk-pull-1/Firmware.md | 06:21 |
tpb | Title: hdmi2usb.tv/Firmware.md at carlfk-pull-1 · timvideos/hdmi2usb.tv · GitHub (at github.com) | 06:21 |
CarlFK | https://github.com/timvideos/hdmi2usb.tv/blob/carlfk-pull-1/Firmware.md#flashing-prebuilt-firmware | 06:21 |
tpb | Title: hdmi2usb.tv/Firmware.md at carlfk-pull-1 · timvideos/hdmi2usb.tv · GitHub (at github.com) | 06:21 |
CarlFK | I've been told that should work. | 06:21 |
CarlFK | except opsis_hdmi2usb-hdmi2usbsoc-opsis.bin doesn't seem to exist any more | 06:22 |
CarlFK | er, the simple answer to your Q is: I don't know | 06:22 |
jea | ok | 06:23 |
jea | i guess you haven't flashed them for a while then? | 06:23 |
jea | I think we were doing litex firmware at the start of the year. maybe i can compile it and then flash like we did on the opsis | 06:23 |
CarlFK | https://github.com/timvideos/HDMI2USB-firmware-prebuilt.git | 06:24 |
tpb | Title: GitHub - timvideos/HDMI2USB-firmware-prebuilt: Prebuilt firmware for the HDMI2USB devices (such as the Numato Opsis and the Digilent Atlys board) and OS drivers. (at github.com) | 06:24 |
CarlFK | that should have the blobs you need | 06:24 |
CarlFK | if you can build something from source that isn't there, something is very broken | 06:24 |
CarlFK | but maybe you have to walk though the build process to figure out what file(s) to be using | 06:25 |
jea | oh maybe I just wasn't looking in the right place of the prebuilt repo | 06:25 |
jea | looks like I might want this https://github.com/timvideos/HDMI2USB-firmware-prebuilt/tree/master/archive/master/v0.0.3-715-gbc835e3/atlys | 06:25 |
tpb | Title: HDMI2USB-firmware-prebuilt/archive/master/v0.0.3-715-gbc835e3/atlys at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 06:25 |
CarlFK | it looks like the dir/file names changed a few months ago | 06:25 |
CarlFK | 3 months ago | 06:26 |
CarlFK | mithro says use the recent version - but I can't figure out how | 06:27 |
mithro | https://github.com/timvideos/HDMI2USB-firmware-prebuilt/blob/master/archive/master/v0.0.3-715-gbc835e3/atlys/hdmi2usb/lm32/flash.bin | 06:29 |
tpb | Title: HDMI2USB-firmware-prebuilt/flash.bin at master · timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 06:29 |
jea | mithro: so I just need that one file to flash the atlys using make-gateware? | 06:30 |
*** vystrela has joined #timvideos | 06:31 | |
mithro | If you have the dev environment, just `make flash` should work? | 06:31 |
jea | yes, that is also a thing I could do | 06:31 |
jea | i'll just switch the targets from opsis to atlys | 06:32 |
mithro | Platform you mean? | 06:32 |
vystrela | yes | 06:32 |
*** vystrela is now known as vys | 06:32 | |
vys | also, hello again | 06:33 |
mithro | https://github.com/timvideos/HDMI2USB-litex-firmware/blob/master/.travis/build.sh | 06:33 |
tpb | Title: HDMI2USB-litex-firmware/build.sh at master · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 06:33 |
mithro | I'm just heading into the office now | 06:34 |
mithro | jea: we should get the 'make download' bit working again | 06:35 |
mithro | xfxf: ping? | 06:36 |
jea | you'll have to remind me what it did again, because I've forgotten. but if it is what I think, that sounds reasonable | 06:36 |
mithro | It downloads from the pre-built repo into the dev env | 06:37 |
mithro | So you don't have to have the Xilinx tools if you just want to do firmware (as appose to gateware) development | 06:38 |
mithro | I need to review some PCB routing and figure out why the bios isn't working on the mimasv2 with or1k | 06:39 |
mithro | And somehow it is already almost 5pm | 06:40 |
CarlFK | mithro: should this work: | 06:40 |
CarlFK | cd HDMI2USB-firmware-prebuilt/archive/master/v0.0.3-698-g7b7714d/atlys/hdmi2usb/lm32 | 06:40 |
CarlFK | hdmi2usb-modeswitch --flash-gateware flash.bin | 06:40 |
CarlFK | and is v0.0.3-698-g7b7714d what we should be testing ? | 06:40 |
mithro | xfxf: Are you expecting me to bring Opsis boards to PyCon AU? | 06:42 |
mithro | CarlFK: possibly, I haven't tested Atlys in like forever | 06:42 |
mithro | Should probably just have a "--flash" option now | 06:43 |
mithro | As the flash.bin has all of the gateware, bios and firmware in one file | 06:44 |
CarlFK | mithro: can you linke this to whatever you want us to be running: HDMI2USB-firmware-prebuilt/atlys/firmware/testing | 06:45 |
*** sb0 has quit IRC | 06:46 | |
mithro | Can you log an issue about that and assign it to me, I'll try and do it in a moment but will forget if I don't get to it | 06:49 |
mithro | unstable should be the current "head", testing should be what ever people have actually tested and confirmed working but not used at a conference, stable should be what ever we last used at a conference and was happy with | 06:50 |
CarlFK | mithro: https://github.com/timvideos/HDMI2USB-firmware-prebuilt doesn't have issues ... | 06:53 |
tpb | Title: GitHub - timvideos/HDMI2USB-firmware-prebuilt: Prebuilt firmware for the HDMI2USB devices (such as the Numato Opsis and the Digilent Atlys board) and OS drivers. (at github.com) | 06:53 |
mithro | CarlFK: put it on the HDMI2USB-litex-firmware repo | 06:53 |
CarlFK | https://github.com/timvideos/HDMI2USB-litex-firmware/issues/328 | 06:58 |
tpb | Title: HDMI2USB-firmware-prebuilt links to unstable testing, stable · Issue #328 · timvideos/HDMI2USB-litex-firmware · GitHub (at github.com) | 06:58 |
mithro | CarlFK: thank you | 06:59 |
mithro | CarlFK: are you going to buy some Opsis boards any time soon? | 07:01 |
mithro | jea: Are you likely to want Opsis boards in Brisbane or do you already have enough? | 07:05 |
mithro | jea: Actually - the make download script could just be the same as this one I think -> https://github.com/mithro/micropython/blob/master/litex/get-gateware.sh | 07:07 |
tpb | Title: micropython/get-gateware.sh at master · mithro/micropython · GitHub (at github.com) | 07:07 |
jea | mithro: i have one opsis here. might be good to get more at some point, because then I can actually do things like wordcamp | 07:08 |
CarlFK | mithro: no. PyCon is the only show that has enough budget to get nice stuff | 07:08 |
jea | i probably only need one more though so I have a full room setup | 07:09 |
mithro | jea: Probably good to have atleast one spare too | 07:09 |
mithro | I'm working on trying to make sure we have the ability to order individual opsis in the future | 07:09 |
jea | that would be good | 07:09 |
mithro | But that is basically going to require me to front for a whole batch | 07:10 |
CarlFK | jea; any chance of you running the script to make a usb stick? in the next 30 min? | 07:10 |
jea | mithro: ah, that is annoying | 07:11 |
CarlFK | booting a box would be good too, but that can come later | 07:11 |
mithro | CarlFK: How are you doing recording of presenters? Still twinpacs? Or do you have enough Atlys? | 07:11 |
CarlFK | mithro: I have 4 Atlys and 1 Opsis | 07:11 |
mithro | CarlFK: What would you need to get that to 4 Atlys and 4 Opsis? | 07:12 |
jea | CarlFK: what would you like to see in the next 30mins? | 07:15 |
jea | it can be done | 07:15 |
jea | mithro: are we using master branch or something else for the litex repo? | 07:16 |
mithro | jea: master | 07:20 |
CarlFK | jea: https://github.com/CarlFK/video-stack-deploy/tree/usb_late/scripts "How to use:" | 07:20 |
tpb | Title: video-stack-deploy/scripts at usb_late · CarlFK/video-stack-deploy · GitHub (at github.com) | 07:20 |
jea | mithro: thanks | 07:21 |
jea | CarlFK: ok | 07:21 |
CarlFK | jea: skip steps 2-5 | 07:21 |
mithro | CarlFK: What is this USB stick thing? | 07:23 |
jea | CarlFK: will it wipe out all partitions on an existing drive, or can i choose where it installs to? | 07:23 |
CarlFK | jea: as is it will blow away sda | 07:26 |
CarlFK | jea: (do a git pull, I just removed a #line that I pulled out to speed up testing | 07:26 |
CarlFK | mithro: Make a usb installer: debian that loads a preseed and runs ansible | 07:27 |
CarlFK | mithro: like my pxe insller, only boots from usb, then tries to use the same preseed/ansible | 07:27 |
CarlFK | jea: but if you don't boot it, it won't do anything... so first I want to make sure the mk....sh doesn't error | 07:28 |
mithro | btw Do we still want to do the VGA expansion board for the Opsis? | 07:28 |
mithro | tumbleweed: ^ | 07:28 |
CarlFK | mithro: i would not want time spent on the vga board that could be spent else where | 07:30 |
CarlFK | mithro: we have done enough shows without it, and it is just going to get less useful | 07:31 |
mithro | CarlFK: That was my thinking | 07:31 |
jea | CarlFK: oh right. i'll run it now | 07:32 |
jea | (just don't have a machine right now that i want to blow away, but making the usb is fine) | 07:32 |
CarlFK | jea: the scritp will blow away whatever sdX drive you tell it to hit... | 07:32 |
CarlFK | that should be your usb stick | 07:32 |
jea | ok, that is alright | 07:33 |
jea | blowing away a usb is fine, just don't want to blow away a machine when installing debian/ubuntu/etc | 07:33 |
jea | but as you said, that part is when we do the booting, which can be later | 07:33 |
CarlFK | well, don't blindly cut/paste the sdb from the docs | 07:33 |
CarlFK | jea: I have stopped testing ubuntu because it is annoying to test extra stuff and the debian side works fine | 07:37 |
CarlFK | jea: so "this" wont work for you now, but if you fee like ... hacking... | 07:37 |
CarlFK | jea: this is what you want https://github.com/CarlFK/video-stack-deploy/blob/usb_late/scripts/d-i/xenial/preseed_disk.cfg | 07:38 |
tpb | Title: video-stack-deploy/preseed_disk.cfg at usb_late · CarlFK/video-stack-deploy · GitHub (at github.com) | 07:38 |
CarlFK | you # that out and the installer will prompt you for what disk/partition etc. | 07:38 |
jea | i can use debian or ubuntu, so that is fine | 07:38 |
CarlFK | I kinda want to do that for debian/stretch but I don't expect it anytime soon | 07:39 |
CarlFK | that = split the preseed.cfg up into parts so that we can do what you want .. becuase in the past I have wanted that too | 07:40 |
CarlFK | jea; you can test the usb stick with qemu: https://github.com/CarlFK/video-stack-deploy/blob/usb_late/scripts/test_thumb.sh | 07:42 |
tpb | Title: video-stack-deploy/test_thumb.sh at usb_late · CarlFK/video-stack-deploy · GitHub (at github.com) | 07:42 |
CarlFK | jea:and notice all this stuff is in the usb_late branch | 07:42 |
CarlFK | if it seems to run and the docs sound sane, I'll push to get it into master in ~10 hours | 07:43 |
jea | can i just use your repo as the inventory for now? | 07:44 |
CarlFK | yes | 07:44 |
jea | great | 07:44 |
CarlFK | none of us are really happy with how the inventory file is managed | 07:45 |
CarlFK | we are using github as both our version control and a cloudy file server | 07:45 |
jea | yeah, i was wondering about that | 07:46 |
jea | are you still using the debconf ansible git repo, or is this repo replacing it? | 07:46 |
jea | also, script is now running | 07:46 |
CarlFK | I am hacking on my repo, tumbleweed is cherry picking most of my changes into the DC repo | 07:47 |
CarlFK | so DC repo is stabler - but also untested-er :p | 07:49 |
jea | excellent | 07:50 |
jea | make gateware with T=atlys is taking so far failing, using latest master | 07:59 |
mithro | jea: PLATFORM=atlys TARGET=hdmi2usb ? | 08:00 |
xfxf | mithro: i don't care about the VGA expansion board personally. like, i guess it'd be nice, but i'd much prefer effort was put into other things given finite time | 08:03 |
mithro | xfxf: See my above questions about PyCon AU and Opsis | 08:03 |
jea | mithro: no, hadn't set target. trying again | 08:04 |
jea | what does target default to? | 08:04 |
xfxf | mithro: if you can bring extra boards, that'd be great. i think i have enough, but spares definitely do not hurt, especially if we have problems | 08:04 |
mithro | xfxf: Well, I always plan to bring spares | 08:04 |
xfxf | i think i own 5, LCA owns 7 | 08:04 |
xfxf | plus i'll have a handful of blackmagic capture devices too (either pci-e or the web presenters) | 08:05 |
xfxf | i'm tempted to use those for camera capture actually as they let me pipe audio in via HDMI/SDI and i'm yet to see voctomix get out of sync doing that | 08:05 |
xfxf | i still am not clear why the seperate audio device gets out of sync with the video, thaytan looked over our script AFAIK and thought it was OK | 08:06 |
xfxf | but i'm up for debate on that. i have captured a couple of small events over the past few months doing it the way above though (BM for capture, hdmi2usb for podium) and it's worked well | 08:06 |
jea | we adjusted some scripts based on his suggestions and it didn't seem to change things | 08:06 |
jea | xfxf: which BM card do you have? | 08:07 |
CarlFK | jea: https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-06 (scroll down past the product spam) | 08:09 |
tpb | Title: Blackmagic Design: DeckLink Tech Specs (at www.blackmagicdesign.com) | 08:09 |
jea | ok, so both have the same then | 08:10 |
jea | mithro: failed again. some process being killed build_top.sh: line 5: 40450 Killed xst -ifn top.xst | 08:10 |
jea | maybe my vm is running out of resources? | 08:10 |
CarlFK | jea: did the mk script end with + python -m SimpleHTTPServer | 08:11 |
CarlFK | Serving HTTP on 0.0.0.0 port 8000 ... | 08:11 |
jea | it is stil downloading debian | 08:11 |
CarlFK | k - the good news is it will only do that once | 08:12 |
jea | for whatever reason it selected a swedish mirror instead of something in aus, so it is slower than i expected | 08:12 |
CarlFK | lol | 08:12 |
xfxf | mithro: if i'm building and testing new hdmi2usb firmware/gateware, just build out of master on the misoc firmware on the main repo? | 08:13 |
jea | with the bm card, is it alright having a camera come in at 1080 and then go into vocto? | 08:13 |
mithro | xfxf: Yes | 08:13 |
jea | misoc-firmware is now litex-firmware, right? | 08:14 |
xfxf | oh right, yes, litex | 08:15 |
CarlFK | jea: ingest will down sample the 1080 but that uses a good bit of cpu | 08:15 |
xfxf | jea: i don't do that, i run everything at 720p natively | 08:15 |
CarlFK | I am not sure if the bm cad will scale it | 08:15 |
xfxf | hence using cameras where i can change the HDMI res | 08:15 |
xfxf | BM card doesn't scale | 08:15 |
jea | right | 08:16 |
xfxf | i've given up on the BM PCIe cards anyway, the web presenters have a built in scaler | 08:16 |
xfxf | and present as USB UVC and an audio device | 08:16 |
jea | that throws a spanner in the works | 08:16 |
jea | oh really? tell me more about these web presenters | 08:16 |
xfxf | i'll go back to the HDMI2USB tho once USB audio is working, with exception if ingesting SDI devices | 08:17 |
xfxf | https://www.blackmagicdesign.com/au/products/blackmagicwebpresenter | 08:17 |
tpb | Title: Blackmagic Design: Blackmagic Web Presenter (at www.blackmagicdesign.com) | 08:17 |
xfxf | they do SDI/HDMI passthrough, and give a 720p downscaled version from whatever input over USB | 08:17 |
xfxf | they're not a replacement for lecturn capture (hdmi2usb still wins there by a mile), but they're way better than using a BM PCIe card IMO due to the scaler and the fact it works on a laptop and you don't need wierd drivers | 08:18 |
xfxf | only caveat is they're much more expensive | 08:18 |
xfxf | they don't come with the front panel, the front panel isn't needed but there are settings you won't be able to change without it | 08:18 |
xfxf | it's about $800 for the unit + front panel | 08:18 |
jea | that all sounds good apart from the price | 08:19 |
jea | CarlFK: script worked | 08:20 |
CarlFK | jea: woot. thanks. | 08:20 |
CarlFK | jea: im off to bed - look over the config files and stuff - I know I can tweak the preseed file to prompt me for where to install - let me know how comfortable you are doing that - and how bad it will be if you get it wrong | 08:24 |
jea | ok, will do | 08:25 |
jea | speak to you later | 08:25 |
CarlFK | you can install debian however you want and then ansible later - but that takes fiddeling too | 08:25 |
jea | yes, that is what we have done so far, but on ubuntu | 08:25 |
jea | but i'll give the usb a go | 08:26 |
xfxf | hey CarlFK, does your usb installer work on minnowboards? | 08:56 |
CarlFK | xfxf: no idea - do you have one? | 08:57 |
xfxf | because i have two i'm yet to do anything with, and i don't really want to reformat the working LCA image on the laptops because they're a 'known working' image, vocto hasn't had a major release since then, and i'm hesitant to start screwing with it | 08:57 |
xfxf | but if they work on those, then i'll give it a go tonight | 08:57 |
xfxf | aren't you using minnowboards for the lecturn capture machines? | 08:57 |
xfxf | i bought a pair to see if i can make that side of things neater | 08:58 |
CarlFK | i am using odroid c2 | 08:58 |
xfxf | oh right, i thought you were using minnowboards | 08:58 |
xfxf | which is why i bought a pair :P | 08:58 |
CarlFK | do you have ssd's mounted in them? | 09:02 |
mithro | xfxf: DebConf is using MinnowBoards - so am I | 09:02 |
CarlFK | DC is not using MinnowBoards | 09:02 |
xfxf | i swear tumbleweed said that DC weren't but you were CarlFK | 09:03 |
CarlFK | they have like 20 i7 desktops | 09:03 |
xfxf | either way, i now have two :P | 09:03 |
CarlFK | I was going to if DC used them. then the came up with desktops, so none of us got any | 09:03 |
mithro | CarlFK: MinnowBoards connected to the Opsis is listed on their kits? | 09:03 |
CarlFK | mithro: that was the plan before they discovered a local stash of desktops | 09:05 |
CarlFK | xfxf: if you are usung the ssd, it may need this funky dev name: disk=/dev/nvme0n1 | 09:06 |
mithro | Did jea end up with my other MinnowBoard? | 09:10 |
jea | i set one up at hobart, but i didn't take it with me | 09:11 |
xfxf | shipping around desktops has to be $$$ tho | 09:11 |
thaytan | xfxf, is that what we said? I've forgotten already | 09:16 |
thaytan | I thought we talked about needing to set a base time as well as distributing the clock | 09:16 |
mithro | okay, PCB stuff done! Next is repoing Hasjim's issue | 09:30 |
xfxf | thaytan: i can't remember - if there are issues with the existing pipeline then I need help to fix that | 09:40 |
xfxf | i remember about the base time thing but i thought one was actually being set | 09:40 |
xfxf | memory fuzzy now tho | 09:40 |
thaytan | yeah | 09:51 |
thaytan | you'll have to come for another visit :) | 09:51 |
mithro | Does anyone know where to source one of these? http://www.geekbuying.com/item/Tronsmart-Pavo-M9-4K-TV-BOX-Android-4-4-2-Mstar-MSO9180D1R-1GB-8G-802-11-b-g-n-LAN-H-265-USB3-0-HDMI-347691.html?source=ShareAsale ? | 09:57 |
tpb | Title: Tronsmart Pavo M9 4K TV BOX Mstar MSO9180D1R 1GB/8G (at www.geekbuying.com) | 09:57 |
mithro | CarlFK: Any idea how many watts the confidence monitors you use at the front of the room consume? | 10:12 |
mithro | jea: Looks like you actually want "make image-flash" | 10:16 |
mithro | cr1901_modern: ping? | 10:44 |
mithro | cr1901_modern: Do you remember what was going on with puts failing? | 10:44 |
mithro | cr1901_modern: It was something to do with loops and the sram IIRC? | 10:45 |
*** shane_ has joined #timvideos | 10:47 | |
*** shane_ has left #timvideos | 10:47 | |
*** sb0 has joined #timvideos | 11:34 | |
mithro | paddatrapper: ping? | 11:52 |
paddatrapper | mithro: pong? | 11:52 |
mithro | paddatrapper: Just reading your daily updates | 11:53 |
mithro | paddatrapper: You mentioned "I spent today trying, and failing, to get printf(...) to print to serial. I think this is something I will need to put on hold for a while and concentrate on ISO transfers for the coming week." | 11:53 |
paddatrapper | mithro: yeah, it's not using the getchar, putchar I defined, but there is the work around of using usart_send_string directly | 11:54 |
paddatrapper | and ISO trafser is more pressing | 11:54 |
mithro | paddatrapper: What did you do to debug? | 11:55 |
paddatrapper | mithro: monitor serial and write to I/O pins in the putchar function, neither showed output | 11:56 |
mithro | paddatrapper: Did you look at if your putchar is getting linked into the output? | 11:56 |
paddatrapper | mithro: how do I do that? | 11:57 |
mithro | Look at the .lst and similar files | 11:59 |
paddatrapper | Ok, what am I looking for, mention of putchar? | 12:00 |
paddatrapper | mithro: I can find mentions of _printf, but they are all lcalls, with no associated assembly | 12:06 |
mithro | paddatrapper: Where is your example? | 12:09 |
paddatrapper | mithro: I'm using https://github.com/paddatrapper/HDMI2USB-fx2-firmware/tree/audio-data | 12:10 |
tpb | Title: GitHub - paddatrapper/HDMI2USB-fx2-firmware at audio-data (at github.com) | 12:10 |
paddatrapper | building from the audio directory | 12:11 |
paddatrapper | mithro: I'm following the video firmware's example, using soft_putchar(..) (softserial.c), and #define putchar soft_putchar in the firmware.c source | 12:15 |
mithro | paddatrapper: So I think it must be broken in the hdmi2usb firmware | 12:18 |
mithro | paddatrapper: the #defines have to be *before* you include stdio.h | 12:19 |
paddatrapper | mithro: that is my though too | 12:19 |
paddatrapper | mithro: tried that too, with no change | 12:19 |
mithro | audio.map: 00000017 _vprintf_PARM_2 vprintf | 12:21 |
mithro | paddatrapper: So you also need to make sure you are not linking in fx2lib/lib/serial.c code | 12:22 |
paddatrapper | mithro: unfortunately I have to, need to call sio0_init(57600) from serial.h, otherwise I get a descriptor read error when the device reconnects | 12:24 |
mithro | paddatrapper: Then there is something in sio0_init which is needed elsewhere.... | 12:26 |
mithro | paddatrapper: I replaced the `soft_` names in soft_serial.{c,h} with nothing | 12:28 |
mithro | Then I get | 12:28 |
mithro | audio.map:C: 00000C4C _sio0_init softserial | 12:29 |
mithro | audio.map:C: 00000C4F _putchar softserial | 12:29 |
mithro | audio.map:C: 00000C61 _getchar softserial | 12:29 |
mithro | audio.map:softserial.rel [ ] | 12:29 |
mithro | Before that I get | 12:29 |
mithro | audio.map:C: 00000C4C _soft_sio0_init softserial | 12:29 |
mithro | audio.map:C: 00000C4F _soft_putchar softserial | 12:29 |
mithro | audio.map:C: 00000C61 _soft_getchar softserial | 12:29 |
mithro | audio.map:C: 00002243 _sio0_init serial | 12:29 |
mithro | audio.map:C: 000022F9 _getchar serial | 12:29 |
mithro | audio.map:C: 00002302 __transchar serial | 12:29 |
mithro | audio.map:C: 0000230C _putchar serial | 12:29 |
paddatrapper | mithro: is that with removing the sio0_init call? | 12:30 |
mithro | Well, the sio0_init call is going to the softserial version now.... | 12:30 |
mithro | I haven't actually tested :-P | 12:31 |
paddatrapper | Just tested and got the descriptors as expected... | 12:31 |
paddatrapper | And the serial output | 12:31 |
paddatrapper | mithro: thanks, it now works :) | 12:32 |
mithro | paddatrapper: You'll probably need to look at the .map stuff reasonable frequently :-P | 12:34 |
paddatrapper | mithro: ok, I shall keep it in mind then | 12:34 |
paddatrapper | mithro: any idea why we always return false to a get descriptor request? | 12:39 |
paddatrapper | https://github.com/paddatrapper/HDMI2USB-fx2-firmware/blob/audio-data/audio/audiodata.c#L78 | 12:39 |
tpb | Title: HDMI2USB-fx2-firmware/audiodata.c at audio-data · paddatrapper/HDMI2USB-fx2-firmware · GitHub (at github.com) | 12:39 |
mithro | paddatrapper: False means we didn't handle the request | 12:40 |
mithro | paddatrapper: So returning false means that the code in setupdat.c will handle the request | 12:40 |
paddatrapper | mithro: Ah ok cool | 12:41 |
mithro | paddatrapper: https://github.com/mithro/fx2lib/blob/master/lib/setupdat.c#L90-L93 | 12:41 |
tpb | Title: fx2lib/setupdat.c at master · mithro/fx2lib · GitHub (at github.com) | 12:41 |
mithro | rohit: https://lwn.net/Articles/727279/ | 13:17 |
tpb | Title: ADV748x HDMI/Analog video receiver [LWN.net] (at lwn.net) | 13:17 |
mithro | https://lwn.net/Articles/727353/ is kind of interesting too... | 13:33 |
tpb | Title: Synopsys Designware HDMI Video Capture Controller + PHY [LWN.net] (at lwn.net) | 13:33 |
mithro | Well that is me for the night | 13:47 |
mithro | paddatrapper: Need anything from me before I go? | 13:47 |
paddatrapper | mithro: sorry, was dragged away, but nope | 14:19 |
*** [d__d] has quit IRC | 15:40 | |
cr1901_modern | mithro: Correct; for certain SRAM sizes, once the CPU started looping it would go into the weeds. I never did figure out why. | 16:16 |
*** puck has quit IRC | 17:32 | |
*** puck has joined #timvideos | 17:36 | |
*** [d__d] has joined #timvideos | 17:39 | |
*** techman83 has quit IRC | 22:00 | |
*** techman83 has joined #timvideos | 22:01 | |
*** ChanServ sets mode: +v techman83 | 22:01 | |
jea | xfxf: ping | 23:12 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!