blob: 7ea236cdd7cf64bdf69264cfd560c07c68c23df6 [file] [log] [blame]
#!/usr/bin/env bash
# Copyright 2019 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
set -x
set -eo pipefail
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
ZIRCON_DIR="${DIR}/../../../../.."
SCRIPTS_DIR="${ZIRCON_DIR}/scripts"
"${SCRIPTS_DIR}/package-image.sh" -b as370 \
-d "$ZIRCON_DIR/kernel/target/arm64/dtb/dummy-device-tree.dtb" -D mkbootimg \
-l -M 0x02000000 -K 0x00000000 -B "$(pwd)" $@