analogdevicesinc / meta-adi

This is the Analog Devices Inc. Yocto/OpenEmbedded layer
MIT License
35 stars 41 forks source link

How to edit device tree from arch/arm64/boot/dts/xilinx #112

Closed noelpedro closed 2 years ago

noelpedro commented 2 years ago

Environment (please complete the following information):

Describe the bug A clear and concise description of what the bug is. Not a bug with meta-adi build, but I needed to potentially make a change in the dts file zynqmp-adrv9009-zu11eg-revb-adrv2crr-fmc-revb-sync-fmcomms8.dts because in the node


&rx_dma_channel {
    adi,source-bus-width = <256>;
    adi,destination-bus-width = <256>;
};

the destination bits size reads 256 however the hdl reads 128 bits. The max bits from PL to PS via slave HP is 128 bits so I cant change this to 256 in the hdl.

Screenshots If applicable, add screenshots to help explain your problem.

Screenshot from 2022-03-31 19-28-14 Screenshot from 2022-03-31 19-23-36 Screenshot from 2022-03-31 20-08-50

Additional context Add any other context about the problem here.

Im currently getting iio_create_buffer errors (i,e. Could not create RX buffer: Cannot allocate memory). And was concerned if the above was the reason why.

nunojsa commented 2 years ago

Hi,

Take a look at extending-the-devicetree. Just change that in system_user.dtsi and it should work.