All of lore.kernel.org
 help / color / mirror / Atom feed
* 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
@ 2016-02-27 23:51 kbuild test robot
  2016-02-28  8:43 ` Geert Uytterhoeven
  2016-02-28  9:24 ` Thomas Gleixner
  0 siblings, 2 replies; 8+ messages in thread
From: kbuild test robot @ 2016-02-27 23:51 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: kbuild-all, linux-kernel, John Stultz

[-- Attachment #1: Type: text/plain, Size: 1665 bytes --]

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

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 8665 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* 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
  2016-02-27 23:51 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 kbuild test robot
@ 2016-02-28  8:43 ` Geert Uytterhoeven
  2016-03-01  2:06   ` [kbuild-all] " Fengguang Wu
  2016-02-28  9:24 ` Thomas Gleixner
  1 sibling, 1 reply; 8+ messages in thread
From: Geert Uytterhoeven @ 2016-02-28  8:43 UTC (permalink / raw)
  To: kbuild test robot; +Cc: Thomas Gleixner, kbuild-all, linux-kernel, John Stultz

Hi Fengguang,

On Sun, Feb 28, 2016 at 12:51 AM, kbuild test robot
<fengguang.wu@intel.com> wrote:
> 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

Don't you just need to update mkimage to a version that does have
xtensa support?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 8+ messages in thread

* 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
  2016-02-27 23:51 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 kbuild test robot
  2016-02-28  8:43 ` Geert Uytterhoeven
@ 2016-02-28  9:24 ` Thomas Gleixner
  2016-03-01  2:26   ` [kbuild-all] " Fengguang Wu
  1 sibling, 1 reply; 8+ messages in thread
From: Thomas Gleixner @ 2016-02-28  9:24 UTC (permalink / raw)
  To: kbuild test robot; +Cc: kbuild-all, linux-kernel, John Stultz

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [kbuild-all] 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
  2016-02-28  8:43 ` Geert Uytterhoeven
@ 2016-03-01  2:06   ` Fengguang Wu
  2016-03-01  2:48     ` Fengguang Wu
  0 siblings, 1 reply; 8+ messages in thread
From: Fengguang Wu @ 2016-03-01  2:06 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Thomas Gleixner, John Stultz, kbuild-all, linux-kernel

Hi Geert,

> >         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
> 
> Don't you just need to update mkimage to a version that does have
> xtensa support?

Yeah, thanks for the suggestion!
I'll upgrade the u-boot-tools package which contains /usr/bin/mkimage.

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [kbuild-all] 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
  2016-02-28  9:24 ` Thomas Gleixner
@ 2016-03-01  2:26   ` Fengguang Wu
  0 siblings, 0 replies; 8+ messages in thread
From: Fengguang Wu @ 2016-03-01  2:26 UTC (permalink / raw)
  To: Thomas Gleixner; +Cc: John Stultz, kbuild-all, linux-kernel

On Sun, Feb 28, 2016 at 10:24:42AM +0100, Thomas Gleixner wrote:
> 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?

Sorry, I triggered a batch of bisects for aged errors. This one looks
a problem with the tool rather than regression by some kernel commit.
Which confused the bisect.

> 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 .....

Yeah, just upgraded the mkimage tool!

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [kbuild-all] 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
  2016-03-01  2:06   ` [kbuild-all] " Fengguang Wu
@ 2016-03-01  2:48     ` Fengguang Wu
  2016-03-01  3:15       ` Michael Ellerman
  0 siblings, 1 reply; 8+ messages in thread
From: Fengguang Wu @ 2016-03-01  2:48 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Thomas Gleixner, John Stultz, kbuild-all, linux-kernel

On Tue, Mar 01, 2016 at 10:06:19AM +0800, Fengguang Wu wrote:
> Hi Geert,
> 
> > >         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
> > 
> > Don't you just need to update mkimage to a version that does have
> > xtensa support?
> 
> Yeah, thanks for the suggestion!
> I'll upgrade the u-boot-tools package which contains /usr/bin/mkimage.

Hi Geert,

I've upgraded the Debian u-boot-tools to 2016.01+dfsg1-2:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                 Version                 Architecture            Description
+++-====================================-=======================-=======================-=============================================================================
ii  u-boot-tools                         2016.01+dfsg1-2         amd64                   companion tools for Das U-Boot bootloader

But still find it not support xtensa..

$ strings /usr/bin/mkimage|g xtensa
<EMPTY>

I do see there is an xtensa patch 2 years ago:

http://lists.denx.de/pipermail/u-boot/2014-April/178467.html

Thanks,
Fengguang

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [kbuild-all] 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
  2016-03-01  2:48     ` Fengguang Wu
@ 2016-03-01  3:15       ` Michael Ellerman
  2016-03-01  3:30         ` Fengguang Wu
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Ellerman @ 2016-03-01  3:15 UTC (permalink / raw)
  To: Fengguang Wu, Geert Uytterhoeven
  Cc: Thomas Gleixner, John Stultz, kbuild-all, linux-kernel

On Tue, 2016-03-01 at 10:48 +0800, Fengguang Wu wrote:
> On Tue, Mar 01, 2016 at 10:06:19AM +0800, Fengguang Wu wrote:
> > Hi Geert,
> > 
> > > >         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
> > > 
> > > Don't you just need to update mkimage to a version that does have
> > > xtensa support?
> > 
> > Yeah, thanks for the suggestion!
> > I'll upgrade the u-boot-tools package which contains /usr/bin/mkimage.
> 
> Hi Geert,
> 
> I've upgraded the Debian u-boot-tools to 2016.01+dfsg1-2:
> 
> Desired=Unknown/Install/Remove/Purge/Hold

> > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> > / Err?=(none)/Reinst-required (Status,Err: uppercase=bad)

> > > / Name                                 Version                 Architecture            Description
> +++-====================================-=======================-=======================-=============================================================================
> ii  u-boot-tools                         2016.01+dfsg1-2         amd64                   companion tools for Das U-Boot bootloader
> 
> But still find it not support xtensa..
> 
> $ strings /usr/bin/mkimage|g xtensa
> <EMPTY>

Hmm, true, same here.

Kisskb is building xtensa happily, there must be something in .config which
controls whether it uses mkimage?

  http://kisskb.ellerman.id.au/kisskb/buildresult/12621125/
  http://kisskb.ellerman.id.au/kisskb/target/2029/

cheers

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [kbuild-all] 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
  2016-03-01  3:15       ` Michael Ellerman
@ 2016-03-01  3:30         ` Fengguang Wu
  0 siblings, 0 replies; 8+ messages in thread
From: Fengguang Wu @ 2016-03-01  3:30 UTC (permalink / raw)
  To: Michael Ellerman
  Cc: Geert Uytterhoeven, Thomas Gleixner, John Stultz, kbuild-all,
	linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1986 bytes --]

On Tue, Mar 01, 2016 at 02:15:27PM +1100, Michael Ellerman wrote:
> On Tue, 2016-03-01 at 10:48 +0800, Fengguang Wu wrote:
> > On Tue, Mar 01, 2016 at 10:06:19AM +0800, Fengguang Wu wrote:
> > > Hi Geert,
> > > 
> > > > >         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
> > > > 
> > > > Don't you just need to update mkimage to a version that does have
> > > > xtensa support?
> > > 
> > > Yeah, thanks for the suggestion!
> > > I'll upgrade the u-boot-tools package which contains /usr/bin/mkimage.
> > 
> > Hi Geert,
> > 
> > I've upgraded the Debian u-boot-tools to 2016.01+dfsg1-2:
> > 
> > Desired=Unknown/Install/Remove/Purge/Hold
> 
> > > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> > > / Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> 
> > > > / Name                                 Version                 Architecture            Description
> > +++-====================================-=======================-=======================-=============================================================================
> > ii  u-boot-tools                         2016.01+dfsg1-2         amd64                   companion tools for Das U-Boot bootloader
> > 
> > But still find it not support xtensa..
> > 
> > $ strings /usr/bin/mkimage|g xtensa
> > <EMPTY>
> 
> Hmm, true, same here.
> 
> Kisskb is building xtensa happily, there must be something in .config which
> controls whether it uses mkimage?
> 
>   http://kisskb.ellerman.id.au/kisskb/buildresult/12621125/
>   http://kisskb.ellerman.id.au/kisskb/target/2029/

It looks you are using xtensa-defconfig, while the error here is
caught only in xtensa-common_defconfig (attached).

Thanks,
Fengguang

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 8665 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2016-03-01  3:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-27 23:51 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 kbuild test robot
2016-02-28  8:43 ` Geert Uytterhoeven
2016-03-01  2:06   ` [kbuild-all] " Fengguang Wu
2016-03-01  2:48     ` Fengguang Wu
2016-03-01  3:15       ` Michael Ellerman
2016-03-01  3:30         ` Fengguang Wu
2016-02-28  9:24 ` Thomas Gleixner
2016-03-01  2:26   ` [kbuild-all] " Fengguang Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.