Weird Bios won't update any more

emurach
Posts: 67
Joined: Wed Aug 29, 2012 12:18 am

Weird Bios won't update any more

Post by emurach »

Ok I move to a new house. I own two IntensePc's. I updated Bios on both to IPC_2.2.400.3 X64 problem. Me would only update on the one but not the living room unit. They purchase at the same time but I've always thought the two were not identical in performance. Diff version of CPUs??

I was having issue with Wireless connections at the new place. Troubleshooting the issue I decided to revert the living room PC back to version IPC_2.2.400.2 X64. OK it reverted. Blew my Office licensing up in the process and wiped out my UEFI boot menu. But ok it reverted and fixed the created issues. Bios wasn't the cause of my wireless issues.

Now time to re-update back to IPC_2.2.400.3 X64. I created the usb key and booted to it. I ran BIOS-UPD.BAT. It runs. It says it going to reboot and apply the Capsule. The computer reboots. Delays for a time at the Logo screen (F2) screen. Then boots into UEFI and my REFIND v11.2 boot manager. I go into BIOS but it tells me the version is IPC_2.2.400.2 X64. It doesn't see to want to upgrade here. PC works fine but no upgrade.

I type the batch command manually. Same result.
I added the v switch for verify and coughs up an ESVA out of space error if you add the v switch to the command.
I Cold booted the machine. Still no update.

Bios Engineer: Any ideas what I should do here. Should not the Setup tell me that BIOS is IPC_2.2.400.3 X64 if the upgrade took place?

I ask why does it need to reboot to apply the capsule in the first place. Its in FreeDos. I don't see a typical progess indicator showing a flash in progress.

tamir
Site Admin
Posts: 419
Joined: Mon Dec 25, 2017 4:21 pm

Re: Weird Bios won't update any more

Post by tamir »

We're investigating the issue and will get back to you as soon as possible.
Thank you.

tamir
Site Admin
Posts: 419
Joined: Mon Dec 25, 2017 4:21 pm

Re: Weird Bios won't update any more

Post by tamir »

Sent PM with instructions.

emurach
Posts: 67
Joined: Wed Aug 29, 2012 12:18 am

Re: Weird Bios won't update any more

Post by emurach »

Tamir,
I tried flashing with "shellflash64.efi" via the "startup.nsh" script while in "shell64" to version ipc_2.2.400.4. It errors out.

I piped the error to a text file while in shell. Here it is:
-----------------------------------------------
startup.nsh> echo -off

Phoenix SCT Flash for Shell V2.50.2.0, Build 161004
Copyright (c) 2011-2016 Phoenix Technologies Ltd.

The tool will start flashing in 5 seconds, press ESC to abort.
Read BIOS image from file.
Initialize Flash module.
Read current BIOS.
Error: The EVSA region space is exhausted!

ERROR 236 - Failed to commit all changes into BIOS image!
Update finished, please reset the system.
------------------------------------------------------

emurach
Posts: 67
Joined: Wed Aug 29, 2012 12:18 am

Re: Weird Bios won't update any more

Post by emurach »

hmm! in a Lenovo forum they had this error too! It was the logo in that case.

The forum said:
---------------------------
The current logo appears to be taking up too much space. As soon as I removed the -logo option the flash took place without error.

I am now wondering if there is a way to replace/remove the current BIOS image during/before flashing.
------------------------------------
hmm?

emurach
Posts: 67
Joined: Wed Aug 29, 2012 12:18 am

Re: Weird Bios won't update any more

Post by emurach »

hmm?? now pflash.efi keeps it settings in pflash.ini.

This is write out of phoenix shellflash manual.

could compulab use pflash? on the IntensePc. hmm??

emurach
Posts: 67
Joined: Wed Aug 29, 2012 12:18 am

Re: Weird Bios won't update any more

Post by emurach »

looking at what was I the startup.nsh:
----------------------------------------------------
echo -off
for %f in fs0 fs1 fs2 fs3 fs4 fs5
if exist %f:\ShellFlash64.efi then
%f:
if not exist BIOS.Cap then
goto MISSINGFILE
endif
ShellFlash64.efi /cvar /sn /sd /file BIOS.Cap
goto END
endif
endfor
:MISSINGFILE
echo BIOS update image s missing, please extract all files from archive to this USB flash.
:END
echo Update finished, please reset the system.
---------------------------------------------
/cvar = clear the variable storage rom
/sn = skip the bios date check
/sd = skip the bios number check
/file

hmm don't see any /logo options in the manual. but short with just 3 chapters.

emurach
Posts: 67
Joined: Wed Aug 29, 2012 12:18 am

Re: Weird Bios won't update any more

Post by emurach »

shellflash64 commands

Usage: Flash [COMMAND]

bak [filename] Backup BIOS ROM before flash.
bbl Flash boot block.
bcp [EVSA binary] Overwrite BCP data.
bcplogo [BCP variable name] [Image file name] [Image ID] Replace logo image stored in BCP variable
cvar Clear variables.
dat string Specify the asset tag DMI string.
dmc string Specify the chassis manufacturer DMI string.
dmm string Specify the motherboard manufacturer DMI string.
dks string Specify the SKU number DMI string.
dms string Specify the system manufacturer DMI string.
dos [string1;string2;...]|[index1 string1 index2 string2 ...] Specify the OEM DMI strings.
dpc string Specify the chassis asset tag number DMI string.
dpm string Specify the motherboard product ID DMI string.
dps string Specify the system product ID DMI string.
dsc string Specify the chassis serial number DMI string.
dsm string Specify the motherboard serial number DMI string.
dss string Specify the system serial number DMI string.
dus [uuid] Specify the UUID DMI string.
dvc string Specify the chassis version DMI string.
dvm string Specify the motherboard version DMI string.
dvs string Specify the system version DMI string.
endkey Required key press after flashing.
ese Enable security examiner
exit Exit program after flash completed.
file filename Indicate BIOS image file for flash.
help Show command list.
ipf [region name]|all Flash specific region
logo filename [ImageId] [filename] [ImageId] ... Replace logo.
nodelay No delay after flash.
p Production mode. Disable simple text output.
prog start size Flash specific area. Both parameters in hexadecimal.
patch Patch mode. To patch particular data to current BIOS.
silent Silent operation (no beeps).
slp filename Replace SLP marker or MSDM key.
spu filename 20|21 Replace SLP public key.
ss Skip all SLP sub-regions.
v Enable flash verification.
vbl Enable Microsoft Bit-locker check.
vcpu [filename] Update variable size CPU microcode.
write filename start [fdla] Write a binary file to specific physical address or FDLA.
wsbr GUID filename Write a binary file to specific sub-region.
nopause Skips the BIOS version check.
forceit Skips the power condition check.
forcetype Skips system ID and platform name check.
? Show command list.

emurach
Posts: 67
Joined: Wed Aug 29, 2012 12:18 am

Re: Weird Bios won't update any more

Post by emurach »

shellflash64 commands

Usage: Flash [COMMAND]

bak [filename] Backup BIOS ROM before flash.
bbl Flash boot block.
bcp [EVSA binary] Overwrite BCP data.
bcplogo [BCP variable name] [Image file name] [Image ID] Replace logo image stored in BCP variable
cvar Clear variables.
dat string Specify the asset tag DMI string.
dmc string Specify the chassis manufacturer DMI string.
dmm string Specify the motherboard manufacturer DMI string.
dks string Specify the SKU number DMI string.
dms string Specify the system manufacturer DMI string.
dos [string1;string2;...]|[index1 string1 index2 string2 ...] Specify the OEM DMI strings.
dpc string Specify the chassis asset tag number DMI string.
dpm string Specify the motherboard product ID DMI string.
dps string Specify the system product ID DMI string.
dsc string Specify the chassis serial number DMI string.
dsm string Specify the motherboard serial number DMI string.
dss string Specify the system serial number DMI string.
dus [uuid] Specify the UUID DMI string.
dvc string Specify the chassis version DMI string.
dvm string Specify the motherboard version DMI string.
dvs string Specify the system version DMI string.
endkey Required key press after flashing.
ese Enable security examiner
exit Exit program after flash completed.
file filename Indicate BIOS image file for flash.
help Show command list.
ipf [region name]|all Flash specific region
logo filename [ImageId] [filename] [ImageId] ... Replace logo.
nodelay No delay after flash.
p Production mode. Disable simple text output.
prog start size Flash specific area. Both parameters in hexadecimal.
patch Patch mode. To patch particular data to current BIOS.
silent Silent operation (no beeps).
slp filename Replace SLP marker or MSDM key.
spu filename 20|21 Replace SLP public key.
ss Skip all SLP sub-regions.
v Enable flash verification.
vbl Enable Microsoft Bit-locker check.
vcpu [filename] Update variable size CPU microcode.
write filename start [fdla] Write a binary file to specific physical address or FDLA.
wsbr GUID filename Write a binary file to specific sub-region.
nopause Skips the BIOS version check.
forceit Skips the power condition check.
forcetype Skips system ID and platform name check.
? Show command list.

----------------------------
more commands:


10


#589 Mar 15, 2015 .



Insyde H2OEZE (Ease Binary Editor)
Version 100.00.02.10

http://www.mediafire.com/download/jztq7r5nf8ydx79

.






quid



quid

MDL Senior Member
.
Oct 22, 201033538010


#590 Mar 21, 2015
Last edited by a moderator: Apr 20, 2017
.


Phoenix SCT DOS/Win/Shell Flash for Lenovo v1.0.2.9



Code:
SCT Flash Utility for Lenovo for Windows V1.0.2.9
Copyright (c) 2011-2015 Phoenix Technologies Ltd.
Copyright (c) 2011-2015 Lenovo Group Limited.

Usage: Flash [COMMAND]

bak [filename] Backup BIOS ROM before flash.
bbl Flash boot block.
bcp [EVSA binary] Overwrite BCP data.
bcplogo [BCP name] [file name] [Image ID] Replace logo image stored in BCP.
cac Check AC power is on.
cbp threshold Check battery power in percentage.
cvar Clear variables.
dat string Specify the asset tag DMI string.
dmc string Specify the chassis manufacturer DMI string.
dmm string Specify the motherboard manufacturer DMI string.
dmpgr Dump gated regions
dmppr Dump protected regions
dks string Specify the SKU number DMI string.
dms string Specify the system manufacturer DMI string.
dos [string;string2;...]|[index1 string1 ...] Specify the OEM DMI strings.
dpc string Specify the chassis asset tag number DMI string.
dpm string Specify the motherboard product ID DMI string.
dps string Specify the system product ID DMI string.
dsc string Specify the chassis serial number DMI string.
dsm string Specify the motherboard serial number DMI string.
dss string Specify the system serial number DMI string.
dus [uuid] [overwrite] Specify the UUID DMI string.
dvc string Specify the chassis version DMI string.
dvm string Specify the motherboard version DMI string.
dvs string Specify the system version DMI string.
endkey Required key press after flashing.
ese Enable security examiner.
exit Exit program after flash completed.
file filename Indicate BIOS image file for flash.
force Force to perform whole BIOS flash.
help Show command list.
helpall Show command list includes hidden commands.
ipf [region name]|all Flash specific region
logo filename [ImageId] [filename] [ImageId] ... Replace logo.
ls [ImageId] ... Reserve logo in BIOS ROM.
mod filename Replace a FFS module.
nodelay No delay after flash.
nodrom No decomposing ROM when crisis recovery.
noerror Do not display error messages.
nowarn Do not display warning messages.
oc string Specify the OEM command line.
output Output a verify.bin before flash.
p Production mode. Disable simple text output.
prog start size Flash specific area. Both parameters in hexadecimal.
patch Patch mode. To patch particular data to current BIOS.
raw GUID filename [Index] Replace raw section of FFS module.
rsbr GUID1 GUID2 ... Reserve sub-regions with specified GUIDs.
sd Skip BIOS build date time checking.
silent Silent operation (no beeps).
slp filename Replace SLP marker or MSDM key.
spu filename 20|21 Replace SLP public key.
ss Skip all SLP sub-regions.
sn Skip part number checking.
shutdown Shutdown after flash completed instead of reboot.
v Enable flash verification.
vbl Enable Microsoft Bit-locker check.
vcpu [filename] Update variable size CPU microcode.
w password Specify admin's password.
wb Flash without skipping same content blocks.
write filename start [fdla] Write a binary file to specific physical address
or FDLA.
wsbr GUID filename Write a binary file to specific sub-region.
ec filename EC Update
bios BIOS Update
ecfw ECFW Update
sbat Skip Battery check
f Skip ECFW image check

emurach
Posts: 67
Joined: Wed Aug 29, 2012 12:18 am

Re: Weird Bios won't update any more

Post by emurach »

so EVSA = EFI Variable Storage Area

From Linux you access the NON Volatile NVRAM memory ESVA memory area from /sys/firmware/efi/efivars/

each name is the <name of variable> - <GUID>

that allows multiples with the same variable name but different GUID each different vendors. (But how to id the vendors? hmm. I think that structure is lacking)

rm /sys/firmware/efi/efivars/dump-* can be cleared if they exist. They don't in my case. So it a question of what can be deleted and what can't.
It bad if you delete the wrong thing.

It would interesting to know what factory fresh PC has stored in that space before os install. Then after a windows install. And then after Linux install.
mapping what uses what variable.

seems many uefi processes won't execute if space is 50% full. Many automatic clearance routines in UEFI don't kickin tell it at 90% full level to recover any delete space back to availability pool. So the space could be free yet the pool does note that. (Wonder if the a Linux ESVA cleanup tool?)

So EVSA might be mark 50%+ full. The CMOS battery is a rechargeable bonded to PCB if not mistaken. Clearing Bios I don't think is going to clear the ESVA. Or reset it. And if it did will windows and Linux still work.

I need to compare both machines ESVA locations and note the differences.
That clue me in and what's out of place variable wise. I likely what could be deleted.

I saw a note rebooting the machine 10 times uses 3K a reboot and the ten time might engage the auto cleaner the tenth time for a uefi. No clue if its true. Reboot mine a bunch of times but no luck there.

Post Reply

Return to “Intense PC BIOS”