Query for MOD add bios CSM mode (LEGACY support)

Ok i tried it 4 times now but it still gives same result, ive also tried other "128" but they all now throw the same error… im using 2.9 just like instructed in that page

For the 10th time what software version are you using? *Edit, just saw your edit. I’ve never heard of any version 2.9?
Here, download new package and try 1.30 / 1.31 (don’t like layout) / 1.34 - http://s000.tinyupload.com/index.php?fil…257455007472602
I’ve used 1.30 and 1.34 on 128MB Winbond chips without issue. Let me get in my pile and see if I have your exact chip, if I do I will find what works and make a test for you - I have W25Q128FVSG chips, testing now!

Also, now still waiting for actual CHIP ID, I thought you mentioned it once but now I don’t see it?

My bad, i mean 1.29
sorry i had to find a magnifying glass because its so tiny, its winbond 25Q128FWSQ,
ok gonna try newer version now

Well bad news, both 1.34 and 1.31 gave me same error…
But the strange thing now is when i press "verify" it immediately throws that error instead of loading first…
btw, i dont see 25Q128FWSQ, in any versions, could it be too recent ?

Drats! I do not have that same chip to test/compare with, only W25Q128FVSG
So far, no luck on writes with W25Q128FV or BV using 1.30 or 1.34, so I assume reads will be same, but am unable to get that far yet since I want to verify in proper order to verify all functions work with xxx version and xxx chip ID

1.34 is brand new version, but W25Q128SW is the issue, I see now thanks for giving chip ID Finally https://www.winbond.com/resource-files/w…v_g_feb1714.pdf
This is 1.8V chip, you need 1.8V adapter to use in the programmer, 3.3v is too high and will never read or write properly
https://www.ebay.com/itm/253208845481

Ok i bought that type already, but i was wondering if its even technically even possible to enable legacy? Other gemini based boards also have this no legacy issue and there doesnt seem to be a fix yet
https://forum.odroid.com/viewtopic.php?f=168&t=33097

Yes, setting was just disabled/hidden, and different method needs to be used to make visible than the one I used previous for you, there’s a few ways to do it. Once you have working programmer setup, we can test all ways until we find correct one for your system.
As you can see in that thread, they (Intel) even removed BIOS option from boards that previously had it, so it’s BIOS controlled and in your BIOS it’s simply hidden from user.

Your BIOS still has the old Legacy oroms (For video and PXE) + UEFI, so it is capable to be put into legacy/orom mode, it’s all there still except the BIOS settings visibility
However, it does not look like there is any orom/legacy disk controller for SATA/NVME, so lack of that may prevent booting to the OS in legacy enabled modes
But I do see SATA settings in BIOS, enabled, aside from NVME stuff and they mention 2 black SATA Ports in the help strings, so I assume there is also SATA ports and other AHCI/SATA modules in the BIOS but just aren’t detected in normal ways.

But, now that I’m looking, I see also only option for VGA mode is EFI, but I believe you can enable CMS and then leave VGA/SATA on EFI/UEFI and set PXE to legacy since they is what you need. They can all be separately adjusted.
As shown below, there is also UEFI PXE, so you should be able to use that in current default states anyway, but I have no clue how any of that PXE booting works, so I may be misunderstanding all that, but I do see UEFI PXE Module in the BIOS and UEFI PXE Settings.
I think all you need to do for that is to enable Network Stack BIOS setting on the boot page (Default disabled). This setting also hidden from you I think, and if we find out no matter what method used to make visible the CSM section, or this setting, if none work we can still change this setting to default enabled and then you can PXE boot without a modified BIOS.

Define BIOS platform - AMI Aptio V
Manufacturer - ASRock
Model - GLKB-ITX

[EFI Drivers - Find and Extract]
Intel GOP SubGUID 380B6B4F-1454-41F2-A6D3-61D1333E8CB4
AMI NVMe GUID 634E8DB5-C432-43BE-A653-9CA2922CC458
Realtek Undi GUID EB53FCAD-3071-4BAB-980C-6E4A379255F3

[OROM - Find and Extract]
VBIOS in GUID A0327FE0-1FDA-4E5B-905D-B510C45A61D0
OROM in GUID A0327FE0-1FDA-4E5B-905D-B510C45A61D0
Press any key to continue . . .

Main Menu
[Current version in BIOS file]
1 - Disk Controller
EFI AMI NVMe Driver present
2 - Video OnBoard
EFI GOP Driver GeminiLake - 13.0.1011
OROM VBIOS GeminiLake - 1004
3 - Network
EFI Realtek UNDI - 2.035
OROM Realtek Boot Agent GE - 2.62 >> Intel UNDI, PXE-2.1 (build 083) / Realtek PCIe GBE Family Controller Series v2.62 (06/16/15)

4 - Other SATA Controller
5 - CPU MicroCode
View/Extract/Search/Update
S - AMI Setup IFR Extractor
0 - Exit
RS - Re-Scanning
Choice:

Thanks for the explanation, the programmer is still on its way,
What I need legacy PXE, not uefi PXE, for some unknown reason uefi pxe always fails.
If legacy boot is enabled, then pxe legacy should work…
The current BIOS does not even have CSM option anywhere, (just like the OP said in first page)

it seems they want to make it UEFI only bios, https://preview.ibb.co/dO3KFd/obrazek.png On that image there’s even “Asrock UEFI” on top of it,

The programmer just arrived, but since it has no usb looks like i need some kind of usb or as you said, an adapter?
Mind giving me a link? i’ll look for similar items in my country

@cemara - Programmer without USB? That’s not a programmer then, show me image of what you have, or a link.

Why do you say UEFI PXE Fails, do you mean on this board, or in general on any other system with what you’re doing? If you mean on this board, I don’t doubt that, since Network Stack is disabled it shouldn’t work at all until that setting is changed to enabled.

Yes, Intel’s goal is everything UEFI soon, trying to do away with Legacy/BIOS.

https://www.tokopedia.com/karyatehnik/18…flash-sop8-dip8

Isnt it the same with the one you told me ?

https://www.ebay.de/itm/253208845481

Yes only on this board, i’m not sure about network stack, i’ll check it once i can reflash this…

That is only the 1.8V adapter, you plug that into a programmer. You still need CH341A flash programmer, or other similar flash programmer, and SOIC8 test clip cable unless you desolder BIOS chip.

I told you to the programmer first a week ago, and then just 1.8V adapter a day or two ago, how do you have the adapter now before the programmer?
I thought you picked up a programmer from someone locally? Wait, now I’m confused and just remembered, you have programmer and was connecting chip yesterday

Now, you have adapter, you need to connect the adapter above into the programmer, then put cable into adapter same way you was before into the programmer (but now you need to do this - Programmer >> 1.8v adapter >> Cable >> BIOS Chip)

I am sure on Network Stack, it’s disabled by default and not visible in your BIOS, that would be why UEFI PXE boot cannot work currently on this system.

Ah ok i got it, ill try it again tommorow, i thought its supposed to replace the previous programmer…
Hmm i dont remember seeing network stack… so its probably hidden…
But, i dont remember csm being a requirement for uefi pxe boot? Hmm guess ill find out tommorow

Sorry for any confusion. No, the adapter goes down into the programmer, same way you connected the cable previously, then cable now goes into the adapter now, same way you put into programmer before, so that adapter is now between cable and programmer.
Yes, Network stack is hidden (I can see from images on previous page), and it’s set to disabled by default, so that would disable UEFI PXE Boot that it should be capable to do without modification (aside from that setting)
And that setting, you can leave hidden and still change it if you wanted, without modifying BIOS even, using Grub and Setup_var

Yes, CSM shouldn’t be a requirement, proof of that is the UEFI PXE Module and settings, so that’s why I was originally asking why you needed CSM/Legacy for PXE

Ok i setup all of them already, but the CH341A programmer can’t seem to detect the chip, does it mean i need newer version? Since my chip is not listed even in version 1.34

W25Q128FW is in both 1.30 and 1.34, I think you just need to get it all connected properly is the issue. I can’t tell for sure, but it looks like you have red wire going to pin 8 on the 1.8V adapter, pin one is on the lever side, but I can’t see exactly so it just may look that way in the image
Do you have 1.8V adapter in middle slots of programmer, I can’t tell that either (last set of 4/4 towards middle of programmer). It does look like you have it connected to programmer in correct orientation, I just can’t tell if you are using the correct slots to put it into. It goes into last 4 on end, just like you have the cable into last 4 on end of adapter’s block.
Once you’re sure it’s all connected correctly, and it may be now, try with board power connected and see if anything changes (24/8pin). Before that, put back in CMOS battery and try with just that. And do not have a jumper on clear CMOS pins if you do now (Just saying, I can’t see, didn’t look etc)

If you do use SPI cable, does your board have this header? MSI “usually” has a proprietary header (JSPI1), not wired same and is smaller than normal SPI Header. This is used as BIOS Bypass, not SPI, you cannot flash/program with that, only boot to another connected BIOS.


Mine is 25Q128FWSQ, is it same with W25Q128FW?

The red wire is already going to pin 1 on the 1.8V adapter…
And yes the 1.8v is un the last 4 end

https://imgur.com/t4dur07



No jumpers on clear CMOS pins,
with CMOS battery its still cant detect the chip,



With 24 pin and Powered on the detect button is greyed out, do i have to turn it on?



How can i tell my board has this or not? any pics?\

If you’re having chip detection issues, try Flashrom under linux. It was much easier to use than the default windows program that comes with the programmer. Here’s the video I followed: https://www.youtube.com/watch?v=2Y06x1f22B0 (replace -r with -w for write)

@cemara - Yes, W25Q128FW is all same in this regard. Do not power on system. Normally this is done without power connected, but sometimes it’s needed, since no change for you, remove power source (main PSU, not CMOS Battery)

On the JSPI1 pin header, you can’t use that with flash programmer anyway, you need special adapter, so we don’t need to worry about that.
You can recognize it because it looks similar to 8 pin SPI header (really only 7 pins for either) but it’s much smaller.

@_haru is correct, you may have quicker success with Flashrom, there is a windows version also. https://flashrom.org/Downloads
https://github.com/flashrom/flashrom
https://flashrom.org/Windows

Flashrom windows already compiled and tested here on forums
[Guide] Using CH341A-based programmer to flash SPI EEPROM (16)
Also
[Guide] Using CH341A-based programmer to flash SPI EEPROM (15)

Or there is also ASProgrammer for windows you can try also
https://github.com/nofeletru/UsbAsp-flash/releases

^^ on the above, I looked in google for your chip ID and CH341A ^^
That program is only success I found, so I suggest trying it now
https://4pda.ru/forum/index.php?showtopic=884713&st=500



Thanks for the tips haru, but i dont have linux machine available… will probably try installing one if this one fails…

@lost and bios, i’m testing ASProgrammer now but it cant seem to detect my board,
looking into the files there seems to be driver files, but it’s confusing cause there’s only zadig vista+ and i’m not sure how to use it

@cemara - You can boot to Linux Live CD, Ubuntu etc.
For ASProgrammer, I have not used but can test if you continue to have issues with it. I would install driver from here >> AsProgrammer_1.4.0\CH341-Drivers\CH341Parallel_xxxxx Never mind, I checked, those are same drivers as normal CH341A, so no drivers are needed to be installed since you already have these installed.
I tested the program and was able to read chip. Make sure SPI mode is set, and SPI 25xx selected in the SPI command dropout under stop sign, then go to IC, then SPI, then find your chip, then select it. Once done all the toolbar options work properly, you can read/write etc.