!RjBlCIbsLDzHBIzmaA:nixos.org

NixOS on ARM

986 Members
NixOS on ARM — Support: AArch64 is supported and cached; armv6 and armv7 are best effort, without any official cache. — Documentation: https://wiki.nixos.org/wiki/NixOS_on_ARM — Community build box: https://github.com/nix-community/aarch64-build-box → build box status: https://status.nixos.org/grafana/d/5LANB9pZk/per-instance-metrics?orgId=1&refresh=30s&var-instance=147.75.77.190 —238 Servers

Load older messages


SenderMessageTime
30 May 2025
@k900:0upti.meK900I don't know14:56:38
@k900:0upti.meK900I genuinely don't know what openwrt does at this point14:56:47
@emilazy:matrix.orgemily well, I figured phy-mode = "usxgmii"; doesn't seem promising 14:57:20
@emilazy:matrix.orgemilybut it was more the "hopefully just work with your branch" part I was asking about14:57:29
@k900:0upti.meK900Hopefully yes14:57:54
@emilazy:matrix.orgemilysorry for pestering with questions, I am pretty new to embedded ARM stuff and non-trivial Linux networking :)14:57:55
@emilazy:matrix.orgemilyI've lost the link to your config repo, do you have it to hand? I figure I'll have to build and flash your U-Boot and then build my own installer or something?14:58:40
@k900:0upti.meK900https://gitlab.com/K900/nix14:59:29
@k900:0upti.meK900 You can build nixosConfigurations.bananya.config.system.build.uboot, slap it on the NAND flash, and then it'll just boot any nixos image 14:59:52
@k900:0upti.meK900Though you'll want to also pull my kernel tree for the networky bits to work15:00:09
@emilazy:matrix.orgemilywait I thought you said it wouldn't boot on mainline at all15:00:20
@k900:0upti.meK900Well, mostly the SFP bits15:00:26
@k900:0upti.meK900 It should now 15:00:31
@k900:0upti.meK900Just without most of the useful bits15:00:41
@emilazy:matrix.orgemilyright. well as long as I can get something installed it's not so bad. uh, can I cross-compile your U-Boot?15:01:37
@emilazy:matrix.orgemily(and can I put it on an SD card instead without too much fuss?)15:01:55
@emilazy:matrix.orgemilyoh your U-Boot is already cross15:02:31
@k900:0upti.meK900Yes it is already cross15:04:40
@k900:0upti.meK900No it will not go on an SD card15:04:44
@k900:0upti.meK900Because it hardcodes where to load the next stages from15:04:51
@k900:0upti.meK900And that one is hardcoded to look on the flash15:04:56
@emilazy:matrix.orgemilyI see15:04:59
@k900:0upti.meK900But you can just dd it to the flash from openwrt15:05:01
@k900:0upti.meK900(that's how I did it)15:05:06
@emilazy:matrix.orgemily I take it sdImage doesn't work then? 15:05:18
@emilazy:matrix.orgemilyoh or I guess that just assumes the U-Boot is already present15:05:34
@k900:0upti.meK900sdImage should work, it's just a single partition ext415:06:01
@k900:0upti.meK900That expects to be booted by something else15:06:08
@emilazy:matrix.orgemily

your flake seems busted(?) btw

error:
       … while updating the lock file of flake 'gitlab:K900/nix/51c4148b3c3568b93388e2ebff729ea37f3642c8?narHash=sha256-Q/%2BM5veEoDMyMSm2CT73RVX73zrPImv23%2BdTvz9V6UI%3D'

       … while updating the flake input 'firefox'

       … while updating the flake input 'firefox/lib-aggregate'

       error: cannot find flake 'flake:lib-aggregate' in the flake registries
15:06:09
@k900:0upti.meK900Ugh15:06:42

Show newer messages


Back to Room ListRoom Version: 6