openwrt-6.x/target/linux
Linus Walleij 212da4dd48 bmips: Add Inteno XG6846 target
This adds a device tree and build options for the XG6846
switch/router to the BMIPS target.

Hardware:
 - SoC: Broadcom BCM6328
 - CPU: BMIPS4350 V7.5
 - RAM: 64 MB DDR
 - NOR Flash: 16 MB parallel (CFE and OS)
 - Ethernet LAN: 4x 1Gbit
 - Ethernet WAN: 2x 1Gbit, fiber and TP
 - Buttons: reset
 - LEDs: 7 or 8, power and USB LEDs are GPIO-based, the
   LAN LEDs are controlled by the Marvell DSA Switch.
 - USB: on some versions
 - UART: yes

The device ODM (original device manufacturer) is XAVi
http://www.xavi.com.tw/

It is possible to boot the initramfs version
openwrt-bmips-bcm6328-inteno_xg6846-initramfs.elf from
CFE by interrupting the boot on the UART console and downloading
it from a TFTP server e.g.:
CFE> r 192.168.1.2:openwrt-bmips-bcm6328-inteno_xg6846-initramfs.elf

Installation to target flash is not possible using CFE because
the image becomes too big for the CFE version found in these
devices. A separate U-Boot two-stage solution exists for
actually booting the device.

This device is called a "managed ethernet switch" by the vendor
and "media converter" or "fiber modem" by some of the ISPs
using it: the main purpose is to convert fiber connections to
ethernet, most devices just act as switches bridging the
fiber SFP to ethernet TP.

The device has a Marvell MV88E6352 DSA switch managed by
a BCM6328 BMIPS SoC.

This port makes it possible to use the XG6846 to grab an IP
number from the fiber connection and use all four LAN
connections out, turning it into a proper router.

This support is based mostly on the observations by the people on
the forum thread "Help with Inteno XG6846" where users NPeca75,
mrhaav, systemcrash and csom helped out to reverse engineer the
device. Then I made it work on the BMIPS target, figured out
the two-level switch hierarchy and settings.

Link: https://forum.openwrt.org/t/help-with-inteno-xg6846/68276/14
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2024-05-01 21:30:26 +02:00
..
airoha
apm821xx
archs38
armsr
at91 at91: 5.15: remove old config and patch files 2024-04-28 17:50:37 +02:00
ath79 kernel: update fraglist GRO patch to the latest upstream submission 2024-04-27 20:39:07 +02:00
bcm27xx bcm27xx: correct cmdline.txt consoles for procd 2024-05-01 20:22:42 +02:00
bcm47xx
bcm53xx kernel: bump 6.1 to 6.1.89 2024-04-30 20:18:15 +02:00
bcm4908 bcm4908: set kernel 6.6 as a testing version 2024-04-27 12:14:00 +02:00
bmips bmips: Add Inteno XG6846 target 2024-05-01 21:30:26 +02:00
d1
gemini
generic generic: 6.1, 6.6: mt7530: import pending PHY muxing detection patch 2024-05-01 13:50:54 +01:00
imx
ipq40xx ipq40xx: fix I2C pin config on Aruba AP-303H 2024-04-30 12:01:04 +02:00
ipq806x kernel: bump 6.6 to 6.6.29 2024-04-28 21:51:03 +02:00
ixp4xx
kirkwood kernel: move mv88e6xxx fix to generic backports 2024-04-26 19:56:19 +03:00
lantiq kernel: bump 5.15 to 5.15.155 2024-04-16 23:11:25 +02:00
layerscape
malta malta: refresh kernel 6.6 configuration 2024-04-29 00:24:02 +02:00
mediatek kernel: bump 6.1 to 6.1.89 2024-04-30 20:18:15 +02:00
mpc85xx mpc85xx: convert WS-AP3710i to simpleImage wrapper 2024-04-29 03:18:54 +02:00
mvebu kernel: bump 6.1 to 6.1.89 2024-04-30 20:18:15 +02:00
mxs mxs: drop 6.1 support 2024-04-25 14:33:22 +02:00
octeon
octeontx kernel: bump 5.15 to 5.15.155 2024-04-16 23:11:25 +02:00
omap
pistachio pistachio: 6.1: refresh kernel patches 2024-04-22 11:27:05 +02:00
qoriq qoriq: add kernel 6.1 support 2024-04-18 00:30:03 +03:00
qualcommax qualcommax: ipq807x: uboot-envtools: yuncore ax880 2024-04-30 13:51:15 +02:00
ramips ramips: mt7621-dts: describe switch PHYs and adjust PHY muxing 2024-05-01 13:50:54 +01:00
realtek kernel: bump 5.15 to 5.15.155 2024-04-16 23:11:25 +02:00
rockchip
sifiveu sifiveu: drop 6.1 support 2024-04-30 11:02:48 +02:00
starfive
sunxi sunxi: update the 6.6 DTS_DIR hack 2024-04-26 11:07:43 +02:00
tegra
uml
x86 kernel: bump 6.1 to 6.1.89 2024-04-30 20:18:15 +02:00
zynq zynq: 5.15: remove files 2024-05-01 10:26:41 +02:00
Makefile