# Pastebin GN9yEVjZ xf@yogacore:~$ dmesg|tail -n 10 [ 1335.893259] usb 2-2: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 1335.919887] usb 2-2: USB disconnect, device number 16 [ 1336.409009] usb 2-2: new high-speed USB device number 17 using xhci_hcd [ 1336.537228] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64 [ 1336.537232] usb 2-2: config 1 interface 0 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 64 [ 1336.537463] usb 2-2: New USB device found, idVendor=16c0, idProduct=06ad [ 1336.537467] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 1336.537469] usb 2-2: Product: USB-JTAG-IF [ 1336.537471] usb 2-2: Manufacturer: ixo.de [ 1336.537472] usb 2-2: SerialNumber: hw_opsis xf@yogacore:~$ lsusb Bus 001 Device 003: ID 0483:91d1 STMicroelectronics Sensor Hub Bus 001 Device 002: ID 8087:8000 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 004: ID 04f2:b39f Chicony Electronics Co., Ltd Bus 002 Device 003: ID 04f3:0296 Elan Microelectronics Corp. Bus 002 Device 002: ID 8087:07dc Intel Corp. Bus 002 Device 017: ID 16c0:06ad Van Ooijen Technische Informatica Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub xf@yogacore:~$ cd ~/HDMI2USB-misoc-firmware/ xf@yogacore:~/HDMI2USB-misoc-firmware$ git branch * master xf@yogacore:~/HDMI2USB-misoc-firmware$ git pull Already up-to-date. xf@yogacore:~/HDMI2USB-misoc-firmware$ # already have done 'make all' xf@yogacore:~/HDMI2USB-misoc-firmware$ source scripts/setup-env.sh This script is: /home/xf/HDMI2USB-misoc-firmware/scripts/setup-env.sh Firmware directory: /home/xf/HDMI2USB-misoc-firmware Build directory is: /home/xf/HDMI2USB-misoc-firmware/build 3rd party directory is: /home/xf/HDMI2USB-misoc-firmware/third_party Xilinx directory is: //opt/Xilinx/ Checking modules from conda --------------------------- lm32-elf-ld found at 2.26 lm32-elf-gcc found at 4.9.3 sdcc found at 3.5.0 openocd found at 0.10.0-dev hexfile found Checking git submodules ----------------------- migen found misoclib found liteeth found liteusb found ----------------------- (HDMI2USB) xf@yogacore:~/HDMI2USB-misoc-firmware$ export BOARD=opsis (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ make flash cd third_party/misoc && python3 make.py --external /home/xf/HDMI2USB-misoc-firmware --flash-proxy-dir /home/xf/HDMI2USB-misoc-firmware/third_party/flash_proxies --target opsis_hdmi2usb --target-option firmware_filename /home/xf/HDMI2USB-misoc-firmware/firmware/lm32/firmware.bin --csr_csv /home/xf/HDMI2USB-misoc-firmware/test/csr.csv --platform-option programmer openocd flash-bitstream Firmware 56932 bytes (8604 bytes left) __ ___ _ ____ _____ / |/ / (_) / __/__ / ___/ / /|_/ / / / _\ \/ _ \/ /__ /_/ /_/ /_/ /___/\___/\___/ a high performance and small footprint SoC based on Migen ====== Building for: ====== Platform: opsis Target: opsis_hdmi2usb Subtarget: HDMI2USBSoC CPU type: lm32 =========================== Open On-Chip Debugger 0.10.0-dev-00248-gf3b38ff (2016-04-03-07:23) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Warn : Adapter driver 'usb_blaster' did not declare which transports it allows; assuming legacy JTAG-only Info : only one transport option; autoselect 'jtag' Warn : incomplete ublast_vid_pid configuration jtagspi_program Info : usb blaster interface using libftdi Info : This adapter doesn't support configurable speed Info : JTAG tap: xc6s.tap tap/device found: 0x44028093 (mfg: 0x049 (Xilinx), part: 0x4028, ver: 0x4) loaded file /home/xf/HDMI2USB-misoc-firmware/third_party/flash_proxies/bscan_spi_xc6slx45t.bit to pld device 0 in 10s 127535us Info : JTAG tap: xc6s.tap tap/device found: 0x44028093 (mfg: 0x049 (Xilinx), part: 0x4028, ver: 0x4) Info : Found flash device 'micron n25q128' (ID 0x0018ba20) flash 'jtagspi' found at 0x00000000 auto erase enabled Error: couldn't open build/opsis_hdmi2usb-hdmi2usbsoc-opsis.bin Traceback (most recent call last): File "make.py", line 215, in prog.flash(0, flashbit) File "/home/xf/HDMI2USB-misoc-firmware/third_party/migen/mibuild/openocd.py", line 29, in flash subprocess.check_call(["openocd", "-f", self.config, "-c", script]) File "/home/xf/HDMI2USB-misoc-firmware/build/conda/lib/python3.5/subprocess.py", line 581, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['openocd', '-f', 'board/numato_opsis.cfg', '-c', 'init; jtagspi_init 0 /home/xf/HDMI2USB-misoc-firmware/third_party/flash_proxies/bscan_spi_xc6slx45t.bit; jtagspi_program build/opsis_hdmi2usb-hdmi2usbsoc-opsis.bin 0x0; exit']' returned non-zero exit status 1 Makefile:154: recipe for target 'flash-gateware' failed make: *** [flash-gateware] Error 1 (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ make load-lm32 cd third_party/misoc && python3 make.py --external /home/xf/HDMI2USB-misoc-firmware --flash-proxy-dir /home/xf/HDMI2USB-misoc-firmware/third_party/flash_proxies --target opsis_hdmi2usb --target-option firmware_filename /home/xf/HDMI2USB-misoc-firmware/firmware/lm32/firmware.bin --csr_csv /home/xf/HDMI2USB-misoc-firmware/test/csr.csv --platform-option programmer openocd build-headers Firmware 56932 bytes (8604 bytes left) __ ___ _ ____ _____ / |/ / (_) / __/__ / ___/ / /|_/ / / / _\ \/ _ \/ /__ /_/ /_/ /_/ /___/\___/\___/ a high performance and small footprint SoC based on Migen ====== Building for: ====== Platform: opsis Target: opsis_hdmi2usb Subtarget: HDMI2USBSoC CPU type: lm32 =========================== make -C firmware/lm32 all make[1]: Entering directory '/home/xf/HDMI2USB-misoc-firmware/firmware/lm32' bash version_data.sh make -C ../../third_party/misoc/software/libcompiler-rt make[2]: Entering directory '/home/xf/HDMI2USB-misoc-firmware/third_party/misoc/software/libcompiler-rt' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/xf/HDMI2USB-misoc-firmware/third_party/misoc/software/libcompiler-rt' make -C ../../third_party/misoc/software/libbase make[2]: Entering directory '/home/xf/HDMI2USB-misoc-firmware/third_party/misoc/software/libbase' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/home/xf/HDMI2USB-misoc-firmware/third_party/misoc/software/libbase' make[1]: Leaving directory '/home/xf/HDMI2USB-misoc-firmware/firmware/lm32' To load new firmware, reboot the running firmware and then select serialboot at the BIOS prompt. third_party/misoc/tools/flterm --port /dev/ttyACM0 --kernel=/home/xf/HDMI2USB-misoc-firmware/firmware/lm32/firmware.bin --kernel-adr=0x20000000 --speed 115200 [FLTERM] Starting... Unable to open serial port: No such file or directory (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ ls -l /dev/tty tty tty16 tty24 tty32 tty40 tty49 tty57 tty8 ttyS14 ttyS22 ttyS30 tty0 tty17 tty25 tty33 tty41 tty5 tty58 tty9 ttyS15 ttyS23 ttyS31 tty1 tty18 tty26 tty34 tty42 tty50 tty59 ttyprintk ttyS16 ttyS24 ttyS4 tty10 tty19 tty27 tty35 tty43 tty51 tty6 ttyS0 ttyS17 ttyS25 ttyS5 tty11 tty2 tty28 tty36 tty44 tty52 tty60 ttyS1 ttyS18 ttyS26 ttyS6 tty12 tty20 tty29 tty37 tty45 tty53 tty61 ttyS10 ttyS19 ttyS27 ttyS7 tty13 tty21 tty3 tty38 tty46 tty54 tty62 ttyS11 ttyS2 ttyS28 ttyS8 tty14 tty22 tty30 tty39 tty47 tty55 tty63 ttyS12 ttyS20 ttyS29 ttyS9 tty15 tty23 tty31 tty4 tty48 tty56 tty7 ttyS13 ttyS21 ttyS3 (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ ls -l /dev/tty^C (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ lsusb Bus 001 Device 003: ID 0483:91d1 STMicroelectronics Sensor Hub Bus 001 Device 002: ID 8087:8000 Intel Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 004: ID 04f2:b39f Chicony Electronics Co., Ltd Bus 002 Device 003: ID 04f3:0296 Elan Microelectronics Corp. Bus 002 Device 002: ID 8087:07dc Intel Corp. Bus 002 Device 017: ID 16c0:06ad Van Ooijen Technische Informatica Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub