<samueldr>
I needed a good way to generate a rootfs to get stage-2 going on hardware
<samueldr>
and this hopefully will be used in NixOS proper too, for all filesystems and disk images generations
<craige>
I'm trying to see how the stack works, too see what can be used for the Librem 5, as trying to duplicate Purism's efforts is turtles all the way down, so I'm not looking at just going NixOS, + a few patches and plasma-mobile style environment.
<samueldr>
I still need to write a proper write-up of the separation of concerns within Mobile NixOS
* samueldr
digs a link
<craige>
Also, I'm going to pick up a pine64phone as soon as possible to help (I've seen your branches already there!) :-)
<samueldr>
as soon as stage-2 is booting, I'm working on getting the pinephone going great
<samueldr>
>> A non-obvious detail is that this is not a new distribution, nor is it a fork. A system built with Mobile NixOS ends up using the Nixpkgs packages set, and the NixOS module system. This is a composition on top of NixOS! The project is built mainly to create the required boot environment, add the necessary packages for the devices, and add the necessary options for the devices. Mobile NixOS will have a different stage-1, but it is expected
<samueldr>
that from stage-21 it will be built using all upstream NixOS components.
<samueldr>
it's a bit condensed, but it might shed some light
<samueldr>
hm, s/stage-21/stage-2[^1]/
<samueldr>
basically, Mobile NixOS has two big tasks (1) boot up until stage-2 (2) get software, kernel, and drivers working on a standard NixOS stage-2
<samueldr>
right now I've only worked on things within (1)
<samueldr>
for (1) and (2) I built the system as a description of the hardware, but I'm not 100% sure it'll stay as implemented
<craige>
Being a composition on top of NixOS was the direction I was heading with the Librem-5 too.
<samueldr>
good :)
<samueldr>
you don't have devkit, do you?
<craige>
For the core of the Libre-5 we really just need a few kernel patches and patched modemmanger.
<samueldr>
how does it boot?
<samueldr>
I still haven't looked at their boot chain
<craige>
No, I'm doing it all in qemu - I *should* have bought a devkit but past me failed to look forward enough.
<samueldr>
so in the end it's likely to have a similar boot setup than the pinephone as far as infra will look like
<craige>
They release qemu-x86 images, and I"m so far just trying to produce a NixOS qemu stack that does most of the same roles,
<craige>
I think there will be some close crossover.
<craige>
At this rate, I'm expecting I may have a pine phone before the librem 5.
<samueldr>
considering _their_ rhythm, it's possible
<samueldr>
though it's a platform that they have had time to master
<craige>
What I have noticed is that a log of the plasma-mobile apps are not in NixOS either.
<craige>
Which is why I was wanting to examine the stack you were putting together.
<craige>
ie: I was tring to package phoc for NixOS but it was proving to be a genuine snowflake but then I found that plasma-mobiles's simplelogin (the equivalent of phoc) was also missing.
<samueldr>
bin/build qemu-x86_64 && bin/boot-qemu # worked here
<samueldr>
though it's still under the same conditions of not going further than stage-1 :)
<craige>
I get the errors I listed in the issue. I may be missing something locally.
<craige>
(for example, needing nixpkgs at the root of the repo was one bump I hit.
<samueldr>
yeah, really need to shave the yak :)
<samueldr>
it's been so long since I actively looked at the structure of the project
<craige>
:-)
vika_nezrimaya has quit [Ping timeout: 246 seconds]
LnL has joined #nixos-aarch64
LnL is now known as Guest95592
vika_nezrimaya has joined #nixos-aarch64
orivej has joined #nixos-aarch64
vika_nezrimaya` has joined #nixos-aarch64
vika_nezrimaya has quit [Disconnected by services]
vika_nezrimaya` is now known as vika_nezrimaya
zupo has joined #nixos-aarch64
vika_nezrimaya has quit [Quit: ERC (IRC client for Emacs 26.2)]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 258 seconds]
vika_nezrimaya has joined #nixos-aarch64
zupo has joined #nixos-aarch64
v0|d has quit [Ping timeout: 258 seconds]
vika_nezrimaya has quit [Ping timeout: 252 seconds]
vika_nezrimaya has joined #nixos-aarch64
zupo has quit [Remote host closed the connection]
zupo has joined #nixos-aarch64
vika_nezrimaya has quit [Ping timeout: 244 seconds]
orivej has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
sphalerit has quit [Write error: Connection reset by peer]
contrun[m] has quit [Read error: Connection reset by peer]
alj[m] has quit [Write error: Connection reset by peer]
codyopel has quit [Write error: Connection reset by peer]
danielrf[m] has quit [Write error: Connection reset by peer]
cornu has quit [Remote host closed the connection]
balsoft has quit [Write error: Broken pipe]
atopuzov[m] has quit [Remote host closed the connection]
dtz has quit [Remote host closed the connection]
bennofs[m] has quit [Write error: Connection reset by peer]
alienpirate5 has quit [Write error: Connection reset by peer]
worldofpeace has quit [Remote host closed the connection]
nocent has quit [Remote host closed the connection]
timclassic has quit [Write error: Connection reset by peer]
thefloweringash has quit [Write error: Connection reset by peer]
Ericson2314 has quit [Write error: Connection reset by peer]
timokau[m] has quit [Remote host closed the connection]
NickHu has quit [Remote host closed the connection]
marius851000[m] has quit [Write error: Broken pipe]
sphalerit has joined #nixos-aarch64
zupo has quit [Read error: Connection reset by peer]
zupo has joined #nixos-aarch64
codyopel has joined #nixos-aarch64
timokau[m] has joined #nixos-aarch64
Ericson2314 has joined #nixos-aarch64
NickHu has joined #nixos-aarch64
timclassic has joined #nixos-aarch64
atopuzov[m] has joined #nixos-aarch64
thefloweringash has joined #nixos-aarch64
bennofs[m] has joined #nixos-aarch64
dtz has joined #nixos-aarch64
nocent has joined #nixos-aarch64
cornu has joined #nixos-aarch64
alj[m] has joined #nixos-aarch64
worldofpeace has joined #nixos-aarch64
balsoft has joined #nixos-aarch64
danielrf[m] has joined #nixos-aarch64
contrun[m] has joined #nixos-aarch64
alienpirate5 has joined #nixos-aarch64
marius851000[m] has joined #nixos-aarch64
zupo has quit [Read error: Connection reset by peer]
zupo_ has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest95592 has joined #nixos-aarch64
Guest95592 has quit [Changing host]
Guest95592 is now known as LnL
orivej has quit [Ping timeout: 245 seconds]
ryantrinkle has quit [Remote host closed the connection]
ryantrinkle has joined #nixos-aarch64
orivej has joined #nixos-aarch64
wildtrees has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 244 seconds]
jtojnar has joined #nixos-aarch64
ris has joined #nixos-aarch64
k0ral has quit [Quit: WeeChat 2.5]
ryantrinkle has quit [Ping timeout: 244 seconds]
andi- has quit [Ping timeout: 264 seconds]
jtojnar has quit [Read error: Connection reset by peer]
andi- has joined #nixos-aarch64
jtojnar_ has joined #nixos-aarch64
zupo_ has quit [Ping timeout: 245 seconds]
zupo has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
Thra11 has quit [Quit: WeeChat 2.5]
marius851000[m] has quit [*.net *.split]
marius851000[m] has joined #nixos-aarch64
zupo has quit [Read error: Connection reset by peer]
zupo has joined #nixos-aarch64
wildtrees has quit [Quit: Leaving]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryantrinkle has quit [Ping timeout: 246 seconds]
ryantrinkle has joined #nixos-aarch64
jtojnar_ has quit [Remote host closed the connection]
jtojnar has joined #nixos-aarch64
{^_^} has quit [Remote host closed the connection]