Tuesday, 2016-04-12

*** tpb has joined #timvideos00:00
mithroshenki: I brought my miniSpartan6+ into work today. Will have a play and see if I can repo.00:25
mithroshenki: Can you delete some of the branches in your repository that you don't need?00:26
shenkimithro: ok00:40
shenkimithro: you want the ms6 branch00:40
mithroshenki: I'm think going to rebase your ms6 stuff onto master without the or1k stuff so we can merge that sooner?00:41
shenkiif you want00:41
shenkihang on, give me a sec00:41
shenkii havne't pushed the latest00:41
shenkimithro: ok, done https://github.com/shenki/HDMI2USB-misoc-firmware/branches01:10
tpbTitle: Branches · shenki/HDMI2USB-misoc-firmware · GitHub (at github.com)01:10
shenkimithro: when are you going to merge the or1k patches?01:11
shenkimithro: some of the cleanups there are good01:14
mithroshenki: no idea01:33
mithroshenki: also have to merge the opsis-timing branch too01:33
shenkimithro: ok. i will buy a power supply for my opsis today, and test the branches on there tonight01:35
shenkimithro: if the hdmi functioanltiy still works, I suggest we merge them in?01:36
shenkino need to waste your cycles maintaining a branch01:36
mithroshenki: That is a good question, I haven't really done any extensive testing01:36
*** micolous has quit IRC02:16
*** micolous has joined #timvideos02:31
mithroshenki: https://tingcao.wordpress.com/2011/10/17/configure-fpgaspi-flash-to-run-linux-on-lx9-microboard-part-1-preparation/03:19
mithroshenki: lots of stuff in https://github.com/timvideos/HDMI2USB-misoc-firmware/issues/23603:20
tpbTitle: Store the lm32 firmware in SPI flash (after the gateware) · Issue #236 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)03:20
shenkimithro: do we want to use the xilinx tools to create the spi image?03:26
mithroshenki: no03:26
shenkiok03:27
mithroshenki: was more interested in the first couple of bits03:28
shenkiok03:28
shenkiim familair with that stuff03:28
shenkidoes your PR 248 work?03:28
mithroshenki: no, otherwise I would merge it :P03:35
shenkik03:44
mithroshenki: I fix your rebase at https://github.com/mithro/HDMI2USB-misoc-firmware/tree/shenki-minispartan6%2B03:57
tpbTitle: GitHub - mithro/HDMI2USB-misoc-firmware at shenki-minispartan6+ (at github.com)03:57
shenkimithro: cool04:11
shenkimithro: what did you change?04:11
mithroshenki: mainly fix your changes to be to "Makefile.lm32" rather than "Makefile.softcpu"04:12
shenkiah yep04:12
mithroshenki: just trying to see if I can get the spi flash on the minispartan6+04:22
mithrocr1901_modern: ping?04:23
mithroAhh - this is what I think I'm missing -> https://github.com/m-labs/artiq/blob/590bedbd1edaa7a7acca2b705f451c7c54da27f7/artiq/runtime/Makefile#L2704:41
tpbTitle: artiq/Makefile at 590bedbd1edaa7a7acca2b705f451c7c54da27f7 · m-labs/artiq · GitHub (at github.com)04:41
shenkineeds more fbi?04:57
mithrofbi adds the CRC and length bits05:10
*** se6astian|away is now known as se6astian07:03
*** Bertl_oO is now known as Bertl_zZ07:21
cr1901_modernmithro: pong (just woke up)07:45
mithrocr1901_modern: trying to get the spi flash working on the minispartan6+07:49
mithrocr1901_modern: I'm assuming you haven't done anything with that so far?07:49
cr1901_modernYou mean in terms of a the CPU using it as the ROM address space, or just "storing the bitstream"07:50
mithrocr1901_modern: as in using it for storage, yes07:50
cr1901_modernNo, I didn't get that far yet. A bit curious it doesn't work "out of the box" though07:50
mithrocr1901_modern: have you had any experiance with it before?07:55
mithroat the moment I'm just having trouble getting it to read anything resembling the stuff I've used openocd to write too07:55
mithroooooo - I think it almost just worked on the Atlys....07:57
cr1901_modernWell, I have gotten a bitstream to successfully write to the flash.07:57
cr1901_modernmithro: 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
mithroWell, I've gotten the spi flash to work on the Atlys board12:06
mithroTurns out that I was putting the SPI flash and LiteEth at the same memory location on that board12: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 Bertl12:14
*** ssk1328 has joined #timvideos12:34
mithroshenki / _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
mithroshenki: working firmware boot on the minispartan6 from flash!13:28
mithroshenki: https://github.com/timvideos/HDMI2USB-misoc-firmware/pull/24913:30
tpbTitle: WIP: Getting the minispartan6+ working by mithro · Pull Request #249 · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com)13:30
*** ssk1328 has quit IRC13:31
mithroshenki: I'm unsure how to get the values out of the targets file needed for the openocd flash command13:31
mithroshenki: can you try and repo this work when you get a chance13:39
CarlFKmithro: I am going to try vocto with atlys and opsis - lightning talks at ps1 in 11 hours13: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.h13:56
CarlFKno one is expecting video, so it is ok if it flops.13:57
*** rohitksingh has joined #timvideos13:57
CarlFKmithro: I see 9 builds? for today in  HDMI2USB-firmware-prebuilt/archive/master14:00
CarlFKmithro:  (or anyone) anything you recommend i use or avoid?14:01
*** rohitksingh1 has joined #timvideos14:05
*** rohitksingh has quit IRC14:05
*** rohitksingh1 has quit IRC14:21
mithro_florent_: Why are you doing the self.shadow_base bit ?14:29
shenkimithro: nice work!14:33
shenkimithro: ive got native v6 at home now too14:33
shenki$ traceroute6 google.com14:33
shenkitraceroute 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 ms14: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 ms14: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 ms14:33
shenkieww, hat didn't paste so well14:33
shenkisorry14:33
mithroshenki: who is that with?14:35
*** rohitksingh has joined #timvideos14:36
mithroThe firmware freezes after the version info is output. But I think that is because of something in the C code14:37
shenkimithro: uniti14:37
_florent_mithro, I'm sure I used to know but I don't remember now14:37
shenkimithro: wireless (wifi) isp in adelaide14:37
mithro_florent_: ha :-P14:38
mithroWhat is with the shadow stuff? Is that too avoid the l2 cache or something?14:39
mithroshenki: I didn't test serialboot14:40
_florent_sb0: do you remember why we have the "|  0x80000000" when declaring the memory_region?14:40
mithroshenki: but it's kind of nice that you can just flash new firmware without rebuilding the gateware14:42
*** CarlFK has quit IRC14:43
cr1901_modernIncidentally, we definitely access CSR peripherals in the shadow region instead of their real addresses...14:44
mithroNext thing to get working on the minispartan is the HDMI output14:46
shenkimithro: nice14:47
shenkiwell, for me it's getting some more complicated software booting14:47
shenkilike the kenrel14:47
shenkimithro: how much flash do we have?14:47
mithroI put it in a comment somewhere14:48
cr1901_modernAccording to _florent_, the minispartan's SDRAM speed is bad, so we're only gonna get like 640x480 HDMI output14:48
*** CarlFK has joined #timvideos14:48
*** ChanServ sets mode: +v CarlFK14:48
_florent_maybe more with YCBCR 4:2:214:48
cr1901_modern_florent_: Did you do theoretical calculations?14:49
mithroI wonder if we can over clock :-P14:49
cr1901_modernProbably...14:49
_florent_what the frequency of the ms6 SoC?14:50
cr1901_modern80 MHz, but I meant simply at the max speed the SDRAM supports, which is 133MHz?14:51
mithro80 MHz14:51
mithroHaving a 640*480 development device that fits in your pocket ain't bad14:52
mithroshenki: pretty sure you should be able to fit a Linux kernel and small initrd14:53
mithroEnough to get the SD card up and running14:53
_florent_OK so we should have around 1Gbps of bandwidth on the SDRAM14:53
shenkimithro: k14:53
_florent_1280x720@30fps is 442Mbps with ycbcr4:2:214:53
cr1901_modern640*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 out14:54
mithroDoes uboot add anything?14:54
shenkino14:54
* shenki us currently doing a uboot upstream for the aspeed14:54
shenkiour "uboot" is the bios14:55
sb0_florent_, to disable cache14:55
_florent_sb0: ok thanks!14:55
mithro_florent_: any reason not to do 420 rather then 422?14:57
mithrosb0: 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
mithroshenki: this was only the lm32 not the or1k btw15:04
mithroAnyway bed time15:05
mithroGood night everyone.15:05
shenkinight15:07
*** CarlFK has quit IRC15:11
*** CarlFK has joined #timvideos15:12
*** ChanServ sets mode: +v CarlFK15:12
*** rohitksingh has quit IRC15:17
*** rohitksingh has joined #timvideos15:22
*** rohitksingh has quit IRC15:32
sb0mithro, yes. but there is the cpu cache that makes it less slow.16:09
xfxfmithro: 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
xfxfhas this been done?  if not, a reminder :)16:10
xfxf(re the HDMI cable/amp issue)16:10
CarlFKxfxf: hey! ... any idea how to load updated firmware into the  Opsis?16:13
xfxfnot something i've done since LCA, sorry16:13
CarlFKdid you even do it?16:13
xfxfi did, yeah16:13
xfxfi even patched the firmware16:13
xfxfone or two bytes of change16:13
xfxfwoo16:13
CarlFKI never even watched.  any idea where I should look for clues?16:13
xfxfi don't recall off the top of my head16:14
CarlFKyeah, I want that patch16:14
xfxfoh the gamma one?16:14
CarlFKyes16:14
xfxfright16:14
CarlFKwell, i want to know how to put it on the Opsis16:14
xfxfoh, i was going to say, i was going to just look at the bash history on the laptop i did it on16:14
xfxfbut i no longer own it16:14
xfxf(i sold it and bought an i7 thinkpad yoga)16:14
xfxfi'm meant to be recording an event tomorrow so it's something i am going to be looking at in the next ~16 hrs16:15
xfxfbut about to go to bed (2am here)16:15
CarlFKI have 3 or 4 tabs open around here that mithro pointed me at ... but none looked very.. useful ;/16:15
xfxfi remember you had to put the thing into a different mode to flash it16:15
CarlFKlol -  am going to be doing some hackerspace lightning talks in 8 hours...16:15
xfxfmemory fuzzy, sorry16:15
CarlFKso any few moments you can give me once you wake up..   I know.. jobs and all16:16
xfxfi won't remember much until i attempt again16:16
xfxfi'll likely try tomorrow morning16:16
xfxfi.e. in ~8-10 hrs16:16
CarlFKthat would be great -16:16
xfxfwhich doesn't help you sorry :(16:16
CarlFKyeah, you wake up about the time talks start16:17
CarlFKno biggie16:17
CarlFKit is more to test vocto16:17
xfxfdid you see the gsoc proposal for hardware mixing?16:18
*** rohitksingh has joined #timvideos16:22
*** ssk1328 has joined #timvideos17:08
*** Bertl is now known as Bertl_oO17:24
*** rohitksingh has quit IRC17:42
*** rohitksingh has joined #timvideos17:57
*** Guest72252 has quit IRC18:04
*** aps has joined #timvideos18:09
*** aps is now known as Guest8480518:09
*** ssk1328 has quit IRC18:29
*** se6astian is now known as se6astian|away18:35
*** ssk1328 has joined #timvideos18:44
*** se6astian|away is now known as se6astian19:03
*** ssk1328 has quit IRC19:45
*** se6astian is now known as se6astian|away21:45
mithroCarlFK: I've been adding spi flash support to the firmware22:59
CarlFKmithro: any chance it will mess things up?23:00
mithroCarlFK: that should mean we have a "make flash" in the makefile23:00
mithroCarlFK: 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
CarlFKmithro: I just use what is in ~/HDMI2USB-firmware-prebuilt/archive/master/v0.0.0-639-g956a8b3/atlys/hdmi2usb  - most recent dir23:02
CarlFKwhat about hdmi capture/encoding ?23:02
mithroWhat you mean?23:02
CarlFKin 2 or so hours I am recording some talks -23:03
CarlFKshould I worry that  the hdmi capture doesn't work23:04
CarlFKmithro:  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.hex23:05
mithroBrb23:06
CarlFKoff to ps1 to run vocto woo!23:47
CarlFKbye23:47
*** CarlFK has quit IRC23:47

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!