Re: kissb mkimage doesn't support extensa

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 1, 2014 at 12:53 AM, Geert Uytterhoeven
<geert@xxxxxxxxxxxxxx> wrote:
> On Wed, Apr 30, 2014 at 9:34 PM, Max Filippov <jcmvbkbc@xxxxxxxxx> wrote:
>> On Wed, Apr 30, 2014 at 10:31 PM, Fabio Estevam <festevam@xxxxxxxxx> wrote:
>>> On Tue, Apr 29, 2014 at 12:50 AM, Michael Ellerman <mpe@xxxxxxxxxxxxxx> 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 --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

-- 
Thanks.
-- Max
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux