Re: Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze, mips, mips64, nios2, powerpc, ppc, s390, sh, sparc, sparc64, blackfin, avr32, nds32, or1k

From: Thomas Gleixner
Date: Sun Feb 28 2016 - 04:26:17 EST


On Sun, 28 Feb 2016, kbuild test robot wrote:

> Hi Thomas,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 691429e13dfaf5b0994b07cc166db41bd608ee3d
> commit: dcaab54e348c5b66cca4802815ceebd37059e70c timekeeping: Remove ktime_get_monotonic_offset()
> date: 1 year, 7 months ago
> config: xtensa-common_defconfig (attached as .config)
> reproduce:
> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout dcaab54e348c5b66cca4802815ceebd37059e70c
> # save the attached .config to linux build tree
> make.cross ARCH=xtensa
>
> All errors (new ones prefixed by >>):
>
> >> Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze, mips, mips64, nios2, powerpc, ppc, s390, sh, sparc, sparc64, blackfin, avr32, nds32, or1k
> Usage: /usr/bin/mkimage -l image
> -l ==> list image header information
> /usr/bin/mkimage -A arch -O os -T type -C comp -a addr -e ep -n name -d image
> -A ==> set architecture to 'arch'
> -O ==> set operating system to 'os'
> -T ==> set image type to 'type'
> -C ==> set compression type 'comp'
> -a ==> set load address to 'addr' (hex)
> ==> set entry point to 'ep' (hex)
> ==> set image name to 'name'-d ==> use image data from 'datafile'
> -x ==> set XIP (execute in place)
> /usr/bin/mkimage [-D dtc_options] -f fit-image.its fit-image
> /usr/bin/mkimage -V ==> print version information and exit

How is removing a unused function related to a tool problem?

Hint:

>> Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k, microblaze, mips,\
mips64, nios2, powerpc, ppc, s390, sh, sparc, sparc64, blackfin, avr32, nds32, or1k

Your mkimage does not support xtensa .....

Thanks,

tglx