[U-Boot] Fwd: Recommended SH toolchain

Vasili Galka vvv444 at gmail.com
Tue Sep 2 13:49:36 CEST 2014


Hi Tom,

On Thu, Aug 21, 2014 at 2:07 PM, Vasili Galka <vvv444 at gmail.com> wrote:

> Hi Nobuhiro,
>
> I'm trying to verify the correct build of all SH boards in U-Boot. What is
> the recommended toolchain to use?
>
> I tried the one from kernel.org [1], but it does not work for all the
> boards,
> I get build errors like this one:
>
> Building rsk7203 board...
> sh4-linux-gcc: error: command line option '-m3e' is not supported by
> this configuration
> sh4-linux-gcc: error: command line option '-m3e' is not supported by
> this configuration
> make[3]: *** [include/autoconf.mk] Error 1
> make[3]: *** [include/autoconf.mk.dep] Error 1
> make[2]: *** [silentoldconfig] Error 1
> make: *** [sub-make] Error 2
> sh4-linux-size: '/home/lab/dev/u-boot/out/all_sh/u-boot': No such file
> sh4-linux-gcc: error: command line option '-m3e' is not supported by
> this configuration
> sh4-linux-gcc: error: command line option '-m3e' is not supported by
> this configuration
> make[3]: *** [include/autoconf.mk] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: *** [include/autoconf.mk.dep] Error 1
> 'make -f /home/lab/dev/u-boot/scripts/Makefile.autoconf obj=include
> include/autoconf.mk include/autoconf.mk.dep' Failed
> make[2]: *** [silentoldconfig] Error 1
> make[1]: *** No rule to make target `include/config/auto.conf', needed
> by `include/config/uboot.release'.  Stop.
> make: *** [sub-make] Error 2
>
> I'll appreciate your help.
>
> [1] https://www.kernel.org/pub/tools/crosstool/files/bin/x86_64/4.6.3/
>
> Regards,
> Vasili
>

What is the state of U-Boot support for the SH architecture? Is it
maintained at all? I wanted to verify the build, but failed finding a
proper toolchain. I tried contacting the custodian (Nobuhiro), but got no
answer.

Best,
Vasili


More information about the U-Boot mailing list