Libreboot Bios flash using teensy

Status
Not open for further replies.

Wazerbeamfire

New member
Hello all :),
I'm a beginner to all this, what i'm trying to do, is flash my r400 bios to Libreboot.

Libreboot.org has a tutorial on how to do this using a BeagleBone Black, problem is that I only have a Teensy 2.0 ++ and would like to adapt the guide for it (if possible..)


http://libreboot.org/docs/install/r400_external.html


I have the bios connections made(https://imgur.com/EUEhJfG), but need help figuring out what pins on the BeagleBone would correspond to the teensy.
I need help figuring out where Pins 17, 18, 21, and 22 on side P9 of the BeagleBone would go on the teensy.

My other concern Is reading/flashing with flashrom - does anyone know how to get it done using a teensy? (works with adruino?)
 
beagle bone and teensy are totally different beasts, I would no try that rote.

Despite I think it is possible to connect the SPI flash to teensy it would be difficult to download the new content (on your computer) and write on the flash module through the teensy. BBB has the advantage that runs linux inside it's core, and has the capability to do that already.

I'm not the most expecianced user here... someone else could post and have a better answer to you.

But I would try buying an USB SPI programer chip for your computer, and flash the new content on your ThinkPad R400 rom using your computer.
 
I'm afraid the flashrom utility has massive dependency on a Linux environment. Porting to a microcontroller like Teensy may be possible in theory, but as a practical matter, such an effort would involve restricting and probably rewriting much of the code base.
 
I'm afraid the flashrom utility has massive dependency on a Linux environment. Porting to a microcontroller like Teensy may be possible in theory, but as a practical matter, such an effort would involve restricting and probably rewriting much of the code base.


I had just got it wired :(

The pins used on the arduino uno were apparently called spi pins, So I used this page to find the spi pins on the teensy 2.0 ++.

https://imgur.com/rJPbIOf 2 extra wires will be GND and 3.3v

I was thinking that the linux stuff could be done over usb, I found in the flashrom wiki where they used a teensy 3.1
 
Last edited:
The linux stuff can be done via USB.

what version of teensy do you have? I believe that that firmware only works on Teensy 3.1, you need to build it and follow the isntructions on their git.

It will be much more simple to get a usb flasher / use an arduino uno or other proven method...

The bus pirate is a good option, it already has the usb --> spi interface and it is compatible with the flashrom utility.
 
Last edited:
On this blog http://optechnoblog.wordpress.com has some instruction how to flash Libreboot with Arduino Uno. Maybe you can adopt it to your needs. Another link to flash bios with arduino http://www.flashrom.org/Serprog/Arduino_flasher.


Pretty cool :)

Though thanks to flashroms wide programmer support, was able to find something else to flash with. I ended up using rayer_spi which just uses a parallel port.

http://www.flashrom.org/Supported_programmers

(Anyone wants to try, wires went something like this)
PHndTTs.png
 
Last edited:
Status
Not open for further replies.
Back
Top