stutte Posted July 6, 2015 Share Posted July 6, 2015 Hey is there some body who has a working build root for the mark5 ?? i am trying to have a working cross compiler for pineapple or is there someone who could help me find the right settings (cpu arch,kernel,uclibc,binutils,gcc version ??? ) this is a example i use for compiling for my arm router ... so i would need most of these settings ####################################################### This tutorial describes how to a build an ARM ## cross-compile toolchain with buildroot. ## ## This allows a user to run his own code on ## an embedded device. ## ## Device = ARM embedded device (router) ## Host OS = Ubuntu 14.10 ######################################################## Get the latest version of buildrootcd ~git clone git://git.buildroot.net/buildroot# Setup buildrootcd buildrootmake menuconfigTarget options:-> Set 'Target Architecture' to ARM (big endian)-> Set 'Target Architecture Variant' to arm1176jz-s-> Set 'Target ABI' to EABI-> Set 'Floating point strategy' to Soft floatBuild options:-> Enable compiler cacheToolchain:-> Set 'Kernel Headers' to manually specified-> Set 'Linux version' to 2.6.39.3-> Set 'Custom kernel headers series' to 2.6.x-> Set 'C library' to 'uClibc'-> Set 'uClibc version' to 0.9.33.x-> Enable IPv6 support-> Enable RPC support-> Enable WCHAR support-> Set 'Binutils Version' to 2.22-> Set 'GCC Version' to 4.7.xSave and exit.# Start building toolchainmake# When finished, toolchain can be found in ~/buildroot/output/host/usr/bin/# GCC syntax: ./armeb-buildroot-linux-uclibcgnueabi-gcc <source.c> -o <output file> Quote Link to comment Share on other sites More sharing options...
stutte Posted July 11, 2015 Author Share Posted July 11, 2015 Ok i found the right settings to compile with buildroot i updated the first post so people can use this as a tutorial Quote Link to comment Share on other sites More sharing options...
stutte Posted July 11, 2015 Author Share Posted July 11, 2015 can not edit my previous post i figured it out and and have a working cross compiler for pineapple these are the right settings (cpu arch,kernel,uclibc,binutils,gcc version ??? ) this is a example i use for compiling for my mark 5 ####################################################### This tutorial describes how to a build an ARM ## cross-compile toolchain with buildroot. ## ## This allows a user to run his own code on ## an embedded device. ## ## Device = pine apple mark5 ## Host OS = kali linux ######################################################## Get the latest version of buildrootcd ~git clone git://git.buildroot.net/buildroot# Setup buildrootcd buildrootmake menuconfigTarget options:-> Set 'Target Architecture' to MIPS (big endian)-> Set 'Target Architecture Variant' to mips32-> Set 'Floating point strategy' to use Soft floatBuild options:-> Enable compiler cache choose if you want static or dynamic binary's compiled static is easy cus it does not require libraries on the pineapple butt sometimes dynamic compiling is neededToolchain:-> Set 'Kernel Headers' to manually specified-> Set 'Linux version' to 3.3.8-> Set 'Custom kernel headers series' to 3.3.x-> Set 'C library' to 'uClibc'-> Set 'uClibc version' to 0.9.33.x-> Enable IPv6 support-> Enable RPC support-> Enable WCHAR support-> Set 'Binutils Version' to 2.22-> Set 'GCC Version' to 4.7.xSave and exit.# Start building toolchainmake# When finished, toolchain can be found in ~/buildroot/output/host/usr/bin/# GCC syntax: ./mips-buildroot-linux-uclibc-gcc <source.c> -o <output file> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.