Hardware
--------
MediaTek MT7621AT
256M DDR3
32M SPI-NOR
MediaTek MT7603 2T2R 802.11n 2.4GHz
MediaTek MT7915 2T2R 802.11ax 5GHz
Not Working
-----------
 - Bluetooth (connected to UART3)
UART
----
UART is located in the lower left corner of the board. Pinout is
0 - 3V3 (don't connect)
1 - RX
2 - TX
3 - GND
Console is 115200 8N1.
Boot
----
1. Connect to the serial console and connect power.
2. Double-press ESC when prompted
3. Set the fdt address
   $ fdt addr $(fdtcontroladdr)
4. Remove the signature node from the control FDT
   $ fdt rm /signature
5. Transfer and boot the OpenWrt initramfs image to the device.
   Make sure to name the file C0A80114.img and have it reachable at
   192.168.1.1/24
   $ tftpboot; bootm
Installation
------------
1. Connect to the booted device at 192.168.1.20 using username/password
   "ubnt".
2. Update the bootloader environment.
   $ fw_setenv devmode TRUE
   $ fw_setenv boot_openwrt "fdt addr \$(fdtcontroladdr);
     fdt rm /signature; bootubnt"
   $ fw_setenv bootcmd "run boot_openwrt"
3. Transfer the OpenWrt sysupgrade image to the device using SCP.
4. Check the mtd partition number for bs / kernel0 / kernel1
   $ cat /proc/mtd
5. Set the bootselect flag to boot from kernel0
   $ dd if=/dev/zero bs=1 count=1 of=/dev/mtdblock4
6. Write the OpenWrt sysupgrade image to both kernel0 as well as kernel1
   $ dd if=openwrt.bin of=/dev/mtdblock6
   $ dd if=openwrt.bin of=/dev/mtdblock7
7. Reboot the device. It should boot into OpenWrt.
		
	
			
		
			
				
	
	
		
			84 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			84 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
-- ASUS
 | 
						|
 | 
						|
device('asus-rt-ac57u', 'asus_rt-ac57u', {
 | 
						|
	factory = false,
 | 
						|
})
 | 
						|
 | 
						|
 | 
						|
-- D-Link
 | 
						|
 | 
						|
device('d-link-dir-860l-b1', 'dlink_dir-860l-b1')
 | 
						|
 | 
						|
 | 
						|
-- Netgear
 | 
						|
 | 
						|
device('netgear-ex6150', 'netgear_ex6150', {
 | 
						|
	factory_ext = '.chk',
 | 
						|
})
 | 
						|
 | 
						|
device('netgear-r6220', 'netgear_r6220', {
 | 
						|
	factory_ext = '.img',
 | 
						|
})
 | 
						|
 | 
						|
device('netgear-wndr3700-v5', 'netgear_wndr3700-v5', {
 | 
						|
	factory = false,
 | 
						|
	broken = true, -- untested
 | 
						|
	manifest_aliases = {
 | 
						|
		'netgear-wndr3700v5',
 | 
						|
	},
 | 
						|
})
 | 
						|
 | 
						|
 | 
						|
-- Ubiquiti
 | 
						|
 | 
						|
device('ubiquiti-unifi-6-lite', 'ubnt_unifi-6-lite', {
 | 
						|
	factory = false,
 | 
						|
})
 | 
						|
 | 
						|
 | 
						|
-- Xiaomi
 | 
						|
 | 
						|
device('xiaomi-mi-router-4a-gigabit-edition', 'xiaomi_mi-router-4a-gigabit', {
 | 
						|
	factory = false,
 | 
						|
})
 | 
						|
 | 
						|
 | 
						|
-- ZBT
 | 
						|
 | 
						|
device('zbtlink-zbt-wg3526-16m', 'zbtlink_zbt-wg3526-16m', {
 | 
						|
	factory = false,
 | 
						|
	manifest_aliases = {
 | 
						|
		'zbt-wg3526',
 | 
						|
		'zbt-wg3526-16m',
 | 
						|
	},
 | 
						|
})
 | 
						|
 | 
						|
device('zbtlink-zbt-wg3526-32m', 'zbtlink_zbt-wg3526-32m', {
 | 
						|
	factory = false,
 | 
						|
	manifest_aliases = {
 | 
						|
		'zbt-wg3526-32m',
 | 
						|
	},
 | 
						|
 | 
						|
})
 | 
						|
 | 
						|
 | 
						|
-- Devices without WLAN
 | 
						|
 | 
						|
-- Ubiquiti
 | 
						|
 | 
						|
device('ubiquiti-edgerouter-x', 'ubnt_edgerouter-x', {
 | 
						|
	factory = false,
 | 
						|
	packages = {'-hostapd-mini'},
 | 
						|
	manifest_aliases = {
 | 
						|
		'ubnt-erx',
 | 
						|
	},
 | 
						|
})
 | 
						|
 | 
						|
device('ubiquiti-edgerouter-x-sfp', 'ubnt_edgerouter-x-sfp', {
 | 
						|
	factory = false,
 | 
						|
	packages = {'-hostapd-mini'},
 | 
						|
	manifest_aliases = {
 | 
						|
		'ubnt-erx-sfp',
 | 
						|
	},
 | 
						|
})
 |