I'm not sure that I'd have bought an Onion Omega2+ if I'd thought it was effectively a closed-source system.
Posts made by Colin Hogben
RE: How to get additional kernel modules?
RE: How to get additional kernel modules?
I found this OpenWRT forum post describing how the hash is calculated - adding any kernel modules will change it.
I was able to build a set of firmware and packages using WereCatf''s source fork, but I really need to use the same kernel version and equivalent configuration to generate compatible kernel modules.
Could the Onion devs please supply the .config they used to generate the latest release?
How to get additional kernel modules?
I'm tring to set up a webcam on my Omega2+ by following the Projects
The project does not cover the possibility of using a webcam other than the one linked to (which costs several times more than the Omega2+ and dock combined). I have an existing webcam available which is supported by Linux (Playstation Eye), but it requires a kernel module which is not included by default. From my point of view, that's quite understandable, though I would expect that an inexperienced user - e.g. one who did not know what the date command did - would be flummoxed at this stage.
However, I had determined elsewhere that the webcam requires the
gspca-ov534 kernel module. Having enabled the lede-project repos as per the project instructions, I found that a package kmod-video-gspca-ov534 is available, but this will not install due to kernel version requirements - it expects 4.4.61 compared to 4.4.46 on the Omega2+ (n.b. I have updated the firmware to the latest version
I didn't find any Onion docs describing how to cross-compile for the
Omega2+, only the orginal Omega. The following forum posts give some clues, but no definitive information:
What I did try was to pull the sources tree from lede-project onto my ubuntu x86_64 system, enable
the relevant modules via menuconfig and build everything. That
succeeded and built image and modules for 4.4.61, so then I checked
out the commit just before the kernel was bumped to 4.4.47 and built
again. This time I got kmod packages for 4.4.46, but they still
wouldn't install due to a different hash in the kernel version.
The fork in https://github.com/OnionIoT/source was no help - all
branches have include/kernel-version.mk at 4.4.39 or 4.4.38.
Am I on the right track? Are extra kernel module packages available
somewhere already? Or where can I get the correct version of the
sources to build compatible kernel modules?
GPIO Tool mishandles change of layout
In the GPIO Tool, I select GPIO 15 (blue LED) in the Omega[2+] view, set it to Output and Sync, and then switch to Expansion Dock layout. I can then change the output value OK, but if I press Sync, an enormous rotating cog appears, and remains until I select a different GPIO pin.
(Pins 15,16,17, connected to the RGB LED on the expansion dock, do not appear to be available to select in the doc layout option.)
GPIO Tool user interface strangeness
In the GPIO Tool, if I select GPIO 15 (in Omege[2+] layout) then change the direction from Input to Output, the blue LED immediately turns on. However, the Value control is not changeable until the Sync button is pressed. Then, changing the value has immediate effect on the hardware, but the icon colour is not updated until the Sync button is pressed again.
It seems a little odd that the hardware should be affected (maybe through the cloud) but the local user interface changes require additional actions by the user.
Onion Cloud Device Explorer cannot access Omega2+
My Omega2+ is registered with the Onion Cloud and is shown as online. I can successfully turn the LEDs on & off using the GPIO app. However, when I click on my device in Device Explorer, I get a message:
There was a problem accessing your device”.
Is there any way to get more information about this error, either from the cloud side or from the Omega2+?
RE: Omega2+ apps editor/terminal/webcam problems
Assuming you have your Omega2+ set up and connected to the internet, you can install these packages from the command line (which you can access either via ssh or via the USB serial interface). E.g.
root@Omega-B287:/# opkg install onion-console-editor Installing onion-console-editor (0.2-1) to root... Downloading http://repo.onion.io/omega2/packages/onion-console-editor_0.2-1_mipsel_24kc.ipk. Configuring onion-console-editor.
Similarly for onion-console-terminal and onion-console-webcam