From 296adf07206092bab869461c4d71d63238028a12 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Thu, 22 Dec 2011 15:05:26 -0800 Subject: [PATCH] Install kernels on partition 12 on arm This is needed on some ARM boards where ext2 filesystem reading isn't an option, and where verified boot isn't in use, i.e. with legacy firmware. x86 stores the kernel here as well. BUG=none TEST=build_image on an arm board and check contents for vmlinuz.A and vmlinuz.uimg.A on partition 12 Change-Id: I89b652cb6ea7ece1627b20be30492100f8db0770 Signed-off-by: Olof Johansson Reviewed-on: https://gerrit.chromium.org/gerrit/13441 --- update_bootloaders.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/update_bootloaders.sh b/update_bootloaders.sh index 67752215de..8d443df6e0 100755 --- a/update_bootloaders.sh +++ b/update_bootloaders.sh @@ -243,6 +243,8 @@ elif [[ "${FLAGS_arch}" = "arm" ]]; then sudo mkdir -p "${ESP_FS_DIR}/u-boot" sudo cp "${FLAGS_from}/boot-A.scr.uimg" \ "${ESP_FS_DIR}/u-boot/boot.scr.uimg" + sudo cp -f "${FLAGS_from}"/vmlinuz "${ESP_FS_DIR}"/vmlinuz.uimg.A + sudo cp -f "${FLAGS_from}"/zImage "${ESP_FS_DIR}"/vmlinuz.A fi fi