superna9999 / pyamlboot

Amlogic USB Boot Protocol Library
https://pypi.org/project/pyamlboot/
Apache License 2.0
71 stars 27 forks source link

SEI610 mainline u-boot on A95X F3 Air #11

Open MrArtemSid opened 3 years ago

MrArtemSid commented 3 years ago

I tried to run start SEI610 mainline u-boot on A95X F3 Air, but got such issue: sudo boot-g12.py u-boot_sei610_noab.bin Firmware Version : ROM: 0.7 Stage: 0.16 Need Password: 0 Password OK: 0 Writing u-boot_sei610_noab.bin at 0xfffa0000... Traceback (most recent call last): File "/home/sid_key/.local/bin/boot-g12.py", line 35, in dev.writeLargeMemory(0xfffa0000, data[0:0x10000], 4096) File "/usr/lib/python3.9/site-packages/pyamlboot/pyamlboot.py", line 239, in writeLargeMemory self._writeLargeMemory(address+offset, data[offset:offset+writeLength], \ File "/usr/lib/python3.9/site-packages/pyamlboot/pyamlboot.py", line 194, in _writeLargeMemory raise ValueError('Large Data must be a multiple of block length') ValueError: Large Data must be a multiple of block length