Hello everyone i'm new to open wrt
i'm trying to put openwrt to an edimax PS-1208mfg which is a print server
specifications :
CPU: Broadcom BCM5354 KFBG rev3 at 240MHz (0x29029)
FLASH: MX29LV160CBTC (2MB BotB nor flash)
RAM: 32MB
Serial port
Jtag port
Lan: Broadcom BCM47xx 100/100 Mbps Ethernet Controller 4.130.25.0
1 lan port
Wlan: eth1: Broadcom BCM4318 802.11 Wireless Controller 4.130.28.0
1 USB 2.0 Host port (PCI ID: 14e4:471a)
Reset button, Lan, Wlan, Status LEDs
Actually edimax hasn't released the firmware but it runs a modified linux by default. We have been able to dump the firmware from the device
http://clemworkbench.fr/images/firmware.bin
The original compressed CFE is also modified to boot only firmware with edimax header.
After some research it seems to be a kind of CSYS header which is used by edimax :
edimax ps-1208mfg firmware header :
50 53 31 36 02 B0 1A 00 00 00 50 80 48 44 52 30 | PS16......P.HDR0
edimax ps-1210mfp firmware header :
50 53 30 42 02 C0 0A 00 00 00 50 80 73 68 73 71 | PS0B......P.shsq
50 53 31 36 | 02 B0 1A 00 | 00 00 50 80
| | |
Signature | start adress
|
length in little endian
the signature for this device is PS16
then the start adress doesn't seems to be used as it can be modified without crashing the boot of the original firmware.
I have compile open-wrt backfire from the svn to make a 1,6Mb version (using brcm2.4 and removing all the useless function) and i have added the header with the right size for it but it doesn't seems to boot properly as i haven't any serial output :/ (maybe the serial is misconfigured in the kernel)
here is the output :
CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: ?? 11?? 30 21:57:42 CST 2007 (root@Hinet)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.
Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x20000)
et0: Broadcom BCM47xx 100/100 Mbps Ethernet Controller 4.130.25.0
CPU type 0x29029: 240MHz
Total memory: 32768 KBytes
Total memory used by CFE: 0x80300000 - 0x8039A300 (631552)
Initialized Data: 0x803302C0 - 0x80332890 (9680)
BSS Area: 0x80332890 - 0x80334300 (6768)
Local Heap: 0x80334300 - 0x80398300 (409600)
Stack Area: 0x80398300 - 0x8039A300 (8192)
Text (code) segment: 0x80300000 - 0x803302C0 (197312)
Boot area (physical): 0x0039B000 - 0x003DB000
Relocation Factor: I:00000000 - D:00000000
Device eth0: hwaddr 00-1F-1F-49-5A-6B, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
get id=650
Open device flash0.setting success
upgrade flag=0
Loader:raw Filesys:tftp Dev:eth0 File:: Options:(null)
Loading: Failed.
Could not load :: Timeout occured*************
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3856 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
in fact when i try to ping the device, the network led is blinking but it doesn't answer...is this led driven by hardware ?
it seems the problem is like this one : http://open-wrt.ru/forum/viewtopic.php?id=14856
anyway any help would be appreciated.
thanks
(Last edited by clem-vangelis on 6 Aug 2011, 17:41)