Two or three things about compiling the Linux kernel on Zedboard
[Copy link]
This post was last edited by star_66666 on 2018-6-14 23:00 There will be many problems in the process of compiling the Linux kernel, device tree, and file system. Here are a few of them. 1.scripts/kconfig/Makefile:202: recipe for target 'scripts/kconfig/dochecklxdialog' failed make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1 Makefile:548: recipe for target 'menuconfig' failed Solutionsudo apt-get install libncursesw5-dev 2. scripts/Makefile.lib:322: recipe for target 'arch/arm/dts/zynq-zc702.dtb' failed The reason is that Ubuntu does not install device-tree-compiler, which can be installed using the command apt-get install device-tree-compilersudo apt-get install device-tree-compiler 3. fatal error: openssl/evp.h: No such file or directory compilation terminated. Installationsudo apt-get install libssl-dev 4. When making the SD partition, I read Lu Jiahua's masterpiece, which misled me for a long time and led me to take some detours. The following is a usable solution. For the partition of the SD card, we use the gparted software. If you don't have it, you can use apt-get to install itsudo apt-get install gparted The startup method is as followssudo gparted 5. "mkimage" command not found - U-Boot images will not be built arch/arm/boot/Makefile:79: recipe for target 'arch/arm/boot/uImage' failed make[1]: *** [arch/arm/boot/uImage] Error 1 arch/arm/Makefile:336: recipe for target 'uImage' failed make: *** [uImage] Error 2 Solutionsudo apt-get install uboot-mkimage sudo apt-get install u-boot-tools This content was originally created by EEWORLD forum user star_66666. If you want to reprint or use it for commercial purposes, you must obtain the author's consent and indicate the source
|