OpenWRT, r43437, running on ZyXEL P-2812HNU-F1
Posted: 11 Dec 2014, 22:50
'Where software meets hardware.' - DG.
Only still some issues changing Z-boot to U-boot.
Although i can get into UART mode, by shorting R17 on F1 board.
See how i get
Linux version 3.14.25 (sylwek@WRT) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43437) ) #2 Wed Dec 3 21:29:49 CET 2014
Running on P-2812HNU-F1.
With TTL Serial cable attached and TFTP server standing by...
Pressing a key during boot ('Hit any key to stop autoboot:') and use ATGU command to get into VR9-prompt:
Yha, i know, this box still booting ZyXEL's: ZyU-F02-300-20AA003-V3.04|04/01|2011(TUJ)
Need to change that to a u-boot version...
Only still some issues changing Z-boot to U-boot.
Although i can get into UART mode, by shorting R17 on F1 board.
See how i get
Code: Select all
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
CHAOS CALMER (Bleeding Edge, r43437)
Running on P-2812HNU-F1.
With TTL Serial cable attached and TFTP server standing by...
Pressing a key during boot ('Hit any key to stop autoboot:') and use ATGU command to get into VR9-prompt:
Yha, i know, this box still booting ZyXEL's: ZyU-F02-300-20AA003-V3.04|04/01|2011(TUJ)
Need to change that to a u-boot version...
Code: Select all
VR9 # tftpboot 0x80800000 openwrt-lantiq-xrx200-P2812HNUF1-uImage
Using vr9 Switch device
TFTP from server 192.168.1.33; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUF1-uImage'.
Load address: 0x80800000
Loading: *#################################################################
#################################################################
#################################################################
#################################################################
################################
done
Bytes transferred = 1493429 (16c9b5 hex)
VR9 # nand erase 0x60000 0x200000
NAND erase: device 0 offset 0x60000, size 0x200000
Erasing at 0x60000 -- 6% complete.
Erasing at 0x80000 -- 12% complete.
...
Erasing at 0x240000 -- 100% complete.
OK
VR9 # nand write 0x80800000 0x60000 0x200000
NAND write: device 0 offset 393216, size 2097152 ... 2097152 bytes written: OK
VR9 # tftp 0x80800000 openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs
Using vr9 Switch device
TFTP from server 192.168.1.33; our IP address is 192.168.1.1
Filename 'openwrt-lantiq-xrx200-P2812HNUF1-uImage-initramfs'.
Load address: 0x80800000
Loading: *#################################################################
#################################################################
...
##############################################################
done
Bytes transferred = 4642725 (46d7a5 hex)
VR9 # bootm 0x80800000
## Booting image at 80800000 ...
Image Name: MIPS OpenWrt Linux-3.14.25
Created: 2014-12-03 20:30:08 UTC
Image Type: MIPS Linux Kernel Image (lzma compressed)
Data Size: 4642661 Bytes = 4.4 MB
Load Address: 80002000
Entry Point: 80002000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80002000) ...
## Giving linux memsize in MB, 128
Starting kernel ...
[ 0.000000] Linux version 3.14.25 (sylwek@WRT) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r43437) ) #2 Wed Dec 3 21:29: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 P2812HNUF1 - ZyXEL P-2812HNU-F1
[ 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=00064480
[ 0.000000] Readback ErrCtl register=00064480
[ 0.000000] Memory: 122244K/131072K available (3181K kernel code, 152K rwdata, 900K rodata, 3172K init, 201K bss, 8828K 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] PCI host bridge /fpi@10000000/pci@E105400 ranges:
[ 0.080000] MEM 0x0000000018000000..0x0000000019ffffff
[ 0.084000] IO 0x000000001ae00000..0x000000001affffff
[ 0.100000] bio: create slab <bio-0> at 0
[ 0.104000] gpio-stp-xway 1e100bb0.stp: Init done
[ 0.108000] usbcore: registered new interface driver usbfs
[ 0.112000] usbcore: registered new interface driver hub
[ 0.116000] usbcore: registered new device driver usb
[ 0.120000] PCI host bridge to bus 0000:00
[ 0.124000] pci_bus 0000:00: root bus resource [mem 0x18000000-0x19ffffff]
[ 0.128000] pci_bus 0000:00: root bus resource [io 0x1ae00000-0x1affffff]
[ 0.132000] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[ 0.136000] pci 0000:00:0e.0: BAR 0: assigned [mem 0x18000000-0x1800ffff]
[ 0.140000] Switched to clocksource MIPS
[ 0.148000] NET: Registered protocol family 2
[ 0.152000] TCP established hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.160000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.164000] TCP: Hash tables configured (established 1024 bind 1024)
[ 0.172000] TCP: reno registered
[ 0.176000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.180000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.188000] NET: Registered protocol family 1
[ 5.180000] gptu: totally 6 16-bit timers/counters
[ 5.184000] gptu: misc_register on minor 63
[ 5.188000] gptu: succeeded to request irq 126
[ 5.192000] gptu: succeeded to request irq 127
[ 5.196000] gptu: succeeded to request irq 128
[ 5.200000] gptu: succeeded to request irq 129
[ 5.208000] gptu: succeeded to request irq 130
[ 5.212000] gptu: succeeded to request irq 131
[ 5.220000] phy-xrx200 gphy-xrx200.4: requesting lantiq/vr9_phy11g_a1x.bin
[ 5.224000] phy-xrx200 gphy-xrx200.4: booting GPHY0 firmware at 6A20000
[ 5.232000] phy-xrx200 gphy-xrx200.4: booting GPHY1 firmware at 6A20000
[ 5.340000] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 5.348000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 5.356000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 5.364000] msgmni has been set to 238
[ 5.368000] io scheduler noop registered
[ 5.372000] io scheduler deadline registered (default)
[ 5.380000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc
[ 5.388000] console [ttyLTQ0] enabled
[ 5.388000] console [ttyLTQ0] enabled
[ 5.396000] bootconsole [early0] disabled
[ 5.396000] bootconsole [early0] disabled
[ 5.408000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[ 5.408000] nand: Samsung NAND 128MiB 3,3V 8-bit
[ 5.408000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[ 5.424000] Scanning device for bad blocks
[ 5.508000] Bad eraseblock 973 at 0x0000079a0000
[ 5.512000] 4 ofpart partitions found on MTD device 14000000.nand-parts
[ 5.520000] Creating 4 MTD partitions on "14000000.nand-parts":
[ 5.524000] 0x000000000000-0x000000040000 : "uboot"
[ 5.532000] 0x000000040000-0x000000060000 : "uboot-env"
[ 5.536000] 0x000000060000-0x000000260000 : "kernel"
[ 5.544000] 0x000000260000-0x000008000000 : "ubi"
[ 5.656000] libphy: lantiq,xrx200-mdio: probed
[ 5.664000] net-xrx200: invalid MAC, using random
[ 5.732000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[ 5.800000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:01, irq=-1)
[ 5.868000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[ 5.936000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[ 6.004000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:05, irq=-1)
[ 6.012000] wdt 1f8803f0.watchdog: Init done
[ 6.020000] TCP: cubic registered
[ 6.024000] NET: Registered protocol family 17
[ 6.028000] 8021q: 802.1Q VLAN Support v1.8
[ 6.036000] UBI: auto-attach mtd3
[ 6.036000] UBI: attaching mtd3 to ubi0
[ 6.228000] UBI: scanning is finished
[ 6.240000] UBI: attached mtd3 (name "ubi", size 125 MiB) to ubi0
[ 6.244000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[ 6.252000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 6.260000] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[ 6.264000] UBI: good PEBs: 1004, bad PEBs: 1, corrupted PEBs: 0
[ 6.272000] UBI: user volume: 2, internal volumes: 1, max. volumes count: 128
[ 6.280000] UBI: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 1583276031
[ 6.288000] UBI: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 19
[ 6.296000] UBI: background thread "ubi_bgt0d" started, PID 233
[ 6.304000] mtd: device 4 (rootfs) set to be root filesystem
[ 6.320000] Freeing unused kernel memory: 3172K (80427000 - 80740000)
procd: Console is alive
procd: - watchdog -
[ 6.396000] SCSI subsystem initialized
[ 6.404000] IFXUSB: ifxusb_hcd: version 3.2 B110801
[ 6.408000] Chip Version :01c0 BurstSize=0
[ 7.012000] IFXUSB: USB core #0 soft-reset
[ 7.316000] IFXUSB: USB core #0 soft-reset
[ 7.320000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[ 7.324000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
[ 7.332000] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
[ 7.336000] IFXUSB: Init: Power Port (0)
[ 7.340000] eth0: port 0 got link
[ 7.348000] hub 1-0:1.0: USB hub found
[ 7.348000] hub 1-0:1.0: 1 port detected
[ 7.852000] IFXUSB: USB core #1 soft-reset
[ 8.156000] IFXUSB: USB core #1 soft-reset
[ 8.160000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[ 8.164000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 2
[ 8.172000] ifxusb_hcd ifxusb_hcd: irq 91, io mem 0xbe106000
[ 8.176000] IFXUSB: Init: Power Port (0)
[ 8.184000] hub 2-0:1.0: USB hub found
[ 8.184000] hub 2-0:1.0: 1 port detected
[ 8.188000] ifxusb_hcd ifxusb_hcd: requested GPIO 233
[ 8.196000] usbcore: registered new interface driver usb-storage
procd: - preinit -
[ 8.456000] random: mktemp urandom read with 33 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
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[ 13.932000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH
[ 13.960000] NET: Registered protocol family 10
[ 13.972000] NET: Registered protocol family 8
[ 13.976000] NET: Registered protocol family 20
[ 13.988000] NTFS driver 2.1.30 [Flags: R/O MODULE].
[ 14.004000] PPP generic driver version 2.4.2
[ 14.012000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 14.032000] MEI CPE Driver, Version 1.2.0
[ 14.032000] (c) Copyright 2009, Infineon Technologies AG
[ 14.032000]
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###
Lantiq CPE API Driver version: DSL CPE API V4.11.4
[ 14.056000]
[ 14.056000] Predefined debug level: 2
[ 14.068000] fuse init (API version 7.22)
[ 14.076000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2
[ 14.084000] Backport generated by backports.git backports-20141023-2-g4ff890b
[ 14.096000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 14.108000] Infineon Technologies DEU driver version 2.0.0
[ 14.112000] IFX DEU DES initialized (multiblock).
[ 14.116000] IFX DEU AES initialized (multiblock).
[ 14.120000] IFX DEU ARC4 initialized (multiblock).
[ 14.124000] IFX DEU SHA1 initialized.
[ 14.128000] IFX DEU MD5 initialized.
[ 14.132000] IFX DEU SHA1_HMAC initialized.
[ 14.136000] IFX DEU MD5_HMAC initialized.
[ 14.148000] nf_conntrack version 0.5.0 (1959 buckets, 7836 max)
[ 14.172000] NET: Registered protocol family 24
[ 14.176000] usbcore: registered new interface driver ums-alauda
[ 14.184000] usbcore: registered new interface driver ums-cypress
[ 14.192000] usbcore: registered new interface driver ums-datafab
[ 14.196000] usbcore: registered new interface driver ums-freecom
[ 14.204000] usbcore: registered new interface driver ums-isd200
[ 14.212000] usbcore: registered new interface driver ums-jumpshot
[ 14.220000] usbcore: registered new interface driver ums-karma
[ 14.228000] usbcore: registered new interface driver ums-sddr09
[ 14.232000] usbcore: registered new interface driver ums-sddr55
[ 14.240000] usbcore: registered new interface driver ums-usbat
[ 14.248000] usbcore: registered new interface driver usblp
[ 14.256000] usbcore: registered new interface driver usbserial
[ 14.260000] usbcore: registered new interface driver usbserial_generic
[ 14.268000] usbserial: USB Serial support registered for generic
[ 14.296000] xt_time: kernel timezone is -0000
[ 14.324000] cfg80211: Calling CRDA to update world regulatory domain
[ 14.332000] cfg80211: World regulatory domain updated:
[ 14.332000] cfg80211: DFS Master region: unset
[ 14.340000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 14.348000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.356000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.364000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.372000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.380000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 14.388000] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 14.396000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 14.404000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 14.500000] usbcore: registered new interface driver option
[ 14.508000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 14.528000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[ 14.532000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[ 14.544000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
[ 19.064000] PTM 1.0.27 PTM (E1) firmware version 0.30
[ 19.068000] ifxmips_ptm: PTM init succeed
[ 20.784000] device eth0.1 entered promiscuous mode
[ 20.788000] device eth0 entered promiscuous mode
[ 20.796000] br-lan: port 1(eth0.1) entered forwarding state
[ 20.800000] br-lan: port 1(eth0.1) entered forwarding state
[ 22.804000] br-lan: port 1(eth0.1) entered forwarding state
procd: - init complete -
[ 28.396000] random: nonblocking pool is initialized
BusyBox v1.22.1 (2014-12-03 21:20:05 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, r43437)
-----------------------------------------------------
* 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:/#