Add support for TP-Link Archer AX23 #6
No reviewers
Labels
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: dan/liminix#6
Loading…
Reference in New Issue
No description provided.
Delete Branch "raboof/liminix:add-archer-ax23-v1-bak"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
add-archer-ax23-v1-bakto Add support for TP-Link Archer AX23This is great. I have a few small comments, but overall I'd love to have this merged.
Can you also add it to
devices
inci.nix
? I can't test it boots as I don't have the hardware, but we can at least have it built on build.liminix.org@ -0,0 +320,4 @@
ZLIB_DEFLATE="y";
ZLIB_INFLATE="y";
ZSTD_COMPRESS="y";
ZSTD_DECOMPRESS="y";
There's quite a lot in here and I wonder if it could be made shorter with
make savedefconfig
to remove any symbols that are only listed because they're selected by other symbols(I haven't tried it. Maybe there aren't ...)
I agree it's quite a lot - but
make savedefconfig
gives me an output with even more (800+ configuration options)... I'm open to suggestions on how to make this better ;)@ -0,0 +333,4 @@
# IP addresses to use in the boot monitor when flashing/ booting
# over TFTP. If you are flashing using the stock firmware's Web UI
# then these dummy values are fine
ipaddr = "192.168.0.1"; # router address
ipaddr
andserverip
are almost certainly local config not per-device config so shouldn't be declared here (same is true if there are.other files in devices/ that set these). If tftpboot doesn't work on this device anyway, I'd be inclined to take out the entiretftp
stanza@ -0,0 +398,4 @@
# 0x000000040000-0x000000fa0000
size = lim.parseInt "0xf60000";
# guessed:
eraseBlockSize = 65536;
You can get the
eraseSize
from/proc/mtd
on a running system@ -0,0 +16,4 @@
};
options.system.outputs = {
tplink = mkOption {
type = types.package;
nit: maybe this could be called
tplink-safeloader
instead of justtplink
. Much more googleable for someone with one of these devices who doesn't have the background knowledge yet60696dd8a2
to63e3f2aa58