openwrt/target/linux
Michael Mohr 8cbd6f5117 realtek: add support for Netgear GS108T v3
The Netgear GS108T v3 is an 8 port gigabit switch with PoE-PD support
on port 1.  The two prior versions were built using eCos and are not
currently compatible with OpenWRT.

The GS108T v3 is quite similar to both the GS110TPP v1 and GS110TP v3,
all of which use the same firmware image from Netgear.  For this reason,
the device tree is identical aside from the model and compatible values.

All of the above feature a dual firmware layout, referred to as Image0
and Image1 in the Netgear firmware.

Hardware specification
----------------------

 * RTL8380M SoC, 1 MIPS 4KEc core @ 500MHz
 * 128MB DDR3-1600 DRAM (Winbond W631GG8MB-12)
 * 32MB 3v NOR SPI Flash (Macronix MX25L25635F or Winbond W25Q256JVFIQ)
 * RTL8231 GPIO extender to control the LEDs and the reset button
 * 8 x 10/100/1000BASE-T ports, internal PHY (RTL8218B)
 * UART (115200 8N1) via unpopulated standard 0.1" pin header marked J1
 * Power is supplied via a 12V 1A barrel connector or 802.3af

UART pinout
-----------

J1 | [o]ooo
      ^ ||`------ GND
      | |`------- RX         [TX out of the serial adapter]
      | `-------- TX         [RX into the serial adapter]
      `---------- Vcc (3V3)  [the square pin]

The through holes are filled with PB-free solder which melts at 375C.
They can also be drilled using a 0.9mm bit.

Build configuration
-------------------

 * Target System: Realtek MIPS
 * Target Profile: Netgear GS108T v3
 * Target Images -> ramdisk -> Compression: lzma
 * Disable other target images

Boot initramfs image from U-Boot
--------------------------------

 1. Press the Escape key at the `Hit Esc key to stop autoboot` prompt
 2. Init network with `rtk network on` command
 3. Load image with `tftpboot 0x8f000000 openwrt-realtek-generic-netgear_gs108t-v3-initramfs-kernel.bin` command
 4. Boot the image with `bootm` command

The switch defaults to IP 192.168.1.1 and tries to fetch the image via
TFTP from 192.168.1.111.

Updating the installed firmware
-------------------------------

The OpenWRT ramdisk image can be flashed directly from the Netgear UI.
The Image0 slot should be used in order to enable sysupgrade.

As with similar switches, changing the active boot partition can be
accomplished in U-Boot as follows:

 1. Press the Escape key at the `Hit Esc key to stop autoboot` prompt
 2. Run `setsys bootpartition {0|1}` to select the boot partition
 3. Run `savesys` followed by `boota` to proceed with the boot process

Signed-off-by: Michael Mohr <akihana@gmail.com>
2021-02-12 08:52:41 +01:00
..
apm821xx kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
arc770 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
archs38 target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
armvirt target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
at91 at91: use SPDX license identifiers on DTS files 2021-02-10 15:47:23 +01:00
ath25 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
ath79 ath79: fix USB power GPIO for TP-Link TL-WR810N v1 2021-02-11 23:58:32 +01:00
bcm27xx kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
bcm47xx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
bcm53xx kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
bcm63xx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
bcm4908 bcm4908: update Ethernet driver 2021-02-10 11:28:04 +01:00
gemini target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
generic kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
imx6 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
ipq40xx ipq40xx: remove generic profile 2021-01-27 21:31:20 +01:00
ipq806x ipq806x: replace full-text BSC license by SPDX identifier 2021-02-05 18:28:30 +01:00
ipq807x config: limit CONFIG_PERF_EVENTS to top-level generic configs 2021-01-25 14:37:41 +01:00
kirkwood target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
lantiq target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
layerscape kernel: bump 5.4 to 5.4.97 2021-02-11 16:08:28 +01:00
malta target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mediatek target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
mpc85xx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
mvebu target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
mxs target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
octeon target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
octeontx target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
omap target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
oxnas target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
pistachio target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
ramips ramips: add support for ELECOM WRC-1167FS 2021-02-11 16:37:53 +01:00
realtek realtek: add support for Netgear GS108T v3 2021-02-12 08:52:41 +01:00
rockchip target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
sunxi target: use SPDX license identifiers on scripts 2021-02-10 15:47:23 +01:00
tegra target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
uml target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
x86 target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
zynq target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00
Makefile target: use SPDX license identifiers on Makefiles 2021-02-10 15:47:18 +01:00