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
device: add pine64-pinephone-braveheart #96
device: add pine64-pinephone-braveheart #96
Conversation
bc7892a
to
d910e94
Compare
d910e94
to
8f40518
Compare
8f40518
to
a67eb6f
Compare
With the last few changes, mainly dealing with setting the LED automatically during boot, I believe this is ready for merging. The LED will go from red, to yellow, to green, depending on the current step during boot.
This may help in figuring out where it hangs in early boot, but more importantly, gives immediate feedback when powering on, rather than with a dead display, and dead LED up until the kernel does what a kernel does. |
This system type assumes the target will boot using a u-boot based bootloader.
This file was introduced when working on the devkit. The R18 will be kept for now, even though no devices use it for now.
The boot.scr lights the LED yellow.
This sets the red + green LEDs, making it yellow.
The red LED is turned on ASAP.
b127726
to
e026485
Compare
🎉 |
Flashed the following image: https://hydra.nixos.org/build/115644934#tabs-details |
Yes, I have a task to document that "problem". What is happening is that you have an unconfigured system. The Mobile NixOS default configuration cannot pre-configure anything, or else you would step on the end-users' toes! So this build there has a useless unconfigured minimal system, pretty much like you would if you used an empty configuration.nix. This is not a pinephone-specific issue, the same exact situation holds true for all devices. I'm about to add the Briefly: Yes it's expected. :) |
Thanks for the answer! In the meantime I read through your README and figured that the local.nix was what I needed. I'm a bit surprised however that my Raspberry Pi is compiling the linux kernel for a good two hours now, instead of fetching it from cache.nixos.org. I'm pretty sure I'm on the same nixos-unstable and mobile-nixos commits as the mobile-nixos evaluation that I downloaded the image from. local.nix |
Building on-top of the u-boot work of #53 and #94, here's the final u-boot system type setup for the PinePhone.
With this PR, the PinePhone boots.
This is currently a bit over feature parity with other devices. This can use the same
system.img
as other devices.Status
Closes #53 as it's not representative of the final PinePhone setup.