From:  <[email protected]>
Reply-To:  <[email protected]>
Date:  Tuesday, January 21, 2014 at 1:07 PM
To:  <[email protected]>
Subject:  Re: [beagleboard] SGX drivers on Kernel 3.8.13

> Here's the make line generated after I run the ./build_kernel.sh and save the
> default config from the menuconfig
> 
> make -j8 ARCH=arm LOCALVERSION=-bone12
> CROSS_COMPILE=/home/deric/am335_3.12_sgx/dl/gcc-linaro-arm-linux-gnueabihf-4.8
> -2013.10_linux/bin/arm-linux-gnueabihf-  zImage modules
Why don¹t you just run build_kernel.sh?

This will download the correct Linaro compiler, setup any environment
variables and build everything you need.

If you modify the kernel, then run tools/rebuild.sh

Regards,
John
> 
> Here's the version output from the linaro gcc specified in the CROSS_COMPILE.
> 
> /home/deric/am335_3.12_sgx/dl/gcc-linaro-arm-linux-gnueabihf-4.8-2013.10_linux
> /bin/arm-linux-gnueabihf-gcc --version                        !10138
> arm-linux-gnueabihf-gcc (crosstool-NG linaro-1.13.1-4.8-2013.10 - Linaro GCC
> 2013.10) 4.8.2 20131014 (prerelease)
> Copyright (C) 2013 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> Do I need to do anything if I'm running a 64 bit host OS?  I have the 32-bit
> libs installed.
> 
> Here's my console output.
> 
> http://pastebin.com/SQnQvL6c
> 
> Thanks.
> Deric.
> 
> 
> On Tuesday, 21 January 2014 16:00:37 UTC-5, RobertCNelson  wrote:
>> On Tue, Jan 21, 2014 at 2:43 PM,  <[email protected] <javascript:> > wrote:
>>> > I'm trying to build using the git://github.com/RobertCNelson/linux-dev.git
>>> <http://github.com/RobertCNelson/linux-dev.git>
>>> > project, I've cloned it, run a
>>> > 
>>> > 
>>> > git checkout -b refs/heads/am33x-v3.12
>>> > 
>>> > to get the am33x-v3.12 branch and tried running ./build_kernel.sh
>>> > 
>>> > I get to the menuconfig screen and just save and exit, the build starts
>>> and 
>>> > shortly thereafter the build fails with a bunch of these messages.
>>> > 
>>> > 
>>> > /tmp/ccfwkQRE.s:58: Error: selected processor does not support Thumb mode
>>> > `mrc p15,0,r2,c1,c0,2'
>>> > 
>>> > What am I doing wrong?  The Linaro cross-compiler is installed and I can
>>> > execute it, I'm not sure what step I'm missing here.
>> 
>> "which" linaro cross compiler?
>> 
>> With the default:
>> 
>> scripts/gcc: Using: arm-linux-gnueabihf-gcc (crosstool-NG
>> linaro-1.13.1-4.8-2013.10 - Linaro GCC 2013.10) 4.8.2 20131014
>> (prerelease) 
>> Copyright (C) 2013 Free Software Foundation, Inc.
>> This is free software; see the source for copying conditions.  There is NO
>> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>> 
>> it builds fine..
>> 
>> http://rcn-ee.homeip.net:8080/job/github_linux-dev/699/consoleText
>> 
>> Regards, 
>> 
>> -- 
>> Robert Nelson 
>> http://www.rcn-ee.com/
> 
> -- 
> 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 [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to