[PATCH v2 0/7] SH Mobile sh_flctl driver brush up

Simon Horman horms at verge.net.au
Mon Feb 13 22:38:10 EST 2012


On Mon, Feb 13, 2012 at 03:41:55PM +0200, Artem Bityutskiy wrote:
> On Sat, 2012-02-11 at 12:44 +0100, Bastian Hecht wrote:
> > This patch series brushs up the sh_flctl.c a bit to make it work with
> > the mackerel board. The hardware has changed and this needed to be
> > reflected in the NAND host driver.
> > On the road some minor enhancements have been incorporated.
> 
> I cannot even compile-test this patch because I get the following error:
> 
> 
> sh4-linux-gcc: error: command line option '-m4-nofpu' is not supported
> by this configuration
> 
> 
> with the cross-compiler downloaded from here:
> 
> http://kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.0/x86_64-gcc-4.6.0-nolibc_sh4-linux.tar.bz2
> 
> Could you please describe how could I compile-test it?

You may find it easier to build a kernel for mackerel using
arch arm and defconfig_mackerel.

Personally I have had good experience using Code Sourcery (now part of
Mentor Graphics?) G++ lite to compile both arm and sh kernels.





More information about the linux-mtd mailing list