I have a PC Engines apu2d4 running NetBSD 8 (amd64), and would like to
update coreboot/etc. on it. I searched the list (perhaps not well) and
didn't find any reports of success, although I realize things are
generally expected to work so success might well go unreported.
I am using flashrom 1.1 as built from pkgsrc.
I was able to read the existing bios without issues as:
flashrom --programmer internal -r 20200301-readflash.rom
Before I try to write, I am wondering if anyone has successfully done an
apu2 bios update with flashrom under NetBSD 8 amd64?
(I have a debricking adaptor (spi1a) and will prepare a Linux flashing
image on USB before trying myself, whether I not a get a report of
success.)
Thanks,
Greg
Hi!
I've tried to update the BIOS on the M11SDV-8C-LN4F mainboard,
running a very recent FreeBSD:
FreeBSD tst.opsec.eu 13.0-CURRENT FreeBSD 13.0-CURRENT #0 r364846: Thu Aug 27 05:10:55 UTC 2020 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
This is the output of the command:
flashrom -w M11SDV0.630 -p internal
flashrom v1.2 on FreeBSD 13.0-CURRENT (amd64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 4, resolution: 1ns).
Found chipset "AMD FP4".
Enabling flash write... FCH device found but SMBus revision 0x59 does not match known values.
Please report this to flashrom(a)flashrom.org and include this log and
the output of lspci -nnvx, thanks!.
Could not determine chipset generation.PROBLEMS, continuing anyway
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.
Attached is the pciconf -lvb output (FreeBSD does not have lspci).
If it helps, I can try to boot some linux on that system.
--
pi(a)FreeBSD.org +49 171 3101372 Now what ?
I had recently had a bios update fail on my X-570 prime pro motherboard.
I'm not the most well versed in linux, and I downloaded it via sudo apt-get
install flashrom. It looks like this installed version 0.9.9. I'm not sure
if this version is the one I should use with the bios chip, which I believe
is a MX25U2564G. I also downloaded the 1.2 zip file, but how to build it
with linux. Do you have any recommended steps I should follow or what I
need to type into the terminal if version 0.9.9 doesn't work?
Hello,
I'm trying to read memory from "Boya Microelectronics" 25D16ASSIG chip. This chip seems to be unsuported so I would like to add support for it. Could you explain me how to find out manufacturer and device ID?
Best,
Tom
Yes, you will need to build a latest flashrom version (i.e. git clone)
from source. Luckily it's pretty easy to build - and, if any
questions, you could always ask us.
On Sun, Aug 23, 2020 at 3:56 PM <ruckzuck(a)tuta.io> wrote:
>
> Hallo,
>
> I use flashrom on a Raspberry PI 4 ( Version 1.0-1)
> Need i building it from the source on a PI 4 ? Bacause is is not version 1.2 and when i need to update
> on 1.2 how on PI 4 ?
> --
> Sicher gesendet mit Tutanota. Hol dir deine eigene verschlüsselte & werbefreie Mailbox:
> https://tutanota.com
>
>
> 18. Aug. 2020, 12:32 von mikebdp2(a)gmail.com:
>
> What flashrom version are you using? Maybe yours is outdated? Try
> building it from the source
>
> On Wed, Aug 12, 2020 at 10:35 AM ruckzuck--- via flashrom
> <flashrom(a)flashrom.org> wrote:
>
>
> Hallo,
>
> If i make Flashrom -L i see in the List only listet :
>
> Spansion S25FL127S-64kB PREW 16384 SPI
> Spansion S25FL127S-256kB 16384 SPI
>
> But not Spansion S25FL127S-128kB for me that lock so that it is not supported
> Need Flashrom a update for the chip ? i think yes.
>
> best reguards
> zuck
>
>
>
>
> --
> Sicher gesendet mit Tutanota. Hol dir deine eigene verschlüsselte & werbefreie Mailbox:
> https://tutanota.com
>
>
> 7. Juli 2020, 18:38 von ruckzuck(a)tuta.io:
>
> allo,
>
> In the End of the Program is written that i send you this:
>
>
> I try to flash the S25FL127S with 16 MB but in the list is it not
>
> then i try with S25FL127S-256kB and this happen:
>
> flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=1000 -w out.bin -c S25FL127S-256kB
> flashrom on Linux 4.19.118+ (armv6l)
> flashrom is free software, get the source code at https://flashrom.org
>
> Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
> Found Spansion flash chip "S25FL127S-256kB" (16384 kB, SPI) on linux_spi.
> ===
> This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
> The test status of this chip may have been updated in the latest development
> version of flashrom. If you are running the latest development version,
> please email a report to flashrom(a)flashrom.org if any of the above operations
> work correctly for you with this flash chip. Please include the flashrom log
> file for all operations you tested (see the man page for details), and mention
> which mainboard or programmer you tested in the subject line.
> Thanks for your help!
> Reading old flash chip contents... done.
> Erasing and writing flash chip... spi_nbyte_program called for too long a write
> Reading current flash chip contents... done. Looking for another erase function.
> spi_nbyte_program called for too long a write
> Reading current flash chip contents... done. Looking for another erase function.
> spi_nbyte_program called for too long a write
> Reading current flash chip contents... done. Looking for another erase function.
> Looking for another erase function.
> Looking for another erase function.
> No usable erase functions left.
> FAILED!
> Uh oh. Erase/write failed. Checking if anything has changed.
> Reading current flash chip contents... done.
> Good, writing to the flash chip apparently didn't do anything.
> Please check the connections (especially those to write protection pins) between
> the programmer and the flash chip. If you think the error is caused by flashrom
> please report this on IRC at chat.freenode.net (channel #flashrom) or
> mail flashrom(a)flashrom.org, thanks!
>
> Need Flashrom a update for the chip ?
>
> best reguards
>
> zuck
>
>
>
> --
> Sicher gesendet mit Tutanota. Hol dir deine eigene verschlüsselte & werbefreie Mailbox:
> https://tutanota.com
>
>
> _______________________________________________
> flashrom mailing list -- flashrom(a)flashrom.org
> To unsubscribe send an email to flashrom-leave(a)flashrom.org
>
>
Hi flashrom team,
i try to read the mx25l3255e
(https://media.digikey.com/pdf/Data%20Sheets/Macronix/MX25L3255E.pdf)
chip. But it don't work. I have tried to patch flashrom but output say:
/sudo ./flashrom -f -p buspirate_spi:dev=/dev/ttyUSB0,spispeed=115 -V -r
test_mx25l3255e.bin -c MX25L3255E//
/
/flashrom unknown on Linux 5.4.0-42-generic (x86_64)//
//flashrom is free software, get the source code at https://flashrom.org/
/flashrom was built with libpci 3.6.4, GCC 9.3.0, little endian//
//Command line (8 args): ./flashrom -f -p
buspirate_spi:dev=/dev/ttyUSB0,spispeed=115 -V -r test_mx25l3255e.bin -c
MX25L3255E//
//Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).//
//Initializing buspirate_spi programmer//
//Invalid SPI speed, using default.//
//Detected Bus Pirate hardware 3.5//
//Detected Bus Pirate firmware 7.0//
//Using SPI command set v2.//
//SPI speed is 8MHz//
//Bus Pirate v3 or newer detected. Set serial speed to 2M baud.//
//Serial speed is 2000000 baud//
//Raw bitbang mode version 1//
//Raw SPI mode version 1//
//The following protocols are supported: SPI.//
//Probing for Macronix MX25L3255E, 4096 kB: probe_spi_rdid_generic: id1
0xc2, id2 0x9e16//
//Found Macronix flash chip "MX25L3255E" (4096 kB, SPI) on buspirate_spi.//
//Chip security register: 0x80//
// WPSEL is ON//
//Chip status register is 0x7c.//
//Chip status register: Status Register Write Disable (SRWD, SRP, ...)
is not set//
//Chip status register: Bit 6 is set//
//Chip status register: Block Protect 3 (BP3) is set//
//Chip status register: Block Protect 2 (BP2) is set//
//Chip status register: Block Protect 1 (BP1) is set//
//Chip status register: Block Protect 0 (BP0) is set//
//Chip status register: Write Enable Latch (WEL) is not set//
//Chip status register: Write In Progress (WIP/BUSY) is not set//
//This chip may contain one-time programmable memory. flashrom cannot read//
//and may never be able to write it, hence it may not be able to
completely//
//clone the contents of this chip (see man page for details).//
//===//
//This flash part has status UNTESTED for operations: PROBE READ ERASE
WRITE//
//The test status of this chip may have been updated in the latest
development//
//version of flashrom. If you are running the latest development version,//
//please email a report to flashrom(a)flashrom.org if any of the above
operations//
//work correctly for you with this flash chip. Please include the
flashrom log//
//file for all operations you tested (see the man page for details), and
mention//
//which mainboard or programmer you tested in the subject line.//
//Thanks for your help!//
//Some block protection in effect, disabling... Block protection could
not be disabled!//
//Chip security register: 0x80//
// WPSEL is ON//
//Chip status register is 0x7c.//
//Chip status register: Status Register Write Disable (SRWD, SRP, ...)
is not set//
//Chip status register: Bit 6 is set//
//Chip status register: Block Protect 3 (BP3) is set//
//Chip status register: Block Protect 2 (BP2) is set//
//Chip status register: Block Protect 1 (BP1) is set//
//Chip status register: Block Protect 0 (BP0) is set//
//Chip status register: Write Enable Latch (WEL) is not set//
//Chip status register: Write In Progress (WIP/BUSY) is not set//
//Reading flash.../
But then nothing happens. Can you help? That would be great!
Best regards
Daniel
allo,
In the End of the Program is written that i send you this:
I try to flash the S25FL127S with 16 MB but in the list is it not
then i try with S25FL127S-256kB and this happen:
flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=1000 -w out.bin -c S25FL127S-256kB
flashrom on Linux 4.19.118+ (armv6l)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Spansion flash chip "S25FL127S-256kB" (16384 kB, SPI) on linux_spi.
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom(a)flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Reading old flash chip contents... done.
Erasing and writing flash chip... spi_nbyte_program called for too long a write
Reading current flash chip contents... done. Looking for another erase function.
spi_nbyte_program called for too long a write
Reading current flash chip contents... done. Looking for another erase function.
spi_nbyte_program called for too long a write
Reading current flash chip contents... done. Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
No usable erase functions left.
FAILED!
Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Good, writing to the flash chip apparently didn't do anything.
Please check the connections (especially those to write protection pins) between
the programmer and the flash chip. If you think the error is caused by flashrom
please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom(a)flashrom.org, thanks!
Need Flashrom a update for the chip ?
best reguards
zuck
--
Sicher gesendet mit Tutanota. Hol dir deine eigene verschlüsselte & werbefreie Mailbox:
https://tutanota.com
When i try to flash bios using arduino uno,i get this "Found Generic flash
chip "unknown SPI chip (RDID)" (0 kb,SPI) on serprog. I use windbond w25Q32
chip. How i fix this?