mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-08-05 08:15:47 +08:00
flash_kernel.sh: flash both slots
This commit is contained in:
+2
-1
@@ -13,7 +13,8 @@ DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
||||
cd $DIR
|
||||
|
||||
# Flash bootloader
|
||||
fastboot --set-active=a
|
||||
#fastboot --set-active=a
|
||||
fastboot flash boot_a $OUTPUT_DIR/$KERNEL_IMAGE
|
||||
fastboot flash boot_b $OUTPUT_DIR/$KERNEL_IMAGE
|
||||
|
||||
echo -e "${GREEN}Done!"
|
||||
|
||||
Reference in New Issue
Block a user