Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp7134082imm; Wed, 27 Jun 2018 21:14:48 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIpf6a31697dUUKk3LvgEILVdcjRV4gKa5JGJdhcSbYJAN9gXZZKZFoWCNeYOZ6qaLWUlhM X-Received: by 2002:a65:620b:: with SMTP id d11-v6mr7562495pgv.429.1530159288906; Wed, 27 Jun 2018 21:14:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530159288; cv=none; d=google.com; s=arc-20160816; b=VULQAi6Cn1+ivNg3YbKX7fCBhZyisiYfeP38Dn1sfacpFAtbQuKgMb3BIyOjgZFwbc 5tYiLojFekWFjaen9f2o1G7/+6KNBPdwG+E7Th2AhCSXLsn2E2MYpjVrO9aB6kl6s+T0 J/OV83RozYOfQxcV5ET+KpcyKjWNZktdlUl4q5j3CO1amc+Ic5oFK5gPKjpXAEYD/o2i JvrVtdmCfuaHdJ1sqgOprqzcjJpPhVim6lI7P8FSLqVt89JXyBbaF1VdHOacpimoHL4Y 1KSib7vMOeiZS3gn9XDi2w/XYzvkLV11BK928oj/pGav8X8lGT+5bNhxVSA02NyRoWmZ xe8Q== 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:arc-authentication-results; bh=FlRX4rS4p0IRVrMh8fVyivQZmVxEA/5sry7SF1qCv0w=; b=VkezELs98b/ZOgAID28aLNbGZu90BSLhE7fGXT0z4hu3lIW8Wi4aVXj4JK8Dviegpm QBiEj3gjt7oAPCxwlTfitT+9/uoIc6r48TD+CF4Jj+BOMvL7d8rZVtipJhTU3EcBPNdV w7b64+lZqVDDaheZpGJjJlv5AeTpYNPO30BVSunhfplh0WkyWkU7k7cPf1GONyZCZ8mw 86JFysokUEZvqeNtB5qCUUxkD+5uI5x1J+XVvK16MlAkZnvCNLTXxH/oEWIepyUvrWEX k7/SfLsNa76n8uIyQuPmcrxnxo8tLoeJN2pdwRilB7acBQzgdL7E95mYvvKC6amagDUP Pc6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=eL0pROPK; 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 b65-v6si5858219pfj.2.2018.06.27.21.14.34; Wed, 27 Jun 2018 21:14:48 -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=eL0pROPK; 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 S1753294AbeF1EMZ (ORCPT + 99 others); Thu, 28 Jun 2018 00:12:25 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:44329 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932094AbeF1EMV (ORCPT ); Thu, 28 Jun 2018 00:12:21 -0400 Received: by mail-lj1-f196.google.com with SMTP id t22-v6so3300002ljc.11 for ; Wed, 27 Jun 2018 21:12:20 -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:user-agent; bh=FlRX4rS4p0IRVrMh8fVyivQZmVxEA/5sry7SF1qCv0w=; b=eL0pROPKz101Ocn7jHnn1Ut22nnOnWohQ8BkupxFe1b1d+4tw4TBsab5FBWVizumso AD9UAz6SnPVViZp/hK6bCfM6YwguzOFGCtzwBGWx7U6USucMVkdiirIcLWTWftFBL076 sjiTtVCzi+ia8Sig3GVBF/pb5+7WZTPuKfaTjEReL4p5PZzHwQ+jiG5WnX/HelR39+BS gTyKosOkxVzlr0ZCQViuFS2hOczld9tTNKxo4XYtUxYdAHgZIviNE/l6B5d7awNATiHZ KR/vZKA7diamctGjTyV4yGOsHzS6KvPFfZuMIp/E8AGjR3M4IxGSyhgrcy8eeH1gRIX1 oSdA== 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:user-agent; bh=FlRX4rS4p0IRVrMh8fVyivQZmVxEA/5sry7SF1qCv0w=; b=VibzMluWe2Jy9EenSgM04mZvSqup+CuQFfhao3bzQ5Z6rJNwo5nHovCupUSoCGU0wF PiysbT+6NexeqVQsgz1OphL06l5GB8yoJ0xKz+SeYF4gOff/awR7zz5Y1RBtwPO+R26V mC99PX2VaWssq2FhXsAh7YbXIKGDF9Igy8Uz22MV9we0yP0Fqx2Y4BKdkM24Uu6djOk6 SxKMBRuX7o0WRq2K6wlgBcKU1QUk4iP0+b5XxAneS2SwJ7vyM0j+SQviGMohY01SieMc RSecNnElHi1qpomGuDQ3bxIphnmEPIS+q3epoxwUlDkhu/gbNDRTEoMD8QPmys9LDWoH AJlw== X-Gm-Message-State: APt69E3Sie4vQpgrbp+zaZSsfBDDiVJT3ooWpzOReGuov1squ6V04fcX e0xL9PzuBcjcI52B/GDKBKo= X-Received: by 2002:a2e:5bc8:: with SMTP id m69-v6mr6129471lje.115.1530159140087; Wed, 27 Jun 2018 21:12:20 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id g5-v6sm952861lje.21.2018.06.27.21.12.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 Jun 2018 21:12:18 -0700 (PDT) Date: Thu, 28 Jun 2018 06:12:18 +0200 From: "Edgar E. Iglesias" To: Guenter Roeck Cc: Philippe =?iso-8859-1?Q?Mathieu-Daud=E9?= , Sai Pavan Boddu , "Edgar E. Iglesias" , Michal Simek , linux-kernel@vger.kernel.org, qemu-devel@nongnu.org, Alistair Francis , KONRAD Frederic Subject: Re: [Qemu-devel] Linux kernel configurations for various Microblaze systems Message-ID: <20180628041217.qxlspqzqfm4gszxd@toto> References: <20180627185248.GA19743@roeck-us.net> <96809884-2f46-ed63-48fd-9fd4c5050e20@amsat.org> <20180627205915.GA22693@roeck-us.net> <20180627224718.ewamlt42kvyirhjw@toto> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jun 27, 2018 at 05:34:15PM -0700, Guenter Roeck wrote: > Hi Edgar, > > On 06/27/2018 03:47 PM, Edgar E. Iglesias wrote: > > > > > Hi Guenter, > > > > Re: ml605 > > The thing to watch out for with kernel configs for microblaze systems is the > > physmem address setting. Unfortunately the kernel does not auto-detect this. > > > > I'm attaching a kernelconfig for the ml605 that works for me and a qemu commandline. > > > > qemu-system-microblazeel -M petalogix-ml605 -m 256 -serial mon:stdio -dtb petalogix-ml605.dtb -kernel arch/microblaze/boot/linux.bin -append rdinit=/bin/sh > > > > Can you also send me the dtb file or even better its source ? I don't think > the one in qemu is correct. It lists the serial port at 0x83e00000, but qemu > instantiates it at 0x83e01000. I used the one from QEMU. IIRC, there's some offsetting going on there that differs between the Xilinx version and the PC version of these UARTs... Can you try again and see how it goes? If it doesn't work, I can share my kernel Image and we can compare from there. Cheers, Edgar > > > Re: pmu > > The PMU board does not run Linux, it runs baremetal power-management related firmware. > > > > Ah, good to know. > > Thanks! > Guenter >