Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
inbox:toh:netgear:netgear_rax120_nighthawk_ax12 [2023/02/02 19:30] – [Tags] danitoolinbox: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: {
 +  "source": "json",
 +  "dom": "t",
 +  "paging": false,
 +  "rotate": true,
 +  "shownColumns": ["brand", "model", "version", "supportedcurrentrel", "oemdevicehomepageurl", "owrt_forum_topic_url", "deviceid"],
 +  "filterColumns": {"brand": "^NETGEAR$", "model": "^RAX120$"}
 +} -->
  
 ===== 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 |+  "source": "json", 
 +  "dom": "t", 
 +  "paging": false, 
 +  "rotate": true, 
 +  "shownColumns": ["model", "version", "cpu", "cpumhz", "cpucores", "flashmb", "rammb", "wlanhardware", "wlan24ghz", "wlan50ghz", "ethernet1gports"], 
 +  "filterColumns": {"brand": "^NETGEAR$", "model": "^RAX120$"} 
 +} -->
  
 ==== Info ==== ==== Info ====
Line 40: Line 56:
 ===== OpenWrt support ===== ===== OpenWrt support =====
  
-<color red>**Not officially supported**</color>experimental fork available.+<!-- ToH: { 
 +  "source": "json", 
 +  "dom": "t", 
 +  "paging": false, 
 +  "shownColumns": ["model", "version", "supportedcurrentrel", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "firmwareopenwrtsnapshotinstallurl", "firmwareopenwrtsnapshotupgradeurl", "firmwareoemstockurl"], 
 +  "filterColumns": {"brand": "^NETGEAR$", "model": "^RAX120$"
 +} -->
  
  
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://github.com/jewwest/openwrt/tree/ipq807x-5.15-pr+There is an experimental fork of OpenWrt that supports this device at : https://github.com/boretom/openwrt-fork/tree/rax120v2/jewwest-based-pr 
 +or https://github.com/jewwest/openwrt/tree/master (no activity since mid January 2023)
  
 ==== Build and Install ====  ==== Build and Install ==== 
Line 59: Line 82:
 ===Build=== ===Build===
   - Setup build environment:<code>   - Setup build environment:<code>
-git clone https://github.com/jewwest/openwrt.git+git clone https://github.com/boretom/openwrt-fork.git
 cd openwrt cd openwrt
-git checkout ipq807x-5.15-pr +git checkout rax120v2/jewwest-based-pr
-cd packages +
-git clone https://github.com/robimarko/nss-packages.git +
-cd ..+
 ./scripts/feeds update -a ./scripts/feeds update -a
 ./scripts/feeds install -a ./scripts/feeds install -a
Line 70: Line 90:
   - Run ''make menuconfig'', select:<code>   - Run ''make menuconfig'', select:<code>
 Base System: Base System:
-Target-System ---> Qualcomm Atheros IPQ807X+Target-System ---> Qualcomm Atheros 802.11ax WiSoC-s 
 +Subtarget     ---> Qualcomm Atheros IPQ807x
 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
 </code> </code>
-  - run ''make'' +Multi-Gig Support: See further down in the 'Install' section 
-  - After build finished, generated firmware will be at ''bin/targets/ipq807x/generic''. + 
-  - Precompiled images available at https://github.com/jewwest/openwrt/releases/tag/ipq807x-latest+  - run ''make'' (or to get less random compilation issues try ''make -j$(nproc) toolchain/install'' followed by ''make -j$(nproc) world'') 
 +  - After build finished, generated firmware will be at ''bin/targets/qualcommax/ipq807x''.
  
 ===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 90: Line 111:
 2.  Stop autoboot and run. 2.  Stop autoboot and run.
 <code> <code>
-tftpboot openwrt-ipq807x-generic-netgear_rax120v2-initramfs-uImage.itb+tftpboot openwrt-qualcommax-ipq807x-netgear_rax120v2-initramfs-uImage.itb
 bootm bootm
 </code> </code>
-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 
 </tabbox> </tabbox>
- 
 ===Aquantia 2.5G/5G LAN=== ===Aquantia 2.5G/5G LAN===
 +For the 5G port labeled 'lan5' to work a firmware is needed. This can be loaded in
 +u-boot by writing the firmware to the correct mtd partition.
 +
 +The firmware file found in the Netgear stock firmware under ''/lib/firmware/'' named
 +''AQR-G3_v4.3.C-AQR_DNI_DR-EQ35AX8-R-prov1_ID23888_VER1311.cld'' is needed and has to
 +be converted to a MBN file.
 +
 +The ''mkheader.py'' script used here can be found in the Netgear V1.2.8.40 GPL source,
 +under ''git_home/u-boot.git/tools/mkheader.py''.
 +
 +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://github.com/boretom/openwrt-fork/tree/rax120v2/aquantia-firmware
 +
 +===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 ''/dev/mtd25'' in OpenWrt.
 +
 +1. find ETHPHYFW partition while running OpenWrt (expected: /dev/mtd25)
 +
 +  $ fgrep -i 'ethphyfw' /proc/mtd
 +  mtd25: 00080000 00020000 "ethphyfw
 +
 +2. copy mbn file to /tmp/ folder of the router
 +
 +  $ scp aqr-v4.3.C.mbn 192.168.1.1:/tmp/
 +
 +3. write mbn file to ethphyfw partition
 +
 +  $ mtd write /tmp/aqr_v4.3.C.mbn /dev/mtd25
 +
 +=== (Outdated) Install firmware using aq-fw-download tool
  - Download firmware.  - Download firmware.
 <code> <code>
Line 218: Line 273:
 0x000001480000-0x000001980000 : "dnidata" 0x000001480000-0x000001980000 : "dnidata"
 0x000001980000-0x000003680000 : "kernel" 0x000001980000-0x000003680000 : "kernel"
 +0x000007e00000-0x000007e80000 : "ethphyfw"
 0x00000e880000-0x000020000000 : "rootfs" 0x00000e880000-0x000020000000 : "rootfs"
 </code> </code>
Line 3110: Line 3166:
 This method doesn't require the device in an already bricked status. It's confirmed working on RAX120v2, it's also known to work on RAX70.  This method doesn't require the device in an already bricked status. It's confirmed working on RAX120v2, it's also known to work on RAX70. 
  
-==== TTL + USB method ====+==== TTL + USB method (not suggested)====
 In the case tftp doesn't work for you (e.g. no ethernet available for your PC), a TTL + USB method can be used for back/restore the mtd partitions of the device. In the case tftp doesn't work for you (e.g. no ethernet available for your PC), a TTL + USB method can be used for back/restore the mtd partitions of the device.
  
Line 3122: Line 3178:
  
 Usually what you need to backup/restore is the ''firmware'' parititon, you can find the partition num from ''/proc/mtd''. Usually what you need to backup/restore is the ''firmware'' parititon, you can find the partition num from ''/proc/mtd''.
 +
 +== 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://en.techinfodepot.shoutwiki.com/wiki/Netgear_RAX120_(Nighthawk_AX12)|link]] This website contains much information about this device: [[http://en.techinfodepot.shoutwiki.com/wiki/Netgear_RAX120_(Nighthawk_AX12)|link]]
Line 3127: Line 3187:
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>ipq807x ipq8074 512flash 1024ram 6port GigabitEthernet 5GigabitEthernet 802.11ax 802.11ac serial u-boot 4core ath11k cortexa53 4x4 8x8 txbf MU-MIMO wifi6 unsupported}}+{{tag>ipq807x ipq8074 512flash 1024ram 6port GigabitEthernet 5GigabitEthernet 802.11bgn 802.11ax serial u-boot 4core ath11k cortexa53 4x4 8x8 txbf MU-MIMO wifi6}}
  
  • Last modified: 2024/03/13 23:04
  • by ywang