Commit Graph

  • 95b294db05 util/nvmutil: inline pos calculation on word() Leah Rowe 2026-03-06 13:47:16 +00:00
  • d89d14e911 util/nvmutil: remove pointless check Leah Rowe 2026-03-06 13:36:42 +00:00
  • f96a119523 util/nvmutil: cast inside check_bound, not callers Leah Rowe 2026-03-06 13:33:24 +00:00
  • a31236b1f8 util/nvmutil: comment regarding endianness Leah Rowe 2026-03-06 13:30:14 +00:00
  • c7409cce03 util/nvmutil: clean up set_word Leah Rowe 2026-03-06 13:28:51 +00:00
  • feee6a728f util/nvmutil: use size_t for offsets in words Leah Rowe 2026-03-06 13:19:21 +00:00
  • 32429f2c37 util/nvmutil: remove the swap() function Leah Rowe 2026-03-06 13:02:24 +00:00
  • b3516e8c16 update nvmutil COPYING file (2026 copyright year) Leah Rowe 2026-03-04 11:24:55 +00:00
  • 2f2295fc37 util/nvmutil: rhex: don't read twice! Leah Rowe 2026-03-04 10:45:00 +00:00
  • aceafd684a util/nvmutil: unified file read error handling Leah Rowe 2026-03-04 02:32:50 +00:00
  • 947211fc3c util/nvmutil: tidy up cmd_brick Leah Rowe 2026-03-04 02:06:33 +00:00
  • 2f782b8a01 util/nvmutil: minor code cleanup Leah Rowe 2026-03-04 01:59:21 +00:00
  • f727675f6d util/nvmutil: provide comment about global state Leah Rowe 2026-03-04 01:48:41 +00:00
  • d6601059fb util/nvmutil: reset errno on *successful* read Leah Rowe 2026-03-04 01:43:39 +00:00
  • 84b4ba48b4 util/nvmutil: don't reset errno in check_read_or_die Leah Rowe 2026-03-04 01:39:34 +00:00
  • 94415ca73d util/nvmutil: minor code cleanup Leah Rowe 2026-03-04 01:39:11 +00:00
  • 75ea8ab175 util/nvmutil: comment regarding memcpy endianness Leah Rowe 2026-03-04 01:32:34 +00:00
  • ca98d418d5 util/nvmutil: don't usleep on file reads Leah Rowe 2026-03-04 01:29:04 +00:00
  • e28409d80b util/nvmutil: handle error after check_read_or_die Leah Rowe 2026-03-04 01:27:13 +00:00
  • 7d6f1a6b30 util/nvmutil: handle errno after file read Leah Rowe 2026-03-04 01:23:19 +00:00
  • 12778a0ffd util/nvmutil: simplified zero-mac-address check Leah Rowe 2026-03-04 01:11:35 +00:00
  • 84376fa308 util/nvmutil: don't pass h as param in cmd_setmac Leah Rowe 2026-03-04 01:09:56 +00:00
  • 0d4822e700 util/nvmutil: cast SIZE_4KB on the pwrite check Leah Rowe 2026-03-04 01:02:27 +00:00
  • 0d3a8749fe util/nvmutil: usleep 1 on check_read_or_die Leah Rowe 2026-03-04 00:57:48 +00:00
  • 3d27c77a63 util/nvmutil: reset errno on successful file reads Leah Rowe 2026-03-04 00:52:40 +00:00
  • 6e08614e69 util/nvmutil: reset fd/rfd to negative one Leah Rowe 2026-03-04 00:51:24 +00:00
  • 8143f95b41 util/nvmutil: reset buf in reset_global_state() Leah Rowe 2026-03-04 00:47:45 +00:00
  • 3e7148a9b7 util/nvmutil: reset macbuf in reset_global_state Leah Rowe 2026-03-04 00:46:42 +00:00
  • 53a680c063 util/nvmutil: reset errno in reset_global_state Leah Rowe 2026-03-04 00:44:47 +00:00
  • 46a0fe6b8a util/nvmutil: Comments relating to NVM size limit Leah Rowe 2026-03-04 00:41:08 +00:00
  • 4b42419122 util/nvmutil: remove err_if() Leah Rowe 2026-03-04 00:30:28 +00:00
  • 6efd0429e2 util/nvmutil: improved some error messages Leah Rowe 2026-03-04 00:07:14 +00:00
  • 6035a1bb6a util/nvmutil: rename valid_read Leah Rowe 2026-03-04 00:01:28 +00:00
  • be28140741 util/nvmutil: remove redundant casts Leah Rowe 2026-03-03 23:55:46 +00:00
  • 3b8de31f37 util/nvmutil: more thorough global_state_reset Leah Rowe 2026-03-03 23:46:01 +00:00
  • 704a7beeb4 util/nvmutil: reset fname properly Leah Rowe 2026-03-03 23:42:15 +00:00
  • 489f632cab util/nvmutil: simpler mac address totalling Leah Rowe 2026-03-03 23:40:28 +00:00
  • 76d6900d69 util/nvmutil: less obscure mac address zero check Leah Rowe 2026-03-03 23:37:59 +00:00
  • 8c5c4e1b93 util/nvmutil: reset global state in one function Leah Rowe 2026-03-03 23:27:59 +00:00
  • 213626d898 util/nvmutil: reset cmd in main Leah Rowe 2026-03-03 23:24:46 +00:00
  • 306f9087d9 util/nvmutil: reset fname in main Leah Rowe 2026-03-03 23:23:54 +00:00
  • d0141ca2e4 util/nvmutil: reset part_modified in main Leah Rowe 2026-03-03 23:23:28 +00:00
  • 1e407a2a65 util/nvmutil: reset invert in main Leah Rowe 2026-03-03 23:22:14 +00:00
  • dd109ccf07 util/nvmutil: reset mac in main Leah Rowe 2026-03-03 23:19:33 +00:00
  • 790009f58e util/nvmutil: reset macbuf in parse_mac_string Leah Rowe 2026-03-03 23:17:02 +00:00
  • 7b15b020b5 util/nvmutil: use off_t for partsize (pread/pwrite) Leah Rowe 2026-03-03 23:12:15 +00:00
  • ae080c35e4 util/nvmutil: clearer error messages on valid_read Leah Rowe 2026-03-03 23:09:54 +00:00
  • 75bcc46de4 util/nvmutil: comment valid_read for clarity Leah Rowe 2026-03-03 22:59:38 +00:00
  • 7a62ad3f62 util/nvmutil: clearer errno reset in valid_read Leah Rowe 2026-03-03 22:57:45 +00:00
  • 3268c225d6 util/nvmutil: pass size_t to read, not ssize_t Leah Rowe 2026-03-03 22:55:00 +00:00
  • 3077f51c67 util/nvmutil: use zd for printf in valid_read Leah Rowe 2026-03-03 22:51:50 +00:00
  • cc51ac32d0 util/nvmutil: minor cleanup in usage() Leah Rowe 2026-03-03 22:31:49 +00:00
  • ae6db44543 util/nvmutil: minor cleanup in cmd_setmac Leah Rowe 2026-03-03 22:29:21 +00:00
  • 8f81ed314a util/nvmutil: don't use err_if in usage Leah Rowe 2026-03-03 22:27:51 +00:00
  • f93a40ecb6 util/nvmutil: rename errval to nvm_errval Leah Rowe 2026-03-03 21:50:10 +00:00
  • 21b8de87ff util/nvmutil: re-try reads if errno is EINTR Leah Rowe 2026-03-03 21:43:32 +00:00
  • 493e3cf069 util/nvmutil: explicitly cast on read/pread/pwrite Leah Rowe 2026-03-03 20:38:36 +00:00
  • af5d876bf0 util/nvmutil: remove unnecessary check Leah Rowe 2026-03-03 20:30:52 +00:00
  • 418015c232 util/nvmutil: stricter check_bound Leah Rowe 2026-03-03 20:24:26 +00:00
  • 80a5b08090 util/nvmutil: set errno only if x is not 0 Leah Rowe 2026-03-03 20:13:31 +00:00
  • 3f7d89c401 util/nvmutil: consistent errors on close() Leah Rowe 2026-03-03 19:59:35 +00:00
  • fd515e4c28 util/nvmutil: print correct file name for urandom Leah Rowe 2026-03-03 19:53:09 +00:00
  • f4e477b549 util/nvmutil: don't bother with strncmp Leah Rowe 2026-03-03 19:51:25 +00:00
  • 687e64a359 util/nvmutil: get rid of arg_cmd Leah Rowe 2026-03-03 19:47:48 +00:00
  • 776eee721d util/nvmutil: use memcpy in word/set_word Leah Rowe 2026-03-03 19:41:21 +00:00
  • d88991f6bc util/nvmutil: use strncmp instead of strcmp Leah Rowe 2026-03-03 19:18:47 +00:00
  • bf081914a3 util/nvmutil: remove checkdir() Leah Rowe 2026-03-03 19:10:12 +00:00
  • 4325214d82 util/nvmutil: make rhex err_if consistent Leah Rowe 2026-03-03 19:03:58 +00:00
  • 668dec36e9 util/nvmutil rhex: check against sizeof(rnum) Leah Rowe 2026-03-03 19:00:14 +00:00
  • 4775bb2348 util/nvmutil err: filter errval when zero Leah Rowe 2026-03-03 18:54:58 +00:00
  • 634f4a685d util/nvmutil: always exit non-zero on err Leah Rowe 2026-03-03 18:47:14 +00:00
  • 3af94efc16 util/nvmutil: more consistent output in usage() Leah Rowe 2026-03-03 18:03:27 +00:00
  • 2faea7d890 util/nvmutil: use getnvmprogname in usage Leah Rowe 2026-03-03 18:00:19 +00:00
  • 9b18d11878 util/nvmutil: use own implementation of err Leah Rowe 2026-03-03 17:57:27 +00:00
  • 0a08045f92 util/nvmutil: close rfd on exit Leah Rowe 2026-03-03 17:30:55 +00:00
  • 7c0eb780a9 util/nvmutil: remove unnecessary include Leah Rowe 2026-03-03 17:13:03 +00:00
  • 8faa36eb64 util/nvmutil: tidy up write_gbe Leah Rowe 2026-03-03 17:09:33 +00:00
  • 86665c9d22 util/nvmutil: make the part check easier to read Leah Rowe 2026-03-03 16:51:29 +00:00
  • 531f0c9d38 util/nvmutil: fix style inconsistency Leah Rowe 2026-03-03 16:45:54 +00:00
  • b03a532c7d util/nvmutil: use braces on nested ifs Leah Rowe 2026-03-03 16:43:48 +00:00
  • 5bae73c319 util/nvmutil: remove unnecessary global assignment Leah Rowe 2026-03-03 16:39:19 +00:00
  • faf28691b8 util/nvmutil: make swap() easier to understand Leah Rowe 2026-03-03 16:37:10 +00:00
  • 624589fcb1 util/nvmutil: declare arg_cmd earlier Leah Rowe 2026-03-03 16:29:40 +00:00
  • 3983dc44f4 util/nvmutil: don't make op a typedef Leah Rowe 2026-03-03 16:25:54 +00:00
  • 49c2940421 util/nvmutil: fix arg_cmd initialisation Leah Rowe 2026-03-03 16:20:51 +00:00
  • 61fa94d0d2 util/nvmutil: remove COMMAND, MAC_ADDRESS, PARTN Leah Rowe 2026-03-03 16:15:33 +00:00
  • b3119c8b4d util/nvmutil: rename op_t to op Leah Rowe 2026-03-03 16:06:02 +00:00
  • f03570b674 util/nvmutil: make op a const Leah Rowe 2026-03-03 16:04:43 +00:00
  • d267cd36cc util/nvmutil: remove redundant comment Leah Rowe 2026-03-03 16:03:23 +00:00
  • 7fefeba076 util/nvmutil: use const char in usage Leah Rowe 2026-03-03 15:58:46 +00:00
  • f1ee2ff630 util/nvmutil: tidy up set_cmd Leah Rowe 2026-03-03 15:56:06 +00:00
  • 6d8cf8909f util/nvmutil: split up set_cmd Leah Rowe 2026-03-03 15:50:20 +00:00
  • 9f12aa3b91 util/nvmutil: tidy up final cmd check in set_cmd Leah Rowe 2026-03-03 15:47:01 +00:00
  • 572b7758cf util/nvmutil: tidy up rhex Leah Rowe 2026-03-03 15:43:11 +00:00
  • 403fd260b5 util/nvmutil: reduce the size of rnum to 12 Leah Rowe 2026-03-03 15:41:21 +00:00
  • d9d628e146 util/nvmutil: tidy up check_mac_separator Leah Rowe 2026-03-03 15:40:33 +00:00
  • 036ac6dc39 util/nvmutil: rename openFiles to open_files Leah Rowe 2026-03-03 15:31:31 +00:00
  • 48638e9a22 util/nvm: make variables and functions static Leah Rowe 2026-03-03 15:20:20 +00:00
  • dbfd77b388 util/nvmutil: don't use spaces on err_if Leah Rowe 2026-03-03 15:08:57 +00:00
  • bfb77077b3 util/nvmutil: use const for string literal in op Leah Rowe 2026-03-03 15:06:39 +00:00