Boot device select (BDS) menu

Boot device select (BDS) menu
QTI added a UEFI application, which is loaded at BDS stage if ‘hotkey press’ is detected.
Disable the hotkey detection so that the screen is not displayed.
The screen that is displayed is decided by the app MenuApp.efi at
QcomPkg\Application\MenuApp\Uefi_Menu.cfg. Customize the options available on
the screen by modifying the file Uefi_Menu.cfg.
The BDSMenu is for debug. It is present in userdebug builds and not in the release
builds. The menu should not be enabled for release builds.
启动设备选择 (BDS) 菜单
QTI 新增了一个 UEFI 应用程序,如果检测到“按下热键”,则会在 BDS 阶段加载该程序。禁
用热键检测后,便不会显示此画面。
显示的画面由位于 QcomPkg\Application\MenuApp\Uefi_Menu.cfg 的应用 MenuApp.efi
决定。可通过修改文件 Uefi_Menu.cfg 自定义画面上的可用选项。
BDS 菜单用于调试。该菜单存在于 userdebug 编译中,而不存在于发布版本编译中。不应为发
布版本编译启用此菜单。

1 .前提条件是用DEBUG版本的XBL

2.编译DEBUG版本xbl的命令  python buildex.py --variant LAA -r DEBUG -t SaipanPkg,QcomToolsPkg

3.编译的过程会报错

Generate Region at Offset 0x0
   Region Size = 0x230000
   Region Name = FV

Generating FVMAIN_COMPACT FV
#####
Generating FVMAIN FV
###################################
########################################
########################################
########################################
########################################
########################################
########################################
##########################################Return Value = 2
GenFv: ERROR 3000: Invalid

  the required fv image size 0x2395b0 exceeds the set fv image size 0x230000


GenFds.py...

 : error 7000: Failed to generate FV
修复方法

 ./boot_images/QcomPkg/SocPkg/SaipanPkg/LAA/Core.fdf
[FD.Saipan_EFI]
BaseAddress   = 0x9FC00000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress  #The base address of the FLASH Device.
Size          = 0x00230000改为0x00240000|gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize         #The size in bytes of the FLASH Device
ErasePolarity = 1
BlockSize     = 0x200
NumBlocks     = 改为0x1200

################################################################################
################################################################################

# 512 bytes of configuration header & 8 bytes of image header
0x00000000|0x00230000改为0x00240000
gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize
FV = FVMAIN_COMPACT

 

 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值