1
0
Fork 0
forked from mirror/openwrt
openwrt/package/boot/uboot-tools/uboot-envtools/files
Pawel Dembicki 6150f9ceab mpc85xx: p2020: add support for WatchGuard XTM330 (NC5AE7)
Hardware specifications:
  - CPU: Freescale/NXP P2020, dual-core PowerPC @ 1 GHz
  - RAM: 1 GB DDR3
  - Flash: 2 MB NOR, 512 MB NAND
  - Networking: 7x Gigabit Ethernet ports (via two Marvell 88E6171
    switches,  each attached to a different MAC)
  - USB: 2x USB 2.0 ports (front panel)
  - mini-PCIe slot
  - RTC: Ricoh RS5C372A
  - 4 buttons (via external MCU)
  - 3 LEDs (via external MCU)
  - LCD display (via external MCU)

Installation procedure:

1. Obtain the original MAC address table from the stock bootlog, for
   example:

     setting device eth0 to 00:90:7f:00:00:01
     setting device eth1 to 00:90:7f:00:00:02
     setting device eth2 to 00:90:7f:00:00:03
     setting device eth3 to 00:90:7f:00:00:04
     setting device eth4 to 00:90:7f:00:00:05
     setting device eth5 to 00:90:7f:00:00:06
     setting device eth6 to 00:90:7f:00:00:07

2. Open the case and move jumper JP1 from 2-3 to 1-2 to enter FAILSAFE
   mode.
3. Power on the device and interrupt the boot process to access the U-Boot
   shell.
4. Program the MAC base address into the EEPROM (text after '#' is a
   comment):

     mac ports 3
     mac 2 00:90:7f:00:00:01   # first MAC address from bootlog
     mac save

5. Reset the device and enter the U-Boot console again.
6. Connect a TFTP server to port 6 and boot the initramfs image:

     setenv ipaddr 192.168.1.3
     setenv serverip 192.168.1.2
     setenv loadaddr 1000000
     tftpboot $loadaddr openwrt-mpc85xx-p2020-watchguard_xtm330-initramfs-kernel.bin
     bootm $loadaddr

7. (Optional) Backup all MTD partitions if you want the ability to restore
   stock firmware.
8. Perform a normal sysupgrade from the initramfs environment.
9. Power off the device and move jumper JP1 back to 2-3.
10. The device will now boot OpenWrt.

Known issues:
  - LCD, buttons and LEDs are controlled by an external MCU; the protocol is
    currently unknown.
  - The internal connection between the two Marvell switches is unused by
    OpenWrt.
  - The stock firmware uses an empty U-Boot environment; saving variables
    modifies the environment and prevents a normal boot. FAILSAFE U-Boot
    remains functional.
  - WatchGuard configuration is encrypted; DSA MAC addresses are stored in
    this configuration.
  - Failsafe Ethernet works on port1.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21020
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-01-10 21:30:58 +01:00
..
apm821xx uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
ath79 ath79: add support for Dell SonicPoint ACi APL27-0B1 2025-07-13 01:03:36 +02:00
fw_defaults uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
fw_loadenv uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
fw_printsys uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
fw_setsys uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
imx_cortexa7 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
imx_cortexa9 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
imx_cortexa53 uboot-envtools: add support for Gateworks venice 2025-07-12 20:24:28 +02:00
ipq40xx uboot-envtools: ipq40xx: remove unused function ubootenv_mtdinfo() 2025-12-09 00:34:22 +01:00
ipq806x uboot-tools: envtools: ipq806x: add env for IgniteNet SS-W2-AC2600 2025-06-25 02:06:57 +01:00
kirkwood kirkwood: add support for D-Link DNS-325 A1 2025-11-25 15:41:38 +01:00
lantiq uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
layerscape uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
mediatek_filogic mediatek: add support for Routerich BE7200 2026-01-02 23:30:27 +01:00
mediatek_mt7622 uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
mediatek_mt7623 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
mediatek_mt7629 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
mpc85xx mpc85xx: p2020: add support for WatchGuard XTM330 (NC5AE7) 2026-01-10 21:30:58 +01:00
mvebu uboot-tools: use ubootenv_add_* functions 2025-06-26 23:12:20 +02:00
mxs uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
octeon uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
oxnas uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
pistachio uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
qoriq package: u-boot: initial support for qoriq arch 2026-01-09 18:45:02 +02:00
qualcommax_ipq50xx qualcommax: ipq50xx: Add support for Zyxel SCR50AXE 2026-01-07 11:05:20 +01:00
qualcommax_ipq60xx uboot-tools: move ubootenv_add_* functions to common functions 2025-06-26 23:12:20 +02:00
qualcommax_ipq807x uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
qualcommbe_ipq95xx uboot-tools: envtools: ipq95xx: use common function 2025-07-13 16:43:34 +02:00
ramips uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
realtek uboot-envtools: reorganize the initialization scripts 2025-12-09 00:34:22 +01:00
rockchip_armv8 uboot-tools: migrate uboot-envtools to uboot-tools 2025-03-22 13:18:09 +00:00
uboot-envtools.sh uboot-tools: move ubootenv_add_ubi_default to common functions 2025-06-26 23:12:20 +02:00