[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:
- # Cd uboot
- # Make distclean --> This is only used to clean up files from the source code
- # Make smdkv310_config --> common use for ODROID-A, ODROID-PC, ODROID-A4
- # Make ARCH = arm CROSS_COMPILE = arm-none-eabi-[specify arm-none-eabi-absolute path]
Step 2:
Compile the Linux kernel
- # Make ARCH = arm odroid_pc_defconfig ==> ODROID-PC
- Let's start compile!
- # 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:
- = Odroid-PC =
- # Cd ~ /Mydroid/android
- # Mydroid/android $
- # Chmod u + x./build_android.sh
- #./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.