From: Michal Simek <michal.simek@xilinx.com>
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:53:09 +0100 [thread overview]
Message-ID: <56CC0FE5.2080701@xilinx.com> (raw)
In-Reply-To: <CAK7LNAS4buEO1ggkngbiHqk7BxttsD2PAzWuC0ntXbPmeUpCLw@mail.gmail.com>
On 23.2.2016 08:47, Masahiro Yamada wrote:
> Hi Michal,
>
>
> 2016-02-23 16:06 GMT+09:00 Michal Simek <monstr@monstr.eu>:
>> 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 {
>> + } ;
>> } ;
>>
>
> Yeah, this fixed the error. Thanks!
Ok. I will send this as a patch or temporary solution or even maybe final.
Thanks,
Michal
prev parent reply other threads:[~2016-02-23 7:53 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
2016-02-23 7:47 ` Masahiro Yamada
2016-02-23 7:53 ` Michal Simek [this message]
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=56CC0FE5.2080701@xilinx.com \
--to=michal.simek@xilinx.com \
--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