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

Arm support #11

Open
hackmonker opened this issue Jun 17, 2022 · 16 comments
Open

Arm support #11

hackmonker opened this issue Jun 17, 2022 · 16 comments
Labels
help wanted Extra attention is needed

Comments

@hackmonker
Copy link

It is currently only amd64 supported. any chances of an arm64 image too? even m4b-tool support arm now. really want to try it out in my rpi. thanks a lot

@seanap seanap added the help wanted Extra attention is needed label Jun 17, 2022
@seanap
Copy link
Owner

seanap commented Jun 17, 2022

Looks like we need to set the right dependency in the docker run command per sandreas/m4b-tool#165

I don't have any arm based hw to test.

@hackmonker
Copy link
Author

In case you wanted it, this is my docker container for arm
https://hub.docker.com/r/hackmonker/m4b-tool.
I am using it for the old method along with organize (linux) instead of dropit (windows). works exactly like the old method but with only linux. But really wanted to bring everything together which this definitely does.

@seanap
Copy link
Owner

seanap commented Jun 17, 2022

Does your docker work for both arm and amd64?

@hackmonker
Copy link
Author

not sure. I mainly made it for arm but i can build for both. let me check

@hackmonker
Copy link
Author

hackmonker commented Jun 17, 2022

ok I am building it. it will work for both arm and amd

edit: tested and works for both arm and amd now

@seanap
Copy link
Owner

seanap commented Jun 17, 2022

Sweet, when I get some time I'll create a beta branch and see what it takes to integrate the two

@hackmonker
Copy link
Author

Any success on an arm version? just wanted to know if it is not working for some reason?

@seanap
Copy link
Owner

seanap commented Dec 11, 2022

Sorry, I don't have an arm device to do any testing, I compared the differences between our docker run files but wasn't sure what all needed to be modified.

@hackmonker
Copy link
Author

Oh I see. Well will try to see if I can build a container myself

@nov1n
Copy link

nov1n commented Mar 1, 2023

@hackmonker Did you manage to get it to work on the Pi?

@nov1n
Copy link

nov1n commented Mar 1, 2023

There is an official Docker image for arm now: sandreas/m4b-tool#187

@Doug411
Copy link

Doug411 commented May 6, 2023

I'm also very interested in running this on a raspberry pi (arm64). Are there any updates on getting this working?

@SpencerMKSmith
Copy link
Contributor

@hackmonker @seanap Very interested in getting arm64 support for this, how could I help? I have access to both hardware architectures.

@SpencerMKSmith
Copy link
Contributor

Found another fork that seems to have attempted this same thing: 09d3353

Going to try pulling it to see if it works.

@SpencerMKSmith
Copy link
Contributor

I modified the tracking baseimage tag to be Jammy rather than master. After doing that I was able to build on my RPi and successfully merge an audiobook. I'll give it a few more books to ensure it's running correctly, and also check it on a Windows machine, then I'll put up a PR.

@SpencerMKSmith
Copy link
Contributor

PR for my changes: #35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants