Build Root File System; Build Rootfs-Min-Ext2.Img - SMART Embedded Computing COMX-P2020 BSP User Manual

Hide thumbs Also See for COMX-P2020 BSP:
Table of Contents

Advertisement

2. If the build is successful, the device tree bolb: comx.dtb can be found at the output
directory.
[percy@localhost p2020]$ ls -al /local/tftpboot/COMX-
P2020/current/comx.dtb
-rw-rw-r-- 1 percy percy 9824 Dec 13 11:35 /local/tftpboot/COMX-
P2020/current/comx.dtb
[percy@localhost p2020]$
4.3

Build Root File System

There are 5 types of root file systems that can be supported for COMX-P2020.
rootfs-min.ext2.img - The minimum root file system in ext2 format, which is helpful
in case of deployment on Flash devices which are of smaller sizes. The size of this
file is around 4MB.
rootfs-usr.ext2.img - The Medium root file system in ext2 format, which is good
enough for deployment perspective and supports most of the use cases identified
for Residential Gateway, Wireless LAN Access Point, Media Server, NAS box, etc.
The size of this file is around 42MB.
rootfs-dev.ext2.img - Detailed root file system in ext2 format, which includes the
support for debugging, native compilation, profiling etc. The size of this file is
around110MB.
rootfs-LRFS.tar.gz - Compressed file that can be used to make Inflated root file
system required for HD boot. As default the USB stick will contain inflated ext3FS
on partition 1 and the SD card will contain inflated ext3FS on partition2. This can
be used to do a hard disk boot from the USB stick or SD card.
rootfs-nfs.tar.gz - Compressed root file system for NFS, which can be used for
debug and test at LAB.
4.3.1

Build rootfs-min-ext2.img

1. To build rootfs-min-ext2.img, run the command: "make rootfs-min-ext2" at P2020 BSP
directory:
[percy@localhost p2020]$ make rootfs-min-ext2
make -C linux/fs -f Makefile rootfs-min-ext2
make[1]: Entering directory `/home/percy/p2020/linux/fs'
rm -f /tmp/percy/rootfs_ext2_min.img /local/tftpboot/COMX-
P2020/current/rootfs-min.ext2.img
./scripts/gen_rootfs_ext2.sh min
COMX-P2020 BSP User Guide (6806800L84C)
BSP Build Environment
31

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?

Table of Contents