Skip to content
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

Model 100 Arduino bundle requires a too-new glibc for dfu-util #1294

Open
cxw42 opened this issue Oct 23, 2022 · 3 comments
Open

Model 100 Arduino bundle requires a too-new glibc for dfu-util #1294

cxw42 opened this issue Oct 23, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@cxw42
Copy link
Contributor

cxw42 commented Oct 23, 2022

Describe the bug

On Ubuntu 20.04 with Kaleidoscope Keyboards (GD32) v1.99.7, when trying to flash using the Arduino IDE, I get an error that dfu-util can't run. My system glibc is 2.31, and dfu-util 0.11.0-arduino3 requires glibc 2.34. I can overcome that error by replacing the provided dfu-util with one built from source. Thanks in advance for your help!

To Reproduce

  1. Download Arduino 1.8.19 tarball from https://www.arduino.cc/en/software
  2. Untar it
  3. Run cd arduino-1.8.19 && ./install.sh.
  4. Run the IDE
  5. File | Preferences, and add https://raw.githubusercontent.com/keyboardio/boardsmanager/master/package_keyboardio_index.json as an additional board manager URL (ref.)
  6. Tools | Board | Board manager
  7. Search for Keyboardio
  8. Install the Kaleidoscope Keyboards (GD32) bundle (takes a while)
  9. In the IDE, Tools | Board | Kaleidoscope Keyboards (2021+) | Keyboardio Model 100
  10. In the IDE, File | Examples | Kaleidoscope | Devices | Keyboardio | Model 100
  11. In the IDE, Sketch | Verify/Compile
  12. Unplug the Model100, then hold Prog and plug it back in.  Prog should light steady red.
  13. In the IDE, Sketch | Upload

Observed behavior
Error that dfu-util can't run because it needs GLIBC 2.34

Expected behavior
It flashes

Desktop (please complete the following information):

  • OS: Ubuntu 20.04 x64
  • Chrysalis Version: 0.11.8 (NOTE: the keyboard does flash with Chrysalis
  • Arduino version: 1.8.19

Notes
May relate to keyboardio/Chrysalis#885.

@cxw42 cxw42 added the bug Something isn't working label Oct 23, 2022
@obra
Copy link
Member

obra commented Oct 23, 2022 via email

@algernon algernon transferred this issue from keyboardio/Chrysalis Oct 23, 2022
@tlyu
Copy link
Collaborator

tlyu commented Oct 24, 2022

We might want to check whether Arduino has an OS support policy that includes Ubuntu 20.04 before we try to upstream the bug.

@obra
Copy link
Member

obra commented Oct 24, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants