Development
The firmware of the miro Edge is based on OpenWRT. You can find a fork of the OpenWRT builder on our public gitlab. It includes the device tree files needed to build an image for the miro Edge. Please refer to the official documentation for more information about how to use it.
Basic menuconfig settings
In order to build an image for the miro Edge, you will need to select it as the
target. Run make menuconfig
to configure your build configuration. Select
MediaTek Ralink MIPS
as the target system, select MT76x8 based boards
as
the sub-target, select Miromico miro Edge 7688
as the target profile and save
the config.
You can now create a custom configuration and add additional packages to create
your own firmware using make
.
Packet forwarders and config files
A subset of the miro Edge's packet forwarder binaries and configuration files is available in the package pfwbin
. To include it in your build, select it in the menuconfig under Miromico -> pfwbin
.
Additionally, the packet forwarders need the kernel module kmod-usb-acm
to be included in the firmware. Select it in the menuconfig under Kernel modules -> USB Support -> kmod-usb-acm
.
Configuring the packet forwarder
After having build and flashed your firmware, you can configure the packet forwarder by logging in via SSH. The network config included in the package is having both a fixed (169.254.100.100) address plus additionally a DHCP client running on the ethernet interface.
Settings in /etc/config/miropgw are used to configure the packet forwarder. The following settings are available:
ant
: Either0
(internal) or1
(external) to select the antenna to use. Not applicable for all gateway cardsptype
: The forwarder type. Can be one oflegacy
(for 1308 cards),1302
,2g4
.saddr
: The server to connect to.pup
: The port to connect to.
Finally, the packet forwarder can be started by running /etc/init.d/lora start
.
Note
This package is a snapshot of parts of the packet forwarders and configuration files used in the miro Edge's firmware. It is not supported officially and may not be up to date. Please contact us for more information.