[ARMv7/MIPSEL]Optware-ng[gcc-5.2.0][uClibc-ng-1.0.6]

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3  Next

mipsel feed needed?
Yes
71%
 71%  [ 5 ]
No
14%
 14%  [ 1 ]
Maybe
14%
 14%  [ 1 ]
Total Votes : 7

Author Message
coolVariable
DD-WRT Novice


Joined: 12 Mar 2015
Posts: 41

PostPosted: Wed Apr 08, 2015 16:50    Post subject: Reply with quote
I would love to actually get a working version of Entware or Optware for my router: EA6500v1.

The EA6500 is MIPS based and uses a BCM4706).

I tried using Entware for mipsel and OTRW2 but none of those work.
Sponsor
alllexx
DD-WRT Novice


Joined: 03 Aug 2014
Posts: 41
Location: Kyiv, Ukraine

PostPosted: Wed Apr 08, 2015 18:45    Post subject: Reply with quote
coolVariable wrote:
I would love to actually get a working version of Entware or Optware for my router: EA6500v1.

The EA6500 is MIPS based and uses a BCM4706).

I tried using Entware for mipsel and OTRW2 but none of those work.


Well, it looks like they don't work because of this:
http://svn.dd-wrt.com/ticket/2753

So we just have to build soft float toolchain.

OK, it seems that a soft float mipsel feed is really needed. I'll start working on it, but please be patient Smile
coolVariable
DD-WRT Novice


Joined: 12 Mar 2015
Posts: 41

PostPosted: Thu Apr 09, 2015 0:00    Post subject: Reply with quote
alllexx wrote:
coolVariable wrote:
I would love to actually get a working version of Entware or Optware for my router: EA6500v1.

The EA6500 is MIPS based and uses a BCM4706).

I tried using Entware for mipsel and OTRW2 but none of those work.


Well, it looks like they don't work because of this:
http://svn.dd-wrt.com/ticket/2753

So we just have to build soft float toolchain.

OK, it seems that a soft float mipsel feed is really needed. I'll start working on it, but please be patient Smile


Yup. That's why OTRW and OTRW2 don't work.
Entware with software FP should work, e.g. this one:
https://github.com/Entware/entware/wiki/FAQ

I have another thread on here trying to get that version to work, but it seems to not install properly (or at least some settings must be off).

Would be great if someone could come up with a version (with installer script) that "just works"
zyxmon
DD-WRT User


Joined: 07 Sep 2011
Posts: 139

PostPosted: Thu Apr 09, 2015 4:30    Post subject: Reply with quote
alllexx wrote:
.... However, I have some packages that are missing from these alternatives, like:
-deluge
-mkvtoolnix
-X11 applications
-etc...
and some are newer versions.
....

FYI There is mkvtoolnix package is Entware.arm feed. I use it (in Qnapware on a NAS).
https://github.com/zyxmon/qdev-arm/tree/master/mkvtoolnix
Probably it will also be in mipsel feed.
deluge is considered broken in openwrt
https://dev.openwrt.org/changeset/44476

_________________
My forum.
alllexx
DD-WRT Novice


Joined: 03 Aug 2014
Posts: 41
Location: Kyiv, Ukraine

PostPosted: Thu Apr 09, 2015 5:15    Post subject: Reply with quote
zyxmon wrote:
FYI There is mkvtoolnix package is Entware.arm feed. I use it (in Qnapware on a NAS).
https://github.com/zyxmon/qdev-arm/tree/master/mkvtoolnix
Probably it will also be in mipsel feed.
deluge is considered broken in openwrt
https://dev.openwrt.org/changeset/44476


I was talking about mipsel only there. And deluge works perfectly fine on my feed. Even deluge-gtk works
alllexx
DD-WRT Novice


Joined: 03 Aug 2014
Posts: 41
Location: Kyiv, Ukraine

PostPosted: Thu Apr 09, 2015 5:31    Post subject: Reply with quote
coolVariable wrote:
... Entware with software FP should work, e.g. this one:
https://github.com/Entware/entware/wiki/FAQ

I have another thread on here trying to get that version to work, but it seems to not install properly (or at least some settings must be off)...


mipselsf feed should indeed work. Posted in the thread you mentioned Wink
luiswu
DD-WRT Novice


Joined: 07 Apr 2015
Posts: 13

PostPosted: Fri Apr 17, 2015 15:38    Post subject: Reply with quote
Excellent work! I've tried to install the Pound package but it looks like no startup script is installed in /opt/etc/init.d. Any idea why? I had to copy over one from Optware but it is not working properly.

Any chance to get a service script working, like in Optware?

Thanks
alllexx
DD-WRT Novice


Joined: 03 Aug 2014
Posts: 41
Location: Kyiv, Ukraine

PostPosted: Fri Apr 17, 2015 17:27    Post subject: Reply with quote
luiswu wrote:
Excellent work!

Thanks Very Happy

luiswu wrote:
I've tried to install the Pound package but it looks like no startup script is installed in /opt/etc/init.d. Any idea why? I had to copy over one from Optware but it is not working properly.

Any chance to get a service script working, like in Optware?

Thanks


Compared to original Optware, I only upgraded pound 2.5 -> 2.7. Optware didn't ship its own init scripts, so probably it was shipped with the sourcecode itself. I'll just take the init script from Debian (and make necessary adjustments to make it work with Optware) a bit later (maybe, tomorrow, if I don't have the time to do it today).

Cheers
alllexx
DD-WRT Novice


Joined: 03 Aug 2014
Posts: 41
Location: Kyiv, Ukraine

PostPosted: Sat Apr 18, 2015 9:40    Post subject: Reply with quote
luiswu wrote:
Excellent work! I've tried to install the Pound package but it looks like no startup script is installed in /opt/etc/init.d. Any idea why? I had to copy over one from Optware but it is not working properly.

Any chance to get a service script working, like in Optware?

Thanks


Fixed, added init script and sample config:
https://github.com/alllexx88/optware/commit/b69b8fb0e868f43ad71c7011a556b344795f1aed

It hasn't been run tested, so please test and report back:
Code:
ipkg-static update
ipkg-static upgrade

and in case pound isn't installed already,
Code:
ipkg-static install pound


Then edit /opt/etc/pound.cfg and start pound:
Code:
/opt/etc/init.d/pound start
alllexx
DD-WRT Novice


Joined: 03 Aug 2014
Posts: 41
Location: Kyiv, Ukraine

PostPosted: Sun Apr 19, 2015 18:22    Post subject: Reply with quote
My Optware fork project now has MIPSEL feed as well! Compared to the original outdated oleg Optware feed, it has:
-softfloat ABI, which is a must to work with dd-wrt
-newer package versions
-up-to-date toolchain
-considerably more packages available
luiswu
DD-WRT Novice


Joined: 07 Apr 2015
Posts: 13

PostPosted: Mon Apr 20, 2015 22:42    Post subject: Reply with quote
alllexx wrote:


Fixed, added init script and sample config:
https://github.com/alllexx88/optware/commit/b69b8fb0e868f43ad71c7011a556b344795f1aed

It hasn't been run tested, so please test and report back:
Code:
ipkg-static update
ipkg-static upgrade

and in case pound isn't installed already,
Code:
ipkg-static install pound


Then edit /opt/etc/pound.cfg and start pound:
Code:
/opt/etc/init.d/pound start


Thanks for the quick fix! It is mostly working, I only had the following issues:
    I had to manually create the /var/run/pound directory
    The script doesn't stop Pound, you get the following error: killall: /opt/sbin/pound: no process killed

You may want to take a look at that for other users, it does't seem too hard to fix. Other than that it seems to be working, though I haven't had much time to fully test it. I'll report again when I finalise my tests.
alllexx
DD-WRT Novice


Joined: 03 Aug 2014
Posts: 41
Location: Kyiv, Ukraine

PostPosted: Tue Apr 21, 2015 14:35    Post subject: Reply with quote
luiswu wrote:
Thanks for the quick fix! It is mostly working, I only had the following issues:
    I had to manually create the /var/run/pound directory
    The script doesn't stop Pound, you get the following error: killall: /opt/sbin/pound: no process killed

You may want to take a look at that for other users, it does't seem too hard to fix. Other than that it seems to be working, though I haven't had much time to fully test it. I'll report again when I finalise my tests.


Thanks for the feedback, I'll look into it a little bit later when I have the time.



Hosting has been kindly provided by zyxmon. Many thanks to him!
Run these commands to update feeds location (both arm and mipsel):
Code:
sed -i -e 's|alllexx.no-ip.biz/optware|optware-ng.zyxmon.org|' /opt/etc/ipkg.conf
ipkg-static update
luiswu
DD-WRT Novice


Joined: 07 Apr 2015
Posts: 13

PostPosted: Fri Apr 24, 2015 13:13    Post subject: Reply with quote
I've discovered one more thing: this version of pound works fine with an http host but when I try to use an https listener (with the corresponding certificate) I get an error message from the browser saying that it can't establish the https connection.

I managed to run another version of pound in the router and with that version the https listener works correctly allowing https traffic (as long as I provide a valid certificate in the configuration file). I have ruled out therefore any ssl problem in my build and I presume that the problem lies in the compilation of this package, just to let you know.

In spite of these issues, thanks for the effort in bringing an operative version of optware, it is much appreciated!
alllexx
DD-WRT Novice


Joined: 03 Aug 2014
Posts: 41
Location: Kyiv, Ukraine

PostPosted: Fri Apr 24, 2015 14:25    Post subject: Reply with quote
luiswu wrote:
I've discovered one more thing: this version of pound works fine with an http host but when I try to use an https listener (with the corresponding certificate) I get an error message from the browser saying that it can't establish the https connection.

I managed to run another version of pound in the router and with that version the https listener works correctly allowing https traffic (as long as I provide a valid certificate in the configuration file). I have ruled out therefore any ssl problem in my build and I presume that the problem lies in the compilation of this package, just to let you know.

In spite of these issues, thanks for the effort in bringing an operative version of optware, it is much appreciated!


I think I fixed the issues you reported earlier:
https://github.com/alllexx88/Optware-ng/commit/289134c608a08528d9dea6488269ef13cc26bb74

As for https, openssl is functional, since I have tested it to work fine with lighttpd to establish an https socket. Therefore, there're two possibilities that come to my mind:
1) pound build issue
2) certificate issue
As for the former, I need more info to try to fix it, and probably the best way would be to try to replicate the error myself, but I'm a little busy right now with adding an i686 feed.
As for the latter, it might be possible that certificate you use is incompatible with this pound/openssl version(s). Just a wild guess, but who knows? Are you using the one provided by the package, your own self-signed one, or perhaps an authority-signed one, by the way? You may try to generate a self-signed certificate on the router and see if it works first.

And thanks for thanks Very Happy
luiswu
DD-WRT Novice


Joined: 07 Apr 2015
Posts: 13

PostPosted: Fri Apr 24, 2015 15:15    Post subject: Reply with quote
It turns out that the build that I am using (Kong 25100M) comes with a pound executable and I haven't realized that until recently.

I was able to process https requests with that executable and a self-signed certificate, therefore I tend to believe that the problem with the optware pound must be a compilation issue, but I could't dig any further into that.

Still, it would be great if this issue can be fixed in the optware pound that you are managing, not all the builds come with this package and I suspect that sooner or later I will have to upgrade and will loose the "built-in" pound.

I'll upgrade the pound package and test if the other issues are fixed.
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum