Diff for /elwix/install2uboot.sh between versions 1.1.2.1 and 1.1.2.2

version 1.1.2.1, 2014/01/20 08:53:13 version 1.1.2.2, 2014/01/20 13:15:46
Line 26  fi Line 26  fi
   
 ### main()  ### main()
   
if [ -z "$1" -o ! -r "$1" ]; thenif [ -z "$1" ]; then
         echo          echo
        echo "Error:: ELWIX image file '$1' not found!"        echo "Error:: ELWIX u-boot option not found ..."
         echo          echo
         exit 2          exit 2
 fi  fi
   
   case $1 in
           kernel)
                   oldlzma e ${KERNEL} ${REL}/kernel.lzma
                   uboot_mkimage -A ${TARGET} -O linux -T kernel -C ${UB_COMPRESS} -n ELWIX \
                           -a ${UB_LOADADDR} -e ${UB_ENTRYADDR} -d ${REL}/kernel.lzma \
                           ${REL}/kernel.lzma.uImage
                   ;;
           kernel_rootfs)
                   oldlzma e ${KERNEL_ROOTFS} ${REL}/kernel_rootfs.lzma
                   uboot_mkimage -A ${TARGET} -O linux -T kernel -C ${UB_COMPRESS} -n ELWIX_ROOTFS \
                           -a ${UB_LOADADDR} -e ${UB_ENTRYADDR} -d ${REL}/kernel_rootfs.lzma \
                           ${REL}/kernel_rootfs.lzma.uImage
                   ;;
           *)
                   echo "Option $1 not supported at this moment"
                   ;;
   esac
   
 echo "ELWIX u-boot image $1 complete."  echo "ELWIX u-boot image $1 complete."

Removed from v.1.1.2.1  
changed lines
  Added in v.1.1.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>