GPL Source Code
-
@Larry-Pinney said in GPL Source Code:
At the moment the github by @WereCatf seems to be the "most correct" available....could use a bit more tweaking.
What tweaking does it need? I've forgotten to remove gpio2 from my DTS, but if there's something more, it wouldn't hurt, if you could tell me about it.
-
@Lazar-Demin Exactly how would you like us to help? A pull-request against your tree, or instructions on what to do, or should I just take over and make the pull-request against LEDE-official, or what?
-
@WereCatf said in GPL Source Code:
@Lazar-Demin Exactly how would you like us to help? A pull-request against your tree, or instructions on what to do, or should I just take over and make the pull-request against LEDE-official, or what?
Asleep at the wheel again?
Please TELL us how you would like to proceed.
We have supplied superior code!
And the community is waiting.
-
LEDE has done its first release, 17.01 - and Omega2/Omega2p support is included!
Thanks to everyone helping to make that happen!
This means we can now build for Omega2 from the official LEDE 17.01 release branch, which is a huge improvement over needing to maintain separate branches.
Still, the old request for also publishing the .config file of the Omega firmware remains open - I hope not for too long any more
-
@luz Great news
Now, as you say,all we want is the
oficial
.config file(s) for the Omega2(s)
-
@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.
-
@WereCatf those are not likely to come in anything other than a GPL wrapper that loads a binary blob especially if it's an atheros wifi chip. I know the omega was, don't know about omega2(+) though. Mediatek, to their credit, has been making strides to deliver more oss though. I don't know how much of an oss driver onion,inc got from them.
-
@luz ahhhh shoot! Now I'll have to fix my dockerfile now that LEDE officially supports omega2(+)
-
@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?
-
@Zogg-Baubas
The default LEDE configuration is very spartan, you get almost nothing. It uses an opensource version of the MT76 wifi driver - it works for me, but YMMV.I like the very minimal config. I'm using the small Omega2, which does not have lots of flash and I managed to get the OS to < 4MB, which leaves 12MB for my stuff.
-
@Ghent-The-Slicer said in GPL Source Code:
I like the very minimal config. I'm using the small Omega2, which does not have lots of flash and I managed to get the OS to < 4MB, which leaves 12MB for my stuff.
I have some 2's (and 2+'s) but I would really like to have 12MB to play with on the 2's. I need around 11MB for a project. Are you able to provide details of how we set up the 2's to leave us with 12MB?
-
This is one of my old configurations:
http://pastebin.com/eNthqx4scopy this file as .config in the root of your LEDE folder
It has a few extra things, but they are specified as modules, so not included in the image.
I'm using the LEDE master branch with cherry-picked changes from WereCatf as well as the flash reset fix from the onion branch
https://github.com/OnionIoT/source/tree/mtd-m25p80-reset-codeAgain this is very spartan and the only working interface is the serial console. You'll have to configure the network and wifi manually.
-
@Ghent-The-Slicer thanks for the pointers.
Will any spec linux machine be ok for the build, with the required utilities installed?
Roughly how long would it take a 5 year old laptop with Ubuntu to build the firmware?
-
@Costas-Costas I am running on a 3 year old i5 laptop with 8Gbytes of RAM running Windows 10 with a Kubuntu virtual machine to do my building. The VM is set up to only use two processors and is limited to using only 2GBytes of RAM.
Using this VM takes me about 1 hour to build a complete set of firmware.If that's any guidance
-
Perfect guidance @Kit-Bishop thanks.
What mods would I need to do to the .config file to include the basic "Onion network facilities" (just AP on 192.168.3.1 and ability to scan and connect Omega to router)?
Are there any pre-built packages available that give 11MB + user space for the Omega 2?
-
@Costas-Costas solder on a larger flash chip and configure the dts files for your larger memory?
-
@Theodore-Borromeo if you had seen me with a soldering iron you would know that's not going to happen.
-
@Costas-Costas fair enough, though in all fairness, I don't ever think that what I suggested should be the case :). I think that you need a USB stick with pivot overlay solution, or get the 2plus with a built in sd card ( I purposely got that one after dealing with this on the first omega)
-
@Theodore-Borromeo I have 2's and 2+'s. The 2+'s don't need the SD card / USB stick as they have enough user space for my project. It's just the plain 2's that are a touch too small and of course they don't have SD cards to make it easy.
-
@Costas-Costas th slicer has the right approach: compile a minimal kernel and see if that helps