Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3244269pxb; Fri, 12 Feb 2021 13:05:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJycl8WVA5EmpBAk+zS6ufz17azd/9hcGMBD+Kb90fc9hbbAMyu7KsHBHnbFHkIYXn4qYvLg X-Received: by 2002:a17:906:1c17:: with SMTP id k23mr4763677ejg.121.1613163906443; Fri, 12 Feb 2021 13:05:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613163906; cv=none; d=google.com; s=arc-20160816; b=SJtwm2bfrqtyyh+zbEuzaZ+Kd3kwECqHpgrKNPP8nM7QQ0yiBqOnaHm0wUuhC+eHln da9r2KuJN7uyI6Jcghz94e2j2pNH6Wae9ox5h2RgfLBTxVJfhOumakmldx8nXSNmHZ71 BBPhKubU5a1ODTCPYhW6pzb+DGGUHQ0wWaayRZ1+g9t0ueiDDZ6hxZnlq8GLuxvB1e38 Z19vrnFH+irZpqZu/IeI3ulhAlwqfaaF52oZdgDgCRAhbMYMjdKpskKdNercu3i9MuPE Sj3ytUB2kZnm0ma47ReNHqbpiyi5j0kO9OJecdjZ5J6nexu4Cz9g9MniPJJkr9sf2uBJ +b2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pn5uwII/6r/H6VP+qSj25AE7juU0clcUCoKS/ZUelsw=; b=aT2eJeEGX7sFyvxV4g1PHQOxVJDzaR+CLNY5PLqvU8HTSLRPbOjwXN9xZICwEmKG+J FttD+83C94XIBf/bpeTYNfjtV+gT0Skg8jcTW0cALpNmaj9NljWX6lvGgx3ZkgpHd/Ud r74bYrhZyopS4Bzm5HorWfiMGTrPK9euX4fIXHyP2Hg13olBO2l/NIEfihmDJAM8KBSy lq+7uYgB1+rC6UIqwp2JXZT0Tc6gjm7fXQuGREMuVs+HJtQJaGNWmYlbLcfUUa8OxJ8T W7CzXGGMSxb4SfGxjPGpBFTYM2AwuVDHzY91N2dohiXwb5+SCXWAauOKeW7I4XqjKAIv D9Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fezGQO4T; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kl24si7158323ejc.100.2021.02.12.13.04.43; Fri, 12 Feb 2021 13:05:06 -0800 (PST) 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=@kernel.org header.s=k20201202 header.b=fezGQO4T; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229798AbhBLVCM (ORCPT + 99 others); Fri, 12 Feb 2021 16:02:12 -0500 Received: from mail.kernel.org ([198.145.29.99]:57918 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232054AbhBLVCC (ORCPT ); Fri, 12 Feb 2021 16:02:02 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 6A68864E05; Fri, 12 Feb 2021 21:01:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613163681; bh=pn5uwII/6r/H6VP+qSj25AE7juU0clcUCoKS/ZUelsw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=fezGQO4TkSSBALxJ72g3iRQRtYthvdVjCSSO2pwqAqGfei86fUjhgnZ6QFP3wJHLx gnSr/0NgANKbovmMgjXi+oX4TpM9hW75NEGb0OYe3D4J1jgeVb3kRdDDOvfOJea9dV G1Cw16JscUCqHvnhm/Co/7TvvD48AKca+R0ypSs8XHXWEy/62fYftAXki6qGs1IrY0 5u7AC7jhufXrqJihJKrmj2qNZCP+paF3bBdQ7nT4MrayMOvmQOyv3SLKJkuou70/VT r5IQNwZ0I5zhZb+4Up3z2KhYrx9FG5KSZzdPhTTh4i1SeEPr8ONzVGBh9XdF+ri4DA Af54RlTGlMCJA== Received: by mail-ej1-f42.google.com with SMTP id z19so1355188eju.9; Fri, 12 Feb 2021 13:01:21 -0800 (PST) X-Gm-Message-State: AOAM531wmQopXZ3XVSaZPh8IbfNimM8aFt8D5JuvlxsMfmS9oNagRRyT RsI7pI5N7pb+ptMSxYnAV/LjZl5rTgn/0OAbfg== X-Received: by 2002:a17:906:d1d0:: with SMTP id bs16mr4962876ejb.468.1613163680046; Fri, 12 Feb 2021 13:01:20 -0800 (PST) MIME-Version: 1.0 References: <20210212033120.GA100407@roeck-us.net> <20210212151725.GA57042@roeck-us.net> In-Reply-To: <20210212151725.GA57042@roeck-us.net> From: Rob Herring Date: Fri, 12 Feb 2021 15:01:08 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] scripts/dtc: Update to upstream version v1.6.0-51-g183df9e9c2b9 To: Guenter Roeck , Michal Simek Cc: "linux-kernel@vger.kernel.org" , Frank Rowand , devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 12, 2021 at 9:17 AM Guenter Roeck wrote: > > On Fri, Feb 12, 2021 at 08:16:04AM -0600, Rob Herring wrote: > > On Thu, Feb 11, 2021 at 9:31 PM Guenter Roeck wrote: > > > > > > Hi Rob, > > > > > > On Wed, Feb 03, 2021 at 03:26:03PM -0600, Rob Herring wrote: > > > > This adds the following commits from upstream: > > > > > > > > 183df9e9c2b9 gitignore: Ignore the swp files > > > > 0db6d09584e1 gitignore: Add cscope files > > > > 307afa1a7be8 Update Jon Loeliger's email > > > > ca16a723fa9d fdtdump: Fix gcc11 warning > > > > 64990a272e8f srcpos: increase MAX_SRCFILE_DEPTH > > > > 163f0469bf2e dtc: Allow overlays to have .dtbo extension > > > > 3b01518e688d Set last_comp_version correctly in new dtb and fix potential version issues in fdt_open_into > > > > f7e5737f26aa tests: Fix overlay_overlay_nosugar test case > > > > 7cd5d5fe43d5 libfdt: Tweak description of assume-aligned load helpers > > > > a7c404099349 libfdt: Internally perform potentially unaligned loads > > > > bab85e48a6f4 meson: increase default timeout for tests > > > > f8b46098824d meson: do not assume python is installed, skip tests > > > > 30a56bce4f0b meson: fix -Wall warning > > > > 5e735860c478 libfdt: Check for 8-byte address alignment in fdt_ro_probe_() > > > > 67849a327927 build-sys: add meson build > > > > 05874d08212d pylibfdt: allow build out of tree > > > > 3bc3a6b9fe0c dtc: Fix signedness comparisons warnings: Wrap (-1) > > > > e1147b159e92 dtc: Fix signedness comparisons warnings: change types > > > > 04cf1fdc0fcf convert-dtsv0: Fix signedness comparisons warning > > > > b30013edb878 libfdt: Fix kernel-doc comments > > > > > > > > Signed-off-by: Rob Herring > > > > > > This patch causes my little-endian microblaze qemu emulations to fail > > > silently (no console output) in next-20210211. Reverting this patch > > > together with "scripts: dtc: Build fdtoverlay tool" fixes the problem. > > > > My guess would be something in libfdt. Maybe 7cd5d5fe43d5 or > > a7c404099349, though that should return to historical behavior. > > > > Can you give me the qemu command line and kernel cfg? > > > I copied everything you should need to build a kernel (including toolchain) > to http://server.roeck-us.net/qemu/microblazeel/ > > [ wow, I really need to update that compiler ] I can't seem to get BE/LE nor reverted or not working. It's always dying in microblaze_cache_init() based on the last print. It's your config, but gcc 10.1.0 off of kernel.org. There is at least one possible problem here that the FDT may only be 4 byte aligned. The assumption is 8 bytes to not have misaligned accesses (and only for 64-bit accesses if 4 byte aligned). That's an issue with the qemu image loading depending on the sizes and combination of images loaded. That doesn't explain your failure though. As the initrd is a multiple of 8 bytes, you should be fine. Rob