Help need to unbrand my ZyXEL P2813HNU-f3
log down :
ROM VER: ©©ďŚë 1
U-Boot 2014.01-openwrt2 (Nov 15 2014 - 14:05:27) P-2812HNU-Fx
Board: ZyXEL P-2812HNU-Fx
SoC: Lantiq VRX288 v1.1
CPU: 500 MHz
IO: 250 MHz
BUS: 250 MHz
BOOT: NOR
DRAM: 128 MiB
Flash: 8 MiB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: ltq-eth
Hit any key to stop autoboot: 0
Wrong Image Format for bootm command
ERROR: can't get kernel image!
P-2812HNU-Fx # tftp 0x80800000 openwrt-lantiq-xrx200-P2812HNUFX-uImage
ltq_phy: addr 0, link 1, speed 1000, duplex 1
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 1, speed 1000, duplex 1
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUFX-uImage'.
Load address: 0x80800000
Loading: #################################################################
#####################################
6.7 MiB/s
done
Bytes transferred = 1491108 (16c0a4 hex)
P-2812HNU-Fx # nand erase
nand - NAND sub-system
Usage:
nand info - show available NAND devices
nand device [dev] - show or set current device
nand read - addr off|partition size
nand write - addr off|partition size
read/write 'size' bytes starting at offset 'off'
to/from memory address 'addr', skipping bad blocks.
nand read.raw - addr off|partition [count]
nand write.raw - addr off|partition [count]
Use read.raw/write.raw to avoid ECC and access the flash as-is.
nand erase[.spread] [clean] off size - erase 'size' bytes from offset 'off'
With '.spread', erase enough for given file size, otherwise,
'size' includes skipped bad blocks.
nand erase.part [clean] partition - erase entire mtd partition'
nand erase.chip [clean] - erase entire chip'
nand bad - show bad blocks
nand dump[.oob] off - dump page
nand scrub [-y] off size | scrub.part partition | scrub.chip
really clean NAND erasing bad blocks (UNSAFE)
nand markbad off [...] - mark bad block(s) at offset (UNSAFE)
nand biterr off - make a bit error at offset (UNSAFE)
P-2812HNU-Fx # nand write 0x80800000 0x60000 0x200000
NAND write: device 0 offset 0x60000, size 0x200000
2097152 bytes written: OK
P-2812HNU-Fx # tftpboot 0x80800000 openwrt-lantiq-xrx200-P2812HNUFX-uImage-initramfs
ltq_phy: addr 0, link 1, speed 1000, duplex 1
ltq_phy: addr 1, link 0, speed 10, duplex 0
ltq_phy: addr 17, link 0, speed 10, duplex 0
ltq_phy: addr 19, link 0, speed 10, duplex 0
ltq_phy: addr 5, link 1, speed 1000, duplex 1
Using ltq-eth device
TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUFX-uImage-initramfs'.
Load address: 0x80800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#
done
Bytes transferred = 3830349 (3a724d hex)
P-2812HNU-Fx # bootm 0x80800000
## Booting kernel from Legacy Image at 80800000 ...
Image Name: MIPS OpenWrt Linux-3.14.18
Created: 2014-11-15 13:10:09 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 3830285 Bytes = 3.7 MiB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
[ 0.000000] Linux version 3.14.18 (sylwek@WRT) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43224) ) #26 Sat Nov 15 14:09:49 CET 2014
[ 0.000000] SoC: VR9 rev 1.1
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU0 revision is: 00019555 (MIPS 34Kc)
[ 0.000000] MIPS: machine is P2812HNUFX - ZyXEL P-2812HNU-Fx
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 08000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x07ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x07ffffff]
[ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512
[ 0.000000] Kernel command line: console=ttyLTQ0,115200 init=/etc/preinit
[ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes)
[ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.000000] Writing ErrCtl register=00032c40
[ 0.000000] Readback ErrCtl register=00032c40
[ 0.000000] Memory: 123012K/131072K available (3176K kernel code, 144K rwdata, 896K rodata, 2420K init, 201K bss, 8060K reserved)
[ 0.000000] NR_IRQS:256
[ 0.000000] CPU Clock: 500MHz
[ 0.000000] Calibrating delay loop... 332.54 BogoMIPS (lpj=665088)
[ 0.032000] pid_max: default: 32768 minimum: 301
[ 0.036000] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.040000] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.044000] pinctrl core: initialized pinctrl subsystem
[ 0.048000] NET: Registered protocol family 16
[ 0.060000] pinctrl-xway 1e100b10.pinmux: Init done
[ 0.064000] dma-xway 1e104100.dma: Init done - hw rev: 7, ports: 7, channels: 28
[ 0.072000] dcdc-xrx200 1f106a00.dcdc: Core Voltage : 1016 mV
[ 0.076000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_assert[185]
[ 0.188000] arch/mips/pci/ifxmips_pcie_vr9.h:pcie_device_rst_deassert[193]
[ 0.204000] bio: create slab <bio-0> at 0
[ 0.208000] gpio-stp-xway 1e100bb0.stp: Init done
[ 0.212000] usbcore: registered new interface driver usbfs
[ 0.216000] usbcore: registered new interface driver hub
[ 0.220000] usbcore: registered new device driver usb
[ 0.224000] PCI host bridge to bus 0000:00
[ 0.228000] pci_bus 0000:00: root bus resource [mem 0x1c000000-0x1cffffff]
[ 0.232000] pci_bus 0000:00: root bus resource [io 0x1d800000-0x1d8fffff]
[ 0.236000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.240000] ifx_pcie_rc_class_early_fixup: fixed pcie host bridge to pci-pci bridge
[ 0.252000] ifx_pcie_fixup_resource: fixup host controller 0000:00:00.0 (15d1:0011)
[ 0.256000] pci 0000:00:00.0: BAR 8: assigned [mem 0x1c000000-0x1c0fffff]
[ 0.260000] pci 0000:01:00.0: BAR 0: assigned [mem 0x1c000000-0x1c00ffff]
[ 0.264000] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.268000] pci 0000:00:00.0: bridge window [mem 0x1c000000-0x1c0fffff]
[ 0.272000] ifx_pcie_bios_map_irq port 0 dev 0000:00:00.0 slot 0 pin 1
[ 0.276000] ifx_pcie_bios_map_irq dev 0000:00:00.0 irq 144 assigned
[ 0.280000] ifx_pcie_bios_map_irq port 0 dev 0000:01:00.0 slot 0 pin 1
[ 0.284000] ifx_pcie_bios_map_irq dev 0000:01:00.0 irq 144 assigned
[ 0.288000] Switched to clocksource MIPS
[ 0.296000] NET: Registered protocol family 2
[ 0.300000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.308000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.312000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.320000] TCP: reno registered
[ 0.324000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.328000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.336000] NET: Registered protocol family 1
[ 4.052000] gptu: totally 6 16-bit timers/counters
[ 4.060000] gptu: misc_register on minor 63
[ 4.064000] gptu: succeeded to request irq 126
[ 4.068000] gptu: succeeded to request irq 127
[ 4.072000] gptu: succeeded to request irq 128
[ 4.076000] gptu: succeeded to request irq 129
[ 4.080000] gptu: succeeded to request irq 130
[ 4.084000] gptu: succeeded to request irq 131
[ 4.092000] phy-xrx200 gphy-xrx200.5: requesting lantiq/vr9_phy11g_a1x.bin
[ 4.100000] phy-xrx200 gphy-xrx200.5: booting GPHY0 firmware at 6FA0000
[ 4.108000] phy-xrx200 gphy-xrx200.5: booting GPHY1 firmware at 6FA0000
[ 4.216000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 4.224000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 4.228000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 4.240000] msgmni has been set to 240
[ 4.244000] io scheduler noop registered
[ 4.248000] io scheduler deadline registered (default)
[ 4.252000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 4.264000] console [ttyLTQ0] enabled
[ 4.264000] console [ttyLTQ0] enabled
[ 4.268000] bootconsole [early0] disabled
[ 4.268000] bootconsole [early0] disabled
[ 4.280000] ltq_nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022cb
[ 4.288000] Amd/Fujitsu Extended Query Table at 0x0040
[ 4.292000] Amd/Fujitsu Extended Query version 1.1.
[ 4.300000] number of CFI chips: 1
[ 4.304000] 3 ofpart partitions found on MTD device ltq_nor
[ 4.308000] Creating 3 MTD partitions on "ltq_nor":
[ 4.312000] 0x000000000000-0x000000050000 : "uboot"
[ 4.320000] 0x000000050000-0x000000060000 : "uboot_env"
[ 4.324000] 0x000000060000-0x000000800000 : "unused"
[ 4.332000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 4.332000] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 4.332000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 4.348000] Scanning device for bad blocks
[ 4.408000] 4 ofpart partitions found on MTD device 14000000.nand-parts
[ 4.416000] Creating 4 MTD partitions on "14000000.nand-parts":
[ 4.420000] 0x000000000000-0x000000040000 : "unused"
[ 4.428000] 0x000000040000-0x000000060000 : "unused"
[ 4.432000] 0x000000060000-0x000000260000 : "kernel"
[ 4.440000] 0x000000260000-0x000008000000 : "ubi"
[ 4.552000] libphy: lantiq,xrx200-mdio: probed
[ 4.560000] net-xrx200: invalid MAC, using random
[ 4.628000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[ 4.696000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:01, irq=-1)
[ 4.764000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[ 4.832000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[ 4.900000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:05, irq=-1)
[ 4.908000] wdt 1f8803f0.watchdog: Init done
[ 4.920000] TCP: cubic registered
[ 4.920000] NET: Registered protocol family 17
[ 4.924000] 8021q: 802.1Q VLAN Support v1.8
[ 4.932000] UBI: auto-attach mtd6
[ 4.936000] UBI: attaching mtd6 to ubi0
[ 5.092000] UBI: scanning is finished
[ 5.108000] UBI: attached mtd6 (name "ubi", size 125 MiB) to ubi0
[ 5.112000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 5.120000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 5.124000] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[ 5.132000] UBI: good PEBs: 1005, bad PEBs: 0, corrupted PEBs: 0
[ 5.140000] UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 5.144000] UBI: max/mean erase counter: 14/9, WL threshold: 4096, image sequence number: 1321087313
[ 5.156000] UBI: available PEBs: 0, total reserved PEBs: 1005, PEBs reserved for bad PEB handling: 20
[ 5.164000] UBI: background thread "ubi_bgt0d" started, PID 252
[ 5.172000] mtd: device 7 (rootfs) set to be root filesystem
[ 5.184000] Freeing unused kernel memory: 2420K (80423000 - 80680000)
procd: Console is alive
procd: - watchdog -
[ 5.228000] IFXUSB: ifxusb_hcd: version 3.2 B110801
[ 5.232000] Chip Version :01c0 BurstSize=0
[ 5.836000] IFXUSB: USB core #0 soft-reset
[ 6.140000] IFXUSB: USB core #0 soft-reset
[ 6.140000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[ 6.144000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
[ 6.152000] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
[ 6.160000] IFXUSB: Init: Power Port (0)
[ 6.164000] hub 1-0:1.0: USB hub found
[ 6.168000] hub 1-0:1.0: 1 port detected
[ 6.672000] IFXUSB: USB core #1 soft-reset
[ 6.976000] IFXUSB: USB core #1 soft-reset
[ 6.976000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[ 6.984000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 2
[ 6.988000] ifxusb_hcd ifxusb_hcd: irq 91, io mem 0xbe106000
[ 6.996000] IFXUSB: Init: Power Port (0)
[ 7.000000] hub 2-0:1.0: USB hub found
[ 7.004000] hub 2-0:1.0: 1 port detected
[ 7.008000] ifxusb_hcd ifxusb_hcd: requested GPIO 233
procd: - preinit -
[ 8.104000] random: mktemp urandom read with 31 bits of entropy available
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 8.164000] eth0: port 5 got link
[ 9.164000] eth0: port 0 got link
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 13.496000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 13.520000] NET: Registered protocol family 10
[ 13.528000] NET: Registered protocol family 8
[ 13.532000] NET: Registered protocol family 20
[ 13.544000] PPP generic driver version 2.4.2
[ 13.552000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 13.572000] MEI CPE Driver, Version 1.2.0
[ 13.576000] (c) Copyright 2009, Infineon Technologies AG
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###
Lantiq CPE API Driver version: DSL CPE API V4.11.4
[ 13.596000]
[ 13.596000] Predefined debug level: 2
[ 13.608000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2
[ 13.616000] Backport generated by backports.git backports-20141023-2-g4ff890b
[ 13.624000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 13.636000] Infineon Technologies DEU driver version 2.0.0
[ 13.644000] IFX DEU DES initialized (multiblock).
[ 13.648000] IFX DEU AES initialized (multiblock).
[ 13.652000] IFX DEU ARC4 initialized (multiblock).
[ 13.656000] IFX DEU SHA1 initialized.
[ 13.660000] IFX DEU MD5 initialized.
[ 13.664000] IFX DEU SHA1_HMAC initialized.
[ 13.668000] IFX DEU MD5_HMAC initialized.
[ 13.676000] nf_conntrack version 0.5.0 (1959 buckets, 7836 max)
[ 13.700000] NET: Registered protocol family 24
[ 13.724000] xt_time: kernel timezone is -0000
[ 13.748000] cfg80211: Calling CRDA to update world regulatory domain
[ 13.752000] cfg80211: World regulatory domain updated:
[ 13.756000] cfg80211: DFS Master region: unset
[ 13.760000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 13.772000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.780000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.788000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.796000] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.804000] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 13.812000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 13.820000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 13.828000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 13.928000] PCI: Enabling device 0000:01:00.0 (0000 -> 0002)
[ 13.932000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3071, rev 021c detected
[ 13.944000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 19.632000] device eth0.1 entered promiscuous mode
[ 19.636000] device eth0 entered promiscuous mode
[ 19.640000] br-lan: port 1(eth0.1) entered forwarding state
[ 19.648000] br-lan: port 1(eth0.1) entered forwarding state
[ 21.652000] br-lan: port 1(eth0.1) entered forwarding state
procd: - init complete -
[ 31.960000] random: nonblocking pool is initialized
BusyBox v1.22.1 (2014-11-14 22:02:47 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Bleeding Edge, r43224)
-----------------------------------------------------
* 1 1/2 oz Gin Shake with a glassful
* 1/4 oz Triple Sec of broken ice and pour
* 3/4 oz Lime Juice unstrained into a goblet.
* 1 1/2 oz Orange Juice
* 1 tsp. Grenadine Syrup
-----------------------------------------------------
root@OpenWrt:/# passwd
Changing password for root
New password:
Bad password: too short
Retype password:
Password for root changed by root
root@OpenWrt:/# ubidetach -p /dev/mtd6
[ 103.260000] UBI: detaching mtd6 from ubi0
[ 103.268000] UBI: mtd6 is detached from ubi0
root@OpenWrt:/# ubiformat /dev/mtd6 -f /tmp/openwrt-lantiq-xrx200-P2812HNUFX-roo
tfs-overlay.ubi
ubiformat: mtd6 (nand), size 131727360 bytes (125.6 MiB), 1005 eraseblocks of 131072 bytes (128.0 KiB), min. I/O size 2048 bytes
libscan: s¬XË+ËëR–®¬®Y,[kÖck 74 -- 7 % complete
ibscan: scanning eraseblock 988 -- 98 % complete
ubiformat: 1005 eraseblocks have valid erase counter, mean value is 9
ubiformat: flashing eraseblock 20 -- 100 % complete
ubiformat: formatting eraseblock 1004 -- 100 % complete
root@OpenWrt:/# reboot
procd: - shutdown -
root@OpenWrt:/# procd: - SIGTERM processes -
procd:ü
ROM VER: 1.0.5
CFG 01
U-Boot 2014.01-openwrt2 (Nov 15 2014 - 14:05:27) P-2812HNU-Fx
Board: ZyXEL P-2812HNU-Fx
SoC: Lantiq VRX288 v1.1
CPU: 500 MHz
IO: 250 MHz
BUS: 250 MHz
BOOT: NOR
DRAM: 128 MiB
Flash: 8 MiB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: ltq-eth
Hit any key to stop autoboot: 0
P-2812HNU-Fx # setenv nboot ' nand read 0x80800000 0x60000 0x200000; bootm 0x80800000'
P-2812HNU-Fx # setenv bootcmd 'run nboot'
P-2812HNU-Fx # saveenv
Saving Environment to Flash...
. done
Un-Protected 1 sectors
Erasing Flash...
. done
Erased 1 sectors
Writing to Flash... done
. done
Protected 1 sectors
P-2812HNU-Fx # reset˙
ROM VER: 1.0.5
CFG 01
U-Boot 2014.01-openwrt2 (Nov 15 2014 - 14:05:27) P-2812HNU-Fx
Board: ZyXEL P-2812HNU-Fx
SoC: Lantiq VRX288 v1.1
CPU: 500 MHz
IO: 250 MHz
BUS: 250 MHz
BOOT: NOR
DRAM: 128 MiB
Flash: 8 MiB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Net: ltq-eth
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x60000, size 0x200000
NAND read from offset 60000 failed -74
0 bytes read: ERROR
Wrong Image Format for bootm command
ERROR: can't get kernel image!
P-2812HNU-Fx #