openwrt/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 airoha: remove 5.15 support 2024-03-28 13:06:43 +01:00
apm821xx apm821xx: restore 6.1 config+patches 2024-04-05 09:26:26 +02:00
archs38 archs38: remove 5.15 support 2024-03-29 09:58:45 +01:00
armsr kernel: bump 6.1 to 6.1.72 2024-01-19 21:24:44 +01:00
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 bcm47xx: refresh kernel 6.1 config 2024-03-29 00:12:50 +01:00
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 d1: define subtarget specifically 2024-04-08 21:52:51 +02:00
gemini kernel: bump 6.1 to 6.1.71 2024-01-06 12:52:49 +01:00
generic generic: 6.1, 6.6: mt7530: import pending PHY muxing detection patch 2024-05-01 13:50:54 +01:00
imx imx: kernel: add imx8mp PCI support 2024-03-24 21:19:10 +01:00
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 ixp4xx: add Generic subtarget definition 2023-12-09 14:45:50 +01:00
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 treewide: disable spectre mitigation on unaffected Arm32 targets 2024-03-23 20:00:49 +01:00
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 octeon: convert to new LED color/function format where possible 2024-02-07 14:48:41 +01:00
octeontx kernel: bump 5.15 to 5.15.155 2024-04-16 23:11:25 +02:00
omap omap: drop kernel 5.15 2024-02-13 19:05:48 +01:00
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 rockchip: remove redundant 'console' parameter from boot script 2024-03-29 19:34:42 +01:00
sifiveu sifiveu: drop 6.1 support 2024-04-30 11:02:48 +02:00
starfive generic: 6.1: backport AXP PMIC support 2024-03-26 21:56:57 +01:00
sunxi sunxi: update the 6.6 DTS_DIR hack 2024-04-26 11:07:43 +02:00
tegra treewide: remove files for building 5.10 kernel 2023-05-12 13:02:43 +02:00
uml uml: restore 6.1 config + patches 2024-03-23 21:38:00 +01:00
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 linux: add dtb makefile target to targets list 2024-02-08 23:04:55 +01:00