Hi,
Tried to build a Cross-Compiling platform to compile the firmware:
-rw-r--r-- 1 root root 273177367 May 29 2005 GPL_1927.zip
-rw-r--r-- 1 root root 2015762 Jun 24 2005 hndtools-mipsel-uclibc-3.2.3-full.tar.bz2
-rw-r--r-- 1 root root 16200754 Jun 11 18:51 wl500g-1.9.2.7-7e.tar.bz2
Files that I got from from oleg's Page http://wl500g.dyndns.org/
Using
Code:
#!/bin/sh
OLEG=wl500g-1.9.2.7-7e
if [ -d broadcom ]; then
echo "Removing old broadcom tree..."
rm -rf broadcom
fi
echo "Unpacking Asus GPL source..."
tar xzf GPL_1927.zip
echo "Unpacking OLEG source..."
tar -C broadcom/src/ -xjf ${OLEG}.tar.bz2
if [ ! -G /opt ]; then
echo "You should create /opt as root:"
echo "mkdir /opt && chgrp users /opt && chmod g+w /opt"
echo "Then continue as regular user!"
exit 1
fi
if [ -d /opt/brcm ]; then
echo "Removing old toolchain..."
rm -rf /opt/brcm
fi
echo "Installing broadcom toolchain..."
mv broadcom/opt/brcm /opt
BRCM="/opt/brcm/hndtools-mipsel"
PATH=${BRCM}-linux/bin:${BRCM}-uclibc/bin:${PATH}
export PATH
cd broadcom/src/${OLEG}
echo "Creating uClibc..."
make uClibc
echo "Creating kernel..."
make kernel
echo "Creating gateway..."
make
echo "Compiling gateway..."
cd ../gateway
make
echo "Creating firmware..."
make image-WL500g
No error but the result files are different from OLEG's
11/22/2006 04:06a 3,489,792 WL500g-1.9.2.7-7e.trx mine
06/11/2006 09:25p 3,751,936 WL500g-1.9.2.7-7e.trx Oleg’s
I also tried to compile the http://code.ximeta.com/trac-ndas/wiki/OpenWRT
ndas-1.0.1-23.tar.gz that compile without problems but them...
The modules load OK but
-r-xr-xr-x 1 root 46687 Nov 22 00:04 ndasadmin
[@wl500g tmp]$ ./ndasadmin
-sh: ./ndasadmin: not found
Can someone help me on these 2 problems?