diff options
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 | ||
