From 2b0c0dab6f9eee398108d9b6cb6e8260c3fcad1d Mon Sep 17 00:00:00 2001 From: Robert Nelson Date: Thu, 9 Aug 2012 12:15:19 -0500 Subject: [PATCH] cleanup: docs Signed-off-by: Robert Nelson --- README | 63 ++++++++++---------- mk_mmc.sh | 172 ++++++++++++++++++++++++++++-------------------------- 2 files changed, 120 insertions(+), 115 deletions(-) diff --git a/README b/README index f7f0461..ddfeba1 100644 --- a/README +++ b/README @@ -8,52 +8,53 @@ Required Options: --mmc --uboot - (omap) - beagle_cx - - beagle_xm - - bone - - igepv2 - - panda - - panda_es - - - (freescale) - mx53loco + TI: + beagle_bx - + beagle_cx - + beagle_xm - + bone - + igepv2 - + panda - + panda_es - + Freescale: + mx51evk - + mx53loco - + mx51evk_dtb - + mx53loco_dtb - Optional: --distro - Debian: - squeeze - wheezy-armel - wheezy-armhf - Ubuntu - maverick (10.10 - End Of Life: April 2012) - natty (11.04 - End Of Life: October 2012) - oneiric (11.10 - End Of Life: April 2013) - precise-armel (12.04) - precise-armhf (12.04) - quantal-armhf (12.10 ) + Debian: + squeeze + wheezy-armel + wheezy-armhf + Ubuntu: + maverick (10.10 - End Of Life: April 2012) + natty (11.04 - End Of Life: October 2012) + oneiric (11.10 - End Of Life: April 2013) + precise-armel (12.04) + precise-armhf (12.04) + quantal-armhf (12.10 ) --addon - pico - ulcd + pico + ulcd --firmware - Add distro firmware + --serial-mode - + --svideo-ntsc - force ntsc mode for svideo + --svideo-pal - force pal mode for svideo + Additional Options: --h --help - this help + -h --help --probe-mmc - List all partitions: sudo ./mk_mmc.sh --probe-mmc + -Debug: diff --git a/mk_mmc.sh b/mk_mmc.sh index aa0d5dc..076aaa8 100755 --- a/mk_mmc.sh +++ b/mk_mmc.sh @@ -1709,16 +1709,19 @@ function check_uboot_type { ERROR: This script does not currently recognize the selected: [--uboot ${UBOOT_TYPE}] option.. Please rerun $(basename $0) with a valid [--uboot ] option from the list below: ----------------------------- - -Supported TI Devices:------- - beagle_bx - - beagle_cx - - beagle_xm - - bone - - igepv2 - - panda - - panda_es - - -Supported Freescale Devices: - mx53loco - + TI: + beagle_bx - + beagle_cx - + beagle_xm - + bone - + igepv2 - + panda - + panda_es - + Freescale: + mx51evk - + mx53loco - + mx51evk_dtb - + mx53loco_dtb - ----------------------------- __EOF__ exit @@ -1788,17 +1791,18 @@ function check_distro { ERROR: This script does not currently recognize the selected: [--distro ${DISTRO_TYPE}] option.. Please rerun $(basename $0) with a valid [--distro ] option from the list below: ----------------------------- - Debian: - squeeze - wheezy-armel - wheezy-armhf - Ubuntu: - maverick (10.10 - End Of Life: April 2012) - natty (11.04 - End Of Life: October 2012) - oneiric (11.10 - End Of Life: April 2013) - precise-armel (12.04) - precise-armhf (12.04) - quantal-armhf (12.10 ) + --distro + Debian: + squeeze + wheezy-armel + wheezy-armhf + Ubuntu: + maverick (10.10 - End Of Life: April 2012) + natty (11.04 - End Of Life: October 2012) + oneiric (11.10 - End Of Life: April 2013) + precise-armel (12.04) + precise-armhf (12.04) + quantal-armhf (12.10 ) ----------------------------- __EOF__ exit @@ -1809,69 +1813,69 @@ function check_distro { } function usage { - echo "usage: sudo $(basename $0) --mmc /dev/sdX --uboot " -cat < - ---uboot - (omap) - beagle_cx - - beagle_xm - - bone - - igepv2 - - panda - - panda_es - - - (freescale) - mx53loco - -Optional: ---distro - Debian: - squeeze - wheezy-armel - wheezy-armhf - Ubuntu - maverick (10.10 - End Of Life: April 2012) - natty (11.04 - End Of Life: October 2012) - oneiric (11.10 - End Of Life: April 2013) - precise-armel (12.04) - precise-armhf (12.04) - quantal-armhf (12.10 ) - ---addon - pico - ulcd - ---firmware - Add distro firmware - ---serial-mode - - ---svideo-ntsc - force ntsc mode for svideo - ---svideo-pal - force pal mode for svideo - -Additional Options: --h --help - this help - ---probe-mmc - List all partitions: sudo ./mk_mmc.sh --probe-mmc - -Debug: - -EOF -exit + echo "usage: sudo $(basename $0) --mmc /dev/sdX --uboot " + #tabed to match + cat <<-__EOF__ + Script Version git: ${GIT_VERSION} + ----------------------------- + Bugs email: "bugs at rcn-ee.com" + + Required Options: + --mmc + + --uboot + TI: + beagle_bx - + beagle_cx - + beagle_xm - + bone - + igepv2 - + panda - + panda_es - + Freescale: + mx51evk - + mx53loco - + mx51evk_dtb - + mx53loco_dtb - + + Optional: + --distro + Debian: + squeeze + wheezy-armel + wheezy-armhf + Ubuntu: + maverick (10.10 - End Of Life: April 2012) + natty (11.04 - End Of Life: October 2012) + oneiric (11.10 - End Of Life: April 2013) + precise-armel (12.04) + precise-armhf (12.04) + quantal-armhf (12.10 ) + + --addon + pico + ulcd + + --firmware + + + --serial-mode + + + --svideo-ntsc + + + --svideo-pal + + + Additional Options: + -h --help + + --probe-mmc + + + __EOF__ + exit } function checkparm {