Build for Netgear R6220

I have built a build for Netgear R6220 that offers the basic router functionality plus some useful add-ons all based off scripts made from @hnyman

The build is based on the master branch and
The flash layout has been modified to adjust for the random eeprom offset. EEPROM partition location has been changed to 0x2da0000. Update the DTS file with your correct EEPROM location on chip

Current version:

You can conveniently find pre-compiled stock firmware images, sysupgrade images, full configuration, source code, diffs, patches, and checksums within each build directory. There is also a script to automatically re-create my build environment with all the sources patched with my patches.

https://realopty.download/r6220/

I only upload the versions after successfully flashing my own router, so the build has at least that much quality assurance process.

Features included:

  • LuCI with HTTPS SSL support
    • LuCI statistics include CPU frequency scaling graph and CPU temp graph
    • Luci theme "material" included in addition to the default "bootstrap"
  • USB storage automounting
    • Support for various file systems to enable most drives.
      (ext2/3/4, FAT, HFS+, CIFS/SMB, NTFS, EFI/GUID partitions)
  • WiFi, WPS and reset buttons work
  • console tools: Nano text editor, htop, patch, ccrypt for file encryption/decryption
  • failsafe entrance trigger time window increased to 5 sec (from 2 s)

Network tools

  • SQM-scripts for QoS traffic control. The package is initially disabled, as max speed needs to be adjusted to WAN connection speed
  • Adblock package (initially disabled)
  • IPv6: tunnel support for 6in4, 6to4, 6rd, IPv6 NAT support
  • kmod-tun, enables opkg install of OpenVPN (openvpn-openssl variant)
  • openvpn-openssl built in
  • DDNS support
  • miniupnpd settings: leave upnp off by default in /etc/config/upnp
  • Vsftpd FTP server package with TLS/SSL support (access initially disabled by "local_enable=NO" in vsftpd.conf)
  • IEFT BCP38 support
  • wget, curl
  • kmod-ipt-nathelper-rtsp , iptables-mod-ipsec and kmod-ipt-ipsec
  • Wake-on-LAN LuCI module
  • usb-modeswitch for 3G modems
  • irqbalance for balancing irq load between CPU cores. You need to manually run it if you want.
    • see "cat /proc/interrupts" for summary of irq usage of CPU cores

Noteworthy changes:

Instructions for re-creating my build environment

Follow the same instructions for the original scripts

1 Like
[    3.243935] Creating 6 MTD partitions on "MT7621-NAND":
[    3.254343] 0x000000000000-0x000000100000 : "u-boot"
[    3.265453] 0x000000100000-0x000000200000 : "SC PID"
[    3.276383] 0x000000200000-0x000000600000 : "kernel"
[    3.287343] 0x000000600000-0x000002200000 : "ubi"
[    3.297977] 0x000002da0000-0x000002ea0000 : "factory"
[    3.309115] 0x000004200000-0x000007e00000 : "reserved"
...
[   18.867206] mt7603e 0000:02:00.0: ASIC revision: 76030010
[   18.902722] mt7603e 0000:02:00.0: Firmware Version: ap_pcie
[   18.913931] mt7603e 0000:02:00.0: Build Time: 20160107100755
[   18.965049] firmware init done
[   19.142805] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   19.162891] bus=0x1, slot = 0x0, irq=0xff
[   19.171016] PCI: Enabling device 0000:00:00.0 (0004 -> 0006)
[   19.182582] mt76x2e 0000:01:00.0: ASIC revision: 76120044
[   19.845832] mt76x2e 0000:01:00.0: ROM patch build: 20141115060606a
[   19.863498] mt76x2e 0000:01:00.0: Firmware Version: 0.0.00
[   19.874592] mt76x2e 0000:01:00.0: Build: 1
[   19.882894] mt76x2e 0000:01:00.0: Build Time: 201507311614____
[   19.915093] mt76x2e 0000:01:00.0: Firmware running!

Changelog

Where exactly is this download directory? Could you provide / add a link to the posting? Providing the build script(s) for a re-createable build environment is always much more helpful and trustworthy than binaries.

There are links in the posting that point to the resources you request. Clear as day.

Could be that my browser is broken, but it displays

and a link to hnymans posting.

For someone who doesn't know the r7800 build scripts, you are providing a link to binaries only ("R6220 firmware downloads") and another link to the r7800 build post.
Clear as day.

I've updated the posting to clarify

does this means the image will flash properly on all 3 flash layouts? planning to get one, thanks.