[flashrom] Re: flashrom Program compile problems

2019-02-18 Thread Mike Banon
Hi Sven,

On Sun, Feb 17, 2019 at 11:37 AM Sven AOL  wrote:
>
> After replacing the new memory IC, the memory contents are missing. The 
> flashfile is not the "software update file" from the manufacturer of the 
> device. Or is a software update always the whole file written on the IC?
>

Maybe this software update updates only a small part of your device
memory contents - I don't know.

>
> In my repair I downloaded the offered file of the homepage
>

Seems to be a correct approach - maybe someone just made a dump of
complete memory contents and shared it. Have you flashed it already
and is it working?

>
> Do you have a good buy recommendation for a good flash programmer that works 
> well with your software?
>

CH341A USB programmer - it works fine and also very cheap - about $2
or $3 with free shipping from China (e.g. AliExpress) or maybe
slightly more expensive to get it locally. Make sure to get a "green
PCB" version of it and also check that it outputs 3.3V instead of 5V
before using it: there was a small number of (mostly black PCB) CH341A
which gave 5V instead of 3.3V - although it's possible to fix them.

Best regards,
Mike Banon
___
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org


[flashrom] Re: flashrom Program compile problems

2019-02-13 Thread Nico Huber
Hello Sven,

On 09.02.19 15:39, Sven Frey via flashrom wrote:
>  I have a Windows 10 32 bit PC. I need your program flashrom.
> Unfortunately I can not compile the program. Can you send me the
> program compiled? I would be very grateful. Many thanks for the help. 

what flash programmer do you intend to use? I can't provide any Windows
binaries. It shouldn't be hard to compile, though, but the programmer
support is limited on Windows. Mostly by the libraries you can find.

I guess, you can get support for many serial UART and USB connected
programmers with MinGW[1] and libusb[2]. If you succeed, it would be
nice if you'd drop some lines how it's done, as we have no Windows
instructions in our README, currently.

Alternatively, you could cross-compile flashrom for Windows on Linux.
Instructions are in the README, I never tried it, though.

Last but not least, if libusb (or what you need for your programmer)
works in the "Windows Subsystem for Linux", you could also try flashrom
in there.

Hope that helps,
Nico

[1] http://mingw.org/
[2] https://libusb.info/
___
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org


[flashrom] Re: flashrom Program compile problems

2019-02-13 Thread Mike Banon
Hi Sven, I think it would be much more efficient for you to just use
some user friendly Linux LiveCD/LiveUSB (it unpacks to your RAM
without touching a hard drive), then you temporary install a linux
version of flashrom and use it for flashing + could mount a Windows
partition to copy the binaries. flashrom wiki contains the
step-by-step instructions on how to build it under Linux, or your
could simply install a package from your Linux distro (something like
"sudo apt-get install flashrom" at Ubuntu/Linux Mint) but please note
that this package would be outdated so if you need a chip which only
recently became supported by flashrom, you'd need to git clone the
repository and build from source - luckily it's very simple also and
well documented.

Best regards,
Mike Banon

On Mon, Feb 11, 2019 at 6:16 PM Sven Frey via flashrom
 wrote:
>
> Hello Flashrom Support Team,
>
>
>
> I have a Windows 10 32 bit PC. I need your program flashrom. Unfortunately I 
> can not compile the program. Can you send me the program compiled? I would be 
> very grateful. Many thanks for the help.
>
>
>
> Best regards,
>
> Sven
>
> ___
> flashrom mailing list -- flashrom@flashrom.org
> To unsubscribe send an email to flashrom-le...@flashrom.org
___
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org