[PATCH v2 0/7] SH Mobile sh_flctl driver brush up
Bastian Hecht
hechtb at googlemail.com
Tue Feb 14 05:58:45 EST 2012
Hello Artem,
2012/2/14 Simon Horman <horms at verge.net.au>:
> 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.
>
>
I as well use a Code Sourcery toolchain. arm-none-linux-gnueabi-gcc -v
states "gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202)". It took me
quite a bit to find a link to the toolchain as these gpl toolchains
from Code Sourcery almost seem to be hidden. But here it is if you
want to give it a try:
http://www.codesourcery.com/sgpp/lite/arm/portal/package6488/public/arm-none-linux-gnueabi/arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
I very appreciate that you take a look at the patches - I really hope
them to be merged.
thanks,
Bastian
More information about the linux-mtd
mailing list