From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751728AbcCADPa (ORCPT ); Mon, 29 Feb 2016 22:15:30 -0500 Received: from ozlabs.org ([103.22.144.67]:53087 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750813AbcCADP3 (ORCPT ); Mon, 29 Feb 2016 22:15:29 -0500 Message-ID: <1456802127.21548.6.camel@ellerman.id.au> Subject: 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 From: Michael Ellerman To: Fengguang Wu , Geert Uytterhoeven Cc: Thomas Gleixner , John Stultz , "kbuild-all@01.org" , "linux-kernel@vger.kernel.org" Date: Tue, 01 Mar 2016 14:15:27 +1100 In-Reply-To: <20160301024805.GA22727@wfg-t540p.sh.intel.com> References: <201602280726.PTUabuDo%fengguang.wu@intel.com> <20160301020619.GA18677@wfg-t540p.sh.intel.com> <20160301024805.GA22727@wfg-t540p.sh.intel.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.16.5-1ubuntu3.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > 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