Morning everyone,
does anyone of you know where I can buy these femal USB A Ports from
the Mini Doc?
And where I can find a Eagle Lib for it?
Thanks in advance.
Morning everyone,
does anyone of you know where I can buy these femal USB A Ports from
the Mini Doc?
And where I can find a Eagle Lib for it?
Thanks in advance.
Okay good to know that thanks for the Information.
Going to play around and learn about this custom image stuff with my second om2
I guess.
As far as I know you can find a sdk
with omega2 and omega2+ configuration files on onions git hub
When configuring with "make menuconfig"
you will see sub options for omega2 and omega2+ if you select the mt7688 as target. Thats what I used for my images.
I never tested them cause atm I don't need them but as soon as I need custom kernel mods I will give them a try.
I remember that on Omega2 stock os your not able to install custom kernel mods.
At least it didn't work when I tried to install my "HelloWorld" kernel mod
I have accomplished to successfully comile :D.
When building the image with the build options from the onion sources I mentioned above will I then be able to install custom kernels?
Did work for me too (b152)
Also have 8Gb via SD now
Ok thank you
(Binary worked :3 now I can do pretty awesom stuff :D)
Ohh my gosh
I think it finally worked
At least I have an binary now :dancer_tone3:
open_world
was the rigth name.
Thank you so much really you saved my almost ended day
Now I only need to test it on the omega
Before I end this
do you have furth information about this compiling system
like good websites or anything else so that I can read myselfe into this whole stuff.
I ve found quiet a lot myself but I more is always better
Could you give an example for
-lwhatever
Ive tried it like this with no success
So I think this is not the right way.
I know that this is a very complex thing and all but for linux beginners
The whole stuff with the make system and the compiler system under linux with the trillions of parameters and stuff that have to be set.
Thats why im asking here cause I was not able to get it working after about 5 hours of research and hundrets of failed attempts.
Before this linking problem I had the problem that the system was not able to locate the headers but at least that I was able to fix
Had the same problem after sysupgradeing to firmware image 1.9 b1.52
Since I was able to connect via ssh I just changed the SSID
and in the consoles the Name
Good Evening,
How can I link against dynamic libs when cross compiling programs for the Omega2+?
Is there some guide on how I can do it?
I managed to compile the opencv sources using the toolchain
and copied the generated lib files (shared .so) into the /usr/lib directory of the Omega2+.
It seems to work since I can run the create_samples and create_traincasscade binarys to
produce the casscade detecting files used to detect objects on pictures.
At the moment I am trying to cross compile a simple sample program that only opens an image for processing it but I am not able to build the binary because there seems to be an error when linking everything together.
I tried building it using this command:
mipsel-openwrt-linux-musl-g++ -Wall -I/home/test/omega2 -L$LD_LIBRARY_PATH -o test Test1.cpp
LD_LIBRARY_PATH is set to the folder where I have put the cross compiled library files of opencv
and
/home/test/omega2 is the path where the headers are.
Executing it will generate these errors:
I dont really know what to do
Thanks for any help / guid / lecture ...
Thank you from me too.
After upgradeing the Omega2p to the new firmware yesterday
I somehow ran into a bootloop (can't imagine what happened
everything went fine and after the installation it rebooted into this bootloop)
This thread help me to fix it without having to build arround
Thumb Up
Ok,
thank you for the information.
I have found everything I need and also a tutorial on how to build a simple kernel module
using the package system.
I was not able to build the kernel mod that I need but this should be cause of incompatibility with the newer kernel version or version of the other needed kernel mods like videobuff2_core. Guess I have to find an other way
Tank you for your help
Now I know everything I need to know an the rest I can figure out myself (I guess ).
Mine is not getting hot.
Warm but not that hot.
Does your Omega provide a wifi hotspot when powered?
Have you tried to power it without a dock?
Could it be that you have put it in the dock in the false direction
because if that happened then your Omega is dead.
Sry for double posting but I have fixed it
https://community.onion.io/topic/1329/tip-switch-the-omega-to-verbose
Thank u very much guys
Good Eveneing
I have quiet a huge Problem here.
After settig up the omega2+
I have changed the wifi Settings in /etc/network/interfaces
After rebooting it is still offering an Access Point but
when I connect I can't open up the console anymore.
The Ip Im getting is also weired
I am getting: 169.254.234.3
and the mask: 255.255.0.0
No DNS and no Gateway
Is there a way to connect to it via uart
like there was with the omega1?
Good evening,
managed to fix the problem.
I was finally able to compile everything.
The Problem was that I downloaded the sources not via console using git clone
but via Firefox so the TOPDIR Folder had an other name.
"onion-omega2" instead of "sources"
The next Problem was that I tried to build it with an user with root-privileges.
After i figured out everything I had no more problems.
But just one thing I still have to ask:
Where in the sources can I actually find the kernel sources.
I have found all the compiled sources including the kernel modules but not the Kernel sources itselfe
According to the output of one of the compiling tries I did
the sources were downloaded before the got compiled.
When I checked the kernel dir in the build root I only found dirs with just a makefile.
Quiet confuseing.
Tank you @luz
I followed all your steps including the ones from the Onion tutorial
but on my VMs I have not been able to compile the toolchain (or even the LEDE image).
First I have tried to build it on Kubunu (newest LTS Version 64bit)
afterwards I have tried to compile it on a complete new installation of Ubuntu (newest LTS Version 64bit)
On both system the compiling process failed.
This is the output I am getting on Ubuntu when using "make -j1 V=s"
Can you tell me how to fix this issue
or at least what Linux Distribution you are using?
I have a working pre compiled Toolchain but I want to learn this whole stuff
Hello,
May I ask you on which Linux Distribution you are cross compiling?
I have tried to build the tool chain (including the LEDE Image) on Kubuntu and on Ubuntu
without success by following this tutorial:
https://wiki.onion.io/Tutorials/Cross-Compile
with the toolchain from the "Onion Omega2" branch from Onion's git hub
This is the error I am getting (on latest Ubuntu LTS):
There had also been a couple of errors before this one that I have managed to fix by recrusive chmodding the whole directory with 777.
Okay
in this thread:
https://community.onion.io/topic/1134/guide-to-cross-compilation-for-omega2/7
I read that it is the LEDE Toolchain with musl that I have to use to cross-compile sources
I also found this link with a tutorial on how to cross-compile custom images:
https://wiki.onion.io/Tutorials/Cross-Compile
With the new Toolchain I have managed to cross compile the OpenCV sources for the Omega2
But I still have no idea how to cross compile the kernel modules
or even where I can find the kernel sources
Hi ho everyone,
I got my Omega2 few days ago and now I need to cross compile some sources
such as OpenVC and the UTV007 Driver for a Video Grabber.
Does anyone know which ToolChain I need and where I can find it to actually do it?
And where can I find the kernel sources of the Omega2s system so that I can build the kernel module for the Video Grabber (UTV007 Driver)
Also it would be very nice if someone has some links (tutorials, or detailed descriptions) on how to actually cross Compile kernel modules.
I managed to cross compile OpenVC with the OpenWRT Toolchain for the MT7688 but I have no idea how to build These kernel modules
I'm very new to Linux
Thank you very much