do download that OpenWrt package onto your Omega2(+) and install it
wget <LINK ADDRESS>
opkg install <PACKAGE NAME>
or add the proper OpenWrt repo to the /etc/opkg/distfeeds.conf file and reboot your Omega and run
opkg install <PACKAGE NAME>
Check @WereCatf 's source directory, specially first_time_setup.sh and my docker project on info about how to build from LEDE.
The OnionIoT repository is not ready yet, they will publish the source code in the future*.
Hopefully the docs will include cross compilation soon.
I'm still vague on why I might be running out of memory. I'm confused because the image size is always the same (16252928 bytes). Even for the different images on the repo site. It seems like this is normal, but I don't understand it. Perhaps the image size is always the same, regardless of what it contains. If that is true, do you (or does anyone) know how to determine what a given image contains?
Seems like we are having about the same config. Need to look into it more. What started the whole thing was that the official FW for Omega2(+) does not have it compile for including POSIX Messaging (mqueue) which I need for communication between my threads. But with LEDE I can get that, but so far no correct Wifi. Anyways, for now, I gave up on the mqueue and rewrote my apps to use mutex's and cond vars for synch and communication between threads (Client Server for Consumer/Producer notifications). So I am back using the official FW for it and stress testing it with 50 clients throwing messages at it randomly between 0-100ms inbetween for each client does not stress it much, so I am still happy with the implementation.
Thanks for all the help so far though from both of you! I may come back later and see if we can revisit this.
Hi! I'm trying to compile "arduino-dock" package from openwrt feed, but source code can't be retrieved from github. Here's the error:
Checking out files from the git repository...
Cloning into 'arduino-dock'...
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Hi, I have recently been revisiting building system images for the Omega and get exactly the same error if I include arduino-dock and similar for some other packages.
Also, regarding the kernel issues, the Omega's firmware follows the head of the OpenWRT CC repo, we add customizations on top of it. After the campaign, we'll make it a priority to fix that nagging kernel version issue.
@Alexander-Pitzer A docker image would be most convenient! But that's something the community could do, once the .config is known (plus maybe some stuff for /files).
Figuring out the right .config by reverse engineering however would be really tedious and completely redundant work, because that .config already does exist - only it's not available! So I still hope Onion will decide to publish it! Any chances for that, @Lazar-Demin?
@Valentin-Haenel As indicated by @Zheng-Han , it is possible to create your own copy of the firmware using the instructions he gives - I have successfully done so and installed and tested it on my Omega.
Be warned that this is not a trivial procedure and you will need to ensure that your package selection is correct otherwise you may have problems running the Omega.
Also, firmware built doing this will lack any of the Omega branding and customisations - partly because the core code is not Omega specific (a copy of the official repository has been requested but is not forthcoming yet) and partly because it is unclear as to precisely what packages need to be included.
If you do manage to get a copy of the firmware built and installed and running on your Omega, you may well need to get you Omega back to running an official copy of the firmware at some stage. You can do this as follows:
Copy the most recent Omega firmware image from http://repo.onion.io/omega/images/ - probably omega-v0.0.6-b277.bin and copy it to your Omega to the /tmp directory
On your Omega, from the /tmp directory, run sysupgrade <image-file-name> where <image-file-name> is the name of the image file copied as above and wait for your Omega to reboot - will take some while.
Looks like your connection to Onion Community was lost, please wait while we try to reconnect.