On Sun, Dec 28, 2014 at 8:32 PM, Rick Mann <[email protected]> wrote:
>
>> On Dec 27, 2014, at 16:23 , Robert Nelson <[email protected]> wrote:
>>
>> git clone https://github.com/beagleboard/linux
>> cd linux
>>
>> git checkout origin/3.14.26-ti-r43 -b tmp
>> make ARCH=arm bb.org_defconfig
>>
>> ./scripts/config --disable CONFIG_USB_TI_CPPI41_DMA
>> ./scripts/config --enable CONFIG_MUSB_PIO_ONLY
>>
>> fakeroot make ARCH=arm  LOCALVERSION=-ti-r43-tmp
>> CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-  KDEB_PKGVERSION=1cross
>> KBUILD_DEBARCH=armhf deb-pkg
>>
>> cp *.deb to bbb, then run:
>>
>> sudo dpkg -i linux-image-*
>> sudo reboot
>
> These steps die here. Do I have the wrong gcc? Was I supposed to run this on 
> the BBB? Thanks!
>
> ~/linux$ fakeroot make ARCH=arm  LOCALVERSION=-ti-r43-tmp
> scripts/kconfig/conf --silentoldconfig Kconfig
> Makefile:608: Cannot use CONFIG_CC_STACKPROTECTOR_REGULAR: -fstack-protector 
> not supported by compiler
>   CHK     include/config/kernel.release
>   UPD     include/config/kernel.release
>   WRAP    arch/arm/include/generated/asm/auxvec.h


>   CC      kernel/bounds.s
> gcc: error: unrecognized argument in option ‘-mabi=aapcs-linux’
> gcc: note: valid arguments to ‘-mabi=’ are: ms sysv
> gcc: error: unrecognized command line option ‘-mlittle-endian’
> gcc: error: unrecognized command line option ‘-mapcs’
> gcc: error: unrecognized command line option ‘-mno-sched-prolog’
> gcc: error: unrecognized command line option ‘-mno-thumb-interwork’
> gcc: error: unrecognized command line option ‘-mfpu=vfp’
> make[1]: *** [kernel/bounds.s] Error 1
> make: *** [prepare0] Error 2

This just means it default to your default "x86" compiler, just force
linaro on your x86:

Follow the directions here:

https://eewiki.net/display/linuxonarm/BeagleBone+Black#BeagleBoneBlack-ARMCrossCompiler:GCC

Don't bother setting the CC bit..

Just make sure the update the "CROSS_COMPILE=" location

fakeroot make ARCH=arm LOCALVERSION=-ti-r43-tmp
CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-  KDEB_PKGVERSION=1cross
KBUILD_DEBARCH=armhf deb-pkg

remember ^ this is one line..

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/d/optout.

Reply via email to