mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-11-24 02:05:01 +00:00
Add WAIT screen to default bitmap
Some systems take a long time to program the EC firmware (because it's behind a really slow I2C bus or something). This could happen at any boot as part of software sync. If it's necessary to reprogram the EC on a slow system, we need to display a BIOS screen to the user so he/she doesn't think it's bricked. This CL is just to add a new default bitmap so we'll have something to display when we need it. Nothing actually uses it yet. BUG=chrome-os-partner:12254 TEST=none There should be no user-visible changes. We don't invoke this screen yet. Change-Id: Icb922f933e2e921472dbdff7a26a3ca4d58fbba3 Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/29241 Reviewed-by: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
@@ -525,6 +525,7 @@ enum VbScreenType_t {
|
||||
VB_SCREEN_RECOVERY_NO_GOOD = 0x203, /* Recovery - inserted image invalid */
|
||||
VB_SCREEN_RECOVERY_TO_DEV = 0x204, /* Recovery - confirm dev mode */
|
||||
VB_SCREEN_DEVELOPER_TO_NORM = 0x205, /* Developer - confirm normal mode */
|
||||
VB_SCREEN_WAIT = 0x206, /* Please wait - programming EC */
|
||||
};
|
||||
|
||||
/* Initialize and clear the display. Set width and height to the screen
|
||||
|
||||
@@ -225,6 +225,9 @@ VbError_t VbDisplayScreenFromGBB(VbCommonParams* cparams, uint32_t screen,
|
||||
case VB_SCREEN_DEVELOPER_TO_NORM:
|
||||
screen_index = 5;
|
||||
break;
|
||||
case VB_SCREEN_WAIT:
|
||||
screen_index = 6;
|
||||
break;
|
||||
case VB_SCREEN_BLANK:
|
||||
case VB_SCREEN_DEVELOPER_EGG:
|
||||
default:
|
||||
|
||||
BIN
scripts/newbitmaps/default_source/WAIT.bmp
Normal file
BIN
scripts/newbitmaps/default_source/WAIT.bmp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 43 KiB |
BIN
scripts/newbitmaps/default_source/bmpblock.bin
Normal file
BIN
scripts/newbitmaps/default_source/bmpblock.bin
Normal file
Binary file not shown.
@@ -34,6 +34,7 @@ images:
|
||||
zh_CH_yuck: zh_CH_yuck.bmp # 588x23 5357/14602 tag=0 fmt=1
|
||||
TODEV: TODEV.bmp
|
||||
TONORM: TONORM.bmp
|
||||
WAIT: WAIT.bmp
|
||||
screens:
|
||||
scr_en_dev:
|
||||
- [0, 0, UNOFFICIAL] # tag=0 fmt=1 c=2 4595/308278
|
||||
@@ -159,14 +160,18 @@ screens:
|
||||
- [0, 0, UNOFFICIAL] # tag=0 fmt=1 c=2 4595/308278
|
||||
- [221, 372, TONORM]
|
||||
- [100, 175, $HWID] # tag=1 fmt=2 c=2 4092/58196
|
||||
scr_en_wait:
|
||||
- [0, 0, UNOFFICIAL] # tag=0 fmt=1 c=2 4595/308278
|
||||
- [221, 372, WAIT]
|
||||
- [100, 175, $HWID] # tag=1 fmt=2 c=2 4092/58196
|
||||
|
||||
localizations:
|
||||
- [ scr_en_dev, scr_en_remove, scr_en_yuck, scr_en_insert, scr_en_todev, scr_en_tonorm ]
|
||||
- [ scr_zh_dev, scr_zh_remove, scr_zh_yuck, scr_zh_insert, scr_en_todev, scr_en_tonorm ]
|
||||
- [ scr_fr_dev, scr_fr_remove, scr_fr_yuck, scr_fr_insert, scr_en_todev, scr_en_tonorm ]
|
||||
- [ scr_es_dev, scr_es_remove, scr_es_yuck, scr_es_insert, scr_en_todev, scr_en_tonorm ]
|
||||
- [ scr_it_dev, scr_it_remove, scr_it_yuck, scr_it_insert, scr_en_todev, scr_en_tonorm ]
|
||||
- [ scr_de_dev, scr_de_remove, scr_de_yuck, scr_de_insert, scr_en_todev, scr_en_tonorm ]
|
||||
- [ scr_en_dev, scr_en_remove, scr_en_yuck, scr_en_insert, scr_en_todev, scr_en_tonorm, scr_en_wait ]
|
||||
- [ scr_zh_dev, scr_zh_remove, scr_zh_yuck, scr_zh_insert, scr_en_todev, scr_en_tonorm, scr_en_wait ]
|
||||
- [ scr_fr_dev, scr_fr_remove, scr_fr_yuck, scr_fr_insert, scr_en_todev, scr_en_tonorm, scr_en_wait ]
|
||||
- [ scr_es_dev, scr_es_remove, scr_es_yuck, scr_es_insert, scr_en_todev, scr_en_tonorm, scr_en_wait ]
|
||||
- [ scr_it_dev, scr_it_remove, scr_it_yuck, scr_it_insert, scr_en_todev, scr_en_tonorm, scr_en_wait ]
|
||||
- [ scr_de_dev, scr_de_remove, scr_de_yuck, scr_de_insert, scr_en_todev, scr_en_tonorm, scr_en_wait ]
|
||||
locale_index:
|
||||
- en
|
||||
- zh_TW
|
||||
|
||||
Reference in New Issue
Block a user