Build Rootfs-Dev-Ext2.Img - SMART Embedded Computing COMX-P2020 BSP User Manual

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

Advertisement

BSP Build Environment
2. If successful, the rootfs-usr-ext2.img can be found at the output directory:
[percy@localhost p2020]$ ls -al /local/tftpboot/COMX-
P2020/current/rootfs-usr.ext2.img
-rw-r--r-- 1 percy percy 42143717 Dec 13 11:41
/local/tftpboot/COMX-P2020/current/rootfs-usr.ext2.img
[percy@localhost p2020]$
4.3.3

Build rootfs-dev-ext2.img

1. To build rootfs-dev-ext2.img, run the command: "make rootfs-dev-ext2" at P2020 BSP
directory:
[percy@localhost p2020]$ make rootfs-dev-ext2
make -C linux/fs -f Makefile rootfs-dev-ext2
make[1]: Entering directory `/home/percy/p2020/linux/fs'
rm -f /tmp/percy/rootfs_ext2_dev.img /local/tftpboot/COMX-
P2020/current/rootfs-dev.ext2.img
./scripts/gen_rootfs_ext2.sh dev
+ USAGE='Usage: ./scripts/gen_rootfs_ext2.sh <min/usr/dev>'
......
+ cd /tmp/percy
+ echo -n 'Generating rootfs_dev.gz in /tmp/percy ... '
Generating rootfs_dev.gz in /tmp/percy ... + sudo genext2fs -U -b
392568 -i 16966 -D
/home/percy/p2020/linux/fs/scripts/../base/device_table_min.txt -
d rootfs_dev rootfs_ext2_dev
+ sudo gzip rootfs_ext2_dev
+ echo done.
done.
+ echo 'Generating rootfs_dev.img in /tmp/percy ... '
Generating rootfs_dev.img in /tmp/percy ...
+ sudo mkimage -n 'Blackadder ext2 ramdisk rootfs' -A ppc -O linux
-T ramdisk -C gzip -d rootfs_ext2_dev.gz rootfs_ext2_dev.img
Image Name:
Created:
Image Type:
Data Size:
34
Blackadder ext2 ramdisk rootfs
Mon Dec 13 11:45:47 2010
PowerPC Linux RAMDisk Image (gzip compressed)
110295687 Bytes = 107710.63 kB = 105.19 MB
COMX-P2020 BSP User Guide (6806800L84C)
BSP Build Environment

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