| 30 May 2025 |
K900 | I don't know | 14:56:38 |
K900 | I genuinely don't know what openwrt does at this point | 14:56:47 |
emily | well, I figured phy-mode = "usxgmii"; doesn't seem promising | 14:57:20 |
emily | but it was more the "hopefully just work with your branch" part I was asking about | 14:57:29 |
K900 | Hopefully yes | 14:57:54 |
emily | sorry for pestering with questions, I am pretty new to embedded ARM stuff and non-trivial Linux networking :) | 14:57:55 |
emily | I'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 | https://gitlab.com/K900/nix | 14:59:29 |
K900 | 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 | Though you'll want to also pull my kernel tree for the networky bits to work | 15:00:09 |
emily | wait I thought you said it wouldn't boot on mainline at all | 15:00:20 |
K900 | Well, mostly the SFP bits | 15:00:26 |
K900 | It should now | 15:00:31 |
K900 | Just without most of the useful bits | 15:00:41 |
emily | right. 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 |
emily | (and can I put it on an SD card instead without too much fuss?) | 15:01:55 |
emily | oh your U-Boot is already cross | 15:02:31 |
K900 | Yes it is already cross | 15:04:40 |
K900 | No it will not go on an SD card | 15:04:44 |
K900 | Because it hardcodes where to load the next stages from | 15:04:51 |
K900 | And that one is hardcoded to look on the flash | 15:04:56 |
emily | I see | 15:04:59 |
K900 | But you can just dd it to the flash from openwrt | 15:05:01 |
K900 | (that's how I did it) | 15:05:06 |
emily | I take it sdImage doesn't work then? | 15:05:18 |
emily | oh or I guess that just assumes the U-Boot is already present | 15:05:34 |
K900 | sdImage should work, it's just a single partition ext4 | 15:06:01 |
K900 | That expects to be booted by something else | 15:06:08 |
emily | 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 | Ugh | 15:06:42 |