<zhaofeng> Been playing with the mainline SDM845 kernel on my OnePlus 6 for a while, and it's a little bit disappointing
<zhaofeng> Sustained write (maybe read as well?) into the flash consistently triggers a crash into CrashDump mode
<samueldr> fun!
<samueldr> and there it is, u-boot in SPI flash
<samueldr> (for helios64)
<samueldr> next step: USB!
<samueldr> I want to do a UEFI install on that board
<artturin> samueldr: how to get a nix-shell with the pinephone kernel build
<samueldr> I never did that, so I don't know
<artturin> so i was planning on updating that
<samueldr> I have a linux mainline checkout, make a git branch, and work on top of `git am` the patches
<samueldr> ugh
<samueldr> that patch is ugly
<samueldr> a lot of changes mixed-in together
<samueldr> artturin: I guess for experimenting you can remove the default-on/panic patch
<samueldr> (comment it out)
<samueldr> if it all works fine, and is desirable, we can then update that patch to apply on top of that
<samueldr> hmm... looks like I'm rebasing my whole work on top of another patch for the helios64
<samueldr> if I want usb to work
<samueldr> in addition, it might get me the required bits for eDP out in u-boot!
<samueldr> oh, no it doesn't... bummer
<artturin> im working on getting audio working and camera autofocus
<samueldr> nice!
<samueldr> uh
<samueldr> audio was working a while back for me
<samueldr> though call audio was untested
<samueldr> I guess it's all about asound state
* samueldr sighs
<samueldr> something is weird in how all those ARM platforms seem to require so much handholding for audio
<artturin> haven't tried it
<artturin> i wonder if it can even be appplied on nixos
<artturin> without rebuilding alsaUtils
rajivr has joined #nixos-aarch64
<artturin> possibly not needed
<artturin> /var/lib/alsa/asound.state is just a normal file
<samueldr> yes
<samueldr> asound.state can just be copied to that location
<samueldr> though at the time I just twiddled with the sound options in alsamixer
<samueldr> until there was sound
<artturin> pain
<samueldr> yes
<artturin> i've also been trying to get the modem to work better
<artturin> with eg25-manager
<artturin> modemmanager doesn't detect modems
<artturin> because theres no /dev/ttyS2
<artturin> modem is only at ttyS3
<artturin> and theres no /dev/ttyUSB*
<artturin> for the modem
<artturin> i'll send pastes from manjaro and nixos
<artturin> same kernel conf on both other than changing =m's to =y's
<artturin> yay audio works
<artturin> i dont think the kernel patches are strictly needed for that
<artturin> they're just for plug detection
<artturin> plug detection works
<artturin> automatically switches
<artturin> i'll test the asound.state to see if it improves anythign
<artturin> i diffed mobians asound.state and the asound.state i have now before trying manjaro's asound.state and they're identical
<artturin> i wonder why manjaro adds that
h0m1 has quit [Ping timeout: 265 seconds]
<samueldr> artturin: why they add what?
h0m1 has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 240 seconds]
<samueldr> => usb storage
<samueldr> Device 0: Vendor: Rev: PMAP Prod: USB DISK 2.0
<artturin> maybe its just a leftover
<samueldr> ah, asound.state outright is not needed?
<samueldr> are you *sure* from a completely fresh boot
<samueldr> my wip Helios64 things repo https://github.com/samueldr/wip-helios64
<artturin> a separate one isn't needed i think
<artturin> i compared manjaro asound.state with what i have currently on mobile-nixos and they're the same
<samueldr> separate one from what?
<artturin> the one that alsa generates by itself
<samueldr> ah
<artturin> is a leftover from before alsa ucm was used
justanotheruser has joined #nixos-aarch64
<samueldr> ah
<samueldr> I get it now
<samueldr> so yeah, helios64 stuff is setup to serve a menu on the serial interface basically like my PBP build is https://stuff.samueldr.com/screenshots/2021/03/20210314225651_49hs4zozp2e7hlzusxt.png
<samueldr> usb boot should work (the interface is detecting devices connected
<artturin> is there a boot generation menu for the pinephone yet?
<samueldr> artturin: uh?
<samueldr> there is... the Mobile NixOS stage-0
<samueldr> though you can also use u-boot's thing like on other ARM devices, but for the pinephone there is no u-boot display driver
<samueldr> so it'd have to happen on serial
<samueldr> and furthermore, even if there was, there is no touch screen drivers to work with what would be shown on the display
<artturin> how to enable the nixos menu?
<samueldr> hold a volume key when the splash is shown
<samueldr> it should instantly show a helpful tip at the bottom that it's going to boot into recovery
<samueldr> you have to hold it until the recovery menu is shown
justanotheruser has quit [Ping timeout: 260 seconds]
<samueldr> I guess there's not enough docs about the boot process!
<samueldr> so next time I play with the helios64 I'll be making a UEFI iso with a working kernel I guess!
<artturin> very cool boot menu
<samueldr> I assume you're talking about the mobile nixos recovery interface
<artturin> yes
<samueldr> that'll be used to do more than just selecting generations
justanotheruser has joined #nixos-aarch64
<samueldr> it is intended to be used to also provide tools to help diagnose and fix a broken install
<samueldr> and most likely the tools used to make the install too
<samueldr> (I still don't know what the installation process will look like!)
<artturin> The modem issues might be caused by the fact that modemmanager is out of date in nixpkgs
<artturin> I'll try old isos of other distros and check their /dev
<artturin> Likely not because of that though, because threads from 05.2020 have ttyUSB
orivej has joined #nixos-aarch64
evils has quit [Remote host closed the connection]
evils has joined #nixos-aarch64
evils has quit [Ping timeout: 256 seconds]
evils has joined #nixos-aarch64
evils has quit [Ping timeout: 256 seconds]
zupo has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
zupo has quit [Client Quit]
jumper149 has joined #nixos-aarch64
jumper149 has quit [Client Quit]
jumper149 has joined #nixos-aarch64
jumper149 has quit [Quit: WeeChat 3.1]
zupo has joined #nixos-aarch64
jumper149 has joined #nixos-aarch64
jumper149 has quit [Client Quit]
cole-h has quit [Ping timeout: 245 seconds]
zupo has quit [Client Quit]
jumper149 has joined #nixos-aarch64
jumper149 has quit [Client Quit]
jumper149 has joined #nixos-aarch64
jumper149 has quit [Client Quit]
jumper149 has joined #nixos-aarch64
jumper149 has quit [Client Quit]
jumper149 has joined #nixos-aarch64
patagonicus has quit [Quit: The Lounge - https://thelounge.chat]
jumper149 has quit [Client Quit]
patagonicus has joined #nixos-aarch64
jumper149 has joined #nixos-aarch64
jumper149 has quit [Client Quit]
jumper149 has joined #nixos-aarch64
jumper149 has quit [Quit: WeeChat 3.1]
jumper149 has joined #nixos-aarch64
jumper149 has quit [Client Quit]
<aforemny> Would anyone have any pointers on how I can share my internet access from my Laptop with my PinePhone via USB both running NixOS?
dev_mohe has joined #nixos-aarch64
dev_mohe has quit [Client Quit]
jumper149 has joined #nixos-aarch64
<Ke> https://github.com/NixOS/mobile-nixos/blob/master/devices/pine64-pinephone/default.nix#L50 rndis seems to be listed here, but not sure how it's activated
<Ke> I would grep the repo, what that option does
<Ke> I believe, if you get that interface working you can use normal routing functionality probably with nat
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
jumper149 has quit [Quit: WeeChat 3.1]
jumper149 has joined #nixos-aarch64
jumper149 has quit [Client Quit]
jumper149 has joined #nixos-aarch64
jumper149 has quit [Client Quit]
jumper149 has joined #nixos-aarch64
dev_mohe has joined #nixos-aarch64
zupo has joined #nixos-aarch64
jumper149 has quit [Quit: WeeChat 3.1]
jumper149 has joined #nixos-aarch64
bennofs__ has quit [Ping timeout: 245 seconds]
bennofs_ has joined #nixos-aarch64
jumper149 has quit [Quit: WeeChat 3.1]
jumper149 has joined #nixos-aarch64
bennofs_ has quit [Ping timeout: 256 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jumper149 has quit [Quit: WeeChat 3.1]
<aforemny> Ke: Thanks for that pointer! I will look into it :)
ceph3us[m] has joined #nixos-aarch64
ceph3us[m] is now known as cepheus
cepheus has quit [Quit: authenticating]
cepheus has joined #nixos-aarch64
dev_mohe has quit [Remote host closed the connection]
dev_mohe has joined #nixos-aarch64
dev_mohe has quit [Quit: dev_mohe]
zupo has joined #nixos-aarch64
heywoodlh has quit [Quit: ZNC 1.8.2 - https://znc.in]
heywoodlh has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
monk has left #nixos-aarch64 ["Error from remote client"]
monk has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
evils has joined #nixos-aarch64
pinage404[m]1 has quit [Quit: Idle for 30+ days]
v0|d has quit [Remote host closed the connection]
v0|d has joined #nixos-aarch64
McSinyx[m] has left #nixos-aarch64 ["User left"]
LinuxHackerman1 has joined #nixos-aarch64
cepheus1 has joined #nixos-aarch64
grahamc has joined #nixos-aarch64
ejpcmac1 has joined #nixos-aarch64
LinuxHackerman has quit [Ping timeout: 265 seconds]
cepheus has quit [Ping timeout: 265 seconds]
justanotheruser has quit [Ping timeout: 265 seconds]
ejpcmac has quit [Ping timeout: 265 seconds]
gchristensen has quit [Ping timeout: 265 seconds]
grahamc is now known as gchristensen
cepheus1 is now known as cepheus
v0|d has quit [Remote host closed the connection]
nicoo has quit [Remote host closed the connection]
nicoo has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
cw[CURRENT_YEAR4 has joined #nixos-aarch64
justanotheruser has quit [*.net *.split]
railroadmanualji has quit [*.net *.split]
cw[CURRENT_YEAR] has quit [*.net *.split]
siraben has quit [*.net *.split]
kloenk has quit [*.net *.split]
railroadmanualji has joined #nixos-aarch64
kloenk has joined #nixos-aarch64
siraben has joined #nixos-aarch64
siraben has quit [Max SendQ exceeded]
justanotheruser has joined #nixos-aarch64
<samueldr> I don't think usb gadgets are working yet
<samueldr> as I stated multiple times, I'll need a helper person to check things as my device has broken USB
<samueldr> (actually broken, not the expected broken)
marijan[m] has quit [Ping timeout: 240 seconds]
l-as has quit [Ping timeout: 240 seconds]
roberth has quit [Ping timeout: 240 seconds]
unclechu has quit [Ping timeout: 240 seconds]
craige[m]2 has quit [Ping timeout: 244 seconds]
edrex has quit [Ping timeout: 244 seconds]
enick_4 has quit [Ping timeout: 244 seconds]
zuh0 has quit [Ping timeout: 244 seconds]
Guest68587 has quit [Ping timeout: 244 seconds]
bbigras has quit [Ping timeout: 244 seconds]
ejpcmac1 has quit [Ping timeout: 241 seconds]
goibhniu has quit [Ping timeout: 241 seconds]
Danct12[m] has quit [Ping timeout: 241 seconds]
Dandellion has quit [Ping timeout: 241 seconds]
Jassuko[m] has quit [Ping timeout: 249 seconds]
mvnetbiz_ has quit [Ping timeout: 249 seconds]
manveru[m] has quit [Ping timeout: 249 seconds]
Ke has quit [Ping timeout: 249 seconds]
Ox4A6F has quit [Ping timeout: 249 seconds]
Ericson2314 has quit [Ping timeout: 249 seconds]
hpfr has quit [Ping timeout: 249 seconds]
LinuxHackerman1 has quit [Ping timeout: 270 seconds]
leonardp has quit [Ping timeout: 247 seconds]
mica[m] has quit [Ping timeout: 247 seconds]
hiroshi[m] has quit [Ping timeout: 247 seconds]
colemickens has quit [Ping timeout: 247 seconds]
railroadmanualji has quit [Ping timeout: 265 seconds]
kloenk has quit [Ping timeout: 265 seconds]
puzzlewolf has quit [Ping timeout: 268 seconds]
noneucat has quit [Ping timeout: 268 seconds]
Fuseteam has quit [Ping timeout: 268 seconds]
fgaz has quit [Ping timeout: 240 seconds]
DavHau[m] has quit [Ping timeout: 258 seconds]
artturin has quit [Ping timeout: 244 seconds]
thefloweringash has quit [Ping timeout: 258 seconds]
danielrf[m] has quit [Ping timeout: 258 seconds]
cw[CURRENT_YEAR4 has quit [Ping timeout: 260 seconds]
cepheus has quit [Ping timeout: 264 seconds]
veleiro has quit [Ping timeout: 240 seconds]
davidak[m] has quit [Ping timeout: 240 seconds]
lopsided98 has quit [Ping timeout: 264 seconds]
lopsided98 has joined #nixos-aarch64
craige[m]1 has joined #nixos-aarch64
aforemny_ has joined #nixos-aarch64
manveru[m] has joined #nixos-aarch64
Jassuko[m] has joined #nixos-aarch64
siraben has joined #nixos-aarch64
mica[m] has joined #nixos-aarch64
roberth has joined #nixos-aarch64
kloenk has joined #nixos-aarch64
veleiro has joined #nixos-aarch64
ejpcmac has joined #nixos-aarch64
unclechu has joined #nixos-aarch64
Ericson2314 has joined #nixos-aarch64
hiroshi[m] has joined #nixos-aarch64
marijan[m] has joined #nixos-aarch64
enick_326 has joined #nixos-aarch64
edrex has joined #nixos-aarch64
fgaz has joined #nixos-aarch64
Dandellion has joined #nixos-aarch64
mvnetbiz_ has joined #nixos-aarch64
Ox4A6F has joined #nixos-aarch64
Ke has joined #nixos-aarch64
davidak[m] has joined #nixos-aarch64
cwprobablydead[m has joined #nixos-aarch64
thefloweringash has joined #nixos-aarch64
LinuxHackerman has joined #nixos-aarch64
artturin has joined #nixos-aarch64
leonardp has joined #nixos-aarch64
hpfr has joined #nixos-aarch64
noneucat has joined #nixos-aarch64
DavHau[m] has joined #nixos-aarch64
Danct12[m] has joined #nixos-aarch64
Fuseteam has joined #nixos-aarch64
puzzlewolf has joined #nixos-aarch64
cepheus has joined #nixos-aarch64
zuh0 has joined #nixos-aarch64
Guest57260 has joined #nixos-aarch64
colemickens has joined #nixos-aarch64
l-as has joined #nixos-aarch64
danielrf[m] has joined #nixos-aarch64
railroadmanualji has joined #nixos-aarch64
bbigras has joined #nixos-aarch64
goibhniu has joined #nixos-aarch64
aforemny has quit [Ping timeout: 256 seconds]
marek has quit [Ping timeout: 256 seconds]
marek has joined #nixos-aarch64
evils has quit [Remote host closed the connection]
evils has joined #nixos-aarch64
lopsided98 has quit [Ping timeout: 240 seconds]
lopsided98 has joined #nixos-aarch64
justan0theruser has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 260 seconds]
aforemny_ has quit [Ping timeout: 264 seconds]
ryantrinkle has quit [Ping timeout: 264 seconds]
aforemny has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
<samueldr> ooh neat
<{^_^}> https://github.com/NixOS/nixpkgs/pull/31 (by peti, 8 years ago, closed): Extend compiler wrapper scripts to allow compilation of "/dev/null" input.
<samueldr> booooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo bot
<samueldr> so yeah, `reboot recovery` should be doable with that protocol, once added to u-boot
<samueldr> (and the dts patched)
cole-h has quit [Ping timeout: 256 seconds]
cole-h has joined #nixos-aarch64
dev_mohe has joined #nixos-aarch64
njd has quit [Ping timeout: 256 seconds]
njd has joined #nixos-aarch64
zupo has joined #nixos-aarch64
ryantrinkle has quit [*.net *.split]
lovesegfault has quit [*.net *.split]
V has quit [*.net *.split]
blueberrypie has quit [*.net *.split]
kcalvinalvin has quit [*.net *.split]
betaboon has quit [*.net *.split]
grw1 has quit [*.net *.split]
ryantrinkle has joined #nixos-aarch64
lovesegfault has joined #nixos-aarch64
kcalvinalvin has joined #nixos-aarch64
blueberrypie has joined #nixos-aarch64
grw1 has joined #nixos-aarch64
betaboon has joined #nixos-aarch64
V has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
dev_mohe has quit [Quit: dev_mohe]
blueberrypie has quit [Read error: Connection reset by peer]
blueberrypie has joined #nixos-aarch64
<ashkitten> samueldr: pinephone preorders soon
<samueldr> well, I don't actually care, since I have one, but cool!
<samueldr> ashkitten: source?
<ashkitten> blog post
<samueldr> >> Since someone will surely ask: the hardware remains unchanged from the past three community editions, and will feature the 1.2b revision of the PCB.
<samueldr> good to know
<ashkitten> they have the placeholder page for the new pinephone beta edition, preorders supposedly this week or next
<ashkitten> hmmm im gonna need to get a second yubikey, with usb-c...
<ashkitten> pinephone doesn't have nfc
<samueldr> I guess that's why I just got a response from them for the replacement board
<samueldr> >> However, despite being in possession of approx. 70% of all RK3566 SoCs on the market, we don’t have enough to produce both model-A and model-B simultaneously
<samueldr> oh lol
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s1341_ has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 256 seconds]
justan0theruser has quit [Ping timeout: 264 seconds]