t184256 has left #nixos-aarch64 ["Disconnected: Replaced by new connection"]
t184256 has joined #nixos-aarch64
<lordcirth__> K, I have a tree. It looks like firefox is pulled in by spidermonkey-60.9.0-aarch64-unknown-linux-gnu, which is pulled in by polkit-0.116-aarch64-unknown-linux-gnu
<lordcirth__> Or maybe I'm reading this wrong, because that seems bizarre
<clever> lordcirth__: that what is the exact name of the firefox drv?
<lordcirth__> clever, /nix/store/acvx32806pxbrr8hqzdx65kak8577vqp-firefox-60.9.0esr.source.tar.xz.drv
<lordcirth__> Ah, just the firefox source?
<clever> lordcirth__: spidermonkey is probably using the firefox source to get a JS engine
<clever> lordcirth__: and polkit rules are written in JS, and ran by spidermonkey
<lordcirth__> Ahah, I see! Thanks
<lordcirth__> Ah, and the gobject-introspection that won't compile is pulled in by udisks. Seems important
<samueldr> I think 19.09 was cross-compiling fine
<samueldr> not verified though
<samueldr> but I seem to recall it cross-compiled after the fork
<lordcirth__> Yeah, but then we'd need to insert new kernel and uboot, right?
<samueldr> still need to with unstable
<samueldr> nixpkgs will not have a custom sd-image builder or "built from unaccepted patches" u-boot
<samueldr> so unstable vs. 19.09, I think, brings us nothing better :)
<samueldr> and anyway, you want to then nixos-rebuild
<lordcirth__> Fair enough
<samueldr> you can still rebuild on unstable :)
<lordcirth__> Right, so cross-compile 19.09 + uboot + kernel, boot, rebuild native
<gchristensen> my local Target stocks CanaKit now!
<samueldr> that's nice
<samueldr> my local target closed down like all others in the country :(
<gchristensen> my local target is the only store of its kind in a lot of miles :/
<gchristensen> it is in a mall with only a movie theater, and the mall doesn't pay its taxes or electricity bill
<DigitalKiwi> "I tried to walk into target, but I missed" -- mitch hedberg
<DigitalKiwi> gchristensen: so does that mean you can get them for close to actual MSRP?
* DigitalKiwi still hasn't figured out how it costs less to ship stuff to foreign countries than a raspberry pi from the US...
<gchristensen> it was $79 for a CanaKit
<gchristensen> Starter Pro Kit with a 32g disk. which btw as a resident of a state which legalized it, CanaKit is a curious name
<samueldr> you do realize it comes from a country that legalized it?
<samueldr> it being selling raspberry pis I presume?
<samueldr> (joking here)
<DigitalKiwi> have i been buying black market raspberry pis
<DigitalKiwi> it's all a ploy to get unsuspecting potheads to buy SBCs thinking it's something else
<gchristensen> maybe that is why Target suddenly started carrying them
<DigitalKiwi> it's not legal where i live so if i check the one by me and they don't have it...
<DigitalKiwi> use one of your charts lol!
alunduil has joined #nixos-aarch64
feepo has joined #nixos-aarch64
elvishjerricco has joined #nixos-aarch64
<DigitalKiwi> pot legalized -> target purchasing department are users -> someone has the munchies, sees "cana" and "raspberry pi" and thinks it's a delicious infused baked good -> target now has raspberry pi not very edibles
<gchristensen> let's get NixOS on this https://www.raspberrypi.org/downloads/
<samueldr> we might want a page, documentation or website, to link to
<samueldr> like, a discrete page, with the relevant information
<gchristensen> yep
<gchristensen> lol
<samueldr> that would be unfair, that's a fedora developer
<gchristensen> I'm reminded of the miserable next step of a raspberry pi... getting it booted and me logged in to it without a keyboard mouse or monitor handy
<samueldr> ooh
<samueldr> serial thingy&
<samueldr> if so then you're all set
<gchristensen> I don't see a place to plug one in
<samueldr> that would be wasteful
<samueldr> - I'm assuming the raspberry pi foundation
<gchristensen> it *would* increase the BOM by $0.002
<samueldr> you plug GND, TXD and RXD to those pins
<samueldr> don't plug 5V
<clever> gchristensen: something ive wanted, is to route the D+ and D- of the "power only" usb port, to the gpio header
<clever> gchristensen: then i could add my own serial port on there, linked to the existing uart pins
<clever> for the cost of 2 pins, you can get the option of 1-cable serial
<samueldr> what if the UART were driven to the SBU1/SBU2 pair of the rpi 4, then you could use a pixel 2 serial cable on it
<gchristensen> I miss having my electronics lab equipment
<gchristensen> yeah I don't have the tools to connect my serial adapter to these pins
<samueldr> !
<clever> i brought 2 pi's, an ftdi uart, and some short wires, to nixcon
<gchristensen> I can only connect all four pins (GND, TXD, RXD, VDD_IO) in that order
<samueldr> hm
<gchristensen> when I lived in TX I had a pretty well outfitted lab which I donated so I didn't need to move it all
<gchristensen> I have regretted that a lot since
<clever> my house is just overflowing with such stuff
<clever> tektronix 2232 scope
<samueldr> so you're inviting gchristensen to stay over?
<samueldr> :)
<clever> ftdi uart's
<clever> old pc hardware
<clever> there's an fpga just laying next to my drink
<gchristensen> my scope and function generator are the two things I kept :)
<clever> dont have a dedicated function generator
ryantrinkle has joined #nixos-aarch64
<DigitalKiwi> just use djinn *ba dum tsch*
<clever> my scope is also pretty ancient
<clever> just google "tektronix 2232"
<DigitalKiwi> for the not in the know https://hackage.haskell.org/package/djinn
ryantrinkle1 has joined #nixos-aarch64
<gchristensen> h nice, clever
ryantrinkle has quit [Ping timeout: 252 seconds]
ryantrinkle has joined #nixos-aarch64
<gchristensen> I did find a box of 50 smt atmega328s lol
ryantrinkle1 has quit [Ping timeout: 245 seconds]
<clever> gchristensen: ive got a bunch of dip AVR's
<gchristensen> nice, do you remember why you have them? (I cn't remember myself)
<clever> gchristensen: one is used to control my heating system, and i have others for projects i never finished
<gchristensen> same :P
<clever> gchristensen: ive got an array of ds18b20's around the house, all reporting to a single pc, that then graphs things
<clever> "2019-11-14 21:51:06 bedroom temp: 22.50c(72.50f), kitchen: 19.94c(67.89f), living room: 19.69c(67.44f), outdoor: -4.38c(24.12f), server: 23.25c(73.85f) VCC: over 4.5 volts portb: 00000000"
<clever> this is printed to the debug at regular intervals
<gchristensen> yeah, I'm a bit envious of that. seems cool
<clever> and cacti is configured to graph it (still havent switched that to grafana)
<samueldr> -4 is indeed cold
<clever> the pc also acts as a bridge between the avr and tcp, so an android app can change settings
<gchristensen> hah
<gchristensen> samueldr: do these actually turn on the serial port during boot by default?
<gchristensen> screen /dev/ttyUSB0 115200 isn't yielding anything despite my hodgepodge of wires poking in to bits
<clever> gchristensen: i usually start with a scope on the "tx" pin, set to only trigger on falling edges
<clever> that confirms if i even have the right pin, and the baud rate
<gchristensen> oooh I have to edit /boot/cmdline.txt or something, don't I
<samueldr> shouldn't
<samueldr> though it's possible that the wrong console= is there
<samueldr> I believe mainline switched things around
<samueldr> it would be in the ext4 partition, in /boot/extlinux
<samueldr> but pretty sure u-boot would be noisy
<clever> ive gotten u-boot output from my STB, but not found a way to control it
<samueldr> if you don't have u-boot's chatter, something's amiss
<gchristensen> on all consoles?
<clever> ive heard of some ancient nokia's where the main keyboard, wasnt properly tied into the gui
<clever> so, every single thing you typed, went to both the gui, and an invisible root terminal
<samueldr> gchristensen: on the serial one at the very least, for u-boot
<samueldr> the general issue that's seen is "It hangs on starting kernel...", meaning u-boot's last words
<samueldr> clever: wasn't that an issue on android?
<DigitalKiwi> gchristensen: why don't you just build your own image that has your ssh key :P
<samueldr> though thinking, it might be also for n810 or something
<clever> samueldr: not sure
<clever> samueldr: its more that a getty was still running on tty1, and the gui wasnt capturing keyboard input but sniffing it
<clever> so the getty still received keys
<samueldr> android
<samueldr> G1
<gchristensen> oh its NOOBS I wonder if that makes a difference
<clever> ah
<samueldr> gchristensen: ah, you're not using nixos?
<samueldr> here of all places
<samueldr> :)
<DigitalKiwi> hahaha
<gchristensen> I could ...
<samueldr> yeah, that... I don't know how serial will work
<gchristensen> its a 3b+ so I figured the bootstrapping would be easier if I got it to boot
<clever> gchristensen: i have a test that would confirm things, at the lowest level
<gchristensen> does it involve my scope? :P
<DigitalKiwi> #archlinux has bot commands for this very scenario
<clever> gchristensen: nope, i already scoped it
<gchristensen> DigitalKiwi: oh?
<samueldr> and most distros (including NOOBS) will not use u-boot
<clever> gchristensen: https://github.com/NixOS/nixpkgs/pull/72657#issuecomment-549100761 build the expr in this gist, using the fork of nixpkgs in that PR
<DigitalKiwi> gchristensen: which comment is that oh to
<gchristensen> wow!
<clever> gchristensen: then put the resulting file onto the SD card, as bootcode.bin
<clever> gchristensen: it will print "hello world!\n" out the uart, at 115200 buad, and then halt
* samueldr faints
<samueldr> just saw the date on that slashdot post
<samueldr> feels like it was just a couple years ago
<gchristensen> lol
<clever> lol
<clever> thats how you know your getting old
<clever> dont worry, i put my back out just making the bed :P
<samueldr> I'm not getting old... you're getting old
<samueldr> (this is supposed to be funny... considering we all should be aging at the same rate)
<DigitalKiwi> 10:19 phrik: If you're here because of an issue with your Raspberry Pi or other ARM device, join #archlinux-arm.
<DigitalKiwi> 01:26 phrik: netlar: This channel is for Arch Linux support only. Also see
<samueldr> yeah, but nixos has upstream ARM/aarch64 support :) here gchristensen was using *the wrong distro* :D
<samueldr> archlinux-arm is a separate effort
<DigitalKiwi> well if someone was in #nixos you could send them here
<DigitalKiwi> but mostly the second one ;)
h0m1 has quit [Ping timeout: 276 seconds]
<DigitalKiwi> they get a surprising number of manjaro users...
<DigitalKiwi> "sir this is a wendy's"
h0m1 has joined #nixos-aarch64
<clever> the debian channel once banned me for being an ubuntu user :P
<DigitalKiwi> i can't remember if i asked in debian or ubuntu but when i was slightly more immature i once asked 'if ubuntu is debian then why is there ubuntu'
<DigitalKiwi> no ban
<gchristensen> samueldr: do we have a handy 3b+ image still?
<gchristensen> I can google, I don't need to ask
<DigitalKiwi> but #fedora gave me a final (and first) warning for the crime of mentioning a different distro
<gchristensen> wait
<gchristensen> wait
<gchristensen> wait
<gchristensen> 3b+ is aarch64
<gchristensen> asoeunthoanstuhasrhar,honsuh
<samueldr> yes
<gchristensen> what am I doing wasting time on NOOBS! :D
<DigitalKiwi> hahahaha
* samueldr sighs
<gchristensen> I'm coming, NixOS! I'm coming!
<DigitalKiwi> the 3b is too ;)
<DigitalKiwi> Thanks to @grahamc and Packet the official NixOS Hydra builds a full set of binaries (available on https://cache.nixos.org)
<gchristensen> I thought the 3b+ was still stuck on armv7 :)
<gchristensen> hmmm the serial output is a bit unreliable which I think might indicate the board is underpowered
<clever> gchristensen: the gpu firmware will show a lightning bolt on the hdmi if power is low
<clever> gchristensen: it will also turn off the main power LED
<gchristensen> hm
<gchristensen> I'm not using hdmi, though the power led doesn't seem to turn offf
<clever> the power led, isnt tied to the power rail, its on a gpio pin
<clever> and the firmware can turn it off
<samueldr> gchristensen: 2A power supply?
<samueldr> anything less is a definite underpower
<samueldr> if it's the PSU part of the canakit kit, then it should be fine
<gchristensen> 2.5A
<gchristensen> then the unreliable serial is probably my dodgy wiring
<gchristensen> woot!
<clever> gchristensen: do you see a 2 pin header labeled RUN ?
<gchristensen> yea
<clever> gchristensen: if you short that out, the whole system will hard-reset
<clever> gchristensen: so you can swap the sd card, and punch a reset button
<clever> or in my case, i was network booting, so i just nix-build, and then punch reset
<gchristensen> nice
<clever> [2016-05-03] Kristina Brooks has got David Given's LLVM fork to work on rPi at https://github.com/christinaa/LLVM-VideoCore4
<clever> samueldr: oh, this might be of use
<gchristensen> the serial port works better when you're not connecting rx and tx by mistake
<gchristensen> fyi
<samueldr> ooh
<DigitalKiwi> you must be so embarassed
<gchristensen> pretty much 100% of my life
<gchristensen> it still isn't working quite right, but it is better
<DigitalKiwi> haha same on both accounts ;_;
sigtrm_ has joined #nixos-aarch64
ryantrinkle has quit [*.net *.split]
wrl has quit [*.net *.split]
zupo has joined #nixos-aarch64
samueldr has joined #nixos-aarch64
Aleksejs has joined #nixos-aarch64
grw has joined #nixos-aarch64
adisbladis has joined #nixos-aarch64
exarkun has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
wrl has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
ryantrinkle has quit [*.net *.split]
wrl has quit [*.net *.split]
adisbladis has quit [*.net *.split]
exarkun has quit [*.net *.split]
ryantrinkle has joined #nixos-aarch64
wrl has joined #nixos-aarch64
adisbladis has joined #nixos-aarch64
exarkun has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
zupo has joined #nixos-aarch64
FRidh has joined #nixos-aarch64
zupo has quit [Ping timeout: 265 seconds]
minicom has joined #nixos-aarch64
orivej has joined #nixos-aarch64
tilpner has joined #nixos-aarch64
orivej has quit [Ping timeout: 250 seconds]
kai_w has joined #nixos-aarch64
kai_w has quit [Client Quit]
kai_w has joined #nixos-aarch64
ehmry has quit [Ping timeout: 252 seconds]
ehmry has joined #nixos-aarch64
Thra11_ has quit [Ping timeout: 250 seconds]
ryantrinkle has quit [Ping timeout: 268 seconds]
Thra11_ has joined #nixos-aarch64
orivej has joined #nixos-aarch64
codyopel has joined #nixos-aarch64
atopuzov[m] has joined #nixos-aarch64
marijan[m] has joined #nixos-aarch64
Ox4A6F has joined #nixos-aarch64
bennofs[m] has joined #nixos-aarch64
insep[m]1 has joined #nixos-aarch64
worldofpeace1 has joined #nixos-aarch64
dtz has joined #nixos-aarch64
thefloweringash has joined #nixos-aarch64
cornu has joined #nixos-aarch64
contrun[m] has joined #nixos-aarch64
thequux[m] has joined #nixos-aarch64
timokau[m] has joined #nixos-aarch64
NickHu has joined #nixos-aarch64
MichaelEden[m] has joined #nixos-aarch64
Ericson2314 has joined #nixos-aarch64
alienpirate5 has joined #nixos-aarch64
craige[m] has joined #nixos-aarch64
danielrf[m] has joined #nixos-aarch64
balsoft has joined #nixos-aarch64
marius851000[m] has joined #nixos-aarch64
tilpner has quit [Quit: tilpner]
orivej has quit [Ping timeout: 252 seconds]
ryantrinkle has joined #nixos-aarch64
orivej has joined #nixos-aarch64
tilpner has joined #nixos-aarch64
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
ryantrinkle1 has joined #nixos-aarch64
tilpner has quit [Quit: tilpner]
ryantrinkle has quit [Ping timeout: 250 seconds]
<samueldr> this is weird... I don't need one... but I want one
Thra11_ has quit [Ping timeout: 250 seconds]
<gchristensen> hot diggity dog
FRidh has quit [Remote host closed the connection]
tilpner has joined #nixos-aarch64
{^_^} has joined #nixos-aarch64
tilpner has quit [Read error: Connection reset by peer]
tilpner has joined #nixos-aarch64
<Acou_Bass> hmm... the pinephone pre-order has a nixos logo on one of the pictures... has someone got the dev kit/had nixos-aarch64 running on it? that'd be nuts
<tilpner> Sounds like samueldr
<samueldr> yes, I do
<samueldr> though extra cellphone hardware yet to be fixed
<samueldr> coming in the next few weeks
zupo has joined #nixos-aarch64
orivej has joined #nixos-aarch64
<Acou_Bass> i was onsidering getting one once they're past the first 'enthusiast only' batch, even just as a secondary tinkerin' thingy... that'd be really cool to run nixos on it :D
<samueldr> at that price, it's well in the "just because I can" imo
<Acou_Bass> yeah exactly
<samueldr> even if a bit underpowered
<samueldr> it's easier to get started with something cheap
<samueldr> and it's all proven techs, which the community around is experienced with
<samueldr> it's a bog standard A64, you can buy so many boards with that SoC
<Acou_Bass> i unfortunately have a couple of 'droid apps i use daily so a phone like that would never be a daily driver either way, so it'd always be a secondary/tinkery phone, and as you said for $150 i can justify it as a toy :P
<samueldr> but
<samueldr> you forgot the one neat trick the community is doing
<samueldr> android does run on A64
<samueldr> so you can use the cheap pinephone for android apps
<samueldr> and port mobile-nixos to your main phone!
<Acou_Bass> yeah but if you think im getting a phone like that just to run android... :D
<Acou_Bass> i dont use android right now... running an xperia X with sailfish, and its android emulator thingy is good enough for what i need
<samueldr> maybe anbox will fit the bill, if not now, at one point
<Acou_Bass> i know UBPorts has/is working on an android app running thing... so i dunno, maybe if that somehow goes over to an OS on pnephone
<Acou_Bass> yah that
<Acou_Bass> there's another one the sailfish guys worked on called sfdroid that was meant to be a FOSS alternative to the proprietary one jolla ship... not sure if anbox is related to that
<gchristensen> I accidentally upset the balance of the spot market and have reintroduced all the churn
<gchristensen> I have brought great shame upon Dustin and myself
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 240 seconds]
<DigitalKiwi> i'm talking to someone and they're interested in risc-v is there any support for that on nixos? and is this a question for here or #nixos (but i figure someone here should know if anyone)
<lordcirth__> DigitalKiwi, I see some bits in nixpkgs for risc - no idea if it currently works. Nix is pretty good at supporting lots of things.