[APL] Fix boot option settings for ACRN

In order to make ACRN to boot, it is required to set boot from eMMC
RAW partition 1. However, current boot option is set to 0, which
caused the boot failure. This patch updated the SwPart to 1 and filled
the LBA with expected format. It fixed #317.

Signed-off-by: Maurice Ma <maurice.ma@intel.com>
This commit is contained in:
Maurice Ma 2019-09-10 17:42:28 -07:00
parent 57492a5b7d
commit 9dbe8ebe98
1 changed files with 3 additions and 3 deletions

View File

@ -8,16 +8,16 @@
# !BSF PAGE:{OS} # !BSF PAGE:{OS}
# !HDR HEADER:{OFF} # !HDR HEADER:{OFF}
# # |ImgType|flag|DevType|DevNum|HwPart|SwPart|FsType| image0 name # |ImgType|flag|DevType|DevNum|HwPart|SwPart|FsType|ImageName or LBA#
# eMMC boot P1 # eMMC boot P1
# !BSF SUBT:{BOOT_OPTION_TMPL:0 : 0 : 0 : 2 : 0 : 0 : 0 : 0 :'iasimage.bin'} # !BSF SUBT:{BOOT_OPTION_TMPL:0 : 0 : 0 : 2 : 0 : 0 : 0 : 0 :'iasimage.bin'}
# eMMC boot P2 # eMMC boot P2
# !BSF SUBT:{BOOT_OPTION_TMPL:1 : 0 : 0 : 2 : 0 : 0 : 0 : 3 : '' } # !BSF SUBT:{BOOT_OPTION_TMPL:1 : 0 : 0 : 2 : 0 : 0 : 1 : 3 :'#0' }
# SATA boot # SATA boot
# !BSF SUBT:{BOOT_OPTION_TMPL:2 : 0 : 0 : 0 : 0 : 0 : 0 : 0 :'iasimage.bin'} # !BSF SUBT:{BOOT_OPTION_TMPL:2 : 0 : 0 : 0 : 0 : 0 : 0 : 0 :'iasimage.bin'}
# USB boot # USB boot
# !BSF SUBT:{BOOT_OPTION_TMPL:3 : 0 : 0 : 5 : 0 : 0 : 0 : 0 :'iasimage.bin'} # !BSF SUBT:{BOOT_OPTION_TMPL:3 : 0 : 0 : 5 : 0 : 0 : 0 : 0 :'iasimage.bin'}
# SPI boot (for fastboot recovery) # SPI boot (for fastboot recovery)
# !BSF SUBT:{BOOT_OPTION_TMPL:4 : 4 : 0 : 7 : 0 : 0 : 0 : 3 : '' } # !BSF SUBT:{BOOT_OPTION_TMPL:4 : 4 : 0 : 7 : 0 : 0 : 0 : 3 :'#0' }
# !HDR HEADER:{ON} # !HDR HEADER:{ON}