alp has quit [Ping timeout: 272 seconds]
smrtak[m] has joined #nixos-aarch64
Smith[m]1 has joined #nixos-aarch64
angerman has joined #nixos-aarch64
cole-h has quit [Quit: Goodbye]
rajivr has joined #nixos-aarch64
* colemickens got the bad-screen pixel 3 back, now all of the sudden after a factory reset, it will let me oem unlock! time to test my boot.img
<samueldr> your story is getting more and more confusing here
<colemickens> I know! The "OEM Unlock" option was greyed out, I even checked again. After I factory reset, I put it back in the box, to ship back, then on a whim, went through setup, went to dev mode, and it let me OEM unlock.
<colemickens> Sure enough, just issues fastboot flashing unlock... and carried it out. The IMEI starts with "35" (indicating a likely Verizon unit). I don't know, but I'm happy!
<samueldr> hm?
<samueldr> it _can_ be unlocked or cannot?
<colemickens> It is bootloader unlocked.
<colemickens> Despite 20 minutes ago having a greyed out OEM Unlock toggle in Dev Settings...
<samueldr> and 35* IMEI??
<colemickens> yup
<samueldr> this makes no sense at all!
<colemickens> I know! So, I just re-setup after unlock, confirmed, IMEI is 35* and DevMode now says "Device is already unlocked"!!!!
<samueldr> could it be a once-not-verizon provisioned phone, RMA'd into a verizon IMEI, then back out?
<colemickens> I uh, I have no idea.
<samueldr> sure, I didn't imply you would know
<colemickens> :) I know, I was just sitting there typing out what I thought I knew but I got nothing
<thefloweringash> oh hello, I see my name. I did get my hammerhead as far as running a kde session once, but it was never particularly robust. there seemed to be a few issues around the display, maybe related to refresh logic?
<samueldr> [with mainline]
<samueldr> though I guess that the OEM kernel isn't useful either
<samueldr> might have been updates to that mainline fork though
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 240 seconds]
<thefloweringash> so I looked at my device and found the back case was being pushed off by the swollen battery :-(
justanotheruser has joined #nixos-aarch64
<samueldr> F
<samueldr> I can't wait for an authority that decides to make it law that batteries have to be *trivially enough* user relplaceable
<samueldr> mandate that glue should be minimal
<samueldr> (under the battery)
<samueldr> and screws or clipped backs
<samueldr> I'm fine with "takes time to change", but changing it should be trivial
<samueldr> AND
<samueldr> the most important part
<samueldr> "standard" batteries
<thefloweringash> removing it was pretty simple, plastic clips for the back case, 6x tri-wing screws for an internal shield, and minimal adhesive under the battery
<samueldr> yeah, it's old enough
<samueldr> though that's probably still worse than I'd like
<samueldr> first, tri-wing screws are not great
<samueldr> now: where do you get a battery?
<samueldr> the OEM will not sell you wone
<samueldr> one*
<samueldr> and you can't trust listings
<samueldr> that's the second part of the problem
<samueldr> because the first part can be done, but without the second part it's worthless
<thefloweringash> being able to dispose of the battery without the device is a small win
<samueldr> yeah
<samueldr> but the device won't boot without a battery
<samueldr> that I don't think rules can change really
<samueldr> the charge circuit can't necessarily trivially give the necessary current
<samueldr> at least that's what I was led to understand
<colemickens> Hm, I made the android debug cable, and the serial device shows up, but fastboot never seems to work, even before I wired up the serial device it didn't seem to work.
<colemickens> dmesg --follow doesn't even react as if a device was plugged in :s
<colemickens> If I plug the phone in without the passthrough board, it works, of course.
knerten2 has joined #nixos-aarch64
knerten1 has quit [Ping timeout: 240 seconds]
<samueldr> hm
<samueldr> btw there's an orientation for the SBU features (used for the debug cable)
<samueldr> not sure if that's relevant
<colemickens> I had tried other orientations, but I'm also realizing now that the picture on the tutorial has jumpers installed that I don't!
<colemickens> there we go!
<samueldr> if you're using _their_ cable
<samueldr> oh
<samueldr> yeah
<samueldr> mine's all pass-through by default
<colemickens> seems like I get two different results, trying "fastboot boot /nix/store/...._boot.img": https://gist.github.com/colemickens/18d50033bce171f4a770b001bc5e111f
orivej has quit [Ping timeout: 256 seconds]
justanotheruser has quit [Ping timeout: 272 seconds]
<samueldr> DeviceTreeOverlay failed: Invalid Parameter Failed to apply dtb overlay
<samueldr> I think that's uh
<samueldr> CONFIG_BUILD_ARM64_DT_OVERLAY I think
<samueldr> it's a bit counter-intuitive
<samueldr> it's not about building the overlay
<samueldr> it's about building the overlay *into*
<samueldr> I say "I think that's", but it's more "that could be
<samueldr> I haven't finished cloning to check
<samueldr> but IIRC abl's source is here https://source.codeaurora.org/quic/la/abl/tianocore/edk2
<samueldr> and that's abl on your phone pretty sure
<colemickens> cool, more things to look at :)
<samueldr> not that you can edit it and use it
knerten2 has quit [Read error: Connection reset by peer]
knerten2 has joined #nixos-aarch64
<samueldr> might not be in there :/
justanotheruser has joined #nixos-aarch64
smrtak[m] has quit [*.net *.split]
Smith[m]1 has quit [*.net *.split]
angerman has quit [*.net *.split]
Smith[m]1 has joined #nixos-aarch64
angerman has joined #nixos-aarch64
smrtak[m] has joined #nixos-aarch64
jackdk has quit [Ping timeout: 256 seconds]
jackdk has joined #nixos-aarch64
* colemickens mfw when git doesn't build on aarch64
t184256 has left #nixos-aarch64 ["Error from remote client"]
t184256 has joined #nixos-aarch64
<Ke> hmm my edk2 platforms just sees gcc5 build tags
cole-h has joined #nixos-aarch64
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has joined #nixos-aarch64
alpernebbi has joined #nixos-aarch64
<samueldr> mobile-nixos#212 should make it less stressful for me to suggest looking at other kernel derivations
<{^_^}> https://github.com/NixOS/mobile-nixos/pull/212 (by samueldr, 8 minutes ago, open): Review the kernel builder ergonomics
<samueldr> I still need to review my changes, but basically making it *knowledge* based rather than almost "faith" based really helps
<ashkitten> samueldr: i no longer have google-marlin btw, so can't test that
<samueldr> thanks for saying it, didn't ping you since I didn't know your status on that :)
<samueldr> while daniel//rf[m] "owes" me :) (I test robotnix things on the pixel 2 when he needs it)
<ashkitten> gave it to a friend whose nexus 6 battery lasted an hour and got so hot the screen unglued itself
<samueldr> good deed
<samueldr> much better to see a second-hand device used and loved rather than in a drawer waiting for something fun to do with it
<ashkitten> devices in this apartment are well loved
<kahiru> angerman: heh, thought in this day and age this issue would already be nonexistent
<ashkitten> offtopic but gf will soon have the starmax running Important Things
* samueldr is confused about starmax
<ashkitten> -> #nixos-chat
cole-h has quit [Quit: Goodbye]
zupo has joined #nixos-aarch64
<angerman> kahiru: yea :-/
zupo_ has joined #nixos-aarch64
zupo has quit [Ping timeout: 258 seconds]
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 240 seconds]
zupo has joined #nixos-aarch64
DigitalKiwi has quit [Quit: quite.]
DigitalKiwi has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
alp has quit [Ping timeout: 240 seconds]
maxsc has joined #nixos-aarch64
alp has joined #nixos-aarch64
<maxsc> Hi all, I want to install NixOS on my RPi 3B and followed the instructions on the NixOS on ARM wiki to build my own image and burn it to a USB stick. After booting from USB I partitioned the sd card following the instructions from the NixOS manual (https://nixos.org/manual/nixos/stable/#sec-installation-partitioning-MBR) without the swap partition and also encrypted the root partition before formatting. Then, I used t
<maxsc> found here: https://nixos.wiki/wiki/NixOS_on_ARM#NixOS_installation_.26_configuration as a template and did a nixos-install. After rebooting from the sd card I get "ERROR: Did not find a cmdline Flattened Device Tree". What could be the issue here?
<srk> maxsc: how does your /boot/extlinux/extlinux.conf look like? is FDTDIR pointing to correct location?
zupo has joined #nixos-aarch64
alpernebbi has quit [Quit: alpernebbi]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #nixos-aarch64
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
<maxsc> This is my extlinux.conf: https://dpaste.com/792V42NNQ
<maxsc> It is pointing at something valid
<maxsc> Don't know if its the correct location though
<maxsc> configuration.nix: https://dpaste.com/HV4M929SY and hardware-configuration.nix: https://dpaste.com/BU5RBC8P3
<ehmry> maxsc: check which FDT is being loaded from FDTDIR
<ehmry> u-boot should pick the right one, but you may need to override the filename
<ehmry> I've had problems with this before
<ehmry> but not with a rpi
<srk> you need to populate first partition with firmware and u-boot, like the sd-card installer does
<srk> (but the error looks like coming from u-boot so not sure what's going on)
<maxsc> Ok, how do I know if the partition has been populated by rpi firmware and u-boot?
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<maxsc> This is the contents of the folder that FDTDIR is pointing to: https://dpaste.com/EW8RR9XV2
<srk> check if there's e.g. bootcode.bin
<maxsc> I don't think is there..
<maxsc> How do I get it in there?
<ehmry> does u-boot log which file it tries to load? something like Retrieving file: /extlinux/../nixos/<...>.dtb
<maxsc> ehmry: yes, it retrieves three files before the error: /extlinux/../..-initrd-linux-5.8.11-initrd and /extlinux/../..-linux-5.8.11-Image and /extlinux/../..-linux-5.8.11-dtbs/broadcom/bcm2837-rpi-3-b.dtb
orivej_ has quit [Ping timeout: 260 seconds]
maxsc has quit [Remote host closed the connection]
<ehmry> and is broadcom/bcm2837-rpi-3-b.dtb in FDTDIR?
maxsc has joined #nixos-aarch64
<maxsc> yeah it's in there
<maxsc> I'm just thinking maybe I should set boot.loader.raspberryPi.enable = true; in my config instead of boot.loader.generic-extlinux-compatible.enable = true;
<maxsc> This should generate the right firmware for me in /boot, no?
maxsc has quit [Remote host closed the connection]
justanotheruser has joined #nixos-aarch64
zupo has joined #nixos-aarch64
AmandaC has quit [Quit: Toodles]
AmandaC has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
e is now known as deadk
Darkmatter66 has quit [Ping timeout: 260 seconds]
Darkmatter66 has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
rajivr has quit [Ping timeout: 240 seconds]
rajivr has joined #nixos-aarch64
alunduil has quit [Ping timeout: 244 seconds]
kyren has quit [Ping timeout: 240 seconds]
alunduil has joined #nixos-aarch64
kyren has joined #nixos-aarch64
bbigras has quit [Ping timeout: 240 seconds]
Asmadeus has quit [Ping timeout: 240 seconds]
Asmadeus has joined #nixos-aarch64
angerman_ has joined #nixos-aarch64
angerman has quit [*.net *.split]
smrtak[m] has quit [*.net *.split]
Smith[m]1 has quit [*.net *.split]
angerman_ is now known as angerman
Smith[m]1 has joined #nixos-aarch64
smrtak[m] has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 240 seconds]
h0m1 has joined #nixos-aarch64
colemickens has quit [Ping timeout: 240 seconds]
colemickens has joined #nixos-aarch64
bbigras has joined #nixos-aarch64
alp has joined #nixos-aarch64
ky0ko1 has quit [Ping timeout: 244 seconds]
ky0ko1 has joined #nixos-aarch64
Ox4A6F has quit [Ping timeout: 244 seconds]
Ox4A6F has joined #nixos-aarch64
justanotheruser has quit [Ping timeout: 240 seconds]
cole-h has joined #nixos-aarch64
<Ke> setenv bootcmd 'ping 10.82.40.225; sysboot -p mmc 1:1 fat $scriptaddr /extlinux/extlinux.conf'
<Ke> so I just did this and everything is fine
<Ke> such elegance
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
orivej has joined #nixos-aarch64
<clever> ,stty
<{^_^}> echo "stty rows $(tput lines) cols $(tput cols)"
cole-h has quit [Ping timeout: 272 seconds]
zupo has joined #nixos-aarch64
aminechikhaoui has quit [Read error: Connection reset by peer]
aminechikhaoui has joined #nixos-aarch64
evalexpr has quit [Ping timeout: 240 seconds]
disasm has quit [Ping timeout: 240 seconds]
alp has quit [Ping timeout: 272 seconds]
evalexpr has joined #nixos-aarch64
disasm has joined #nixos-aarch64
alp has joined #nixos-aarch64
zupo has quit [Ping timeout: 240 seconds]
zupo has joined #nixos-aarch64
alp has quit [Ping timeout: 240 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ashkitten has quit [Quit: WeeChat 2.9]
ashkitten has joined #nixos-aarch64
t184256 has left #nixos-aarch64 ["Error from remote client"]
t184256 has joined #nixos-aarch64
justanotheruser has joined #nixos-aarch64