Skip to content

Bootloader SVL aarch64 Support #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
oclyke opened this issue Jan 6, 2020 · 1 comment
Closed

Bootloader SVL aarch64 Support #105

oclyke opened this issue Jan 6, 2020 · 1 comment
Labels
bootloader:svl enhancement New feature or request

Comments

@oclyke
Copy link
Contributor

oclyke commented Jan 6, 2020

Continuing from #4 (comment)

There are two thing to address here, it seems.

  1. We could consider adding support for aarch64 by default, since you've gotten it to compile. The bootlaoder problems you are experiencing should be unrelated. If you like you could make a PR to the SparkFun Arduino Boards repo that includes your changes. Otherwise I can take care of it.
  2. You are having bootloader troubles which can be resolved in this issue.

So regarding the bootloader...

  • You seem to have the core v1.0.23 installed. That comes with an updated version of the SVL loader (v5). Have you updated the bootloader on the board by using the 'Burn Bootloader' option from the Arduino Tools menu? (v5 should be backward compatible but it can't hurt to update)
  • Your error appears to be a Python syntax error - potentially also caused by the difference in architecture. The executable under tools/artemis/linux was created using pyinstaller --onefile artemis_svl.py on an Ubuntu 18.04 machine. I'm not terribly familiar with the differences between linux flavors and host architectures but there may be some incompatibility. You can try two solutions:
  1. Modify platform.txt so that the upload step actually calls python3 to run the source code script (which you can then edit play around with to see what's going on)
    Change:
    tools.artemis_svl.pgm={runtime.platform.path}/tools/artemis/linux/artemis_svl
    to:
    python3 {runtime.platform.path}/tools/artemis/artemis_svl.py
  2. Try using PyInstaller to generate an executable for your architecture. That would be along the lines of pyinstaller --onefile artemis_svl.py
@Wenn0101
Copy link
Contributor

closed due to inactivity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootloader:svl enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants