|
r7000 到手十天了
ddwrt常推的 openwrt的 optwrae 也试过
entware 也试过
都不带编译环境
想跑 wallproxy 海淘 需要自己编译 arm版的 gevent 上面几个 源都不带编译环境
http://ipkg.nslu2-linux.org/feed ... ering/cross/stable/
也有 arm 的源 不过他的程序版本都太古老了
找了几天终于找到一个有更新的 optware版本用了
mipsel 版本他也有
有需要的自己去试试看
Optware-ng[gcc-4.9.2][uClibc-0.9.33.2]
作者发在 ddwrtt的帖子
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=280188
Compatibility
ARM:
Feed's binaries are designed to use libraries from /opt/... only, so as long as your architecture is ARM and the kernel supports EABI binary interface (unless you're running something insanely ancient, it does), it should work. What can cause problems though, is if LD_LIBRARY_PATH environment variable contains a path where a different uClibc build is installed: in this case you can have odd segfault issues. If an executable crashes with a segfault, try to unset LD_LIBRARY_PATH first.
MIPSEL:
Should work on any MIPSEL mips32r2 target, and all more or less recent ones are mips32r2. The LD_LIBRARY_PATH notice from the ARM section should be noted here too.
Despite all this, I don't test the feeds on DD-WRT routers, so any kind of feedback is appreciated.
Installing
To bootstrap the feed, first make sure that your desired medium (usb/jffs/etc..) is mounted on /opt and then run these commands:
Step 1.1 For ARM run:
Code: | feed=http://optware-ng.zyxmon.org/buildroot-armeabi |
Step 1.2 For MIPSEL:
Code: | feed=http://optware-ng.zyxmon.org/buildroot-mipsel |
Step 2 For both ARM and MIPSEL run:
Code: | cd /tmp
ipk_name=$(wget -qO- $feed/Packages | awk '/^Filename: ipkg-static/ {print $2}')
wget $feed/$ipk_name
tar -xvzf $ipk_name ./data.tar.gz
tar -C / -xzvf data.tar.gz
echo "src/gz alllexx $feed" > /opt/etc/ipkg.conf
echo "dest /opt/ /" >> /opt/etc/ipkg.conf |
And then use /opt/bin/ipkg-static the way you'd use ipkg-opt from original Optware. Don't bother to manually install uclibc-opt, since packages from the feed all depend on it, so it's installed automatically (except for ipkg-static, which is a static binary).
源码
https://github.com/alllexx88/Optware-ng
|
|