Sure! Here's a short and clear version:
Yocto BSP: For embedded Linux, built using Bitbake and .bb recipes. Not Android-based.
Android BSP: For Android OS, includes HAL, kernel, drivers, works with AOSP.
Key Difference: Yocto builds Linux OS; Android BSP is meant for Android OS.
Not directly, but you can reuse kernel/drivers from Yocto BSP in Android BSP with some porting effort.
Add device/, vendor/, kernel/ folders
Setup BoardConfig.mk, Android.mk
Add HALs and drivers
Use lunch and make to build
Thanks You
Warrior Academy
@pankaj_joshi
Hello,
Please look at my comments below.
1.
Yocto is a system to build Linux BSP.
https://www.yoctoproject.org/docs/2.0/yocto-project-qs/yocto-project-qs.html
Linux is a popular OS whereas Android is a framework executing on top of the Linux kernel.
https://www.educba.com/linux-vs-android/
https://www.geeksforgeeks.org/difference-between-linux-and-android/
Details of NXP implementation may be found in the documentation on the Web.
Linux:
Android:
Summary Page:
https://www.nxp.com/design/i-mx-developer-resources:IMXSW_HOME
2.
No, Yocto BSP is not intended for integration with Android BSP.
3.
The i.MX Android release source code consists of three parts:
• NXP i.MX public source code, which is maintained in the CodeAurora Forum repository.
• AOSP Android public source code, which is maintained in android.googlesource.com.
• NXP i.MX Android proprietary source code package, which is maintained in http://www.NXP.com.
Regards,
Yuri.