petalinux常见问题及解决方法


问题1

使用uart16550串口出现

undefined reference to `XUartNs550_SendByte'

解决方法

修改./components/plnx_workspace/fsbl/fsbl_bsp/ps7_cortexa9_0/include/xparameters.h  中的
#define XPAR_AXI_UART16550_0_CLOCK_FREQ_HZ 5e7U    为:
#define XPAR_AXI_UART16550_0_CLOCK_FREQ_HZ 50000000U

问题2

出现

petalinux-build error: Failed to copy images to TFTPBOOT /tftpboot

解决方法

去掉tftpboot的设置: petalinux-config ->  Image Packaging Configuration -> Copy final images to tftpboot 

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM