Difference between revisions of "Adm5120"

From LinuxMIPS
Jump to: navigation, search
(Sources)
(Distributions)
Line 423: Line 423:
  
  
=== Linux 2.4 ===
+
== Distributions ==
 
+
* midge http://midge.vlad.org.ua - OpenWRT-like distribution for routers based on ADM5120
It seems that all products using this cpu use a 2.4.18 based kernel with additional patches by ADMtek.
+
* AMiLDA http://www.amilda.org/ - User-friendly distribution aimed at replacing the original firmware (previously known as "EdiLinux").
 
+
* OpenWrt http://dev.openwrt.org - Supports both Little and Big endian ADM5120 as well as runtime bootloader detection
This code is available from several vendors of the products mentioned above i.e. for Edimax [[BR6104]].
+
 
+
The userland is based on uClibc and busybox.
+
 
+
Patch for vanilla 2.4.31 can be found at http://joco.kezdionline.ro/linux-2.4.31-adm.diff.bz2. This patch have MTD and ebtables support.
+
 
+
AMiLDA Linux is based on the 2.4.32 kernel, whose patch can be http://downloads.amilda.org/AMiLDA/patches/linux-2.4.32-adm.patch.bz2.
+
 
+
 
+
  
 
== Distributions ==
 
== Distributions ==

Revision as of 20:34, 19 April 2007

General

ADMtek is part of Infineon technologies AG based in Taiwan and makes home gateway chips.

ADM5120 / ADM5120P

Infineon calls this 'a highly integrated, high performance and flexible System-on-Chip Home Gateway controller'.

ADM5120 Home Gateway Controller Datasheets: v1.13, v1.14, v1.16 and misc datasheets. See also datasheetsite results for ADM5120 datasheet

Specs:

  • 175MHz/227MIPS 4Kc CPU with an embedded cache, 8K-byte I-cache and 8K D-cache MIPS32
  • An embedded memory management unit 32-entry TLB, with 16 organized entry pairs
  • 5 IEEE 802.e Fast Ethernet PHY interfaces and 1 GMII(1)/MII interface
  • Two SDRAM banks (up to 128MB)
  • Two Flash banks (up to 4MB)
  • AMBA-AHB internal bus
  • Embedded ethernet switch engine
  • 2 AMBA ABP UART interfaces
  • AHB-to-PCI bridge that supports 3 master devices (1)
  • GPIO (2))
  • USB 1.1 host controller

Notes:

1 Available in BGA (ADM5120) only, not PQFP (ADM5120P)
2 PQFP has 4 GPIO pins v.s. BGA has 8 pins.

ADM8668 - WildPass

WildPass is a highly integrated SoC which incorporates a powerful 200MHZ CPU with MMU support, a 802.11a/b/g MAC/Baseband, two 802.3 MACs and one 10/100BASE-Tx 802.3u compliant Auto-MDIX transceiver.

  • CPU: 200MHZ MIPS4Kc with 8KB I-cache, 8KB D-Cache with MMU support, 6 DMA engines and Hardware NAT support
  • WLAN (1 802.11a/b/g WMAC + BBP)
  • USB 2.0 Host + PHY interface
  • PCI bridge that can support 3 PCI devices
  • IDE, PCM UART and SPI interfaces
  • IEEE 802.11a/b/g,IEEE 803.11e(WMM), 802.11i(WPA2), 802.11h, IEEE 802.11d and 802.11d Standards compliant
  • AHB devices: MIPS4KC, MC, port1, port2, WLAN, USB2.0 host, PCI, IDE.
  • Debugging interface: JTAG for MIPS-multiICE,trace32
  • Package: 352BGA and 289BGA (excludes PCI and IDE interface)


      • This chip has reached end of life. You will not find any support for such a dated chip.
      • Software package is borrowed from 5120. Almost useless unless you can spend 2 man-years

porting over your own software

Products based on the ADM5120

Company Device Flash RAM Ports CPU pkg CPU mode Onboard peripherials WiFi Stock OS Resources
Arcadyan HMS300 32MB 64MB 1Eth LAN, USB, IDE ? ? ? ? ?
Arcadyan WG4005B ? ? 4Eth LAN, 1Eth WAN, 1USB 1.1 BGA LE 1 MiniPCI Type III slot Arcadyan WN4401A BRN RTOS pdf
AsokaUSA PL9550-WAP ? ? 1Eth LAN, PLC BGA LE ADM8211 Linux
AsokaUSA PL9950-BBR ? ? 1Eth LAN, 1Eth WAN, PLC PQFP LE No Linux
Buffalo BBR-4MG 2MB 8MB 4Eth LAN, 1Eth WAN PQFP LE No BRN RTOS Info: 1, 2, Linux Server
Canyon CN-WF512 2MB 16MB 4Eth LAN, 1Eth WAN BGA LE 1 MiniPCI Type III slot Inprocomm IPN2220 Linux source, toolchain
Canyon CN-WF514 rev.AE(1) 2MB 16MB 4Eth LAN, 1Eth WAN BGA LE 1 MiniPCI Type III slot Inprocomm IPN2220 Linux source, toolchain
Conceptronic C100BRS4H v1 2MB 16MB 4Eth LAN, 1Eth WAN PQFP LE No Linux sources: 1, 2, 3, 4
Conceptronic C100BRS4H v2 1MB 4MB 4Eth LAN, 1Eth WAN PQFP LE No Nucleus
Conceptronic C54BRS4 v1(1) 2MB 16MB 1Eth WAN,4Eth LAN BGA LE 1 MiniPCI Type III slot Inprocomm IPN2220 Linux sources: 1, 2, 3, 4
Cellvision CAS-630 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
Cellvision CAS-630W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
Cellvision CAS-670 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
Cellvision CAS-670W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
Cellvision CAS-700 4MB 16MB 1Eth, Internet Camera BGA LE No Linux
Cellvision CAS-700W 4MB 16MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
Cellvision CAS-790 4MB 16MB 1Eth, Internet Camera BGA LE No Linux
Cellvision CAS-861 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
Cellvision CAS-861W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
Cellvision NFS-101U 4MB 32MB 1Eth LAN, 2USB 2.0 BGA LE ALi M5273 USB 2.0 Controller No Linux
Cellvision NFS-101WU 4MB 32MB 1Eth LAN, 2USB 2.0 BGA LE ALi M5273 USB 2.0 Controller Yes Linux
Cellvision NFS-202U 4MB 32MB 1Eth LAN, 2USB 2.0, 7 in 1 Card Reader (CF I/II, MicroDrive, SM, MS, MS PRO, SD, MMC) BGA LE ALi M5273 USB 2.0 Controller No Linux
Cellvision NFS-202WU 4MB 32MB 1Eth LAN, 2USB 2.0, 7 in 1 Card Reader (CF I/II, MicroDrive, SM, MS, MS PRO, SD, MMC) BGA LE ALi M5273 USB 2.0 Controller Yes Linux
Clarinetsys EB-214A 2MB 16MB 1Eth LAN, 4USB 2.0 BGA LE VIA VT6212L USB 2.0 Controller No Linux
Compex NP27G 4MB 16MB 4Eth LAN, 1Eth WAN, 2USB 1.1 BGA LE 1 MiniPCI Type III slot AR2413 Linux pics
Compex NP28G 4MB 32MB 3Eth LAN, 1Eth WAN, 4USB 2.0 BGA LE 1 MiniPCI Type III slot, VIA USB onboard AR2414 Linux source
Compex WP54G 4MB 16MB 2Eth LAN BGA LE 1 MiniPCI Type III slot AR2413 Linux
Compex WP54AG 4MB 16MB 2Eth LAN BGA LE 1 MiniPCI Type III slot AR5413 Linux
Compex WPP54AG 4MB 32MB 2Eth LAN BGA LE 1 MiniPCI Type III slot AR5413 Linux
CompUSA 333060 2MB 16MB 1Eth LAN, 4USB 2.0 BGA LE VIA VT6212L USB 2.0 Controller No Linux Discussions: 1, 2
D-Link DCS-950 4MB? 32MB? 1Eth, Internet Camera BGA LE No Linux
D-Link DCS-950G 4MB? 32MB? 1Eth, Internet Camera BGA LE Yes, rt2500? Linux source
D-Link DNS-120 4MB 32MB 1Eth, 2USB 2.0 BGA LE ALi M5273 USB 2.0 Controller No Linux Wiki
D-Link DVG-1402S rev.B1(1) 4MB 16MB 1Eth LAN, 4Eth WAN, 2FXS BGA BE Infineon VINETIC codec No Nucleus pic
Deliberant DLB100 4MB 16MB 2Eth BGA LE? 1 MiniPCI Type III slot No WILI
DIGITUS DN-7013 4MB 32MB 1Eth, 2USB 2.0 BGA LE ALi M5273 USB 2.0 Controller No Linux sources: 1, 2
DIGITUS DN-7013-N 4MB 32MB 1Eth, 2USB 2.0 BGA LE NEC uPD720101 USB 2.0 Controller No Linux sources
DIGITUS DN-16004 4MB 16MB 1Eth, Internet Camera BGA LE No Linux sources: 1, 2
DIGITUS DN-16005 4MB 16MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux sources: 1, 2
DIGITUS DN-16021 4MB 32MB 1Eth, Internet Camera BGA LE No Linux sources: 1, 2
DIGITUS DN-16022 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux sources: 1, 2
DIGITUS DN-16030 4MB 16MB 1Eth, Internet Camera BGA LE No Linux sources: 1, 2
DIGITUS DN-16031 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux source
Edimax BR-6104K 2MB 16MB 4Eth LAN, 1Eth WAN PQFP LE No Linux source, toolchain
Edimax BR-6104KP 2MB 16MB 4Eth LAN, 1Eth WAN, 2USB 1.1 PQFP LE No Linux source
Edimax BR-6104WG 2MB 16MB 4Eth LAN, 1Eth WAN BGA LE Intersil PrismGT Linux source, toolchain
Edimax BR-6114WG 2MB 16MB 4Eth LAN, 1Eth WAN BGA LE Inprocomm IPN2220 Linux source
Edimax BR-6524K 2MB 16MB 4Eth LAN, 2Eth WAN ? LE No Linux source
Edimax BR-6541K 2MB 16MB 1Eth LAN, 4Eth WAN ? LE No Linux source
Edimax BR-6524WP 4MB 32MB 4Eth LAN, 2Eth WAN, 2USB 1.1 BGA LE Inprocomm IPN2220 Linux source
Edimax BR-6541WP 4MB 32MB 1Eth LAN, 4Eth WAN, 2USB 1.1 BGA LE Inprocomm IPN2220 Linux source
Edimax PS-3205U 2MB 16MB 1Eth, 1LPT, 2USB 1.1 PQFP LE Attansic AT7601F Printer Port Controller No Linux source
Edimax PS-3205UWg 2MB 16MB 1Eth, 1LPT, 2USB 1.1 BGA LE Attansic AT7601F Printer Port Controller Inprocomm IPN2220 Linux source
Edimax EW-7207APg 2MB 16MB 5Eth BGA LE Inprocomm Linux source
GetNetUSA GP-5205U 2MB 16MB 1Eth, 1LPT, 2USB 1.1 PQFP LE Attansic AT7601F Printer Port Controller No Linux
GetNetUSA GR-8104K 2MB 16MB 4Eth LAN, 1Eth WAN PQFP LE No Linux
GetNetUSA GR-8104P 2MB 16MB 4Eth LAN, 4Eth WAN, 1LTP PQFP LE No Linux
GetNetUSA GR-8114WG 2MB 16MB 4Eth LAN, 1Eth WAN BGA LE Inprocomm IPN2220 Linux
GetNetUSA GW-9207APG 2MB 16MB 4Eth LAN, 1Eth LAN BGA LE Inprocomm IPN2220 Linux
Hawking H2WR54G 4MB 32MB 4Eth LAN, 2Eth WAN BGA LE 1 MiniPCI Type III slot Inprocomm IPN2220 Linux pics
Inno-Tide NU100 2MB 16MB 1Eth LAN, 4USB 2.0 BGA LE VIA VT6212L USB 2.0 Controller No Linux
JAHT EA-2104E 1MB 4MB 4Eth LAN, 1Eth WAN PQFP LE No ?
JAHT WA-4054EX 2MB 16MB 4Eth WAN, 1Eth WAN BGA LE Inprocomm IPN2220 Linux
Linksys PSUS4 1MB 4MB 4Eth, 1USB 1.1 PQFP BE No Sercomm's OS
Linksys WRP200 ? ? 4Eth, 2Phone ? ? ? ?
Micronet SP888BP ? ? 4Eth LAN, 1Eth WAN 2USB ? ? ? ?
MikroTik RouterBOARD 111 1Mbit 16MB 1Eth, 1RS232 BGA LE 64MB NAND flash, 1 MiniPCI Type IIIA/IIIB slot No MikroTik's RouterOS
MikroTik RouterBOARD 112 1Mbit 16MB 1Eth, 1RS232 BGA LE 64MB NAND flash, 2 MiniPCI Type IIIA/IIIB slots No MikroTik's RouterOS
MikroTik RouterBOARD 133 1Mbit 32MB 3Eth, 1RS232 BGA LE 128MB NAND flash, 3 MiniPCI Type IIIA/IIIB slots No MikroTik's RouterOS
MikroTik RouterBOARD 133c 1Mbit 16MB 1Eth, 1RS232 BGA LE 64MB NAND flash, 1 MiniPCI Type IIIA/IIIB slot No MikroTik's RouterOS
MikroTik RouterBOARD 150 1Mbit 32MB 5Eth, 1RS232 PQFP LE 64MB NAND flash No MikroTik's RouterOS
MikroTik RouterBOARD 153 1Mbit 32MB 5Eth, 1RS232 BGA LE 64MB NAND flash, 3 MiniPCI Type IIIA/IIIB slot, 1 CompactFlash slot No MikroTik's RouterOS
Multico EB-214A 2MB 16MB 1Eth LAN, 4USB 2.0 BGA LE VIA VT6212L USB 2.0 Controller No Linux review
Netgear PS121 1MB 4MB 1Eth, 1USB PQFP BE No Sercomm's OS
NETmate NMX-WB04G 2MB 16MB 1Eth WAN, 4Eth LAN BGA LE Inprocomm IPN2220 Linux
Neu-Fusion NCS-630 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
Neu-Fusion NCS-630W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
Neu-Fusion NCS-670 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
Neu-Fusion NCS-670W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
Neu-Fusion NCS-700 4MB 16MB 1Eth, Internet Camera BGA LE No Linux
Neu-Fusion NCS-700W 4MB 16MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
Neu-Fusion NCS-861 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
Neu-Fusion NCS-861W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
OvisLink eLive MU5000FS rev.A1 4MB 32MB 1Eth, 2USB 2.0 BGA LE ALi M5273 USB 2.0 Controller No Linux source
OvisLink eLive MU5000FS rev.A2 4MB 32MB 1Eth, 2USB 2.0 BGA LE NEC uPD720101 USB 2.0 Controller No Linux source
OvisLink WL-5420CAM 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
OvisLink WL-5460CAM 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
OSBRiDGE OSBRiDGE 5GXi 2MB 16MB 1Eth BGA LE Atheros AR5006XS Linux
OSBRiDGE OSBRiDGE 5XLi 2MB 16MB 1Eth BGA LE Atheros AR5006XS Linux
Planet XRT-401D(1) 2MB 16MB 4Eth LAN, 1Eth WAN PQFP LE No Linux pics
Planet XRT-402D 2MB 16MB 4Eth LAN, 2Eth WAN BGA LE No Linux pic
Planet ICA-210 4MB 32MB 1Eth LAN,USB,Internet camera BGA LE No Linux pic
Planet XRT-411 1MB 4MB 4Eth LAN, 1Eth WAN, 1USB 1.0 PQFP BE No Sercomm's OS
SMC SMC2804WBRP-G 2MB 8MB 4Eth LAN, 1Eth WAN, 1USB 1.1 BGA LE 1 MiniPCI Type III slot Arcadyan WN4401A BRN RTOS Dissecting the SMC2804WBRP-G
SMC SMC2804WBRP-G v2 2MB 8MB 4Eth LAN, 1Eth WAN, 1USB 1.1 BGA LE 1 MiniPCI Type III slot SparkLAN WF-850FJ BRN RTOS
SparkLAN CAS-630 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
SparkLAN CAS-630W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
SparkLAN CAS-670 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
SparkLAN CAS-670W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
SparkLAN CAS-700 4MB 16MB 1Eth, Internet Camera BGA LE No Linux
SparkLAN CAS-700W 4MB 16MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
SparkLAN CAS-771 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
SparkLAN CAS-771W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
SparkLAN CAS-861 4MB 32MB 1Eth, Internet Camera BGA LE No Linux
SparkLAN CAS-861W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux
Sweex LB000021 2MB 16MB 4Eth LAN, 1Eth WAN PQFP LE No Linux
T-Com (T-)Sinus 154 Komfort(1) 2MB 8MB 4Eth LAN, 1Eth WAN BGA LE 1 MiniPCI Type III Conexant Prism based BRN RTOS Firmware Disassemble
TRENDnet TS-U100 4MB 32MB 1Eth, 2USB 2.0 BGA LE NEC uPD720101 USB 2.0 Controller No Linux sources:12
TRENDnet TS-U200 4MB 32MB 1Eth, 2USB 2.0, 7 in 1 Card Reader (CF I/II, MicroDrive, SM, MS, MS PRO, SD, MMC) BGA LE NEC uPD720101 USB 2.0 Controller No Linux sources review
TRENDnet TV-IP201 4MB 16MB 1Eth, Internet Camera BGA LE No Linux source
TRENDnet TV-IP201W 4MB 16MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux source
TRENDnet TV-IP301 4MB 32MB 1Eth, Internet Camera BGA LE No Linux source
TRENDnet TV-IP301W 4MB 32MB 1Eth, Internet Camera BGA LE Yes, rt2500? Linux source
U.S.Robotics USR7500 1MB? 4MB? 1Eth, 1USB PQFP BE? No Sercomm's OS? like PS121
Wifless ESS-1251 4MB 16MB 2Eth BGA LE? 1 MiniPCI Type III slot AR-5414 Linux
Wifless ESS-125D 4MB 16MB 2Eth BGA LE? 1 MiniPCI Type III slot AR-5414 Linux brochure
Wifless ESS-151 4MB 16MB 1Eth BGA LE? 1 MiniPCI Type III slot AR-5414 Linux brochure
Wifless ESS-1561 4MB 16MB 2Eth BGA LE? 1 MiniPCI Type III slot AR-5414 Linux
ZyXEL ES-2108 4MB 32MB 8xEth, 1xRS232 BGA? BE No ZyNOS
ZyXEL ES-2108-G 4MB 32MB 8xEth, 1xGbE, 1xmini-GBIC, 1xRS232 BGA? BE No ZyNOS
ZyXEL ES-2108-LC 4MB 32MB 8xEth, 1x100FX, 1xSFP, 1xRS232 BGA? BE No ZyNOS
ZyXEL ES-2108-PWR 4MB 32MB 8xEth, 1xGbE, 1xmini-GBIC, 1xRS232 BGA? BE No ZyNOS
ZyXEL HS-100 4MB 16MB 4Eth LAN, 1Eth WAN BGA BE 1 MiniPCI Type III slot No ZyNOS
ZyXEL HS-100W 4MB 16MB 4Eth LAN, 1Eth WAN BGA BE 1 MiniPCI Type III slot Z-Com XG-601 ZyNOS review
ZyXEL P-334 2MB 8MB 4Eth LAN, 1Eth WAN PQFP? BE No ZyNOS
ZyXEL P-334U 4MB 16MB 4Eth LAN, 1Eth WAN BGA? BE Yes ZyNOS
ZyXEL P-334W 2MB 16MB 4Eth LAN, 1Eth WAN BGA? BE Yes ZyNOS
ZyXEL P-334WH 4MB 16MB 4Eth LAN, 1Eth WAN BGA? BE Yes ZyNOS
ZyXEL P-334WHD 4MB 16MB 4Eth LAN, 1Eth WAN BGA? BE Yes ZyNOS
ZyXEL P-334WT 4MB 16MB 4Eth LAN, 1Eth WAN BGA? BE Yes ZyNOS
ZyXEL P-335 4MB 16MB 4Eth LAN, 1Eth WAN, 1USB 1.1 BGA? BE No ZyNOS
ZyXEL P-335Plus 4MB 16MB 4Eth LAN, 1Eth WAN, 1USB 1.1 BGA? BE No ZyNOS
ZyXEL P-335U 4MB 16MB 4Eth LAN, 1Eth WAN, 1USB 1.1 BGA? BE Yes ZyNOS
ZyXEL P-335WT 4MB 16MB 4Eth LAN, 1Eth WAN, 1USB 1.1 BGA? BE Yes ZyNOS

Notes:

1 Look for exactly this model and h/w version number, other versions may contain other chipset


There's probably more....

Other Operating Systems:

  • BRN RTOS: BRN RTOS is a real-time operating system. It is use Supertask!/Multitask! RTOS kernel, and the BRN Boot Loader from Broad Net Technology Inc..
  • Nucleus: Nucleus RTOS is a real-time operating system created by Accelerated Technology for various CPU platforms.
  • Mikrotik's RouterOS: MikroTik RouterOS is router operating system and software which turns regular Intel PC or MikroTik RouterBOARDâ„¢ hardware into a dedicated router.
  • SerComm's OS: Operating System created by SerComm Corporation.
  • WILI: WILI is a portable embedded Linux based software platform suited to implement highly functional, secure and manageable wired and wireless IP networking devices
  • ZyNOS: ZyNOS, the ZyXEL's Networking Operating System is the firmware used in many ZyXEL products.

Sources

Bootloaders

Edimax type bootloader

Most ADM5120 boards come with a build in bootloader.

On startup it waits a few seconds before loading a compressed kernel image from Flash. If space is pressed (on the serial console) three times during that time the following menu is presented:

ADM5120 Boot:                                                                  
                                                                               
                                                                               
                                                                               
Linux Loader Menu                                                              
====================                                                           
(a) Download vmlinuz to flash ...                                              
(b) Download vmlinuz to sdram (for debug) ...                                  
(c) Exit                                                                       
                                                                               
Please enter your key :

The bootloader contains a simple menu-driven interface, CFI FLASH r/w driver, x-modem downloader and zlib 1.1.4 code.

Linux distributions contains a binary form of the bootloader in /Linux-SC/EdiLinux/image/

Extended bootloader

This extended bootloader may be based on the same codebase that the standard Edimax-type bootloader is, but it is larger than the standard one. Anything larger than 32K will possibly overwrite other data on the flash device. This extended bootloader is larger than 32K when compiled. It is possible to build it so that it is less than 32K in length, but to do that TFTP must be disabled. Some info about an extended bootloader is available at http://midge.vlad.org.ua/wiki/bootloader-with-tftp, and the source code can be downloaded from http://midge.vlad.org.ua/misc/bootloader/

CFE for ADM5120

Compex offers a WP54-WRT, a hardware OEM board based on the ADM5120. As part of this solution Compex distributes a CFE bootloader, ported to the ADM5120 harware. There is no sourcecode, the CFE's licence allows to distribute it in the binary-only format. Unfortunately, WP54-WRT contains a "protection chip" sitting on the GPIO0 and GPIO1. CFE won't boot a kernel w/o this chip.

MyLoader

MyLoader is the bootloader only seen so far on Compex wireless routers.

U-Boot

U-Boot support for AMD5120 is currently available as a patch. With this patch U-Boot can replace the manufacturer's bootloader because it does a full initialisation of the hardware. It supports both FLASH memory and Ethernet which opens the possibility to have U-Boot load the Kernel from either TFTP or FLASH. In time support for USB will be implemented to offer the possibility to load the Kernel from a USB mass storage device.

 U-Boot 1.1.6 (Dec 19 2006 - 12:19:49)

 SoC:   Infineon ADM5120/PQFP @175MHz (Rev: 0008)
 DRAM:  16 MB
 Flash:  2 MB
 In:    serial
 Out:   serial
 Err:   serial
 Net:   adm0
 Hit any key to stop autoboot:  0
 ADM5120 #

Linux Support

The vmlinuz file is a binary vmlinux file (created using objcopy with -O binary) compressed with gzip. The Edimax GPL sourcecode contains all necessary tools to create a new boot image.

Although YAMON is mentioned in the prom init code it seems to be a result of a bad cut-and-paste job. (Seems, development board was a Mips_Atlas). The commandline is hardcoded. (Unfortunatly spreaded over several files).

The image is a compressed binary file and the kernel entry is expected at a fixed address (which is why anything but the original ADMtek 2.4.18 kernel won't run without tricks).

The kernel is loaded at 0x80002000 and the kernel_entry is expected at 0x800026d8.


Distributions

  • midge http://midge.vlad.org.ua - OpenWRT-like distribution for routers based on ADM5120
  • AMiLDA http://www.amilda.org/ - User-friendly distribution aimed at replacing the original firmware (previously known as "EdiLinux").
  • OpenWrt http://dev.openwrt.org - Supports both Little and Big endian ADM5120 as well as runtime bootloader detection

Distributions

Switch

The Adm5120 has a built-in switch, see the page ADM5120_switch to configure it.

JTAG

See JTAG page for details.

ADM5120 PQFP JTAG pinout:

134 nTRSTN
135 TDI
136 TDO
137 TMS
139 TCK

UART

ADM5120 AMBA UART is not compatible with NS16c550. It has a lot of 16550-like features, but is not register compatable. This UART is well-known in the ARM world as:

AMBA UART PrimeCell (PL010) Block Specification (ARM-0001-CUST-DSPC-A03)

See a include/asm-arm/hardware/serial_amba.h and drivers/char/serial_amba.c

Linux distributive for ADM5120 contains a sourcecode for the ADM5120 UART. U-Boot bootloader has support for this UART too.

Memory controller

Memory controller is very similar to the ARM PrimeCell MultiPort Memory Controller (PL172) described in the ARM DDI 0215C document.

USB

USB controller is available as a device on the AMBA internal bus and slightly different from the standart OHCI controller. Driver is available under usb-shci name.

PCI

ADM5120 (BGA version only) has AMBA-to-PCI bridge:

Autoconfig PCI channel 0x801756e8
Scanning bus 00, I/O 0x11500000:0x115ffff0, Mem 0x11400000:0x11500000
00:00.0 Class 0600: 1317:5120
       Mem unavailable -- skipping, bar_size=0x10000000
       I/O unavailable -- skipping, bar_size=0x1000000

Reset switch

When experimenting with the ADM5120, you will find that powering off and on is the only way to reboot the switch. This can be annoying. The "Reset" knob is software controlled and acts like Ctrl-Alt-Del. Luckily, adding a reset switch is easy. Locate the 7414 chip (U3 on Edimax 6104). Connecting pin 1 of this chip to GND will reset the board. (Please note: most likely you can reset the board by connecting a whole lot of other pins to GND, some of which will reset the board for good. Be careful.) The 7414 forms the official reset circuit, with a resistor and a condensor (and a diode that I don't understand, BTW). The diode is parallel to the resistor. It is there to discharge the capacitor, so the circuit also works with a fast power down - power up cycle.

Links