Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
| inbox:toh:netgear:netgear_rax120_nighthawk_ax12 [2023/05/01 15:27] – Change building instruction patient0 | inbox:toh:netgear:netgear_rax120_nighthawk_ax12 [2024/03/13 22:52] – [TTL + USB method] ywang | ||
|---|---|---|---|
| Line 16: | Line 16: | ||
| This device has 2 HW versions. V2 hardware is required. | This device has 2 HW versions. V2 hardware is required. | ||
| + | |||
| + | ===== Supported Versions ===== | ||
| + | <!-- ToH: { | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| ===== Hardware highlights ===== | ===== Hardware highlights ===== | ||
| - | ^ SoC ^ CPU Speed ^ RAM ^ Flash ^ WLAN 2.4 ^ WLAN 5.0 ^ USB | | + | <!-- ToH: { |
| - | | Qualcomm Atheros IPQ8074 (or 8074A ??) | 4x 2.0 GHz | 1024 MiB | 512 MiB | b/g/ax | a/n/ac/ax | 2x 3.0 | | + | " |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| ==== Info ==== | ==== Info ==== | ||
| Line 40: | Line 56: | ||
| ===== OpenWrt support ===== | ===== OpenWrt support ===== | ||
| - | <color red> | + | <!-- ToH: { |
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } --> | ||
| Line 53: | Line 75: | ||
| ===== Experimental firmware (RAX120v2 only)===== | ===== Experimental firmware (RAX120v2 only)===== | ||
| - | There is an experimental fork of OpenWrt that supports this device at : https:// | + | There is an experimental fork of OpenWrt that supports this device at : https:// |
| - | or https:// | + | or https:// |
| ==== Build and Install ==== | ==== Build and Install ==== | ||
| Line 63: | Line 85: | ||
| cd openwrt | cd openwrt | ||
| git checkout rax120v2/ | git checkout rax120v2/ | ||
| - | echo ' | ||
| ./ | ./ | ||
| ./ | ./ | ||
| Line 69: | Line 90: | ||
| - Run '' | - Run '' | ||
| Base System: | Base System: | ||
| - | Target-System ---> Qualcomm Atheros | + | Target-System ---> Qualcomm Atheros |
| + | Subtarget | ||
| Target-Profile ---> Netgear RAX120v2 | Target-Profile ---> Netgear RAX120v2 | ||
| - | |||
| - | Multi-Gig Support: | ||
| - | Firmware ---> aq-fw-download | ||
| - | Utilities ---> qca-ssdk-shell | ||
| - | Network ---> ethtool | ||
| Add other components as desired.. Example: Luci | Add other components as desired.. Example: Luci | ||
| </ | </ | ||
| - | | + | Multi-Gig Support: See further down in the ' |
| - | - After build finished, generated firmware will be at '' | + | |
| - | - Precompiled images available at https:// | + | |
| + | - After build finished, generated firmware will be at '' | ||
| ===Install=== | ===Install=== | ||
| + | <tabbox From OEM Firmware> | ||
| + | 1. In the Netgear Stock GUI flash openwrt-qualcommax-ipq807x-netgear_rax120v2-squashfs-web-ui-factory.img | ||
| + | |||
| + | 2. Open Luci administration and flash sysupgrade image - openwrt-qualcommax-ipq807x-netgear_rax120v2-squashfs-sysupgrade.bin | ||
| <tabbox From TFTP / initramfs> | <tabbox From TFTP / initramfs> | ||
| 1. Setup TFTP server at 192.168.1.10. | 1. Setup TFTP server at 192.168.1.10. | ||
| Line 89: | Line 111: | ||
| 2. Stop autoboot and run. | 2. Stop autoboot and run. | ||
| < | < | ||
| - | tftpboot openwrt-ipq807x-generic-netgear_rax120v2-initramfs-uImage.itb | + | tftpboot openwrt-qualcommax-ipq807x-netgear_rax120v2-initramfs-uImage.itb |
| bootm | bootm | ||
| </ | </ | ||
| - | 3. Open Luci administration and flash sysupgrade image - openwrt-ipq807x-generic-netgear_rax120v2-squashfs-sysupgrade.bin | + | 3. Open Luci administration and flash sysupgrade image - openwrt-qualcommax-ipq807x-netgear_rax120v2-squashfs-sysupgrade.bin |
| OpenWRT is now installed | OpenWRT is now installed | ||
| - | <tabbox From OEM Firmware> | ||
| - | Steps pending | ||
| </ | </ | ||
| - | |||
| ===Aquantia 2.5G/5G LAN=== | ===Aquantia 2.5G/5G LAN=== | ||
| + | For the 5G port labeled ' | ||
| + | u-boot by writing the firmware to the correct mtd partition. | ||
| + | |||
| + | The firmware file found in the Netgear stock firmware under ''/ | ||
| + | '' | ||
| + | be converted to a MBN file. | ||
| + | |||
| + | The '' | ||
| + | under '' | ||
| + | |||
| + | Convert the CLD file to MBN using: | ||
| + | $ python2 mkheader.py 0x44000000 0x13 <*.cld file> aqr_4.3.C.mbn | ||
| + | |||
| + | This MBN file can then be flashed to the MTD partition to be used by u-boot. | ||
| + | |||
| + | The necessary files can also be found in | ||
| + | https:// | ||
| + | |||
| + | ===Write MBN file to MTD partition to be loaded automatically by u-boot=== | ||
| + | |||
| + | U-boot automatically tries to load the firmware from nand at address 0x7e00000 which | ||
| + | corresponds to ''/ | ||
| + | |||
| + | 1. find ETHPHYFW partition while running OpenWrt (expected: /dev/mtd25) | ||
| + | |||
| + | $ fgrep -i ' | ||
| + | mtd25: 00080000 00020000 " | ||
| + | |||
| + | 2. copy mbn file to /tmp/ folder of the router | ||
| + | |||
| + | $ scp aqr-v4.3.C.mbn 192.168.1.1:/ | ||
| + | |||
| + | 3. write mbn file to ethphyfw partition | ||
| + | |||
| + | $ mtd write / | ||
| + | |||
| + | === (Outdated) Install firmware using aq-fw-download tool | ||
| - Download firmware. | - Download firmware. | ||
| < | < | ||
| Line 217: | Line 273: | ||
| 0x000001480000-0x000001980000 : " | 0x000001480000-0x000001980000 : " | ||
| 0x000001980000-0x000003680000 : " | 0x000001980000-0x000003680000 : " | ||
| + | 0x000007e00000-0x000007e80000 : " | ||
| 0x00000e880000-0x000020000000 : " | 0x00000e880000-0x000020000000 : " | ||
| </ | </ | ||
| Line 3109: | Line 3166: | ||
| This method doesn' | This method doesn' | ||
| - | ==== TTL + USB method ==== | + | ==== TTL + USB method |
| In the case tftp doesn' | In the case tftp doesn' | ||
| Line 3121: | Line 3178: | ||
| Usually what you need to backup/ | Usually what you need to backup/ | ||
| + | |||
| + | == Note == | ||
| + | |||
| + | The mtd partition table seen from the bootloader is not same as seen from official firmware or openwrt. So, this method is not really suggested, since mistakes can happen easily | ||
| ===== Notes ===== | ===== Notes ===== | ||
| This website contains much information about this device: [[http:// | This website contains much information about this device: [[http:// | ||
| Line 3126: | Line 3187: | ||
| ===== Tags ===== | ===== Tags ===== | ||
| [[meta: | [[meta: | ||
| - | {{tag> | + | {{tag> |