diff mbox

kissb mkimage doesn't support extensa

Message ID CAMo8BfLRfQOYHR0Ltbqa4emaTjSFVBvT9NJcfK7Nk-JHf5dU3A@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Max Filippov May 1, 2014, 12:45 a.m. UTC
On Thu, May 1, 2014 at 12:53 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Wed, Apr 30, 2014 at 9:34 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
>> On Wed, Apr 30, 2014 at 10:31 PM, Fabio Estevam <festevam@gmail.com> wrote:
>>> On Tue, Apr 29, 2014 at 12:50 AM, Michael Ellerman <mpe@ellerman.id.au> wrote:
>>>> On Sun, 2014-03-02 at 11:25 +0100, Geert Uytterhoeven wrote:
>>>>> http://kisskb.ellerman.id.au/kisskb/buildresult/10665903/
>>>>>
>>>>> Invalid CPU Type - valid names are: alpha, arm, x86, ia64, m68k,
>>>>> microblaze, mips, mips64, nios, nios2, ppc, s390, sh, sparc, sparc64,
>>>>> blackfin, avr32
>>>>
>>>> I've upgraded to the latest version in Debian (2014.01), but it still doesn't
>>>> seem to support xtensa.
>>>>
>>>>   $ /usr/bin/mkimage -A xtensa
>>>>
>>>>   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, sandbox, arm64
>>>
>>> As mainline U-boot does not support xtensa currently, what about
>>> dropping the uImage format to be built?
>>
>> There's xtensa port for U-boot at https://github.com/foss-xtensa/u-boot
>> Also KISSKB didn't even try to build uImage for xtensa until recently.
>> What's changed?
>
> When comparing the build between 18a1a7a1 (good) and a7963eb7f4
> (bad), it seems allnoconfig changes the build type from ISS to XT2000.

Ok, then we'd better restore ISS as the default platform for allnoconfig:
diff mbox

Patch

diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
index 17b3198..2ca8819 100644
--- a/arch/xtensa/Kconfig
+++ b/arch/xtensa/Kconfig
@@ -243,7 +243,6 @@  choice

 config XTENSA_PLATFORM_ISS
        bool "ISS"
-       depends on TTY
        select XTENSA_CALIBRATE_CCOUNT
        select SERIAL_CONSOLE
        help
diff --git a/arch/xtensa/platforms/iss/Makefile
b/arch/xtensa/platforms/iss/Makefile
index d2369b7..b3e8929 100644
--- a/arch/xtensa/platforms/iss/Makefile
+++ b/arch/xtensa/platforms/iss/Makefile
@@ -4,6 +4,7 @@ 
 # "prom monitor" library routines under Linux.
 #

-obj-y                  = console.o setup.o
+obj-y                  = setup.o
+obj-$(CONFIG_TTY)      += console.o
 obj-$(CONFIG_NET)      += network.o
 obj-$(CONFIG_BLK_DEV_SIMDISK) += simdisk.o