All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting DEVICE_TREE for xilinx_zynq_virt_defconfig?
@ 2020-06-20 18:06 Florian Klink
  2020-06-22 12:12 ` Michal Simek
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Klink @ 2020-06-20 18:06 UTC (permalink / raw)
  To: u-boot

Hey,

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?

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/20200620/d54afd94/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Setting DEVICE_TREE for xilinx_zynq_virt_defconfig?
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Michal Simek @ 2020-06-22 12:12 UTC (permalink / raw)
  To: u-boot

Hi,


On 20. 06. 20 20:06, Florian Klink wrote:
> Hey,
> 
> 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?

Thanks,
Michal


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200622/f1e7c829/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Setting DEVICE_TREE for xilinx_zynq_virt_defconfig?
  2020-06-22 12:12 ` Michal Simek
@ 2020-12-27 16:48   ` Florian Klink
  2020-12-27 20:37     ` Florian Klink
  0 siblings, 1 reply; 4+ messages in thread
From: Florian Klink @ 2020-12-27 16:48 UTC (permalink / raw)
  To: u-boot

On 20-06-22 14:12:59, Michal Simek wrote:
>Hi,
>
>
>On 20. 06. 20 20:06, Florian Klink wrote:
>> Hey,
>>
>> 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.

My hardware currently at hand isn't a zynq-zc702, but a PYNQ - I'll send
the patches for that in a bit and paste a proper log here.

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/663d089c/attachment.sig>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Setting DEVICE_TREE for xilinx_zynq_virt_defconfig?
  2020-12-27 16:48   ` Florian Klink
@ 2020-12-27 20:37     ` Florian Klink
  0 siblings, 0 replies; 4+ messages in thread
From: Florian Klink @ 2020-12-27 20:37 UTC (permalink / raw)
  To: u-boot

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>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-12-27 20:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 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.