Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1444)

Unified Diff: update_bootloaders.sh

Issue 3109018: make_image: Install u-boot scripts to ESP partition. (Closed) Base URL: ssh://git@chromiumos-git//crosutils.git
Patch Set: merge. Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « bin/cros_make_image_bootable ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: update_bootloaders.sh
diff --git a/update_bootloaders.sh b/update_bootloaders.sh
index db443c40fdb14e9dea11be33c582d7fbd3f2c6f2..032f75777efb81608a1c3f84c62aa670fb62f97f 100755
--- a/update_bootloaders.sh
+++ b/update_bootloaders.sh
@@ -206,15 +206,9 @@ elif [[ "${FLAGS_arch}" = "arm" ]]; then
warn "FIXME: cannot replace root= here for the arm bootloader yet."
dm_table="" # TODO(wad) Clear it until we can fix root=/dev/dm-0
- device=1
- MBR_SCRIPT_UIMG=$(make_arm_mbr \
- ${FLAGS_kernel_partition_offset} \
- ${FLAGS_kernel_partition_sectors} \
- ${device} \
- "'dm=\"${dm_table}\"'")
- sudo dd bs=1 count=`stat --printf="%s" ${MBR_SCRIPT_UIMG}` \
- if="$MBR_SCRIPT_UIMG" of=${FLAGS_to}
- info "Emitted new ARM MBR to ${FLAGS_to}"
+ # Copy u-boot script to ESP partition
+ sudo mkdir -p "${ESP_FS_DIR}/u-boot"
+ sudo cp "${FLAGS_from}/boot-A.scr.uimg" "${ESP_FS_DIR}/u-boot/boot.scr.uimg"
fi
set +e
« no previous file with comments | « bin/cros_make_image_bootable ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698