IoTGateway/BSP/Android/How to do about first porting

From ESS-WIKI
Revision as of 04:11, 12 December 2016 by Clayder.huang (talk | contribs) (Created page with "== How to do about first porting on new device in Android 6.0.1_2.1.0 == === <span style="font-family:times new roman,times,serif;">Setup Ubuntu host computer</span> === <sp...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to do about first porting on new device in Android 6.0.1_2.1.0

Setup Ubuntu host computer

In Android 6.0.1_2.1.0, we push the advantech risc platfrom in github.

https://github.com/ADVANTECH-Corp

If you will be fast porting the new device in android 6.0.1_2.1.0, you can step by step to do.

1.U-boot:

    Add your device android defconfig.

2.Android  

    build/envsetup.sh                                      
    device/fsl/imx6/AndroidProducts.mk
    device/fsl/imx6/vendorsetup.sh
    device/fsl/imx6/rsb_6410_a1.mk
    device/fsl/rsb_6410_a1

In /android/build/envsetup.sh, please add your device in PRODUCT_CHOICES

Example : Your device name is aaa_a1, please modify PRODUCT_CHOICES=(rsb4410_a1 rsb4410_a2 rsb4411_a1 aaa_a1)

In /android/build/envsetup.sh, please add your device in PRODUCT_CHOICES Example :

Your device name is aaa_a1, please modify PRODUCT_CHOICES=(rsb4410_a1 rsb4410_a2 rsb4411_a1 aaa_a1)