取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
Highlighted
Contributor
Contributor
348 次查看
注册日期: ‎04-22-2020

petalinux-package时报错

报错内容如下所示,请问我应该怎么解决这个问题呢,谢谢!

wyn@ubuntu:~/Desktop/k7325t/test_proj$ petalinux-package --boot --fpga design_1_wrapper.bit --u-boot
WARNING: Auto detecting MMI file with HDF
INFO: Creating download.bit...
INFO: fpga bitstream: /home/wyn/Desktop/k7325t/test_proj/design_1_wrapper.bit
INFO: fpga bitstream MMI file: /tmp/tmp.acs8ZFiq1n/design_1_wrapper.mmi
INFO: fsbl file: /home/wyn/Desktop/k7325t/test_proj/images/linux/fs-boot.elf
INFO: Output download.bit: /home/wyn/Desktop/k7325t/test_proj/images/linux/download.bit
INFO: Getting system flash information...
INFO: User hasn't specified flash size, will use the auto detected system flash size: 0x20 MBytes.
INFO: User hasn't specified flash interface, will use the auto detected one BPIx16.
ERROR: Size of bitstream "/home/wyn/Desktop/k7325t/test_proj/images/linux/download.bit" is 11443725 larger than the fpga partition size 0x400000.

0 项奖励
6 回复数
Highlighted
Moderator
Moderator
322 次查看
注册日期: ‎07-01-2019

你好 @wyn ,

 

你是想将镜像文件放到flash中吗?

需要在petalinux-config中修改分区大小,比特文件的实际尺寸超出了目前规定的大小

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
Highlighted
Contributor
Contributor
301 次查看
注册日期: ‎04-22-2020

我是想通过sd启动petalinux,关于您说的修改分区,xilinx有什么文档或者教程可以参考吗,谢谢!
0 项奖励
Highlighted
Moderator
Moderator
297 次查看
注册日期: ‎07-01-2019

你好 @wyn ,

 

从你的log来看,当前应该是以flash启动进行配置的。

你可以检查一下这petalinux-config界面中配置,并修改一下:

Subsystem AUTO Hardware Settings -> Advanced bootable images storage Settings选项中boot image、kernel image都选为primary SD

参考文档ug1144 chapter5和7

按照这个链接格式化SD卡为FAT32格式:

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842385/How+to+format+SD+card+for+SD+boot

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励
Highlighted
Contributor
Contributor
194 次查看
注册日期: ‎04-22-2020

我的Advanced Bootable Images Storage Settings是空的,这个是什么原因呢
0 项奖励
Moderator
Moderator
181 次查看
注册日期: ‎07-01-2019

你好 @wyn ,

 

之前没有注意到你使用的是7系列FPGA器件,这个是不支持SD卡启动的

至于Flash启动的方式,可以在Subsystem AUTO Hardware Settings -> Flash Settings中修改分区

-------------------------------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------------------------------
如果提供的信息能解决您的问题,请标记为“接受为解决方案”。
如果您认为帖子有帮助,请点击“奖励”。谢谢!
-------------------------------------------------------------------------------------------------
0 项奖励
Highlighted
Contributor
Contributor
92 次查看
注册日期: ‎04-22-2020

我这次通过jtag启动时,显示No supported FPGA device found,请问这是什么原因呢
wyn@ubuntu:~/Desktop/test/xilinx-kc705-axi-full-2019.2$ petalinux-boot --jtag --prebuilt 3
INFO: sourcing build tools
INFO: Launching XSDB for file download and boot.
INFO: This may take a few minutes, depending on the size of your image.
rlwrap: warning: your $TERM is 'xterm-256color' but rlwrap couldn't find it in the terminfo database. Expect some problems.: Inappropriate ioctl for device
INFO: Configuring the FPGA...
INFO: Downloading bitstream: /home/wyn/Desktop/test/xilinx-kc705-axi-full-2019.2/pre-built/linux/implementation/download.bit to the target.
No supported FPGA device found
invoked from within
"::tcf::eval -progress ::xsdb::print_progress {::tcf::cache_enter tcfchan#0 {tcf_cache_eval {process_tcf_actions_cache_client ::tcfclient#0::arg}}}"
(procedure "::tcf::cache_eval_with_progress" line 2)
invoked from within
"::tcf::cache_eval_with_progress [dict get $arg chan] [list process_tcf_actions_cache_client $argvar] $progress"
(procedure "process_tcf_actions" line 1)
invoked from within
"process_tcf_actions $arg ::xsdb::print_progress"
(procedure "fpga" line 430)
invoked from within
"fpga "/home/wyn/Desktop/test/xilinx-kc705-axi-full-2019.2/pre-built/linux/implementation/download.bit""
(file "/tmp/tmp.zFN92DBeMS" line 5)

INFO: The XSDB log is as follows
attempting to launch hw_server

****** Xilinx hw_server v2019.2
**** Build date : Oct 23 2019 at 23:11:29
** Copyright 1986-2019 Xilinx, Inc. All Rights Reserved.

INFO: hw_server application started
INFO: Use Ctrl-C to exit hw_server application

INFO: To connect to this hw_server instance use url: TCP:127.0.0.1:3121


0 项奖励