into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages
2004/04/21 01:12:51+02:00 uni-frankfurt.de!mickey
fix CMDLINE in kernel 2.6.5-jl1
2004/04/21 01:01:19+02:00 uni-frankfurt.de!mickey
simpad-make-flashimg fixlet
BKrev: 4086242cnKqmPgbRa3QOhJGdIfAifA
#FIXME: Use configuration system
export MEM = "32"
export RD = "32"
-export CMDLINE = "root=/dev/mtdblock4 console=tty0 rootfstype=jffs2 jffs2_orphand_inodes=delete"
+export CMDLINE = "noinitrd root=/dev/mtdblock2 rootfstype=jffs2 console=tty0 jffs2_orphand_inodes=delete"
EXTRA_OEMAKE = ""
do_configure_prepend() {
GENBOOT=genboot
PAD=pad
KERNEL=$2
+INITRD=$3
doComplete()
{
kernel=$(basename $KERNEL)
- initrd=$OUTPUT_DIR/images/initrd.bin
+ initrd=$INITRD
outfile=/tmp/tmpfile
padfile=/tmp/tmpfile2
flashfile=$kernel.initrd.flashfile
}
if [ $# -lt 2 ]
- then echo "Usage: ./simpad-make-flashimg [kernel|complete|inplace] <kernel>" && exit -1
+ then echo "Usage: ./simpad-make-flashimg [kernel|complete|inplace] <kernel> [rootfs.jffs2]" && exit -1
fi
case "$1" in
kernel) doKernel;;
complete) doComplete;;
inplace) doKernelInPlace;;
-*) echo "Usage: ./simpad-make-flashimg [kernel|complete|inplace] <kernel>"; exit;;
+*) echo "Usage: ./simpad-make-flashimg [kernel|complete|inplace] <kernel> [rootfs.jffs2]"; exit;;
esac