4.3.2
Build rootfs-usr-ext2.img
1. To build rootfs-usr-ext2.img, run the command: "make rootfs-usr-ext2" at P2020 BSP
directory:
[percy@localhost P2020]$ make rootfs-usr-ext2
make -C linux/fs -f Makefile rootfs-usr-ext2
make[1]: Entering directory `/home/percy/p2020/linux/fs'
rm -f /tmp/percy/rootfs_ext2_usr.img /local/tftpboot/COMX-
P2020/current/rootfs-usr.ext2.img
./scripts/gen_rootfs_ext2.sh usr
......
+ cd /tmp/percy
+ echo -n 'Generating rootfs_usr.gz in /tmp/percy ... '
Generating rootfs_usr.gz in /tmp/percy ... + sudo genext2fs -U -b
165628 -i 6881 -D
/home/percy/p2020/linux/fs/scripts/../base/device_table_min.txt -
d rootfs_usr rootfs_ext2_usr
+ sudo gzip rootfs_ext2_usr
+ echo done.
done.
+ echo 'Generating rootfs_usr.img in /tmp/percy ... '
Generating rootfs_usr.img in /tmp/percy ...
+ sudo mkimage -n 'Blackadder ext2 ramdisk rootfs' -A ppc -O linux
-T ramdisk -C gzip -d rootfs_ext2_usr.gz rootfs_ext2_usr.img
Image Name:
Created:
Image Type:
Data Size:
Load Address: 0x00000000
Entry Point: 0x00000000
+ echo done.
done.
cp
P2020/current/rootfs-usr.ext2.img
make[1]: Leaving directory `/home/percy/p2020/linux/fs'
[percy@localhost p2020]$
COMX-P2020 BSP User Guide (6806800L84C)
Blackadder ext2 ramdisk rootfs
Mon Dec 13 11:41:50 2010
PowerPC Linux RAMDisk Image (gzip compressed)
42143653 Bytes = 41155.91 kB = 40.19 MB
/tmp/percy/rootfs_ext2_usr.img /local/tftpboot/COMX-
BSP Build Environment
33
Need help?
Do you have a question about the COMX-P2020 BSP and is the answer not in the manual?