Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp3118361ybb; Mon, 6 Apr 2020 02:26:22 -0700 (PDT) X-Google-Smtp-Source: APiQypJA+ojukOmo2A89r68L/HN58EeJlrDQPgV3pWfk2PEtAHknZBalKe3TVnCQ6wiDTfiBLX81 X-Received: by 2002:aca:482:: with SMTP id 124mr12170202oie.35.1586165182040; Mon, 06 Apr 2020 02:26:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586165182; cv=none; d=google.com; s=arc-20160816; b=IBzkE7Wnig48nalW9oPBJVjmtL9Hpi6A8PN30mw2qjLz+U8HUexQxxtbT2fHfW/shm 6ExZHjC4RhIk/5jbSKxXMCwSSehF6v1OM7G+14J9GyO7DpgbZ+hNUQuzMiD112Dw3GPj 6RhEEe+x+phwfSQh+Y8RGiJjLv76RNIWqR+2pI6GUpcYaPUQM7MkXPqBW3v5u0N/XvRl PDmS76e6ro2f2KlY5kCiMU0ncxFcDArTKLtCQNwW80m8TDoKchNg5nfX8Lzj8NquS+yc vlAGytdr+mYGQqOiDa41wYAKIsU2yj4A4CbqC5HGSmP7ae4JIBKlE3ZMMYglp0Tn/82u bCkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=tWjzg+BVrz3TNNIkAGcAPM3G1GTTyThKxry/5V7utII=; b=ldHuNf2F8pAGM8etUmr78Db2mdshN8fSxSW2mL/qhp6rhDKb+3UWyJjosrfRSMBvoH yzj/qmJIqKVdBGGflheI3gBsX7N3wdCqI65QwUjO58Cv2k54f1cE2GddTQshixwZNZM3 UcWpcGp4jD8oJkgTwi6aHCSPLVX83fFkfLhx836nvMKGGvm3WoP3Jv1jejEvi2ek4z0a FWLPRvP6DB3j7wEP/gxJtAG3Sm+pLEHzS3K5fOfJeikPDwX2t3VYDEYZ4QZD+QqArBZp Fs5vc70zEf6l1SHUm7HmRmAx19UwkM3H5bxL0VSOv/2vFjGQttwVnhTvQd4dvgq4Cs/F JlPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=smLxfdnr; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n198si6800748oig.37.2020.04.06.02.26.10; Mon, 06 Apr 2020 02:26:22 -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=pass header.i=@gmail.com header.s=20161025 header.b=smLxfdnr; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726730AbgDFJZo (ORCPT + 99 others); Mon, 6 Apr 2020 05:25:44 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:43984 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbgDFJZo (ORCPT ); Mon, 6 Apr 2020 05:25:44 -0400 Received: by mail-wr1-f65.google.com with SMTP id w15so10286418wrv.10 for ; Mon, 06 Apr 2020 02:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=tWjzg+BVrz3TNNIkAGcAPM3G1GTTyThKxry/5V7utII=; b=smLxfdnrwlbOaIv5M/k3oW4eMRWpaErrmcjTYxdTlW6dTt4uoklsAsspG0o+iKjoEr 6IX1hf3EMvtGOa2XM9/WtTl3RgRIv2RQbXtuMZbE4IIyZc8Vt9JVEAwh5fWAeRhjQf4F 43pkmDEhlo1bViU/N2Q4/9YATxjB6ix6DfZtAh5z8UdyfojtrQk7nnPYuhLmG21OwUb6 Iwnn1KdAvEZyVXGp3avOU+cg/VmrNttm6GqiZps0YzwI+kGupXCrTPJOJpGYGaHvlvyG DMQzYvoaCtQP8ww1Qy/r6CO6QlCGUfhC9sddAn2khZCgzUsw277rkD8DuupgSVt36y1A agJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=tWjzg+BVrz3TNNIkAGcAPM3G1GTTyThKxry/5V7utII=; b=KCxlmA3RDJxzY4aSWO6cRCt2df+/kCzO4yS6DjQI7xo8L0sbLCLvetA+9GwF+sbaaB GKwPremBwcoBkDKKrb6/03vsfLkNZ7WhXih0+apbMrjQG2noDxWEvQh4myp3y5qOF+F7 onUDUJ2Ao3MrVsNdj0VXUySH5iTGwh1P4T20+OSwxVAaqAxyuuy4H1zTLoTPYGd1VGTc TBptyV9IaV5S6Fjy47p2D7OZRH+FKGwL0r1d+3zf7PNZyooPLoerO7vA6rJFHOQsHKPI M/CGhNz27SGXIIx375gVWO1PO4O0G6ASLgt5vsrCk/bEidql95o46KrMB8dJdorTD1kX OZsw== X-Gm-Message-State: AGi0PubYUewLgLn7wPr66gLIXTDZha5kX4YRCAMgqYss+jv7TS5q4utD VBR0aD8dYpZFaGhU7zu6IINHh0kN X-Received: by 2002:adf:f1ce:: with SMTP id z14mr23069597wro.68.1586165142423; Mon, 06 Apr 2020 02:25:42 -0700 (PDT) Received: from Red ([2a01:cb1d:3d5:a100:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id v186sm24100784wme.24.2020.04.06.02.25.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2020 02:25:41 -0700 (PDT) Date: Mon, 6 Apr 2020 11:25:40 +0200 From: Corentin Labbe To: Russell King - ARM Linux admin 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: <20200406092540.GB31279@Red> References: <20200406082720.GA31279@Red> <20200406091600.GF25745@shell.armlinux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200406091600.GF25745@shell.armlinux.org.uk> 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 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.