--- elwix/config/etc/uboot/rc.init 2014/01/24 01:32:25 1.1.2.5 +++ elwix/config/etc/uboot/rc.init 2014/01/27 09:34:38 1.1.2.6 @@ -2,7 +2,7 @@ # # Boot startup script for elwix :) # -# $Id: rc.init,v 1.1.2.5 2014/01/24 01:32:25 misho Exp $ +# $Id: rc.init,v 1.1.2.6 2014/01/27 09:34:38 misho Exp $ stty status '^T' @@ -40,6 +40,12 @@ boot() cd / } +restore_uboot() +{ + echo "Load configz from NAND ..." + /etc/rc.cfg load /etc/rc.s +} + options() { echo "Set firmware options ..." | tee -a $BOOTLOG @@ -164,6 +170,7 @@ service() # boot +restore_uboot echo "elwix>>> Start system boot stage at `date`" | tee $BOOTLOG options passwd