ok now ... this is my castle.xml
----------------
<?xml version="1.0" encoding="UTF-8"?>
<!-- Installer Rules for Castle Hardware -->
<TrenchCoat>
<CPU type="OMAP34xx"/>
<Flash type="mmc" alignment="524288" device="/dev/mmcblk0">
<Entry type="mbr" size="512" align="false"/>
<Entry type="bootloader" size="192KB" file="${BOOTIE}"/>
<Entry type="nvram" size="4MB">
<Section name="env" type="env" size="16KB">
<Val name="installer" value="trenchcoat"/>
<Val name="autoboot" action="delete"/>
<Val name="bootfile" action="delete"/>
<Val name="KEYoBRD" action="overwrite" value="z"/>
</Section>
<Section name="tokens" type="token" size="4KB">
<Val name="installer" value="trenchcoat"/>
<Val name="KEYoBRD" action="overwrite" value="z"/>
</Section>
<Section name="logo-boot" type="image" file="BootLogo.tga"/>
<Section name="logo-chg" type="image" file="Charging.tga"/>
<Section name="logo-badchg" type="image" file="NoPower.tga"/>
<Section name="logo-nobatt" type="image" file="NoBatt.tga"/>
<Section name="logo-badsys" type="image" file="BadSys.tga"/>
<Section name="logo-nosys" type="image" file="NoSys.tga"/>
<Section name="logo-sync" type="image" file="Sync.tga"/>
<Section name="logo-panic" type="image" file="Panic.tga"/>
<Section name="logo-disk" type="image" file="Disk.tga"/>
</Entry>
<Entry type="ext3" size="32MB" mount="/boot"/>
<Entry type="lvm" id="pv" size="*" metadatasize="1532KB" metadatacopies="2"/>
</Flash>
<VolumeGroups>
<Group name="store" pv="pv" physicalextentsize="8MB">
<Volume id="root" type="ext3" size="456MB" mount="/"/>
<Volume id="var" type="ext3" size="2048MB" mount="/var"/>
<Volume id="update" type="ext3" size="56MB" mount="/var/lib/update"/>
<Volume id="log" type="ext3" size="40MB" mount="/var/log"/>
<Volume id="media" type="fat32" size="*" mount="/media/internal"/>
<Volume id="swap" size="128MB"/>
</Group>
</VolumeGroups>
<Filesystem fstab="/etc/fstab">
<Mount device="rootfs" mount="/" type="ext3" options="ro,suid,dev,exec,auto,nouser,async,noatime" freq="1" passno="1"/>
<Mount id="var" options="noatime" freq="0" passno="0"/>
<Mount id="log" options="noatime" freq="0" passno="0"/>
<Mount id="update" options="noauto,noatime" freq="0" passno="0"/>
<Mount device="proc" mount="/proc" type="proc" options="defaults" freq="0" passno="0"/>
<Mount device="devpts" mount="/dev/pts" type="devpts" options="mode=0620,gid=5" freq="0" passno="0"/>
<Mount device="tmpfs" mount="/tmp" type="tmpfs" options="size=64M,mode=1777" freq="0" passno="0"/>
<Mount device="tmpfs" mount="/media/ram" type="tmpfs" options="defaults" freq="0" passno="0"/>
<Mount id="media" options="utf8,shortname=mixed" freq="0" passno="0"/>
</Filesystem>
<Images>
<File file="${NOVATGZ}" target="/"/>
</Images>
<PostInstall file="/sbin/tcpostflash.sh"/>
</TrenchCoat>
|