--- elwix/config/etc/rootfs/rc 2017/10/08 00:05:37 1.7.2.4 +++ elwix/config/etc/rootfs/rc 2018/01/01 21:54:24 1.7.2.6 @@ -2,7 +2,7 @@ # # Boot startup script for ELWIX RootFS ... # -# $Id: rc,v 1.7.2.4 2017/10/08 00:05:37 misho Exp $ +# $Id: rc,v 1.7.2.6 2018/01/01 21:54:24 misho Exp $ stty status '^T' @@ -22,14 +22,15 @@ ETCDEV="md1" ETCSIZE="8m" FRMDEV="md3" -FRMSIZE="42m" +FRMSIZE="48m" FRMFILE="elwix-firmware.sys" FRMDEV2="md4" -FRMSIZE2="21m" +FRMSIZE2="24m" FRMFILE2="elwix-firmware2.sys" FRMPATH="/elwix" +FRM2PATH="/elwix/pkg" FIT2CF="/dev/ufs/fit2cf" CFDIR="/elwix/cf" @@ -66,17 +67,17 @@ boot_elwix2() { echo " RootFS: Loading ELWIX secondary firmware" - mdmfs -s $FRMSIZE2 -S -n -m0 -oasync $FRMDEV2 /elwix/pkg + mdmfs -s $FRMSIZE2 -S -n -m0 -oasync $FRMDEV2 $FRM2PATH if [ "$?" != "0" ]; then failed_sysvol "to mount firmware image " $FRMFILE2 fi - cd /elwix/pkg + cd $FRM2PATH pax -r -z -pe -f $FRMPATH/$FRMFILE2 if [ "$?" != "0" ]; then failed_sysvol "to load firmware image " $FRMFILE2 fi cd - - mount -ur /elwix/pkg + mount -ur $FRM2PATH } mount_usr()