diff options
| author | Christopher Kenna <cjk@cs.unc.edu> | 2012-09-27 16:16:55 -0400 |
|---|---|---|
| committer | Christopher Kenna <cjk@cs.unc.edu> | 2012-09-27 16:16:55 -0400 |
| commit | c4d20aa234b2adcbf04a65d77aee35e95ab82d14 (patch) | |
| tree | 4e03e5f75b33026dffc048afb81b12fcf4eccdcd /panda-install-kernel.sh | |
| parent | 897c93a793d2f42bd4b30eaf2ee152c3959ce677 (diff) | |
Bug fixes for ARM installer scripts.
Diffstat (limited to 'panda-install-kernel.sh')
| -rwxr-xr-x | panda-install-kernel.sh | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/panda-install-kernel.sh b/panda-install-kernel.sh index 9a22d8c..2a7f66a 100755 --- a/panda-install-kernel.sh +++ b/panda-install-kernel.sh | |||
| @@ -1,22 +1,18 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | set -e | 3 | . $(dirname $0)/arm-installer-common.sh |
| 4 | 4 | ||
| 5 | error() { | 5 | # This is machine specific, AFAIK. |
| 6 | echo "$@" >&2 | 6 | LOAD_ADDR=0x80008000 |
| 7 | exit 1 | 7 | ENTRY_POINT=0x80008000 |
| 8 | } | ||
| 9 | 8 | ||
| 10 | TMP_MOUNT=$(mktemp -d) | 9 | TMP_MOUNT=$(mktemp -d) |
| 11 | 10 | ||
| 12 | # The FAT u-boot bootloader partition. | 11 | # The FAT u-boot bootloader partition. |
| 13 | UBOOT_PART=/dev/mmcblk0p1 | 12 | UBOOT_PART=/dev/mmcblk0p1 |
| 14 | 13 | ||
| 15 | # This is machine specific, AFAIK. | 14 | KVERSION=$(getversion) |
| 16 | LOAD_ADDR=0x80008000 | 15 | CONFIG_FILE="config-$KVERSION" |
| 17 | ENTRY_POINT=0x80008000 | ||
| 18 | |||
| 19 | getversion | ||
| 20 | 16 | ||
| 21 | fetchfiles | 17 | fetchfiles |
| 22 | 18 | ||
