Skip to content

Librem 5 support #24

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

Merged
merged 10 commits into from
Feb 11, 2021
Merged

Librem 5 support #24

merged 10 commits into from
Feb 11, 2021

Conversation

dos1
Copy link
Contributor

@dos1 dos1 commented Jun 19, 2020

This is very obviously not mergeable and I probably won't work on it anymore, but it might be a good base for someone to take over and write proper support, so sharing it here.

Instead of producing SD/eMMC image like for PinePhone, this produces an initramfs that can then be booted straight via USB by using uuu.

What's left to do:

@asriel-danctnix
Copy link
Member

I don't have a Librem5 but it's cool to see non-Pine64 device running Jumpdrive.

@asriel-danctnix asriel-danctnix added the enhancement New feature or request label Jun 19, 2020
@dos1 dos1 changed the title WIP: Initial proof-of-concept of Librem 5 support Librem 5 support Jan 24, 2021
@dos1
Copy link
Contributor Author

dos1 commented Jan 24, 2021

So turns out I actually went forward and put it into shape that hopefully allows it to get merged :)

@MartijnBraam
Copy link
Collaborator

MartijnBraam commented Jan 25, 2021

Oh cool, seems mostly allright.

Maybe have the L5 target output a .tar.gz containing the required files and a shell script to launch uuu so that can be main target to build this and to have a file to redistribute.

edit: no purism logo etc in the splash screen?

@craftyguy
Copy link
Contributor

I think the dtb here should be the one for Birch, since it'll work on r2, r3, r4, right? If this uses the r4 dtb, then it'll only work on Evergreen?

dos1 and others added 9 commits February 4, 2021 02:57
Some devices may need a bit of time to initialize their peripherals
(like the SD card on the Librem 5).
This is consistent with the naming for other devices (<oem>-<model>)
This is 'safer', since my understanding is that it'll work on all
librem5 variants, whereas the 'r4' dtb only works on Evergreen
@dos1
Copy link
Contributor Author

dos1 commented Feb 4, 2021

It appears @craftyguy got tired of waiting for me and implemented your suggestions by himself - so I just included his branch in this MR (plus some minor adjustments from me).

The only thing left would then be the splash, which - honestly - IMO looks fine the way it is. Feel free to change it if you want though ;)

@MartijnBraam MartijnBraam merged commit a3db33c into dreemurrs-embedded:master Feb 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants