#nixwrt

TFW when you set out to benchmark something you've previously observed is inexplicably slow, and ... it's no slower than the other thing you're comparing it against

#nixwrt wireless performance on this gl-mt300a (MediaTek MT7620A SoC) is about ~ 14Mb/s according to iperf3, which is probably slower than I should expect but is on par with the 2.4GHz network on the gl-ar750 downstairs running the vendor's OpenWRT

  • The LZMA decompression code in u-boot doesn't understand the LZMA compression performed by xz, so to get #nixwrt to generate images that work I have to build the "legacy" lzma (from 2008). Upgrading nixpkgs caused its buiild to fail with "RPATH ... contains a forbidden reference to /build"

  • so I worked around that by configureFlags = [ "--enable-static" "--disable-shared"]

  • now it is building gcc again. Guess I must have changed something else fundamental ...

https://sourceforge.net/p/squashfs/mailman/message/26599379/

I'm not saying it works, because it doesn't, but my ath10k wireless at least appears now to exist in #nixwrt. This is progress and it makes me happy

```

pwd

/sys/class/net/wlan0

ls

carrier phy80211 phys_switch_id carrier_up_count uevent name_assign_type queues gro_flush_timeout address carrier_changes dev_port device ifindex tx_queue_len duplex statistics wireless type power flags dev_id addr_assign_type phys_port_id addr_len carrier_down_count speed link_mode netdev_group phys_port_name broadcast subsystem iflink operstate dormant ifalias proto_down mtu ```