From Crashcourse Wiki
Notes on Ubiquiti's cool, new EdgeRouter Lite 3 (henceforth ERLITE-3), particularly as it pertains to (eventually) building with OE/Yocto. There's some basic info on these pages, then more on subpages linked to at the end.
Note that this info is not that related to using the ERLITE-3 as a router so much as it's covering how to use it as a basic MIPS development kit, so it doesn't get into all of the router configuration.
Disclaimer: I have no financial interest in the ERLITE-3, other than wanting to use it as (potentially) the next Yocto Project MIPS reference platform (theoretically replacing the current Yocto MIPS reference board, Ubiquiti's Routerstation Pro). Questions/comments/feedback to firstname.lastname@example.org, as this page and subpages are definitely a work-in-progress.
A gaggle of links related to Ubiquiti Networks in general and the ERLITE-3 in particular.
First, some general Ubiquiti links:
Some EdgeMAX/ERLITE-3 related Ubiquiti pages:
- EdgeMAX community page
- EdgeMAX wiki
- EdgeMAX CLI Basics Knowledge Base
- ERLITE-3 Downloads page
- ERLITE-3 data sheet
- ERLITE-3 Quick Start Guide
- ERLITE-3 User Guide
Finally, some external, ERLITE-3 related pages, mostly reviews (in no particular order):
As time goes by, I'll add more links to particular topics in Ubiquiti's ERLITE-3 forum.
Cisco console cable
If you want to hack the ERLITE-3 and boot to the command line, you'll need something equivalent to a Cisco console cable (which you'd add to a USB-serial cable for the full connection):
At that point, just add something like minicom and settings:
- 115200 8N1
- no flow control
The ERLITE-3 factory USB drive
The advertised 2G of storage in the ERLITE-3 is actually a really convenient (removable) USB stick inside the unit that you can see way over on the left in this photo that you can pop out, reflash, and reinsert if you want to hack. The layout of the stick at the moment, as seen as drive /dev/sdc by my Ubuntu host:
$ sudo fdisk -l /dev/sdc Disk /dev/sdc: 3880 MB, 3880452096 bytes 120 heads, 62 sectors/track, 1018 cylinders, total 7579008 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x210d0d00 Device Boot Start End Blocks Id System /dev/sdc1 2048 292863 145408 c W95 FAT32 (LBA) /dev/sdc2 292864 3710975 1709056 83 Linux $
The contents of the FAT partition (there's the kernel):
-rw-r--r-- 1 rpjday rpjday 8081560 Oct 24 08:08 vmlinux.64 -rw-r--r-- 1 rpjday rpjday 33 Nov 7 19:55 vmlinux.64.md5
The contents of the Linux (ext3) partition (and there's the root filesystem):
drwx------ 2 root root 16384 Dec 31 1969 lost+found -rw-r--r-- 1 root root 70803456 Nov 7 15:55 squashfs.img -rw-r--r-- 1 root root 33 Nov 7 15:55 squashfs.img.md5 -rw-r--r-- 1 root root 41 Nov 7 15:51 version drwxr-xr-x 7 root root 4096 Jun 1 2011 w drwxr-xr-x 2 www-data root 4096 Jun 1 2011 www
As you can see, there's the kernel and the root filesystem but no U-Boot binary -- that's stored separately in NOR flash (covered later), so when you get around to wanting to update U-Boot, you'll need to update what's in NOR flash.
More ERLITE-3 wiki pages
Given the length of subsequent sections, I'm going to break them off as separate wiki pages:
- ERLITE-3 U-Boot
- ERLITE-3 kernel boot output
- ERLITE-3 proc files
- ERLITE-3 system commands
- ERLITE-3 JTAG
- ERLITE-3 Getting the source
- ERLITE-3 The MIPS64 toolchain
and there will be more on a regular basis.