*** tpb has joined #timvideos | 00:00 | |
mithro | shenki: I brought my miniSpartan6+ into work today. Will have a play and see if I can repo. | 00:25 |
---|---|---|
mithro | shenki: Can you delete some of the branches in your repository that you don't need? | 00:26 |
shenki | mithro: ok | 00:40 |
shenki | mithro: you want the ms6 branch | 00:40 |
mithro | shenki: I'm think going to rebase your ms6 stuff onto master without the or1k stuff so we can merge that sooner? | 00:41 |
shenki | if you want | 00:41 |
shenki | hang on, give me a sec | 00:41 |
shenki | i havne't pushed the latest | 00:41 |
shenki | mithro: ok, done https://github.com/shenki/HDMI2USB-misoc-firmware/branches | 01:10 |
tpb | Title: Branches · shenki/HDMI2USB-misoc-firmware · GitHub (at github.com) | 01:10 |
shenki | mithro: when are you going to merge the or1k patches? | 01:11 |
shenki | mithro: some of the cleanups there are good | 01:14 |
mithro | shenki: no idea | 01:33 |
mithro | shenki: also have to merge the opsis-timing branch too | 01:33 |
shenki | mithro: ok. i will buy a power supply for my opsis today, and test the branches on there tonight | 01:35 |
shenki | mithro: if the hdmi functioanltiy still works, I suggest we merge them in? | 01:36 |
shenki | no need to waste your cycles maintaining a branch | 01:36 |
mithro | shenki: That is a good question, I haven't really done any extensive testing | 01:36 |
*** micolous has quit IRC | 02:16 | |
*** micolous has joined #timvideos | 02:31 | |
mithro | shenki: https://tingcao.wordpress.com/2011/10/17/configure-fpgaspi-flash-to-run-linux-on-lx9-microboard-part-1-preparation/ | 03:19 |
mithro | shenki: lots of stuff in https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/236 | 03:20 |
tpb | Title: Store the lm32 firmware in SPI flash (after the gateware) · Issue #236 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 03:20 |
shenki | mithro: do we want to use the xilinx tools to create the spi image? | 03:26 |
mithro | shenki: no | 03:26 |
shenki | ok | 03:27 |
mithro | shenki: was more interested in the first couple of bits | 03:28 |
shenki | ok | 03:28 |
shenki | im familair with that stuff | 03:28 |
shenki | does your PR 248 work? | 03:28 |
mithro | shenki: no, otherwise I would merge it :P | 03:35 |
shenki | k | 03:44 |
mithro | shenki: I fix your rebase at https://github.com/mithro/HDMI2USB-misoc-firmware/tree/shenki-minispartan6%2B | 03:57 |
tpb | Title: GitHub - mithro/HDMI2USB-misoc-firmware at shenki-minispartan6+ (at github.com) | 03:57 |
shenki | mithro: cool | 04:11 |
shenki | mithro: what did you change? | 04:11 |
mithro | shenki: mainly fix your changes to be to "Makefile.lm32" rather than "Makefile.softcpu" | 04:12 |
shenki | ah yep | 04:12 |
mithro | shenki: just trying to see if I can get the spi flash on the minispartan6+ | 04:22 |
mithro | cr1901_modern: ping? | 04:23 |
mithro | Ahh - this is what I think I'm missing -> https://github.com/m-labs/artiq/blob/590bedbd1edaa7a7acca2b705f451c7c54da27f7/artiq/runtime/Makefile#L27 | 04:41 |
tpb | Title: artiq/Makefile at 590bedbd1edaa7a7acca2b705f451c7c54da27f7 · m-labs/artiq · GitHub (at github.com) | 04:41 |
shenki | needs more fbi? | 04:57 |
mithro | fbi adds the CRC and length bits | 05:10 |
*** se6astian|away is now known as se6astian | 07:03 | |
*** Bertl_oO is now known as Bertl_zZ | 07:21 | |
cr1901_modern | mithro: pong (just woke up) | 07:45 |
mithro | cr1901_modern: trying to get the spi flash working on the minispartan6+ | 07:49 |
mithro | cr1901_modern: I'm assuming you haven't done anything with that so far? | 07:49 |
cr1901_modern | You mean in terms of a the CPU using it as the ROM address space, or just "storing the bitstream" | 07:50 |
mithro | cr1901_modern: as in using it for storage, yes | 07:50 |
cr1901_modern | No, I didn't get that far yet. A bit curious it doesn't work "out of the box" though | 07:50 |
mithro | cr1901_modern: have you had any experiance with it before? | 07:55 |
mithro | at the moment I'm just having trouble getting it to read anything resembling the stuff I've used openocd to write too | 07:55 |
mithro | ooooo - I think it almost just worked on the Atlys.... | 07:57 |
cr1901_modern | Well, I have gotten a bitstream to successfully write to the flash. | 07:57 |
cr1901_modern | mithro: I do remember having some trouble initially writing to the device at all. Right now, my minispartan6+'s flash has the Migen blinky code on it. | 08:00 |
_florent_ | mithro: if you need help with the SPI flash I can have a look (just need to know what code you are testing) | 09:08 |
mithro | Well, I've gotten the spi flash to work on the Atlys board | 12:06 |
mithro | Turns out that I was putting the SPI flash and LiteEth at the same memory location on that board | 12:08 |
mithro | _florent_: Why do you do " self.add_memory_region("ethmac", self.mem_map["ethmac"]+self.shadow_base, 0x2000)" ? | 12:10 |
*** Bertl_zZ is now known as Bertl | 12:14 | |
*** ssk1328 has joined #timvideos | 12:34 | |
mithro | shenki / _florent_: Think I have the SPI flash working on the minispartan6!? | 12:47 |
mithro | _florent_: the memtest failures on the Atlys are back... | 12:56 |
mithro | shenki: working firmware boot on the minispartan6 from flash! | 13:28 |
mithro | shenki: https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/249 | 13:30 |
tpb | Title: WIP: Getting the minispartan6+ working by mithro · Pull Request #249 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 13:30 |
*** ssk1328 has quit IRC | 13:31 | |
mithro | shenki: I'm unsure how to get the values out of the targets file needed for the openocd flash command | 13:31 |
mithro | shenki: can you try and repo this work when you get a chance | 13:39 |
CarlFK | mithro: I am going to try vocto with atlys and opsis - lightning talks at ps1 in 11 hours | 13:56 |
_florent_ | mithro: I'm doing the self.add_memory_region just to define the region. It's probably only used to generate the mem.h | 13:56 |
CarlFK | no one is expecting video, so it is ok if it flops. | 13:57 |
*** rohitksingh has joined #timvideos | 13:57 | |
CarlFK | mithro: I see 9 builds? for today in HDMI2USB-firmware-prebuilt/archive/master | 14:00 |
CarlFK | mithro: (or anyone) anything you recommend i use or avoid? | 14:01 |
*** rohitksingh1 has joined #timvideos | 14:05 | |
*** rohitksingh has quit IRC | 14:05 | |
*** rohitksingh1 has quit IRC | 14:21 | |
mithro | _florent_: Why are you doing the self.shadow_base bit ? | 14:29 |
shenki | mithro: nice work! | 14:33 |
shenki | mithro: ive got native v6 at home now too | 14:33 |
shenki | $ traceroute6 google.com | 14:33 |
shenki | traceroute to google.com (2404:6800:4006:803::200e) from 2403:480:11:10:d469:3f21:89fd:edc0, 30 hops max, 24 byte packets 1 2403-0480-0011-0010-0000-0000-0000-0001.ipv6.sa.cust.unitiwireless.com (2403:480:11:10::1) 1.343 ms 1.174 ms 1.122 ms 2 ether5-bdr2-adl1.lns1.adl1.unitiwireless.com (2403:480:0:100::1) 4.62 ms 11.77 ms 17.378 ms | 14:33 |
shenki | 3 ether11-lns-adl1.bdr1.adl1.unitiwireless.com (2403:4804:0:102::2) 12.234 ms 3.951 ms 4.91 ms 4 c-110054-5602-VAIES-515-543.pr1.adel.nxg.net.au (2401:1c00:5000:4::1) 38.265 ms 12.286 ms 6.684 ms 5 s-pr1-adel-1.br1.glbl.nxg.net.au (2401:1c00:0:300::578) 24.119 ms 27.239 ms 34.124 ms 6 c-20031-21-VAIES-915-348.cust.nxg.net.au (2401:1c00:2000:7::2) 23.962 ms 23.483 ms 30.126 ms | 14:33 |
shenki | 7 2001:4860:0:1:1e7 (2001:4860:0:1::1e7) 23.398 ms 30.035 ms 3 1.022 ms 8 2001:4860:0:1::1781 (2001:4860:0:1::1781) 32.116 ms 28.215 ms 24.425 ms 9 syd09s12-in-x0e.1e100.net (2404:6800:4006:803::200e) 32.869 ms 24.557 ms 28.749 ms | 14:33 |
shenki | eww, hat didn't paste so well | 14:33 |
shenki | sorry | 14:33 |
mithro | shenki: who is that with? | 14:35 |
*** rohitksingh has joined #timvideos | 14:36 | |
mithro | The firmware freezes after the version info is output. But I think that is because of something in the C code | 14:37 |
shenki | mithro: uniti | 14:37 |
_florent_ | mithro, I'm sure I used to know but I don't remember now | 14:37 |
shenki | mithro: wireless (wifi) isp in adelaide | 14:37 |
mithro | _florent_: ha :-P | 14:38 |
mithro | What is with the shadow stuff? Is that too avoid the l2 cache or something? | 14:39 |
mithro | shenki: I didn't test serialboot | 14:40 |
_florent_ | sb0: do you remember why we have the "| 0x80000000" when declaring the memory_region? | 14:40 |
mithro | shenki: but it's kind of nice that you can just flash new firmware without rebuilding the gateware | 14:42 |
*** CarlFK has quit IRC | 14:43 | |
cr1901_modern | Incidentally, we definitely access CSR peripherals in the shadow region instead of their real addresses... | 14:44 |
mithro | Next thing to get working on the minispartan is the HDMI output | 14:46 |
shenki | mithro: nice | 14:47 |
shenki | well, for me it's getting some more complicated software booting | 14:47 |
shenki | like the kenrel | 14:47 |
shenki | mithro: how much flash do we have? | 14:47 |
mithro | I put it in a comment somewhere | 14:48 |
cr1901_modern | According to _florent_, the minispartan's SDRAM speed is bad, so we're only gonna get like 640x480 HDMI output | 14:48 |
*** CarlFK has joined #timvideos | 14:48 | |
*** ChanServ sets mode: +v CarlFK | 14:48 | |
_florent_ | maybe more with YCBCR 4:2:2 | 14:48 |
cr1901_modern | _florent_: Did you do theoretical calculations? | 14:49 |
mithro | I wonder if we can over clock :-P | 14:49 |
cr1901_modern | Probably... | 14:49 |
_florent_ | what the frequency of the ms6 SoC? | 14:50 |
cr1901_modern | 80 MHz, but I meant simply at the max speed the SDRAM supports, which is 133MHz? | 14:51 |
mithro | 80 MHz | 14:51 |
mithro | Having a 640*480 development device that fits in your pocket ain't bad | 14:52 |
mithro | shenki: pretty sure you should be able to fit a Linux kernel and small initrd | 14:53 |
mithro | Enough to get the SD card up and running | 14:53 |
_florent_ | OK so we should have around 1Gbps of bandwidth on the SDRAM | 14:53 |
shenki | mithro: k | 14:53 |
_florent_ | 1280x720@30fps is 442Mbps with ycbcr4:2:2 | 14:53 |
cr1901_modern | 640*480 is enough for anything I want to do with HDMI (old CRT emulation) | 14:54 |
_florent_ | so it should be enough for in and out | 14:54 |
mithro | Does uboot add anything? | 14:54 |
shenki | no | 14:54 |
* shenki us currently doing a uboot upstream for the aspeed | 14:54 | |
shenki | our "uboot" is the bios | 14:55 |
sb0 | _florent_, to disable cache | 14:55 |
_florent_ | sb0: ok thanks! | 14:55 |
mithro | _florent_: any reason not to do 420 rather then 422? | 14:57 |
mithro | sb0: from what I can see - with the spi flash you could execute directly from it (but probably quite slowly?) and that is what happens when using the BIOS in spi flash? | 14:59 |
mithro | shenki: this was only the lm32 not the or1k btw | 15:04 |
mithro | Anyway bed time | 15:05 |
mithro | Good night everyone. | 15:05 |
shenki | night | 15:07 |
*** CarlFK has quit IRC | 15:11 | |
*** CarlFK has joined #timvideos | 15:12 | |
*** ChanServ sets mode: +v CarlFK | 15:12 | |
*** rohitksingh has quit IRC | 15:17 | |
*** rohitksingh has joined #timvideos | 15:22 | |
*** rohitksingh has quit IRC | 15:32 | |
sb0 | mithro, yes. but there is the cpu cache that makes it less slow. | 16:09 |
xfxf | mithro: on Mar 16, 2016 you put a post up on hdmi2usb.tv that said "A further backer update will be released within 30 days with more information." | 16:10 |
xfxf | has this been done? if not, a reminder :) | 16:10 |
xfxf | (re the HDMI cable/amp issue) | 16:10 |
CarlFK | xfxf: hey! ... any idea how to load updated firmware into the Opsis? | 16:13 |
xfxf | not something i've done since LCA, sorry | 16:13 |
CarlFK | did you even do it? | 16:13 |
xfxf | i did, yeah | 16:13 |
xfxf | i even patched the firmware | 16:13 |
xfxf | one or two bytes of change | 16:13 |
xfxf | woo | 16:13 |
CarlFK | I never even watched. any idea where I should look for clues? | 16:13 |
xfxf | i don't recall off the top of my head | 16:14 |
CarlFK | yeah, I want that patch | 16:14 |
xfxf | oh the gamma one? | 16:14 |
CarlFK | yes | 16:14 |
xfxf | right | 16:14 |
CarlFK | well, i want to know how to put it on the Opsis | 16:14 |
xfxf | oh, i was going to say, i was going to just look at the bash history on the laptop i did it on | 16:14 |
xfxf | but i no longer own it | 16:14 |
xfxf | (i sold it and bought an i7 thinkpad yoga) | 16:14 |
xfxf | i'm meant to be recording an event tomorrow so it's something i am going to be looking at in the next ~16 hrs | 16:15 |
xfxf | but about to go to bed (2am here) | 16:15 |
CarlFK | I have 3 or 4 tabs open around here that mithro pointed me at ... but none looked very.. useful ;/ | 16:15 |
xfxf | i remember you had to put the thing into a different mode to flash it | 16:15 |
CarlFK | lol - am going to be doing some hackerspace lightning talks in 8 hours... | 16:15 |
xfxf | memory fuzzy, sorry | 16:15 |
CarlFK | so any few moments you can give me once you wake up.. I know.. jobs and all | 16:16 |
xfxf | i won't remember much until i attempt again | 16:16 |
xfxf | i'll likely try tomorrow morning | 16:16 |
xfxf | i.e. in ~8-10 hrs | 16:16 |
CarlFK | that would be great - | 16:16 |
xfxf | which doesn't help you sorry :( | 16:16 |
CarlFK | yeah, you wake up about the time talks start | 16:17 |
CarlFK | no biggie | 16:17 |
CarlFK | it is more to test vocto | 16:17 |
xfxf | did you see the gsoc proposal for hardware mixing? | 16:18 |
*** rohitksingh has joined #timvideos | 16:22 | |
*** ssk1328 has joined #timvideos | 17:08 | |
*** Bertl is now known as Bertl_oO | 17:24 | |
*** rohitksingh has quit IRC | 17:42 | |
*** rohitksingh has joined #timvideos | 17:57 | |
*** Guest72252 has quit IRC | 18:04 | |
*** aps has joined #timvideos | 18:09 | |
*** aps is now known as Guest84805 | 18:09 | |
*** ssk1328 has quit IRC | 18:29 | |
*** se6astian is now known as se6astian|away | 18:35 | |
*** ssk1328 has joined #timvideos | 18:44 | |
*** se6astian|away is now known as se6astian | 19:03 | |
*** ssk1328 has quit IRC | 19:45 | |
*** se6astian is now known as se6astian|away | 21:45 | |
mithro | CarlFK: I've been adding spi flash support to the firmware | 22:59 |
CarlFK | mithro: any chance it will mess things up? | 23:00 |
mithro | CarlFK: that should mean we have a "make flash" in the makefile | 23:00 |
mithro | CarlFK: depends what you mean? Any chance you flash bad firmware, yes quite a big one. Any chance you make your board unrecoverable, pretty minimal. | 23:02 |
CarlFK | mithro: I just use what is in ~/HDMI2USB-firmware-prebuilt/archive/master/v0.0.0-639-g956a8b3/atlys/hdmi2usb - most recent dir | 23:02 |
CarlFK | what about hdmi capture/encoding ? | 23:02 |
mithro | What you mean? | 23:02 |
CarlFK | in 2 or so hours I am recording some talks - | 23:03 |
CarlFK | should I worry that the hdmi capture doesn't work | 23:04 |
CarlFK | mithro: I am not touching the Opsis - I will use whatever it shipped with. the Atlys I bring up with openocd...atlys_hdmi2usb-hdmi2usbsoc-atlys.bit and fxload...hdmi2usb.hex | 23:05 |
mithro | Brb | 23:06 |
CarlFK | off to ps1 to run vocto woo! | 23:47 |
CarlFK | bye | 23:47 |
*** CarlFK has quit IRC | 23:47 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!