apertus-open-source-cinema / axiom-firmware

AXIOM firmware (linux image, gateware and software tools)
GNU General Public License v3.0
173 stars 54 forks source link

axiom_start.sh issue #185

Closed se6astian-pi closed 2 years ago

se6astian-pi commented 3 years ago

Using most recent image I still get the following error when running axiom_start.sh as root:

[30] 0xFFFFFF00 lsb = 08 => 24 (24,24) [31] 0xFFFFFFE0 lsb = 05 => 21 (27,27) [32] 0xFFFFF000 lsb = 12 => 28 (20,20) checking bit pattern ... result = 0xFFFFFFFF mapped 0x60500000+0x00004000 to 0x60500000. mapped 0x60504000+0x00004000 to 0x60504000. mapped 0x60508000+0x00004000 to 0x60508000. mapped 0x6050C000+0x00004000 to 0x6050C000. mapped 0x80300000+0x00004000 to 0x80300000. mapped 0x80304000+0x00004000 to 0x80304000. mapped 0x80308000+0x00004000 to 0x80308000. mapped 0x8030C000+0x00004000 to 0x8030C000. mapped 0x80000000+0x00400000 to 0xB69E0000. mapped 0x18000000+0x08000000 to 0x18000000. read buffer = 0x18390200 assuming power board version 0.30 selecting RFW [bus A] ... Traceback (most recent call last): File "/usr/axiom/script/axiom_pic_jtag_pcie.py", line 22, in i2c.write_byte(base + 0x28, 0x01) # TDO_W input File "/usr/lib/python3.9/site-packages/smbus/util.py", line 59, in validator return fn(*args, **kwdefaults) File "/usr/lib/python3.9/site-packages/smbus/smbus.py", line 121, in write_byte raise IOError(ffi.errno) OSError: 6 Setting gain x1 (0,0x3eb)...

se6astian-pi commented 2 years ago

error now slightly different:

[18] 0xFFFFFFE0 lsb = 05 => 21 (27,27) [19] 0xFFFFFFFF center => 16 (32,32) [20] 0xFFFFFFFF center => 16 (32,32) [21] 0xFFFFFFFF center => 16 (32,32) [22] 0xFFFFFFFF center => 16 (32,32) [23] 0xFFFFFFFF center => 16 (32,32) [24] 0x3FFFFFFF msb = 29 => 13 (30,30) [25] 0x07FFFFFF msb = 26 => 10 (27,28) [26] 0x00FFFFFF msb = 23 => 07 (24,24) [27] 0x001FFFFF msb = 20 => 04 (21,20) [28] 0x0001FFFF msb = 16 => 00 (17,17) [29] 0xFFFF8000 lsb = 15 => 31 (17,17) [30] 0xFFFFF800 lsb = 11 => 27 (21,21) [31] 0xFFFFFF00 lsb = 08 => 24 (24,24) [32] 0xFFFFC000 lsb = 14 => 30 (18,18) checking bit pattern ... result = 0xFFFFFFFF mapped 0x60500000+0x00004000 to 0x60500000. mapped 0x60504000+0x00004000 to 0x60504000. mapped 0x60508000+0x00004000 to 0x60508000. mapped 0x6050C000+0x00004000 to 0x6050C000. mapped 0x80300000+0x00004000 to 0x80300000. mapped 0x80304000+0x00004000 to 0x80304000. mapped 0x80308000+0x00004000 to 0x80308000. mapped 0x8030C000+0x00004000 to 0x8030C000. mapped 0x80000000+0x00400000 to 0xB699C000. mapped 0x18000000+0x08000000 to 0x18000000. read buffer = 0x18390200 assuming power board version 0.30 selecting RFW [bus A] ... Traceback (most recent call last): File "/usr/axiom/script/axiom_pic_jtag_pcie.py", line 27, in jtag_tms(i2c, base, "11111111") # goto reset File "/opt/axiom-firmware/software/scripts/axiom_jtag.py", line 107, in jtag_tms data, mod, val = bit_split(leba(bits)) File "/opt/axiom-firmware/software/scripts/axiom_jtag.py", line 17, in bit_split total = bits.length() AttributeError: 'bitarray.bitarray' object has no attribute 'length' Setting gain x1 (0,0x3eb)...