[AR7] Building 1.4.7
Posted: Sun Jan 13, 2013 12:58 pm
Hi,
A week ago, I successfully built 1.5.9 for AR7, but found some problems with OpenWRT (Attitude Adjustment RC1) itself, and filed appropriate bugs to hopefully fix:
#12779: LAN not working with current AR7 on DSL-2640T (ADM6996M)
#12789: TNETW1350 not detected with current AR7 on DSL-2640T (regression)
Now, since backfire 10.03.1 seemed to work fine, I decided to build 1.4.7, which I know is based on backfire.
Unfortunately, the 1.4.7 build consistently fails, always ending with the following lines:
It seems if I keep running `make custom`, it will build another tool, then break with same lines above.
I noticed also on subsequent `make custom` run, the .config gets reset to the config from 'targets/custom/profiles/default/config'.
I then did:
to reapply my config changes.
Then copy to new 'custom-ar7' target, and build with it:
but still end up with the errors quoted above.
I looked at the rebuild.sh script to see what its looking for in bin, and it looked like it simply runs ls in bin to get the architecture name. So I tried to create it and rebuild:
but end up with:
Same occurs if I used "custom" profile and created the 'custom-src/bin/ar7'.
I'm stuck at this stage. Any help would be appreciated.
A week ago, I successfully built 1.5.9 for AR7, but found some problems with OpenWRT (Attitude Adjustment RC1) itself, and filed appropriate bugs to hopefully fix:
#12779: LAN not working with current AR7 on DSL-2640T (ADM6996M)
#12789: TNETW1350 not detected with current AR7 on DSL-2640T (regression)
Now, since backfire 10.03.1 seemed to work fine, I decided to build 1.4.7, which I know is based on backfire.
Unfortunately, the 1.4.7 build consistently fails, always ending with the following lines:
Code: Select all
make[2]: *** [/usr/src/tarballs/gargoyle-1.4/gargoyle/custom-ar7-src/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.tools_install_nnynn] Error 2
make[2]: Leaving directory `/usr/src/tarballs/gargoyle-1.4/gargoyle/custom-ar7-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/usr/src/tarballs/gargoyle-1.4/gargoyle/custom-ar7-src'
ls: cannot access bin: No such file or directory
ls: cannot access bin: No such file or directory
I noticed also on subsequent `make custom` run, the .config gets reset to the config from 'targets/custom/profiles/default/config'.
I then did:
Code: Select all
cd custom-src
make menuconfig
cd..
Then copy to new 'custom-ar7' target, and build with it:
Code: Select all
mkdir -p targets/custom-ar7/profiles/default
cp custom-src/.config targets/custom-ar7/profiles/default/config
make custom-ar7
I looked at the rebuild.sh script to see what its looking for in bin, and it looked like it simply runs ls in bin to get the architecture name. So I tried to create it and rebuild:
Code: Select all
mkdir -p custom-ar7-src/bin/ar7
make custom-ar7
Code: Select all
make[2]: *** [/usr/src/tarballs/gargoyle-1.4/gargoyle/custom-ar7-src/staging_dir/target-mipsel_uClibc-0.9.30.1/stamp/.tools_install_nnynn] Error 2
make[2]: Leaving directory `/usr/src/tarballs/gargoyle-1.4/gargoyle/custom-ar7-src'
make[1]: *** [world] Error 2
make[1]: Leaving directory `/usr/src/tarballs/gargoyle-1.4/gargoyle/custom-ar7-src'
I'm stuck at this stage. Any help would be appreciated.