jow wrote:And whats the actual problem?
I can not get it to work.
I was hoping for a pointer for a tutorial around backfire.
Lacking that... Here goes...
I deleted every thing that I have done to date in an attempt to start over as cleanly as possible.
I followed this guide
http://wiki.openwrt.org/doc/howto/obtai … re.compile
Exact steps as follows:
svn checkout svn://svn.openwrt.org/openwrt/tags/backfire_10.03
{no errors Reports checked out 27964}
cd backfire_10.03
svn update
{at 27964}
./scripts/feeds update -a
{Checked out Rev 7363}
./scripts/feeds install -a
make defconfig
{no errors}
make menuconfig
Target System ATHEROS AR71xx.....
Target Profile Buffalo WZR-HP-G300NH
Build SDK
Build Openwrt based tool chain
make
...failed here
find /home/burt/backfire_10.03/build_dir/target-mips_r2_uClibc-0.9.30.1/OpenWrt-SDK-ar71xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1 -name CVS | xargs -r rm -rf
(cd /home/burt/backfire_10.03/build_dir/target-mips_r2_uClibc-0.9.30.1; \
tar cfj /home/burt/backfire_10.03/bin/ar71xx/OpenWrt-SDK-ar71xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1.tar.bz2 OpenWrt-SDK-ar71xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-
0.9.30.1; \
)
make[3]: Leaving directory `/home/burt/backfire_10.03/target/sdk'
make[3]: Entering directory `/home/burt/backfire_10.03/target/toolchain'
rm -rf /home/burt/backfire_10.03/build_dir/target-mips_r2_uClibc-0.9.30.1/OpenWrt-Toolchain-ar71xx-for-mips-gcc-4.3.3+cs_uClibc-0.9.30.1 /home/burt/backfire_10.03/bin/ar71xx/OpenWrt-Tool
chain-ar71xx-for-mips-gcc-4.3.3+cs_uClibc-0.9.30.1.tar.bz2
mkdir -p /home/burt/backfire_10.03/build_dir/target-mips_r2_uClibc-0.9.30.1/OpenWrt-Toolchain-ar71xx-for-mips-gcc-4.3.3+cs_uClibc-0.9.30.1
/bin/tar -cf - -C /home/burt/backfire_10.03/staging_dir/ \
--exclude="*/ccache" --exclude="*/stamp" --exclude="*/stampfiles" --exclude="*/man" --exclude="*/info" \
toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1 | \
/bin/tar -xf - -C /home/burt/backfire_10.03/build_dir/target-mips_r2_uClibc-0.9.30.1/OpenWrt-Toolchain-ar71xx-for-mips-gcc-4.3.3+cs_uClibc-0.9.30.1
/bin/tar: toolchain-mips_gcc-4.3.3+cs_uClibc-0.9.30.1: Cannot stat: No such file or directory
/bin/tar: Exiting with failure status due to previous errors
cp -fpR /home/burt/backfire_10.03/LICENSE ./files/README.TOOLCHAIN \
/home/burt/backfire_10.03/build_dir/target-mips_r2_uClibc-0.9.30.1/OpenWrt-Toolchain-ar71xx-for-mips-gcc-4.3.3+cs_uClibc-0.9.30.1/
cp -fpR ./files/wrapper.sh /home/burt/backfire_10.03/build_dir/target-mips_r2_uClibc-0.9.30.1/OpenWrt-Toolchain-ar71xx-for-mips-gcc-4.3.3+cs_uClibc-0.9.30.1/toolchain-mips_gcc-4.3.3+cs_u
Clibc-0.9.30.1/usr/bin/mips-openwrt-linux-uclibc-wrapper.sh
cp: cannot create regular file `/home/burt/backfire_10.03/build_dir/target-mips_r2_uClibc-0.9.30.1/OpenWrt-Toolchain-ar71xx-for-mips-gcc-4.3.3+cs_uClibc-0.9.30.1/toolchain-mips_gcc-4.3.3
+cs_uClibc-0.9.30.1/usr/bin/mips-openwrt-linux-uclibc-wrapper.sh': No such file or directory
make[3]: *** [/home/burt/backfire_10.03/bin/ar71xx/OpenWrt-Toolchain-ar71xx-for-mips-gcc-4.3.3+cs_uClibc-0.9.30.1.tar.bz2] Error 1
make[3]: Leaving directory `/home/burt/backfire_10.03/target/toolchain'
make[2]: *** [target/toolchain/install] Error 2
make[2]: Leaving directory `/home/burt/backfire_10.03'
make[1]: *** [/home/burt/backfire_10.03/staging_dir/target-mips_r2_uClibc-0.9.30.1/stamp/.target_install] Error 2
make[1]: Leaving directory `/home/burt/backfire_10.03'
It does appear that it did make the SDK but failed to start the toolchain.
In ~/backfire_10.03/bin/ar71xx$ I do have OpenWrt-SDK-ar71xx-for-Linux-i686-gcc-4.3.3+cs_uClibc-0.9.30.1.tar.bz2
So...Can I use the SDK as built or do I need to fix the rest of the make process first?
Thanks