Searched refs:HOST_MTD (Results 1 – 3 of 3) sorted by relevance
25 HOST_MTD=$(< /proc/mtd grep "pnor" | sed -n 's/^\(.*\):.*/\1/p')26 if [ -n "$HOST_MTD" ];34 HOST_MTD=$(< /proc/mtd grep "pnor" | sed -n 's/^\(.*\):.*/\1/p')35 if [ -z "$HOST_MTD" ];41 echo "--- Flashing firmware image $IMAGE to @/dev/$HOST_MTD"42 HOST_MTD=${HOST_MTD/"mtd"/""}43 flashcp -v "$IMAGE" /dev/"$HOST_MTD"
20 HOST_MTD=$(< /proc/mtd grep "pnor-uefi" | sed -n 's/^\(.*\):.*/\1/p')21 if [ -z "$HOST_MTD" ];36 HOST_MTD=$(< /proc/mtd grep "pnor-uefi" | sed -n 's/^\(.*\):.*/\1/p')37 if [ -z "$HOST_MTD" ];44 echo "--- Flashing firmware to @/dev/$HOST_MTD"45 flashcp -v "$IMAGE" /dev/"$HOST_MTD"
26 HOST_MTD=$(< /proc/mtd grep "pnor" | sed -n 's/^\(.*\):.*/\1/p')27 if [ -n "$HOST_MTD" ];35 HOST_MTD=$(< /proc/mtd grep "pnor" | sed -n 's/^\(.*\):.*/\1/p')36 if [ -z "$HOST_MTD" ];42 echo "--- Flashing firmware image $IMAGE to @/dev/$HOST_MTD"43 flashcp -v "$IMAGE" /dev/"$HOST_MTD"