From 2c994ad1ca992b387b15ecc1d8dafd51f0463542 Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Thu, 15 Dec 2011 19:21:17 +0000 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 CQ-DEPEND=I81df8471fba34e264ada8fd6f12122d87fbf22d9 Change-Id: I39541644845dde4ff6ddc288afa0ed339ab0d05b Signed-off-by: Olof Johansson Reviewed-on: https://gerrit.chromium.org/gerrit/12996 --- 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