Page 7 of 12
#91 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by bottedumal 11.11.2016 16:40

sure I will report :)

#92 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by bottedumal 17.11.2016 19:57

for now, I don't have the device appearing in /dev/

probably bad wiring right ? I don't have any soft or lib to install on raspbian to have it recognized ? (flashrom runs fine)

#93 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by bottedumal 17.11.2016 20:03

also, my raspi-blacklist.conf is empty (rpi3b with latest raspbian). and the modprobe commands doesn't work

edit:
found my answer. SPI have to be enabled manually via raspi-config command

https://www.raspberrypi.org/documentatio...i/spi/README.md

but still not working, despit modprobe spi-bcm2835 (this changed also) chip is not detected :'( any idea ?

I did wiring again, same problem. I think the wiring on my jspi1 is different.

I could find some pics on russia/chinese forums...

link 1

link 2

link 3


I'm totally lost now... should I put gnd on 9 ? is CS on 9 ? should I gnd 11 or 12 ? :/

#94 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by bottedumal 17.11.2016 21:55

probably this is the issue, especially that I have MSI Z97 1150...

https://forums.overclockers.ru/viewtopic...82083#p12182083

not sure I understood the solution but it's about variation of tension from 3.3 to 3.6 to enable which seems too complicated...

#95 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by Pacman 17.11.2016 22:01

avatar

I would just like to ask, do you own any instrument to measure resistance and/or voltage?
If you did not compile Flashrom yourself? do you know that the one you haveis compiled with linux_spi support?

It is difficult to say about the pinout, i was not actually aware that MSI used different pinouts until now, it should not be any problem to test the various pinouts, as far as i can see.

I am not so sure it is about raising the voltage, i Think that might only be a problem if you can not get the chip to unlock for Writing, you should still be able to read it.

#96 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by bottedumal 17.11.2016 22:06

I usually have multimeter yes, but I'm not home right now. I'm on the way to get an old one from friend, not sure it works good tho, but I should be able to test continuity.

I compiled the flashrom myself. I don't know if it is compiled with linux_spi support ? How do I know ? I enabled SPI after compiling it.

What do you think about the wiring shown on russian forum, with 12 pin, a transistor linked to CS pin and gnd ? is there a way to bypass transistor or keep it open ? (i did some electronic studies but it's faaarrr ahah...)

#97 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by Pacman 17.11.2016 22:15

avatar

Ok, if you left all options default it should be with Linux_spi support.

I will look at the datasheet for the chip and some of your links to see if i can Think of anything.

#98 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by Pacman 17.11.2016 22:38

avatar

I Think you should try the pinout in your Link 2, and then see if you can dump the BIOS.

#99 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by bottedumal 17.11.2016 22:51

which pinout on link 2?

#100 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by Pacman 17.11.2016 22:55

avatar

In the first post.


#101 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by bottedumal 17.11.2016 22:57

so, just connecting CS on 11 instead of 5 ?

#102 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by Pacman 17.11.2016 23:03

avatar

Yes, but posssibly keep 5 to GND also, i am not sure if the transistor is to drive CS low with the right timing.

#103 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by Pacman 17.11.2016 23:54

avatar

It seems that it is possible on 12pin JSPI1, that pin 11 is WP and pin 12 is Hold, usually they should be connected to 3.3v.
If you got the multimeter maybe you can see what state pins 3&7 are.


EDIT: and CS to pin 9 not 11.

#104 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by bottedumal 19.11.2016 13:29

Hi Pacman!


I am now back home and was able to do testing with a proper multimeter.

So I am exactly in this situation for all pins except 9:


I have a transistor next to JSPI1 and bios, but it does not make contact between 5, 9 from JSPI1 to any of the transistor pin.
Maybe it's not this one, but it's the only one around.

So, i'm thinking of asking a friend (without parkinson's disease) to old one multimeter pin on CS pin directly on bios, and link it to my raspberry while flashing. that should be doable.

And I will connect 11/12 to VCC.

#105 RE: Tutorial: Recover from failed BIOS flash using Raspberry PI by bottedumal 19.11.2016 13:29

//

Xobor Forum Software von Xobor
Datenschutz