Commit graph

32 commits

Author SHA1 Message Date
Sebastian Kuzminsky
84b8b3f35d Mesaflash 3.4.0~pre1 2020-05-22 10:33:16 -06:00
Jeff Epler
66d5effcc8 various: fix -Wformat diagnostics
Mostly, this involves using the "z" length modifier where a sizeof() is involved
2020-05-15 08:40:59 -05:00
Damian Wrobel
6bb35e443b Allow to pass VERSION string from the build system
Usage:
  $ CFLAGS='-DVERSION=\"version-string\"' make

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
2020-04-29 20:13:20 +02:00
Sebastian Kuzminsky
3c57d9dd77 update copyright notice 2020-04-28 15:14:20 -06:00
Sebastian Kuzminsky
bfb0c3065c Release 3.4.0~pre0 2020-04-28 10:33:09 -06:00
Sebastian Kuzminsky
33d375821a safer string handling in command-line parsing
Make sure the requested filename fits in the `bitfile_name` buffer before
copying it.
2020-04-25 16:27:26 -06:00
Peter Wallace
8b2f060daa add new SPI boards and SPI reload ability to --help 2020-04-23 15:02:13 -06:00
Sebastian Kuzminsky
68b23a771b merge changes from JT's mesaflash version 2020-04-23 15:01:06 -06:00
Sebastian Kuzminsky
5f53bda39b mesaflash: note SPI boards are supported now 2020-04-23 12:41:23 -06:00
Sebastian Kuzminsky
da53731277 mesaflash: remove leading newline in --help message 2020-04-23 12:41:18 -06:00
Sebastian Kuzminsky
38f01ad2bb capitalize Ethernet consistently in --help message 2018-02-18 16:24:04 -07:00
Sebastian Kuzminsky
d004da0476 fix addr argument for ethernet boards in --help message 2018-02-18 16:23:41 -07:00
Sebastian Kuzminsky
a533f15ea3 consistent capitalization and punctuation in --help output 2018-02-18 16:22:20 -07:00
Sebastian Kuzminsky
dae69da99b fix formatting of --help output
Whitespace changes only, no content changes.
2018-02-18 16:19:09 -07:00
Jeff Epler
cab439923a Remove declarations of unused variables
All these produced a diagnostic when -Wunused-variables was specified.
2016-07-02 08:47:37 -05:00
Jeff Epler
e057e9aa3e Improve user message after writing if board doesn't support --reload 2016-07-02 08:24:03 -05:00
Jeff Epler
71b69e51c0 Verify firmware after writing
This can be skipped with the new commandline flag --no-auto-verify.
2016-07-02 08:23:41 -05:00
Jeff Epler
ac70cc2c29 Introduce, use new commandline flag --fix-boot-block
Don't automatically try to rewrite the boot block.  Instead, require the
--fix-boot-block flag to be given in order to do so.

Closes #13
2016-07-02 08:13:10 -05:00
Jeff Epler
bd82bc54ba If write failed, don't reload or prompt user to do so 2016-07-02 08:08:37 -05:00
Shure
d794ff1018 Fixed spelling in error messages 2015-12-20 19:14:14 +01:00
Michael Geszkiewicz
b944223ed0 bump version after release
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2015-09-27 19:28:47 +02:00
Michael Geszkiewicz
9d1ac15043 Release version 3.2
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2015-09-27 19:27:00 +02:00
Michael Geszkiewicz
c2f1bae0c5 Merge branch 'v3.1'
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2015-09-27 18:23:22 +02:00
Michael Geszkiewicz
8ff61c78f3 update version number
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2015-01-16 18:39:56 +01:00
Michael Geszkiewicz
efdcd7f0a3 Always show full info about bit file while using 'info' command
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2015-01-04 19:58:51 +01:00
Michael Geszkiewicz
666c98ce07 mesaflash: add xml output from 'readhmid' command to use with pncconf
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2015-01-04 18:38:04 +01:00
Michael Geszkiewicz
75948fc58e Release version 3.1.0
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-11-24 01:57:36 +01:00
Michael Geszkiewicz
baba8162eb mesaflash: after writing firmware note about power cycle to reload firmware and about --reload command line option
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-17 16:40:50 +02:00
Michael Geszkiewicz
7f2f378e1d libanyio: don't SEGV when trying to access pci or epp boards without sudo
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-12 13:00:50 +02:00
Michael Geszkiewicz
560680d366 libanyio: print bit file details only in verbose mode
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-11 23:01:15 +02:00
Michael Geszkiewicz
8b3b9e80f3 mesaflash: warn user if he won't specify --device or --info along with other commands
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-11 21:58:30 +02:00
Michael Geszkiewicz
2cc0c15f29 change mesaflash main source file name to more reflecting it's content
Signed-off-by: Michael Geszkiewicz <micges@wp.pl>
2014-09-11 21:29:25 +02:00
Renamed from main.c (Browse further)