--- elwix/install2uboot.sh 2014/01/23 22:26:00 1.1.2.4 +++ elwix/install2uboot.sh 2014/01/24 00:02:15 1.1.2.7 @@ -5,7 +5,7 @@ # (C) AITNET ltd - Sofia/Bulgaria # by Michael Pounov # -# $Id: install2uboot.sh,v 1.1.2.4 2014/01/23 22:26:00 misho Exp $ +# $Id: install2uboot.sh,v 1.1.2.7 2014/01/24 00:02:15 misho Exp $ # [ -r ./config/rc.elwix ] && . ./config/rc.elwix @@ -54,16 +54,10 @@ case $1 in ${REL}/kernel_rootfs.${UB_COMPRESS}.uImage ;; rootfs) - makefs -t ffs -B ${UB_ORDER} -f 1000 \ + makefs -t ffs -B ${UB_ORDER} -f 1000 -s ${UB_ROOTFS_SIZE} \ -o "version=1,bsize=4096,fsize=512,minfree=0" \ ${REL}/rootfs.dsk ${UBOOT_FS} mkulzma -v -s 131072 -o ${REL}/rootfs.${UB_COMPRESS_ROOTFS} ${REL}/rootfs.dsk - ;; - cfg) - dd if=/dev/zero of=${REL}/cfg.dsk bs=${UBOOT_CFG_SIZE} count=1 - DEV=`mdconfig -a -tvnode -f ${REL}/cfg.dsk` - newfs -n -m0 -O1 -b4096 -f 1024 -L cfg ${DEV} - mdconfig -d -u $DEV ;; *) echo "Option $1 not supported at this moment"