Comments (7)
Hi,
Do you mean something like a boot animation? You can check DisplaySplash() to see how SBL display a BMP to framebuffer. The function is in BootloaderCorePkg/Stage2/Stage2Support.c.
However, it may not what you are looking for, because it only tests with BMP.
If you want to run comprehensive tests, possibly you still need to boot into an embedded OS and run test utilities.
from slimbootloader.
bmp is static picture. How to display boot animation?
from slimbootloader.
Hi,
As I know, some boot animation uses a loop to continuously show a series of BMP.
from slimbootloader.
Can you give me an example?
from slimbootloader.
Hi,
I didn't try it, but I think it is not difficult to implement it. E.g.,
for (i=0; i<count; i++)
{
MicroSecondDelay (100);
DisplayBmpToFrameBuffer(bmp[i], ...); // where bmp[] is a bmp pointer array
}
or if you don't want to manage a bmp array, you may still use a single BMP (i.e., PcdSplashLogoAddress) but modify Blt->Blue/Green/Red in DisplayBmpToFrameBuffer in every loop, so the color will be changed. E.g.,
DisplayBmpToFrameBuffer ( ..., loop_count) {
...
Blt->Red ^= (UINT8)loop_count;
Blt->Blue ^= (UINT8)loop_count;
Blt->Green ^= (UINT8)loop_count;
from slimbootloader.
@lutooog have you completed this feature?
from slimbootloader.
Close it due to a prolonged period of inactivity.
from slimbootloader.
Related Issues (20)
- [EHL] RESET botton take long time to do real reset. HOT 2
- [EHL] How to enable SATAXPCIE auto detect function. HOT 23
- [ICX-D] Not being able to reproduce PCR 7 value using Authority PCR event log HOT 1
- [EHL] STMMAC: change MTU to a bigger value(>1508) will cause large frame(>1476) blocked HOT 1
- IsElfFormat doesn't correctly check the ELF header HOT 1
- UDK Url at slimbootloader.github.io is wrong HOT 2
- GetContainerHeaderSize in ContainerLib returns 0 HOT 3
- [EHL] FPT tool not working properly HOT 5
- [EHL] EFI payload boot option changes can't be saved. HOT 1
- [EHL] sdcard not working at 1.8v signaling mode HOT 1
- Configure the system to enter the S5 state when power is restored after G3 state HOT 2
- SBL fails to reboot on TigerLake HOT 6
- [EHL] How to write some codes to do something during S0 into S5 HOT 6
- [MTL] build fail on Ubuntu HOT 3
- UP Squared V2 HOT 2
- How to reduce the size of SlimBootloader.bin? HOT 2
- ADL/MTL/RPL Incorrect RsvdSmbusAddressTablePtr and PchNumRsvdSmbusAddresses HOT 3
- How to enable the FSP debugging message? HOT 2
- Regarding SBL porting. HOT 2
- How to boot Windows? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slimbootloader.