OpenWrt Forum Archive

Topic: Backfire Installation fail ...!!!

The content of this topic has been archived on 26 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi

I have problems with installing latest 10.03.1RC3 backfire openwrt firmware release
from 21.Dez.2011 on Avila Gateworks GW2348-4, because LUCI do not open correctly GUI



Here is my flashing procedure

Hardware: Avila GW2348-4 with two Ubiquiti XR2, xmodem console RS232 (115200bps), WinXP

RedBoot> fis init
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .

RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00080000  0x00000000
FIS directory     0x50FE0000  0x50FE0000  0x0001F000  0x00000000
RedBoot config    0x50FFF000  0x50FFF000  0x00001000  0x00000000
RedBoot>

RedBoot> load -r -b %{FREEMEMLO} -m xmodem
CCC Raw file loaded 0x00029c00-0x000ff433, assumed entry at 0x00029c00
xyzModem - CRC mode, 6833(SOH)/0(STX)/0(CAN) packets, 3 retries
RedBoot>

RedBoot> fis create linux
... Erase from 0x50080000-0x50160000: .......
... Program from 0x00029c00-0x000ff434 at 0x50080000: .......
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot>

RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00080000  0x00000000
linux             0x50080000  0x00029C00  0x000E0000  0x00029C00
FIS directory     0x50FE0000  0x50FE0000  0x0001F000  0x00000000
RedBoot config    0x50FFF000  0x50FFF000  0x00001000  0x00000000
RedBoot>

RedBoot> fis free
  0x50160000 .. 0x50FE0000
RedBoot>

0x50FE000 minus 0x50160000 equals 0xe80000


RedBoot> load -r -b %{FREEMEMLO} -m xmodem
CCC Raw file loaded 0x00029c00-0x001e9bff, assumed entry at 0x00029c00
xyzModem - CRC mode, 14336(SOH)/0(STX)/0(CAN) packets, 3 retries
RedBoot>

RedBoot> fis create -l 0xe80000 rootfs
... Erase from 0x50160000-0x50fe0000: ..........................................
..........................................................................
... Program from 0x00029c00-0x001e9c00 at 0x50160000: ..............
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00080000  0x00000000
linux             0x50080000  0x00029C00  0x000E0000  0x00029C00
rootfs            0x50160000  0x00029C00  0x00E80000  0x00029C00
FIS directory     0x50FE0000  0x50FE0000  0x0001F000  0x00000000
RedBoot config    0x50FFF000  0x50FFF000  0x00001000  0x00000000
RedBoot>


RedBoot> fconfig
Run script at boot: true
Boot script:
.. fis load linux
.. exec
Enter script, terminate with empty line
>> fis load linux
>> exec
>>
Boot script timeout (100ms resolution): 25
Use BOOTP for network configuration: false
Gateway IP address: 192.168.168.1
Local IP address: 192.168.168.88
Local IP address mask: 255.255.255.0
Default server IP address: 213.146.230.3
Console baud rate: 115200
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
Default network device: npe_eth0
Update RedBoot non-volatile configuration - continue (y/n)? y
... Unlock from 0x50fe0000-0x51000000: .
... Erase from 0x50fe0000-0x51000000: .
... Program from 0x03fe0000-0x04000000 at 0x50fe0000: .
... Lock from 0x50fe0000-0x51000000: .
RedBoot>

RedBoot> reset
... Resetting.
+No devices on IDE controller 0

Trying NPE-B...success. Using NPE-B with PHY 0.
Ethernet eth0: MAC address 00:d0:12:08:8f:aa
IP: 192.168.168.88/255.255.255.0, Gateway: 192.168.168.1
Default server: 213.146.230.3

RedBoot(tm) bootstrap and debug environment [ROM]
Gateworks certified release, version 2.02 - built 05:22:19, Mar  3 2006

Platform: Gateworks Avila GW234X (IXP42X 533MHz) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.
Copyright (C) 2004, 2005 Gateworks Corporation

RAM: 0x00000000-0x04000000, [0x000298b0-0x03fc1000] available
FLASH: 0x50000000 - 0x51000000, 128 blocks of 0x00020000 bytes each.
== Executing boot script in 2.500 seconds - enter ^C to abort
RedBoot> fis load linux
RedBoot> exec
Using base address 0x00029c00 and length 0x000d5834
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.32.27 (jow@nd-build-02.linux-appliance.net) (gcc version 4.3.3
(GCC) ) #5 Wed Dec 21 05:58:17 CET 2011
CPU: XScale-IXP42x Family [690541c1] revision 1 (ARMv5TE), cr=000039ff
CPU: VIVT data cache, VIVT instruction cache
Machine: Gateworks Avila Network Platform
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd cons
ole=ttyS0,115200
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 62380KB available (2200K code, 165K data, 100K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:64
Calibrating delay loop... 532.48 BogoMIPS (lpj=2662400)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers enabled
pci 0000:00:02.0: dmabounce: registered device
bio: create slab <bio-0> at 0
i2c-gpio i2c-gpio.0: using pins 7 (SDA) and 6 (SCL)
Switching to clocksource OSTS
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
IXP4xx Queue Manager initialized.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
Registering mini_fo version $Id$
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
msgmni has been set to 121
io scheduler noop registered
io scheduler deadline registered (default)
gpiodev: gpio device registered with major 253
gpiodev: gpio platform device registered with access mask 000002AA
Serial: 8250/16550 driver, 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale
at24 0-0051: 1024 byte 24c08 EEPROM (read-only)
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x0031
Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0xfe0000
5 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 5 MTD partitions on "IXP4XX-Flash.0":
0x000000000000-0x000000080000 : "RedBoot"
0x000000080000-0x000000160000 : "linux"
0x000000160000-0x000000fe0000 : "rootfs"
mtd: partition "rootfs" set to be root filesystem
mtd: partition "rootfs_data" created automatically, ofs=300000, len=CE0000
0x000000300000-0x000000fe0000 : "rootfs_data"
0x000000fe0000-0x000000fff000 : "FIS directory"
0x000000fff000-0x000001000000 : "RedBoot config"
IXP4xx MII Bus: probed
rtc-ds1672 0-0068: chip found, driver version 0.4
rtc-ds1672 0-0068: rtc core: registered rtc-ds1672 as rtc0
rtc-ds1672 0-0068: Oscillator not enabled. Set time to enable.
i2c /dev entries driver
ad7418 0-0028: ad7418 chip found
ad7418 0-0028: configuring for mode 1
IXP4xx Watchdog Timer: heartbeat 60 sec
TCP westwood registered
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
XScale DSP coprocessor detected.
eth0: MII PHY 0 on NPE-B
eth1: MII PHY 1 on NPE-C
Registered led device: user
rtc-ds1672 0-0068: setting system clock to 1991-08-14 13:27:56 UTC (682176476)
VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
Freeing init memory: 100K
Please be patient, while OpenWrt loads ...
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
jffs2 not ready yet; using ramdisk
mini_fo: using base directory: /
mini_fo: using storage directory: /tmp/root
- init -

Please press Enter to activate this console. net eth0: firmware: requesting NPE-
B
NPE-B: firmware's license can be found in /usr/share/doc/LICENSE.IPL
NPE-B: firmware functionality 0x2, revision 0x2:1
device eth0 entered promiscuous mode
br-lan: port 1(eth0) entering forwarding state
PPP generic driver version 2.4.2
ip_tables: (C) 2000-2006 Netfilter Core Team
br-lan: port 1(eth0) entering disabled state
NET: Registered protocol family 24
nf_conntrack version 0.5.0 (977 buckets, 3908 max)
CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
ath_hal: module license 'Proprietary' taints kernel.
Disabling lock debugging due to kernel taint
ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5
413, RF2133, RF2425, REGOPS_FUNC, XR)
ath_pci: trunk
wlan: trunk
wlan: mac acl policy registered
ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
ath_rate_minstrel: look around rate set to 10%
ath_rate_minstrel: EWMA rolloff level set to 75%
ath_rate_minstrel: max segment size in the mrr set to 6000 us
PCI: enabling device 0000:00:02.0 (0340 -> 0342)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5413: mem=0x48000000, irq=27
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker...


BusyBox v1.15.3 (2011-11-24 05:03:21 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
Backfire (10.03.1, r29592) ------------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
---------------------------------------------------
root@OpenWrt:/#



root@OpenWrt:/# done.
mini_fo: using base directory: /
mini_fo: using storage directory: /overlay
eth0: link up, speed 100 Mb/s, full duplex
br-lan: port 1(eth0) entering forwarding state



now connect ethernet, open 192.168.1.1

1 second black screen with “LuCI – Lua Configuration Interface” apear on the top of the page...
After 2 seconds just white screen ??? who is the GUI ?


?????????????????????????????????????????????????????????


Thanks

Dirk

Some pictures...

after opening 192.168.1.1
http://www10.pic-upload.de/thumb/16.07.12/t9wqdhra24d9.jpg

one second later...  who is the GUI???
http://www7.pic-upload.de/thumb/16.07.12/o8zk6w3qcocu.jpg

http://www7.pic-upload.de/thumb/16.07.12/7vcnxbb14ve.jpg

(Last edited by Dirk-UK2 on 16 Jul 2012, 13:10)

the latest running Version is Backfire 10.03.1 rc3

every newer release not working (;-<

Seems like a memory probleme?!?

Thanks

Dear programmers of DDWRT


THIS VERSION of OPENWRT IS NOT RUNNING on AVILA GW2348-4 Wifi Routerboards

I also try several Versions from the link below... without any problems...!!!

http://firmware.pberg.freifunk.net/backfire/


Regards

http://www10.pic-upload.de/thumb/17.07.12/lx99hsfkueiw.jpg

(Last edited by Dirk-UK2 on 17 Jul 2012, 14:14)

Dirk-UK2 wrote:

Dear programmers of DDWRT
http://www10.pic-upload.de/thumb/17.07. … fkueiw.jpg

Dear programmers of DDWRT <-----Hello this is the OpenWrt forum....

Someone built some firmware on OpenWrt...and it doesn't work...that's no surprise.

BusyBox v1.15.3 (2011-11-24 05:03:21 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
Backfire (10.03.1, r29592) ------------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
---------------------------------------------------
root@OpenWrt:/#

Looks like OpenWrt is working.....The problem likely is elsewhere.
try going to
http://trac.gateworks.com/

The discussion might have continued from here.