Flashing accton MR3201A

50 views
Skip to first unread message

Pascal Laurent

unread,
Dec 23, 2009, 12:33:13 PM12/23/09
to village-...@googlegroups.com
Hi,

I decided to install the MP firmware on two accton MR3201A routers I
have. I followed the the intructions on the wiki to built the firmware
using ubuntu hardy. I proceeded and flashed the routers (using
squashfs and lzma). The verdict i could never telnet(ed) into the
router (using 192.168.1.20). I would ping it, sometimes it would work
and sometimes it would not.

Using the firmware from open-mesh.net produced the same results. If I
used the firmware from x-wrt.org it works fine. Any idea why the MP
firmware (from svn villagetelco) would not work?

Thanks,
--Pascal

elektra

unread,
Dec 23, 2009, 12:16:35 PM12/23/09
to village-...@googlegroups.com
Hello Pascal -

this seems to be a GPIO conflict with the mp.ko driver, it gets loaded in the
MP firmware. The GPIO configuration of your device is very likely different. This
may result in nasty effects (I have seen problems reading/writing the SPI flash
chip on non-MP devices, like the DIR-300)

==> Build the VT firmware without mp.ko

Quick fix: It is stored in villagetelco-build-dir/files/usr/lib, just move it
elsewhere.

Cheers,
Elektra

Pascal Laurent

unread,
Dec 23, 2009, 1:24:10 PM12/23/09
to village-...@googlegroups.com
Elektra,

Sure I will try that. What is GPIO and how does it work?

Thanks a bunch,
--Pascal

> --
>
> You received this message because you are subscribed to the Google Groups "village-telco-dev" group.
> To post to this group, send email to village-...@googlegroups.com.
> To unsubscribe from this group, send email to village-telco-...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/village-telco-dev?hl=en.
>
>
>

David Rowe

unread,
Dec 23, 2009, 4:19:10 PM12/23/09
to village-...@googlegroups.com
On Wed, 2009-12-23 at 13:24 -0500, Pascal Laurent wrote:
> Elektra,
>
> Sure I will try that. What is GPIO and how does it work?

General Purpose Input Output pin, a pin on the CPU that can be high or
low. We use the GPIOs to control the FXS interface via the mp.ko
driver. On your router the GPIOs may be used for other purposes that we
don't want to interfere with.

- David

David Rowe

unread,
Dec 23, 2009, 6:35:42 PM12/23/09
to village-...@googlegroups.com
Hello list,

Thanks to Atcom, I will be making a rare (for me) trip to Europe for
Cebit in Hannover, Germany from March 2-6 2010 (Hall 13, E42). Elektra
will also be there. So if you are attending Cebit please stop by the
booth and say hi.

Thanks,

David


Vikas Bhasin

unread,
Dec 24, 2009, 12:40:03 AM12/24/09
to village-...@googlegroups.com
 
Herzlichen Glückwunsch, David.



 

--

You received this message because you are subscribed to the Google Groups "village-telco-dev" group.
To post to this group, send email to village-...@googlegroups.com.
To unsubscribe from this group, send email to village-telco-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/village-telco-dev?hl=en.





--
Thanks,
Vikas








Pascal Laurent

unread,
Dec 24, 2009, 3:03:22 PM12/24/09
to village-...@googlegroups.com
Thanks... now it works after removing mp.ko.

I will keep playing with it for now

Pascal Laurent

unread,
Dec 24, 2009, 3:51:52 PM12/24/09
to village-...@googlegroups.com
Elektra,

asterisk isn't starting. I'm getting this error:
May be this doc would help you setup your accton router. It could also
be used to update the villagetelco wiki.

I'm not sure what impact not loading the mp channel (noload
chan_mp.so) will have. Without disabling it asterisk would not start.

by the way to flash your router do this:

http://www.loomiverse.net/2008/09/27/openwrt-and-asterisk-my-new-pabx

The default IP of the router is 192.168.1.20

Enjoy,
--Pascal

mp_on_accton_MR3201A.txt

David Rowe

unread,
Dec 25, 2009, 4:18:52 PM12/25/09
to village-...@googlegroups.com
Hi Pascal,

> I'm not sure what impact not loading the mp channel (noload
> chan_mp.so) will have. Without disabling it asterisk would not start.

If you don't have a Mesh Potato with FXS hardware chan_mp is not
required and won't start (it uses the lower level drivers like mp.ko).
So just disable it in /etc/asterisk/modules/conf:

noload => chan_mp.ko

Or remove chan_mp.ko from /usr/lib/asterisk/modules

Cheers,

David


Reply all
Reply to author
Forward
0 new messages