justanotheruser has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
ib07 has quit [Ping timeout: 240 seconds]
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
ib07 has joined #nixos-aarch64
red[evilred] has joined #nixos-aarch64
<red[evilred]> I guess
<red[evilred]> I should at least lookup what else I need
rajivr has joined #nixos-aarch64
<red[evilred]> sphalerite (IRC): also - have to find out if NixOS on this thing needs SD / SATA / M2 / eMMC to run
<red[evilred]> oh wow - that RAM is spendy
tilpner_ has joined #nixos-aarch64
tilpner has quit [Ping timeout: 260 seconds]
tilpner_ is now known as tilpner
<red[evilred]> sphalerite (IRC): how much RAM you thinking of putting in it?
<pbb> colemickens, samueldr: you talked about an issue with booting mainline kernel using u-boot on a raspberry pi a few weeks ago. something with "RD image overlaps OS image". did you find a solution to that?
<pbb> using sd-image-aarch64.nix as basis works with lts kernel but not with latest kernel
<samueldr> uh, I don't think I personally experienced it, I must have been only tangentially involved in the discussions
<samueldr> in the u-boot env there are vars that can be tweaked
<samueldr> those are seeded by platform-specific defaults IIRC
<samueldr> `and IIRC those vars include "addr" as part of their names
<pbb> is this in the generic-extlinux-compatible module or in the u-boot defconfig file or where?
<samueldr> the env I assumed you'd checked using the u-boot command-line on the device
<samueldr> otherwise it may be part of the defconfig for some platforms
<samueldr> IIRC it isn't for some other
<samueldr> (the command to check the env on-device is "env")
<pbb> okay. different question: is it possible to boot a mainline kernel using the raspberry pi bootloader?
<samueldr> AFAIK yes
<pbb> Thanks. I have no idea what exactly I could try with the u-boot env addr stuff. So I'll try the rpi bootloader first.
h0m1 has quit [Ping timeout: 260 seconds]
h0m1 has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 256 seconds]
<samueldr> the one that's bigger, you would set it bigger still
<pbb> there's kernel_addr_r=0x00080000
<pbb> and loadaddr=0x00200000
justanotheruser has quit [Ping timeout: 268 seconds]
srk has quit [Ping timeout: 240 seconds]
jb55 has quit [Ping timeout: 240 seconds]
srk has joined #nixos-aarch64
<samueldr> I think it's ramdisk_addr_r
jb55 has joined #nixos-aarch64
<samueldr> in u-boot, for the raspberry pi it seems to be defined by include/configs/rpi.h
<samueldr> (for the defaults)
<samueldr> ramdisk_addr_r=0x02700000
<samueldr> though I'm less confident in what I'm saying now
<Ke> sphalerite: I'd guess they produced a big batch now and ship all
orivej has joined #nixos-aarch64
<Ke> mine was ordered like a month after you guys did
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
orivej has quit [Ping timeout: 246 seconds]
Darkmatter66 has joined #nixos-aarch64
Darkmatter66 has quit [Read error: Connection reset by peer]
Darkmatter66 has joined #nixos-aarch64
srk has quit [Ping timeout: 240 seconds]
srk has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 264 seconds]
veleiro has quit [Ping timeout: 260 seconds]
red[evilred] has joined #nixos-aarch64
<red[evilred]> Ke, you got a shipping notification?
<Ke> yes
cfinch has joined #nixos-aarch64
<sphalerite> I'll also be using the HDDs that I already have in my current NAS
<sphalerite> power supply is included in the case
<sphalerite> oooh I have my shipping notification too!!
<sphalerite> oh wow it's supposed to arrive on the 4th
<sphalerite> I… probably won't be there to accept it :|
Darkmatter66 has joined #nixos-aarch64
cfinch has quit [Read error: Connection reset by peer]
cfinch has joined #nixos-aarch64
qyliss has quit [Quit: bye]
qyliss has joined #nixos-aarch64
cole-h has quit [Ping timeout: 265 seconds]
<pbb> samueldr: thanks for the hints! I think I have to change more than one addr.
luigy has quit [Ping timeout: 240 seconds]
luigy has joined #nixos-aarch64
red[evilred] has quit [Quit: Idle timeout reached: 10800s]
<pbb> it worked \o/
<pbb> I posted a small write-up with my config and the patch [here](https://github.com/NixOS/nixpkgs/issues/97064#issuecomment-752429198)
<pbb> now next question: anyone had u-boot running on the rpi4?
<pbb> bootcode.bin is the same on all raspberry pis, right?
<{^_^}> #97883 (by samueldr, 15 weeks ago, open): Use U-Boot for the Raspberry Pi 4-specific image
<Ke> now USP has picked up my hc
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
<Ke> my heatsink is funnier, comes by yun express and the tracking is trailing by about 16h
dstzd has quit [Quit: ZNC - https://znc.in]
dstzd has joined #nixos-aarch64
dstzd has quit [Client Quit]
Darkmatter66 has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
dstzd has joined #nixos-aarch64
dstzd has quit [Remote host closed the connection]
dstzd has joined #nixos-aarch64
dstzd has quit [Client Quit]
dstzd has joined #nixos-aarch64
dstzd has quit [Client Quit]
dstzd has joined #nixos-aarch64
WilliButz has quit [Remote host closed the connection]
WilliButz has joined #nixos-aarch64
manveru[m] has joined #nixos-aarch64
* manveru[m] waves
orivej has quit [Ping timeout: 264 seconds]
cfinch has quit [Ping timeout: 256 seconds]
<manveru[m]> i'm looking for some advice to start hacking on my remarkable 2 tablet :)
<sphalerite> siraben's been doing lots of remarkable stuff, though with the 1 I think
<siraben> yeah
<manveru[m]> so far i got a simple flake that does cross-compilation and installs some small utils and japanese fonts
<siraben> one of the few NixOS users in the rM hacking community :)
<siraben> manveru: nice! is it public?
<manveru[m]> not yet...
<siraben> oxide has a nix expression as well, not a flake yet though
<manveru[m]> it's pretty small, one sec
<siraben> turns out you can use rM's official toolchain just fine in Nix, who knew? heh
<manveru[m]> i've been thinking of how to best manage my own systemd services and installing stuff like a launcher using it
<manveru[m]> will take a look at oxide
<siraben> manveru: oh cool, how would I run this flake on the tablet?
<manveru[m]> i mostly did `nix build .#profile && NIX_SSHOPTS="source ~/.profile;" nix-copy-closure --to remarkable.fritz.box ./result`
<manveru[m]> and on the remarkable then `nix profile install <that-result-path>`
<siraben> ah, you're using nix 2.4 on the tablet?
<manveru[m]> yeah
<siraben> yeah the NIX_SSHOPTS is annoying but that's because the tablet uses dropbear
<siraben> instead of openssh
<manveru[m]> yup
<manveru[m]> i still can't get it to work with my ssh keys :(
<siraben> how did you install it on the tablet? I just cross-compiled it today
<manveru[m]> probably doesn't like ed25519
<manveru[m]> i used the prebuilt nix for some raspberry i think
<manveru[m]> then cross-compiled nixUnstable and copied it over this way as well
<manveru[m]> thus replacing the precompiled one
<manveru[m]> nothing streamlined really ^^;
<siraben> yeah
<siraben> I had no idea nix profile was a thing, I haven't really looked at the newer subcommands stuff
tilpner has quit [Remote host closed the connection]
<manveru[m]> it's a really nice replacement for `nix-env` :)
<manveru[m]> the vnc stuff looks interesting... you could use this as a second monitor?
tilpner has joined #nixos-aarch64
tilpner has quit [Client Quit]
tilpner has joined #nixos-aarch64
tilpner has quit [Client Quit]
tilpner has joined #nixos-aarch64
tilpner has quit [Client Quit]
<siraben> I think so, though I haven't successfully built it on Nix
<siraben> if anyone is wondering; https://github.com/matteodelabre/vnsee
<siraben> looks like they're lacking CI, time is ripe to make it Nix! ;)
Thra11 has quit [Ping timeout: 256 seconds]
tilpner has joined #nixos-aarch64
Thra11 has joined #nixos-aarch64
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 260 seconds]
<ehmry> I think I've seen someone doing this before
<andi-> hm, I can't build u-boot natively anymore for aarch64.. GCC complains about -cpu=cortex-m0 and -march=armv5te conflicting.
<andi-> Anyone else ran into this?
<andi-> actually that is in the arm trusted firmar build not even u-boot yet
orivej has joined #nixos-aarch64
<andi-> Running a bisect now..
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
<andi-> seems to be 40e7be11c8098d11217786d106462e958e1d8718
maddo has joined #nixos-aarch64
<maddo> hello, is there any support for the ODROID-C4? They released the new HC4 with sata over pci-e and it seems like a great buy for the price
jb55 has quit [Ping timeout: 240 seconds]
srk has quit [Quit: ZNC 1.8.2 - https://znc.in]
srk has joined #nixos-aarch64
jb55 has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
Darkmatter66 has joined #nixos-aarch64
veleiro has joined #nixos-aarch64
v0|d has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
Darkmatter66_ has joined #nixos-aarch64
Darkmatter66 has quit [Ping timeout: 246 seconds]
s1ng0c has joined #nixos-aarch64
Thra11 has quit [Quit: WeeChat 3.0]
s1ng0c has quit [Remote host closed the connection]
v0|d has quit [Remote host closed the connection]
tilpner_ has joined #nixos-aarch64
tilpner has quit [Remote host closed the connection]
tilpner_ is now known as tilpner
s1ng0c has joined #nixos-aarch64
<s1ng0c> @samueldr I tried to build example/demo for pinephone but seem build broken due to mobile-nixos/modules/cross-workarounds.nix, could you check
<samueldr> it's broken *because* of it, but it's not expected to build with cross-compilation because of upstream Nixpkgs
<s1ng0c> security.polkit.enable and services.udisks2.enable are conclicted with X11 selections
<samueldr> s1ng0c: assuming you're not building natively on aarch64
<s1ng0c> no, I have x86_64
<s1ng0c> cross compiling
<samueldr> the demo image won't cross-compile, known issue, it's bringing in a *boat load* of stuff that has multiple distinct issues with cross
<s1ng0c> I tried to add Wayland + Weston to local.nix, it was also not worked :(
<samueldr> for the time being you can assemble an image by `dd`ing the prebuilt rootfs from an Hydra build on top of the partition from a normal build
<s1ng0c> ok
<samueldr> you will want to expand the partition first using any partitioning tool
<samueldr> otherwise it won't fit :)
<s1ng0c> yah
orivej has quit [Ping timeout: 256 seconds]
<s1ng0c> stupid question, QEMU user static is not invoked into the *cross compiling* right?
<sphalerite> correct
<s1ng0c> ok
orivej has joined #nixos-aarch64
red[evilred] has joined #nixos-aarch64
<red[evilred]> sphalerite (IRC) do you know if there's any guidance on installing nixos on honeycomb yet?
<red[evilred]> Our is it it going to be a series of experiments?
maddo has quit [Remote host closed the connection]
<andi-> regarding the earlier mentioned arm trusted firmware issue. This PR should fix it https://github.com/NixOS/nixpkgs/pull/107999
<{^_^}> #107999 (by andir, 41 seconds ago, open): lib/systems/platforms: treat missing cpu version as generic pcBase