So, the specified top flash address should be less than 4G. Right? If yes, I 
suggest to update the patch tile with the top flash address instead of the 
higher flash address. The higher flash address may confuse me that it may be 
above 4G. 

 

Thanks

Liming

发件人: bounce+27952+65713+4905953+8761...@groups.io 
<bounce+27952+65713+4905953+8761...@groups.io> 代表 cbduggap
发送时间: 2020年9月29日 16:21
收件人: gaoliming <gaolim...@byosoft.com.cn>; devel@edk2.groups.io
主题: Re: [edk2-devel] 回复: [edk2-devel] [Patch V2 1/1] Tools\FitGen: Add extra 
parameter to input the Higher Flash Address

 

Use case :

For Boot from Block device feature, As Block device is not Memory mapped, we 
need some agent to load the Initial firmware to Host memory. CSE takes care of 
it by mapping CSE internal SRAM to host memory of 4GB to 4 GB – 256 KB. 

Boot from Block Configuration Host Memory Map :

 


 

Current Implementation 

Future Recommendation 

POC on Current Implementation


CSE Mapped host memory

 

4GB to 4GB – 256 KB

 

 

4GB to 4GB – 512KB

4GB to 4GB – 256 KB

 


BIOS Flash Map Definition 

4GB to 4GB – 256 KB --> Empty Firmware volume (hole in flash map)

4GB – 256KB to 4GB – 10 MB ( BIOS Firmware Volumes)

4GB to 4GB – 512KB --> Empty Firmware volume (hole in flash map)

4GB – 512 KB to 4GB – 10 MB ( BIOS Firmware Volumes)

Eliminate the Empty Firmware volume /hole in flash memory.

(by shifting flash range by 256 KB as shown below)


Flash Map range

4GB to 4GB – 10 MB

For 10 MB BIOS.

4GB to 4GB – 10 MB

For 10 MB BIOS.

4GB – 256 KB to 4GB – 10 MB – 256 KB 

For 10 MB BIOS

 


Below is the usage of this addition. 
@if "%BFX_BUILD%" == "TRUE" (

%WORKSPACE_PLATFORM%\%PLATFORM_FULL_PACKAGE%\Tools\FitGen_Split_Boot\FitGen.exe 
^

-D ^

%BUILD_DIR%\FV\ClientBios.fd ^

%BUILD_DIR%\FV\ClientBios.fd ^

-F 0x40 ^

-NA ^

-REMAP 0xFFF80000 ^

-L %SLOT_SIZE% %MICROCODE_ARRAY_FFS_GUID% ^

-I %BIOS_INFO_GUID% ^

%STARTUP_AC_PARA% ^

-O 0x0C RESERVE 0x600 ^

-O 0x0B RESERVE 0x400 ^

-P 0xA 0x70 0x71 0x1 0x4 0x2a

)

%STARTUP_AC_PARA% ^

-O 0x0C RESERVE 0x600 ^

-O 0x0B RESERVE 0x400 ^

-P 0xA 0x70 0x71 0x1 0x4 0x2a





-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#65742): https://edk2.groups.io/g/devel/message/65742
Mute This Topic: https://groups.io/mt/77209596/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to