Skip to content

wiki:GoMips#success-stories EdgeOS on Ubiquiti EdgeRouter 8 #74477

Closed
@jankammerath

Description

@jankammerath

Cross compilation for EdgeOS (ex. Vayatta) for Ubiquiti EdgeRouter 8 tested and confirmed.

Build process is identical to existing documentation on the page.

env GOOS=linux GOARCH=mips GOMIPS=softfloat go build -trimpath -ldflags="-s -w" -o bin/erhello main.go
upx -9 bin/erhello

Here's the proof:

Image

Ubiquiti EdgeRouter 8 (EdgeOS)

Architecture: mips64
CPU: Cavium Octeon II V0.1 (800 Mhz Dual Core)
Operating System: EdgeOS v2.0.9
Storage: 3.3GB, 300MB used by EdgeOS
Ethernet ports: 8

It is very likely that the compiler works for all current EdgeOS devices (routers, switches, access points etc.).

Metadata

Metadata

Assignees

No one assigned

    Labels

    OtherNone of the above.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions