All of lore.kernel.org
 help / color / mirror / Atom feed
From: Florian Klink <flokli@flokli.de>
To: u-boot@lists.denx.de
Subject: Setting DEVICE_TREE for xilinx_zynq_virt_defconfig?
Date: Sun, 27 Dec 2020 21:37:52 +0100	[thread overview]
Message-ID: <20201227203752.57xgaphrpzepmld4@ws.flokli.de> (raw)
In-Reply-To: <20201227164851.lzs5rmcgmvmadqyd@ws.flokli.de>

On 20-12-27 17:48:51, Florian Klink wrote:
>On 20-06-22 14:12:59, Michal Simek wrote:
>>>I tried building latest master 2b8692bac1e8795cbb87b0d00213fd193409851d,
>>>for a zynq device, and did according to the documentation:
>>>
>>>$ export DEVICE_TREE=zynq-zc702
>>>$ make xilinx_zynq_virt_defconfig
>>>$ make
>>>
>>>Reading f7c6ee7fe7bcc387de4c92300f46cb725b845b53, I assumed this should
>>>have fixed FDT loading, but for some reason u-boot still tries to look
>>>for a `zynq-zynq.dtb` in FDTDIR.
>>>
>>>Could it be this broke in the meantime, or is this expected?
>>
>>I am not aware about any issue like this. Can you please provide more
>>logs to see what it is happening?
>
>Sorry for the super radio silence, this is mostly a hobby project, and
>now I finally have some time :-)
>
>My main understanding here is that if I build u-boot with
>DEVICE_TREE=zynq-zc702, and pass FDTDIR directive in extlinux.conf, it
>would try to load `zynq-zc702.dtb` from the FDTDIR on but, but
>apparently it always tries to load a "zynq-zynq.dtb" file.

Apparently, this smells like I missed adding the zynq-pynq.dtb to the
Makefile, and some time ago, it silently did fall back to zynq-zynq.dtb.

I ran into a build failure after rebasing this patch earlier today.
"[PATCH] dts: Log name of expected .dtb file" should make such mistakes
easier recognizable.

Regards,
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201227/90df705a/attachment.sig>

      reply	other threads:[~2020-12-27 20:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-20 18:06 Setting DEVICE_TREE for xilinx_zynq_virt_defconfig? Florian Klink
2020-06-22 12:12 ` Michal Simek
2020-12-27 16:48   ` Florian Klink
2020-12-27 20:37     ` Florian Klink [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=20201227203752.57xgaphrpzepmld4@ws.flokli.de \
    --to=flokli@flokli.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.