Package Prebuilt Image
1. Change into the root directory of your project.
$ cd <plnx-proj-root>
2. Use petalinux-package --prebuilt to package the prebuilt images:
$ petalinux-package --prebuilt --fpga <FPGA bitstream>
root@localhost pre-built]# petalinux-boot --prebuilt 3 --jtag --fpga --bitstream lan_top.bit
WARNING: You have specify --prebuilt and --bitstream. --prebuilt will override all settings.
INFO: Append dtb - /home/xuwenliang/peta_2014.4/1/2/3/lan/pre-built/linux/images/system.dtb and other options to boot zImage
INFO: Configuring the FPGA...
INFO: XMD commands is shown as follows.
fpga -f "lan_top.bit"
after 2
INFO: Downloading bitstream to the target.
INFO: FPGA configuration completed.
INFO: Launching XMD for file download and boot.
INFO: This may take a few minutes, depending on the size of your image.
INFO: SOC Silicon version is 3.1.
注意 :1把bitstream拷到pre-built目录下,否则打印的信息可不是上面那样,而是这样
WARNING: You have specify --prebuilt and --bitstream. --prebuilt will override all settings.
INFO: Append dtb - /home/christine/peta_2014.4/1/2/3/lan/pre-built/linux/images/system.d