18)最后,就是到PetaLinux项目根目录,petalinux-build构建PetaLinux项目、采用如下命令,基于zynq_fsbl.elf建立BOOT.bin,生成的文件存放在images/linux目录中: petalinux-package --boot --fsbl --fpga --u-boot < U-boot.elf> 19)接下来就是,遵循SDK Kernel Debugging部分开始内核调试。
对了很重要的一点:在官方的的fsbl工程中是有调试开关的,在src/fsbl_debug.h中增加FSBL_DEBUG_INFO的宏定义,这样就将fsbl中所有的调试信息打开,启动过程中会有各种打印信息。 在 ZYNQ SoC 的启动和配置过程中, 既需要 PS 的配置信息,又需要 PL 的配置信息。 为了简化配置 PS和 PL 的处理过程,...
使用命令“petalinux-build -c fsbl-firmware -x distclean && petalinux-build -c fsbl-firmware”,能编译FSBL代码,会导入目录“components/yocto/workspace/sources/fsbl-firmware/”中的代码,使其生效。 编译目录 编译时,PetaLinux会把目录“components/yocto/workspace/sources/fsbl-firmware/”中的代码,复制到类似下...
2. 将 fsbl_%.bbappend 附加文件(在“ \project-spec\meta-plnx-generated\recipes-bsp\fsbl”)复制到新创建的‘fsbl’文件夹中。如下所示,‘fsbl’文件夹现在包含一个 files 文件夹和 fsbl_%.bbappend 文件。 注意:包含原始 fsbl_%.bbappend 文件的 meta-plnx-generated 的层包含所有组件的所有 bbappend ...
YAML_COMPILER_FLAGS_append = " -DFSBL_DEBUG_INFO -DXPS_BOARD_ZCU102" 4.将 0001_fsbl_patch.patch 从 fsbl_patch 文件夹(从附加到此博客的 zip 文件)添加到‘files’文件夹,这样它就是 fsbl_%.bbappend 文件下的一层了。它会用“Hello Linux PDC” printf 语句更新源代码。
更换PetaLinux工程的HDF/XSA文件后,PetaLinux工程编译出现FSBL do_configureh错误。使用命令“petalinux-build -x mrproper -f ”,彻底清除工程,再编译工程,不再有问题。 错误记录如下: DEBUG: Executing shellfunctiondo_configure MISC_ARG is -yamlconf /proj/hankf/zcu106/v201/vcu-trd-xv20-plddr/build/tmp...
更换PetaLinux工程的HDF/XSA文件后,PetaLinux工程编译出现FSBL do_configureh错误。使用命令“petalinux-build -x mrproper -f ”,彻底清除工程,再编译工程,不再有问题。 错误记录如下: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 DEBUG: Executing shell function do_configure MISC_ARG is -yamlconf /proj...
18) Save and close the file. You are almost set with your Kernel Debug. For more information refer to(Xilinx Answer 61332) 19) Finally, go to your PetaLinux project root directory and build your PetaLinux project withpetalinux-build. Also, build your BOOT.bin using the zynq_fsbl.elf file...
INFO: Checking free disk space INFO: Checking installed tools INFO: Checking installed development libraries INFO: Checking network and other services WARNING: No tftp server found - please refer to "PetaLinux SDK Installation Guide" for its impact and solution ...
For users that want to only use OCM during FSBL runtime, please see (Xilinx Answer 56044). The following files should be modified in the FSBL project to switch the FSBL to use PL-based DDR: fsbl_debug.h - (optional) Add a #define FSBL_DEBUG_INFO at approximately line 75 (prior to ...