Own build: OpenWrt Chaos Calmer r44147

Post Reply
admin
Site Admin
Posts: 478
Joined: 06 Feb 2007, 13:36

Own build: OpenWrt Chaos Calmer r44147

Post by admin »

Damn, messed up my openWRT box now :)
Uploaded my own generated openWRT r44111, but Luci did not work with it, LOL

Code: Select all

[    0.000000] Linux version 3.14.28 (dguser@LD801) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44111) ) #1 Sun Jan 25 02:22:37 CET 2015
Making new package.
--

According: https://forum.openwrt.org/viewtopic.php?id=53511

To be done: on Linux build machine, before next (3th) run of creation of P-2812HNU-Fx code:

Code: Select all

apt-get install gcc-multilib flex quilt lzop
--
Image

Build with privoxy installed:

Had to change config of privoxy, as the build of openWRT returned an error not finding config file.
It was renamed by process itself to config.new:

Code: Select all

Privoxy 3.0.22 stable installation succeeded!
The Privoxy configuration files have been installed in /home/dguser/openwrt/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/privoxy-3.0.22-stable/ipkg-install/etc/privoxy
make[4]: Leaving directory '/home/dguser/openwrt/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/privoxy-3.0.22-stable'
# rename original sample config from pkg_source to save existing one during install
mv /home/dguser/openwrt/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/privoxy-3.0.22-stable/ipkg-install/etc/privoxy/config /home/dguser/openwrt/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/privoxy-3.0.22-stable/ipkg-install/etc/privoxy/config.privoxy
mv: cannot stat '/home/dguser/openwrt/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/privoxy-3.0.22-stable/ipkg-install/etc/privoxy/config': No such file or directory
Makefile:166: recipe for target '/home/dguser/openwrt/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/privoxy-3.0.22-stable/.built' failed
make[3]: *** [/home/dguser/openwrt/build_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/privoxy-3.0.22-stable/.built] Error 1
make[3]: Leaving directory '/home/dguser/openwrt/feeds/packages/net/privoxy'
package/Makefile:174: recipe for target 'package/feeds/packages/privoxy/compile' failed
make[2]: *** [package/feeds/packages/privoxy/compile] Error 2
make[2]: Leaving directory '/home/dguser/openwrt'
package/Makefile:171: recipe for target '/home/dguser/openwrt/staging_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: *** [/home/dguser/openwrt/staging_dir/target-mips_34kc+dsp_uClibc-0.9.33.2/stamp/.package_compile] Error 2
make[1]: Leaving directory '/home/dguser/openwrt'
/home/dguser/openwrt/include/toplevel.mk:173: recipe for target 'world' failed
make: *** [world] Error 2
]0;dguser@LD801: ~/openwrtdguser@LD801:~/openwrt$ 
Copied the config.new file to config and re-run 'make'.
-Edit- Also rename the other*.new files in the same directory, as they are needed starting Privoxy!

Had to manually add RT3062.EEPROM to /lib/firmware, then the WiFi works (after a reboot , ofcourse).
According : https://forum.openwrt.org/viewtopic.php ... 09#p261909
No point -seen yet- in make menuconfig to add this RT3062.EEPROM?

-Edit- As written here: https://forum.openwrt.org/viewtopic.php ... 40#p264640
Adding files into your OpenWrt builds:
- Create a 'files/lib/firmware' directory in your openWrt build environment, and put files there (ie xDSL code and/or RT3062.eeprom).
After installing the new OpenWrt-firmware on your device the files will be in '/lib/firmware' and will boot correctly the first time.

Log with error on Wifi:

Code: Select all

ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2014 (Dec 08 2014 - 23:28:15)
SPL: initializing NAND flash
SPL: checking U-Boot image
SPL: loading U-Boot to RAM
SPL: decompressing U-Boot with LZO
SPL: jumping to U-Boot


U-Boot 2014 (Dec 08 2014 - 23:28:15) P-2812HNU-F1

Board: ZyXEL P-2812HNU-F1
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NAND
DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  2  1  0 

NAND read: device 0 offset 0x60000, size 0x200000
 2097152 bytes read: OK
## Booting kernel from Legacy Image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.14.29
   Created:      2015-01-26  11:27:46 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1494614 Bytes = 1.4 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.14.29 (dguser@LD801) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44147) ) #1 Mon Jan 26 12:27:17 CET 2015

[    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=0006448c

[    0.000000] Readback ErrCtl register=0006448c

[    0.000000] Memory: 125252K/131072K available (3183K kernel code, 149K rwdata, 900K rodata, 164K init, 201K bss, 5820K 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

[    0.192000] gptu: totally 6 16-bit timers/counters

[    0.196000] gptu: misc_register on minor 63

[    0.200000] gptu: succeeded to request irq 126

[    0.208000] gptu: succeeded to request irq 127

[    0.212000] gptu: succeeded to request irq 128

[    0.216000] gptu: succeeded to request irq 129

[    0.220000] gptu: succeeded to request irq 130

[    0.224000] gptu: succeeded to request irq 131

[    0.232000] ralink,eeprom ralink_eep.6: using RT3062.eeprom as eeprom

[    0.236000] phy-xrx200 gphy-xrx200.4: requesting lantiq/vr9_phy11g_a1x.bin

[    0.244000] phy-xrx200 gphy-xrx200.4: booting GPHY0 firmware at 78C0000

[    0.252000] phy-xrx200 gphy-xrx200.4: booting GPHY1 firmware at 78C0000

[    0.360000] futex hash table entries: 256 (order: -1, 3072 bytes)

[    0.368000] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[    0.372000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.

[    0.384000] msgmni has been set to 244

[    0.388000] io scheduler noop registered

[    0.392000] io scheduler deadline registered (default)

[    0.400000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc

[    0.408000] console [ttyLTQ0] enabled
[    0.408000] console [ttyLTQ0] enabled

[    0.416000] bootconsole [early0] disabled
[    0.416000] bootconsole [early0] disabled

[    0.428000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    0.428000] nand: Samsung NAND 128MiB 3,3V 8-bit
[    0.428000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    0.440000] Scanning device for bad blocks
[    0.524000] Bad eraseblock 973 at 0x0000079a0000
[    0.532000] 4 ofpart partitions found on MTD device 10000000.nand-parts
[    0.540000] Creating 4 MTD partitions on "10000000.nand-parts":
[    0.544000] 0x000000000000-0x000000040000 : "uboot"
[    0.552000] 0x000000040000-0x000000060000 : "uboot-env"
[    0.556000] 0x000000060000-0x000000260000 : "kernel"
[    0.564000] 0x000000260000-0x000008000000 : "ubi"
[    0.676000] libphy: lantiq,xrx200-mdio: probed
[    0.684000] net-xrx200: invalid MAC, using random
[    0.752000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[    0.820000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:01, irq=-1)
[    0.888000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    0.956000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    1.024000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:05, irq=-1)
[    1.032000] wdt 1f8803f0.watchdog: Init done
[    1.040000] TCP: cubic registered
[    1.044000] NET: Registered protocol family 17
[    1.048000] 8021q: 802.1Q VLAN Support v1.8
[    1.056000] UBI: auto-attach mtd3
[    1.060000] UBI: attaching mtd3 to ubi0
[    1.244000] UBI: scanning is finished
[    1.256000] UBI: attached mtd3 (name "ubi", size 125 MiB) to ubi0
[    1.260000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    1.268000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    1.276000] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[    1.280000] UBI: good PEBs: 1004, bad PEBs: 1, corrupted PEBs: 0
[    1.288000] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.296000] UBI: max/mean erase counter: 18/6, WL threshold: 4096, image sequence number: 141975943
[    1.304000] UBI: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 19
[    1.312000] UBI: background thread "ubi_bgt0d" started, PID 234
[    1.320000] mtd: device 4 (rootfs) set to be root[    1.348000] UBIFS: background thread "ubifs_bgt0_0" started, PID 240
[    1.432000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    1.436000] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    1.448000] UBIFS: FS size: 125153280 bytes (119 MiB, 970 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
[    1.456000] UBIFS: reserved for root: 0 bytes (0 KiB)
[    1.460000] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 357A16B1-19AA-4711-B199-BA1C9FE366C1, small LPT model
[    1.472000] VFS: Mounted root (ubifs filesystem) on device 0:10.
[    1.480000] Freeing unused kernel memory: 164K (80427000 - 80450000)
procd: Console is alive
procd: - watchdog -
[    1.780000] IFXUSB: ifxusb_hcd: version 3.2 B110801
[    1.784000] Chip Version :01c0 BurstSize=0
[    2.388000] IFXUSB: USB core #0 soft-reset
[    2.688000] IFXUSB: USB core #0 soft-reset
[    2.692000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[    2.696000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
[    2.704000] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
[    2.712000] IFXUSB: Init: Power Port (0)
[    2.716000] hub 1-0:1.0: USB hub found
[    2.720000] hub 1-0:1.0: 1 port detected
[    3.224000] IFXUSB: USB core #1 soft-reset
[    3.524000] IFXUSB: USB core #1 soft-reset
[    3.528000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[    3.532000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 2
[    3.540000] ifxusb_hcd ifxusb_hcd: irq 91, io mem 0xbe106000
[    3.548000] IFXUSB: Init: Power Port (0)
[    3.552000] hub 2-0:1.0: USB hub found
[    3.556000] hub 2-0:1.0: 1 port detected
[    3.560000] ifxusb_hcd ifxusb_hcd: requested GPIO 233
procd: - preinit -
[    3.872000] random: mktemp urandom read with 15 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
[    4.172000] usb 1-1: new high-speed USB device number 2 using ifxusb_hcd
[    4.676000] random: nonblocking pool is initialized
[    6.564000] eth0: port 0 got link
[    6.980000] UBI error: ubi_open_volume: cannot open device 0, volume 0, error -16
Could not open mtd device: /dev/mtd4
reading rootfs failed
mounting /dev/root
- config restore -
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[    9.888000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH


[    9.992000] NET: Registered protocol family 10
[   10.012000] NET: Registered protocol family 8
[   10.012000] NET: Registered protocol family 20
[   10.032000] PPP generic driver version 2.4.2
[   10.044000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   10.088000] MEI CPE Driver, Version 1.2.0


[   10.092000] (c) Copyright 2009, Infineon Technologies AG
[   10.092000] 
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###



Lantiq CPE API Driver version: DSL CPE API V4.11.4
[   10.144000] 
[   10.144000] Predefined debug level: 2
[   10.160000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2
[   10.164000] Backport generated by backports.git backports-20141023-2-g4ff890b
[   10.180000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.192000] Infineon Technologies DEU driver version 2.0.0 
[   10.200000] IFX DEU DES initialized (multiblock).
[   10.204000] IFX DEU AES initialized (multiblock).
[   10.208000] IFX DEU ARC4 initialized (multiblock).
[   10.212000] IFX DEU SHA1 initialized.
[   10.216000] IFX DEU MD5 initialized.
[   10.220000] IFX DEU SHA1_HMAC initialized.
[   10.224000] IFX DEU MD5_HMAC initialized.
[   10.248000] nf_conntrack version 0.5.0 (1959 buckets, 7836 max)
[   10.272000] NET: Registered protocol family 24
[   10.296000] xt_time: kernel timezone is -0000
[   10.376000] cfg80211: Calling CRDA to update world regulatory domain
[   10.380000] cfg80211: World regulatory domain updated:
[   10.384000] cfg80211:  DFS Master region: unset
[   10.388000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   10.400000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.408000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.416000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   10.424000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   10.432000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   10.440000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   10.448000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   10.456000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   10.696000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   10.700000] rt2800pci 0000:00:0e.0: failed to load eeprom property
[   10.704000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   10.716000] rt2800pci 0000:00:0e.0: Direct firmware load failed with error -2
[   10.724000] rt2800pci 0000:00:0e.0: Falling back to user helper
procd: Could not [   10.760000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Error - Failed to request EEPROM.
[   10.768000] rt2800pci: probe of 0000:00:0e.0 failed with error -2
find firmware /lib/firmware/RT3062.eeprom
/etc/rc.common: line 138: esi: not found
[   18.264000] device eth0.1 entered promiscuous mode
[   18.268000] device eth0 entered promiscuous mode
[   18.276000] br-lan: port 1(eth0.1) entered forwarding state
[   18.280000] br-lan: port 1(eth0.1) entered forwarding state
[   20.284000] br-lan: port 1(eth0.1) entered forwarding state
procd: - init complete -



BusyBox v1.22.1 (2015-01-26 12:10:32 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, r44147)
 -----------------------------------------------------
  * 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@DG_OpenWrt_01:/# uname -a 
Linux DG_OpenWrt_01 3.14.29 #1 Mon Jan 26 12:27:17 CET 2015 mips GNU/Linux
root@DG_OpenWrt_01:/#
--
luci-app-privoxy:

Seems not to be working anymore?
Installed (and re-installed) luci-app-privoxy, but on Web GUI it returns:

Code: Select all

/usr/lib/lua/luci/dispatcher.lua:430: Failed to execute cbi dispatcher target for entry '/admin/services/privoxy'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/privoxy/detail.lua:16: module 'luci.fs' not found:
	no field package.preload['luci.fs']
	no file './luci/fs.lua'
	no file '/usr/share/lua/luci/fs.lua'
	no file '/usr/share/lua/luci/fs/init.lua'
	no file '/usr/lib/lua/luci/fs.lua'
	no file '/usr/lib/lua/luci/fs/init.lua'
	no file './luci/fs.so'
	no file '/usr/lib/lua/luci/fs.so'
	no file '/usr/lib/lua/loadall.so'
	no file './luci.so'
	no file '/usr/lib/lua/luci.so'
	no file '/usr/lib/lua/loadall.so'
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:430: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:171: in function </usr/lib/lua/luci/dispatcher.lua:170>
Although this error, had to remove privoxy an install it again, to work properly.
Only the luci-app-privoxy still not working fine, i guess i'm missing other Luci component.

Investigating...

And the boot log with RT3062.EEPROM in /lib/firmware:

Code: Select all

ROM VER: 1.0.5
CFG 06
NAND
NAND Read OK

U-Boot SPL 2014 (Dec 08 2014 - 23:28:15)
SPL: initializing NAND flash
SPL: checking U-Boot image
SPL: loading U-Boot to RAM
SPL: decompressing U-Boot with LZO
SPL: jumping to U-Boot


U-Boot 2014 (Dec 08 2014 - 23:28:15) P-2812HNU-F1

Board: ZyXEL P-2812HNU-F1
SoC:   Lantiq VRX288 v1.1
CPU:   500 MHz
IO:    250 MHz
BUS:   250 MHz
BOOT:  NAND
DRAM:  128 MiB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   ltq-eth
Hit any key to stop autoboot:  2  1  0 

NAND read: device 0 offset 0x60000, size 0x200000
 2097152 bytes read: OK
## Booting kernel from Legacy Image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.14.29
   Created:      2015-01-26  11:27:46 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1494614 Bytes = 1.4 MiB
   Load Address: 80002000
   Entry Point:  80002000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Starting kernel ...

[    0.000000] Linux version 3.14.29 (dguser@LD801) (gcc version 4.8.3 (OpenWrt/Linaro GCC 4.8-2014.04 r44147) ) #1 Mon Jan 26 12:27:17 CET 2015

[    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: 125252K/131072K available (3183K kernel code, 149K rwdata, 900K rodata, 164K init, 201K bss, 5820K 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

[    0.192000] gptu: totally 6 16-bit timers/counters

[    0.196000] gptu: misc_register on minor 63

[    0.200000] gptu: succeeded to request irq 126

[    0.208000] gptu: succeeded to request irq 127

[    0.212000] gptu: succeeded to request irq 128

[    0.216000] gptu: succeeded to request irq 129

[    0.220000] gptu: succeeded to request irq 130

[    0.224000] gptu: succeeded to request irq 131

[    0.232000] ralink,eeprom ralink_eep.6: using RT3062.eeprom as eeprom

[    0.236000] phy-xrx200 gphy-xrx200.4: requesting lantiq/vr9_phy11g_a1x.bin

[    0.244000] phy-xrx200 gphy-xrx200.4: booting GPHY0 firmware at 78C0000

[    0.252000] phy-xrx200 gphy-xrx200.4: booting GPHY1 firmware at 78C0000

[    0.360000] futex hash table entries: 256 (order: -1, 3072 bytes)

[    0.368000] squashfs: version 4.0 (2009/01/31) Phillip Lougher

[    0.372000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.

[    0.384000] msgmni has been set to 244

[    0.388000] io scheduler noop registered

[    0.392000] io scheduler deadline registered (default)

[    0.400000] 1e100c00.serial: ttyLTQ0 at MMIO 0x1e100c00 (irq = 112, base_baud = 0) is a lantiq,asc

[    0.408000] console [ttyLTQ0] enabled
[    0.408000] console [ttyLTQ0] enabled

[    0.416000] bootconsole [early0] disabled
[    0.416000] bootconsole [early0] disabled

[    0.428000] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    0.428000] nand: Samsung NAND 128MiB 3,3V 8-bit
[    0.428000] nand: 128MiB, SLC, page size: 2048, OOB size: 64
[    0.440000] Scanning device for bad blocks
[    0.524000] Bad eraseblock 973 at 0x0000079a0000
[    0.532000] 4 ofpart partitions found on MTD device 10000000.nand-parts
[    0.536000] Creating 4 MTD partitions on "10000000.nand-parts":
[    0.544000] 0x000000000000-0x000000040000 : "uboot"
[    0.552000] 0x000000040000-0x000000060000 : "uboot-env"
[    0.556000] 0x000000060000-0x000000260000 : "kernel"
[    0.564000] 0x000000260000-0x000008000000 : "ubi"
[    0.676000] libphy: lantiq,xrx200-mdio: probed
[    0.684000] net-xrx200: invalid MAC, using random
[    0.752000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:00, irq=-1)
[    0.820000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:01, irq=-1)
[    0.888000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:11, irq=-1)
[    0.956000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.4] (phy_addr=0:13, irq=-1)
[    1.024000] eth0: attached PHY [Lantiq XWAY VR9 GPHY 11G v1.3] (phy_addr=0:05, irq=-1)
[    1.032000] wdt 1f8803f0.watchdog: Init done
[    1.040000] TCP: cubic registered
[    1.044000] NET: Registered protocol family 17
[    1.048000] 8021q: 802.1Q VLAN Support v1.8
[    1.056000] UBI: auto-attach mtd3
[    1.060000] UBI: attaching mtd3 to ubi0
[    1.244000] UBI: scanning is finished
[    1.256000] UBI: attached mtd3 (name "ubi", size 125 MiB) to ubi0
[    1.260000] UBI: PEB size: 131072 bytes (128 KiB), LEB size: 129024 bytes
[    1.268000] UBI: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[    1.276000] UBI: VID header offset: 512 (aligned 512), data offset: 2048
[    1.280000] UBI: good PEBs: 1004, bad PEBs: 1, corrupted PEBs: 0
[    1.288000] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128
[    1.296000] UBI: max/mean erase counter: 18/6, WL threshold: 4096, image sequence number: 141975943
[    1.304000] UBI: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 19
[    1.312000] UBI: background thread "ubi_bgt0d" started, PID 234
[    1.320000] mtd: device 4 (rootfs) set to be root[    1.348000] UBIFS: background thread "ubifs_bgt0_0" started, PID 240
[    1.420000] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[    1.424000] UBIFS: LEB size: 129024 bytes (126 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[    1.432000] UBIFS: FS size: 125153280 bytes (119 MiB, 970 LEBs), journal size 9033728 bytes (8 MiB, 71 LEBs)
[    1.444000] UBIFS: reserved for root: 0 bytes (0 KiB)
[    1.448000] UBIFS: media format: w4/r0 (latest is w4/r0), UUID 357A16B1-19AA-4711-B199-BA1C9FE366C1, small LPT model
[    1.460000] VFS: Mounted root (ubifs filesystem) on device 0:10.
[    1.464000] Freeing unused kernel memory: 164K (80427000 - 80450000)
procd: Console is alive
procd: - watchdog -
[    1.764000] IFXUSB: ifxusb_hcd: version 3.2 B110801
[    1.772000] Chip Version :01c0 BurstSize=0
[    2.372000] IFXUSB: USB core #0 soft-reset
[    2.676000] IFXUSB: USB core #0 soft-reset
[    2.680000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[    2.684000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 1
[    2.692000] ifxusb_hcd ifxusb_hcd: irq 62, io mem 0xbe101000
[    2.696000] IFXUSB: Init: Power Port (0)
[    2.704000] hub 1-0:1.0: USB hub found
[    2.704000] hub 1-0:1.0: 1 port detected
[    3.212000] IFXUSB: USB core #1 soft-reset
[    3.512000] IFXUSB: USB core #1 soft-reset
[    3.516000] ifxusb_hcd ifxusb_hcd: IFX USB Controller
[    3.520000] ifxusb_hcd ifxusb_hcd: new USB bus registered, assigned bus number 2
[    3.528000] ifxusb_hcd ifxusb_hcd: irq 91, io mem 0xbe106000
[    3.532000] IFXUSB: Init: Power Port (0)
[    3.540000] hub 2-0:1.0: USB hub found
[    3.540000] hub 2-0:1.0: 1 port detected
[    3.544000] ifxusb_hcd ifxusb_hcd: requested GPIO 233
procd: - preinit -
[    3.860000] random: mktemp urandom read with 14 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
[    4.172000] usb 1-1: new high-speed USB device number 2 using ifxusb_hcd
[    4.676000] random: nonblocking pool is initialized
[    6.552000] eth0: port 0 got link
[    6.980000] UBI error: ubi_open_volume: cannot open device 0, volume 0, error -16
Could not open mtd device: /dev/mtd4
reading rootfs failed
mounting /dev/root
procd: - early -
procd: - watchdog -
procd: - ubus -
procd: - init -
Please press Enter to activate this console.
[    9.784000] IFXOS, Version 1.5.14 (c) Copyright 2009, Lantiq Deutschland GmbH


[    9.888000] NET: Registered protocol family 10
[    9.904000] NET: Registered protocol family 8
[    9.908000] NET: Registered protocol family 20
[    9.924000] PPP generic driver version 2.4.2
[    9.936000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[    9.980000] MEI CPE Driver, Version 1.2.0


[    9.984000] (c) Copyright 2009, Infineon Technologies AG
[    9.984000] 
### MEI CPE - MEI CPE - MEI CPE - MEI CPE ###



Lantiq CPE API Driver version: DSL CPE API V4.11.4
[   10.040000] 
[   10.040000] Predefined debug level: 2
[   10.052000] Loading modules backported from Linux version master-2014-11-04-0-gf3660a2
[   10.060000] Backport generated by backports.git backports-20141023-2-g4ff890b
[   10.072000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   10.088000] Infineon Technologies DEU driver version 2.0.0 
[   10.092000] IFX DEU DES initialized (multiblock).
[   10.096000] IFX DEU AES initialized (multiblock).
[   10.100000] IFX DEU ARC4 initialized (multiblock).
[   10.104000] IFX DEU SHA1 initialized.
[   10.108000] IFX DEU MD5 initialized.
[   10.112000] IFX DEU SHA1_HMAC initialized.
[   10.116000] IFX DEU MD5_HMAC initialized.
[   10.140000] nf_conntrack version 0.5.0 (1959 buckets, 7836 max)
[   10.164000] NET: Registered protocol family 24
[   10.192000] xt_time: kernel timezone is -0000
[   10.268000] cfg80211: Calling CRDA to update world regulatory domain
[   10.276000] cfg80211: World regulatory domain updated:
[   10.276000] cfg80211:  DFS Master region: unset
[   10.284000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   10.292000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.300000] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   10.308000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   10.316000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   10.324000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   10.332000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   10.340000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   10.348000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[   10.588000] PCI: Enabling device 0000:00:0e.0 (0000 -> 0002)
[   10.592000] rt2800pci 0000:00:0e.0: failed to load eeprom property
[   10.600000] ieee80211 phy0: rt2x00lib_request_eeprom_file: Info - Loading EEPROM data from 'RT3062.eeprom'.
[   10.612000] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 3572, rev 0223 detected
[   10.616000] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0008 detected
/etc/rc.common: line 138: esi: not found
procd: - init complete -
[   17.360000] device eth0.1 entered promiscuous mode
[   17.364000] device eth0 entered promiscuous mode
[   17.376000] br-lan: port 1(eth0.1) entered forwarding state
[   17.380000] br-lan: port 1(eth0.1) entered forwarding state
[   17.892000] cfg80211: Calling CRDA for country: NL
[   17.900000] cfg80211: Regulatory domain changed to country: NL
[   17.904000] cfg80211:  DFS Master region: ETSI
[   17.908000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   17.916000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   17.924000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   17.936000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   17.944000] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
[   17.952000] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
[   19.144000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2860.bin'
[   19.156000] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.34
[   19.284000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.384000] br-lan: port 1(eth0.1) entered forwarding state
[   20.912000] wlan0: authenticate with ce:5d:4e:0a:77:fc
[   20.940000] wlan0: send auth to ce:5d:4e:0a:77:fc (try 1/3)
[   20.944000] wlan0: authenticated
[   20.952000] wlan0: associate with ce:5d:4e:0a:77:fc (try 1/3)
[   20.960000] wlan0: RX AssocResp from ce:5d:4e:0a:77:fc (capab=0xc11 status=0 aid=1)
[   20.964000] wlan0: associated
[   20.968000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready



BusyBox v1.22.1 (2015-01-26 12:10:32 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, r44147)
 -----------------------------------------------------
  * 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@DG_OpenWrt_01:/# uanmename -a
Linux DG_OpenWrt_01 3.14.29 #1 Mon Jan 26 12:27:17 CET 2015 mips GNU/Linux
root@DG_OpenWrt_01:/#
admin
Site Admin
Posts: 478
Joined: 06 Feb 2007, 13:36

Re: Own build: OpenWrt Chaos Calmer r44147

Post by admin »

Privoxy on P-2812HNU-Fx
As from today there's a new version of luci-app-privoxy (1.0.2-0). Removed the old version 1.0.1 and installed this new version.
Now the web Gui Services / Privoxy WEB proxy returns:

Code: Select all

/usr/lib/lua/luci/dispatcher.lua:430: Failed to execute cbi dispatcher target for entry '/admin/services/privoxy'.
The called action terminated with an exception:
/usr/lib/lua/luci/model/cbi/privoxy/detail.lua:28: attempt to concatenate field 'PRIVOXY_MIN' (a nil value)
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:430: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:171: in function </usr/lib/lua/luci/dispatcher.lua:170>
Needs further investigation...
admin
Site Admin
Posts: 478
Joined: 06 Feb 2007, 13:36

Re: Own build: OpenWrt Chaos Calmer r44147

Post by admin »

Privoxy on P-2812HNU-Fx
After rebuilding complete new package with both Privoxy 3.0.22 and luci-app-privoxy 1.0.2-0 it works fine!
Even build a package with file: RT3062.eeprom included, just make a 'files/lib/firmware' folder on the openWRT-build-path, place RT3062.eeprom (or any other file/folder) you want on the router-firmware package before 'make'.
But you have to follow the start of this topic, as the first run of make with Privoxy will end in error !
The fix is also mentioned.
Post Reply