noblepepper wrote:The version or magic file is probably why file is not showing as much information as I get. I use debian 8.1 which installs file 5.22. In any case linking against a library that isn't on the target will definitely cause problems.And how do you have uClibc toolchain ? I did a crosscompiling environment like on the wiki and I only have musl toolchain
I think a more relevant question is how you got a musl toolchain. You are not the first, see this post
I started working on a topic about setting up a development environment from start to finish on my wiki but got sidetracked trying figure out how my hosting company hosed the icons.
Until I get that done I recommend using the new stable release of openwrt. If you install git on your development box you can get started with:
- Code: Select all
git clone git://git.openwrt.org/15.05/openwrt.git
./scripts/feeds update -a
./scripts/feeds install -a
Change the firmware size in targets/linux/ramips/dts/VOCORE.dts fromto
- Code: Select all
partition@50000 {
label = "firmware";
reg = <0x50000 0x7b0000>;
};
- Code: Select all
partition@50000 {
label = "firmware";
reg = <0x50000 0xfb0000>;
};
then use make menuconfig to set everything up how you want it. The most important settings areI recommend marking LUCI as part of the image (with a * not a m) so it is available after you flash the image.
- Code: Select all
Target System (Ralink RT288x/RT3xxx)
Subtarget (RT3x5x/RT5350 based boards)
Target Profile (VoCore)
If I do this will it erase all my network settings ? or does it just upgrade system files ?