hexa[m] has joined #nixos-aarch64
<hexa-> test
<hexa[m]> test
<samueldr> hexa[m]: saw a test
<samueldr> looking into the matrix issues?
<hexa-> yep
<hexa-> wfm
<samueldr> thanks
<samueldr> I really have no idea so any input will be helpful I guess
superherointj has quit [Quit: Leaving]
cole-h has quit [Ping timeout: 265 seconds]
rajivr has joined #nixos-aarch64
bpye8 has joined #nixos-aarch64
bpye8 has quit [Client Quit]
bpye has quit [Ping timeout: 240 seconds]
bpye has joined #nixos-aarch64
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #nixos-aarch64
bpye has quit [Ping timeout: 268 seconds]
bpye has joined #nixos-aarch64
h0m2 has quit [Ping timeout: 248 seconds]
h0m2 has joined #nixos-aarch64
bpye6 has joined #nixos-aarch64
bpye has quit [Ping timeout: 260 seconds]
bpye6 is now known as bpye
<clever> samueldr: ouch!
aleph- has quit [Ping timeout: 246 seconds]
aleph- has joined #nixos-aarch64
aleph- has quit [Ping timeout: 240 seconds]
aleph- has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
<aleph-> ;3A
<Ke> samueldr: any idea about what?
srk has joined #nixos-aarch64
FRidh has joined #nixos-aarch64
alpernebbi has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo_ has joined #nixos-aarch64
zupo_ has quit [Client Quit]
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 268 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
h0m2 has quit [*.net *.split]
Irenes has quit [*.net *.split]
Raito_Bezarius has quit [*.net *.split]
Acou_Bass has quit [*.net *.split]
dsal has quit [*.net *.split]
pbb has quit [*.net *.split]
kraem has quit [*.net *.split]
lopsided98_ has quit [*.net *.split]
srk has quit [*.net *.split]
justanotheruser has quit [*.net *.split]
Gaelan has quit [*.net *.split]
bachp has quit [*.net *.split]
ehmry has quit [*.net *.split]
s1341_ has quit [*.net *.split]
Liam[m] has quit [*.net *.split]
sorki[m] has quit [*.net *.split]
misuzu has quit [*.net *.split]
qyliss has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
andi- has quit [*.net *.split]
davidtwco has quit [*.net *.split]
Laa[m] has quit [*.net *.split]
fooker has quit [*.net *.split]
bridge[evilred] has quit [*.net *.split]
njd has quit [*.net *.split]
disasm_ has quit [*.net *.split]
delroth has quit [*.net *.split]
cptchaos83 has quit [*.net *.split]
blackriversoftwa has quit [*.net *.split]
DigitalKiwi has quit [*.net *.split]
anton[m]1 has quit [*.net *.split]
artturin has quit [*.net *.split]
hpfr has quit [*.net *.split]
l-as has quit [*.net *.split]
Ox4A6F has quit [*.net *.split]
DavHau[m] has quit [*.net *.split]
ejpcmac has quit [*.net *.split]
nicoo has quit [*.net *.split]
luxemboye has quit [*.net *.split]
pinkieval has quit [*.net *.split]
{^_^} has quit [*.net *.split]
CRTified[m] has quit [*.net *.split]
railroadmanualji has quit [*.net *.split]
sebbadk[m] has quit [*.net *.split]
craige[m] has quit [*.net *.split]
kloenk has quit [*.net *.split]
roberth has quit [*.net *.split]
colemickens has quit [*.net *.split]
ashkitten has quit [*.net *.split]
jdnixx-M has quit [*.net *.split]
hexa- has quit [*.net *.split]
cepheus has quit [*.net *.split]
edrex has quit [*.net *.split]
bennofs[m] has quit [*.net *.split]
spacetato has quit [*.net *.split]
fgaz has quit [*.net *.split]
unclechu has quit [*.net *.split]
leonardp has quit [*.net *.split]
davidak[m] has quit [*.net *.split]
Jassuko[m] has quit [*.net *.split]
Reventlov has quit [*.net *.split]
blueberrypie has quit [*.net *.split]
ajs124 has quit [*.net *.split]
patagonicus has quit [*.net *.split]
dotlambda has quit [*.net *.split]
quinn has quit [*.net *.split]
pie_ has quit [*.net *.split]
zhaofeng1 has quit [*.net *.split]
sorear has quit [*.net *.split]
sphalerite has quit [*.net *.split]
Asmadeus has quit [*.net *.split]
zhaofeng_alt has quit [*.net *.split]
gh0st[m]2 has quit [*.net *.split]
manveru[m] has quit [*.net *.split]
LinuxHackerman has quit [*.net *.split]
adisbladis has quit [*.net *.split]
feepo has quit [*.net *.split]
betaboon has quit [*.net *.split]
ar has quit [*.net *.split]
ky0ko1 has quit [*.net *.split]
siraben has quit [*.net *.split]
Ke has quit [*.net *.split]
danielrf[m] has quit [*.net *.split]
JJJollyjim1 has quit [*.net *.split]
thefloweringash has quit [*.net *.split]
Ericson2314 has quit [*.net *.split]
veleiro has quit [*.net *.split]
Valodim has quit [*.net *.split]
NekomimiScience has quit [*.net *.split]
simpson has quit [*.net *.split]
angerman has quit [*.net *.split]
chessai has quit [*.net *.split]
gchristensen has quit [*.net *.split]
shad has quit [*.net *.split]
Ultrasauce has quit [*.net *.split]
dongcarl has quit [*.net *.split]
aforemny has quit [*.net *.split]
ekleog has quit [*.net *.split]
illustris has quit [*.net *.split]
tdeo has quit [*.net *.split]
taktoa[c] has quit [*.net *.split]
steveeJ has quit [*.net *.split]
nyanotech has quit [*.net *.split]
Adluc has quit [*.net *.split]
wirew0rm2 has quit [*.net *.split]
flokli has quit [*.net *.split]
fps has quit [*.net *.split]
yorick has quit [*.net *.split]
cstrahan has quit [*.net *.split]
Dezgeg has quit [*.net *.split]
jasom has quit [*.net *.split]
greizgh has quit [*.net *.split]
jackdk has quit [*.net *.split]
alunduil has quit [*.net *.split]
bdju has quit [*.net *.split]
julm has quit [*.net *.split]
matthewcroughan has quit [*.net *.split]
FireFly has quit [*.net *.split]
FRidh has quit [*.net *.split]
cole-h has quit [*.net *.split]
dustinm has quit [*.net *.split]
heywoodlh has quit [*.net *.split]
AmandaC has quit [*.net *.split]
bpye has quit [*.net *.split]
aleph- has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
V has quit [*.net *.split]
sigtrm has quit [*.net *.split]
pinpox has quit [*.net *.split]
WilliButz has quit [*.net *.split]
mschwaig has quit [*.net *.split]
nbp has quit [*.net *.split]
alpernebbi has quit [*.net *.split]
figgyc has quit [*.net *.split]
edcragg has quit [*.net *.split]
bigvalen has quit [*.net *.split]
ornxka has quit [*.net *.split]
samueldr has quit [*.net *.split]
hiroshi[m] has quit [*.net *.split]
luigy has quit [*.net *.split]
craige_ has quit [*.net *.split]
AlesHuzik[m] has quit [*.net *.split]
Dandellion has quit [*.net *.split]
puzzlewolf has quit [*.net *.split]
hyperfekt has quit [*.net *.split]
Andoriyu has quit [*.net *.split]
abbe has quit [*.net *.split]
c00w has quit [*.net *.split]
marek has quit [*.net *.split]
ryantrinkle has quit [*.net *.split]
evils has quit [*.net *.split]
globin has quit [*.net *.split]
mla has quit [*.net *.split]
wrmilling has quit [*.net *.split]
hexa[m] has quit [*.net *.split]
rajivr has quit [*.net *.split]
cirno-999 has quit [*.net *.split]
Mirrexagon has quit [*.net *.split]
orivej has quit [*.net *.split]
monk has quit [*.net *.split]
mvnetbiz_ has quit [*.net *.split]
clever has quit [*.net *.split]
cwpubDJ[m] has quit [Ping timeout: 245 seconds]
zuh0 has quit [Ping timeout: 245 seconds]
mica[m] has quit [Ping timeout: 245 seconds]
Fuseteam has quit [Ping timeout: 245 seconds]
delroth has joined #nixos-aarch64
njd has joined #nixos-aarch64
disasm_ has joined #nixos-aarch64
cptchaos83 has joined #nixos-aarch64
qyliss has joined #nixos-aarch64
andi- has joined #nixos-aarch64
s1341_ has joined #nixos-aarch64
misuzu has joined #nixos-aarch64
srk has joined #nixos-aarch64
elvishjerricco has joined #nixos-aarch64
davidtwco has joined #nixos-aarch64
Gaelan has joined #nixos-aarch64
fooker has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
bridge[evilred] has joined #nixos-aarch64
dotlambda has joined #nixos-aarch64
quinn has joined #nixos-aarch64
ajs124 has joined #nixos-aarch64
patagonicus has joined #nixos-aarch64
blueberrypie has joined #nixos-aarch64
cirno-999 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
rajivr has joined #nixos-aarch64
Mirrexagon has joined #nixos-aarch64
clever has joined #nixos-aarch64
edrex has joined #nixos-aarch64
hexa- has joined #nixos-aarch64
leonardp has joined #nixos-aarch64
Reventlov has joined #nixos-aarch64
bennofs[m] has joined #nixos-aarch64
davidak[m] has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
ekleog has joined #nixos-aarch64
globin has joined #nixos-aarch64
mla has joined #nixos-aarch64
evils has joined #nixos-aarch64
wrmilling has joined #nixos-aarch64
edrex has quit [Ping timeout: 252 seconds]
davidak[m] has quit [Ping timeout: 252 seconds]
bennofs[m] has quit [Ping timeout: 252 seconds]
leonardp has quit [Ping timeout: 252 seconds]
sigtrm has joined #nixos-aarch64
mschwaig has joined #nixos-aarch64
pinpox has joined #nixos-aarch64
edef has joined #nixos-aarch64
WilliButz has joined #nixos-aarch64
nbp has joined #nixos-aarch64
Acou_Bass has joined #nixos-aarch64
kraem has joined #nixos-aarch64
Raito_Bezarius has joined #nixos-aarch64
Irenes has joined #nixos-aarch64
pbb has joined #nixos-aarch64
ehmry has joined #nixos-aarch64
lopsided98_ has joined #nixos-aarch64
h0m2 has joined #nixos-aarch64
dsal has joined #nixos-aarch64
abbe has joined #nixos-aarch64
hyperfekt has joined #nixos-aarch64
Andoriyu has joined #nixos-aarch64
c00w has joined #nixos-aarch64
marek has joined #nixos-aarch64
Valodim has joined #nixos-aarch64
dustinm has joined #nixos-aarch64
heywoodlh has joined #nixos-aarch64
sphalerite has joined #nixos-aarch64
tdeo has joined #nixos-aarch64
betaboon has joined #nixos-aarch64
Adluc has joined #nixos-aarch64
zhaofeng1 has joined #nixos-aarch64
gchristensen has joined #nixos-aarch64
sorear has joined #nixos-aarch64
aleph- has joined #nixos-aarch64
ar has joined #nixos-aarch64
bpye has joined #nixos-aarch64
zhaofeng_alt has joined #nixos-aarch64
FRidh has joined #nixos-aarch64
dongcarl has joined #nixos-aarch64
Ultrasauce has joined #nixos-aarch64
adisbladis has joined #nixos-aarch64
illustris has joined #nixos-aarch64
AmandaC has joined #nixos-aarch64
feepo has joined #nixos-aarch64
simpson has joined #nixos-aarch64
blackriversoftwa has joined #nixos-aarch64
aminechikhaoui has joined #nixos-aarch64
angerman has joined #nixos-aarch64
aforemny has joined #nixos-aarch64
taktoa[c] has joined #nixos-aarch64
Asmadeus has joined #nixos-aarch64
NekomimiScience has joined #nixos-aarch64
chessai has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
DigitalKiwi has joined #nixos-aarch64
V has joined #nixos-aarch64
wirew0rm2 has joined #nixos-aarch64
shad has joined #nixos-aarch64
flokli has joined #nixos-aarch64
ky0ko1 has joined #nixos-aarch64
nyanotech has joined #nixos-aarch64
cstrahan has joined #nixos-aarch64
yorick has joined #nixos-aarch64
Dezgeg has joined #nixos-aarch64
jasom has joined #nixos-aarch64
fps has joined #nixos-aarch64
jackdk has joined #nixos-aarch64
greizgh has joined #nixos-aarch64
alunduil has joined #nixos-aarch64
cstrahan has quit [Ping timeout: 251 seconds]
feepo has quit [Ping timeout: 258 seconds]
pie_ has joined #nixos-aarch64
julm has joined #nixos-aarch64
bdju has joined #nixos-aarch64
matthewcroughan has joined #nixos-aarch64
FireFly has joined #nixos-aarch64
Danct12[m] has quit [Ping timeout: 245 seconds]
ashkitten has joined #nixos-aarch64
jdnixx-M has joined #nixos-aarch64
{^_^} has joined #nixos-aarch64
pinkieval has joined #nixos-aarch64
elvishjerricco has quit [Ping timeout: 246 seconds]
steveeJ has joined #nixos-aarch64
nicoo has joined #nixos-aarch64
luxemboye has joined #nixos-aarch64
angerman has quit [Ping timeout: 258 seconds]
cstrahan has joined #nixos-aarch64
dsal has quit [Ping timeout: 260 seconds]
monk has joined #nixos-aarch64
angerman has joined #nixos-aarch64
dsal has joined #nixos-aarch64
feepo has joined #nixos-aarch64
zupo has joined #nixos-aarch64
elvishjerricco has joined #nixos-aarch64
steveeJ has joined #nixos-aarch64
cstrahan has joined #nixos-aarch64
steveeJ has quit [Changing host]
dsal has joined #nixos-aarch64
angerman has joined #nixos-aarch64
cstrahan has quit [Changing host]
angerman has quit [Changing host]
dsal has quit [Changing host]
feepo has joined #nixos-aarch64
feepo has quit [Changing host]
FRidh has quit [Ping timeout: 268 seconds]
FRidh has joined #nixos-aarch64
cepheus has joined #nixos-aarch64
luigy has joined #nixos-aarch64
edcragg has joined #nixos-aarch64
alpernebbi has joined #nixos-aarch64
samueldr has joined #nixos-aarch64
ornxka has joined #nixos-aarch64
figgyc has joined #nixos-aarch64
craige_ has joined #nixos-aarch64
bigvalen has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
l-as has joined #nixos-aarch64
Dandellion has joined #nixos-aarch64
Danct12[m] has joined #nixos-aarch64
manveru[m] has joined #nixos-aarch64
Ke has joined #nixos-aarch64
sebbadk[m] has joined #nixos-aarch64
mica[m] has joined #nixos-aarch64
cwnovusordoseclo has joined #nixos-aarch64
hpfr has joined #nixos-aarch64
leonardp has joined #nixos-aarch64
Jassuko[m] has joined #nixos-aarch64
siraben has joined #nixos-aarch64
mvnetbiz_ has joined #nixos-aarch64
DavHau[m] has joined #nixos-aarch64
unclechu has joined #nixos-aarch64
bennofs[m] has joined #nixos-aarch64
danielrf[m] has joined #nixos-aarch64
Fuseteam has joined #nixos-aarch64
anton[m] has joined #nixos-aarch64
roberth has joined #nixos-aarch64
Liam[m] has joined #nixos-aarch64
ejpcmac has joined #nixos-aarch64
artturin has joined #nixos-aarch64
LinuxHackerman has joined #nixos-aarch64
bachp has joined #nixos-aarch64
colemickens has joined #nixos-aarch64
JJJollyjim has joined #nixos-aarch64
fgaz has joined #nixos-aarch64
Laa[m] has joined #nixos-aarch64
CRTified[m] has joined #nixos-aarch64
Ox4A6F has joined #nixos-aarch64
edrex has joined #nixos-aarch64
hiroshi[m] has joined #nixos-aarch64
thefloweringash has joined #nixos-aarch64
puzzlewolf has joined #nixos-aarch64
zuh0 has joined #nixos-aarch64
gh0st[m] has joined #nixos-aarch64
spacetato has joined #nixos-aarch64
AlesHuzik[m] has joined #nixos-aarch64
veleiro has joined #nixos-aarch64
davidak[m] has joined #nixos-aarch64
kloenk has joined #nixos-aarch64
Ericson2314 has joined #nixos-aarch64
railroadmanualji has joined #nixos-aarch64
hexa[m] has joined #nixos-aarch64
craige[m]1 has joined #nixos-aarch64
monk has joined #nixos-aarch64
FRidh has quit [Ping timeout: 276 seconds]
FRidh has joined #nixos-aarch64
lopsided98_ has quit [Ping timeout: 260 seconds]
lopsided98 has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
FRidh has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
monk has joined #nixos-aarch64
orivej has quit [Ping timeout: 248 seconds]
andi- has quit [Ping timeout: 246 seconds]
andi- has joined #nixos-aarch64
orivej has joined #nixos-aarch64
cole-h has quit [Ping timeout: 268 seconds]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FRidh has quit [Ping timeout: 240 seconds]
FRidh has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 246 seconds]
superherointj has joined #nixos-aarch64
<superherointj> samueldr, I have made post on eMMC issue, item 14.1: https://intj.com.br/rockpro64-nixos.html
<superherointj> *a post
<superherointj> Hope you don't mind.
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
FRidh has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 250 seconds]
zupo has joined #nixos-aarch64
<gchristensen> https://hydra.nixos.org/job/nixpkgs/trunk/libcxx.aarch64-linux should this build for aarch64?
<gchristensen> it hasn't since 2019 lol
monk has left #nixos-aarch64 ["Error from remote client"]
<hexa-> well :D
<hexa-> no linux aarch64
monk has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
KalBot has joined #nixos-aarch64
FRidh has quit [Ping timeout: 252 seconds]
FRidh has joined #nixos-aarch64
FRidh has quit [Ping timeout: 265 seconds]
FRidh has joined #nixos-aarch64
<samueldr> superherointj: it's fine, information wants to be free
FRidh has quit [Ping timeout: 252 seconds]
FRidh has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
monk has joined #nixos-aarch64
superherointj has quit [Quit: Leaving]
rajivr has quit [Quit: Connection closed for inactivity]
aleph- has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
tdeo has quit [Remote host closed the connection]
tdeo has joined #nixos-aarch64
tdeo has quit [Remote host closed the connection]
aleph- has joined #nixos-aarch64
tdeo has joined #nixos-aarch64
aleph- has quit [Ping timeout: 260 seconds]
monk has left #nixos-aarch64 ["Error from remote client"]
aleph- has joined #nixos-aarch64
monk has joined #nixos-aarch64
alpernebbi has quit [Quit: alpernebbi]
cole-h has joined #nixos-aarch64
dev_mohe has joined #nixos-aarch64
dev_mohe has quit [Client Quit]
alexeyan has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo_ has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
zupo has quit [Ping timeout: 240 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
FRidh has quit [Quit: Konversation terminated!]
<elvishjerricco> I cannot for the life of me figure out why I can't get USB working on my CM4 with NixOS.
<clever> elvishjerricco: did you enable usb in config.txt?
<elvishjerricco> yep
<clever> and is config.txt on the right partition?
<elvishjerricco> Should be
<clever> and are you using u-boot?
<elvishjerricco> I am not using u-boot; couldn't get that to work on the cm4 at all
<clever> which usb did you enable? what is the line in config.txt?
<elvishjerricco> USB works on ubuntu on this thing, which is not using u-boot
calebccff has joined #nixos-aarch64
<calebccff> Hey! Could someone point me to the best way to get started porting to a new device? I couldn't seem to find much info about.
<elvishjerricco> clever: dtoverlay=dwc2,dr_mode=host
<clever> elvishjerricco: ls -lhd /proc/device-tree/soc/usb* i think it was?
<samueldr> calebccff: get u-boot going first
<samueldr> (assuming an SBC)
<elvishjerricco> clever: `drwxr-xr-x 2 root root 0 Apr 9 20:18 /proc/device-tree/soc/usb@7e980000`
<samueldr> or, I guess, to better help guide you
<samueldr> calebccff: which board?%
<clever> elvishjerricco: what is the contents of the status file in there?
<elvishjerricco> clever: disabled
<calebccff> samueldr: well, it's an Android device unfortunately. There's some unofficial edk2 builds floating about but nothing really useful. My device is the OnePlus 6
<calebccff> SDM845
<calebccff> It runs Mainline
<samueldr> ah! you should have said it was about mobile nixos :)
<clever> elvishjerricco: is otg_mode present in configl.txt?
<samueldr> different beast than porting to an SBC :)
<elvishjerricco> clever: nope
<samueldr> I'm sorry, there's not a guide *yet*
<elvishjerricco> Nor is it in the ubuntu image's config.txt
<clever> elvishjerricco: then something is wrong with overlays, does /boot/overlays/dwc2.dtb exist?
<elvishjerricco> clever: there is no /boot/overlays directory. Guess that seems important :P
<clever> elvishjerricco: is the fat32 mounted to /boot ?
<elvishjerricco> Yea
<samueldr> and I don't know (yet) about the better way to support mainline kernel based phones, there are some minor differences which would be important
<clever> elvishjerricco: then you need to fill in the mising overlays dir, its requiredfor dtoverlay= to work
<calebccff> samueldr: oh lol my mistake, shame there's no guide yet, I've previously ported Manjaro ARM where I basically just built a standard aarch64 image and used a custom initramfs. Could I apply something similar here?
<elvishjerricco> clever: Got it, that makes sense
<elvishjerricco> clever++
<{^_^}> clever's karma got increased to 0o1073
<samueldr> calebccff: for *NixOS*, probably, though custom initramfs needs to be aware of NixOS semantics... which is what Mobile NixOS basically does... a custom initramfs that knows about NixOS semantics (and extra nice things)
<elvishjerricco> clever: Actually, I have no idea how to do that :P
<samueldr> calebccff: there is the autoport scripts that will help get a phone started, assuming the vendor kernels are used https://github.com/mobile-nixos/autoport
<samueldr> (as I haven't had any android-based devices with a mainline port on my hands to see what matters and what doesn't)
<calebccff> samueldr: well that doesn't sound too bad, is autoport meant for devices using Halium?
<samueldr> nope, peeks through vendor roms to see what's needed :)
<clever> elvishjerricco: git clone that repo, copy the overlays dir
<calebccff> It's basically the same as an SBC except with a locked bootloader and a partition map that should not be touched :>
<samueldr> note that we aren't interfacing with android userland drivers yet, so "halium" and "halium-like" isn't _yet_ a thing
<calebccff> Oh that sounds interesting ??
<elvishjerricco> clever: Well yea, but I mean in the framework of nixos.
<samueldr> (but later this year I have a task to finally look at userland drivers for using vendor kernel trees)
<calebccff> you're aiming to not even have to recompile the kernel?
<calebccff> that's quite a feat
<elvishjerricco> Like if this were the sd image I guess I'd put some commands in populateFirmwareCommands
<samueldr> nope, recompile the kernel, but using the vendor kernel trees
<samueldr> so that you don't _need_ a mainline effort to get started
<samueldr> basically lower the barrier of entry
<clever> elvishjerricco: this shell script is responsible for updating /boot on every switch
<samueldr> ideally all phones will end up mainlined... but that's not a reality (yet?) :)
<elvishjerricco> Ah, that would be the place then :)
<calebccff> samueldr: right, I was glancing through some of the code ^.^
<calebccff> yeah mainline isn't feasible for many devices, although we're slowly making it a reality for SDM845 at least
<calebccff> Slowly msm8998 and sm8150 are catching up too :D
<samueldr> calebccff: yep, lowering the barrier of entry so that it becomes more "normal" to run non-android linux on android-based devices, first
<calebccff> I'll take a look at the aarch64 guide and the mobile stuff and see, hopefully it'll be doable with the existing nixos-mobile stuff, just with a mainline kernel instead
<calebccff> Do downstream devices make it to UI yet?
<samueldr> unaccelerated, yes, definitely
<samueldr> all of the devices on the devices page have booted to the X11-based example system
<samueldr> older devices even have wifi working
<samueldr> for newer devices, it may or may not require userland drivers for wifi, to be looked at later :)
<samueldr> (yours is a newer device)
<samueldr> still, all with vendor kernels
<calebccff> yeah, there's no chance of getting wifi without halium on sdm845
<calebccff> that's pretty nice
<samueldr> I'm not sure... there may be a way, from what I've seen
<calebccff> It's good to have the option - although if mainlining is an option it's way way better in the long run
<samueldr> but that's still superficial research
<samueldr> yes!
<samueldr> for a mainline-possible device, I'd like to see both mainline and vendor based ports, initially
<calebccff> that would be impressive, given how much of the remoteproc stuff seems to be in userspace on Android
<samueldr> yeah, I'm going from superficial knowledge, from reading a thread about vendor-based kernel for a specific device
<samueldr> I'm not sure what I understood is right
<calebccff> What do you think is possible without halium on qualcomm?
<samueldr> but *anyway* userland drivers will end up required most likely
<calebccff> yeah
<samueldr> ah, wifi
<samueldr> specifically ib qcacld-3.0
<samueldr> with*
<samueldr> (why did I write ib? no one knows)
<calebccff> re: mainline AND vendor based, unless you're going with halium, it's a lot of work spent REing blobs that will never get security patches, that could be spent improving support on Mainline
<samueldr> sure
<samueldr> AFAIUI halium is a userland component, mainly, which is what is likely going to be used
<samueldr> but not the halium kernel *builds*
<samueldr> it's not been time yet to actually look and grok all of it, but AFAIUI Halium is an LXC based container to run the userland services, no?
<samueldr> (with opinions about the kernel build and provenance)
<calebccff> afaik halium basically runs Android system in the background, and then runs a glibc Linux system on top via libhybris
<samueldr> yep
<calebccff> SailfishOS doesn't use LXC for halium I don't think, ubuntu touch does though
<samueldr> so it'll most likely end up using halium, or halium-like semantics
<calebccff> Do you know what mobile DEs are supported?
vikanezrimaya has joined #nixos-aarch64
<samueldr> depending on what my research says later down the line
<samueldr> "supported" in? :)
<calebccff> nixOS
<samueldr> right now: none
<samueldr> but there's work with phosh in an open PR
<calebccff> OK cool
<samueldr> and I have to finish testing and open a PR for plasma-mobile
<samueldr> note that this happens in upstream Nixpkgs, and not Mobile NixOS
<calebccff> What devices do you guys use? PinePhone?
<samueldr> I don't think there's much "actual" users still
<calebccff> well, in terms of testing at least :>
<samueldr> but many of those putting some of their time off towards Mobile NixOS are using a Pinephone
<calebccff> That makes sense
<samueldr> most of the ports are devices I own and test on and with
<samueldr> I'm working basically full time on Mobile NixOS for the time being
<calebccff> Oh awesome :D
<calebccff> I'm yet to actually use nixos to be perfectly honest, I quite like the concepts behind it but haven't booted it up yet
<calebccff> Do you need a nixOS system to build it?
<samueldr> you need Nix on Linux
<samueldr> or well, Nix with a Linux builder
<calebccff> oh yeah, your package manager runs basically everywhere right?
<samueldr> basically
<calebccff> How is cross-compiling?
<samueldr> but to better "get" Mobile NixOS it really helps to "get" NixOS since it's a superset :)
<calebccff> yeah that makes sense
<samueldr> cross-compiling the system (what we call stage-2) is pretty bad
<samueldr> stage-2 is "after switch_root happens"
<samueldr> stage-1 is "initramfs"
<calebccff> damn! it's the issue everyone seems to have
<samueldr> yeah, cross-compiling is hard! and many projects are just bad at making it work!
<calebccff> Manjaro ARM does everything inside QEMU and it's NOT. FUN
<samueldr> with Mobile NixOS stage-1 is entirely meant to stay compatible with both native builds and cross-compiling
<calebccff> I'm not sure exactly what the postmarketOS guys do, qemu user I think, seems to be the best approach os far anyway
<samueldr> because as I've found out, the same stage-2 image (rootfs) works on all devices for now :)
<samueldr> I think postmarketOS is all cross-compiling
<calebccff> I guess when cross-compiling packages, you need to make depends, which must also be cross compiled, etc
<calebccff> yeah it is
<samueldr> but they already are going hard-mode with their alpine base
<samueldr> so I think it gives them a leg up for cross-compiling
<calebccff> hahaha, they are INSANE to be fair, I'm a really big fan of how they do things
<samueldr> speaking of QEMU, qemu-user can be used to do native-build-with-extra-steps with Nix
<calebccff> has made porting this far such a dream, in comparison to wrestling with buildroot or something more annoying
<calebccff> Ok that's cool
<samueldr> personally I prefer delegating to a real aarch64 machine since *sometimes* it doesn't quite right
<calebccff> I think I'll slap nixOS on my laptop and go from there
<calebccff> Ah, to have a real aarch64 machine u.u
<samueldr> I'm really biased, but I strongly recommend using NixOS on everything ;)
<samueldr> "real" is an RK3399 SBC
<samueldr> and generally I end up relying mainly on built artifacts from NixOS
<samueldr> only building the "leaf" packages
<calebccff> my current understanding is nixOS keeps your whole machine state in an easily transportable form, so I can say, keep two computers in sync package-wise?
<samueldr> and, biased still, I would assume the quality of life imrovements you've seen in postmarketOS compared to buildroot, you'll see the same in Mobile NixOS compared to postmarketOS :)
<vikanezrimaya> Yes, sharing configuration snippets, including packages, is possible with NixOS
<elvishjerricco> clever: This seems to have worked! Thanks. https://www.irccloud.com/pastebin/8lDBTVlM/
<samueldr> calebccff: "totally wrong", it's not "state" that makes it work
<samueldr> calebccff: but the basic idea you have is not really wrong
<samueldr> what makes it work is using declarative configuration
<calebccff> samueldr: that's a big claim :P nixOS mobile will be easier to work with than postmarketOS?
<calebccff> Right, declerative
<samueldr> in my biased opinion yes :)
<clever> elvishjerricco: did you also have to resize /boot in the image creation? alexeyan needs that line i lost
<samueldr> but I really only used postmarketOS once, quickly, before starting Mobile NixOS
<elvishjerricco> clever: I didn't create an image. I've just got this set up for nixos-rebuild commands
<samueldr> though I've found Nix is a force multiplier in every aspect of developing anything
<clever> elvishjerricco: ah
<elvishjerricco> though my /boot is 256M
<elvishjerricco> er, the partition is
<elvishjerricco> And it's at 78% used...
<clever> the default in the nixos .img is much smaller, and cant hold generations
<elvishjerricco> So I should probably fix that lol
orivej has quit [Ping timeout: 268 seconds]
<calebccff> samueldr: I see, well, looking forward to it. It would be fantastic to get Phosh (or Lomiri???) going there!
<samueldr> calebccff: hmm... the "android dumps" project's host seems to have issues, so right now the autport scripts don't work :(
<samueldr> phosh will definitely work at some point in the future, I would assume "soon™" given a PR is open and people are working on it
<calebccff> That's alright, I don't think it's the right tool for the job, the device is mainlined so it works with standard Mesa and ath10k
<samueldr> Lomiri, I guess it'll need people interested into porting it :)
<samueldr> calebccff: it would have still filled a lot of info automatically for you
<calebccff> Like what? Out of interest
<samueldr> (tbf none of the kernelParams are likely needed)
<samueldr> but yeah, none of that is hard to fill manually either
<samueldr> and since you're using mainline, the gadgetfs function for rndis would be the mainline one
<calebccff> Interesting
<calebccff> I see you have walleye?
<samueldr> yep, useful since it has serial on its type-c port
<calebccff> it does?
<calebccff> huh now I'm really confused
<calebccff> I bought a suzy-Q cable
<calebccff> I have a Pixel 2 XL, it didn't work??
<samueldr> nope, suzy-q is a myth for pixel phones!
<samueldr> I had to edit the postmarketOS wiki which held that wrong claim for a while
<calebccff> ah nuts, yeah I did stumble across that before
<calebccff> gotcha
<samueldr> the specific hardware used is not needed, the main idea is to get the SBU pins
<calebccff> yknow, when I first mainlined the Pixel 2 a few months ago and was lovely and naive, I put the damn thing on ice so that pstore ramoops would work after a col reboot
<samueldr> haha!
<samueldr> get yourself a couple of the boards linked in my comment
<samueldr> get yourself *SHORT* uart cables
<samueldr> (or maybe twist them?)
<calebccff> ah yeah
<samueldr> and it'll work
<samueldr> for me it was important to get short UART cables, otherwise serial wouldn't work
<calebccff> good find with those boards
<calebccff> interesting, any ideas why?
<samueldr> signal loss I assume
<calebccff> hmm
<samueldr> haven't investigated
<calebccff> So, you have walleye? It's only 1080p right?
<samueldr> though it uses DSC I think
<calebccff> It doesn't use display stream compression probably, you should be able to write a display panel driver and get mainline booting with display up in that case
<calebccff> it's only 1080p
<samueldr> which I think I thelepathically guessed what you wanted to get at
<calebccff> surely it doesn't need dsc?
<samueldr> I don't *know*
<calebccff> I think kernel logs will tell you
<samueldr> but I think I've seen it stated somewhere about "Pixel 2"
<samueldr> but maybe I assumed
<calebccff> Well, if you're bored ;P https://github.com/calebccff/linux-wahoo
* samueldr stars
<calebccff> samueldr: oh actually, have you had to deal with dtbo?
<samueldr> not really yet since this all relies on vendor kernels
<samueldr> and *luckily* it has not been much of an issue on all phones I've seen having dtbo partitions
<clever> calebccff: ive written a dtbo for the rpi, but ive not had to apply themyet
<calebccff> right yeah, wahoo bootloader is a piece of shit: https://gitlab.com/calebccff/dtbo-google-wahoo-mainline
<samueldr> clever: with android-based devices it's "something else" that is called dtbo, it's more about the concept of the partition
<clever> ahh
<calebccff> all my other devices, just erase dtbo and good to go, the pixel 2 just hangs on bootloader if you do that
<calebccff> sorry, yeah DTO and dtbo slightly different
<calebccff> not a fan of Android specifics tbh
<samueldr> pretty sure walleye can have its dtbo partition erased
<samueldr> though they're from two different ODM designs, no?
* samueldr verifies
<calebccff> damn, what's so special about taimen?
<calebccff> oooohhhh that could be it yeah
<samueldr> yeah, HTC and LG
<calebccff> taimen is LG
<calebccff> I see
<samueldr> though I am not *sure* about it
<samueldr> it's been a good while since I spent time looking at this
<samueldr> and in all cases the dtbo partition still apply correctly
<samueldr> because I haven't been using a different enough kernel yet
<calebccff> Thanks for pointing me to that android dumps thing, shame gitlab can't really handle it lol
<samueldr> it can
<samueldr> I don't know what is going on with their instance
<calebccff> huh, weird
<samueldr> it worked properly a few weeks back when they moved there
<samueldr> and it had been working fine for a couple of months on "git.rip" before git.rip got FBI'd
<samueldr> (not related to android dumps)
<calebccff> oh yeah rip git.rip
<samueldr> though, just to close the topic of suzy-q: it will work to communicate with the Titan chip on pixel3 and + devices
<samueldr> which is not what's needed for our uses :)
<samueldr> and (obviously) suzy-q does work properly with ChromeOS hardware
jumper149 has joined #nixos-aarch64
<alexeyan> I want to build a nixos img for the raspi4 and not use uboot, so I need a dedicated boot partition. How can I specify the size of that partition?
<samueldr> sorry, you'll have to piece it together from there, but that's what sets its size IIRC
<clever> it should be a normal nixos option
<clever> and nixos/release.nix accepts a --arg configuration
apache8080 has joined #nixos-aarch64
<apache8080> samueldr: for uboot have you ever had to run mkimage on the generated initrd from nixos to create a initrd with uboot headers?
<samueldr> nope
<samueldr> but "for uboot" is a bit vague
<samueldr> because U-Boot has about a bajillion ways to boot things
<samueldr> and there's a further billion vendor forks of U-Boot with different default semantics
<samueldr> mainline U-Boot or a vendor fork?
<samueldr> using which boot strategy?
<apache8080> yeah lol, I am setting up nixos on a Analog devices board that has a Xilinx SoC
srk has quit [Ping timeout: 246 seconds]
<apache8080> and it can boot the nix kernel but then panics since it can't find init
<apache8080> I tried then using the version of booti in u-boot that takes the initrd address but then u-boot complains about the initrd image format being wrong
<samueldr> I haven't had any experience with most boot strategies
<apache8080> ok no problem
<samueldr> only two I have experience with is exlinux.conf based boot, and uefi, both through "generic distro bootcmd"
<apache8080> ok
<alexeyan> I think I can't use uboot because I want to use the hyperpixel 4 display and that depends on dtbs which don't seem to play nice with uboot.
<alexeyan> How can I set the firmwareSize option? My current command is nix-build '<nixpkgs/nixos>' -A config.system.build.sdImage -I nixos-config=/etc/nixos/configuration.nix
<alexeyan> Just appending --arg firmwareSize 256 for example?
<samueldr> alexeyan: yeah, using "ecosystem hardware" right now is a bother when going with u-boot, you're right
<clever> alexeyan: add it to your configuration.nix
<alexeyan> clever: under which option? like this: nixpkgs.nixos.modules.installer.sd-card.firmwareSize = 256 ?;
<clever> alexeyan: sdImage.firmwareSize
srk has joined #nixos-aarch64
srk has quit [Ping timeout: 268 seconds]
apache8080 has quit [Ping timeout: 252 seconds]
apache8080 has joined #nixos-aarch64
<alexeyan> So I'm somewhat confused. The nixos wiki says the standard raspi4 image is not using uboot, but the Raspberry Pi Bootloader. The I boot that image I see that a FIRMWARE partition exists, but isn't mounted or flagged as bootable. The root partition has a /boot folder however. Why is the firmware parititon there? Is the uboot loader actually not used? Because I had the dtb issues.
<samueldr> alexeyan: wiki documentation didn't keep up with the changes in the Nixpkgs repo
apache8080 has quit [Ping timeout: 240 seconds]