Closed RadxaYuntian closed 2 months ago
Posted this in our Discord as well.
Can you precise on which usb controller model you are running? Can you run lsusb -vv ?
Upgraded the system today and the issue disappeared. The kernel was upgraded from 6.8.8 to 6.8.9 so maybe something was not right in the previous release.
Just cloned the repo and tried
boot-g12.py
:Serial showed
G12A:BL:0253b8:61aa2d;FEAT:E0F83180:2000;POC:F;RCY:0;EMMC:0;READ:0;CHK:1F;READ:0;CHK:1F;READ:0;CHK:1F;SD?:20000;USB:8;
so nothing was getting to the device.First, I reduced the block size for the failed function call back to the default 64 bytes:
It went a bit further:
There is also some output in the device serial:
I tried to play with block size (
AMLC_AMLS_BLOCK_LENGTH
,AMLC_MAX_TRANSFERT_LENGTH
, andAMLC_MAX_BLOCK_LENGTH
) for the above error to no avail. There is also another error that I'm getting:So it is mostly
dev.getBootAMLC
anddev.writeAMLCData
throwing errors on me now.I'd like to check if this is my own system issue, or if this is an Arch issue.