Adriana Kobylak | 5bd157c | 2017-05-25 15:48:27 -0500 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
3 | # Get the mtd device number for pnor | ||||
4 | pnor=`grep pnor /proc/mtd |cut -c 4` | ||||
5 | |||||
6 | # Format the pnor mtd device as ubi | ||||
7 | echo "Starting ubiformat /dev/mtd$pnor" | ||||
8 | ubiformat /dev/mtd$pnor -y -q |