21536365bb
add xload as vaild update type. Default name should be stored in enviroment variable "xloadimage" Signed-off-by: Jan Weitzel <j.weitzel@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
15 lines
792 B
Bash
15 lines
792 B
Bash
#!/bin/sh
|
|
|
|
echo "usage: update -t <kernel|rootfs|barebox|bareboxenv|xload> -d <nor|nand> [-m tftp|xmodem] [-f imagename] -c"
|
|
echo "update tools."
|
|
echo ""
|
|
echo "options"
|
|
echo " -c to check the crc32 for the image and flashed one"
|
|
echo ""
|
|
echo "default mode is tftp"
|
|
echo "type update -t kernel -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update kernel into flash"
|
|
echo "type update -t rootfs -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update rootfs into flash"
|
|
echo "type update -t barebox -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update barebox into flash"
|
|
echo "type update -t bareboxenv -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update bareboxenv into flash"
|
|
echo "type update -t xload -d <nor|nand> [-m tftp|xmodem] [-f imagename] to update xload into flash"
|