GPL Source Code



  • I prettified my DTS-files up some and merged the reboot-fix by @Larry-Pinney , and now I am working on making a reasonably useable default-configuration that I can share soon.



  • Why all the fuss? I just managed to build the omega2 firmware from https://github.com/lede-project/source.git

    Checkout the onion-omega2 branch
    run:
    scripts/feeds update -a
    scripts/feeds install -a
    make menuconfig

    select CPU MIPS, Soc MT7688, Board Omega2 (or 2+ if you like)
    run:
    make V=99

    enjoy



  • @Ghent-The-Slicer said in GPL Source Code:

    Why all the fuss? I just managed to build the omega2 firmware from https://github.com/lede-project/source.git

    Checkout the onion-omega2 branch

    There is no such branch there. You may be referring to https://github.com/OnionIoT/source.git instead. Also, that branch appeared there less than two days ago, but this thread is quite a few days older than that already, so that's part of the "fuss." But sure, using your compiled image, try reboot... it won't work. Try the reset-button... it won't work.



  • Hm. The reboot-fix seems to have exposed another bug: the Omega2 now reboots fine, but doesn't shut down anymore! I don't know which one is better: to be able to reboot, or to be able to shutdown :confused:



  • With a device such as the Omega2...

    Is the halt/shutdown command "really" useful?

    Nice ..tend to agree...
    But reboot seems to be used in practice much more often.



  • @Larry-Pinney That's kind of what I'm leaning towards. If you were to build some sort of a remote-sensor or whatever out of the Omega2, you'd probably want to be able to push an updated firmware, in case you have a bug somewhere, and be able to reboot to the new firmware without having to go and pull the plug to get it to reboot. But eh, I don't know.



  • Well...I think it's related to the bootloader....it always boots when powered on.

    Nearest x86 equivalent could be "defined" in the BIOS....
    Sorry we have NO BIOS today.



  • @WereCatf
    I flashed the compiled image via USB drive:
    copy the image to the usb drive and rename it to omega2.bin
    reboot the omega2, holding the button, select 2 from the terminal, wait forever

    It seems to boot fine except it is missing a large number of stuff - the web server for example. So you boot into serial console and that's about it.

    Looks like some sort of build configuration issue to add the missing stuff.

    Re: 'shutdown'. The omega2 with original firmware was not able to shutdown - it just reboots. Same with the compiled FW from the LEDE code. I have Linkit Smart 7688 - which has the same issue - no 'halt' - only reboot.


  • administrators

    Perhaps you guys would like to help fix up the Pull Request to meet the standards of the Lede project?
    As you might have guessed, the Onion team is very overwhelmed at the moment. We're doing our best to make sure everything runs smoothly but with 16 thousand backers, its proven to be quite difficult!



  • @Lazar-Demin

    At the moment the github by @WereCatf seems to be the "most correct" available....could use a bit more tweaking.

    The LEDE project plans to have it's first release very soon... 17.01 branch is due on Monday the 16th
    Having your device in a stable release would be an enormous benefit to the users.



  • @Lazar-Demin Geez! I just visited:
    https://lede-project.org/docs/howto/adding_to_toh
    and their link to "Criteria for adding devices to the ToH" is broken. You won't have it easy, will you?



  • @fossette It's not that hard, actually. My version already fulfills almost everything, I'd just have to consolidate all of my changes into a single commit and put a proper commit-message on it.



  • @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(+) :(


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.