Sunday 24 May 2015

Sunday 10 November 2013

I need help unbricking my Zyxel 2812 router after playing around a bit too much :-P

It looks like LAN3 is working on it, but im not getting any IP.

Tried varoius settings for network such as:
192.168.1.33/24 and gateway as 192.168.1.1

TFTP is unable to upload FW.

When i connect to serial port on it, it just loops:

ROM VER: 1.0.5
CFG 01

Tried with 30 second reset with power on and 30 second reset without power on.

Anyone got any other suggestion other than to JTAG it?

Saturday 16 February 2013

Zyxel P-2812HNU-F3 Information



uname -an

Linux P-2812HNU 2.6.20.19 #37 Wed Nov 2 16:46:03 CST 2011 mips unknown

cat /proc/version

Linux version 2.6.20.19 (waynelai@Valkyrie) (gcc version 3.4.6 (OpenWrt-2.0)) #37 Wed Nov 2 16:46:03 CST 2011

cat /proc/cpuinfo

system type : VR9
processor : 0
cpu model : MIPS 34K V5.5
BogoMIPS : 332.59
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes
ASEs implemented : mips16 dsp mt
VCED exceptions : not available
VCEI exceptions : not available

cat /proc/meminfo

MemTotal:       123660 kB
MemFree:         35960 kB
Buffers:          8380 kB
Cached:          58700 kB
SwapCached:          0 kB
Active:          32288 kB
Inactive:        43072 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:               0 kB
Writeback:           0 kB
AnonPages:        8288 kB
Mapped:          21256 kB
Slab:             7852 kB
SReclaimable:     1884 kB
SUnreclaim:       5968 kB
PageTables:        644 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:     61828 kB
Committed_AS:    19388 kB
VmallocTotal:  1048404 kB
VmallocUsed:      3440 kB
VmallocChunk:  1044324 kB

cat /proc/mtd

dev: size erasesize name
mtd0: 003a0000 00010000 "rootfs,kernel1"
mtd1: 003a0000 00010000 "rootfs,kernel2"
mtd2: 00020000 00010000 "mrd_cert1"
mtd3: 00020000 00010000 "mrd_cert2"
mtd4: 01ec0000 00020000 "extfs1"
mtd5: 01ec0000 00020000 "extfs2"
mtd6: 012c0000 00020000 "customer"
mtd7: 024c0000 00020000 "firmware"
mtd8: 00a80000 00020000 "config"

cat /proc/partitions

major minor #blocks name

7 0 19704 loop0
31 0 3712 mtdblock0
31 1 3712 mtdblock1
31 2 128 mtdblock2
31 3 128 mtdblock3
31 4 31488 mtdblock4
31 5 31488 mtdblock5
31 6 19200 mtdblock6
31 7 37632 mtdblock7
31 8 10752 mtdblock8

cat /proc/yaffs

YAFFS built:Nov  1 2011 16:30:12
$Id: yaffs_fs.c,v 1.71 2009-01-22 00:45:54 charles Exp $
$Id: yaffs_guts.c,v 1.78 2009-01-27 02:52:45 charles Exp $
Device 0 "config"
startBlock......... 0
endBlock........... 83
totalBytesPerChunk. 2048
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 65
nReservedBlocks.... 5
blocksInCheckpoint. 0
nTnodesCreated..... 100
nFreeTnodes........ 29
nObjectsCreated.... 100
nFreeObjects....... 77
nFreeChunks........ 4520
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 3
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1
inbandTags......... 0
Device 1 "customer"
startBlock......... 0
endBlock........... 149
totalBytesPerChunk. 2048
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 78
nReservedBlocks.... 5
blocksInCheckpoint. 1
nTnodesCreated..... 400
nFreeTnodes........ 68
nObjectsCreated.... 100
nFreeObjects....... 40
nFreeChunks........ 5259
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1
inbandTags......... 0
Device 2 "firmware"
startBlock......... 0
endBlock........... 293
totalBytesPerChunk. 2048
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 292
nReservedBlocks.... 5
blocksInCheckpoint. 0
nTnodesCreated..... 0
nFreeTnodes........ 0
nObjectsCreated.... 100
nFreeObjects....... 94
nFreeChunks........ 18813
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 1
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1
inbandTags......... 0
Device 3 "extfs1"
startBlock......... 0
endBlock........... 245
totalBytesPerChunk. 2048
nDataBytesPerChunk. 2048
chunkGroupBits..... 0
chunkGroupSize..... 1
nErasedBlocks...... 91
nReservedBlocks.... 5
blocksInCheckpoint. 1
nTnodesCreated..... 800
nFreeTnodes........ 94
nObjectsCreated.... 100
nFreeObjects....... 95
nFreeChunks........ 5826
nPageWrites........ 0
nPageReads......... 0
nBlockErasures..... 0
nGCCopies.......... 0
garbageCollections. 0
passiveGCs......... 0
nRetriedWrites..... 0
nShortOpCaches..... 10
nRetireBlocks...... 0
eccFixed........... 0
eccUnfixed......... 0
tagsEccFixed....... 0
tagsEccUnfixed..... 0
cacheHits.......... 0
nDeletedFiles...... 0
nUnlinkedFiles..... 0
nBackgroudDeletions 0
useNANDECC......... 1
isYaffs2........... 1
inbandTags......... 0

cat /proc/devices

Character devices:
  1 mem
  2 pty
  3 ttyp
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
 10 misc
 81 switch_api
 90 mtd
108 ppp
122 ifx_tapi (vmmc)
128 ptm
136 pts
180 usb
181 ifx_ppa
189 usb_device
220 btn_io_module
222 Hidden NAND Access Module
223 hidden_flash_access_module
240 ifx_gpio
241 ifx_rcu
242 ifx_ledc
245 usb_endpoint
246 ifx_cgu
247 ifx_mps
248 ifx_led
249 mei_cpe
250 ifx_dma_core
251 ifx_wdt
252 ifx_pmu
253 ifx_pmcu
254 vpe
Block devices:
  1 ramdisk
  7 loop
  8 sd
 31 mtdblock
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd

cat /proc/modules

fuse 51280 0 - Live 0xc0255000
ifxusb_host 105808 0 - Live 0xc0267000
rt3090ap 1038864 1 - Live 0xc02fd000 (P)
ifx_ppa_api_proc 34864 0 - Live 0xc00c9000 (P)
ifx_ppa_api 99680 1 ifx_ppa_api_proc, Live 0xc0195000 (P)
ifxmips_ppa_hal_vr9_d5 122160 2 ifx_ppa_api_proc,ifx_ppa_api, Live 0xc0176000 (P)
ifxmips_ppa_datapath_vr9_d5 119968 2 rt3090ap,ifx_ppa_api, Live 0xc00e4000 (P)
drv_vmmc 204864 12 - Live 0xc0142000
drv_kpi2udp 6640 0 - Live 0xc00b8000
drv_tapi 179872 26 drv_vmmc,drv_kpi2udp, Live 0xc0115000
drv_ifxos 26304 3 drv_vmmc,drv_kpi2udp,drv_tapi, Live 0xc010d000
btn_io_module 15632 2 rt3090ap, Live 0xc0064000
hidden_nand_module 7216 0 - Live 0xc0090000
hidden_flash_module 73296 0 - Live 0xc0069000