|
|||||||
| Регистрация | FAQ | Участники | Поиск | Свежие сообщения | Пометить все разделы как прочитанные | ||||||||||||||||
| Firmware Wizard | Donate | ||||||||||||||||||||
![]() |
|
|
Опции темы | Оценить тему | Опции просмотра |
|
#61
|
|||
|
|||
|
uclibc 0.9.28 crosstoolchain based on gcc 3.3.6 / binutils 2.16 builds without error using uclibc buildroot plus openwrt uclibc config file.
There's no challenge here ![]() JF |
|
#61
|
|||
|
|||
|
#62
|
|||
|
|||
|
My suggestion is to take one step at the time.
Upgrade just uClibc to 0.9.28 and keep broadcom 3.2.3 toolchain. Here is my uClibc build script which proves this: Код:
#!/bin/sh
PATH="/opt/brcm/hndtools-mipsel-linux/bin:/opt/brcm/hndtools-mipsel-uclibc/bin:${PATH}"
export PATH
VERSION=0.9.28
UCLIBC=uClibc-${VERSION}
CONFIG=uClibc-${VERSION}.config
[ ! -f ${UCLIBC}.tar.bz2 ] && wget http://www.uclibc.org/downloads/${UCLIBC}.tar.bz2
rm -rf ${UCLIBC}
tar xjf ${UCLIBC}.tar.bz2
patch -d${UCLIBC} -p1 < Makefile.patch
make -C ${UCLIBC} clean
cat ${CONFIG} > ${UCLIBC}/.config
make -C ${UCLIBC} all install CROSS=mipsel-linux- TARGET_ARCH=mips
Of course, one should take a look for changes of patches from http://wl500g.dyndns.org/uClibc-0.9.19/ and possible reintroduction. Последний раз редактировалось oleo, 23-12-2005 в 09:49. |
|
#63
|
|||
|
|||
|
After many hours I have managed to port uClibc++ library to 3.2.3 toolchain used to build Oleg firmware. This port enabled many previously non working optware packages to start working! (eg. python, py-*, mysql, ctorrent, groff, man, mutt, nmap, nload, nagios-plugins & nrpe, appweb, cdargs, cogito, cherokee, ruby, ...) Visit http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/ for complete list of packages.
See Optware wl-500g Build FAQ page for details of this wl500g toolchain upgrade. There are still many packages that we wish to be built but they are limited with current firmware uClibc library. The biggest limitation is lack of wchar support needed by many packages. There are also some issues with linking of shared libraries (resolved in uClibc 0.9.22). I hope that with all this advances Oleg will take an effort and resolve this issues with upgrade to latest uClibc in his upcoming firmware. Here are some of my notes on still broken packages: Цитата:
Последний раз редактировалось oleo, 07-03-2006 в 14:48. |
|
#64
|
|||
|
|||
|
Feed disappeared?
All wl500g packages on http://ipkg.nslu2-linux.org/feeds/unslung/wl500g/
are gone. Does anybody have any idea what happened and when they will be back ? |
|
#65
|
|||
|
|||
|
The problem is with sourceforge which happend to change their repositories names. jp30 is responsible for update change. And maybe rwhitby will help with this. I suggest to wait a day or two for rebuild.
|
|
#66
|
|||
|
|||
|
Optware source code repository moved to svn.nslu2-linux.org
We have moved the Optware source code repository from sourceforge.net to our new svn.nslu2-linux.org site.
http://svn.nslu2-linux.org/svnroot/optware You can also browse the source with the nice Trac interface at: http://trac.nslu2-linux.org/optware If you are an Optware developer, you need an NSLU2-Linux SSL client certficate to write to the new repository. All sourceforge.net write access has been disabled. Contact me if you need a certificate. There is no change to the feed contents or location. -- Rod |
|
#67
|
|||
|
|||
|
After many rip & build cycles, buildroot uClibc toolchain is finished and
ready for testing on mipsel arch. It provides:
creates both host and target toolchain along with uClibc 0.9.28. Target uClibc is installed into /opt/lib along with loader ld-uClibc.so For testing purposes I've prebuild packages at http://www.wlan-sat.com/boleo/optware/oleg Instalation scenario should be:
For people wanting native compiling on router one should install buildroot package instead of uclibc package only. Please note that this should be clean install of /opt packages to prevent search path clashes. I have tested many packages on stock WL500gx-1.9.2.7-7f-pre4.trx and confirmed that they works as expected. Native compilation verified. Many packages now works as intended. Most notable mysql, svn, enhanced-ctorrent, elinks, ... Here is complete list of 400+ AVAILABLE packages for Oleg firmware for testing: http://www.wlan-sat.com/boleo/optware/oleg/Packages I am talking to Rod Whitby to provide official support for package download from nslu2-linux.org for Oleg and DD-WRT firmware. Последний раз редактировалось oleo, 21-07-2006 в 15:32. |
|
#68
|
|||
|
|||
|
Today official support for Oleg firmwares got additional package feed which completely replaces buggy uClibc 0.9.19 provided in firmware.
The main feature of this packages is that it installs all required files under /opt with 400+ ported applications. With buildroot toolchain is added also system library indenpendence. This means that packages now depends od /opt/lib/uClibc.so and dynamic loader also in /opt/lib with separate /opt/etc/ld-opt.so.conf for custom .so cache. Applications are built with wchar and locale support which makes uClibc library somewhat greater than other uClibc packages, but still far smaller than glibc based aplications. Buildroot toolchain features:
Users using package feed should change /opt/etc/ipkg.conf to Код:
src unslung http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable dest root / First we will install uClibc library which is required by all packages. Код:
~ # ipkg install uclibc Downloading http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc_0.9.28-1_mipsel.ipk ... Connecting to ipkg.nslu2-linux.org[212.18.63.81]:80 uclibc_0.9.28-1_mips 100% |*************************************************************| 440 KB 00:00:00 ETA Done. Unpacking uclibc...Done. Configuring uclibc...Updating /opt/etc/ld-opt.so.cache Done. Old application from http://ipkg.nslu2-linux.org/feeds/unslung/wl500g should be reinstalled with Код:
ipkg install -force-reinstall package Код:
ipkg list_installed |
|
#69
|
|||
|
|||
|
sdparm and sg_start?
Hi,
I am afraid that I don't have the skills to compile packages myself - anybody interested in having a go at sdparm and sg_start as described in http://www.wl500g.info/showthread.php?t=6197&page=2 ? Thanks, Jens |
|
#70
|
|||
|
|||
|
How to use updated uClibC from oleo?
Oleo mentions above that he has succeeded in providing an updated uClibc package removing some of the issues with the current uClibc package - which is great news because I'm actually stuck on some of the current packages I want to get compiled because of uClibc issues.
However from the post I can't understand how I am supposed to be using this new package. I am currently compiling packages following the instructions at http://www.nslu2-linux.org/wiki/Unsl...ckageToUnslung, together WL500g recommendations at http://www.nslu2-linux.org/wiki/FAQ/OptwareWl500gBuild and I don't get how I should get the new uClibc from oleo installed (probably because I'm still not very clear on the whole toolchain story). So I'd like to have some concrete guidance on how to use this or if possible a complete step-by-step overview on how to cross-compile C/C++ programs for the WL-500g. Any help on this would be very much appreciated! |
|
#71
|
|||
|
|||
|
Wrong pointer. Build is not wl500g but oleg. See http://www.nslu2-linux.org/wiki/FAQ/Optware-uClibcBuild
|
|
#72
|
|||
|
|||
|
Next question on uClibc
Hi Oleo,
Thanks for the fast reply - indeed I was compiling with the wrong target (wl500g instead of oleg). So I will adjust my MakeFile to use the right target. But I will off course also need to get the correct toolchain (with uClibc 0.9.28) installed. I was using the one mentioned at the build page for WL500g (downloaded from http://www.wlan-sat.com/boleo/optwar...0.1.12.tar.bz2 which included uClibc 0.9.19. How can I now get/create a toolchain with uClibc 0.9.28? And another question: in order to use these packages on my WL-500g I guess I will have to use the "oleg" feed (mentioned in your post), so this means I have to reinstall all packages I already had installed from the "wl500g" feed right? Sorry for these probably basic questions but I'm still quite new to the whole cross-compiling topic... Kind regards, Peter. |
|
#73
|
|||
|
|||
|
Reinstall is necessary due to built in /opt//lib search path for shared libs in wl500g package feed.
Building toolchain is simple enough: Код:
svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware cd optware export OPTWARE_TARGET=oleg make directories make toolchain for building. Although I recomend using Optware build facilities with Код:
make make/mypackage.mk When finished, I can include this package in the Optware. |
|
#74
|
|||
|
|||
|
Hi Oleo,
Thanks for the info - I think I'm actually starting to understand the whole "chain". I'll give your suggestion a try later on when I get home (and can access my router), in the meantime I have tried to summarise all info about this updated uClibc topic on one single webpage (mainly to make sure I understand and remember myself, but also to share with others who may be in my position...) I have put this online at http://www.freewebs.com/ptnemot/wl50...clibcsumm.html, feel free to have a look and give any comments you may have. If you think this is useful it can also be added to the Unslung Wiki. Kind regards, Peter. |
|
#74
|
|||
|
|||
|
#75
|
|||
|
|||
|
Great introduction. Feel free to include this info on nslu2 wiki page.
Bear in mind that updated uClibc is also available for dd-wrt firmware. See http://www.dd-wrt.com/wiki/index.php/Optware and maybe the same introduction is missing there. My wonder firmware would be dd-wrt GUI, QOS, with NFS, ext3 and other server functionality from Oleg firmware. But until then Oleg is a choice no.1. |
![]() |
| Tags |
| firmware |
| Опции темы | |
| Опции просмотра | Оценка этой теме |
|
|
Похожие темы
|
||||
| Тема | Автор | Раздел | Ответов | Последнее сообщение |
| Contributors needed for wl500g packages | Jean-Fabrice | WL-500g Custom Development | 33 | 13-07-2009 22:20 |
| openwrt vs oleg's firmware | Int123 | Russian Discussion - РУССКИЙ (RU) | 8 | 15-11-2008 16:42 |
| oleg's firmware vs openwrt | sophana | WL-500g Custom Development | 5 | 15-07-2005 17:46 |
| Webtools - Configure installed Unslung and other packages | Styno | WL-500g Custom Development | 22 | 20-04-2005 07:46 |
| FTP Connect with Oleg's Firmware? | stefan9113 | WL-HDD Q&A | 4 | 27-02-2005 00:01 |