Skip to content

Sync w/ master#315

Open
shihyic wants to merge 8 commits intobf4-script-changesfrom
master
Open

Sync w/ master#315
shihyic wants to merge 8 commits intobf4-script-changesfrom
master

Conversation

@shihyic
Copy link
Collaborator

@shihyic shihyic commented Mar 13, 2026

pick up changes from master w/ bfscripts for BF4 support

shihyic and others added 8 commits January 12, 2026 13:07
* Update additional scripts are not supported in BF4
bfdracut, bfhcafw, bfpart, bfperf_pmc, bfrshlog, bfvcheck

RM #4823806
When converting a binary configuration file back to text,
if the BOOTx_DEVPATH variable is set, the text written
back is incorrect, because if you then try converting
that text back to a binary config file, the data gets
corrupted in the binary config file.

Example:
Start out with: BOOT0_DEVPATH='\\EFI\\velinux\\grubaa64.efi'
Convert to binary, this gets saved as '\EFI\velinux\grubaa64.efi'
Convert that binary back to text and you will have:
BOOT0_DEVPATH='\EFI\velinux\grubaa64.efi'
If you now convert that text file back to binary,
the resulting binary config will be corrupted as
bfcfg is expecting the double backslash '\\'

The fix is to simply make sure when converting from
binary to text, for the DEVPATH variables, write the
double slash.

Note: changed bfcfg version
from bfcfg_version=4.6
to   bfcfg_version=4.7

RM #4836088
Not supporting EFI variable on BF4. Update the error message.

#4921720
#4925441
Fix unknow platform w/ no command parameter 
#4925254
@shihyic shihyic requested a review from lsun100 March 13, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants