# Pastebin o1yIZguJ (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 033: ID 2a19:5442 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ sudo hdmi2usb-mode-switch --mode=jtag WARNING:root:unbind-helper not found, will have to run as root! Using FX2 firmware /usr/local/lib/python3.5/dist-packages/hdmi2usb.modeswitch-0.0.0+93.gd0eb917-py3.5.egg/hdmi2usb/firmware/fx2/opsis/ixo-usb-jtag.hex Found 1 boards. (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ make load-gateware 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 load-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 : TAP xc6s.tap does not have IDCODE Info : TAP auto0.tap does not have IDCODE Info : TAP auto1.tap does not have IDCODE Info : TAP auto2.tap does not have IDCODE Info : TAP auto3.tap does not have IDCODE Info : TAP auto4.tap does not have IDCODE Info : TAP auto5.tap does not have IDCODE Info : TAP auto6.tap does not have IDCODE Info : TAP auto7.tap does not have IDCODE Info : TAP auto8.tap does not have IDCODE Info : TAP auto9.tap does not have IDCODE Info : TAP auto10.tap does not have IDCODE Info : TAP auto11.tap does not have IDCODE Info : TAP auto12.tap does not have IDCODE Info : TAP auto13.tap does not have IDCODE Info : TAP auto14.tap does not have IDCODE Info : TAP auto15.tap does not have IDCODE Info : TAP auto16.tap does not have IDCODE Info : TAP auto17.tap does not have IDCODE Info : TAP auto18.tap does not have IDCODE Info : TAP auto19.tap does not have IDCODE Warn : Unexpected idcode after end of chain: 21 0x00100000 Warn : Unexpected idcode after end of chain: 53 0x14049800 Warn : Unexpected idcode after end of chain: 85 0xfffffa20 Error: double-check your JTAG setup (interface, speed, ...) Error: Trying to use configured scan chain anyway... Error: xc6s.tap: IR capture error; saw 0x03 not 0x01 Warn : Bypassing JTAG setup events due to errors loaded file build/opsis_hdmi2usb-hdmi2usbsoc-opsis.bit to pld device 0 in 31s 916851us (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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ dmesg | tail -n 10 [21071.276393] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [21071.293603] usb 2-1: USB disconnect, device number 35 [21071.780183] usb 2-1: new high-speed USB device number 36 using xhci_hcd [21071.908413] usb 2-1: config 1 interface 0 altsetting 0 bulk endpoint 0x81 has invalid maxpacket 64 [21071.908418] usb 2-1: config 1 interface 0 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 64 [21071.908660] usb 2-1: New USB device found, idVendor=16c0, idProduct=06ad [21071.908664] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [21071.908666] usb 2-1: Product: USB-JTAG-IF [21071.908668] usb 2-1: Manufacturer: ixo.de [21071.908670] usb 2-1: SerialNumber: hw_opsis (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ ls -l /dev/tty* tty tty14 tty20 tty27 tty33 tty4 tty46 tty52 tty59 tty8 ttyS12 ttyS19 ttyS25 ttyS31 tty0 tty15 tty21 tty28 tty34 tty40 tty47 tty53 tty6 tty9 ttyS13 ttyS2 ttyS26 ttyS4 tty1 tty16 tty22 tty29 tty35 tty41 tty48 tty54 tty60 ttyprintk ttyS14 ttyS20 ttyS27 ttyS5 tty10 tty17 tty23 tty3 tty36 tty42 tty49 tty55 tty61 ttyS0 ttyS15 ttyS21 ttyS28 ttyS6 tty11 tty18 tty24 tty30 tty37 tty43 tty5 tty56 tty62 ttyS1 ttyS16 ttyS22 ttyS29 ttyS7 tty12 tty19 tty25 tty31 tty38 tty44 tty50 tty57 tty63 ttyS10 ttyS17 ttyS23 ttyS3 ttyS8 tty13 tty2 tty26 tty32 tty39 tty45 tty51 tty58 tty7 ttyS11 ttyS18 ttyS24 ttyS30 ttyS9 (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ sudo hdmi2usb-mode-switch --mode=serial WARNING:root:unbind-helper not found, will have to run as root! Using FX2 firmware /usr/local/lib/python3.5/dist-packages/hdmi2usb.modeswitch-0.0.0+93.gd0eb917-py3.5.egg/hdmi2usb/firmware/fx2/opsis/usb-uart.ihx (then waited for 5 minutes, nothing, hit CTRL-C) ^CTraceback (most recent call last): File "/usr/local/bin/hdmi2usb-mode-switch", line 9, in load_entry_point('hdmi2usb.modeswitch==0.0.0+93.gd0eb917', 'console_scripts', 'hdmi2usb-mode-switch')() File "/usr/local/lib/python3.5/dist-packages/hdmi2usb.modeswitch-0.0.0+93.gd0eb917-py3.5.egg/hdmi2usb/modeswitch/cli.py", line 233, in main time.sleep(1) KeyboardInterrupt (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ make load-fx2 firmware/fx2/download.sh firmware/fx2/hdmi2usb.hex (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ make connect-lm32 third_party/misoc/tools/flterm --port /dev/ttyACM0 --speed 115200 [FLTERM] Starting... Unable to open serial port: No such file or directory (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$ make connect-lm32 third_party/misoc/tools/flterm --port /dev/ttyACM0 --speed 115200 [FLTERM] Starting... Unable to open serial port: No such file or directory (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 001: ID 1d6b:0002 Linux Foundation 2.0 root hub (H2U B=opsis) xf@yogacore:~/HDMI2USB-misoc-firmware$ dmesg | tail -n 10 [21182.507535] usb 2-1: new high-speed USB device number 38 using xhci_hcd [21187.619131] usb 2-1: device descriptor read/64, error -110 [21202.833963] usb 2-1: device descriptor read/64, error -110 [21203.053899] usb 2-1: new high-speed USB device number 39 using xhci_hcd [21208.069526] usb 2-1: device descriptor read/8, error -110 [21213.189133] usb 2-1: device descriptor read/8, error -110 [21213.405057] usb 2-1: new high-speed USB device number 40 using xhci_hcd [21218.420658] usb 2-1: device descriptor read/8, error -110 [21223.540275] usb 2-1: device descriptor read/8, error -110 [21223.644262] usb usb2-port1: unable to enumerate USB device