Software part (under Linux):
- download OpenWRT sources
git clone git://git.openwrt.org/openwrt.git - run
make menuconfig - load config file
make -j1(set size of cpu to compile the image)
test
- Onion Omega in Expansion Dock stecken und via USB Kabel mit Rechner verbinden
- 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
- (Optinal mal bei https://wiki.onion.io/Get-Started vorbei sehen)
- Verbindung aufnehmen mit:
sudo screen /dev/ttyUSB0 115200und "Enter" - 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
- 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
- WLAN einstellen
wifisetup - Optional: Image automatisch update
oupgrademein initiales Images war "omega-v0.1.2-b327.bin" - Optional: initiale Firmware wieder einspielen, siehe: https://wiki.onion.io/Tutorials/Updating-the-Omega