From: Carl-Fredrik Sundström <audio...@gmail.com> Reply-To: <beagleboard@googlegroups.com> Date: Wednesday, January 1, 2014 at 9:15 PM To: <beagleboard@googlegroups.com> Subject: [beagleboard] Cross compiling linux for BBB
> > > I want to get started in kernel development for the BBB and I can't find where > to start, I have done work before developing Linux drivers for network > interface cards and TV tuner cards. Is there a document that describes how to > setup a cross compilation environment for lets say an ubuntu workstation or > any other mainstream distribution and step by step how to build a bin file for > flashing ? > > I have looked at and can't find something like that > > http://www.openembedded.org/wiki/Main_Page > > http://www.angstrom-distribution.org > > According to thread linked below the BBB will be going towards debian, is > there a tutorial on how to cross compile debian ? > > https://groups.google.com/forum/#!category-topic/beagleboard/beaglebone-black/ > WYrk-JUAkbM > > For me this is the number one stumbling block, I haven't tried compiling just > a kernel on the beagle itself, I assume thats not how you do it? host> sudo apt-get install arm-linux-gnueabihf-gcc # if you use make, you want to setup these env variables host> export CROSS_COMPILE=arm-linux-gnueabihf- host> export ARCH=arm # To compile host> arm-linux-gnueabihf-gcc test.c o test # Copy file to BBB, set execute permission and run. Regards, John > > > > > > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.