Hello,

I'm following the same tutorial and I found the problem:

For the crosstool-ng configuration, the book specifies (or suggests rather) 
that you set the hardware floating point option to true.  What it didn't 
mention is that you also need to specify the FPU hardware.  Run ct-ng 
menuconfig, go to "Target options --> Use specific FPU" and type "vfpv3" 
which is the floating point unit specification for the Arm Cortex A8 
according to its wiki page.  You also may want to specify the Linux version 
in the "Operating System -->" menu.

Basically you are setting the -mfpu runtime flag for the gcc cross 
compiler.  Refer to https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html for 
more information and look for the "-mfpu" flag.

FYI: major Linux distributions, such as Ubuntu, maintain their own 
pre-built versions of crosstool-ng for ARM.  I find it much easier to just 
use those than just customizing crosstool-ng from scratch.  This link will 
put you on the right path: 
https://elinux.org/Building_for_BeagleBone#Distro_provided

Hope this helps!

Justin

"
On Thursday, July 18, 2019 at 11:09:29 PM UTC-4, Kevin McKinney wrote:
>
> This is my version below. 
>
> Prompt $ arm-cortex_a8-linux-gnueabihf-gcc --version 
> arm-cortex_a8-linux-gnueabihf-gcc (crosstool-NG 1.24.0.6-afaf7b9) 8.3.0 
> Copyright (C) 2018 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. 
>
> I installed it via: 
> git clone //github.com/crosstool-ng/crosstool-ng.git 
> cd crosstool-ng 
> ./bootstrap 
> ./configure --enable-local 
> make 
> make install 
>
> On Thu, Jul 18, 2019 at 10:39 PM Robert Nelson <[email protected] 
> <javascript:>> wrote: 
> > 
> > On Thu, Jul 18, 2019 at 9:01 PM Kevin McKinney <[email protected] 
> <javascript:>> wrote: 
> > > 
> > > Hi, I am attempting to cross compile the Linux Kernel 4.20 to be 
> loaded on my BeagleBone Black, however I am receiving the below error: 
> > > 
> > >   AS      usr/initramfs_data.o 
> > > /tmp/cc6hWxZG.s: Assembler messages: 
> > > /tmp/cc6hWxZG.s:39: Error: selected processor does not support `isb ' 
> in ARM mode 
> > > /tmp/cc6hWxZG.s:90: Error: selected processor does not support `isb ' 
> in ARM mode 
> > > /tmp/cc6hWxZG.s:354: Error: selected processor does not support `isb ' 
> in ARM mode 
> > > scripts/Makefile.build:291: recipe for target 
> 'arch/arm/vfp/vfpmodule.o' failed 
> > > make[1]: *** [arch/arm/vfp/vfpmodule.o] Error 1 
> > > Makefile:1060: recipe for target 'arch/arm/vfp' failed 
> > > make: *** [arch/arm/vfp] Error 2 
> > > make: *** Waiting for unfinished jobs.... 
> > 
> > Your cross compiler smell's fishy... 
> > 
> > arm-cortex_a8-linux-gnueabihf-gcc --version 
> > 
> > Regards, 
> > 
> > -- 
> > Robert Nelson 
> > https://rcn-ee.com/ 
>
>
>
> -- 
> Thanks, 
> Kevin 
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/f6774aee-0fba-4608-87a9-045ca7cceadf%40googlegroups.com.

Reply via email to