Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-06-01 Thread Syrone Wong
Forgot to mention, it needs additional CFLAGS to include tommath_class.h correctly, this hasn't been included into my repo. TARGET_CFLAGS += -Ilibtommath/ Best Regards, Syrone Wong On Thu, Jun 1, 2017 at 2:10 PM, Syrone Wong wrote: > Confirmed that with the latest libtom*, dropbear works we

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-31 Thread Syrone Wong
Confirmed that with the latest libtom*, dropbear works well on MIPS & GCC 7. This repo is based on dropbear 2017.75. https://github.com/wongsyrone/dropbear-test Best Regards, Syrone Wong On Thu, Jun 1, 2017 at 5:48 AM, Syrone Wong wrote: > I checked the bundled libtom* in dropbear: > > bundled

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-31 Thread Syrone Wong
I checked the bundled libtom* in dropbear: bundled: libtomcrypt is 1.16, libtommath is 0.40 latest: libtomcrypt is 1.17, libtommath is 1.0 There are various fixes since the bundled version: https://github.com/libtom/libtommath/releases I will try the latest version from libtom. Best Regards, S

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-31 Thread e9hack
Am 30.05.2017 um 08:25 schrieb Syrone Wong: > Can this related to endianness? Based on current reports, it only > occurs on big-endian platforms. > > I found: > > * Note: in order to use the optimized macros your platform must > support unaligned 32 and 64 bit read/writes. > * The x86 platforms a

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-29 Thread Syrone Wong
Can this related to endianness? Based on current reports, it only occurs on big-endian platforms. I found: * Note: in order to use the optimized macros your platform must support unaligned 32 and 64 bit read/writes. * The x86 platforms allow this but some others [ARM for instance] do not. On thos

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-29 Thread Kevin Darbyshire-Bryant
On 29/05/17 16:54, e9hack wrote: Am 29.05.2017 um 10:13 schrieb Bastian Bittorf: * Syrone Wong [29.05.2017 10:03]: have you tried to '/etc/init.d/dropbear'? The problem is you cannot access the router, which means you cannot execute any commands. ok, maybe you can execute a command with Lu

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-29 Thread e9hack
Am 29.05.2017 um 10:13 schrieb Bastian Bittorf: > * Syrone Wong [29.05.2017 10:03]: >>> have you tried to '/etc/init.d/dropbear'? >> >> The problem is you cannot access the router, which means you cannot >> execute any commands. > > ok, maybe you can execute a command with LuCI? > (i'am not famil

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-29 Thread Bastian Bittorf
* Syrone Wong [29.05.2017 10:03]: > > have you tried to '/etc/init.d/dropbear'? > > The problem is you cannot access the router, which means you cannot > execute any commands. ok, maybe you can execute a command with LuCI? (i'am not familiar with LuCI) maybe you can try serial console. maybe you

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-29 Thread Syrone Wong
> have you tried to '/etc/init.d/dropbear'? The problem is you cannot access the router, which means you cannot execute any commands. Best Regards, Syrone Wong ___ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/li

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-29 Thread Bastian Bittorf
* e9hack [29.05.2017 08:59]: > if I select gcc 7.1.0 instead of gcc 6.3.0, anything seems to be work with > exception of dropbear (and a few build fixes > for some packages are necessary). Dropbear is running, but it isn't possible > to connect. The message from WinSCP is > 'Network error: Conne

Re: [LEDE-DEV] dropbear & gcc 7.1.0

2017-05-27 Thread Syrone Wong
The same here. It works well on ARM mvebu though. It's strange. It might be MIPS specific. Best Regards, Syrone Wong Best Regards, Syrone Wong On Sun, May 28, 2017 at 4:35 AM, e9hack wrote: > Hi, > > if I select gcc 7.1.0 instead of gcc 6.3.0, anything seems to be work with > exception of drop

[LEDE-DEV] dropbear & gcc 7.1.0

2017-05-27 Thread e9hack
Hi, if I select gcc 7.1.0 instead of gcc 6.3.0, anything seems to be work with exception of dropbear (and a few build fixes for some packages are necessary). Dropbear is running, but it isn't possible to connect. The message from WinSCP is 'Network error: Connection to "wlan-xyz" refused' or fro