6 build release package for comx-p2020, Bsp build environment – Artesyn COMX-P2020 BSP User Guide (July 2014) User Manual

Page 34

Advertising
background image

BSP Build Environment

COMX-P2020 BSP User Guide (6806800L84B)

34

+ echo done.

done.

cp /tmp/percy/rootfs_nfs.tar.gz /local/tftpboot/COMX-

P2020/current/rootfs-nfs.tar.gz

make[1]: Leaving directory `/home/percy/p2020/linux/fs'

[percy@localhost p2020]$

2. If successful, the rootfs-nfs.tar.gz can be found at the output directory:

[percy@localhost p2020]$ ls -al /local/tftpboot/COMX-

P2020/current/rootfs-nfs.tar.gz

-rw-r--r-- 1 percy percy 200279316 Dec 13 11:50

/local/tftpboot/COMX-P2020/current/rootfs-nfs.tar.gz

[percy@localhost p2020]$

4.3.6

Build release package for COMX-P2020

1. The release package of COMX-P2020 includes not only COMX-P2020.bsp.tar.gz, but also

the 4M U-boot Image for SPI flash which will be used at factory to program the SPI flash.
Before building the release package, make sure that all the above BSP targets should be
build in advance.

[percy@localhost p2020]$ make release

./make_spi_image.sh /local/tftpboot/COMX-P2020/current

4+0 records in

4+0 records out

4194304 bytes (4.2 MB) copied, 0.0185468 seconds, 226 MB/s

1026+0 records in

1026+0 records out

525312 bytes (525 kB) copied, 0.0113922 seconds, 46.1 MB/s

/local/tftpboot/COMX-P2020/current/u-boot.bin create OK.

./make_bsp_package.sh /local/tftpboot/COMX-P2020/current

cp: cannot create regular file `/local/tftpboot/COMX-

P2020/current/./make_sd.sh': Permission denied

make_sd.sh

u-boot-spi.bin

u-boot-sd.bin

comx.dtb

uImage

rootfs-LRFS.tar.gz

rootfs-nfs.tar.gz

rootfs-dev.ext2.img

make: *** [release] Interrupt

[percy@localhost p2020]$ make release

Advertising