I have two boards, one imx6sx based and one imx6ull based. I want to be able to compile apps with a yocto SDK so they will run on either platform.
My thought to create the SDK is define a 'generic' machine that is minimally tuned for arm7a and do the usual 'bitbake -c populate_sdk' from there. But all the machine examples I'm finding are for specific boards, so they all tune to more specific levels like 'cortexa7' or 'cortexa9', so I'm having uses getting such a machine setup.
Is a generic machine the right way to go, or is there a more proper yocto way of doing this?
Thanks.
Solved! Go to Solution.
Ok, so I found a solution that I was looking for.
I created a new machine 'imx6-generic-board.conf' with just a couple lines:
Hello,
Download the oficial BSP, this going to work, Make sure that the BSP support both devices:
Regards
Ok, so I found a solution that I was looking for.
I created a new machine 'imx6-generic-board.conf' with just a couple lines:
Hi,
I tried the NXP BSP site link, but the BSP's there are either for a imx6ul/ull/ullz OR imx6* (basically, Cortex-A7 or Cortex-A9 groups), but not both.
Example: If I build a C program with the BSP for the imx6ull and try running it on my imx6sx board, I get 'Illegal Instruction' error.