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

Make qemu images for the reMarkable #21

Open
raisjn opened this issue Sep 29, 2020 · 8 comments
Open

Make qemu images for the reMarkable #21

raisjn opened this issue Sep 29, 2020 · 8 comments
Labels
ideas Ideas that need to be explored

Comments

@raisjn
Copy link
Collaborator

raisjn commented Sep 29, 2020

it would be really cool if we were able to run a qemu image with arm and emulate the rM execution environment. we could then run tests, take screenshots and do other things from a CI machine

@matteodelabre matteodelabre transferred this issue from toltec-dev/toltec Sep 29, 2020
@fenollp
Copy link

fenollp commented Oct 1, 2020

Are you aware of https://github.com/evidlo/remarkable_sim ?

@raisjn
Copy link
Collaborator Author

raisjn commented Oct 1, 2020

yes, we helped build resim by making sure it sent the proper events and the correct coordinates: https://github.com/rmkit-dev/remarkable_sim

rmkit supports resim (is the only project to support it, afaik) bc resim was created to address the problems with rmkit''s viewer.py.

but resim is not enough, i want testing that simulates the device through qemu. perhaps using resim is a good first step though for projects that can work with resim

@raisjn
Copy link
Collaborator Author

raisjn commented Oct 1, 2020

also, I'm not sure this is not a toolchain issue, it is for CI testing of built apps, to make sure installation works and other common tasks

@matteodelabre
Copy link
Member

Well, it's a bit in-between, since if I understand correctly we'll need to have a replica of the reMarkable system for this to work. In particular, we'll need to have the same set of available libs.

@matteodelabre matteodelabre changed the title wishlist: add qemu image Make qemu images for the reMarkable Jan 26, 2021
@matteodelabre matteodelabre transferred this issue from toltec-dev/toolchain Jan 26, 2021
@matteodelabre
Copy link
Member

Transferring this to a more general repo since it’s not totally in scope for the toolchain repo.

@raisjn
Copy link
Collaborator Author

raisjn commented Jan 26, 2021

bordaigorl/rmview#22 (comment) is relevant explanation from @pl-semiotics on how to set something like this up

@matteodelabre matteodelabre added the ideas Ideas that need to be explored label Mar 19, 2021
@matteodelabre
Copy link
Member

I managed to make a QEMU VM run the rM stock system. There’s still a lot of work remaining to make the emulation closer to the true device, though. Here are some notes on how I got it working: https://gist.github.com/matteodelabre/92599920b46e5fac9daf58670d367950

Screenshot from 2021-11-21 20-25-43

@Eeems
Copy link
Member

Eeems commented Oct 3, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ideas Ideas that need to be explored
Projects
None yet
Development

No branches or pull requests

4 participants