Fix regression in 'update_kernel.sh' for Tegra2 boards.
This 'update_kernel.sh' script gratuitiously broke on ARM targets
because the bootloader file has been changed to 'bootloader.bin' from
its previous name.
TEST=Used the script with a small kernel change to my Arthur board.
BUG=none
Change-Id: I146f08256543ffe2c4c52995625b26a1b3f28318
Reviewed-on: http://gerrit.chromium.org/gerrit/1989
Reviewed-by: Olof Johansson <olofj@chromium.org>
Reviewed-by: Taylor Hutt <thutt@chromium.org>
Tested-by: Taylor Hutt <thutt@chromium.org>
diff --git a/update_kernel.sh b/update_kernel.sh
index 1291b50..d6d5c84 100755
--- a/update_kernel.sh
+++ b/update_kernel.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright (c) 2009-2010 The Chromium OS Authors. All rights reserved.
+# Copyright (c) 2009-2011 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -87,7 +87,8 @@
local bootloader_path
local kernel_image
if [[ "${FLAGS_arch}" == "arm" ]]; then
- bootloader_path="${SRC_ROOT}/build/images/${FLAGS_board}/latest/kernel.scr.uimg"
+ name="bootloader.bin"
+ bootloader_path="${SRC_ROOT}/build/images/${FLAGS_board}/latest/${name}"
kernel_image="/build/${FLAGS_board}/boot/vmlinux.uimg"
else
bootloader_path="/lib64/bootstub/bootstub.efi"