Project Scenario:
when creating a petalinux system using Xilinx’s petalinux tool, modify the device tree file pl.dtsi by adding a reference to the system-user.dtsi file
Problem description:
cannot modify pl.dtsi configuration through system-user.dtsi
/include/ "system-conf.dtsi"
/{
};
&amba_pl{
axidma_chrdev: [email protected] {
compatible = "xlnx,axidma-chrdev";
dmas = <&axi_dma_0 0 &axi_dma_0 1>;
dma-names = "tx_channel", "rx_channel";
};
};
&axi_dma_0{
[email protected] {
xlnx,device-id = <0x0>;
};
[email protected] {
xlnx,device-id = <0x1>;
};
}
Reason analysis:
system-user. Dtsi file format error, space between dma and {!!!
Solutions:
modify the code format, create system.dtb, use the following statement to reverse generate DTS file, found that part of the pl configuration has been successfully modified!
dtc -I dtb -O dts -o system.dts system.dtb
Modified code:
/include/ "system-conf.dtsi"
/{
};
&amba_pl {
axidma_chrdev: [email protected] {
compatible = "xlnx,axidma-chrdev";
dmas = <&axi_dma_0 0 &axi_dma_0 1>;
dma-names = "tx_channel", "rx_channel";
};
};
&axi_dma_0 {
[email protected] {
xlnx,device-id = <0x0>;
};
[email protected] {
xlnx,device-id = <0x1>;
};
}
Results in system. DTS:
Read More:
- Backup and recovery – rman4
- Android Error: Consumer closed input channel or an error occurred. events=0x9
- Solve ssh error: shell request failed on channel 0
- Start flume agent and the solution of “a fatal error occurred while running” appears
- Flume profile case (Port listening)
- io.lettuce.core.RedisCommandExecutionException: errorCode:50010048
- Edge detection: two methods
- Memory configuration of BIOS combat
- TLS error: error: RPC error: code = unavailable desc = transport is closing
- Building virtual machine environment based on kvm-qemu under ubuntu12.10 (12)
- C + + uses system (“pause”) to pause black windows
- Flash back record of vs2017 installation process
- Connection authorization failure occurred. Reason: local security service non retryable error solution
- Solution to prompt “system group policy forbids installation of this device” in win10 system
- Failed to add /run/systemd/ask-password to directory watch: No space left on device?
- Elasticsearch startup process error: org.elasticsearch.transport .BindTransportException: Failed to bind to [9300-9400
- ssh port forwarding
- “Typeerror: invalid dimensions for image data” in Matplotlib drawing imshow() function
- Hadoop — HDFS data writing process
- Prompt “The MSI failed” solution when uninstalling VMware