IMX8 Android Platform: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(33 intermediate revisions by 4 users not shown)
Line 3: Line 3:
--> {{#lst:Android_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_P9.0.0_1.0.0_GA_DART-MX8M-MINI}}}} <!--
--> {{#lst:Android_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_P9.0.0_1.0.0_GA_DART-MX8M-MINI}}}} <!--
--> {{SoftwareEx
--> {{SoftwareEx
|title={{#var:HARDWARE_NAME}} Android {{#var:ANDROID_NAME}}
|title={{#var:HARDWARE_NAME}} {{#switch: {{#var:ANDROID_NAME}} | Android 10 = {{#var:ANDROID_NAME}} | Android 11 = {{#var:ANDROID_NAME}} | | Android 12 = {{#var:ANDROID_NAME}} | Android 13 = {{#var:ANDROID_NAME}} | Android {{#var:ANDROID_NAME}} }}
|image=Android.png
|image=Android.png
|description=Android is a mobile operating system developed by Google, based on a modified version of the Linux kernel and other open source software and designed primarily for touchscreen mobile devices such as smartphones and tablets. In addition, Google has further developed Android TV for televisions, Android Auto for cars, and Wear OS for wrist watches, each with a specialized user interface. Variants of Android are also used on game consoles, digital cameras, PCs and other electronics.
|description=Android is a mobile operating system developed by Google, based on a modified version of the Linux kernel and other open source software and designed primarily for touchscreen mobile devices such as smartphones and tablets. In addition, Google has further developed Android TV for televisions, Android Auto for cars, and Wear OS for wrist watches, each with a specialized user interface. Variants of Android are also used on game consoles, digital cameras, PCs and other electronics.
Line 10: Line 10:
}}
}}
Variscite extends this release to support its i.MX8 System On Module products.
Variscite extends this release to support its i.MX8 System On Module products.
<br><br>Release version: '''{{#var:ANDROID_VERSION}}'''
<br>
|category1={{#var:HARDWARE_NAME}}
<br>
|category2=Android
Release version: '''{{#var:ANDROID_VERSION}}'''
|category1=Android
|category2={{#var:HARDWARE_NAME}}
|documentation=<nowiki></nowiki>
|documentation=<nowiki></nowiki>
{{SoftBox
{{SoftBox
Line 23: Line 25:


=== Programming ===
=== Programming ===
* {{Varlink|Android Setup for ADB and Fastboot|{{#var:RELEASE_LINK}}|Adb and Fastboot}}
* {{Varlink|Android Hello World|{{#var:RELEASE_LINK}}|Hello World 'APK' application}}
* {{Varlink|Android Hello World|{{#var:RELEASE_LINK}}|Hello World 'APK' application}}
* {{Varlink|Android Setup for ADB and Fastboot|{{#var:RELEASE_LINK}}|Adb and Fastboot}}
* {{Varlink|Android Programming with Android Studio|{{#var:RELEASE_LINK}}|Debugging with Android Studio}}
* {{Varlink|Android Programming with Android Studio|{{#var:RELEASE_LINK}}|Debugging with Android Studio}}
* {{Varlink|Installing Google Play Store|{{#var:RELEASE_LINK}}|Google Play Store}}
* {{Varlink|Installing Google Play Store|{{#var:RELEASE_LINK}}|Google Play Store}}
 
* {{Varlink|Fastboot Unlock|{{#var:RELEASE_LINK}}|Fastboot Unlock}}
* {{Varlink|Android Application Accessing Hardware Resources|Android_HW_Access|Android Application Accessing Hardware}}
=== Support ===
=== Support ===
* [http://www.variscite.com/support/variscite-customer-portal '''Variscite Customer Portal'''] <br> Register at Variscite Customer Portal to get high quality engineering support for Variscite products
* [http://www.variscite.com/support/variscite-customer-portal '''Variscite Customer Portal'''] <br> Register at Variscite Customer Portal to get high-quality engineering support for Variscite products


|color=darkblue}}<nowiki>
|color=darkblue}}<nowiki>
Line 38: Line 41:


===Build Android, Linux and U-Boot===
===Build Android, Linux and U-Boot===
* [{{#var:RELEASE_NOTES_LINK}} Release Notes]
* {{Varlink|VAR-SOM-MX8_Release_Notes|{{#var:RELEASE_LINK}}|Release Notes}}
* {{Varlink|Android_NXP_Guide|{{#var:RELEASE_LINK}}#Host_.28PC.29_setup_requirements|'''Setting a Development Environment'''}}
* {{Varlink|Android_Development_Environment|{{#var:RELEASE_LINK}}|Setting a Development Environment}}
* {{Varlink|Android_NXP_Guide|{{#var:RELEASE_LINK}}|'''Build Android from source code'''}}
* {{Varlink|Android_NXP_Guide|{{#var:RELEASE_LINK}}|'''Build Android from source code'''}}
* {{Varlink|Android Common Errors|{{#var:RELEASE_LINK}}|Android common build errors}}
* {{Varlink|Android Common Errors|{{#var:RELEASE_LINK}}|Android common build errors}}
* {{Varlink|Android_NXP_Guide|{{#var:RELEASE_LINK}}#Build_boot.img|Customizing the Linux kernel}}
* {{Varlink|Android_Customizing_the_Linux_kernel|{{#var:RELEASE_LINK}}|Customizing the Linux kernel}}
* {{Varlink|Android_NXP_Guide|{{#var:RELEASE_LINK}}#Flashing_Android_with_USB_Fastboot|Android Flashing}}
* {{Varlink|Android_Customizing_IMX8_U-Boot|{{#var:RELEASE_LINK}}|Customizing U-Boot}}
* {{Varlink|Android Customizing SePolicy|{{#var:RELEASE_LINK}}|SeLinux}}
* {{Varlink|Android Customizing BootAnimation|{{#var:RELEASE_LINK}}|BootAnimation}}
* {{Varlink|Android_NXP_Guide|{{#var:RELEASE_LINK}}#Flashing_Android_with_USB_Fastboot|Android flashing}}
* {{Varlink|Android_UUU_IMX8|{{#var:RELEASE_LINK}}|Booting from USB using UUU(Universal Update Utility) and Flashing Android OS}}
* {{Varlink|Adding_Android_APK_packages|{{#var:RELEASE_LINK}}| Adding application / APKs to AOSP builds and System Application }}
|color=green}}<nowiki>
|color=green}}<nowiki>
</nowiki>{{SoftBox
</nowiki>{{SoftBox
Line 50: Line 58:
|content=<nowiki></nowiki>
|content=<nowiki></nowiki>
=== Test and use an Interface ===
=== Test and use an Interface ===
<div style="width:100%;">
<div style="width:50%; float: left;">
<div style="width:50%; float: left;">
* {{Varlink|IMX8_Android_Audio|{{#var:RELEASE_LINK}}|Audio}}
* {{Varlink|IMX8_Android_Audio|{{#var:RELEASE_LINK}}|Audio}}
* {{Varlink|Android_Bluetooth_stack_and_Low_Energy|{{#var:RELEASE_LINK}}|Bluetooth}}
* {{Varlink|Android_Bluetooth_stack_and_Low_Energy|{{#var:RELEASE_LINK}}|Bluetooth}}
* {{Varlink|DART-MX8M Backlight|{{#var:RELEASE_LINK}}|Backlight}}
* {{Varlink|DART-MX8M Android Backlight|{{#var:RELEASE_LINK}}|Backlight}}
* {{Varlink|DART-MX8M Android Display|{{#var:RELEASE_LINK}}|Display}}
* {{Varlink|DART-MX8M Android Camera|{{#var:RELEASE_LINK}}|Camera}}
* {{Varlink|DART-MX8M Android Camera|{{#var:RELEASE_LINK}}|Camera}}
* {{Varlink|Android_Canbus|{{#var:RELEASE_LINK}}|Can Bus}}
* {{Varlink|Android_Canbus|{{#var:RELEASE_LINK}}|CAN bus}}
* [[CPU_freq_and_num_of_cores |CPU freq. and number of cores]]
* [[CPU_freq_and_num_of_cores |CPU freq. and number of cores]]
* {{Varlink|VAR-SOM-MX6_Android_Ethernet|{{#var:RELEASE_LINK}}|Ethernet}}
* {{Varlink|VAR-SOM-MX6_Android_Ethernet|{{#var:RELEASE_LINK}}|Ethernet}}
</div>
</div>
<div style="width:50%; float: right;">
<div style="width:50%; float: right;">
* {{Varlink|DART-MX8M GPIO|{{#var:RELEASE_LINK}}|GPIO}}
* {{Varlink|MX8M GPIO|{{#var:RELEASE_LINK}}|GPIO}}
* {{Varlink|DART-MX8M I2C|{{#var:RELEASE_LINK}}|I2C}}
* {{Varlink|DART-MX8M I2C|{{#var:RELEASE_LINK}}|I2C}}
* {{Varlink|DART-MX8M SPI|{{#var:RELEASE_LINK}}|SPI}}
* {{Varlink|DART-MX8M SPI|{{#var:RELEASE_LINK}}|SPI}}
* {{Varlink|DART-MX8M UART|{{#var:RELEASE_LINK}}|UART}}
* {{Varlink|DART-MX8M UART|{{#var:RELEASE_LINK}}|UART}}
* {{Varlink|Android USB Host|{{#var:RELEASE_LINK}}|USB Host}}
* {{Varlink|Android USB Host|{{#var:RELEASE_LINK}}|USB Host}}
* {{Varlink|DART-MX8M USB OTG|{{#var:RELEASE_LINK}}#Configuring_the_USB_OTG_port_under_Linux|USB OTG}}
* {{Varlink|DART-MX8M USB OTG|{{#var:RELEASE_LINK}}|USB OTG}}
* {{Varlink|VAR-SOM-MX6_Android_Wireless_LAN|{{#var:RELEASE_LINK}}|WiFi}}
* {{Varlink|VAR-SOM-MX6_Android_Wireless_LAN|{{#var:RELEASE_LINK}}|WiFi}}
* {{Varlink|DART-MX8M_Android_Modem|{{#var:RELEASE_LINK}}|mPCIE-Modem}}
</div>
</div>
<div style="width:100%;">
&nbsp;
<br>
<br>
Notes:<br>
* In any "How-to" steps where manual steps to be executed on the target are mentioned, either the serial port or an adb shell should be used.
* If a certain interface requires changes in the kernel code, then after those changes are done the boot image needs to be rebuilt and flashed on the SOM.
* All device tree changes and kernel driver changes the code path is: <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{#var:BUILD_FOLDER_ANDROID}}/vendor/variscite/kernel_imx/arch/arm64/boot/dts/


Note: <br>
*In any "How-to" steps where it mentions manual steps to be executed. Please use serial port or adb shell to execute those commands.
*If certain interface require changes in kernel code, refer to interface specific device tree changes above, rebuild the kernel to generate new boot image. Flash new boot image and test the desired interface.
</div>
</div>
|color=blue}}}}
|color=blue}}}}
__NONUMBEREDHEADINGS__
{{NONUMBEREDHEADINGS}}

Latest revision as of 19:31, 21 September 2023


DART-MX8M-MINI Android Pie

Android is a mobile operating system developed by Google, based on a modified version of the Linux kernel and other open source software and designed primarily for touchscreen mobile devices such as smartphones and tablets. In addition, Google has further developed Android TV for televisions, Android Auto for cars, and Wear OS for wrist watches, each with a specialized user interface. Variants of Android are also used on game consoles, digital cameras, PCs and other electronics. Freescale/NXP i.MX is part of OHA the Android Project providing a release based on the Android Project and Google and Linux Foundation sources. Variscite extends this release to support its i.MX8 System On Module products.

Release version: P9.0.0_r01

How-to

Test and use an Interface

 

Notes:

  • In any "How-to" steps where manual steps to be executed on the target are mentioned, either the serial port or an adb shell should be used.
  • If a certain interface requires changes in the kernel code, then after those changes are done the boot image needs to be rebuilt and flashed on the SOM.
  • All device tree changes and kernel driver changes the code path is:

       android_build/vendor/variscite/kernel_imx/arch/arm64/boot/dts/