Skip to content

Latest commit

 

History

History
61 lines (55 loc) · 2.49 KB

File metadata and controls

61 lines (55 loc) · 2.49 KB

Software part (under Linux):

  1. download OpenWRT sources git clone git://git.openwrt.org/openwrt.git
  2. run make menuconfig
  3. load config file
  4. make -j1 (set size of cpu to compile the image)

test

  1. Onion Omega in Expansion Dock stecken und via USB Kabel mit Rechner verbinden
  2. Prüfen ob Omega erkannt wurde mit dmesg | grep cp210x
  • Die ersten zwei zeilen zeigen an ob das notwendige Module cp210x gestartet wurde
  [    1.690607] usbcore: registered new interface driver cp210x
  [    1.690611] usbserial: USB Serial support registered for cp210x
  
  • Die nächsten zwei Zeilen zeigen an ob der Omega verbunden wurde und das er unter ttyUSB0 erreichbar ist
  [ 9852.407158] cp210x 1-2.4:1.0: cp210x converter detected
  [ 9852.407337] usb 1-2.4: cp210x converter now attached to ttyUSB0
  
  1. (Optinal mal bei https://wiki.onion.io/Get-Started vorbei sehen)
  2. Verbindung aufnehmen mit: sudo screen /dev/ttyUSB0 115200 und "Enter"
  3. CPU infor abrufen cat /proc/cpuinfo
system type             : Atheros AR9330 rev 1
machine                 : Onion Omega
processor               : 0
cpu model               : MIPS 24Kc V7.4
BogoMIPS                : 265.42
wait instruction        : yes
microsecond timers      : yes
tlb_entries             : 16
extra interrupt vector  : yes
hardware watchpoint     : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa                     : mips1 mips2 mips32r1 mips32r2
ASEs implemented        : mips16
shadow register sets    : 1
kscratch registers      : 0
package                 : 0
core                    : 0
VCED exceptions         : not available
VCEI exceptions         : not available
  
  1. Speicherauslastung anzeigen df
Filesystem           1K-blocks      Used Available Use% Mounted on
rootfs                    7552       368      7184   5% /
/dev/root                 7680      7680         0 100% /rom
tmpfs                    30576       100     30476   0% /tmp
/dev/mtdblock3            7552       368      7184   5% /overlay
overlayfs:/overlay        7552       368      7184   5% /
tmpfs                      512         0       512   0% /dev
  
  1. WLAN einstellen wifisetup
  2. Optional: Image automatisch update oupgrade mein initiales Images war "omega-v0.1.2-b327.bin"
  3. Optional: initiale Firmware wieder einspielen, siehe: https://wiki.onion.io/Tutorials/Updating-the-Omega