Mainly Help to understand/request modding qnap bios

Hi to all. Trying to modify an AMI 4.6.4 bios from QNAP.

I would like to add support for i7-3770S cpu. I tried with the MMtool 4.5 and inserted the new microcode. Flashed the bios but when installing the i7-3770S cpu it doesn’t continue booting the bios (blank screen). However when I put back the initial cpu e3-1275 v1 continues normally.

I theorise the following:

1) The new microcode even though it is inserted it is not read properly… (seen in another forum that the last hex of the microcode file should be 0000’s)

2) I see through UBU 1.78 that the vbios files of the bios is a Sandybridge 2098, so I do not have support for the Ivybridge cpu that I am installing.

3) Dead i7-3770S cpu?

4) Something else that I am missing?

Thank you for your input and help. Help a man learn fishing, so he doesn’t ask fish :slight_smile:

QA61AR22.rar (4.38 MB)

Also that I have not managed to find an answer to the issues I came across while experimenting with BIOS editing.

1) The initial untouched QA61AR22.rom has 19 cpu microcodes in UBU 1.78, when updating them through UBU they drop to 12.

2) When inserting with MMTool 4.53 the 306A9 cpu microcode for i7-3770S support and check the microcodes through UBU 1.78 I see the first 2 original microcodes and then only the 306A9 whereas there should be 20 (19+1) microcodes if I edit the untouched ROM file, or 13 (12+1) if I edit the updated cpu microcode file from UBU.

3) The modded version of MMTool has not an insert or delete function in patch tab when I load my my bios. Any reason for that? I came across with the terminology or capsulated bios and wonder if that’s my case.

Again thank you all for your input and help :slight_smile:

UBU Bios.jpg

Update.

Managed to update from 2098 the 2119 vbios with the fool proof tutorial of @SoniX . Unfortunately could not update to newer versions of vbios as during the apply all process the program was unexpectedly crashing or the newer version had too many parameters that needed changing, but even if I tried to I could not get to a point to save the new bios (most likely due to my inexperience).

I have updated through the UBU tool the cpu microcodes with the excellent tutorial of @Fernando and inserted the microcode for 306A9 updated version for the support of a i7-3770S that I have bought.

The motherboard booted with the new bios and the old CPU a E3-1275v1, but did not boot with the i7-3770s (got 4 beeps). I saw through the AIDA and CPU-Z that my south bridge is a C206 with North bridge Sandybridge WS. Through googling I show that the C206 is able to support 3rd generation CPU’s.

Is there something else that I am missing? My Intel ME is version 7 but I could not see it in the Bios file. I see that my bios is UEFI v 2.0 in the bios menu, but when comparing with other pictures from the forum taken with the UBU tool I don’t see EFI modules in mine.

Forgot to write that when I see the cpu microcodes of the original untouched bios it seems that I have the first microcode 206d7v05 in position 1 and 8.

Thank you all for your help and guidance to enlightenment :slight_smile:

The BIOS Region and the Intel Management Engine Region are different parts of the SPI chip. If you want to look for the in-use Intel ME Firmware version, you should run the tool named MEInfo.exe, which is part of the Intel (CS)ME System Tools v7 r2. You can find the download link >here<.

What is your Chipset? Check with motherboard tab of CPU-z if you are not sure.
You may need ME FW V8, and this is not something you can update from V7 to V8 yourself, this needs to be done by manufacturer because many other things are also updated not just ME FW in these cases.

And yes, you probably also need updated vBIOS too, at least to something IVB compatible if you are using onboard graphics. But really you need IVB ready BIOS from QNAP most likely…

On microcodes, there is many duplicates, that are removed when you update with UBU, that is why you see less. MMTool 4.50 can edit microcodes in this BIOS, but does not properly see them all due to alignment, so should not be used here (use UEFITool or UBU)
Your BIOS is not encapsulated. Microcode position in the list of microcodes does not matter.

Yes, your ME FW version, at least in the BIOS you attached, is 7.1.30.1142

@DeathBringer - may be able to tell if you can use this CPU on this system once you give chipset info and he’ll probably ask you to check some other things as well.

@cash365
This BIOS hasn’t support for Ivy Bridge.
Adding microcode doesn’t add support for new CPU.

Hi to all and thank you for your input :slight_smile: The bios attached here is the original bios from QNAP.

@Fernando Is the ME firmware specific to the SPI chip? I show from a bios that I downloaded from @GooballDiesel post that there is a newer v14. Could I change it to that?

@Lost_N_BIOS Chipset Sandybridge WS with C206 as a South bridge. I show that they support 3rd generation cpu’s. Yes the MMtool 4.53 does not see well the microcodes whereas the patched 5.02 does. However with the later I cannot insert or delete file only with the 4.53 version. I saw in a post here I think that some microcodes are split. Could it be that with the original bios?

@DeathBringer Yes the bios did not had any support for Ivybridge. I did modify the original bios and I am attaching that version also to see if you have any recommendations or if my editing was not successful.

Modded QA61AR22.rar (4.35 MB)

@cash365
You tried to add microcode only. And you need to analyse and to patch all(!) modules in BIOS with CPU initialisation.

@DeathBringer Yes you are correct the last two days I tried to install only the CPU microcode. Today I compiled a modded bios which I uploaded with the new microcode (306A9) and the vbios 2111v for desktop 1155 cpu, but did not boot again with the i7. I got though a boot with the Xeon.

What does a bios need to accept a new cpu except a microcode and vbios?

@cash365
At least you need disassemble, analyse and try to add support for Ivy Bridge in MemoryInit, CpuPei and CpuDxe modules.
Copy & past from other BIOS will not help.

Good morning to all and thank you for yesterday’s input and advice.

@DeathBringer for your input. May I ask if the Kabylake guide of @elisw has that function automated and if that guide could be adjusted? I didn’t see in that guide any MemoryInit, CpuPei or CpuDXE modifications, unless those were done from the UBU tool.

@Fernando Does the New UBU tool 1.78 support more than two microcodes in comparison with the 1.69.11.fix that @elisw used?

@Lost_N_BIOS I managed to find an AMI bios of a different QNAP NAS that supports both Sandy and Ivybridge. It seems like that when I read them side by side they use the same addresses for compiling the bios. Thinking of copy paste function as motherboards in configuration relatively same expect the South and North Bridge the one I found with Ivybridge support is an H-61. I am seeing that it has EFI GOP Driver and RAW GOP VBT that my bios does not have and thinking of inserting those in mine.

Is it feasible or am I making assumptions??

ubu bios.jpg



This is the bios from the other Qnap nas model that has support of Ivybridge and has EFI modules that I do not have even if in my boot screen it shows that it is UEFI 2.0.

Bios screen qnap.jpg

QV84AR06.rar (2.67 MB)

There is no method to solved it.
Have you compatible POST-card?

No but could get one. What would I be looking? I have still the QNAP with the i7 Ivybridge CPU on. WOuld it give me a clue where is the issue?


Try cross-flashing.

@cash365 :
Regarding the CPU Microcode update differences between the UBU tools v1.78 and v1.69.11.fix you should better ask the UBU maker SoniX than me.

ALL QNAP BIOS does not work on all systems , you need to slow down here or you will have brick device.
Only use BIOS from your exact model, if you do not find one for your exact model that supports IVY, then your done looking, you can’t just grab random QNAP BIOS for other models and use ANYTHING from it into your BIOS, this is now how BIOS work.
I cannot understand your microcode questions or concerns, but they are not really relevant, if you want updated microcode I can do that for you on your original BIOS.

Thanks Fernando :slight_smile: @SoniX could you confirm whereas the UBU 1.78 does not have the limitation of two microcodes reported by @elisw at post no3 of thread Coffee Lake CPUs on Skylake and Kaby Lake motherboards ?
=======================
I do not think that this is possible, as the chipsets on each NAS system are different. Only the CPU socket 1155 are the same and maybe some SATA and LAN cards? Is there something that I am missing?

Please use edit button if you need to add more questions, or thoughts etc and no one has replied yet, thanks!
And yes, there is a LOT you are missing and or do not understand here, best to just use best CPU your model supports, or upgrade to something better

:smiley: I was in full throttle until yesterday and had plenty of luck as I flashed few modded bios but no luck. Will take your advice. Yes I would appreciate any help. This is my hobby, as real profession is MD.

Apologies for questions that seem irrelevant or not cohesive. I understood from reading the various guides here that one can do patch work in BIOS from other similar/compatible bios.

I have uploaded the original latest bios of my device the QA61AR22 and also the QV84AR06 of another NAS which supports Ivy bridge CPU. Both NAS motherboards are relatively same on configuration of ports (HDMI, 2xLAN 2x e-SATA and 4 USB) but have different chipset. Mine the C206 and the other the H-61.

Ok will start editing instead of new posts

No need to apologize, I was only trying to get you to slow down before you brick your system
In certain cases, sometimes yes, you may be able to use something from one BIOS to another, but that is limited to certain things in certain situations and you have to know what it is you’re doing and how to do properly etc.
Those two systems you mentioned are not related at all, different chipset means different board etc, nothing same and BIOS contents totally different (connection ports do not matter to what we’re talking about here)

Requesting IVY BIOS from QNAP is your best bet here, if they will not provide one then you will probably have to make due with whatever is best CPU you can find that is compatible with this BIOS as it is.