aeb9028aab
This adds auto-configuration of network ports on Dell EMC Edge620 (x86) product. It is similar in specs/features to some of the Sophos x86-based appliances, but: 1. Serial console terminal is built in and requires just the micro-USB cable 2. Comes with both MMC (16Gb) and SSD (256Gb) installed 3. Comes with 6 ethernet ports all 6 are functional when no SFP is used 4. Comes with two SFP cages and not one, like some of revision 3 Sophos products 5. Unlike Sophos devices, there are no non-wireless models of Edge 620, it comes with Qualcomm Atheros QCA9880 radio These devices can be now found both second-hand and new at online marketplaces below (sometimes well below) US $100, I believe they make great candidates for running OpenWrt. The ethernet network ports on the case are marked GE1 thru to GE6 with the following mapping once booted into OpenWrt: ``` GE1: eth2: pci0000:00/0000:00:0b.0/0000:02:00.2 GE2: eth3: pci0000:00/0000:00:0b.0/0000:02:00.3 GE3: eth0: pci0000:00/0000:00:0b.0/0000:02:00.0 GE4: eth1: pci0000:00/0000:00:0b.0/0000:02:00.1 GE5: eth7: pci0000:00/0000:00:17.0/0000:07:00.1 GE6: eth6: pci0000:00/0000:00:17.0/0000:07:00.0 ``` Dell's instructions for [standard configuration](https://infohub.delltechnologies.com/en-us/l/dell-emc-edge-620-advanced-activation-guide/dell-emc-sd-wan-edge-620-standard-configuration/) recommend using GE3, GE4, GE5, or GE6 for WAN, I've selected the GE6 as the sole WAN port under OpenWrt with the rest of ethernet ports assigned to LAN. Please merge before 24.xx is forked and if possible, cherry-pick for 23.05 if there's no ETA for 24.xx forking. PS. @Hurricos I'm struggling with ixgbe mappings on Sophos devices which use very similar hardware to Dell EMC, so even tho I know the sys paths for ethernet ports, I'd prefer to do a separate commit to properly map ethernet ports to match the case markings for this device at some point later. Signed-off-by: Stan Grishin <stangri@melmac.ca> |
||
---|---|---|
.devcontainer/ci-env | ||
.github | ||
config | ||
include | ||
LICENSES | ||
package | ||
scripts | ||
target | ||
toolchain | ||
tools | ||
.gitattributes | ||
.gitignore | ||
BSDmakefile | ||
Config.in | ||
COPYING | ||
feeds.conf.default | ||
Makefile | ||
README.md | ||
rules.mk |
OpenWrt Project is a Linux operating system targeting embedded devices. Instead of trying to create a single, static firmware, OpenWrt provides a fully writable filesystem with package management. This frees you from the application selection and configuration provided by the vendor and allows you to customize the device through the use of packages to suit any application. For developers, OpenWrt is the framework to build an application without having to build a complete firmware around it; for users this means the ability for full customization, to use the device in ways never envisioned.
Sunshine!
Download
Built firmware images are available for many architectures and come with a package selection to be used as WiFi home router. To quickly find a factory image usable to migrate from a vendor stock firmware to OpenWrt, try the Firmware Selector.
If your device is supported, please follow the Info link to see install instructions or consult the support resources listed below.
An advanced user may require additional or specific package. (Toolchain, SDK, ...) For everything else than simple firmware download, try the wiki download page:
Development
To build your own firmware you need a GNU/Linux, BSD or macOS system (case sensitive filesystem required). Cygwin is unsupported because of the lack of a case sensitive file system.
Requirements
You need the following tools to compile OpenWrt, the package names vary between distributions. A complete list with distribution specific packages is found in the Build System Setup documentation.
binutils bzip2 diff find flex gawk gcc-6+ getopt grep install libc-dev libz-dev
make4.1+ perl python3.7+ rsync subversion unzip which
Quickstart
-
Run
./scripts/feeds update -a
to obtain all the latest package definitions defined in feeds.conf / feeds.conf.default -
Run
./scripts/feeds install -a
to install symlinks for all obtained packages into package/feeds/ -
Run
make menuconfig
to select your preferred configuration for the toolchain, target system & firmware packages. -
Run
make
to build your firmware. This will download all sources, build the cross-compile toolchain and then cross-compile the GNU/Linux kernel & all chosen applications for your target system.
Related Repositories
The main repository uses multiple sub-repositories to manage packages of
different categories. All packages are installed via the OpenWrt package
manager called opkg
. If you're looking to develop the web interface or port
packages to OpenWrt, please find the fitting repository below.
-
LuCI Web Interface: Modern and modular interface to control the device via a web browser.
-
OpenWrt Packages: Community repository of ported packages.
-
OpenWrt Routing: Packages specifically focused on (mesh) routing.
-
OpenWrt Video: Packages specifically focused on display servers and clients (Xorg and Wayland).
Support Information
For a list of supported devices see the OpenWrt Hardware Database
Documentation
Support Community
- Forum: For usage, projects, discussions and hardware advise.
- Support Chat: Channel
#openwrt
on oftc.net.
Developer Community
- Bug Reports: Report bugs in OpenWrt
- Dev Mailing List: Send patches
- Dev Chat: Channel
#openwrt-devel
on oftc.net.
License
OpenWrt is licensed under GPL-2.0