public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Michal Simek <monstr@monstr.eu>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v3, 3/3] kbuild: fix build rule of u-boot-spl.dtb
Date: Tue, 23 Feb 2016 08:06:28 +0100	[thread overview]
Message-ID: <56CC04F4.50407@monstr.eu> (raw)
In-Reply-To: <CAK7LNAS3x+GCR8gbiBvS1aeG=mmFZBgakBHyEFtpMvF3qg=DdA@mail.gmail.com>

On 23.2.2016 03:57, Masahiro Yamada wrote:
> Hi Michal, Tom, Simon
> 
> 
> 
> 
> 2016-02-23 1:16 GMT+09:00 Tom Rini <trini@konsulko.com>:
>> On Mon, Feb 22, 2016 at 04:51:47PM +0100, Michal Simek wrote:
>>> Hi,
>>>
>>> On 8.2.2016 21:49, Tom Rini wrote:
>>>> On Fri, Feb 05, 2016 at 05:55:14PM +0900, Masahiro Yamada wrote:
>>>>
>>>>> The build command of u-boot-spl.dtb is not constant, but dependent
>>>>> on CONFIG_OF_SPL_REMOVE_PROPS.  Use $(call if_changed,...) so that
>>>>> the change of CONFIG_OF_SPL_REMOVE_PROPS is detected.
>>>>>
>>>>> Also, add tools/fdtgrep to the dependency to make sure u-boot-spl.dtb
>>>>> is generated by the up-to-date fdtgrep in case the tool is modified.
>>>>>
>>>>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>>>>> Reviewed-by: Simon Glass <sjg@chromium.org>
>>>>
>>>> Applied to u-boot/master, thanks!
>>>
>>> This patch is breaking build for Microblaze SPL.
>>> make microblaze-generic_defconfig && make -j
>>
>> Can you poke around a bit more at what rule is likely needing an update
>> here?  FWIW, when this was merged microblaze was broken due to the
>> eth-uclass.c problem so that's how I missed it, sorry!
> 
> 
> This breakage is not due to this commit.
> 
> Even if I revert commit 35b786780f3 ("kbuild: fix build rule of
> u-boot-spl.dtb"), this board is still broken.

That's interesting. I found this commit by bisect.

> 
> I suspect the problem is in the fdtgrep tool itself.

Anyway I was playing with it and this is supposed to be a fix.
fdtgrep tool is expecting more nodes to be present in DTS file.
Because mb dts is generic because every hw design is different dts
is quite empty.

Masahiro: Can you please try this and build it?

Thanks,
Michal

diff --git a/arch/microblaze/dts/microblaze-generic.dts
b/arch/microblaze/dts/microblaze-generic.dts
index 203330987bda..08a1396f2db2 100644
--- a/arch/microblaze/dts/microblaze-generic.dts
+++ b/arch/microblaze/dts/microblaze-generic.dts
@@ -4,4 +4,6 @@
        #size-cells = <1>;
        aliases {
        } ;
+       chosen {
+       } ;
 } ;


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160223/0fbcf5c5/attachment-0001.sig>

  reply	other threads:[~2016-02-23  7:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-05  8:55 [U-Boot] [PATCH v3 0/3] Kbuild fixes Masahiro Yamada
2016-02-05  8:55 ` [U-Boot] [PATCH v3 1/3] kbuild: remove unneeded ifdef conditionals around build rules Masahiro Yamada
2016-02-05 20:31   ` Simon Glass
2016-02-08 20:49   ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-02-05  8:55 ` [U-Boot] [PATCH v3 2/3] kbuild: add missing FORCE where $(call if_changed, ) is used Masahiro Yamada
2016-02-05 20:31   ` Simon Glass
2016-02-08 20:49   ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-02-05  8:55 ` [U-Boot] [PATCH v3 3/3] kbuild: fix build rule of u-boot-spl.dtb Masahiro Yamada
2016-02-05 20:31   ` Simon Glass
2016-02-08 20:49   ` [U-Boot] [U-Boot, v3, " Tom Rini
2016-02-22 15:51     ` Michal Simek
2016-02-22 16:16       ` Tom Rini
2016-02-23  2:57         ` Masahiro Yamada
2016-02-23  7:06           ` Michal Simek [this message]
2016-02-23  7:47             ` Masahiro Yamada
2016-02-23  7:53               ` Michal Simek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56CC04F4.50407@monstr.eu \
    --to=monstr@monstr.eu \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox