i.MX android vs linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX android vs linux

1,503 Views
pankaj_joshi
Contributor I
Hi all,
 
i want to understand few things w.r.t linux and android it will be great help for me if someone helps me with my queries and make me understand
 
1) what is diff between Yocto BSP and android BSP ? How i can differentiate between them ??
 
2) Can yocto BSP integrated to android BSP ?
 
3) If BSP varies and lets say i have Android BSP how i can integrate these to AOSP ??
0 Kudos
Reply
2 Replies

298 Views
Warriors202
Contributor I

Sure! Here's a short and clear version:


1) Yocto BSP vs Android BSP

  • 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.


2) Can Yocto BSP be integrated into Android BSP?

  • Not directly, but you can reuse kernel/drivers from Yocto BSP in Android BSP with some porting effort.


3) How to integrate Android BSP into AOSP?

  1. Add device/, vendor/, kernel/ folders

  2. Setup BoardConfig.mk, Android.mk

  3. Add HALs and drivers

  4. Use lunch and make to build

 

 

Thanks You
Warrior Academy

0 Kudos
Reply

1,496 Views
Yuri
NXP Employee
NXP Employee

@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:

 https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

Android:

https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications...

 

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.

0 Kudos
Reply