Trendnet TPE-1020WS

This is a template page for the TrendNet TPE-1020WS and should also apply to the TPE-1620WS.

These devices are Marvell Prestera (98DX4122) based switches with PoE support.

TrendNet ship GPL code for the devices which includes support for the prestera switch itself.

The base devices (cpu, flash, xor engines, and even the crypto) are supported by the standard Linux kernel, the prestera switch needs to be ported (WIP.)

The progress on porting OpenWRT to this interesting device is discussed in the OpenWRT forum in a separate thread.

Hardware Highlights

CPU Ram Flash Network USB Serial JTag
Marvell MV88F6281@500MHz 128MiB 16MiB 8x1GB RJ45/PoE + 2x1GB SFP No Yes (3.3V, inc. header) ?

Note: the SoC is really the 98DX4122 which includes additional switching functionality.

More details to follow shortly.

Standard firmware boot log

__ __ _ _ | \/ | __ _ _ ____ _____| | | | |\/| |/ _` | '__\ \ / / _ \ | | | | | | (_| | | \ V / __/ | | |_| |_|\__,_|_| \_/ \___|_|_| _ _ ____ _ | | | | | __ ) ___ ___ | |_ | | | |___| _ \ / _ \ / _ \| __| | |_| |___| |_) | (_) | (_) | |_ \___/ |____/ \___/ \___/ \__| ** LOADER ** ** MARVELL BOARD: DB-98DX4122-48G (Rev 2) LE (configured) ** Linux - LE/BE support ** vxWorks(elf) - LE/BE support U-Boot 1.1.4 (Jun 5 2013 - 10:37:15) Marvell version: 5.3.4_0006 U-Boot code: 01200000 -> 0126C700 BSS: -> 0127E398 IRQ Stack: 009fff7c FIQ Stack: 009fef7c Soc: MV88F6281 Rev 3 (DDR2) CPU running @ 500Mhz L2 running @ 250Mhz SysClock = 250Mhz , TClock = 167Mhz DRAM CAS Latency = 5 tRP = 4 tRAS = 12 tRCD=4 DRAM CS[0] base 0x00000000 size 128MB DRAM Total size 128MB 16bit width [16384kB@f8000000] Flash: 16 MB Addresses 30M - 0M are saved for the U-Boot usage. Mem malloc Initialization (30M - 22M): Done CPU : Marvell Feroceon (Rev 1) Streaming disabled Write allocate disabled USB 0: host mode Net: egiga0 [PRIME], ppsdma Un-Protect Flash Bank # 1 ................................................................................................................................................................................................................................................................ done Hit any key to stop autoboot: 0 Verifying Checksum ... BOOT:...OK OS:...OK FS:...OK OS/FS Version:...OK ## Booting image at f8100000 ... Image Name: Linux-2.6.22.18-g2c614662-dirty Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 1272972 Bytes = 1.2 MB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK OK Checking for Linux kernel endianess at 0xf8100040 = 0xe1a00000 Linux Kernel is LE Starting kernel in LE mode ... ..Linux version 2.6.22.18-g2c614662-dirty (sw2@guixue) (gcc version 4.2.1) #20 Wed Jun 5 10:41:18 CST 2013 CPU: ARM926EJ-S [56251311] revision 1 (ARMv5TE), cr=00053977 Machine: Feroceon-KW Using UBoot passing parameters structure BoardID from uboot=10 Memory policy: ECC disabled, Data cache writeback calling iotable_init. MEM_TABLE= virt=0xe7c00000, phys=0x07c00000, lengh=0x00400000 virt=0xe8000000, phys=0xe8000000, lengh=0x08000000 virt=0xf1000000, phys=0xf1000000, lengh=0x00100000 virt=0xf8000000, phys=0xf8000000, lengh=0x01000000 virt=0xf4000000, phys=0xf4000000, lengh=0x04000000 virt=0xfb000000, phys=0xfb000000, lengh=0x00010000 virt=0xf2000000, phys=0xf2000000, lengh=0x00010000 Internal prestera id register = 0x000e4203 xCat revision = A1 CPU0: D VIVT write-back cache CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets Built 1 zonelists. Total pages: 31496 Kernel command line: root=/dev/mtdblock3 rw rootfstype=squashfs user_debug=31 ip=192.168.10.200:192.168.0.201:0.0.0.0:255.255.255.0::eth0:off console=ttyS0,115200 mtdparts=spi_flash:0x00080000(uboot),0x00080000(env),0x00200000(kernel),0x00b00000(rootfs),0x00200000(jffs2) ethaddr=00:14:d1:2a:01:81 issstart=1 csb=0x0320F5B7 cso=0x0A382A28 csf=0x4891FBBE PID hash table entries: 512 (order: 9, 2048 bytes) Console: colour dummy device 80x30 Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) Memory: 124MB 0MB 0MB 0MB = 124MB total Memory: 123008KB available (2396K code, 260K data, 80K init) Mount-cache hash table entries: 512 CPU: Testing write buffer coherency: ok NET: Registered protocol family 16 CPU Interface ------------- SDRAM_CS0 ....base 00000000, size 128MB SDRAM_CS1 ....disable SDRAM_CS2 ....disable SDRAM_CS3 ....disable PEX0_MEM ....base e8000000, size 128MB PEX0_IO ....base fc000000, size 1MB INTER_REGS ....base f1000000, size 1MB NFLASH_CS ....base d8000000, size 128MB SPI_CS ....base f8000000, size 16MB BOOT_ROM_CS ....no such DEV_BOOTCS ....no such CRYPT_ENG ....base fb000000, size 64KB SAGE_UNIT ....base f4000000, size 64MB DRAGONITE_DTCM ....no such Marvell Development Board (LSP Version KW_LSP_5.3.4_00030)-- DB-98DX4122-48G Soc: MV88F6281 Rev 3 LE Detected Tclk 167000000 and SysClk 0 Switch decoding windows init is done. MV Buttons Device Load PEX not supported Time: kw_clocksource clocksource has been installed. NET: Registered protocol family 2 IP route cache hash table entries: 1024 (order: 0, 4096 bytes) TCP established hash table entries: 4096 (order: 3, 32768 bytes) TCP bind hash table entries: 4096 (order: 2, 16384 bytes) TCP: Hash tables configured (established 4096 bind 4096) TCP reno registered Use the XOR engines (acceleration) for enhancing the following functions: o RAID 5 Xor calculation o kernel memcpy o kenrel memzero Number of XOR engines to use: 2 MV Buttons Driver Load squashfs: version 3.3 (2007/10/31) Phillip Lougher squashfs: LZMA suppport for slax.org by jro JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc. io scheduler noop registered io scheduler anticipatory registered (default) Serial: 8250/16550 driver $Revision: 1.1.1.1 $ 4 ports, IRQ sharing disabled serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A serial8250.0: ttyS1 at MMIO 0xf1012100 (irq = 34) is a 16550A Marvell Gbe Ethernet Driver not supported NFTL driver: nftlcore.c $Revision: 1.1.1.1 $, nftlmount.c $Revision: 1.1.1.1 $ SPI Serial flash detected @ 0xf8000000, 16384KB (256sec x 64KB) 5 cmdlinepart partitions found on MTD device spi_flash Creating 5 MTD partitions on "spi_flash": 0x00000000-0x00080000 : "uboot" 0x00080000-0x00100000 : "env" 0x00100000-0x00300000 : "kernel" 0x00300000-0x00e00000 : "rootfs" 0x00e00000-0x01000000 : "jffs2" mice: PS/2 mouse device common for all mice i2c /dev entries driver TCP cubic registered NET: Registered protocol family 1 NET: Registered protocol family 17 IP-Config: Device `eth0' not found. VFS: Mounted root (squashfs filesystem) readonly. Freeing init memory: 80K Using /lib/modules/mvKernelExt.ko Using /lib/modules/mvPpDrv.ko presteraSmi_init: Init OK! DMA - dma_area: 0xe7c00000 ,dma_base: 0x7c00000, dma_len: 0x400000 Thu Jan 20 19:54:00 UTC 2011 Linux MARVELL_LINUX 2.6.22.18-g2c614662-dirty #20 Wed Jun 5 10:41:18 CST 2013 /mnt/flash/sslservcert is existed Starting System Root TaskDevice[0] ID 0xE42011AB revision 3 . [OK] MAC Address : 00-14-D1-2A-01-81 H/W Version : 1.0R F/W Version : 1.00.10 CAMEO L2 Management Switch TPE-1020WS login:

Images

An image of the device with serial port connected:

Back to top

toh/trendnet/tpe1020ws.txt · Last modified: 2014/03/14 11:34 (external edit)