基於Zynq Linux環境搭建(三)
https://www.cnblogs.com/ifpga/p/8182029.html
此篇編譯Kernel
解壓:
1 |
|
進入到檔案kernel資料夾中,clean
1 |
|
配置
1 |
|
make ARCH=arm menuconfig
出現錯誤,需要安裝ncurses庫,命令sudo apt-get install libncurses5-dev
make
1 |
|
在編譯生產image檔案時,出現了下述錯誤
1 2 3 |
|
更新u-boot-tools
1 |
|
更新完成後,再次執行即可生成Image檔案
dts編譯
在SDK配置相關模板
生成PL側和PS側的裝置資訊,匯入到./arch/arm/boot/dts/
重啟前的版本如下:
1 |
|
在當前目錄下生成dtb。
至此,kernel和dts都生成號