Why is DOS a must-have in your use case?
Yes, I did cross-compile for DOS, however that was a while ago. I
don't support DOS (anymore).
- idwer
2016-12-04 21:59 GMT+01:00 Lu Xie <firexl(a)hotmail.com>:
> Hi,
>
> I have been quite happy with the 0.9.6.1 release for DOS and I decided to
> get a newer version. I tried several compiled executables from the buildbot
> repository but they are all unstable. I did a search in the wayback machine
> and found that 0.9.8 was the …
[View More]last stable release that had a DOS executable
> stored outside the buildbot repository, but the link
> (http://ra.openbios.org/~idwer/flashrom/dos/) seems to be dead. I googled
> for hours but couldn't find a copy of a 0.9.8 DOS executable. Could you
> please send me a copy of it from your archive or repository? Thanks.
>
> Lu
>
> _______________________________________________
> flashrom mailing list
> flashrom(a)flashrom.org
> https://www.flashrom.org/mailman/listinfo/flashrom
[View Less]
Hi,
I have been quite happy with the 0.9.6.1 release for DOS and I decided to get a newer version. I tried several compiled executables from the buildbot repository but they are all unstable. I did a search in the wayback machine and found that 0.9.8 was the last stable release that had a DOS executable stored outside the buildbot repository, but the link (http://ra.openbios.org/~idwer/flashrom/dos/) seems to be dead. I googled for hours but couldn't find a copy of a 0.9.8 DOS executable. …
[View More]Could you please send me a copy of it from your archive or repository? Thanks.
Lu
[View Less]
On Fri, 2 Dec 2016 18:41:26 +0300
Michael Zhilin <mizhka(a)gmail.com> wrote:
> Hi,
>
> This is attached patch to avoid hang of serprog under FreeBSD. Patch is
> against trunk (r1955, 10 context lines).
>
> My use case is flashrom+serprog to read SPI flash (MX25L6406) via Arduino
> Nano V3. Actual command is:
> /usr/local/bin/flashrom -p serprog:dev=/dev/cuaU0:57600 -c
> MX25L6406E/MX25L6408E -r tcw770.dump
>
> Using flashrom 0.9.9 it hangs after 5 …
[View More]seconds on read from tty ("ttyin").
> The problem is that kernel method "ttydisc_rint" ignore same bytes. It
> happens due to enabled IEXTEN local flag of termios. TTY cuts few bytes,
> Arduino reads 11264 bytes, but flashrom gets 11244 bytes (corrupted) and
> waits for remaining 20 bytes.
>
> The fix is simple: turn off IEXTEN local flag.
>
> Tested on Arduino Nano V3 + FreeBSD 12-CURRENT. But I didn't check
> compilation on other BSD / Linux distros. Could you please test it and let
> me know results?
>
> Signed-off-by: Michael Zhilin <mizhka(a)gmail.com>
> I've added signed-off-by here, because I don't know how to add it into svn
> patch.
> It's my first patch, so please let me know if i miss anything.
Thank you Michael! I have verified that it builds fine:
http://buildbot.flashrom.org/buildresults/flashrom-000559-9j8/results.html
I will merge it as soon as we finished migrating to git (and
gerrit+jenkins).
--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
[View Less]
Hi Lorentz
> Now what I am wondering if I can do In-System Programming by powering up the mainboard and only use the data pins of the spi header. Problem is I don't know if this is possible, because CS# and DO are also on high level! And what do I do with the clk signal? Is it povided by the mainboard and messes up with the signal of the programmer? Or is it possible that the chip is electrically damaged, although I can read out its ID? Soldering it out is what I want to do last!
Check …
[View More]whether CS#, DO are connected by pull-ups with an ohmmeter when the system is shut down. I think I saw a board where CS# was wired that way. That way you can actively drive down CS# and be fine. However, I'd at least check whether there's bus activity before doing anything...
cheers, Arian
[View Less]
Hi,
This is attached patch to avoid hang of serprog under FreeBSD. Patch is
against trunk (r1955, 10 context lines).
My use case is flashrom+serprog to read SPI flash (MX25L6406) via Arduino
Nano V3. Actual command is:
/usr/local/bin/flashrom -p serprog:dev=/dev/cuaU0:57600 -c
MX25L6406E/MX25L6408E -r tcw770.dump
Using flashrom 0.9.9 it hangs after 5 seconds on read from tty ("ttyin").
The problem is that kernel method "ttydisc_rint" ignore same bytes. It
happens due to enabled IEXTEN local …
[View More]flag of termios. TTY cuts few bytes,
Arduino reads 11264 bytes, but flashrom gets 11244 bytes (corrupted) and
waits for remaining 20 bytes.
The fix is simple: turn off IEXTEN local flag.
Tested on Arduino Nano V3 + FreeBSD 12-CURRENT. But I didn't check
compilation on other BSD / Linux distros. Could you please test it and let
me know results?
Signed-off-by: Michael Zhilin <mizhka(a)gmail.com>
I've added signed-off-by here, because I don't know how to add it into svn
patch.
It's my first patch, so please let me know if i miss anything.
Thanks,
Michael!
[View Less]