Odroid Cross Compile Setup

Source: Internet
Author: User

Reference

Http://odroid.com/dokuwiki/doku.php?id=en:xu3_building_kernel

1. Install the cross-compilation tool

Download http://dn.odroid.com/ODROID-XU/compiler/arm-eabi-4.6.tar.gz by reference

#arm-EABI-GCC cannot execute binary file

View files are elf 64-bit, Linux is 32bit

[Email protected]:/opt/arm-eabi-4.6/bin# file ARM-EABI-GCC
Arm-eabi-gcc:elf 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for Gnu/linux 2. 6.15, buildid[sha1]=0x8017f14da2903b7ff324011e39c63adc9355ed07, stripped

Download 32-bit cross-compilation

Https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/+/jb-release

TAR-ZXVF arm-eabi-4.6-jb-release.tar.gz-c toolchain/

Download Linux source tree after successful installation

git clone--depth 1 https://github.com/hardkernel/linux.git-b odroidxu3-3.10.y

  

CD Linuxmake Odroidxu3_defconfigmake

Application compilation

Apt-get Install Gcc-4.6-arm-linux-gnueabi

Odroid Cross Compile Setup

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.