rename "device" config tree as "hardware"
we are also using "device" for "network device" (as in eth0, wlan0 etc) so this makes it a bit less confusing perhaps
This commit is contained in:
@@ -21,21 +21,22 @@
|
||||
hash = "sha256-YYi4gkpLjbOK7bM2MGQjAyEBuXJ9JNXoz/JEmYf8xE8=";
|
||||
};
|
||||
in {
|
||||
device = {
|
||||
hardware = {
|
||||
defaultOutput = "tftproot";
|
||||
loadAddress = "0x80000000";
|
||||
entryPoint = "0x80000000";
|
||||
radios = ["mt7603e"];
|
||||
dts = {
|
||||
src = "${openwrt}/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts";
|
||||
includes = [
|
||||
"${openwrt}/target/linux/ramips/dts"
|
||||
];
|
||||
};
|
||||
};
|
||||
boot.tftp = {
|
||||
loadAddress = "0x00A00000";
|
||||
};
|
||||
device.dts = {
|
||||
src = "${openwrt}/target/linux/ramips/dts/mt7628an_glinet_gl-mt300n-v2.dts";
|
||||
includes = [
|
||||
"${openwrt}/target/linux/ramips/dts"
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
kernel = {
|
||||
src = pkgs.fetchurl {
|
||||
|
Reference in New Issue
Block a user