Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp376680ybt; Wed, 17 Jun 2020 03:22:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJROIFCPN9zBPE5VSOB0mOBuAP7xoUkC43lFnsZsrg0pvReC8KPsj4yU5lskW6WvI3h9Q5 X-Received: by 2002:a05:6402:545:: with SMTP id i5mr6715625edx.179.1592389359048; Wed, 17 Jun 2020 03:22:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592389359; cv=none; d=google.com; s=arc-20160816; b=Y3j4YRlIPDSkujRTdjpuVThBV6rc4r3Xi7IMbyWd2ClUU/b7ljufE8Pq22to8rqMv1 IHb8M4WaTZOj8cGSyhx/UukLmpzTpo7vAx/eL4u+Md8xgrcsLCltNTlfQ1kadnbgqC87 K2PM4ZurU1A83/+MveLt+D+KzOlVgiEpUzhddk/8WexfPe+ayDQOIGF+sAaeN48/znmE 6Ph+XauhgMYILapZALYVYhVgSE1Rxxou7oXZQfcafvPmBT3sjGDC77fY7y8PH+DwpBJr 3+hp/tcAAtSsWAgeB8csEbzuWuWvCeU0kFL9LVV1XEdDHVQYZnYoOj9fE3XzXegdzude 80bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=qwfuojuh0b263Rw0F6mXvNjYrjEKMN+LBY9DkhwdBiY=; b=dd/Y4vhPEd+aSt9Gk/3SOLZxVzNTVQhshBmlTK87+V1bEOTnDLr/LCICvRMcNGqfPa W6H1ZJTGHkClwKymz6Yj0BA4WKsscM4IRPWh38V8V3hMzf7F4rW4GSU14qttQA1GCBGx /UG7FBgI89Kl0yRJpZL4eWTwP5eWoupqrpLqSMmEtrm/hm1HyuV0ZIIFfYNiL9n76fgL 6PTx9kOD89m0z7m5aMlKPdlz06mOR5x/kR0Id8C8TmusBpVF7gBKM7q3i6bpo0/75a7r lTuoXG24DcH+rVQEijs9f2Ow2NNvNiOMSCDK1EO6Bq459uHIs3Lt7lMG/5oN8yR4gZYW xq8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b="lbRHhw/n"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d20si12020510edp.298.2020.06.17.03.22.16; Wed, 17 Jun 2020 03:22:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b="lbRHhw/n"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726538AbgFQKUh (ORCPT + 99 others); Wed, 17 Jun 2020 06:20:37 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:40177 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725967AbgFQKUg (ORCPT ); Wed, 17 Jun 2020 06:20:36 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 49n1Kt37Xcz9sSn; Wed, 17 Jun 2020 20:20:34 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1592389234; bh=oW+aFhY14nVcErSZ1Yr17+EOjunMNqELZDGyY/r4C/Y=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=lbRHhw/nhzDMFxl8iYyc5SrpaxVTXQMRUwQKKZSfAxRKKg93xAROFcATq8H3RsSlC d75MOAO59PYtsjMkRYUuwMccPf/naGXDi7Reovhr+UDv9sNU7cnuv/AkILZM5wAEsl DE6LfbKp25olwBXMRK+AIfoc5thMBq8rTbbYDu9koN53rpuo8TeUgpiK+41RGya2TX tjxqKJMypuZ4jrp64FsddFqF9ZBwFLH3whXX4fmBOlq42X0kM4SMf/rhbPHTi6cVbE E2nYkuH8p0QpOTzjUx4pnJW1FPJozgD8d4kyh6HuZrnwGscvnvdx0OO6Zckpz+V/St B4rcbwJyPaNOQ== From: Michael Ellerman To: Michal Simek , Nathan Chancellor , Michal Simek Cc: Christophe Leroy , Benjamin Herrenschmidt , Paul Mackerras , arnd@arndb.de, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, clang-built-linux@googlegroups.com Subject: Re: [PATCH v5 01/13] powerpc: Remove Xilinx PPC405/PPC440 support In-Reply-To: <87bllidmk4.fsf@mpe.ellerman.id.au> References: <8c593895e2cb57d232d85ce4d8c3a1aa7f0869cc.1590079968.git.christophe.leroy@csgroup.eu> <20200616002720.GA1307277@ubuntu-n2-xlarge-x86> <68503e5e-7456-b81c-e43d-27cb331a4b72@xilinx.com> <20200616181630.GA3403678@ubuntu-n2-xlarge-x86> <50fb2dd6-4e8f-a550-6eda-073beb86f2ff@xilinx.com> <87bllidmk4.fsf@mpe.ellerman.id.au> Date: Wed, 17 Jun 2020 20:21:04 +1000 Message-ID: <878sgmdmcv.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Michael Ellerman writes: > Michal Simek writes: >> Or if bamboo requires uImage to be built by default you can do it via >> Kconfig. >> >> diff --git a/arch/powerpc/platforms/44x/Kconfig >> b/arch/powerpc/platforms/44x/Kconfig >> index 39e93d23fb38..300864d7b8c9 100644 >> --- a/arch/powerpc/platforms/44x/Kconfig >> +++ b/arch/powerpc/platforms/44x/Kconfig >> @@ -13,6 +13,7 @@ config BAMBOO >> select PPC44x_SIMPLE >> select 440EP >> select FORCE_PCI >> + select DEFAULT_UIMAGE >> help >> This option enables support for the IBM PPC440EP evaluation board. > > Who knows what the actual bamboo board used. But I'd be happy to take a > SOB'ed patch to do the above, because these days the qemu emulation is > much more likely to be used than the actual board. I just went to see why my CI boot of 44x didn't catch this, and it's because I don't use the uImage, I just boot the vmlinux directly: $ qemu-system-ppc -M bamboo -m 128m -display none -kernel build~/vmlinux -append "console=ttyS0" -display none -nodefaults -serial mon:stdio Linux version 5.8.0-rc1-00118-g69119673bd50 (michael@alpine1-p1) (gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #4 Wed Jun 17 20:19:22 AEST 2020 Using PowerPC 44x Platform machine description ioremap() called early from find_legacy_serial_ports+0x690/0x770. Use early_ioremap() instead printk: bootconsole [udbg0] enabled So that's probably the simplest solution? cheers