Base Operating System
SharpStreamer™ Pro PCIE-7210 Installation and Use (6806800U29B
)
102
6.5
Building External Modules
You can use the
Kernel-devel
TAR file in the devel directory in the release ISO to build external
kernel modules by using this directory as kernel build directory.
6.6
Modifying ramfs
Prerequisites
Scripts
: mkinitramfs, unpackinitramfs available in
/utils
directory of
MC3K_7210_OS_CENTOS72_DIST_<VERSION>.iso
Files
: ramfs.xz available in /
images
directory of
MC3K_7210_OS_CENTOS72_DIST_<VERSION>.iso
Host machine OS
: Same distribution as Base OS ISO.
For example, if Base OS is based on CentOS7.2, then use a host machine installed with
CentOS7.2.
Procedure
To modify ramfs, perform the following steps:
1. Mount the Base OS ISO to a directory.
For example, /mnt directory.
mount –t MC3K_7210_OS_CENTOS72_DIST_<VERSION>.iso /mnt
2. Unpack
ramfs.xz
to a location.
For example, to uncompress ramfs.gz to
/tmp/rootfs
directory.
sh /mnt/utils/unpackinitramfs /mnt/images/ramfs.xz /tmp/rootfs
3. Modify the
/tmp/rootfs
according to your requirements.
4. Repackage
ramfs.xz
from
/tmp/rootfs
, using any of the below commands.
sh /mnt/utils/mkinitramfs /tmp/rootfs /tmp/ramfs.xz
(xz compression: less space, slower compression, slower booting).
or
sh /mnt/utils/mkinitramfs /tmp/rootfs /tmp/ramfs.gz
(gz compression: more space, faster compression, faster booting)
Summary of Contents for SharpStreamer Pro PCIE-7210
Page 1: ...SharpStreamer Pro PCIE 7210 Installation and Use P N 6806800U29B January 2017...
Page 8: ...SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B 8 Contents...
Page 10: ...SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B 10 List of Tables...
Page 12: ...SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B 12 List of Figures...
Page 20: ...SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B Safety Notes 20...
Page 24: ...SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B Sicherheitshinweise 24...
Page 30: ...Introduction SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B 30...
Page 48: ...Functional Description SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B 48...
Page 104: ...Base Operating System SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B 104...
Page 136: ...MaxCore Firmware Upgrade SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B 136...
Page 138: ...Related Documentation SharpStreamer Pro PCIE 7210 Installation and Use 6806800U29B 138...
Page 139: ......