Gitiles
Code Review
Sign In
git01.mediatek.com
/
filogic
/
uboot
/
b03dfd1c338fe0a3afb4c2ed5214c1c1a093d86c
/
tools
/
env
/
fw_env.c
ade0dc3
fw_env: autodetect NAND erase size and env sectors
by Anthony Loiseau
· Thu Dec 21 23:44:38 2023 +0100
b509c7d
fw_env: keep calling read() until whole flash block is read
by Rafał Miłecki
· Wed Dec 13 13:13:54 2023 +0100
260de10
fw_env: rename variables holding env data content
by Rafał Miłecki
· Wed Dec 13 10:23:44 2023 +0100
a2c5291
fw_env: fix reading NVMEM device's "compatible" value
by Rafał Miłecki
· Tue Dec 12 18:33:27 2023 +0100
18ca449
tools: env: fw_env: Fix unused-result warning
by Jaehoon Chung
· Thu Oct 13 17:41:21 2022 +0900
64f2dda
tools: env: Fix missing closedir in ubi_get_volnum_by_name
by Miaoqian Lin
· Mon Sep 19 08:28:09 2022 +0400
326d590
fw_env: add fallback to Linux's NVMEM based access
by Rafał Miłecki
· Thu Jun 16 20:59:03 2022 +0200
02acbf1
fw_env: simplify logic & code paths in the fw_env_open()
by Rafał Miłecki
· Wed Jan 12 12:47:06 2022 +0100
840ec19
fw_env: make flash_io() take buffer as an argument
by Rafał Miłecki
· Wed Jan 12 12:47:05 2022 +0100
85206c0
fw_setenv: Unbreak fw_setenv caused by buggy MEMISLOCKED use
by Joakim Tjernlund
· Wed Dec 08 15:33:11 2021 +0100
8586cda
tools: env: Handle shorter read calls
by Thibault Ferrante
· Tue Aug 24 17:29:50 2021 +0200
710e9c1
tools: env: return error if ubi_update_start() fails
by Martin Hundebøll
· Mon Nov 30 12:11:32 2020 +0100
f820563
tools: env: Avoid an uninited warning with was_locked
by Simon Glass
· Sat Aug 01 10:30:39 2020 -0600
e0de0f2
tools: env: Fix printf() warning in fw_env
by Simon Glass
· Sat Aug 01 10:30:38 2020 -0600
20c21bf
fw_setenv: lock the flash only if it was locked before
by Ivan Mikhaylov
· Fri Jul 10 19:54:18 2020 +0300
79685b2
tools: fw_env: Fix warning when reading too little
by Harald Seiler
· Thu May 28 17:54:45 2020 +0200
faf2998
tools: fw_env: use erasesize from MEMGETINFO ioctl
by Rasmus Villemoes
· Tue Mar 24 13:57:40 2020 +0100
06a7964
fw_setenv: avoid writing environment when nothing has changed
by Rasmus Villemoes
· Thu Sep 27 22:45:26 2018 +0200
48b6c6b
crc32: Use the crc.h header for crc functions
by Simon Glass
· Thu Nov 14 12:57:16 2019 -0700
d7f9545
fw_env: fix build error
by Pierre-Jean Texier
· Mon Aug 26 13:06:16 2019 +0200
ee143c6
fw_env: remove duplicated definitions
by Pierre-Jean Texier
· Mon Aug 26 13:06:15 2019 +0200
4686d8f
env: Rename the redundancy flags
by Simon Glass
· Thu Aug 01 09:47:08 2019 -0600
5e6201b
env: Move env_set() to env.h
by Simon Glass
· Thu Aug 01 09:46:51 2019 -0600
ad4f3d0
fw_env: Add missing write failure check
by Alex Kiernan
· Wed Jun 12 15:27:55 2019 +0100
f60f751
env: add missing newline
by Philip Molloy
· Sun Mar 31 03:44:57 2019 +0000
4d1734d
fw_env: Fix double free
by Björn Stenberg
· Wed Apr 17 16:56:54 2019 +0200
4c1192c
Revert "fw_printenv: Don't bail out directly after one env read error"
by Tom Rini
· Sun Jul 01 22:10:33 2018 -0400
42e5096
fw_printenv: Don't bail out directly after one env read error
by Joe Hershberger
· Tue Jun 26 12:37:59 2018 +0300
efe757c
u-boot: Fix several typos
by Shyam Saini
· Thu Jun 07 19:47:19 2018 +0530
66df4e2
tools: env: Use getline rather than fgets when reading config/script
by Alex Kiernan
· Thu Jun 07 12:20:05 2018 +0000
10e4779
SPDX: Convert all of our single license tags to Linux Kernel style
by Tom Rini
· Sun May 06 17:58:06 2018 -0400
7150aaa
tools: env: Implement atomic replace for filesystem
by Alex Kiernan
· Fri Mar 09 12:13:02 2018 +0000
be1e788
tools: env: Refactor write path of flash_io()
by Alex Kiernan
· Fri Mar 09 12:13:01 2018 +0000
f46d0ca
tools: env: Fix CamelCasing style violation
by Alex Kiernan
· Fri Mar 09 12:13:00 2018 +0000
e9c6220
tools: env: Pass through indent
by Alex Kiernan
· Fri Mar 09 12:12:59 2018 +0000
8783324
tools/env: allow equal sign as key value separation
by Stefan Agner
· Thu Mar 01 14:06:32 2018 +0100
688cee9
Fix --noheader on fw_printenv
by Alex Kiernan
· Sun Feb 11 17:16:46 2018 +0000
df664c0
tools: remove unused ret
by Jelle van der Waa
· Thu Jan 18 20:19:43 2018 +0100
a1015c2
tools: env: Add support for direct read/write UBI volumes
by S. Lockwood-Childs
· Tue Nov 14 23:01:26 2017 -0800
6b6ee8a
env: Remove CONFIG_ENV_AES support
by Tom Rini
· Tue Nov 14 08:39:35 2017 -0500
282f270
env: Fix out of tree building of tools-all
by Tom Rini
· Tue Sep 05 14:01:29 2017 -0400
be3b78a
fix: fw_env: Prevent writing error message on special files, which don't support fsync
by Lukasz Majewski
· Sun Aug 27 13:46:22 2017 +0200
6a38e41
env: Rename setenv() to env_set()
by Simon Glass
· Thu Aug 03 12:22:09 2017 -0600
5a2b0f1
tools/fw_env: use fsync to ensure that data is physically stored
by Michael Heimpold
· Mon May 20 21:34:42 2013 +0200
2a3325c
tools/env: avoid memory leak in fw_setenv
by xypron.glpk@gmx.de
· Sat Apr 15 13:05:40 2017 +0200
4b0a293
env: fix memory leak in fw_env routines
by Stefano Babic
· Wed Apr 05 18:08:03 2017 +0200
831c4d5
env: split fw_env.h in public and private parts
by Stefano Babic
· Wed Apr 05 18:08:01 2017 +0200
6c44f54
tools/env: fix environment alignment tests for block devices
by Max Krummenacher
· Sat Nov 19 13:58:56 2016 +0100
0b49b84
Suspected Spam: Do not open attachements![PATCH 4/6] tools/env: flash_write_buf: enforce offset to be start of environment
by Andreas Fenkart
· Mon Aug 29 23:17:00 2016 +0200
5e755c7
tools/env: lookup dev_type directly from flash_read_buf/flash_write_buf
by Andreas Fenkart
· Mon Aug 29 23:16:59 2016 +0200
ae3b320
tools/env: pass bad block offset by value
by Andreas Fenkart
· Mon Aug 29 23:16:58 2016 +0200
2228158
tools/env: factor out environment_end function
by Andreas Fenkart
· Mon Aug 29 23:16:57 2016 +0200
5a364df
tools/env: soften warning about erase block alignment
by Andreas Fenkart
· Wed Aug 17 23:41:54 2016 +0200
31f2e05
tools/env: return with error if redundant environments have unequal size
by Andreas Fenkart
· Wed Aug 17 23:41:53 2016 +0200
bf9beea
tools/env: ensure environment starts at erase block boundary
by Andreas Fenkart
· Thu Aug 11 21:39:17 2016 +0200
2089073
tools: env: Fix format warnings in debug
by Marcin Niestroj
· Fri May 06 14:58:29 2016 +0200
33aaef9
tools/env: reuse fw_getenv in fw_printenv function
by Andreas Fenkart
· Sat Jul 16 17:06:15 2016 +0200
3ff1074
tools/env: move envmatch further up in file to avoid forward declarations
by Andreas Fenkart
· Sat Jul 16 17:06:14 2016 +0200
c4a722c
tools/env: kernel-doc for fw_printenv, fw_getenv and fw_parse_script
by Andreas Fenkart
· Sat Jul 16 17:06:13 2016 +0200
b21e602
tools/env: allow negative offsets
by Stefan Agner
· Wed Jul 13 17:14:38 2016 -0700
21dbd6a
tools/env: complete environment device config early
by Stefan Agner
· Wed Jul 13 17:14:37 2016 -0700
e651130
tools/env: allow to pass NULL for environment options
by Andreas Fenkart
· Tue May 31 09:21:56 2016 +0200
2437190
tools/env: no global variable sharing between application and library
by Andreas Fenkart
· Tue Apr 05 23:13:42 2016 +0200
b8bf404
tools/env: compute size of usable area only once
by Andreas Fenkart
· Tue Apr 19 22:43:42 2016 +0200
87bcee4
tools/env: fw_printenv pass value_only as argument
by Andreas Fenkart
· Tue Apr 19 22:43:41 2016 +0200
edcaee6
tools/env: pass key as argument to env_aes_cbc_crypt
by Andreas Fenkart
· Tue Apr 19 22:43:39 2016 +0200
e89ead3
tools: env: fix config file loading in env library
by Anatolij Gustschin
· Fri Apr 29 22:00:11 2016 +0200
7fce4e2
tools: env: bug: config structs must be defined in tools library
by Andreas Fenkart
· Fri Mar 25 14:52:19 2016 +0100
e3ff0dc
tools: env: fw_parse_script: simplify removal of newline/carriage return
by Andreas Fenkart
· Fri Mar 11 09:39:38 2016 +0100
191d26f
tools: env: split fw_string_blank into skip_chars / skip_blanks
by Andreas Fenkart
· Fri Mar 11 09:39:37 2016 +0100
e42c68e
tools: env: fw_string_blank: return from loop when item found
by Andreas Fenkart
· Fri Mar 11 09:39:36 2016 +0100
d0e12cb
tools: env: replace WHITESPACE macro by isblank
by Andreas Fenkart
· Fri Mar 11 09:39:35 2016 +0100
14908ef
tools: env: shift optind arguments and fix argument indices
by Andreas Fenkart
· Wed Dec 09 13:13:25 2015 +0100
aa01f8d
tools: env: parse aes key / suppress flag into argument struct
by Andreas Fenkart
· Wed Dec 09 13:13:24 2015 +0100
a34e5c5
tools: env: make parse_aes_key stateless
by Andreas Fenkart
· Wed Dec 09 13:13:22 2015 +0100
4e336ee
tools: env validate: pass values as 0-based array
by Andreas Fenkart
· Wed Dec 09 13:13:21 2015 +0100
656ee04
tools: env: include compiler.h
by Peter Robinson
· Wed Dec 09 07:15:33 2015 +0000
211e17b
tools/env: allow config filename to be passed via command line argument
by Michael Heimpold
· Tue Oct 27 22:34:49 2015 +0100
983487f
Fix musl build
by Jörg Krause
· Wed Apr 22 21:36:22 2015 +0200
6da7466
tools/env: Fix environment size and CRC on 64-bit hosts
by Dominic Sacré
· Wed Nov 05 00:30:18 2014 +0100
6284547
Merge branch 'u-boot/master'
by Albert ARIBAUD
· Fri May 09 10:47:05 2014 +0200
313e912
fw_env.c: Switch get_config to use '%ms' in sscanf
by Tom Rini
· Fri Mar 28 12:03:33 2014 -0400
05ed2a5
env: Implement support for AES encryption into fw_* tools
by Marek Vasut
· Wed Mar 05 19:59:52 2014 +0100
0983cad
fw_env: correct writes to devices with small erase blocks
by Dustin Byford
· Thu Mar 06 20:48:23 2014 -0800
2f6df46
fw_env: calculate default number of env sectors
by Dustin Byford
· Thu Mar 06 20:48:22 2014 -0800
e9c66ab
fw_env: fix writing environment for mtd devices
by Oliver Metz
· Fri Aug 30 00:56:02 2013 +0200
e745d4c
fw_env: add redundant env support for MTD_ABSENT
by Oliver Metz
· Fri Aug 30 00:56:01 2013 +0200
d79de1d
Add GPL-2.0+ SPDX-License-Identifier to source files
by Wolfgang Denk
· Mon Jul 08 09:37:19 2013 +0200
db14e86
env: Add redundant env support to UBI env
by Joe Hershberger
· Mon Apr 08 10:32:52 2013 +0000
0c5faa8
env: Add support for UBI environment
by Joe Hershberger
· Mon Apr 08 10:32:51 2013 +0000
57cb6a3
env: Allow accessing non-mtd devices
by Lubomir Rintel
· Sun Feb 10 01:02:36 2013 +0000
178ec77
fw_env: fix type of len
by Mike Frysinger
· Sat Nov 10 19:47:45 2012 +0000
2289ec1
env: Handle write-once ethaddr and serial# generically
by Joe Hershberger
· Tue Dec 11 22:16:37 2012 -0600
6fe26c9
env: Add support for access control to .flags
by Joe Hershberger
· Tue Dec 11 22:16:34 2012 -0600
dd7750a
tools/env: Add environment variable flags support
by Joe Hershberger
· Tue Dec 11 22:16:32 2012 -0600
8132114
env: cosmetic: Consilidate the default env definition
by Joe Hershberger
· Fri Oct 12 08:48:51 2012 +0000
a8dd2c6
tools/env: Improve debug prints
by Joe Hershberger
· Mon Oct 15 15:29:25 2012 +0000
03bf21d
tools/env: Fix variable delete operation
by Joe Hershberger
· Mon Oct 15 15:29:24 2012 +0000
e79a91f
tools/env: Fix build failure from missing header include
by Joe Hershberger
· Fri Oct 12 10:23:37 2012 +0000
dd000dd
env: Check for NULL pointer in envmatch()
by Joe Hershberger
· Wed Oct 03 09:38:50 2012 +0000
Next »