320845dda2
Basics: the ADM5120 is a 175 MHz MIPS32 4Kc processor featuring a 6-port ethernet 10/100 switch with Auto MDI/X, a PCI controller, USB 1.1 controller, UART, watchdog timer, eight GPIO pins, and a multiport memory controller with both NOR and NAND flash support. This code supports most of the devices on the ADM5120, including the 6-port switch (each port attaches as an ethernet, admsw0 through admsw5), the PCI controller, USB controller, GPIO, watchdog, and UART. Remaining work: the port includes no NOR/NAND flash drivers. No bootloader is included. I have only tested the PCI bus driver with the use of one PCI slot on the RouterBOARD 153. It is not possible to exploit the capabilities of the ethernet switch using bridge(4). I have only netbooted the ADM5120 on the RB153. Booting other boards, and booting from flash memory, remains to be done. Hardware availability: many low-cost routers, including the RouterBOARD 100 series at RouterBOARD.com, use the Infineon ADM5120 processor. Credits: Ruslan Ermilov and Vsevolod Lobko ported to the ADM5120, and they wrote device drivers for the UART, USB controller, and 10/100 switch. Matt Isaacs brought the port up-to-date with NetBSD-current, made it compile, and ran it first on the RB153. I added drivers for the PCI controller, GPIO, and watchdog timer. I produced the bus attachment for the CompactFlash slot with advice from Mikrotik technical support and from Matt Thomas. |
||
---|---|---|
bin | ||
common | ||
crypto | ||
dist | ||
distrib | ||
doc | ||
etc | ||
games | ||
gnu | ||
include | ||
lib | ||
libexec | ||
regress | ||
rescue | ||
sbin | ||
share | ||
sys | ||
tools | ||
usr.bin | ||
usr.sbin | ||
x11 | ||
build.sh | ||
BUILDING | ||
Makefile | ||
Makefile.inc | ||
UPDATING |