在线观看www成人影院-在线观看www日本免费网站-在线观看www视频-在线观看操-欧美18在线-欧美1级

0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
會員中心
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示

AMD Xilinx SoC:定制PetaLinux中的FSBL

jf_pJlTbmA9 ? 來源:博客園-HankFu ? 作者:博客園-HankFu ? 2023-07-10 17:05 ? 次閱讀

需求
客戶為AMD Xilinx SoC創建了PetaLinux工程。需要定制PetaLinux中的FSBL。

PetaLinux默認從內部指定的源取代碼。

取出FSBL代碼
使用命令“petalinux-devtool modify fsbl-firmware”, 可以取出FSBL代碼到目錄“components/yocto/workspace/sources/fsbl-firmware/”。FSBL的主代碼是文件“lib/sw_apps/zynq_fsbl/src/main.c”。

修改目錄“components/yocto/workspace/sources/fsbl-firmware/”中的代碼,會影響以后在PetaLinux中的編譯的FSBL。

編譯FSBL代碼
使用命令“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/”中的代碼,復制到類似下面的目錄。

build/tmp/work/zc706-xilinx-linux-gnueabi/fsbl-firmware/2021.2+git999-r0/fsbl-firmware-2021.2+git999/fsbl-firmware/zynq_fsbl_bsp

PetaLinux接著在上述目錄中執行編譯。上述目錄也包含單板相關的ps7_init或者psu_init文件。

版本更改后,上述目錄的名稱可能變化。

注意事項
從PetaLinux 2021.1起,FSBL的 recipe 名稱,從fsbl.bb改為了fsbl-firmware.bb。編譯時,要使用fsbl-firmware,而不是fsbl。

從PetaLinux 2021.1起,PLM的 recipe 名稱,從plm.bb改為了plm-firmware.bb。

測試環境
ZC706 單板
PetaLinux 2021.2

額外信息
外部目錄信息
使用外部目錄的源代碼編譯,會打印字符串“compiling from external source tree”。

NOTE: fsbl-firmware: compiling from external source tree /home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/workspace/sources/fsbl-firmware

編譯成功的信息

[INFO] Sourcing buildtools
[INFO] Building fsbl-firmware
[INFO] Sourcing build environment
[INFO] Generating workspace directory
INFO: bitbake fsbl-firmware
NOTE: Started PRServer with DBfile: /proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 38015, PID: 62600
Loading cache...done.
Loaded 5126 entries from dependency cache.
Parsing recipes...done.
Parsing of 3476 .bb files complete (3469 cached, 7 parsed). 5133 targets, 268 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks...done.
Sstate summary: Wanted 1 Found 1 Missed 0 Current 103 (100% match, 100% complete)
NOTE: Executing Tasks
NOTE: Running task 1 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_populate_lic)
NOTE: Running task 3 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_deploy_source_date_epoch)
NOTE: Running noexec task 350 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_rm_work_all)
NOTE: Running task 363 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_fetch)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_populate_lic: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_fetch: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_deploy_source_date_epoch: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_fetch: Succeeded
NOTE: Running task 391 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_prepare_recipe_sysroot)
NOTE: Running task 392 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_unpack)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_populate_lic: Succeeded
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_deploy_source_date_epoch: Succeeded
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_unpack: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_prepare_recipe_sysroot: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_unpack: Succeeded
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_prepare_recipe_sysroot: Succeeded
NOTE: Running task 393 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_create_yaml)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_create_yaml: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_create_yaml: Succeeded
NOTE: Running task 394 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_configure)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_configure: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_configure: Succeeded
NOTE: Running task 395 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_compile)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_compile: Started
NOTE: fsbl-firmware: compiling from external source tree /home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/workspace/sources/fsbl-firmware
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_compile: Succeeded
NOTE: Running task 396 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_install)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_install: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_install: Succeeded
NOTE: Running task 397 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_populate_sysroot)
NOTE: Running task 398 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_package)
NOTE: Running task 399 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_deploy)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_populate_sysroot: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_deploy: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_package: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_deploy: Succeeded
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_populate_sysroot: Succeeded
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_package: Succeeded
NOTE: Running task 400 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_packagedata)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_packagedata: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_packagedata: Succeeded
NOTE: Running task 401 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_package_qa)
NOTE: Running task 402 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_package_write_rpm)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_package_qa: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_package_write_rpm: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_package_write_rpm: Succeeded
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_package_qa: Succeeded
NOTE: Running noexec task 403 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_build)
NOTE: Tasks Summary: Attempted 403 tasks of which 386 didn't need to be rerun and all succeeded.
INFO: Failed to copy built images to tftp dir: /tftpboot
[INFO] Successfully built fsbl-firmware

編譯失敗的信息
如果故意在代碼添加錯誤,會得到類似下面的信息。

[INFO] Sourcing buildtools
[INFO] Building fsbl-firmware
[INFO] Sourcing build environment
[INFO] Generating workspace directory
INFO: bitbake fsbl-firmware
NOTE: Started PRServer with DBfile: /proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 34645, PID: 6208
Loading cache...done.
Loaded 5126 entries from dependency cache.
Parsing recipes...done.
Parsing of 3476 .bb files complete (3469 cached, 7 parsed). 5133 targets, 268 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks...done.
Sstate summary: Wanted 1 Found 1 Missed 0 Current 103 (100% match, 100% complete)
NOTE: Executing Tasks
NOTE: Running task 1 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_populate_lic)
NOTE: Running task 3 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_deploy_source_date_epoch)
NOTE: Running noexec task 350 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_rm_work_all)
NOTE: Running task 363 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_fetch)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_populate_lic: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_deploy_source_date_epoch: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_fetch: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_fetch: Succeeded
NOTE: Running task 391 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_prepare_recipe_sysroot)
NOTE: Running task 392 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_unpack)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_populate_lic: Succeeded
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_deploy_source_date_epoch: Succeeded
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_prepare_recipe_sysroot: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_unpack: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_unpack: Succeeded
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_prepare_recipe_sysroot: Succeeded
NOTE: Running task 393 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_create_yaml)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_create_yaml: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_create_yaml: Succeeded
NOTE: Running task 394 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_configure)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_configure: Started
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_configure: Succeeded
NOTE: Running task 395 of 403 (/home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_compile)
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_compile: Started
NOTE: fsbl-firmware: compiling from external source tree /home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/workspace/sources/fsbl-firmware
Log data follows:
| DEBUG: Executing python function externalsrc_compile_prefunc
| NOTE: fsbl-firmware: compiling from external source tree /home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/workspace/sources/fsbl-firmware
| DEBUG: Python function externalsrc_compile_prefunc finished
| DEBUG: Executing shell function do_compile
| NOTE: make -j1
| make -C zynq_fsbl_bsp
| make[1]: Entering directory '/proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/tmp/work/zc706-xilinx-linux-gnueabi/fsbl-firmware/2021.2+git999-r0/fsbl-firmware-2021.2+git999/fsbl-firmware/zynq_fsbl_bsp'
| make --no-print-directory seq_libs
| Running Make include in ps7_cortexa9_0/libsrc/coresightps_dcc_v1_8/src
| make -C ps7_cortexa9_0/libsrc/coresightps_dcc_v1_8/src -s include  "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ASSEMBLER=arm-none-eabi-as" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS=  -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra -fno-tree-loop-distribute-patterns"
| Running Make include in ps7_cortexa9_0/libsrc/cpu_cortexa9_v2_11/src
.......................
| make -C ps7_cortexa9_0/libsrc/xilffs_v4_6/src -s libs  "SHELL=/bin/sh" "COMPILER=arm-none-eabi-gcc" "ASSEMBLER=arm-none-eabi-as" "ARCHIVER=arm-none-eabi-ar" "COMPILER_FLAGS=  -O2 -c" "EXTRA_COMPILER_FLAGS=-mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard -nostartfiles -g -Wall -Wextra -fno-tree-loop-distribute-patterns"
| xtime_l.c:45:9: note: '#pragma message: For the sleep routines, Global timer is being used'
|    45 | #pragma message ("For the sleep routines, Global timer is being used")
|       |         ^~~~~~~
| Finished building libraries parallelly.
| make --no-print-directory archive
| arm-none-eabi-ar -r  ps7_cortexa9_0/lib/libxil.a ps7_cortexa9_0/lib/abort.o ps7_cortexa9_0/lib/asm_vectors.o ps7_cortexa9_0/lib/boot.o ps7_cortexa9_0/lib/close.o ps7_cortexa9_0/lib/cpputest_time.o ps7_cortexa9_0/lib/cpu_init.o ps7_cortexa9_0/lib/errno.o ps7_cortexa9_0/lib/_exit.o ps7_cortexa9_0/lib/fcntl.o ps7_cortexa9_0/lib/fstat.o ps7_cortexa9_0/lib/getpid.o ps7_cortexa9_0/lib/inbyte.o ps7_cortexa9_0/lib/isatty.o ps7_cortexa9_0/lib/kill.o ps7_cortexa9_0/lib/lseek.o ps7_cortexa9_0/lib/_open.o ps7_cortexa9_0/lib/open.o ps7_cortexa9_0/lib/outbyte.o ps7_cortexa9_0/lib/print.o ps7_cortexa9_0/lib/putnum.o ps7_cortexa9_0/lib/read.o ps7_cortexa9_0/lib/_sbrk.o ps7_cortexa9_0/lib/sbrk.o ps7_cortexa9_0/lib/sleep.o ps7_cortexa9_0/lib/time.o ps7_cortexa9_0/lib/translation_table.o ps7_cortexa9_0/lib/unlink.o ps7_cortexa9_0/lib/usleep.o ps7_cortexa9_0/lib/vectors.o ps7_cortexa9_0/lib/write.o ps7_cortexa9_0/lib/xadcps_g.o ps7_cortexa9_0/lib/xadcps_intr.o ps7_cortexa9_0/lib/xadcps.o ps7_cortexa9_0/lib/xadcps_selftest.o ps7_cortexa9_0/lib/xadcps_sinit.o ps7_cortexa9_0/lib/xcoresightpsdcc.o ps7_cortexa9_0/lib/xdevcfg_g.o ps7_cortexa9_0/lib/xdevcfg_hw.o ps7_cortexa9_0/lib/xdevcfg_intr.o ps7_cortexa9_0/lib/xdevcfg.o ps7_cortexa9_0/lib/xdevcfg_selftest.o ps7_cortexa9_0/lib/xdevcfg_sinit.o ps7_cortexa9_0/lib/xdmaps_g.o ps7_cortexa9_0/lib/xdmaps_hw.o ps7_cortexa9_0/lib/xdmaps.o ps7_cortexa9_0/lib/xdmaps_selftest.o ps7_cortexa9_0/lib/xdmaps_sinit.o ps7_cortexa9_0/lib/xemacps_bdring.o ps7_cortexa9_0/lib/xemacps_control.o ps7_cortexa9_0/lib/xemacps_g.o ps7_cortexa9_0/lib/xemacps_hw.o ps7_cortexa9_0/lib/xemacps_intr.o ps7_cortexa9_0/lib/xemacps.o ps7_cortexa9_0/lib/xemacps_sinit.o ps7_cortexa9_0/lib/xgpio_extra.o ps7_cortexa9_0/lib/xgpio_g.o ps7_cortexa9_0/lib/xgpio_intr.o ps7_cortexa9_0/lib/xgpio.o ps7_cortexa9_0/lib/xgpiops_g.o ps7_cortexa9_0/lib/xgpiops_hw.o ps7_cortexa9_0/lib/xgpiops_intr.o ps7_cortexa9_0/lib/xgpiops.o ps7_cortexa9_0/lib/xgpiops_selftest.o ps7_cortexa9_0/lib/xgpiops_sinit.o ps7_cortexa9_0/lib/xgpio_selftest.o ps7_cortexa9_0/lib/xgpio_sinit.o ps7_cortexa9_0/lib/xiicps_g.o ps7_cortexa9_0/lib/xiicps_hw.o ps7_cortexa9_0/lib/xiicps_intr.o ps7_cortexa9_0/lib/xiicps_master.o ps7_cortexa9_0/lib/xiicps.o ps7_cortexa9_0/lib/xiicps_options.o ps7_cortexa9_0/lib/xiicps_selftest.o ps7_cortexa9_0/lib/xiicps_sinit.o ps7_cortexa9_0/lib/xiicps_slave.o ps7_cortexa9_0/lib/xiicps_xfer.o ps7_cortexa9_0/lib/xil_assert.o ps7_cortexa9_0/lib/xil_cache.o ps7_cortexa9_0/lib/xil_clocking.o ps7_cortexa9_0/lib/xil-crt0.o ps7_cortexa9_0/lib/xil_exception.o ps7_cortexa9_0/lib/xil_mem.o ps7_cortexa9_0/lib/xil_misc_psreset_api.o ps7_cortexa9_0/lib/xil_mmu.o ps7_cortexa9_0/lib/xil_printf.o ps7_cortexa9_0/lib/xil_sleepcommon.o ps7_cortexa9_0/lib/xil_sleeptimer.o ps7_cortexa9_0/lib/xil_spinlock.o ps7_cortexa9_0/lib/xil_testcache.o ps7_cortexa9_0/lib/xil_testio.o ps7_cortexa9_0/lib/xil_testmem.o ps7_cortexa9_0/lib/xil_util.o ps7_cortexa9_0/lib/xl2cc_counter.o ps7_cortexa9_0/lib/xplatform_info.o ps7_cortexa9_0/lib/xpm_counter.o ps7_cortexa9_0/lib/xqspips_g.o ps7_cortexa9_0/lib/xqspips_hw.o ps7_cortexa9_0/lib/xqspips.o ps7_cortexa9_0/lib/xqspips_options.o ps7_cortexa9_0/lib/xqspips_selftest.o ps7_cortexa9_0/lib/xqspips_sinit.o ps7_cortexa9_0/lib/xscugic_g.o ps7_cortexa9_0/lib/xscugic_hw.o ps7_cortexa9_0/lib/xscugic_intr.o ps7_cortexa9_0/lib/xscugic.o ps7_cortexa9_0/lib/xscugic_selftest.o ps7_cortexa9_0/lib/xscugic_sinit.o ps7_cortexa9_0/lib/xscutimer_g.o ps7_cortexa9_0/lib/xscutimer.o ps7_cortexa9_0/lib/xscutimer_selftest.o ps7_cortexa9_0/lib/xscutimer_sinit.o ps7_cortexa9_0/lib/xscuwdt_g.o ps7_cortexa9_0/lib/xscuwdt.o ps7_cortexa9_0/lib/xscuwdt_selftest.o ps7_cortexa9_0/lib/xscuwdt_sinit.o ps7_cortexa9_0/lib/xsdps_card.o ps7_cortexa9_0/lib/xsdps_g.o ps7_cortexa9_0/lib/xsdps_host.o ps7_cortexa9_0/lib/xsdps.o ps7_cortexa9_0/lib/xsdps_options.o ps7_cortexa9_0/lib/xsdps_sinit.o ps7_cortexa9_0/lib/xtime_l.o ps7_cortexa9_0/lib/xttcps_g.o ps7_cortexa9_0/lib/xttcps.o ps7_cortexa9_0/lib/xttcps_options.o ps7_cortexa9_0/lib/xttcps_selftest.o ps7_cortexa9_0/lib/xttcps_sinit.o ps7_cortexa9_0/lib/xuartps_g.o ps7_cortexa9_0/lib/xuartps_hw.o ps7_cortexa9_0/lib/xuartps_intr.o ps7_cortexa9_0/lib/xuartps.o ps7_cortexa9_0/lib/xuartps_options.o ps7_cortexa9_0/lib/xuartps_selftest.o ps7_cortexa9_0/lib/xuartps_sinit.o ps7_cortexa9_0/lib/xusbps_endpoint.o ps7_cortexa9_0/lib/xusbps_g.o ps7_cortexa9_0/lib/xusbps_hw.o ps7_cortexa9_0/lib/xusbps_intr.o ps7_cortexa9_0/lib/xusbps.o ps7_cortexa9_0/lib/xusbps_sinit.o
| /opt/Xilinx/peta/2021.2/tools/xsct//gnu/aarch32/lin/gcc-arm-none-eabi/bin/../x86_64-oesdk-linux/usr/bin/arm-xilinx-eabi/arm-xilinx-eabi-ar.real: creating ps7_cortexa9_0/lib/libxil.a
| Finished building libraries
| make[1]: Leaving directory '/proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/tmp/work/zc706-xilinx-linux-gnueabi/fsbl-firmware/2021.2+git999-r0/fsbl-firmware-2021.2+git999/fsbl-firmware/zynq_fsbl_bsp'

| arm-none-eabi-gcc  -O2 -c -MMD -MP       -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard  -c fsbl_hooks.c -o fsbl_hooks.o -Izynq_fsbl_bsp/ps7_cortexa9_0/include -I.
| arm-none-eabi-gcc  -O2 -c -MMD -MP       -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard  -c image_mover.c -o image_mover.o -Izynq_fsbl_bsp/ps7_cortexa9_0/include -I.
| arm-none-eabi-gcc  -O2 -c -MMD -MP       -mcpu=cortex-a9 -mfpu=vfpv3 -mfloat-abi=hard  -c main.c -o main.o -Izynq_fsbl_bsp/ps7_cortexa9_0/include -I.
| main.c:216:1: error: unknown type name 'hankf_error_ffdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd'
|   216 | hankf_error_ffdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
|       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| main.c:218:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'hankf_error_ffdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd'
|   218 | hankf_error_ffdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd
|       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| main.c:218:1: error: unknown type name 'hankf_error_ffdddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd'
| make: *** [Makefile:35: main.o] Error 1
| WARNING: /proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/tmp/work/zc706-xilinx-linux-gnueabi/fsbl-firmware/2021.2+git999-r0/temp/run.do_compile.7680:165 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| 	#1: bbfatal_log, /proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/tmp/work/zc706-xilinx-linux-gnueabi/fsbl-firmware/2021.2+git999-r0/temp/run.do_compile.7680, line 165
| 	#2: die, /proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/tmp/work/zc706-xilinx-linux-gnueabi/fsbl-firmware/2021.2+git999-r0/temp/run.do_compile.7680, line 175
| 	#3: oe_runmake, /proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/tmp/work/zc706-xilinx-linux-gnueabi/fsbl-firmware/2021.2+git999-r0/temp/run.do_compile.7680, line 170
| 	#4: do_compile, /proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/tmp/work/zc706-xilinx-linux-gnueabi/fsbl-firmware/2021.2+git999-r0/temp/run.do_compile.7680, line 152
| 	#5: main, /proj/hankf/hankf/zc706/v212/zc706-v211-bsp-peta/build/tmp/work/zc706-xilinx-linux-gnueabi/fsbl-firmware/2021.2+git999-r0/temp/run.do_compile.7680, line 194
| 
| Backtrace (metadata-relative locations):
| 	#1: bbfatal_log, /home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/core/meta/classes/logging.bbclass, line 72
| 	#2: die, /home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/core/meta/classes/base.bbclass, line 56
| 	#3: oe_runmake, /home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/core/meta/classes/base.bbclass, line 65
| 	#4: do_compile, /home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx-tools/classes/xsctapp.bbclass, line 25
NOTE: recipe fsbl-firmware-2021.2+git999-r0: task do_compile: Failed
NOTE: Tasks Summary: Attempted 395 tasks of which 386 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/hankf/proj/zc706/v212/zc706-v211-bsp-peta/components/yocto/layers/meta-xilinx/meta-xilinx-standalone/recipes-bsp/embeddedsw/fsbl-firmware_2021.2.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.

本文轉載自:博客園

審核編輯:湯梓紅

聲明:本文內容及配圖由入駐作者撰寫或者入駐合作網站授權轉載。文章觀點僅代表作者本人,不代表電子發燒友網立場。文章及其配圖僅供工程師學習之用,如有內容侵權或者其他違規問題,請聯系本站處理。 舉報投訴
  • amd
    amd
    +關注

    關注

    25

    文章

    5469

    瀏覽量

    134193
  • soc
    soc
    +關注

    關注

    38

    文章

    4169

    瀏覽量

    218314
  • Xilinx
    +關注

    關注

    71

    文章

    2167

    瀏覽量

    121469
  • 編譯
    +關注

    關注

    0

    文章

    658

    瀏覽量

    32874
收藏 人收藏

    評論

    相關推薦

    ZCU102在PetaLinux超過2G字節內存的地方在哪里?

    -ZCU102-v2016.2-final.bsp)使用PetaLinux構建Linux映像(包括u-boot,FSBL等)。 Linux啟動并運行正常。我的問題是Linux中有2Gbytes的總內存(易于檢查“top”)但是ZCU102板有
    發表于 09-27 10:12

    如何使用ZCU102 Petalinux教程獲取BSP?

    使用Vivado2017.3和petalinux 2017.3在XAPP的PDF,wiki.xilinx.com上的wiki以及Xilinx嵌入式設計教程(UG1209)之間,我看過
    發表于 10-21 07:46

    Petalinux許可證無效

    啟動Xilinx SDK,當我在控制臺窗口(在sdk gui)返回SDK時:SDK Environment = /opt/pkg/petalinux
    發表于 04-06 10:24

    使用 PCIE 更新 AMD ZYNQ? 的 QSPI Flash 參考設計

    至 ZYNQ 的 S_AXI_GP0,以訪問 PS QSPI 控制器。 BD 需要分配 XDMA 的 M_AXI 地址如下,可以用 AMD Vivado? 的自動地址分配工具完成
    發表于 11-30 18:49

    基于Ubuntu的PetaLinux安裝教程

    PetalLinux是Xilinx公司推出的嵌入式Linux開發工具,專門針對Xilinx公司的FPGA SoC芯片和開發板,用戶可以在PetaLinux工具的幫助下進行完整的開發流程
    的頭像 發表于 07-04 07:32 ?6530次閱讀

    Docker 構建 PetaLinux 開發環境應用教程

    0. 背景 0.1 PetaLinux 是什么 PetaLinuxXilinx 推出的用于在其自家 SoC 上構建嵌入式 Linux 的一套工具集,集成了編譯、調試、仿真等眾多工
    發表于 11-15 11:24 ?2375次閱讀

    petalinux(二)開啟petalinux內核調試模式

    要調試基于Xilinx SDK的Linux內核模塊,必須使能 KERNEL_DEBUG_INFO和KERNEL_DEBUGGING。這篇博文全面記錄了在Petalinux是如何處理的。解決方案
    發表于 11-18 13:46 ?1.1w次閱讀
    <b class='flag-5'>petalinux</b>(二)開啟<b class='flag-5'>petalinux</b>內核調試模式

    Xilinx FSBL如何操作啟動Zynq器件

    了解Xilinx FSBL如何操作以啟動Zynq器件。 包括程序執行概述,調試技巧以及有關特定引導設備的信息。 還包括FSBL角度的啟動安全性簡要概述。
    的頭像 發表于 11-23 06:32 ?4591次閱讀

    Docker里玩轉PetaLinux的上手教程

    作者:Alex He,Xilinx 嵌入式技術專家 Xilinx 嵌入式技術專家 Alex He 與大家分享在Docker里玩轉PetaLinux的上手教程~ PetaLinux
    的頭像 發表于 12-25 14:30 ?2497次閱讀

    如何安裝PetaLinux 2020.1 ubuntu

    安裝好vitis后,繼續安裝petalinux,本人純純新手,記錄過程就好。Xilinx官網下載petalinux2020.1,還有sstate aarch64 downloads,前者是ZCU102,后者是mirror用,還有
    的頭像 發表于 02-08 10:04 ?2188次閱讀

    PetaLinux 2020.1 ubuntu 安裝

    安裝好vitis后,繼續安裝petalinux,本人純純新手,記錄過程就好。Xilinx官網下載petalinux2020.1,還有sstate aarch64 downloads,前者是ZCU102,后者是mirror用,還有
    發表于 01-27 08:05 ?11次下載
    <b class='flag-5'>PetaLinux</b> 2020.1 ubuntu 安裝

    Petalinux工程設備樹的介紹

    設備樹是 Petalinux kernel 的關鍵組件,接下來以 2020.1 版本為例,為大家介紹一下在Xilinx Petalinux 工程的設備樹是如何產生,配置以及修改
    的頭像 發表于 02-20 16:32 ?6941次閱讀
    <b class='flag-5'>Petalinux</b>工程<b class='flag-5'>中</b>設備樹的介紹

    petalinux安裝過程

    Xilinx提供的手冊《ug1144-petalinux-tools-reference-guide_chn》,該文檔有說明petalinux版本支持的平臺,本次使用的Ubuntu16.04。
    的頭像 發表于 12-01 09:22 ?3172次閱讀

    Rpi SenseHAT與AMD-Xilinx Kria KR260和Petalinux的接口

    電子發燒友網站提供《Rpi SenseHAT與AMD-Xilinx Kria KR260和Petalinux的接口.zip》資料免費下載
    發表于 07-13 10:18 ?0次下載
    Rpi SenseHAT與<b class='flag-5'>AMD-Xilinx</b> Kria KR260和<b class='flag-5'>Petalinux</b>的接口

    基于AMD SOC的QT應用程序開發

    基于AMD SOC的QT應用程序開發方法主要有兩種方式:一種方式是基于petalinux工程新建一個application將源碼導入在使用petalinux-build進行編譯部署
    的頭像 發表于 08-04 15:52 ?1122次閱讀
    基于<b class='flag-5'>AMD</b> <b class='flag-5'>SOC</b>的QT應用程序開發
    主站蜘蛛池模板: 狠狠色噜噜狠狠狠狠2021天天| 最色成人网| 亚洲小便| 免费91视频| 一区二区免费| 久久国产99| 五月婷婷激情五月| 日韩免费视频一区二区| 美女张开大腿让男人捅| 黄色888| 97人人模人人揉人人捏| 五月天婷婷网亚洲综合在线| 奇米色婷婷| 91网站在线看| 老熟女毛片| 婷婷六月丁香色婷婷网| 欧美色久| www.日本三级| 美女bbbb视频| 一级毛片美国一级j毛片不卡| 狠狠色色综合网站| 婷婷综合 在线| 你懂的福利网站| 9966国产精品视频| 日日摸夜夜添免费毛片小说| 亚色在线| 久久国产乱子伦精品免费午夜| 日本人69xxxxx| 最好看最新的中文字幕1| 色聚网久久综合| 四虎在线最新地址4hu| 免费一级毛片视频| 日本xxxx色视频在线观看免费| 久久精品视频观看| 午夜视频吧| 欧美精品网站| 业余性自由色xxxx视频| 欧美成人一区二区三区在线电影| 成人99国产精品| 国产精选经典三级小泽玛利亚| 性生交酡|