Hello,
I'm new to this forum, currently trying to get OpenWrt running on a Huawei E970 wireless gateway.
The device has a Broadcom BCM5354 SoC and uses CFE.
What I've done so far:
* found and connected a serial console to access CFE's commandline
* successfully flashed the original firmware via CFE to have a working fallback
* created a new brcm47xx image using image builder
Now, when I flash the *-squashfs.trx onto the router, upon booting it says "Decompressing......done", then just reboots CFE. The commandline I used:
CFE> flash -noheader 192.168.1.5:openwrt-brcm47xx-squashfs.trx flash1.trx
Just for a test, I successfully booted the new kernel from tftp:
CFE> boot -addr=80001000 -max=3000000 192.168.1.5:vmlinux
Loader:raw Filesys:tftp Dev:eth0 File:192.168.1.5:vmlinux Options:(null)
Loading: ........... 2893968 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
Linux version 2.6.32.27 (jow@nd-build-02.linux-appliance.net) (gcc version 4.3.3 (GCC) ) #11 Sun Oct 30 19:48:44 CET 2011
CPU revision is: 00029029 (Broadcom BCM3302)
...
It got until (I think) it wanted to mount the root fs which obviously cannot succeed.
Here the last lines of its output:
flash init: 0x1c000000 0x02000000
Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
CFI mfr 0x00000001
CFI id 0x00001a01
Amd/Fujitsu Extended Query Table at 0x0040
Amd/Fujitsu Extended Query version 1.3.
Physically mapped flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Flash device: 0x400000 at 0x1fc00000
bootloader size: 262144
Updating TRX offsets and length:
old trx = [0x0000001c, 0x000b21e0, 0x00000000], len=0x00285000 crc32=0xa1bf49ce
new trx = [0x0000001c, 0x000b21e0, 0x00000000], len=0x000b21e0 crc32=0x669b3aff
Decompressing...........done
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: <C8><FD> 2<D4><C2> 13 14:50:54 CST 2008 (w114501@localhost.localdomain)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
After that the original firmware in flash was broken (I assume because of the "Updating TRX" above?).
Does anybody have an idea what could be going wrong?
My goal is to create a working openwrt image which can be flashed to the router device.