This commit is contained in:
Daniel Barlow
2023-11-10 21:17:20 +00:00
parent 22882dabee
commit 7cfb92e3ce
14 changed files with 102 additions and 58 deletions

View File

@@ -1,6 +1,6 @@
# GL.iNet GL-MT300A
{
rec {
system = {
crossSystem = {
config = "mipsel-unknown-linux-musl";
@@ -54,6 +54,7 @@
OpenWrt web page: https://openwrt.org/toh/gl.inet/gl-mt300a
'';
installer = "flashimage";
module = { pkgs, config, lib, ...}:
let
@@ -66,7 +67,7 @@
in {
imports = [ ../../modules/arch/mipsel.nix ];
hardware = {
defaultOutput = "flashimage";
defaultOutput = installer;
loadAddress = "0x80000000";
entryPoint = "0x80000000";