[Odroid-pc] during the migration from ubuntu12.04 android4.0 to odroid-pc, android4.4

Source: Internet
Author: User

[Odroid-pc] during the migration from ubuntu12.04 android4.0 to odroid-pc, android4.4

Reference: http://blog.csdn.net/sunnybeike/article/details/8098349

Odroid prebuilt

Img: http://com.odroid.com/sigong/nf_file_board/nfile_board.php? Tag = ODROID-PC

Download odroid source code

Http://com.odroid.com/sigong/nf_file_board/nfile_board_view.php? Keyword = & tag = ODROID-PC & bid = 111

[Download the link that can be copied with thunder]

After the source code is downloaded, we start to compile the source code...

Step 1:

Compile Uboot. I downloaded a uboot-4210.

Therefore, the compilation command is as follows:

  1. # Cd uboot
  2. # Make distclean --> This is only used to clean up files from the source code
  3. # Make smdkv310_config --> common use for ODROID-A, ODROID-PC, ODROID-A4
  4. # Make ARCH = arm CROSS_COMPILE = arm-none-eabi-[specify arm-none-eabi-absolute path]


Step 2:

Compile the Linux kernel

  1. # Make ARCH = arm odroid_pc_defconfig ==> ODROID-PC
  2. Let's start compile!
  3. # Make ARCH = arm CROSS_COMPILE = arm-none-eabi-[specify arm-none-eabi-absolute path]
You can specify parameters in Makefile.


Step 3:

Compile Android according to this: http://source.android.com/source/initializing.html

After:
  1. = Odroid-PC =
  2. # Cd ~ /Mydroid/android
  3. # Mydroid/android $
  4. # Chmod u + x./build_android.sh
  5. #./Build_android.sh odroidpc
Problem baidu encountered.


Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.