orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 252 seconds]
orivej has joined #nixos-aarch64
jtojnar has quit [Ping timeout: 264 seconds]
jtojnar has joined #nixos-aarch64
jtojnar has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 245 seconds]
jtojnar has joined #nixos-aarch64
orivej has joined #nixos-aarch64
Ericson2314 has joined #nixos-aarch64
disasm_ has joined #nixos-aarch64
disasm has quit [Ping timeout: 246 seconds]
Thra11 has joined #nixos-aarch64
efraim has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
samrose has joined #nixos-aarch64
<samrose> Hello, I am searching for clues about building and installing nixos on the bananapi m64 trying to learn how these images and installers are produced https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/installer/ Dezgeg if you have time it'd be great to connect with you on this
<samueldr> while I'm not Dezgeg, I can at least tell you where the scripts are: https://github.com/dezgeg/nixconfs
<samueldr> but for aarch64, it's different, this is more for armv6/7
<samrose> samueldr: ah thank you I will check it out
<samrose> samueldr: ah, good point ok
<samueldr> bananapi m64 is aarch64, right?
<samrose> yes it is aarch64
<samueldr> second line is the command used
<samueldr> I haven't verified, but I think hydra still doesn't build it :/
<samueldr> (last time I checked I wasn't able to find it)
<samrose> but a hydra instance *could* build this it seems eh?
<samueldr> definitely, I meant for cache.nixos.org :)
<samrose> samueldr: right on got you
<samrose> samueldr: so in addition to this sd image, I need a sunxi bin to boot the OS on m64 yes?
<samueldr> most probable
<samrose> I also noticed line 21 "sd-image-aarch64.nix can be only built natively on Aarch64 / ARM64"
<samueldr> I wrote the "Building u-boot from your NixOS PC" section when doing an armv7l build and it worked
<samueldr> yeah
<samueldr> the nixos.org hydra has a (maybe multiple?) native aarch64 build
<samueldr> builder*
<samrose> so I need some form of aarch64 emulator
<samrose> or ARM64 emulation
<samueldr> it could be a slow way to bootstrap making the image, but you could use the older image if your board was supported at that point in time
<samueldr> though we have a couple notes for QEMU here https://nixos.wiki/wiki/NixOS_on_ARM/QEMU
<samrose> I think I could actually use the aarch64 image here https://www.cs.helsinki.fi/u/tmtynkky/nixos-arm/installer/ in qemu as I got that working a while back
<samrose> samueldr: thank you very much
<sphalerite> samrose: or you could bootstrap it from a non-nixos linux distro on your bananapi
<Dezgeg> hydra does actually try to build them, but runs into the size limit: https://hydra.nixos.org/build/81199782
<samueldr> Dezgeg: what kind of work is required for this? janitorial level work or tricky surgery?
<Dezgeg> it could be compressed in the builder (though as even the ext4 fs is too big it'd be immediately be decompressed to build the full image and then compressed again)
<Dezgeg> maybe the limit is configurable on the hydra side
<sphalerite> are there any ARM devices with >4GB of RAM available to consumers?
<samueldr> sphalerite: define consumer :)
<sphalerite> samueldr: me :p
<samueldr> the other day graham linked this
<samueldr> that was the first time I saw *that* specific ARM workstation
<samueldr> 1 x 4GB DDR4-2133 UDIMM without ECC (up to 4 x 16GB DDR4-2133 RDIMM with ECC)
<sphalerite> oooh nice
<sphalerite> ooooh expensive
<samueldr> yeah
<samueldr> but compared to other aarch64 workstations, not *that* bad
<samueldr> (but definitely not cheap!)
<sphalerite> ooh and 24 cores
<samueldr> sphalerite: some discussion about it here https://logs.nix.samueldr.com/nixos-aarch64/2018-09-07
<sphalerite> oh yeah there's probably also a bunch of phones out there, but that's not really what I'm looking for because mainline linux :p
<samueldr> (but is in a different league)
<sphalerite> oh yeah
<Dezgeg> samrose: as an alternative to qemu, AFAIK if you have some existing distro for the board you could install the standalone nix with the usual curl https://nixos.org/nix/install | sh and use that to build u-boot
<samrose> Dezgeg: thank you I am trying this right now https://nixos.wiki/wiki/NixOS_on_ARM#Building_u-boot_from_your_NixOS_PC
<Dezgeg> for 64-bit allwinner it's probably more complicated since ARM Trusted Firmware needs to be compiled as well
<samrose> Dezgeg: aha ok
<samrose> Dezgeg: I guess maybe I need to look at the tools from these folks? http://linux-sunxi.org/Sinovoip_Banana_Pi_M64
<Dezgeg> well on nixpkgs-side probably all you need to do is copy-paste the pine64 parts and replace them with bananapi64 parts
<clever> ive got a banana pi here, but i dont think its the 64bit model
Thra11 has quit [Ping timeout: 252 seconds]
clever_ has joined #nixos-aarch64
clever has quit [Ping timeout: 268 seconds]
clever_ has quit [Changing host]
clever_ has joined #nixos-aarch64
clever_ is now known as clever