Omega2 - LEDE or OpenWrt?
-
And: Omega2/Omega2+ support is now in the official LEDE 17.01 release
-
@luz Hi Luz, I've been playing with a recently unboxed Omega2+ these past couple days. I started with @WereCatf repo then saw your message that it was in in official LEDE so I went and pulled it down last night, built an image and finally got to boot it up tonight on a flight. I've noticed that with with @WereCatf repo things seem to "just work" a bit better. For example, I can't join a network in 'sta' mode ('ap' works) with LEDE but could with the original repo. Would you mind providing your .config and /etc/config/wireless&network that you have working successfully?
Thank you,
Nick
-
What does the official LEDE support brings ? If I build an image, will I get the exact same functionality as the original Omega2 ?
Is there a way to obtain the exact same image as the official firmware ?
-
@Pierre-Rossinès said in Omega2 - LEDE or OpenWrt?:
What does the official LEDE support brings ? If I build an image, will I get the exact same functionality as the original Omega2 ?
Not at all. You get only the basic LEDE support, which is a network router targeted firmware (with a web-ui, if you enable LuCi).
The thing is - LEDE is highly configurable, there are literally thousands of options to include/exclude support for all sorts of things in a selector utility (make menuconfig). Plus there are external so-called feeds carrying even more options. @onion have created their own (public) feed with their specific extensions. The only problem is, the Omega2's
.config
file, which defines what to pick from all these sources to make an image, is still not published.Is there a way to obtain the exact same image as the official firmware ?
Once the
.config
onion is using is available, yes.
Without that - in theory, maybe, if somebody has a lot of patience to figure out manually which packages and options need to be selected to get to the same result.
-
@luz Mmmno. We still do not have the source-code for all the packages, let alone the Wi-Fi driver. Having the.config file would not give us much of anything we didn't already have! We already know what packages the images include, we know at least most of the kernel-config options they use, but.config does not give access to any of the actual code they are holding back or the changes they made to the actual source code of LEDE itself.
-
@luz Thanks. Does LEDE include the firmware flashing tool ? I have no dock nor do I have a serial to USB chip, so I would appreciate to be able to flash the official firmware back if I mess something up while using LEDE.
-
@WereCatf oh! Must have been wishful thinking on my part. I thought the missing parts had appeared in the meantime (but indeed, I forgot the WiFi driver, should have known that).
What else is missing? I must admit I haven't kept track of what has and what hasn't appeared on github, because I'm happy with stock LEDE. So - sorry for the misinformation and raising false hopes.Still, a published
.config
or diffconfig would help, because at least we could build an image that is identical up to those missing parts.@administrators what's the problem here? Are there roadblocks? Just lacking time to polish the now missing stuff for publishing?
-
@luz said in Omega2 - LEDE or OpenWrt?:
What else is missing? I must admit I haven't kept track of what has and what hasn't appeared on github, because I'm happy with stock LEDE. So - sorry for the misinformation and raising false hopes.
I haven't checked all the packages that are missing, but e.g. the source-codes for the Arduino-dock and some other packages are missing -- access denied, if you try to access the respective repos.
Still, a published
.config
or diffconfig would help, because at least we could build an image that is identical up to those missing parts.I tried to tell you, it still wouldn't be identical. .config only tracks configuration-changes that LEDE is aware of, it doesn't track any changes to the actual source-code nor any kernel-config changes outside of the pre-defined ones that LEDE-supports. So no, it still wouldn't be identical, they have made changes that the LEDE configuration-tools are not aware of and thus wouldn't be tracked in .config.
-
@Pierre-Rossinès said in Omega2 - LEDE or OpenWrt?:
@luz Thanks. Does LEDE include the firmware flashing tool ? I have no dock nor do I have a serial to USB chip, so I would appreciate to be able to flash the official firmware back if I mess something up while using LEDE.
Realistically, if you want to do any serious work on embedded systems you'll need to acquire a USB<>logic-level serial converter for 3.3v targets. They cost around $5-6.
In theory, if you had a perfect new image you wanted to load you could use a web interface or scp and ssh via the sysupgrade method, but should anything go wrong you'll need the serial interface (at minimum) to understand what went wrong.
-
@WereCatf said in Omega2 - LEDE or OpenWrt?:
@luz said in Omega2 - LEDE or OpenWrt?:
......
I tried to tell you, it still wouldn't be identical. .config only tracks configuration-changes that LEDE is aware of, it doesn't track any changes to the actual source-code nor any kernel-config changes outside of the pre-defined ones that LEDE-supports. So no, it still wouldn't be identical, they have made changes that the LEDE configuration-tools are not aware of and thus wouldn't be tracked in .config.Which brings us back to an issue that has haunted us since the early days (over 1 year ago) of the Omega1 - without access to the official repository that Onion uses we are still playing catch up and trying to hack things together.
Despite numerous requests for this, no reply has been forthcoming - not even a
We can't because of X Y Z
A few weeks ago there was discussion on this forum as to whether or not Onion were in breach of the terms of the open source licences on this issue. That discussion kind of petered out with no resolution on it
-
@Chris-Stratton said in Omega2 - LEDE or OpenWrt?:
Ok thanks. I'll buy one of those then.
-
@WereCatf said in Omega2 - LEDE or OpenWrt?:
I tried to tell you, it still wouldn't be identical.
You are right. "identical" was the wrong word. Still, I insist publishing the
.config
would be helpful, if only as a point of reference.
And giving it to us would be an easy step for @onion to go, right now. I can understand though that cleaning up and publishing everything might take more time…
-
@luz said in Omega2 - LEDE or OpenWrt?:
Still, I insist publishing the .config would be helpful,
Would be nice, that at least, now where just omega 2 is in hype, that we would get the info's for omega one. Then a community firmware could give continuation to this small devices.
I don't know what @onion is thinking, some kind of knowledge is power, let's use it a bit more!
-
To anyone interested: I made it yet slightly easier to get going with a custom firmware using my git-tree. All you (should) need to do to set it up, is install
git
and run the following three commands:git clone -b image https://github.com/WereCatf/source.git lede-omega2 cd lede-omega2 bash ./first_time_setup.sh
Or you can download a zip-archive from github, extract it and then run the first_time_setup.sh in there.
-
@WereCatf , is there a .bin file i could test? Before i get in to compiling i would like to see how it "feels". I do have a Omega2+, does this work too?
-
Hi @Luciano-S I would be more confident on @WereCatf image, for sure, but here is mine for the Omega2+ if you wanna try http://www74.zippyshare.com/v/v8arpumN/file.html
Both fast-gpio and omega2-ctrl working. I installed nano, as I prefer it to vim. I can guide you through wifi setting if you test the image.
-
@Iker , my browsers malaware scanner quotes zippyshare as malaware page .. You dont have a dropbox where you could send me the link per chat.
I will test your image and give feedback then
-
That's weird. Not dropbox, you can try this: http://s000.tinyupload.com/index.php?file_id=09478120683601055815
Or I'll see tomorrow how to get a public link from my owncloud.
-
@Iker this time the malaware just was a popup ... now i got it.