diff options
author | Juan RP <xtraeme@gmail.com> | 2015-02-06 11:29:49 +0100 |
---|---|---|
committer | Juan RP <xtraeme@gmail.com> | 2015-02-06 11:29:49 +0100 |
commit | e52f493f15b2e9303be90253d1956fa392315481 (patch) | |
tree | 0dd490de49190f1a37093ebcdde4a7f495b542b4 | |
parent | 0b9c6f01607afcf77a8e84bd861c601020a912a9 (diff) | |
download | hrmpf-e52f493f15b2e9303be90253d1956fa392315481.tar.gz hrmpf-e52f493f15b2e9303be90253d1956fa392315481.tar.xz hrmpf-e52f493f15b2e9303be90253d1956fa392315481.zip |
mk{image,rootfs}: add support for the rpi2 platform (armv7).
-rw-r--r-- | mkimage.sh.in | 2 | ||||
-rw-r--r-- | mkrootfs.sh.in | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in index 6e39a10..518ca78 100644 --- a/mkimage.sh.in +++ b/mkimage.sh.in @@ -113,7 +113,7 @@ fi # double check PLATFORM is supported... case "$PLATFORM" in - bananapi|beaglebone|cubieboard2|odroid-u2|rpi);; + bananapi|beaglebone|cubieboard2|odroid-u2|rpi|rpi2);; *) die "The $PLATFORM is not supported, exiting..." esac diff --git a/mkrootfs.sh.in b/mkrootfs.sh.in index 57c32b1..340c27b 100644 --- a/mkrootfs.sh.in +++ b/mkrootfs.sh.in @@ -46,7 +46,8 @@ usage() { Usage: $PROGNAME [options] <platform> Supported platforms: i686, i686-musl, x86_64, x86_64-musl, - bananapi, beaglebone, cubieboard2, odroid-u2, rpi + bananapi, beaglebone, cubieboard2, odroid-u2, + rpi, rpi2 (armv7) Options -b <syspkg> Set an alternative base-system package (defaults to base-system) @@ -134,6 +135,7 @@ case "$PLATFORM" in i686-musl) _ARCH="i686-musl"; QEMU_BIN=qemu-i386-static;; odroid-u2) _ARCH="armv7l"; QEMU_BIN=qemu-arm-static;; rpi) _ARCH="armv6l"; QEMU_BIN=qemu-arm-static;; + rpi2) _ARCH="armv7l"; QEMU_BIN=qemu-arm-static;; x86_64) _ARCH="x86_64"; QEMU_BIN=qemu-x86_64-static;; x86_64-musl) _ARCH="x86_64-musl"; QEMU_BIN=qemu-x86_64-static;; *) die "$PROGNAME: invalid platform!";; |