File image-gateware+bios+firmware.bin

44 views
Skip to first unread message

Nancy Chauhan

unread,
Mar 17, 2018, 1:46:01 PM3/17/18
to Tim Videos - timvideos.us
The file image-gateware+bios+firmware.bin in  HDMI2USB-litex-firmware/build/opsis_video_lm32
image-gateware+bios+firmware.bin

Carl Karsten

unread,
Mar 17, 2018, 4:37:16 PM3/17/18
to timv...@googlegroups.com
I don' t think it worked.

I flashed it to an Opsis, tried to connect a terminal, no connection:


juser@cnt3:~/temp$ md5sum image-gateware+bios+firmware.bin
4e5650e39a9fef310f90cd5951421b6c image-gateware+bios+firmware.bin
juser@cnt3:~/temp$ hdmi2usb-mode-switch -v --flash-image
image-gateware+bios+firmware.bin
WARNING:root:unbind-helper not found, will have to run as root!
Numato Opsis in 'serial' mode at /dev/bus/usb/002/094
/sys/bus/usb/devices/2-1.4
/sys/bus/usb/devices/2-1.4:1.0
/sys/bus/usb/devices/2-1.4:1.1
Board is currently used by drivers ('cdc_acm',)
Serial port at /dev/ttyACM0
args.all None
My root dir: /usr/local/lib/python3.5/dist-packages/hdmi2usb.modeswitch-0.post1-py3.5.egg/hdmi2usb/modeswitch
Going from serial to jtag
Detaching drivers from board.
Using FX2 firmware
/usr/local/lib/python3.5/dist-packages/hdmi2usb.modeswitch-0.post1-py3.5.egg/hdmi2usb/firmware/fx2/opsis/ixo-usb-jtag.hex
Running 'fxload -t fx2lp -D /dev/bus/usb/002/094 -I
/usr/local/lib/python3.5/dist-packages/hdmi2usb.modeswitch-0.post1-py3.5.egg/hdmi2usb/firmware/fx2/opsis/ixo-usb-jtag.hex
-v'
Numato Opsis in 'serial' mode at /dev/bus/usb/002/094
/sys/bus/usb/devices/2-1.4
/sys/bus/usb/devices/2-1.4:1.0
/sys/bus/usb/devices/2-1.4:1.1
Numato Opsis in 'jtag' mode at /dev/bus/usb/002/095
/sys/bus/usb/devices/2-1.4
/sys/bus/usb/devices/2-1.4:1.0
Board was Board(dev=LsusbDevice(2a19:5441:0003 'ffffd88039680b42'),
type='opsis', state='serial')
Board now Board(dev=LsusbDevice(16c0:06ad:ff00 'ffffd88039680b42'),
type='opsis', state='jtag')
Numato Opsis in 'jtag' mode at /dev/bus/usb/002/095
/sys/bus/usb/devices/2-1.4
/sys/bus/usb/devices/2-1.4:1.0
Running ['openocd', '-f', 'board/numato_opsis.cfg', '-c', 'init;
xc6s_print_dna xc6s.tap; jtagspi_init 0
/usr/local/lib/python3.5/dist-packages/hdmi2usb.modeswitch-0.post1-py3.5.egg/hdmi2usb/firmware/spartan6/opsis/bscan_spi_xc6slx45t.bit;
jtagspi_program /home/juser/temp/image-gateware+bios+firmware.bin 0x0;
exit']
Open On-Chip Debugger 0.9.0+git20151228 (2016-01-26-04:52)
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)
DNA = 100110011001011011011101111111100010110110101101010100000
(0x1332dbbfc5b5aa0)

loaded file /usr/local/lib/python3.5/dist-packages/hdmi2usb.modeswitch-0.post1-py3.5.egg/hdmi2usb/firmware/spartan6/opsis/bscan_spi_xc6slx45t.bit
to pld device 0 in 10s 227112us
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
Info : Found flash device 'micron n25q128' (ID 0x0018ba20)
Info : Found flash device 'micron n25q128' (ID 0x0018ba20)
Info : Found flash device 'micron n25q128' (ID 0x0018ba20)
Info : sector 0 took 244 ms
Info : sector 1 took 254 ms
Info : sector 2 took 246 ms
Info : sector 3 took 260 ms
Info : sector 4 took 259 ms
Info : sector 5 took 265 ms
Info : sector 6 took 260 ms
Info : sector 7 took 261 ms
Info : sector 8 took 260 ms
Info : sector 9 took 258 ms
Info : sector 10 took 261 ms
Info : sector 11 took 261 ms
Info : sector 12 took 261 ms
Info : sector 13 took 252 ms
Info : sector 14 took 254 ms
Info : sector 15 took 253 ms
Info : sector 16 took 241 ms
Info : sector 17 took 239 ms
Info : sector 18 took 228 ms
Info : sector 19 took 235 ms
Info : sector 20 took 241 ms
Info : sector 21 took 235 ms
Info : sector 22 took 231 ms
Info : sector 23 took 230 ms
Info : sector 24 took 235 ms
Info : sector 25 took 232 ms
Info : sector 26 took 230 ms
Info : sector 27 took 225 ms
Info : sector 28 took 230 ms
Info : sector 29 took 225 ms
Info : sector 30 took 236 ms
Info : sector 31 took 232 ms
Info : sector 32 took 260 ms
Info : sector 33 took 263 ms
wrote 2228224 bytes from file
/home/juser/temp/image-gateware+bios+firmware.bin in 93.960114s
(23.159 KiB/s)
Info : Found flash device 'micron n25q128' (ID 0x0018ba20)
read 2216328 bytes from file
/home/juser/temp/image-gateware+bios+firmware.bin and flash bank 0 at
offset 0x00000000 in 80.561989s (26.866 KiB/s)
contents match
After flashing, the board will need to be power cycled.
Numato Opsis in 'jtag' mode at /dev/bus/usb/002/095
/sys/bus/usb/devices/2-1.4
/sys/bus/usb/devices/2-1.4:1.0
Found 1 boards.
juser@cnt3:~/temp$ crelay 1 on
juser@cnt3:~/temp$ crelay 1 off
juser@cnt3:~/temp$ tio /dev/ttyACM0
[tio 15:34:10] tio v1.20
[tio 15:34:10] Press ctrl-t q to quit


here is a working version:
juser@cnt3:~/temp$ tio /dev/ttyACM0
[tio 15:27:13] tio v1.20
[tio 15:27:13] Press ctrl-t q to quit
[tio 15:27:21] Connected
Disabling input0
Disabling input1
Enabling input1
hdmi_out0: Init I2C...finished.
Disabling output0
Enabling output0
hdmi_out1: Init I2C...finished.
Disabling output1
Enabling output1
H2U 00:00:00>version

hardware version info
===============================================
DNA: 01332dbbfc5b5aa0
MAC: d8:80:39:68:0b:42

gateware version info
===============================================
platform: opsis
target: hdmi2usb
revision: e4237765c23ee89ece50bc366bb64bed558d0b27

firmware version info
===============================================
platform: opsis
target: hdmi2usb
git commit: e4237765c23ee89ece50bc366bb64bed558d0b27
git branch: master
git describe: v0.0.4-114-ge423776
git status:
--
--

built: Jan 21 2018 03:03:21
uptime: 00:00:09
-----------------------------------------------
H2U 00:00:09>debug edid output0
00 FF FF FF FF FF FF 00 3D 17 54 56 00 00 00 00
00 19 01 03 80 14 0B 50 06 00 00 00 00 00 00 00
00 00 00 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 01 1D 00 BC 52 D0 1E 20 B8 28
05 40 C8 70 00 00 00 1E 01 1D 00 72 51 D0 1E 20
DC 28 14 00 C8 70 00 00 00 1E 00 00 00 FC 00 48
44 4D 49 32 55 53 42 2D 32 0A 20 20 00 00 00 FD
00 32 3C 1F 44 08 00 0A 20 20 20 20 20 20 00 51
H2U 00:00:21>debug edid output1
00 FF FF FF FF FF FF 00 22 F0 47 29 01 01 01 01
0D 15 01 03 80 30 1B 78 2E 95 25 A1 59 57 9F 27
0D 50 54 A1 08 00 81 C0 81 80 95 00 B3 00 D1 C0
01 01 01 01 01 01 02 3A 80 18 71 38 2D 40 58 2C
45 00 DD 0C 11 00 00 1E 00 00 00 FD 00 32 4C 18
5E 11 00 0A 20 20 20 20 20 20 00 00 00 FC 00 48
50 20 4C 41 32 32 30 36 0A 20 20 20 00 00 00 FF
00 43 4E 43 31 31 33 30 4B 34 56 0A 20 20 00 DA
H2U 00:00:29>
[tio 15:29:00] Disconnected



On Sat, Mar 17, 2018 at 12:46 PM, Nancy Chauhan <nanc...@gmail.com> wrote:
> The file image-gateware+bios+firmware.bin in
> HDMI2USB-litex-firmware/build/opsis_video_lm32
>
> --
> You received this message because you are subscribed to the Google Groups
> "Tim Videos - timvideos.us" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to timvideos+...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



--
Carl K
Reply all
Reply to author
Forward
0 new messages