openwrt/target/linux/bmips
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
..
bcm6318 bmips: drop patches/config for kernel 5.15 2024-01-16 11:04:29 +01:00
bcm6328 bmips: Add Inteno XG6846 target 2024-05-01 21:30:26 +02:00
bcm6358 bmips: drop patches/config for kernel 5.15 2024-01-16 11:04:29 +01:00
bcm6362 bmips: drop patches/config for kernel 5.15 2024-01-16 11:04:29 +01:00
bcm6368 bmips: drop patches/config for kernel 5.15 2024-01-16 11:04:29 +01:00
bcm63268 bmips: add support for SmartRG SR505n 2024-03-10 20:26:07 +01:00
dts bmips: Add Inteno XG6846 target 2024-05-01 21:30:26 +02:00
files bmips: bcm6368-enetsw: Bump max MTU 2024-01-24 19:54:33 +01:00
image bmips: Add Inteno XG6846 target 2024-05-01 21:30:26 +02:00
patches-6.1 kernel: bump 6.1 to 6.1.75 2024-02-01 21:34:05 +01:00
profiles bmips: add new target 2021-02-22 18:29:44 +01:00
Makefile bmips: move to kernel 6.1 by default 2024-01-16 11:02:01 +01:00
modules.mk bmips: add LED kernel modules 2023-04-09 10:34:05 +02:00