Bring up and test instructions
Preparation
* Compile ftdi_eeprom (distributed with libftdi). As it is, this rather badly designed tool may not find the Mixxeo board, a quick solution is to replace line 216 with:
i = ftdi_usb_open(ftdi, 0x0403, 0x6010);
* Create a text file ftdi-eeprom.conf with the following contents:
vendor_id=0x20b7
product_id=0x0713
self_powered=false
remote_wakeup=false
chip_type=2232H
max_power=0
in_is_isochronous=false
out_is_isochronous=false
suspend_pull_downs=false
use_serial=false
change_usb_version=false
usb_version=0
manufacturer="Milkymist"
product="Mixxeo JTAG/Serial"
serial="08-15"
- Install UrJTAG. It is necessary to have a version more recent than several years. Since the UrJTAG project has not done a release for a while and most distribution packages are really outdated, it often means compiling the source from SVN.
- Obtain and compile the FJMEM core for Mixxeo and name it
/usr/local/share/milkymist/fjmem.bit. Obtain m1nor-ng and place it
in /usr/local/bin.
Both are available from http://github.com/milkymist/fjmem-m1
- Prepare a TFTP server at IP address 192.168.0.14, serving the video mixer software (videomixer.bin) as /boot.bin.
Bring-up and testing per board
- Check that there is no short circuit on the DVI output DDC pins (the current software/gateware does not use them and cannot detect problems yet).
* Run:
ftdi_eeprom --flash-eeprom ftdi-eeprom.conf
- Unplug and re-plug the Mixxeo board. It should show up with the new USB identifiers.
* Flash the milkymist-ng SoC and the BIOS:
m1nor-ng soc-mixxeo.fpg bios.bin
- Power on the Mixxeo or enter netboot at the BIOS prompt (the purpose
of this boot method is to test Ethernet at the same time).
The milkymist-ng boot messages should be available on the USB serial device, comms parameters are 115200bps 8-N-1.
- Check that the HPD pin (driven by the FPGA through the PMOS) is low on HDMI ports 0 and 1.
- Connect HDMI ports 0 and 1 to video sources. Check that the video sources detect the connection and list video modes from EDID. Select the 1024x768 mode.
- Connect the output to a VGA monitor through a passive DVI->VGA adapter. Check that video mixed from both sources is displayed on the VGA monitor.
- Connect the output to a DVI monitor through a DVI cable that lacks the analog pins, or to a HDMI monitor through a passive DVI->HDMI adapter. Check that the same picture is displayed.
* Load the bitstream to test HDMI ports 2 and 3, check that the HPD pins are low before connecting the sources, and check that video mixing works as before. To load the bitstream, run "jtag" and then use the following commands:
cable milkymist
detect
pld load soc-mixxeo-ports23.bit