From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 716D6C433E0 for ; Wed, 17 Jun 2020 18:18:45 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C7FF02082F for ; Wed, 17 Jun 2020 18:18:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=google.com header.i=@google.com header.b="gMJvLtSi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C7FF02082F Authentication-Results: mail.kernel.org; dmarc=fail (p=reject dis=none) header.from=google.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Received: from bilbo.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 49nCxZ41fQzDqSP for ; Thu, 18 Jun 2020 04:18:42 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=google.com (client-ip=2607:f8b0:4864:20::442; helo=mail-pf1-x442.google.com; envelope-from=ndesaulniers@google.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=pass (p=reject dis=none) header.from=google.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=google.com header.i=@google.com header.a=rsa-sha256 header.s=20161025 header.b=gMJvLtSi; dkim-atps=neutral Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 49nCvZ3G9lzDqwC for ; Thu, 18 Jun 2020 04:16:58 +1000 (AEST) Received: by mail-pf1-x442.google.com with SMTP id b5so1524645pfp.9 for ; Wed, 17 Jun 2020 11:16:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9iHpdxTSsJV8Zk3XZ13SNgoX2KXs00CS5Ze28gN8oq4=; b=gMJvLtSibvq67YGso8XYpxFnSmLZoRjXPPUqyKDRwnWdCpcHeBmiNXdCbfKIchRtS/ hSrhpIY5G7Y545ckpnYuA0wk9iqFRhMBkVDUmF6WUUfqekbbOSIevevUjfvYN4Ajzg10 JOlCYV4rfTaZeQjmKY2lxB1ix82WlXrDuFdOrFqYvVFVv3+83qGR6eAk+PqJSucsnE25 Hb99nFfaWuFRgy0aSWVLAUOlzrVOWXFzx8nqFIvPjvOLp+sIB6Wbbbt3E2kymty5XyHK uuj9vWZadGn6o20m/C7bRAb/vv7JfEx3QnVGPygvY0Qm7ipcvW5t+9VJoz8Au7Mkpd0O nRqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9iHpdxTSsJV8Zk3XZ13SNgoX2KXs00CS5Ze28gN8oq4=; b=guADhnUDpe1wgBnnd1xfQO/W6AsAXsp2Pq8PUFzt4V7ckEHzUv6X3hy1ZKVNNKmpE7 xphdNQ0ZfVrNJxSKmksfdqR2yRvPesDcGf0+VAfBAQj45XG8IMTPw9+alhLLh3kYL84k P2pmcKR1U84/y3T2xZ+8f2cwHPCfxG7rqwxCOJfWam6kSBwlbf5C3CNmgfnszeqGqzi4 C2pMRZIpGFsrHZPl44PU4CFMl3cqUdEODFpqqcWM8zEHbn//VA8CY9a6cjP+LM562fSB FSUD6KRH/Tffx6KB7m5uQNQ7+S4iqaTl5alepIh+PLWpy4W++jpkcNpiNALcu3HmUWmU FnrA== X-Gm-Message-State: AOAM532LPsDzS0E4wkdlRTEkL/Ns8aUdVIMbX/J3RX94y1Fu7SVxDyAN EX04zqQC+XexJlRSSL+9WM4VEHn3HvwJ85J7kp1NnQ== X-Google-Smtp-Source: ABdhPJzfTBWS0aJ5XI2zVM6jazuKCFG/ugBxDHwAZofS2hb3/+lnVHVZ9XQKA3bIEz+6O/pqZK+UEL1W9pWZ+PUEU/4= X-Received: by 2002:a05:6a00:15ca:: with SMTP id o10mr247pfu.169.1592417814250; Wed, 17 Jun 2020 11:16:54 -0700 (PDT) MIME-Version: 1.0 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> <878sgmdmcv.fsf@mpe.ellerman.id.au> In-Reply-To: <878sgmdmcv.fsf@mpe.ellerman.id.au> From: Nick Desaulniers Date: Wed, 17 Jun 2020 11:16:42 -0700 Message-ID: Subject: Re: [PATCH v5 01/13] powerpc: Remove Xilinx PPC405/PPC440 support To: Michael Ellerman Content-Type: text/plain; charset="UTF-8" X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Arnd Bergmann , Michal Simek , LKML , clang-built-linux , Paul Mackerras , Nathan Chancellor , linuxppc-dev Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Wed, Jun 17, 2020 at 3:20 AM Michael Ellerman wrote: > > 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? If the uImage or zImage self decompresses, I would prefer to test that as well. > That means previously arch/powerpc/boot/zImage was just a hardlink to > the uImage: It sounds like we can just boot the zImage, or is that no longer created with the uImage? -- Thanks, ~Nick Desaulniers