Page 7 of 20
#91 RE: Problems Updating firmware of Marvell 9120 Sata controller by hanson 06.05.2014 18:52

avatar

@lordkag

Good news finally: the modded version provided by you worked for me. mvf_mag.exe was able to detect and read my Marvell chip.

#92 RE: Problems Updating firmware of Marvell 9120 Sata controller by Stress 06.05.2014 21:30

Zitat von lordkag im Beitrag #90


I had a look at mvf_mag.exe and it seems they indeed hardcoded the ID check. Don't know why they added spi_info.txt if they are going to ignore it. Another shot in the foot for Marvell, I guess.




LordKag - are you saying that Marvell hardcoded the ID check for the SPI chip that holds the bios or for the SATA controller adapter?

I still haven't gotten around to trying my buspirate to flash the onboard 9120 controller SPI EEPROM chip (Macronix MX25L4005) on my motherboard. When I try to flash the onboard controller from DOS using mvg_mag.exe I still get a "No Adapter Found" message.

My problems started when I mistakenly flashed my 9120 with a 9123 bios and immediately afterward saw a message reading something like "Adapter ID mismatch". Seems like the computer bios thinks I have a 9120 and the 9120 EEPROM thinks it is a 9123 hence the ID mismatch? Is it possible to flash the onboard controller from DOS and workaround the ID mismatch through a modded mvg_mag.exe file? At this point I have nothing to lose flashing the 9120 because it is bricked so I appreciate any help you may offer.

#93 RE: Problems Updating firmware of Marvell 9120 Sata controller by lordkag 06.05.2014 23:19

avatar

@hanson

This is good news indeed. Thanks for supporting the endless torture of testing. But one question though, have you compared the returned binary with latest image2.bin (this was your selection) I provided here, are they the same?

@Stress

Your chip is supported by the flasher, maybe it is broken? What have you tried with flashrom? From my readings it should be something like this, see if you get any readings:
flashrom -p buspirate_spi:dev=COMxx -r marv.bin (to read the chip, where COMxx is the port where the BusPirate is connected, like COM8, COM13...)
flashrom -p buspirate_spi:dev=COMxx
flashrom


Flashrom for Win is here, just rename libusb0_x86.dll to libusb0.dll if it says is missing.

#94 RE: Problems Updating firmware of Marvell 9120 Sata controller by hanson 06.05.2014 23:31

avatar

@lordkag

Yes I can confirm that. I compared IMAG_RB.BIN (from mvf_mag.exe) with Image2.bin by using a HEX editor and from what I could see they are same. But I'll attach them for you so you can have a deeper look by yourself.

Best regards hanson

#95 RE: Problems Updating firmware of Marvell 9120 Sata controller by lordkag 06.05.2014 23:37

avatar

Yes, they have the same CRC32. I think you can now also write to the chip using the flasher. But leave this for another time, when you will really need to do this. You have done enough testing. Others should put their hardware in the line of fire, if they want something to be done.

#96 RE: Problems Updating firmware of Marvell 9120 Sata controller by hanson 06.05.2014 23:54

avatar

Great job mate, thanks a lot. So I could use this mvf_mag. exe for any update that is or is not released in the future? That's great!!

Best regards hanson

#97 RE: Problems Updating firmware of Marvell 9120 Sata controller by lordkag 07.05.2014 23:48

avatar

@Stress

I think your mainboard BIOS has the components of Marvell firmware, so maybe it is possible to by-pass the broken firmware by updating main BIOS. If your BusPirate can reflash the original BIOS in case something goes wrong, we could give this a try.

#98 RE: Problems Updating firmware of Marvell 9120 Sata controller by Stress 08.05.2014 22:12

@Lordkag

I agree that the mainboard bios contains the components of the Marvell 9120 SATA controller firmware. However I don't think it is possible to by-pass the Marvell 9120 SATA controller firmware by flashing the mainboard with a BIOS with new Marvell 9120 SATA controller components because of the controller ID mismatch which was the result of my bad flash, but I'm certainly willing to try. I believe that for the mainboard BIOS to restore the controller bios, the ID mismatch problem has to be resolved. It could be that just erasing the Macronix MX25L4005 SPI EEPROM would accomplish this. I did not back up the firmware in the Macronix MX25L4005 SPI EEPROM when I performed the bad flash, so I don't have the original bios.

My problem in using the buspirate with flashrom is that I am having problems communicating with the buspirate using either dos or windows. Under windows I can identify the COM port, but I can't under DOS. I don't have any experience with Linux and I don't have a Linux installation. In addition, the last time I checked, the downloads for flashrom running under dos or windows was not updated to the lastest flashrom release version which seems a lot more buspirate friendly and the instructions for compiling were very difficult for me to follow and execute. So I given this up until I have a lot more time and patience to try it. In the meantime I'm quite content with disabling the Marvell 9120 SATA controller and just using the onboard Intel SATA controller.

In my previous post I had hoped that mvg_mag.exe could be modded to directly address the Macronix MX25L4005 SPI EEPROM chip that has the Marvell 9120 SATA controller firmware without an adapter ID check, or modded to workaround the adapter ID check, so I wouldn't have to use the buspirate. At this point I would even be willing to use a modded mvg_mag.exe to simply erase the Macronix MX25L4005 SPI EEPROM if that was possible.

In any event, I'm pretty much willing to try almost anything that doesn't involve opening the case.

#99 RE: Problems Updating firmware of Marvell 9120 Sata controller by hanson 08.05.2014 22:51

avatar

I pushed the guys at flashrom a couple of days ago. They updated their Windows section finally (told me the server had a raid failure). So here's the latest 0.9.7 build I recieved. It works nice with my buspirate 4 (new firmwares 6.1, 6.2 and 6.3 is also attached) under windows 8.1 x64.

Best regards hanson

#100 RE: Problems Updating firmware of Marvell 9120 Sata controller by lordkag 08.05.2014 22:51

avatar

@stress

I think you have the mainboard Asus P7P55D-E-LX, right? The last time I looked at your BIOS, it had all the components of the full firmware, meaning autoload, ROM/BIOS, inner firmware. So I think that the BIOS would most likely load them in memory from here, rather than using the separate chip. Maybe it will even reflash them back to chip, if you are lucky.

It was easy to add the missing ID for a chip, but to force the flash on an already supported chip is a different chip. Maybe if you will try all the commands from the readme_engineer.txt or go.bat and post screenshot(s) of the error(s), I could do something, but I wouldn't hold my breath.

#101 RE: Problems Updating firmware of Marvell 9120 Sata controller by Stress 09.05.2014 00:52

@hanson

Thanks so much for the flashrom and buspirate files. Does the 0.97 flashrom work for x64 windows, or just x32? This just might inspire me to try flashing the Macronix MX25L4005 SPI EEPROM with the buspirate again. BTW I'm using a version 3.5 buspirate and I see that the buspirate firmware files you sent have all the files and firmware necessary to flash my buspirate v3.5.


@lordkag

Yes my mainboard is an Asus P7P55D-E-LX with an onboard Marvell 9120 SATA controller. I tried to flash the mainboard bios with updated Marvell 9120 SATA controller components some time ago with no success. I guess it is possible that I didn't properly inject all the components. I'm willing to try again.

I did correspond with someone in Russia who had a problem similar to mine with their onboard Marvell 9120 SATA Controller on an ASUS X58 mainboard. This person's X58 mainboard also had a Macronix MX25L4005 SPI EEPROM for the onboard Marvell 9120 SATA Controller which was flashed using a programmer with firmware for a U3S6 card with Marvell 9120 SATA Controller. This person reported to me that the mainboard bios re-flashed the onboard controller with the Marvell 9120 SATA controller components from the mainboard bios during the next mainboard post process. So that is why I'm hopeful that the same will happen for me if I can flash the onboard Macronix MX25L4005 SPI EEPROM. It sounds as though you think this could very well be my only option to recover the onboard Marvell 9120 SATA Controller.

#102 RE: Problems Updating firmware of Marvell 9120 Sata controller by hanson 09.05.2014 00:57

avatar

@Stress

Yes the flashrom works under x64. Just run a dosbox as admin, enter the flashrom folder and type: flashrom -p buspirate_spi:dev=comx -w <filename.xxx> and it should work. I put the flashrom folder directly on c: so it's more comfortable. Of course the image you want to flash has to be in the same folder. Do you know how to update your buspirate (setting bridge between pgc and pgd contact)?

Best regards hanson

#103 RE: Problems Updating firmware of Marvell 9120 Sata controller by Stress 09.05.2014 17:59

@hanson

Thanks for the response. I updated the buspirate firmware several months ago before the latest firmware generation. IIRC I used software to update the firmware. I don't remember setting the bridge but I remember reading about it. I'm sure I can figure it out again. I may give it a try this weekend (instead of mowing the lawn).

#104 RE: Problems Updating firmware of Marvell 9120 Sata controller by biondo79 05.06.2014 16:17

hi friend I apologize for my english i have a pci-e card asus U3S6 with chip marvell 88se9120 bios 1.0.0.1028.
Can you explain me how upgrade chip with last LOADER VERSION, BIOS VERSION, FIRMWARE VERSION please?
i don't use raid but only ahci mode with ssd samsung evo 840
best regards

#105 RE: Problems Updating firmware of Marvell 9120 Sata controller by hanson 05.06.2014 19:24

avatar

@biondo79

Hi,

unfortunately that's a tricky thing to do. The easiest way is to use a programmer like I did. the needed images I could give to you. Second possibility is to use some downloaded firmware together with a special mvf_mag.exe that has been modified by our member @lordkag .Anyway this method is a bit risky because the firmware to download is for onboard cards which behave different from our ASUS PCIe card.

Best regards hanson

Xobor Forum Software von Xobor
Datenschutz