Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3127186ybb; Mon, 6 Apr 2020 02:39:14 -0700 (PDT) X-Google-Smtp-Source: APiQypK3N/YK9DITMigf9Q18WEZqi+nR0JrQ+ZOQmPtEN4tj4hXWGSw5X1yel+cNdRBb5v2Xdf3i X-Received: by 2002:a05:6830:10c2:: with SMTP id z2mr16238270oto.234.1586165954447; Mon, 06 Apr 2020 02:39:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586165954; cv=none; d=google.com; s=arc-20160816; b=Ej7eaWmbtpWgIfkPnsUyPbNDxIeNGv6TuxMpU3KfzoD/4BS9iM7KgPWZCYOntrCx8E i64xWtGkJ8kDuQvQ5oYKzP6KXbSv+cFwq3iiZIm+B0yhDpVb4n8gtL7mwrz5RJp0CTdr eVXfDUF4IpzhxPsdkqLNLHULbcbKelAtA8AkOK4wVEp4kQqBzh4Id30l8bD7s76jejjV gQj3xh9bQj8oUWZnM6qPOIcbp+SX6J0CbcMlTPLtCMPrAbHzHsA7O+ukM8yi8OMUPRVr o4x8VS9lUQ/CLKOAt3BbWpQOdCVxTCJ69UAGW/lfK08WYnDdC++vX/0pq6DsxV0UqPXS wpnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=s01ZBQXOeBqMDgbzJyS7ataX7wGpfrmvH7IZNPXFCIo=; b=UYK6/sUTE6V7/ga9iIuiFMNVpd7b2xkrnNADVcX4zWqoOXibO8AkKx2nzoxgzte6NL sZtqZZK4sudILFlKYGT/B2T3JcpfQjAYgK0IFQwlxtCKRptgs6jAJgFD6mUhmkNgOjIK ac5XS0j+BkGgdfMYcXDfnzFoYtM3sSVes+fnTXXtwQ8nd1yXSzgIzjD/C6BSvltFZAQp mIAYewjUKkXIdHQNbXMjYoTAvjAJ7lFgPXi03IOQwtgnSbKBUL6N1jxa5qqPRq+3VRbT qRutANr3zyFHVlWKU4kp0QWQgju8dRSHjQPnOuDkwQtojyBOTNmNLD4Bpf5QBp20mCCT pjDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=CCyxvJjR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f12si8124823otc.147.2020.04.06.02.39.02; Mon, 06 Apr 2020 02:39:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail (test mode) header.i=@armlinux.org.uk header.s=pandora-2019 header.b=CCyxvJjR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=armlinux.org.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726769AbgDFJhk (ORCPT + 99 others); Mon, 6 Apr 2020 05:37:40 -0400 Received: from pandora.armlinux.org.uk ([78.32.30.218]:49644 "EHLO pandora.armlinux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726687AbgDFJhj (ORCPT ); Mon, 6 Apr 2020 05:37:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=s01ZBQXOeBqMDgbzJyS7ataX7wGpfrmvH7IZNPXFCIo=; b=CCyxvJjRk484uOnTHwihWmCpN NVQykYio8053BY17V9ZCH3WNENiAnkdLrp15Gbv4Usa5E6O92SqDcANXObd/r916hcIfQ4u9UoQAw +gq9HRursH3WuV6UNDs3DW6anNDQ+bUb6R2gKLtoYsLUk1O57bnb9fp3JnnkMzRWBz2wfzLrMTBJs d1JtIBPyaKjuECf8MzDu02bZ1nWIDT4pPO5iXE341zqvi+iI2BKjxOi8tz1dPt80Mcfgfux64YXMf gzaf9j6UHaoBjTjfD1uIEEyQTw7lqhE2G9dpgFFhMW7mWS8rsoVQ/cxrkNg5AA8YrjlUKwRQ4CSZY Ap6h4w/tw==; Received: from shell.armlinux.org.uk ([2001:4d48:ad52:3201:5054:ff:fe00:4ec]:34692) by pandora.armlinux.org.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jLOCA-0000jb-Qm; Mon, 06 Apr 2020 10:37:30 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.92) (envelope-from ) id 1jLOC9-0005XI-CW; Mon, 06 Apr 2020 10:37:29 +0100 Date: Mon, 6 Apr 2020 10:37:29 +0100 From: Russell King - ARM Linux admin To: Corentin Labbe Cc: ebiederm@xmission.com, kexec@lists.infradead.org, wens@csie.org, linux-arm-kernel@lists.infradead.org, mripard@kernel.org, linux-kernel@vger.kernel.org Subject: Re: Trying to kexec on Allwinner A80 Message-ID: <20200406093729.GG25745@shell.armlinux.org.uk> References: <20200406082720.GA31279@Red> <20200406091600.GF25745@shell.armlinux.org.uk> <20200406092540.GB31279@Red> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200406092540.GB31279@Red> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 06, 2020 at 11:25:40AM +0200, Corentin Labbe wrote: > On Mon, Apr 06, 2020 at 10:16:00AM +0100, Russell King - ARM Linux admin wrote: > > On Mon, Apr 06, 2020 at 10:27:20AM +0200, Corentin Labbe wrote: > > > Hello > > > > > > I am trying to add the last missing Allwinner Soc in kernelci: the A80. > > > But this SoC does not have any way to be used in kernelci, no USB nor network in uboot. > > > So I have tried to fake uboot since the kernel has network support and run the new kernel via kexec. > > > > > > But kexec 2.0.18 fail to work: > > > kexec --force /tmp/kernel --initrd /tmp/ramdisk --dtb /tmp/dtb --command-line='console=ttyS0,115200n8 root=/dev/ram0 earlycon=uart,mmio32,0x7000000 ip=dhcp' > > > > What happens if you omit the dtb argument? > > > > No change without dtb > > I have also tried to add --mem-mim and --mem-max without any change. > I given mem according to what I saw in /proc/iomem > 20000000-9fffffff : System RAM > 20008000-207fffff : Kernel code > 20900000-209a0c87 : Kernel data > So I gave --mem-min 0x30000000 --mem-max 0x9fffffff > Anyway, the result is always the same. The next step is to enable the early debugging - first in the decompressor - add #define DEBUG to the top of arch/arm/boot/compressed/head.S Also enable DEBUG_LL in the kernel and use earlyprintk to see if you can get anything from the new kernel. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTC broadband for 0.8mile line in suburbia: sync at 10.2Mbps down 587kbps up