Skip to content

GXL fail to boot on AMD platforms #18

@superna9999

Description

@superna9999

Here's the current log:

$ sudo ./boot.py libretech-cc
Using GX Family boot parameters
ROM: 2.4 Stage: 0.0
Writing /home/narmstrong/projects/amlogic/pyamlboot/files/libretech-cc/u-boot.bin.usb.bl2 at 0xd9000000...
[DONE]
Writing /home/narmstrong/projects/amlogic/pyamlboot/files/usbbl2runpara_ddrinit.bin at 0xd900c000...
[DONE]
Running at 0xd9000000...
[DONE]
Waiting...
[DONE]
ROM: 2.4 Stage: 0.0
Writing /home/narmstrong/projects/amlogic/pyamlboot/files/libretech-cc/u-boot.bin.usb.bl2 at 0xd9000000...
[DONE]
Writing /home/narmstrong/projects/amlogic/pyamlboot/files/usbbl2runpara_runfipimg.bin at 0xd900c000...
[DONE]
Writing /home/narmstrong/projects/amlogic/pyamlboot/files/libretech-cc/u-boot.bin.usb.tpl at 0x200c000...
Traceback (most recent call last):
  File "/home/narmstrong/projects/amlogic/pyamlboot/./boot.py", line 132, in <module>
    usb.load_uboot()
  File "/home/narmstrong/projects/amlogic/pyamlboot/./boot.py", line 89, in load_uboot
    self.write_file(os.path.join(self.bpath, self.TPL_FILE), self.UBOOT_LOAD, large = 64, fill = True)
  File "/home/narmstrong/projects/amlogic/pyamlboot/./boot.py", line 63, in write_file
    self.dev.writeLargeMemory(addr, b, large, fill)
  File "/home/narmstrong/projects/amlogic/pyamlboot/pyamlboot/pyamlboot.py", line 239, in writeLargeMemory
    self._writeLargeMemory(address+offset, data[offset:offset+writeLength], \
  File "/home/narmstrong/projects/amlogic/pyamlboot/pyamlboot/pyamlboot.py", line 220, in _writeLargeMemory
    ep.write(data[offset:offset+blockLength], 1000)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 408, in write
    return self.device.write(self, data, timeout)
  File "/usr/lib/python3/dist-packages/usb/core.py", line 989, in write
    return fn(
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 837, in bulk_write
    return self.__write(self.lib.libusb_bulk_transfer,
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 938, in __write
    _check(retval)
  File "/usr/lib/python3/dist-packages/usb/backend/libusb1.py", line 602, in _check
    raise USBTimeoutError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBTimeoutError: [Errno 110] Operation timed out

The platform is an AMD Ryzen 7 PRO 5850U

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions