@Duane-Morin Onion devs previously explained, that kernel modules must be build on the same machine that the kernel was build. Thats why you can't install kmod* packages from LEDE repository when using OnionOS, even if kernels are exactly the same.
You have to build an image yourself, along with wanted kernel modules.
Posts made by Zogg Baubas
-
RE: So close! HFS+ support
-
RE: [SOLVED]Question about building custom image
@Iker Its a no-go for me without working WiFi... It would be great if you'd share how to have preconfigured working wifi with LEDE.
-
RE: [Solved] Python - Dictionary?
@Brad-Buskey Your welcome. And share your projects!
P.S. fixed a typo in my code sample.
-
RE: Omega2 - moving serial terminal from serial0 to serial1
That would be a neat customization for those of us, who do not connect serial devices through the docks. @WereCatf, maybe you could advise?
-
RE: [SOLVED]Question about building custom image
@Costas-Costas said in [SOLVED]Question about building custom image:
@administrators can you please enable /dev/mem and rebuild the firmware to fix the broken Fast-gpio ?
I do 2nd that.
-
RE: [Solved] Python - Dictionary?
gpsfile=open('/root/gpsinfo.txt', 'r') gpsinfo=gpsfile.read()
read()
method returns string here, as you are simply reading a file.If this is the actual data from the file, with double quotes around key names and values:
{"age":6357,"latitude":"38.1234","longitude":"-80.1234","elevation":"1234.5","course":"12.34","speed":"N"}
Then you can use
json
to load it up. This should work:#!/usr/bin/env python import json from pprint import pprint with file('/root/gpsinfo.txt', 'r') as gpsfile: gpsinfo = json.load(gpsfile) age = gpsinfo['age'] lat = gpsinfo['latitude'] lon = gpsinfo['longitude'] elv = gpsinfo['elevation'] cou = gpsinfo['course'] spd = gpsinfo['speed'] pprint(("Age: " + age, "Latitude: " + lat, "Latitude: " + lon, "Longitude: " + elv, "Course: " + cou, "Speed: " + spd)) exit()
-
RE: GPL Source Code
@WereCatf said in GPL Source Code:
@Kit-Bishop That wouldn't do you much good, because they have extra customizations besides just the .config, like e.g.the proprietary Wi-Fi driver.
Wait, so what happens if I flash LEDE into Omega2+? It'll use generic foss WiFi drivers or something?
-
RE: Sill no SD Card
@Brad-Buskey said in Sill no SD Card:
I had to create the /mnt/sdc dir before it would properly mount. Those are not created automatically.
Default behavior is to mount card and usb-storage (if you are running on dock) under
/tmp/mounts
. -
RE: Omega2+ cannot install kmod-fs-ext4 kmod-usb-storage-extra kernel version mismatch
@Lazar-Demin said in Omega2+ cannot install kmod-fs-ext4 kmod-usb-storage-extra kernel version mismatch:
@Tamas-Kende @Kit-Bishop @WereCatf
As of version 0.1.7 the Omega can install additional kernel modules, please see the docs site for details: https://docs.onion.io/omega2-docs/software-using-opkg.html#onion-package-repoIn a nutshell, opkg only allows installation of kernel modules compiled by the same machine that generated the firmware image, so as to avoid disaster. To remedy this, we're hosting our own core and base package repos. As a result, there will be some difference in the selection of packages hosted by us and by the LEDE repos. If you would like to see something added please let us know and we'll do our best to get it up in a timely manner.
In that case, I need:
kmod-batman-adv
batctl
to be able to run meshnetworking on Omega.
-
RE: Might have bricked my Omega2+, can't connect via serial
I'v got myself
TTL COM PC-PL2303HX
recently, its a TTL UART - USB converter. Works well with Ubuntu and Omega. -
RE: Omega 2+ USB Firmware Install after Brick. [Resolved]
Thanks, restored my 2nd Omega2+ into b150. WiFi works, although it catches it on 6th or 7th attempt.
-
RE: omega2 plus sdcard not working
@Lazar-Demin said in omega2 plus sdcard not working:
Expect new articles on running the Omega's OS from an SD card in the near future!
YES! YES!!
We'll also be updating the wiki to differentiate between the classic Omega and the Omega2!
Stay tuned!
Give the community the keys to edit wiki ourselves.
-
RE: Omega2+: reboot and sd card fixed!
@Lazar-Demin said in Omega2+: reboot and sd card fixed!:
The firmware changelog and known issues listing is up! See the docs site: https://docs.onion.io/omega2-docs/firmware-reference.html
@Zogg-Baubas We have plans to overhaul the existing Onion wiki and make it more user friendly. In the meantime, please consult the documentation at docs.onion.io
@Greg-Howard @Zogg-Baubas
No need to manually runsysupgrade
to get to the latest firmware, you can just runoupgrade -l
and it will take care of everything for you. This is mentioned in the docs, see the section titled Upgrading to the Latest Version at https://docs.onion.io/omega2-docs/updating-the-omega.htmlAbout the
oupgrade
- when Omega has no internet connectivity we have to place the binary manually, hence the usage ofsysupgrade
.And about the Wiki - lets do it! We need to have space to offload information from forums into better structured medium.
-
I2C - can't find device address
i2cdetect
always produces the same output. Tried reading everyone of the reported addresses and all of them return0xff
, even though I'v connected MPU6050 to the Omega's power board.root@Omega-BA8F:~# i2cdetect -y 0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: 30 31 32 33 34 35 36 37 -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: 50 51 52 53 54 55 56 57 58 59 5a 5b 5c 5d 5e 5f 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
omega2-ctrl
also fails:root@Omega-BA8F:~# omega2-ctrl gpiomux get unable to open mmap fileroot@Omega-BA8F:~#
I dont even know where to begin debugging this, any help appreciated.
-
RE: Omega2+: reboot and sd card fixed!
@Greg-Howard said in Omega2+: reboot and sd card fixed!:
Attempting to use the manual firmware upgrade method outlined by @steven de Salas and @Martin Wiedemeyer... On using the sysupgrade command to firmware omega2p-v0.1.8-145.bin I am prompted for root sign in whereas the root login no longer works.
This may be a feature so the update in not interrupted, but does not seem like it. I could also be that the 0.1.8 requires a login that the 0.1.7 does not.
Firmware not upgrading on command. Any suggestions other than us the "-F" for force the firmware upgrade?
Just make sure the firmware file is under /tmp directory tree before trying --force'ing.
-
RE: Omega2+: reboot and sd card fixed!
@Lazar-Demin Hurrey!!! Do you have resources to host a wiki? Or money to buy a hosted wiki from one of the better known wikifarm? I think dumping and formatting info together, as a community and you - devs, we'd travel at much faster and less stressful pace.
-
RE: omega2 plus sdcard not working
Tested with my new 256GB sdcard and it finally works! With
0.1.8 b145
:[ 4763.886240] mmc0: new high speed SDXC card at address 2143 [ 4763.893261] mmcblk0: mmc0:2143 APPSD 250 GiB [ 4763.899335] mmcblk0: p1 [ 4763.902012] mmcblk0: p1 size 524352600 extends beyond EOD, truncated
-
RE: Wifi connection problem with Omega2
@WereCatf said in Wifi connection problem with Omega2:
@Zogg-Baubas Why did you use --force? You made two mistakes with sysupgrade: 1) move the image to /tmp. It won't work from /, like you noticed. 2) use
sysupgrade -n yourimagehere.bin
to have it wipe all current settings while upgrading.If you do it correctly it'll work.
Thanks, will do once my USB-Serial cable arrives. For now it is bricked.
-
RE: Omega2+ fails to connect to wifi
@Lazar-Demin said in Omega2+ fails to connect to wifi:
@Zogg-Baubas yikes! why the
--force
flag??Because without it I'v got the same result. Figured, as this particular Omega was useless in this state, it couldn't get worse even if bricked. In the end '--force' didnt achieve anything that unforced version didnt.
-
RE: Wifi connection problem with Omega2
@WereCatf said in Wifi connection problem with Omega2:
@Zogg-Baubas said in Wifi connection problem with Omega2:
the sysupgrade fails to do the job.
What do you mean with that?
Heres the post where I'v put the sysupgrade logs: https://community.onion.io/topic/1149/omega2-fails-to-connect-to-wifi/14