*** tpb has joined #timvideos | 00:00 | |
mithro | xfxf / CarlFK: IE Permanently put new firmware onto the board | 03:32 |
---|---|---|
shenki | mithro: which tree should i be using? | 04:42 |
mithro | shenki: well, I haven't rebased my or1k stuff recently | 04:42 |
mithro | shenki: are you planning on using the Atlys/Opsis or the minispartan6+? | 04:43 |
shenki | mithro: minispartan6 | 04:43 |
shenki | because i can have it on the couch with me | 04:43 |
mithro | shenki: well, do you want to start with trying to replicate our stuff? | 04:46 |
mithro | shenki: actually, do you want to start with fixing that framebuffer problem in our current firmware? | 04:49 |
shenki | ok | 04:49 |
shenki | mithro: so i can use master for that? | 04:49 |
mithro | shenki: Well, you should be able to do that without any hardware right? It's just about making the .elf output correct? | 04:50 |
shenki | true | 04:50 |
mithro | but I just pushed my latest stuff at https://github.com/mithro/HDMI2USB-misoc-firmware/tree/shenki-minispartan6%2B | 04:50 |
tpb | Title: GitHub - mithro/HDMI2USB-misoc-firmware at shenki-minispartan6+ (at github.com) | 04:50 |
mithro | shenki: so you could try downloading that and seeing if it builds and runs on your minispartan6+ | 04:51 |
shenki | ok | 04:51 |
mithro | shenki: My hack to fix the frame buffer problem - https://github.com/mithro/HDMI2USB-misoc-firmware/commit/fdc75b43285f5d3ca2bea960102d1f31531d7078 | 04:54 |
tpb | Title: firmware/lm32: Move the framebuffers down. · mithro/HDMI2USB-misoc-firmware@fdc75b4 · GitHub (at github.com) | 04:54 |
mithro | _florent_: It really does look like it's either the ethernet or jpeg encoder which is causing the routing problems | 04:55 |
*** Bertl_zZ is now known as Bertl_oO | 04:58 | |
mithro | shenki: I'm going to see if HDMI out works | 04:59 |
mithro | shenki: if HDMI out works, then I'm happy to merge the minispartan6+ support and flip to trying to get the or1k working | 04:59 |
mithro | shenki: after the or1k stuff, I think I'm going to go back to doing the ISE determinism hacks and then the timing refactor stuff | 05:01 |
shenki | cool | 05:02 |
mithro | well, my screen detects some type of signal - but is saying "not supported" | 05:04 |
shenki | progress! | 05:04 |
mithro | I think this means that the signal being output is incorrect | 05:05 |
mithro | Actually - this makes sense because I did some "incorrect" hacks to the HDMI core to get it to even compile | 05:06 |
mithro | xfxf: ping? | 05:11 |
* mithro looks in the logs for how _florent_ mentioned to fix it properly | 05:15 | |
mithro | shenki: any luck in getting that to build? | 05:15 |
shenki | mithro: yeah, a few false starts | 05:18 |
shenki | mithro: xilinx is doing it's thing now | 05:18 |
mithro | shenki: It should take less than 5 minutes | 05:24 |
shenki | mithro: http://pastebin.com/raw/xxpPfauF | 05:24 |
mithro | https://goo.gl/photos/UdjnEF2YPRnryGbE9 | 05:24 |
shenki | ok, i think that's coz it tried to do a parrelel make | 05:24 |
shenki | mithro: nice | 05:25 |
mithro | shenki: It looks better on the video then in real life | 05:25 |
shenki | :) | 05:25 |
mithro | shenki: That output is very weird | 05:25 |
shenki | mithro: once i power cycle, what's the command to fire up flterm? | 05:26 |
mithro | shenki: Did you fix the "Error: libusb_claim_interface() failed with LIBUSB_ERROR_BUSY | 05:26 |
mithro | Error: unable to open ftdi device with vid 0403, pid 6010, description '*' and serial '*'" error? | 05:26 |
shenki | mithro: yeah, by doing 'make -j1' | 05:26 |
mithro | oh | 05:27 |
mithro | Nothing in our makefile is safe for usage with "make -jX" where X > 1 | 05:27 |
shenki | yeah | 05:27 |
shenki | we should disable that in the makefile | 05:27 |
shenki | ive got ccontrol installed, so it defaults to -j4 whenever i a | 05:27 |
shenki | am | 05:27 |
mithro | How do we do that? | 05:27 |
mithro | Changing to 800x600 seems to make the output more stable | 05:28 |
shenki | http://www.gnu.org/software/make/manual/make.html#index-_002eNOTPARALLEL | 05:28 |
tpb | Title: GNU make (at www.gnu.org) | 05:28 |
mithro | oh | 05:28 |
mithro | .ONESHELL | 05:29 |
mithro | that would be good | 05:29 |
shenki | that is a handy option | 05:29 |
shenki | mithro: so how do i bring up flterm without having it load the firmwrae? | 05:29 |
mithro | shenki: after booting you can either hit the push button or type "reboot" and then hit "s" to load via serial | 05:30 |
mithro | shenki: I haven't added anything like "make flash-clear" yet | 05:31 |
shenki | ok | 05:31 |
shenki | mithro: built: Apr 16 2016 14:51:18 | 05:32 |
shenki | -- | 05:32 |
shenki | is it supposed to stop at that -- ? | 05:32 |
mithro | shenki: no | 05:32 |
mithro | it should stop at a HDMI2USB> prompt | 05:32 |
shenki | ok | 05:32 |
mithro | If you hit enter a couple of times what happens? | 05:33 |
shenki | this doesn't have the hdmi device blatting over the firwmare, does it? | 05:33 |
shenki | yeah | 05:33 |
mithro | shenki: shouldn't | 05:33 |
mithro | shenki: well, it will be blating over stuff, just above were the firmware is being loaded | 05:34 |
mithro | shenki: Can you pastebin the output | 05:34 |
shenki | mithro: http://pastebin.com/raw/RVfgYhjM | 05:35 |
shenki | mithro: it does it at different points each time i loda | 05:35 |
shenki | both when i load from flash, and from serial | 05:36 |
mithro | wtf? | 05:36 |
shenki | mithro: ok, flashboot just got to a prompt | 05:36 |
shenki | but it's not reliable | 05:36 |
shenki | HDMI2USB>reboot | 05:36 |
shenki | MiSoC BIOS http://m-labs.hk | 05:36 |
shenki | (c) Copyright 2007-2014 Sebastien Bourdeauducq | 05:36 |
shenki | Revision 61a14086 built Apr 16 2016 14:46:50 | 05:36 |
shenki | BIOS CRC passed (ffdd022c) | 05:36 |
tpb | Title: M-Labs » open source experimental physics (at m-labs.hk) | 05:36 |
shenki | Running on MiSoC rev. 61a14086 (sysid:UN) at 80MHz | 05:36 |
shenki | Initializing SDRAM... | 05:36 |
shenki | Memtest failed: 5/532736 words incorrect | 05:36 |
shenki | Memory initialization failed | 05:36 |
shenki | BIOS> | 05:36 |
mithro | shenki: can you power cycle the board and then connect to it really quickly so you get the full booting? | 05:37 |
shenki | serialboot just worked | 05:38 |
shenki | this is from a fresh plugin: | 05:39 |
shenki | [FLTERM] Starting... | 05:39 |
shenki | MiSoC BIOS http://m-labs.hk | 05:39 |
shenki | (c) Copyright 2007-2014 Sebastien Bourdeauducq | 05:39 |
shenki | Revision 61a14086 built Apr 16 2016 14:46:50 | 05:39 |
tpb | Title: M-Labs » open source experimental physics (at m-labs.hk) | 05:39 |
shenki | BIOS CRC passed (ffdd022c) | 05:39 |
shenki | Running on MiSoC rev. 61a14086 (sysid:UN) at 80MHz | 05:39 |
shenki | Initializing SDRAM... | 05:39 |
shenki | Memtest failed: 33/532736 words incorrect | 05:39 |
shenki | Memory initialization failed | 05:39 |
mithro | Yeah, doing "reboot" doesn't seem to be working here either | 05:40 |
mithro | what B= and T= are you using? | 05:40 |
shenki | (H2U B=minispartan6 T=base) | 05:41 |
mithro | okay | 05:44 |
mithro | does it always work from pressing the reset button? | 05:44 |
mithro | you should be able to press it while still being connected | 05:44 |
shenki | same output | 05:46 |
shenki | Initializing SDRAM... | 05:46 |
shenki | Memtest failed: 33/532736 words incorrect | 05:46 |
shenki | Memory initialization failed | 05:46 |
mithro | shenki: how often does it work verse fail? | 05:47 |
shenki | flashboot then gets me to a prompt | 05:47 |
mithro | shenki: does the memtest *always* fail? | 05:47 |
shenki | some corruption in the text: ---------------------�-------------------------� | 05:47 |
shenki | mithro: yeah, it appears so | 05:47 |
mithro | shenki: can you do a "make clean; make gateware" again? | 05:47 |
shenki | yup | 05:48 |
mithro | shenki: I think there are some missing timing constraints or something here | 05:50 |
mithro | can you check what it says the "maximum frequency" of the design is? | 05:50 |
mithro | shenki: It seems like about 50% of the time it produces non-working gateware | 05:53 |
shenki | Minimum period: 11.430ns (Maximum frequency: 87.489MHz) | 05:53 |
mithro | that looks pretty good | 05:54 |
shenki | crashed first go | 05:55 |
mithro | crashed? | 05:55 |
shenki | built: Apr 16 2016�15:16:28 | 05:55 |
shenki | ----------------------------------------------- | 05:55 |
shenki | � | 05:55 |
shenki | froze there | 05:55 |
mithro | did memtest fail? | 05:56 |
shenki | i loaded using jtag, so the console wasn't up | 05:56 |
mithro | memtest shouldn't fail, if it does there is no point going any further | 05:56 |
shenki | i will flash and try | 05:56 |
mithro | I believe you can have the console up while flashing on the minispartan | 05:56 |
shenki | does reset clear the gwateware, or just reset the system? | 05:56 |
mithro | just reset the system | 05:57 |
shenki | it appears it clears the contents of the fpga | 05:58 |
shenki | when i reset the old gateware version came up in the bios | 05:58 |
shenki | flashed, now it's new | 05:58 |
shenki | Memtest failed: 25/532736 words incorrect | 05:58 |
shenki | Memory initialization failed | 05:58 |
shenki | still failing | 05:58 |
mithro | shenki: so, you did a "make flash" then pulled the USB plug out of the board and plugged it back in? | 05:59 |
shenki | nah, tapped the reset button | 05:59 |
mithro | you can't do that | 06:00 |
shenki | in what sense? | 06:00 |
shenki | it ran the new gateware - the version changed | 06:00 |
mithro | you have to full power cycle it after the flash for some reason at the moment | 06:00 |
shenki | evidence here says otherwise | 06:01 |
shenki | anyway, i pulled it out and it has the same behaviour | 06:01 |
mithro | shenki: that doesn't work here | 06:01 |
mithro | but my memtest does | 06:01 |
shenki | strange | 06:01 |
mithro | shenki: do all your minispartan6+ LEDs come on during the "make flash" ? | 06:02 |
shenki | yes | 06:02 |
mithro | shenki: This is why I want to work on the determinism stuff :) | 06:02 |
shenki | mmm | 06:03 |
mithro | can you upload your .log file somewhere? | 06:03 |
mithro | shenki: oh, and what is your git revision number? | 06:04 |
mithro | shenki: Hrm, the reset button appears to be working in the spi flashing mode now - I tested that multiple times and it *definately* didn't work before!? | 06:06 |
mithro | shenki: your revision number if your logs above looks wrong? | 06:07 |
mithro | shenki: should be 46aa77d69700929e0eb9fc35019bfb586780ed44 or ad0ae48d915ba925cd94b8af6c308a9b0feee82d | 06:07 |
mithro | shenki: poke? | 06:14 |
mithro | shenki: any idea how I test the .NOTPARALLEL thing? | 06:18 |
_florent_ | mithro: nice for the video output, you are probably very close. It seems the DMA is not correctly synchronized with the VTG | 06:23 |
mithro | _florent_: Yeah | 06:23 |
mithro | _florent_: It seems pretty stable on 800x600 but there is some minor corruption on the output | 06:23 |
_florent_ | maybe that's the sdram that is not fast enough with there is the synchronization issue | 06:24 |
_florent_ | I'm just passing bye, I won't be there this weekend | 06:24 |
mithro | _florent_: yeah - I would have thought that it would cause lots of fifo error output on the console | 06:25 |
mithro | but I'm not seeing any | 06:25 |
_florent_ | I'm not sure video output is printing some console message in case of underflow | 06:25 |
_florent_ | It can be worth adding that | 06:25 |
mithro | Ahh, was it only for video input? | 06:26 |
_florent_ | yes I think we only have overflow message for video input | 06:26 |
* mithro ponders what happened to shenki | 06:27 | |
mithro | eat by a couch maybe :P | 06:27 |
_florent_ | btw I almost got hdmi2usb working with my opsis-soc repo | 06:28 |
_florent_ | just need to do some fix | 06:28 |
mithro | _florent_: okay | 06:28 |
_florent_ | I have to go, good hacking! | 06:28 |
mithro | _florent_: have a good weekend | 06:29 |
*** tija has joined #timvideos | 08:13 | |
mithro | well, heading to find some dinner | 09:07 |
mithro | bblr | 09:07 |
mithro | shenki: I figured out my confusion | 11:10 |
mithro | shenki: the button on the pipistrello doesn't reset the device | 11:11 |
mithro | it looks identical to the minispartan6 button | 11:11 |
mithro | tija: can you take a look at https://github.com/enjoy-digital/litejpeg/pull/2 ? | 11:11 |
tpb | Title: Reduced stages in RGB2YCbCr Module by Vikram9866 · Pull Request #2 · enjoy-digital/litejpeg · GitHub (at github.com) | 11:11 |
tija | Okay. | 11:28 |
*** Andrew____ has joined #timvideos | 11:57 | |
mithro | Hi Andrew____ | 12:18 |
*** Andrew____ has quit IRC | 12:23 | |
xfxf | mithro: delayed ack | 12:28 |
mithro | xfxf: How are things going? | 13:33 |
CarlFK | god dam firewire still pissing me off... | 15:11 |
CarlFK | because I want to bring a camera to Sheila's parents, and I won't be able to get it from the camera to my laptop... even if I record to tape first (that seemed like a solution) | 15:12 |
*** tija has quit IRC | 15:19 | |
mithro | shenki: I have a present for you tomorrow | 16:50 |
*** CarlFK has quit IRC | 18:25 | |
*** Bertl_oO is now known as Bertl_zZ | 18:39 | |
*** ssk1328 has joined #timvideos | 20:45 | |
*** ssk1328 has quit IRC | 23:38 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!