Skip to content

codexctl install causes swupdate errors #160

@StarNumber12046

Description

@StarNumber12046

The command python main.py install 3.22.4.2 (probably also an issue with the binary build of codexctl) fails on my rM2 with the following

Success: Connected to device
Version 3.22.4.2 not found. Attempting to download
[==================================================]
Downloaded version 3.22.4.2 to .//remarkable-production-memfault-image-3.22.4.2-rm2-public
Uploading .//remarkable-production-memfault-image-3.22.4.2-rm2-public image
Transferring progress100%
Done! Running swupdate (PLEASE BE PATIENT, ~5 MINUTES)
[ERROR] : SWUPDATE failed [0] ERROR : mount: /mnt: WARNING: source write-protected, mounted read-only.
[ERROR] : SWUPDATE failed [0] ERROR : Failed to locate /usr/lib/ld-linux-armhf.so.3 in /mnt
[ERROR] : SWUPDATE failed [0] ERROR : execute postinstall scripts failed
[ERROR] : SWUPDATE failed [1] Installation failed !

Traceback (most recent call last):
  File "C:\Users\StarNumber\codexctl\main.py", line 13, in <module>
    main()
    ~~~~^^
  File "C:\Users\StarNumber\codexctl\codexctl\__init__.py", line 642, in main
    man.call_func(args.command, vars(args))
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\StarNumber\codexctl\codexctl\__init__.py", line 440, in call_func
    remarkable.install_sw_update(update_file, bootloader_files=bootloader_files_for_install)
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\StarNumber\codexctl\codexctl\device.py", line 764, in install_sw_update
    raise SystemError("Update failed!")
SystemError: Update failed!

The same issue arises with swupdate $SWUPDATE_ARGS -i /tmp/[name].swu, however, swupdate-from-image-file succeeds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions