beautypg.com

3 build rootfs – Artesyn COMX-P40x0 ENP2 Installation and Use (January 2015) User Manual

Page 126

background image

BSP

COMX-P40x0 ENP2 Installation and Use (6806800R95C)

126

Commands

1. Build by default

make kernel dtb

2. Build Targets supported for Linux kernel

config-default

: copies the COMX-P4080 default configuration to current

configuration

kernel-config

: configures the kernel based on current configuration

kernel

: compiles kernel with current configuration

kernel-clean

: cleans the kernel

dtb

: compiles device tree binary

Output

The build images are uImage and comx.dtb in the current working directory.

7.21.3 Build ROOTFS

The rootfs for SCP-P4080-2G-ENP2 include RAMDISK and NFS.

Commands

1. make rootfs: The output image is

/local/tmp//rootfs_ext2.img

.

2. Build Targets supported for rootfs

rootfs

: builds rootfs

rootfs-ext2

: builds rootfs for ram disk

rootfs-nfs

: builds rootfs for nfs

rootfs-clean

: clean the rootfs

Output

The build images are rootfs_ext2.img and rootfs_nfs.tar.gz in the current working
directory.