|
Ремонт бытовой техники и электроники
|
Accton AS6710 Шасси (Main Board): AS6710-32x
OCP network Switch AS6710-32X (P2041 + BCM56850 Trident2) is now running NOSaic — datapath forwards, mgmt + platform + port LEDs are up.
Quick correction for anyone searching: the ASIC is BCM56850 (PCI 14e4:b850), not “BCM58650” — Trident2, same silicon as the x86 AS6712-32X.
The approach turned out simpler than the Ghidra/switchd RE plan in my original post. I did not have to reverse-engineer the vendor switchd/BDE. The key realization: AS6710-32X is an AS6712-32X with a PowerPC CPU module instead of x86. The board controller, ASIC, CPLDs, QSFP cages and LED wiring are identical, so the x86 AS6712’s public platform files port straight over, and only the CPU/boot/endianness half was new work. Concretely:
New NOSaic arch powerpc-e500mc (P2041, e500mc, 32-bit big-endian, CoreNet/QorIQ) + crosstool-NG toolchain.
Ported OpenBCM (6.5.x XGS/CMICm) to PPC32 big-endian — this is the real delta vs the AS5610/Trident+ work: CMICm PIO/packet/other endianness config, big-endian PCI-config byte-swap in the userspace BDE.
td2 userspace BDE on PowerPC: BAR0 via /dev/mem, DMA carved from a device-tree reserved-memory no-map region (no CMA), BE config access.
Device tree = mainline fsl/p2041rdb base + a board overlay (NOR layout, i2c tree, mgmt MAC/PHY, PCIe windows, DMA pool).
Reused the AS6712 public artifacts verbatim: config.bcm (portmap_N = 4N-3:40), SONiC port_config.ini, the Accton CPLD register map, and the SONiC led_proc_init.soc LED-processor programs + CMIC_LEDUP0_PORT_ORDER_REMAP.
Hardware status (BOM-confirmed, all driven):
P2041 — boots, 4 cores, corenet32 kernel (6.12).
BCM56850 Trident2 — nosd-td2 attaches and forwards.
NOR 128 MB (JS28F00AM29EWHA) — MTD physmap, 8 partitions.
Mgmt PHY BCM54616S — eth1 1G/full, ping OK (U-Boot’s “5461S” is the same family).
4× LM75 temp (behind PCA9548) — hwmon0–3; DS1672 RTC; 24c256 ID EEPROM; USB2514 hub + internal 8 GB USB-NAND; MAX3232 console; EPM570 system CPLD.
FMan/QMan/BMan (DPAA) init OK; mgmt NIC rides DPAA.
Datapath / bring-up verified:
32×40G QSFP cages enumerate, link up at 40G.
L2 hardware forwarding confirmed with a 40G NIC (throughput was host-limited in a single-NIC loopback, not switch-limited — the CPU-punt path can’t reach these rates, so the frames are switching in silicon).
L3 hardware routing between two SVIs confirmed (directly-attached subnets covered by host entries, as NOSaic does).
Platform HAL working: fans, PSU presence/power-good + PMBus telemetry (e.g. psu1 12.2V/3.4A/41W, psu2 11.9V/4.3A/53W), 4 thermal sensors.
QSFP port LEDs driven by the Trident2 LED microprocessors (LEDUP0 = cages 1–16, LEDUP1 = 17–32) using the vendor SONiC programs; per-cage order corrected via the PORT_ORDER_REMAP table.
Known/cosmetic gaps: LED green/amber (40G vs 10G) color encoding still being finalized; a few inherited-from-p2041rdb dt warnings (RapidIO/eSPI phantom probes) to clean up; QSFP breakout (4×10G) not yet exercised.
Net: @wrightca1 was right — with a working Trident2 target under NOSaic, matching the AS6712 platform files to a PPC CPU module got it the rest of the way.
| Раздел: |
Роутеры, свичи, точки доступа |
| Категория: |
Прочее |
| Добавил: |
yaoyuanzy
|
| CPU/MCU: |
p2041 |
| Источник прошивки: |
Проверена лично перепрошивкой |
| Могут скачать: |
Все Участники |
| Просмотров: |
97 |
| Загрузок: |
0 |
| Скачать: |
Что бы скачать файл, перейдите на полную версию сайта - Перейти |
| Дата добавления: |
04.11.2026 в 19:00:37 |
Добавлять комментарии могут только зарегистрированные пользователи.
[
Регистрация |
Вход ]
⇧
⇩