Skip to content

Instantly share code, notes, and snippets.

@dghubble
Last active March 10, 2021 14:20
Show Gist options
  • Save dghubble/6a327c3b005a0b8aa7c5c1befac120fe to your computer and use it in GitHub Desktop.
Save dghubble/6a327c3b005a0b8aa7c5c1befac120fe to your computer and use it in GitHub Desktop.
EdgeRouter ER-X-SFP Notes

EdgeRouter ER-X-SFP

  • ER‑X‑SFP Pins: Ports <- 3.3V, Rx, Tx, Ground -> Lights
  • FTDI Serial Pins: Ground(black),VCC(red),Tx(orange),Rx(yellow)

Baud 57600 8n1, 8 bit per byte, no parity bit, 1 stop bit

screen /dev/ttyUSB0 57600,cs8,-parenb,-cstopb

Interesting Bits

U-Boot 1.1.3 (Jan 27 2015 - 17:52:09)
Ralink UBoot Version: 4.3.S.0

Its happy to load new firmware via TFTP.

Please choose the operation: 
   1: Load system code to SDRAM via TFTP. 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
default: 3

MIPS

3: System Boot system code via Flash.
## Booting image at bfd40000 ...
   Image Name:   Linux Kernel Image
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1675882 Bytes =  1.6 MB
   Load Address: 80001000
   Entry Point:  803658a0
..........................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 803658a0) ...
## Giving linux memsize in MB, 256

Older kernel, built recently. Older gcc. Using Buildroot though.

Linux version 3.10.14-UBNT (root@edgeos-builder2) (gcc version 4.6.3 (Buildroot 2012.11.1) ) #1 SMP Fri Jan 29 20:03:40 PST 2016
INIT: version 2.88 booting

Can't open an entropy source >.>

mkdir: can't create directory '/dev/shm/network': No such file or directory
Unable to open file: /dev/tpm0
can't open any entropy source
Maybe RNG device modules are not loaded
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment