*** tpb has joined #timvideos | 00:00 | |
shenki | mithro: yo | 01:41 |
---|---|---|
*** puck has quit IRC | 04:16 | |
*** puck has joined #timvideos | 04:21 | |
mithro | CarlFK: yay! | 12:18 |
*** Sewar has quit IRC | 12:40 | |
*** Sewar has joined #timvideos | 12:40 | |
CarlFK | mithro: what/where are the output files? | 13:10 |
mithro | CarlFK: you should be able to do a "PROG=fpgalink make load-gateware" to get the firmware onto your Atlys board | 14:14 |
CarlFK | mithro: that's a Rackspace VM - I need to get the files to the box that has my Atlys hooked up to it | 14:16 |
mithro | CarlFK: rsync? | 14:20 |
CarlFK | mithro: rsync what files? | 14:21 |
mithro | the build directory | 14:22 |
CarlFK | root@debconfveyepar:~/HDMI2USB-misoc-firmware# du -sh build/ | 14:25 |
CarlFK | 2.3G build/ | 14:25 |
CarlFK | is that expected? | 14:25 |
mithro | CarlFK: mine is about the same size | 14:39 |
mithro | CarlFK: the actual bit files you program into the fpga are only a couple of kilobytes | 14:42 |
CarlFK | mithro: what are the actual bit files | 14:44 |
mithro | CarlFK: what do you mean? | 14:44 |
CarlFK | what files do I need to rsync ? | 14:44 |
mithro | that build directory | 14:49 |
CarlFK | I need all 2G of files? | 14:54 |
mithro | Not really, but it is too complicated to do anything more sophisticated | 14:59 |
CarlFK | hmm | 15:10 |
*** _florent_ has joined #timvideos | 15:17 | |
mithro | hey _florent_ | 15:31 |
mithro | CarlFK: I guess you could sshfs mount it or something? | 15:32 |
_florent_ | hi | 15:32 |
CarlFK | mithro: isn't there a git repo of firmware? | 15:32 |
CarlFK | https://github.com/timvideos/HDMI2USB-firmware-prebuilt | 15:32 |
tpb | Title: timvideos/HDMI2USB-firmware-prebuilt · GitHub (at github.com) | 15:32 |
mithro | CarlFK: yes - but that is the old firmware | 15:32 |
CarlFK | same files? | 15:33 |
CarlFK | er | 15:33 |
CarlFK | similar files... | 15:33 |
_florent_ | mithro: the opsis board now has more ddr bandwidth than the atlys... :) | 15:43 |
mithro | _florent_: !?! | 15:43 |
mithro | _florent_: \o/ | 15:43 |
mithro | CarlFK: yes | 15:43 |
mithro | _florent_: does that mean you have the phys working? | 15:44 |
_florent_ | maybe :) (I'm still doing tests) | 15:44 |
mithro | _florent_: Any suggestions on the best way to store a file in the SPI flash and then emulate an EEPROM with the contents? | 15:46 |
_florent_ | can you explain what you want to do? | 15:47 |
_florent_ | if you just want to connect it to the SoC, you can use existing code from MiSoC | 15:47 |
mithro | _florent_: The Cypress FX2 normally reads its firmware data from an I2C EEPROM. I want to store the firmware data (multiple versions) in the SPI flash used for the FPGA configuration instead. | 15:49 |
mithro | _florent_: so the FPGA needs to emulate an I2C EEPROM with "contains" the contents of a file stored in the SPI flash | 15:49 |
mithro | _florent_: and I saw that misoc already has stuff for reading stuff from the SPI flash | 15:50 |
mithro | Brb | 15:51 |
_florent_ | for the spi flash, we can probably implement a SPI slave core with a small memory that we will fill from the SPI flash (the CPU can probably do that). | 15:58 |
_florent_ | the xfer is probably a linear burst, so we can reduce the size of the memory in the SPI slave core and read data from the SPI flash, store it in a fifo and expose it to the SPI slave code | 15:59 |
_florent_ | core | 15:59 |
mithro | _florent_: yeah, I was thinking of something along those lines | 16:05 |
mithro | The SPI flash works up to 40MHz in theory, while the I2C is 400k, so I'm hoping there doesn't need to be much buffering | 16:06 |
mithro | I guess I could start with just loading the file into blockram | 16:06 |
CarlFK | mithro: there is 1 .bit file: root@debconfveyepar:~/HDMI2USB-misoc-firmware/build# find ./ -name "*.bit" | 16:08 |
CarlFK | ./misoc/build/atlys_hdmi2usb-hdmi2usbsoc-atlys.bit | 16:08 |
CarlFK | and 5 .hex files. but only one in build: ./misoc/build/header.hex | 16:09 |
mithro | CarlFK: did you run "make fx2-firmware" ? | 16:09 |
mithro | CarlFK: You want to run "PROG=fpgalink make load-gateware && make load-fx2-firmware" | 16:10 |
CarlFK | I did this: https://github.com/timvideos/HDMI2USB-misoc-firmware/blob/master/scripts/README.md | 16:10 |
tpb | Title: HDMI2USB-misoc-firmware/README.md at master · timvideos/HDMI2USB-misoc-firmware · GitHub (at github.com) | 16:10 |
CarlFK | up to "Ensure board has the right pins set:" | 16:10 |
mithro | CarlFK: see the load commands are next | 16:11 |
CarlFK | I still don't have any files on the box the Atlys is plugged into | 16:11 |
CarlFK | root@debconfveyepar:~/HDMI2USB-misoc-firmware/build# <- rackspace VM | 16:11 |
mithro | CarlFK: yes, my suggestion was to rsync the build directory back to your machine | 16:15 |
CarlFK | mithro: I am trying to avoid pulling 2G of files over my cablemodem | 16:15 |
mithro | CarlFK: you could regenerate them locally? | 16:16 |
CarlFK | that has never gone well for me | 16:26 |
CarlFK | which is why I wanted a machine you could poke at when things go wrong | 16:26 |
mithro | CarlFK: lets worry about that when you get to that problem? | 16:50 |
mithro | _florent_: Where do you get the MAC address in liteeth? | 16:52 |
mithro | _florent_: looks like it is hard coded in the target file? | 16:53 |
_florent_ | yes it's hardcoded for now, I should change that | 17:00 |
mithro | _florent_: So, on the Opsis there is an I2C EEPROM which has the MAC address in it | 17:01 |
_florent_ | The MAC address is already programmed? | 17:03 |
mithro | _florent_: yes, the EEPROM is a 24AA02E48 which has Pre-programmed Globally Unique, 48-bit or 64-bit Node Address in it | 17:04 |
mithro | The 24AA02XEXX is programmed at the factory with a globally unique node address stored in the upper half of the array and permanently write-protected. The remaining 1,024 bits are available for application use. | 17:06 |
mithro | _florent_: doesn't look like the Atlys has anything similar from what I can see | 17:06 |
_florent_ | OK thanks, I use a similar eeprom in another design, so it should be be that long to integrate :) | 17:06 |
_florent_ | I'm going to do that, DDR3 is now working fine on the opsis :) | 17:07 |
mithro | _florent_: \o/ \o/ \o/ | 17:08 |
mithro | _florent_: What bandwidth can we get on the Opsis board then? | 17:08 |
_florent_ | for now DDR400 | 17:10 |
_florent_ | 6.4Gbps | 17:10 |
mithro | 1024*768*32*60=1509Mbps - in theory that is enough for 2 streams in, 2 streams out without the colorspace conversion? | 17:13 |
_florent_ | yes, with colorspace conversion everything is working at 1280x720@60 | 17:14 |
_florent_ | I will just have to do some changes around the encoder since it's now running at 50MHz and I'm not sure this is enough | 17:15 |
mithro | _florent_: Any idea why misoc doesn't have some generic I2C stuff already? | 17:18 |
_florent_ | we are doing it in software :) | 17:20 |
mithro | _florent_: oh :P | 17:21 |
mithro | I guess writing C code is easier :P | 17:21 |
_florent_ | yes and generally I2C is not required to be fast | 17:22 |
_florent_ | I'm going to commit code for the eeprom | 17:22 |
mithro | _florent_: okay | 17:23 |
_florent_ | if you want to test the opsis, the code is commited | 17:23 |
mithro | "BOARD=opsis make gateware" right? | 17:24 |
*** _florent_ has quit IRC | 17:24 | |
*** _florent_ has joined #timvideos | 17:25 | |
_florent_ | yes | 17:25 |
mithro | _florent_: btw does the new DDR stuff also increase the Atlys bandwidth? The DDR2 there should go up to DDR400 too I though? | 17:25 |
_florent_ | yes, but I need to cleanup the code before using it no the atlys and eventually change some parameters in the controler (wr/rd phases and cmdphases) | 17:27 |
mithro | _florent_: fair enough, seems like a low priority for now | 17:28 |
mithro | gah, I think I need a holiday - I keep starting typing stuff on the command line and forgot what I was doing half way through | 17:28 |
_florent_ | :) | 17:30 |
_florent_ | ah, too bad my eeprom code was for a SPI eeprom... | 17:30 |
mithro | great thing about standards, there are so many to choose from! :P | 17:32 |
mithro | heading to the train station now, will be back tomorrow probably | 17:58 |
mithro | _florent_: I succeeded in compiling the bitstream but ran out of time to try it actually on the board | 17:59 |
_florent_ | ok np | 18:00 |
mithro | _florent_: I'm going to add some feature requests to the GitHub repo. Not expecting you to work on any of these. People keep asking if there is anything that they could work on and want to point them to. | 18:25 |
mithro | This train has wifi! :P | 19:49 |
mithro | _florent_: could we automagically calculate the numbers in the csr map rather then having to update them all the time? | 20:03 |
_florent_ | yes probably, what we can also do is add some margin betwen base and others SoC | 20:04 |
mithro | _florent_: there is an interesting hack which you can to to create an "iota" object which effectively evaluates to the next number in a sequence (based off the same idea as what go does) | 20:08 |
mithro | _florent_: btw is the ethernet working at full gigabit speeds? | 20:08 |
mithro | _florent_: I dunno if it is useful, but microchip provide a full verilog model for the eeprom on the opsis board | 20:09 |
_florent_ | actualy you can use MiniSoC with 1Gps Ethernet (but since data are generated by the CPU, you will not have 1Gpbs), but the HDMI2EthernetSoc only supports 100Mbps for now. (since sys_clk is < to 125MHz) | 20:13 |
*** _florent_ has quit IRC | 21:55 | |
*** tvCommitBot has joined #timvideos | 22:39 | |
tvCommitBot | [website] mithro pushed 7 new commits to master: http://git.io/vszdU | 22:39 |
tvCommitBot | website/master 9ee6df5 Tim 'mithro' Ansell: Fixing the title in the header. | 22:39 |
tvCommitBot | website/master 808f6c5 Tim 'mithro' Ansell: Updating _plugins based on changes in the hdmi2usb.tv repo. | 22:39 |
tvCommitBot | website/master 76d5849 Tim 'mithro' Ansell: Adding projects page. | 22:39 |
*** tvCommitBot has left #timvideos | 22:39 | |
*** tvCommitBot has joined #timvideos | 22:47 | |
tvCommitBot | [website] mithro pushed 1 new commit to master: http://git.io/vszFh | 22:47 |
tvCommitBot | website/master ced04d5 Tim 'mithro' Ansell: Removing some stuff accidentally added. | 22:47 |
*** tvCommitBot has left #timvideos | 22:47 | |
*** tvCommitBot has joined #timvideos | 22:48 | |
tvCommitBot | [website] mithro pushed 1 new commit to master: http://git.io/vszbI | 22:48 |
tvCommitBot | website/master 54ee1df Tim 'mithro' Ansell: Don't echo the github API key. | 22:48 |
*** tvCommitBot has left #timvideos | 22:48 | |
*** tvCommitBot has joined #timvideos | 22:53 | |
tvCommitBot | [website] mithro pushed 1 new commit to master: http://git.io/vszN8 | 22:53 |
tvCommitBot | website/master ac7e349 Tim 'mithro' Ansell: Remove the stats+activities links for now. | 22:53 |
*** tvCommitBot has left #timvideos | 22:53 | |
CarlFK | mithro: juser@dc10b:~/HDMI2USB-misoc-firmware$ PROG=fpgalink make load-gateware | 23:19 |
CarlFK | 23:19 | |
CarlFK | from mibuild.tools import write_to_file | 23:19 |
CarlFK | ImportError: No module named 'mibuild' | 23:19 |
CarlFK | juser@dc10b:~/HDMI2USB-misoc-firmware$ find ./ -name mibuild | 23:20 |
CarlFK | ./build/migen/mibuild | 23:20 |
CarlFK | ./build/migen/mibuild/tools.py | 23:21 |
CarlFK | anyone here know how to upload the misoc firmware to the Atlys board? | 23:37 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!