IMX8 Android Platform: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(57 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_Development_Environment|{{#var:RELEASE_LINK}}|'''Setting a Development Environment'''}}
* {{Varlink|Android_Development_Environment|{{#var:RELEASE_LINK}}|Setting a Development Environment}}
* {{Varlink|VAR-SOM-MX6 Android|{{#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 Customizing U-Boot|{{#var:RELEASE_LINK}}|Customizing U-Boot}}
* {{Varlink|Android_Customizing_the_Linux_kernel|{{#var:RELEASE_LINK}}|Customizing the Linux kernel}}
* {{Varlink|Android Customizing the Linux kernel|{{#var:RELEASE_LINK}}|Customizing the Linux kernel}}
* {{Varlink|Android_Customizing_IMX8_U-Boot|{{#var:RELEASE_LINK}}|Customizing U-Boot}}
* {{Varlink|Android Customizing SePolicy|{{#var:RELEASE_LINK}}|SeLinux}}
* {{Varlink|Android Customizing SePolicy|{{#var:RELEASE_LINK}}|SeLinux}}
* {{Varlink|Android Image Flashing / Burning|{{#var:RELEASE_LINK}}|Android Flashing}}
* {{Varlink|Android Customizing BootAnimation|{{#var:RELEASE_LINK}}|BootAnimation}}
* {{Varlink|Adding Android APK packages|{{#var:RELEASE_LINK}}|Adding Android APK to Android build}}
* {{Varlink|Android_NXP_Guide|{{#var:RELEASE_LINK}}#Flashing_Android_with_USB_Fastboot|Android flashing}}
* {{Varlink|UUU_Loader |{{#var:RELEASE_LINK}}|Booting from USB using the UUU utility}}
* {{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>
</nowiki>{{SoftBox
{{SoftBox
|title=How-to
|title=How-to
|boxwidth=46
|boxwidth=46
|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;">
* [[IMX8_Android_Audio|Android Audio]]
* {{Varlink|IMX8_Android_Audio|{{#var:RELEASE_LINK}}|Audio}}
* {{Varlink|Android_Bluetooth_stack_and_Low_Energy|{{#var:RELEASE_LINK}}|Android Bluetooth stack and Low Energy}}
* {{Varlink|Android_Bluetooth_stack_and_Low_Energy|{{#var:RELEASE_LINK}}|Bluetooth}}
* [[IMX Backlight|Backlight]]
* {{Varlink|DART-MX8M Android Backlight|{{#var:RELEASE_LINK}}|Backlight}}
* [[Android Camera|Camera]]
* {{Varlink|DART-MX8M Android Display|{{#var:RELEASE_LINK}}|Display}}
* {{Varlink|Android_Canbus|{{#var:RELEASE_LINK}}|Can Bus}}
* {{Varlink|DART-MX8M Android Camera|{{#var:RELEASE_LINK}}|Camera}}
* {{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]]
* [[Dual Display|Dual Displays in Android]]
* {{Varlink|VAR-SOM-MX6_Android_Ethernet|{{#var:RELEASE_LINK}}|Ethernet}}
* [[{{#var:HARDWARE_NAME}} Android Ethernet|Ethernet]]
* [[{{#var:HARDWARE_NAME}} Eth MAC address|Ethernet MAC address]]
* [[{{#var:HARDWARE_NAME}} UART|External UART]]
* [[{{#var:HARDWARE_NAME}} GPIO|GPIO]]
</div>
</div>
<div style="width:50%; float: right;">
<div style="width:50%; float: right;">
* [[{{#var:HARDWARE_NAME}} GPS| GPS Integration]]
* {{Varlink|MX8M GPIO|{{#var:RELEASE_LINK}}|GPIO}}
* [[U-Boot 4.1.15 features#HDMI auto-detection|HDMI]]
* {{Varlink|DART-MX8M I2C|{{#var:RELEASE_LINK}}|I2C}}
* [[{{#var:HARDWARE_NAME}} I2C|I2C]]
* {{Varlink|DART-MX8M SPI|{{#var:RELEASE_LINK}}|SPI}}
* [[{{#var:HARDWARE_NAME}} PCIE|PCIE]]
* {{Varlink|DART-MX8M UART|{{#var:RELEASE_LINK}}|UART}}
* [[IMX RTC|RTC]]
* {{Varlink|Android USB Host|{{#var:RELEASE_LINK}}|USB Host}}
* [[{{#var:HARDWARE_NAME}} SATA|SATA]]
* {{Varlink|DART-MX8M USB OTG|{{#var:RELEASE_LINK}}|USB OTG}}
* [[{{#var:HARDWARE_NAME}} SPI|SPI]]
* {{Varlink|VAR-SOM-MX6_Android_Wireless_LAN|{{#var:RELEASE_LINK}}|WiFi}}
* [[IMX_suspend|Suspend]]
* {{Varlink|DART-MX8M_Android_Modem|{{#var:RELEASE_LINK}}|mPCIE-Modem}}
* [[Android USB Host|USB Host]]
* [[{{#var:HARDWARE_NAME}} Android USB OTG|USB OTG]]
* [[{{#var:HARDWARE_NAME}} Android Wireless LAN|Wireless LAN]]
</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/
</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/