You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux
Piotr Dymacz 46ab81e405 ramips: add support for UniElec U7621-06
UniElec U7621-06 is a router platform board based on MediaTek MT7621AT.
The device has the following specifications:

- MT7621AT (880 MHz)
- 256/512 MB of RAM (DDR3)
- 8/16/32/64 MB of FLASH (SPI NOR)
- 5x 1 Gbps Ethernet (MT7621 built-in switch)
- 1x ASMedia ASM1061 (for mSATA and SATA)
- 2x miniPCIe slots (PCIe bus only)
- 1x mSATA slot (with USB 2.0 bus for modem)
- 1x SATA
- 1x miniSIM slot
- 1x microSD slot
- 1x USB 3.0
- 12x LEDs (3 GPIO-controlled)
- 1x reset button
- 1x UART header (4-pins)
- 1x GPIO header (30-pins)
- 1x FPC connector for LEDs (20-pin, 0.5 mm pitch)
- 1x DC jack for main power (12 V)

The following has been tested and is working:

- Ethernet switch
- miniPCIe slots (tested with Wi-Fi cards)
- mSATA slot (tested with modem and mSATA drive)
- miniSIM slot
- sysupgrade
- reset button
- microSD slot

Installation:

This board might come with a different firmware versions (MediaTek SDK,
PandoraBox, Padavan, etc.). If your board comes with PandoraBox, you can
install LEDE using sysupgrade. Just SSH to the router and perform forced
sysupgrade (due to a board name mismatch). The default IP of this board
should be: 192.168.1.1 and username/password: root/admin. In case of a
different firmware, you can use web based recovery described below.

Use the following command to perform the sysupgrade (for the 256MB
RAM/16MB flash version):

sysupgrade -n -F lede-ramips-mt7621-u7621-06-256M-16M-squashfs-sysupgrade.bin

Recovery:

This board contains a Chinese, closed-source bootloader called Breed
(Boot and Recovery Environment for Embedded Devices). Breed supports web
recovery and to enter it, you keep the reset button pressed for around
5 seconds during boot. Your machine will be assigned an IP through DHCP
and the router will use IP address 192.168.1.1. The recovery website is
in Chinese, but is easy to use. Click on the second item in the list to
access the recovery page, then the second item on the next page is where
you select the firmware. In order to start the recovery, you click the
button at the bottom.

LEDs list (top row, left to right):

- LED_WWAN# (connected with pin 42 in LTE/mSATA slot)
- Power (connected directly to 3V3)
- CTS2_N (GPIO10, configured as "status" LED)
- TXD2 (GPIO11, configured as "led4", without default trigger)
- RXD2 (GPIO12, configured as "led5", without default trigger)
- LED_WLAN# (connected with pin 44 in wifi0 slot)

LEDs list (bottom row, left to right):

- ESW_P0_LED_0
- ESW_P1_LED_0
- ESW_P2_LED_0
- ESW_P3_LED_0
- ESW_P4_LED_0
- LED_WLAN# (connected with pin 44 in wifi1 slot)

Other notes:

1. The board is available with different amounts of RAM and flash. We
have only added support for the 256/16 MB configuration, as that seems
to be the default. However, all the required infrastructure is in place
for making support for the other configurations easy.

2. The manufacturer offers five different wireless cards with MediaTek
chipsets, based on MT76x2, MT7603 and MT7615. Images of the board all
show that the miniPCIe slots are dedicated to specific Wi-Fi cards.
However, the slots are generic.

3. All boards we got access to had the same EEPROM content. The default
firmware reads the Ethernet MAC from offset 0xe000 in factory partition.
This offset only contains 0xffs, so a random MAC will be generated on
every boot of the router. There is a valid MAC stored at offset 0xe006
and this MAC is shown as the WAN MAC in the bootloader. However, it is
the same on all boards we have checked. Based on information provided
by the vendor, all boards sold in small quantities are considered more
as samples for development purposes.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Kristian Evensen <kristian.evensen@gmail.com>
7 years ago
..
adm5120 treewide: populate boardname and model earlier 7 years ago
adm8668 build: fix subtarget descriptions 8 years ago
apm821xx kernel: bump 4.9 to 4.9.57 7 years ago
ar7 ar7: add kernel 4.9 support 7 years ago
ar71xx ar71xx: increase kernel partition size for TP-Link RE450 v1 7 years ago
arc770 arc770: mark as source-only 7 years ago
archs38 treewide: drop target board_name functions 7 years ago
armvirt armvirt: Enable CONFIG_ARM_PMU 7 years ago
at91 at91: remove unused at91part driver 7 years ago
ath25 kernel: cleanup CONFIG_SCHED_HRTICK 7 years ago
au1000 kernel: update kernel 3.18 to version 3.18.43 8 years ago
bcm53xx bcm53xx: Fix Generic profile description 7 years ago
brcm47xx brcm47xx: fix switch port mapping on Asus RT-N16 7 years ago
brcm63xx kernel: update 4.4 to 4.4.86 7 years ago
brcm2708 kernel: bump 4.9 to 4.9.58 7 years ago
cns3xxx kernel: bump 4.9 to 4.9.57 7 years ago
gemini treewide: do not use IMG_PREFIX in Image/Prepare 7 years ago
generic generic: make mtdsplit-tplink.c honor rootfs offset 7 years ago
imx6 imx6: add driver for temp/voltage monitoring 7 years ago
ipq806x ip806x: nbg6817: sysupgrade support both targets for kernel/ rootfs partitions 7 years ago
ixp4xx ixp4xx: drop the jumbo frame support 7 years ago
kirkwood treewide: drop target board_name functions 7 years ago
lantiq lantiq: add missing macaddr retrieval for Netgear DGN3500 7 years ago
layerscape layerscape: enable CONFIG_CRYPTO_ARC4 in kernel 4.9 7 years ago
malta treewide: do not use IMG_PREFIX in Image/Prepare 7 years ago
mcs814x treewide: drop target board_name functions 7 years ago
mediatek kernel: bump 4.9 to 4.9.57 7 years ago
mpc85xx mpc85xx: use image metadata 7 years ago
mvebu mvebu: clean up ClearFog Base package selection 7 years ago
mxs treewide: drop target board_name functions 7 years ago
octeon treewide: use only board_name function to get name 7 years ago
omap omap: clean up configuration 7 years ago
omap24xx treewide: use only board_name function to get name 7 years ago
orion orion: Switch to 4.9 kernel 7 years ago
oxnas kernel: bump 4.4 to 4.4.91 7 years ago
pistachio kernel: add support for limiting 4K erase sector support based on flash chip size 7 years ago
ppc40x treewide: drop target board_name functions 7 years ago
ppc44x ppc44x: mark as broken 8 years ago
ramips ramips: add support for UniElec U7621-06 7 years ago
rb532 treewide: drop obsolete kernel config options 7 years ago
sunxi sunxi: add Orange Pi 2 support 7 years ago
uml uml: Switch to 4.9 kernel 7 years ago
x86 x86: fix reboot on apu2 boards 7 years ago
xburst xburst: enable high-res timers, refresh kernel config 7 years ago
zynq treewide: use only board_name function to get name 7 years ago
Makefile