GraphicsV IICOp returns incorrect R0 on exit
William Harden (2174) 244 posts |
EDID read code works fine on a Raspberry Pi Testing the same code on the Pandaboard, R0 is non-zero on exit (which should indicate that the HAL IIC failed to transfer the data.) I think R0 is actually being unchanged, rather than returning the IIC status flag. Ignoring my checks for this, the EDID is returned correctly so it appears to be an API issue rather than an actual fault. |
William Harden (2174) 244 posts |
To test – try the following (C code): res = swix(OSCallAVector, INR|IN|IN|_OUT(0)|OUT,(0xa1<<16),datablock, 0xff,14, &iiccode, &opcode); |
Jeffrey Lee (213) 6048 posts |
Correct! I’ve submitted a fix, so everything should be OK in tomorrow’s ROMs. Thanks! |
William Harden (2174) 244 posts |
Cheers – thanks for that. Just fighting with EDID timings (again). We’re now on take 3. HOWEVER, I think we are making progress on this :-). |