How to install Bus pirate 3.6


Rendering Error in layout Widget/Social: Call to a member function exists() on null. Please enable debug mode for more information.
More
8 years 7 months ago #1372 by bestfood
Hi all,
I'm ordered buspirate 3.6 and it just arrived yesterday.
Therefore, my question is which OS is the best and stable for buspirate. Also, how to install it as no article straight to this point. I have seen thaGH05T said window is fine but Linux is more better. How about OSX?

However, please provide me instructions how to install bus pirate in proper way.

Thanks in advance

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #1375 by thaGH05T
It's easier in my opinion to install flashrom on Linux and recognize the bus pirate in the /dev folder to use with the -p switch in flashrom.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #1376 by bestfood
im follow this topic
www.ghostlyhaks.com/blog/blog/hacking/18-apple-efi-bypass (How To Bypass Apple EFI Firmware Lock)

but got error on this command
root@kali:~/flashrom# sudo flashrom –r ~/efi/read1.bin -V -p linux_spi:dev=/dev/spidev0.0
flashrom v0.9.8-r1896 on Linux 4.0.0-kali1-amd64 (x86_64)
flashrom is free software, get the source code at www.flashrom.org

Error: Extra parameter found.
Please run "flashrom --help" for usage info.

thanks

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago - 8 years 7 months ago #1377 by token.paul
Hmm... you are typing sudo while you are root user already?
After you connect Bus Pirate into USB a serial port should be created in /dev. Check /dev for new tty-devices... Well, let it be '/dev/ttyACM0' for example.
Now you need to say to 'flashrom' what kind of SPI programmer you are using, like this: '-p buspirate_spi:dev=/dev/ttyACM0'
And, finally your command will 'flashrom -p buspirate_spi:dev=/dev/ttyACM0 -r <some_file_name>' But for tests you may just use: 'flashrom -p buspirate_spi:dev=/dev/ttyACM0' i.e. without operation specified. flashrom will look for programmer and will try to find a chip.
Last edit: 8 years 7 months ago by token.paul. Reason: spelling

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #1378 by token.paul
Use 'flashrom -h' output, and 'man flashrom' This tool very good documented.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #1379 by thaGH05T
The problem is you are simply copying and pasting commands. You need to be sure what each command does before you type enter. Also you need to learn the operators of the command such as the -p switch in flashrom. It is used to designate the programmer and the path to it. because all devices are listed as a path in UNIX systems.

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #1380 by bestfood
All right, please let me know if i get wrong

i tried this
root@kali:~# lsusb | tail
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 005: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
Bus 002 Device 004: ID 0e0f:0008 VMware, Inc.
Bus 002 Device 003: ID 0e0f:0002 VMware, Inc. Virtual USB Hub
Bus 002 Device 002: ID 0e0f:0003 VMware, Inc. Virtual Mouse
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

root@kali:~# dmesg | tail
[ 75.636595] usb 2-2.2: Manufacturer: FTDI
[ 75.636597] usb 2-2.2: SerialNumber: AJ02XIHJ
[ 76.753705] usbcore: registered new interface driver usbserial
[ 76.753718] usbcore: registered new interface driver usbserial_generic
[ 76.753728] usbserial: USB Serial support registered for generic
[ 76.756075] usbcore: registered new interface driver ftdi_sio
[ 76.756087] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 76.756123] ftdi_sio 2-2.2:1.0: FTDI USB Serial Device converter detected
[ 76.756153] usb 2-2.2: Detected FT232RL
[ 76.758275] usb 2-2.2: FTDI USB Serial Device converter now attached to ttyUSB0

assuming that my buspirate is ttyUSB0

Therefore,

flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -r <givenfilename> //for read
flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -E //for erase
flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -w <newdumpfile> //for write
flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -v <newfilename> //for verify chip content vs file

Am i missing something? Im just want to make sure that nothing wrong with it. I have seen many people have a troubles due to mistaken or lack of knowledge in flashrom and SPI program including me aswell.

Thanks thaGH0ST and token.paul

Please Log in or Create an account to join the conversation.

More
8 years 7 months ago #1381 by thaGH05T
Actually this looks good. But for some reason I do not remember it recognizing only the FTDI chip? You may try using one of the FTDI programmer options that flashrom supports.

Please Log in or Create an account to join the conversation.

Who's Online

We have 371 guests and no members online

N00BZ

  • ljamal
  • ljamal74
  • mikeg2atest
  • ducchinhbui
  • anjarezt

Cookies