简体   繁体   English

在AOSP设备文件夹中添加自定义设备的过程

[英]procedure to add custom device in AOSP device folder

I know this question has been asked before but I wanted customize according to my problem so, 1. I am new to adding this custom board to AOSP target devices. 我知道以前曾问过这个问题,但是我想根据自己的问题进行定制,所以1.我是第一次将此定制板添加到AOSP目标设备。 2. I have the kernel and necessary modules compiled now please guide me to link it with my device folder in AOSP devices list. 2.现在我已经编译了内核和必要的模块,请指导我将其链接到AOSP设备列表中的设备文件夹。 3. I know the basic .mk files to be created in device folder and I have created, but not sure if it is rightly done. 3.我知道要在设备文件夹中创建的基本.mk文件,并且已经创建了,但是不确定是否正确。 Android.mk,AndroidProducts.mk,BoardConfig.mk,myproduct.mk,vendorsetup.sh. Android.mk,AndroidProducts.mk,BoardConfig.mk,myproduct.mk,vendorsetup.sh。

First you need to understand build layers and the device tree . 首先,您需要了解build layersdevice tree Here are the references for you, 这是给您的参考,

Adding a new device 添加新设备

but not sure if it is rightly done. 但不确定这样做是否正确。 Android.mk,AndroidProducts.mk,BoardConfig.mk,myproduct.mk,vendorsetup.sh Android.mk,AndroidProducts.mk,BoardConfig.mk,myproduct.mk,vendorsetup.sh

Below link has good explanations on device configuration files, 以下链接对设备配置文件进行了很好的说明,

Android device configuration for AOSP AOSP的Android设备配置

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM