yocto build for iMX6 TinyRex Module not booting - yocto

I am trying to build an image for the iMX6 TinyRex module using yocto. I don't encounter any issues during the build process, everything seems to be working. However when I copy the finished image to an sd card and plug it in, it doesn't boot up. I just get a blank screen.
I'm following this tutorial:
http://www.imx6rex.com/imx6-tiny-rex/software/how-to-start-with-yocto-and-compile-source-codes/
I tried several different images, but none seem to work.
I took over this project from someone else and am pretty new to yocto.
Any help would be greatly appreciated.

Related

Unity: Editor Application Instalation Failed, Install Failed

So Ive tried downloading editor to START USING UNITY, but it seems impossible. If I download it from Unity Hub I get an error that says Editor Application ,Instalation Failed Install failed.
I followed some online tutorial that told me to turn off the firewall and stuff didnt worked.
Then I followed another tutorials explaining that I should instead install them from unity's page. When I did it worked (or so I thought) . But when trying to make a new project I got the prompt telling me to go to Safe Mode
If I ingored it, cause I obviously wanted to use all features, there was a compiling error and a (unity internal Build System error.Backened with code 2)
I tried downloading some older version, but once I did I got a problem with my Tile Palette
(Dont think it is related, dont really know, but worth to mention)
The tile palette didnt appear in the newer versions, even after downloadong and redownloading Tile Map Editor
In the older version it appeared, but once I pressed play, somehow the pallete stoped working and dissapeared
Idk, guess Unity in my pc is really fucled up, tried deleting everything and reinstalling unity
Bu, guess what....
Ive tried everything on the web , everything I understand so far

yocto: build linux, boot it via syslinux

I am desperately searching for two weeks at least now on how to build any linux using yocto and boot it via syslinux afterwards.
My current approach is to build the core-image-minimal-initramfs, I am using the bzImage as the kernel and the rootfs as the initramfs.
So after bitbaking it is something like this:
KERNEL bzImage.bin
APPEND initrd=rootfs.cpio.gz
Unfortunately, it doesn't work like this. I got a ton of different errors on all my approaches. The kernel is always loaded correctly, but I am having a lot of issues using the initramfs. Sometimes it is just not loading it, sometimed it is complaining about a missing rootfs.img on \dev\sda1,...
Is there anyone that could explain to me how this kind of thing works? At best by giving a working example to start somewhere.
The Yocto community seems not to be very engaged helping newbies.

Flutter Windows Desktop app gets stuck on white screen after msix installation

Background
I just developed my first flutter desktop app for a windows machine. The app is working fine while developing/debugging it, but I am trying to test it as an application in release mode.
What’s done
I created an msix using pub msix.
For signing, I have tried both my
own certificate and the test certificate that comes with msix
packages by default.
I have tried both stable and beta channels.
Actual Problem
When I install the app on the other system (or even on the actual system where I debugged the app). I can install the msix setup successfully I can see my app listed in the apps, but when I try to open it, it is stuck on a blank/white screen. There is no UI rendered. And if I try to maximize the window, it goes to App not responding state.
Any help will be really appreciated.
Thanks in advance.
Update / New Finding
After going through the links provided by Yehuda Kremer and pulling my hair for a few days, I found the answer in this tweet
https://twitter.com/FilledStacks/status/1436280577439715338?s=20
So the main issue is that app is using some absolute paths that don't work on other machines (after release)
1- My app was using a database, so I have made sure that that database path is relative to the application document directory.
2- Now the build is also referring to some dependencies and their paths are also absolute. I have noticed a flag CMAKE_INSTALL_LOCAL_ONLY in the cmake_install.cmake but that flag is not being set anywhere.
Here is the log of flutter build windows -v
https://pastebin.com/LAeshUMY
-- Now I am looking for a proper way to convert all the paths to relative so that the build is ready for installation on different machines, instead of local installation only.
I have found the solution.
The main problem was that the app was looking for some dependencies and it was unable to find them. As mentioned here.
The reason for not finding that in release mode can be one of the following,
You are using some dll (package that depends on a dll) that is available on a specific path in your system, but when you are release the app that (absolute) path is not valid anymore.
You are adding some asset with absolute path (that is only applicable to your system).
Solution:
If it is a dll, you should be adding that to the release folder. In my case it was sqlite3.dll
If it is some other asset then you should always use the relative path.
You mentioned msix package, let see if the problem is in the app or in the packaging process
run flutter build windows without the flutter pub run msix:create, then run the created .exe file to see if its work.
btw this issue mention here: https://github.com/flutter/flutter/issues/74507
and here (the 'maximizing' problem): Black screen appears on maximizing and minimizing flutter desktop app

Run a shell file from a github project

need some help here.
Im new to linux and all the stuff.
My main problem is to run a specific project from Github(https://puffycv.readthedocs.io/en/latest/Installation.html)
I'm useing a raspberry pi 4 with raspbain buster on it.
Dont know what i am doing wrog here.
Would be awesome if somebody could test the project on a similar system and gide me trough thx. :D
Okay the main point iam stuck with is when is have to run the ./enumerate_cams.sh file.
if i open it Raspbain is showing me a message to execute the file.
but if i click on that noting happens.
I ve also try to click run in terminal but theres also nothing happend thx.

Running an OpenCV program with Eclipse

I'm trying to run a simple example of OpenCV on Eclipse [which was perfectly buit and installed before (using CMake and MinGw), even libraries and all includes are in place !].
When building, I'm getting no errors or warning, all seems good, but when I try to run, I get a message as if the project had no Binaries, even if all binaries are there. I even specified the path to the ".exe" (run->run conf-> new launch-> browse ...etc.).
You can notice on the images attached that the project is built and the binaries are generated.
Notice: when I run an example of a (Hellow world) on the console ... it displays the messag without errors.
I read a lot on Internet before posting here, but I found nothing that matches to this case.
Thank you so much,
Error Capture
Build Capture
Regards