I recommend this site also:
  https://source.android.com/devices/index.html
The "interfaces" section describe the major Hardware Abstraction Layer (HAL)
interfaces that you will need to implement when you port to a new device.

On Thursday, September 3, 2015 at 5:33:29 PM UTC-7, Brian Yee wrote:
>
> Hi Raul,
>
> So if I wanted to build for the Samsung Galaxy Tab S2 9.7, which has 
> the Exynos 5433 CPU I could use the 'kernel/exynos' option listed in the 
> table?  Thus I can build the vanilla AOSP and put it on the tablet?  How 
> would I get things like the drivers for the video card, camera and other 
> hardware in the build?
>
> I believe  cyanogenmod has a build, but I want to learn how to do it 
> myself so I can play around with the AOSP, make changes and put it on the 
> tablet.
>
> If not how would I go about doing this with the Samsung tablet i have 
> referenced?  Buying a Nexus 9 is out of the questions right now.
>
> Thanks for any help!
> -Brian
>
>
>
>
> On Wednesday, July 22, 2015 at 10:35:19 AM UTC-4, Raul Piper wrote:
>>
>> Hi Jaimin,
>> Is your allwinner a20 processor listed under the list of Processors(Soc) 
>> mentioned in the list of AOSP(android Open Source kernel) kernels here : 
>> (under Figuring out which kernel to build : ) 
>>
>> -> 
>> http://source.android.com/source/building-kernels.html#figuring-out-which-kernel-to-build
>>
>>
>> DeviceBinary locationSource locationBuild configurationshamu
>> device/moto/shamu-kernelkernel/msmshamu_defconfigfugu
>> device/asus/fugu-kernelkernel/x86_64fugu_defconfigvolantis
>> device/htc/flounder-kernelkernel/tegraflounder_defconfighammerhead
>> device/lge/hammerhead-kernelkernel/msmhammerhead_defconfigflo
>> device/asus/flo-kernel/kernelkernel/msmflo_defconfigdeb
>> device/asus/flo-kernel/kernelkernel/msmflo_defconfigmanta
>> device/samsung/manta/kernelkernel/exynosmanta_defconfigmako
>> device/lge/mako-kernel/kernelkernel/msmmako_defconfiggrouper
>> device/asus/grouper/kernelkernel/tegrategra3_android_defconfigtilapia
>> device/asus/grouper/kernelkernel/tegrategra3_android_defconfigmaguro
>> device/samsung/tuna/kernelkernel/omaptuna_defconfigtoro
>> device/samsung/tuna/kernelkernel/omaptuna_defconfigpanda
>> device/ti/panda/kernelkernel/omappanda_defconfigstingray
>> device/moto/wingray/kernelkernel/tegrastingray_defconfigwingray
>> device/moto/wingray/kernelkernel/tegrastingray_defconfigcrespo
>> device/samsung/crespo/kernelkernel/samsungherring_defconfigcrespo4g
>> device/samsung/crespo/kernelkernel/samsungherring_defconfig
>>
>> If it is there it is fairly easy to start the porting process : 
>> As a summary these will be the steps : 
>>
>> 1.Download the Android source (start with Kitkat : 4.4.4 ) and build it , 
>> follow : http://source.android.com/source/building-running.html
>> 2.Download the kernel source for your board and build it. follow : 
>> http://source.android.com/source/building-kernels.html
>> 3.Link the zImage of the kernel built in #2 at 
>> arch/<processor-type>/boot/zImage (use ln -s <location of zImage> kernel)
>> 4.Build the Android as whole or build the bootimage - make bootimage 
>> 5.Now in the device/<manufacture>/<device-name>/ there must be a README 
>> to flash the board you have using fastboot.
>> 6.Using #5 Use the images formed in the  out/target/product/<your device 
>> name> - system.img ,boot.img and userdata.img as  formed after #4 (for all 
>> images ) to flash your board.
>> 7.Connect your Board with the HDMI cable to a Display screen and connect 
>> it using USB cable for USB adb debugging.
>>
>>
>> You can connect the minicom to get the output while your board 
>> boots(kernel) up by connecting RS232-to-USB cable with your board .
>> If you find any issue post the logs here .
>>
>> This link has all the information you need : 
>> http://source.android.com/source/building-kernels.html#figuring-out-which-kernel-to-build
>> and follow below points sequentially : 
>>
>>    - Overview <http://source.android.com/source/index.html>
>>    - Downloading and Building 
>>    <http://source.android.com/source/building.html>
>>    - Initializing the Build Environment 
>>       <http://source.android.com/source/initializing.html>
>>       - Downloading the Source 
>>       <http://source.android.com/source/downloading.html>
>>       - Building and Running 
>>       <http://source.android.com/source/building-running.html>
>>       - Building for Devices 
>>       <http://source.android.com/source/building-devices.html>
>>       - Building Kernels 
>>       <http://source.android.com/source/building-kernels.html>
>>    
>>
>>
>> Have a good luck exploring your board with the Android.
>> Rgds,
>> Rp
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Jul 22, 2015 at 10:35 AM, Jaimin Ajmeri <[email protected]> 
>> wrote:
>>
>>> Hi People,
>>>
>>> I would like to learn porting android os to allwinner a20 processor. I 
>>> want to learn the process involved in porting android os to a new board. 
>>> Please guide through the process.
>>>
>>> Thanks,
>>> Jaimin
>>>
>>> -- 
>>> -- 
>>> unsubscribe: [email protected]
>>> website: http://groups.google.com/group/android-porting
>>>
>>> --- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "android-porting" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

--- 
You received this message because you are subscribed to the Google Groups 
"android-porting" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to