Lines Matching full:pnor

25 # Attach the pnor mtd device to ubi.
27 pnormtd="$(findmtd pnor)"
28 pnor="${pnormtd#mtd}"
29 pnordev="/dev/mtd${pnor}"
31 if [ -d "/sys/class/ubi/ubi${pnor}" ]; then
36 ubiattach /dev/ubi_ctrl -m "${pnor}" -d "${pnor}"
39 # Check the pnor mtd device is formatted as ubi by reading the first 3 byes,
50 ubiattach /dev/ubi_ctrl -m "${pnor}" -d "${pnor}"
56 pnormtd="$(findmtd pnor)"
60 img="/tmp/images/${version}/pnor.xz.squashfs"
77 # Set size of read-only partition equal to pnor.xz.squashfs
102 pnormtd="$(findmtd pnor)"
103 pnor="${pnormtd#mtd}"
104 ubidev="/dev/ubi${pnor}"
105 pnordev="/dev/mtd${pnor}"
107 if [[ "${name}" == "pnor-patch" ]]; then
114 mountdir="/usr/local/share/pnor"
119 if [[ "${name}" == "pnor-prsv" ]]; then
135 mountdev="ubi${pnor}:${name}"
141 pnormtd="$(findmtd pnor)"
142 pnor="${pnormtd#mtd}"
143 ubidev="/dev/ubi${pnor}"
162 pnormtd="$(findmtd pnor)"
163 pnor="${pnormtd#mtd}"
164 pnordev="/dev/mtd${pnor}"
166 # Re-Attach the pnor mtd device to ubi
168 ubiattach /dev/ubi_ctrl -m "${pnor}" -d "${pnor}"
175 ubinfo=$(ubinfo -d "${pnor}")
180 elementProperties=$(ubinfo -d "$pnor" -n "$element")
186 … if [[ ${name} == pnor-prsv ]] || [[ ${name} == pnor-rw* ]] || [[ ${name} == pnor-ro* ]]; then
192 if [[ ${name} == pnor-ro* ]]
194 ubiblock --create "/dev/ubi${pnor}_${element}"
195 mount -t squashfs -o ro "/dev/ubiblock${pnor}_${element}" "${mountdir}"
197 mount -t ubifs "ubi${pnor}:${name}" "${mountdir}"
210 vols=$(ubinfo -a | grep -e "pnor-ro-" -e "pnor-rw-" | cut -c 14-)
213 vols=$(ubinfo -a | grep -e "pnor-ro-" -e "pnor-rw-" | \