| #
38ba8ffc |
| 11-Aug-2023 |
Joseph Chen <chenjh@rock-chips.com> |
env: Kconfig: Add option to define image memory layout environment
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I08eaa48467b1c9ac9558678410965aff27da9846
|
| #
e31de615 |
| 11-Aug-2023 |
Joseph Chen <chenjh@rock-chips.com> |
env: Kconfig: Move ENVF out of environment location choice
It's not reasonable to put it inside.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9e905f0c32833870df99c05076be8d91be36f
env: Kconfig: Move ENVF out of environment location choice
It's not reasonable to put it inside.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I9e905f0c32833870df99c05076be8d91be36f9c4
show more ...
|
| #
fc829503 |
| 12-Oct-2022 |
Joseph Chen <chenjh@rock-chips.com> |
envf: Allow env partition to be disabled
Make envf to be a standalone feature, in order to use envf + GPT-Partition solution.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I302d4312
envf: Allow env partition to be disabled
Make envf to be a standalone feature, in order to use envf + GPT-Partition solution.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I302d4312c5acc95c79d8814688c0bce094459375
show more ...
|
| #
bc1bea61 |
| 26-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
env: envf: Add norflash configs
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I5a5f899924722ae829d75b55b5255d4ef9981ea8
|
| #
1e890c70 |
| 15-Mar-2022 |
Joseph Chen <chenjh@rock-chips.com> |
env: envf: remove env param
- Introduce NAND env offset and size config - Select the large size value as ENV_SIZE
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I38e5b3d3d99308c211da
env: envf: remove env param
- Introduce NAND env offset and size config - Select the large size value as ENV_SIZE
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I38e5b3d3d99308c211da4ac49ce346903862197e
show more ...
|
| #
35a34103 |
| 25-Feb-2022 |
Joseph Chen <chenjh@rock-chips.com> |
env: envf: optimse Kconfig and env buffer
- default select env partition - use static address as env buffer
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8c84ed9bc3702b7e6f216cc9fa
env: envf: optimse Kconfig and env buffer
- default select env partition - use static address as env buffer
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8c84ed9bc3702b7e6f216cc9faaa22001b2beede
show more ...
|
| #
7a38549f |
| 08-Feb-2022 |
Joseph Chen <chenjh@rock-chips.com> |
env: envf: optimise/update
- Rename "bootargs_envf" to "sys_bootargs" - Use CONFIG_ENV_OFFSET to find ENVF data - Hashtable: don't remove variables which were not considered - Split envf and nowhere
env: envf: optimise/update
- Rename "bootargs_envf" to "sys_bootargs" - Use CONFIG_ENV_OFFSET to find ENVF data - Hashtable: don't remove variables which were not considered - Split envf and nowhere - Add SPL support - Init partition table before any partition query.
Important: Must call part_init() to reinit system partition tables after mtdparts/blkdevparts parsed.
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I89623b2067108040eca1ee0f5e6f7519ebc3c42a
show more ...
|
| #
5a94b264 |
| 09-Nov-2021 |
Joseph Chen <chenjh@rock-chips.com> |
env: add env fragment support
It's a way to partly update env by user.
configure: - CONFIG_ENVF - CONFIG_ENVF_LIST - CONFIG_ENV_SIZE
Tool example: ./tools/mkenvimage -s 0x8000 -p 0x0 -o e
env: add env fragment support
It's a way to partly update env by user.
configure: - CONFIG_ENVF - CONFIG_ENVF_LIST - CONFIG_ENV_SIZE
Tool example: ./tools/mkenvimage -s 0x8000 -p 0x0 -o envf.bin envf.txt
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: Ie141f9ae9d91228c206f6d770d07ed6a54497b35
show more ...
|
| #
258d2dcb |
| 13-Nov-2020 |
Joseph Chen <chenjh@rock-chips.com> |
env: Kconfig: add entry for ENV offset and size
Signed-off-by: Joseph Chen <chenjh@rock-chips.com> Change-Id: I8609519d0dc5519b57201406d1f7ae4948b0e9b3
|
| #
48802b42 |
| 30-May-2019 |
Joseph Chen <chenjh@rock-chips.com> |
env: Kconfig: fix typo
Change-Id: I02f0d7e83ab216e8cecba9d8f3e3a9b223afaed4 Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
|
| #
2ba7147f |
| 08-Apr-2019 |
Joseph Chen <chenjh@rock-chips.com> |
env: add a common env driver for block device
The driver implementation refers to env/mmc.c, the storage media binding to block layer can use it(Nand/Nor Flash...).
Support configure: - CONFIG_ENV
env: add a common env driver for block device
The driver implementation refers to env/mmc.c, the storage media binding to block layer can use it(Nand/Nor Flash...).
Support configure: - CONFIG_ENV_OFFSET - CONFIG_ENV_SIZE - CONFIG_ENV_OFFSET_REDUND (optional) - CONFIG_ENV_SIZE_REDUND (optional) - CONFIG_SYS_MMC_ENV_PART (optional)
Change-Id: Ibb16f0dd7af1331f454784968fbdc9002f4b769c Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
show more ...
|
| #
49a2ef15 |
| 11-Dec-2017 |
Klaus Goger <klaus.goger@theobroma-systems.com> |
UPSTREAM: rockchip: move CONFIG_ENV_SIZE and CONFIG_ENV_OFFSET to Kconfig
This commit adds ENV_SIZE and ENV_OFFSET configuration items for ARCH_ROCKCHIP, but keeps these non-visible (i.e. not prompt
UPSTREAM: rockchip: move CONFIG_ENV_SIZE and CONFIG_ENV_OFFSET to Kconfig
This commit adds ENV_SIZE and ENV_OFFSET configuration items for ARCH_ROCKCHIP, but keeps these non-visible (i.e. not prompt is given). With these new items present, the configuration from the header files is moved to Kconfig.
Keeping these non-visible is necessary to have the possibility to select new default values if CONFIG_IS_IN_* is changed (interactively or with oldconfig). Otherwise it will always be set to a previous value if used with a prompt. As an example if we do a defconfig with CONFIG_IS_IN_MMC and change it to CONFIG_IS_IN_SPI_FLASH via menuconfig, ENV_SIZE and ENV_OFFSET will not be changed to the correct values as defconfig will already have set them to the default values of CONFIG_IS_IN_MMC in .config.
Change-Id: I72dcb184406523a3a846322fd58ee7b9669d3390 Signed-off-by: Klaus Goger <klaus.goger@theobroma-systems.com> Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 81f53b0dafdfe9458f6d04fc5ec2732c2ea23a71)
show more ...
|
| #
9a544e36 |
| 10-Oct-2017 |
Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> |
UPSTREAM: env: Drop CONFIG_ENV_IS_IN_DATAFLASH
Last user of this option went away in commit:
fdc7718999 ("board: usb_a9263: Update to support DT and DM")
Change-Id: Ie6cec28e4daf26b669f3f35db02642
UPSTREAM: env: Drop CONFIG_ENV_IS_IN_DATAFLASH
Last user of this option went away in commit:
fdc7718999 ("board: usb_a9263: Update to support DT and DM")
Change-Id: Ie6cec28e4daf26b669f3f35db026427bdb47a5b6 Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Signed-off-by: Kever Yang <kever.yang@rock-chips.com> (cherry picked from commit 7b7341d7f3ee915c89a7f8ab7054e39872057d90)
show more ...
|
| #
5eb35220 |
| 08-Sep-2017 |
Tom Rini <trini@konsulko.com> |
env: Migrate CONFIG_ENV_AES to Kconfig and deprecate
The underlying implementation for ENV_AES has security complications and is not recommended for use. Please see CVE-2017-3225 and CVE-2017-3226
env: Migrate CONFIG_ENV_AES to Kconfig and deprecate
The underlying implementation for ENV_AES has security complications and is not recommended for use. Please see CVE-2017-3225 and CVE-2017-3226 for more details. Mark this as deprecated now and delete this in the medium term if no one comes forward to re-work the support.
Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
e3f24d4f |
| 13-Aug-2017 |
Adam Ford <aford173@gmail.com> |
Kconfig: Add EEPROM options to Kconfig when I2C_EEPROM is set
Add the following options to drivers/misc/Kconfig: SYS_I2C_EEPROM_ADDR SYS_I2C_EEPROM_BUS SYS_EEPROM_SIZE SYS_EEPROM_PAGE_WRITE_BITS
Kconfig: Add EEPROM options to Kconfig when I2C_EEPROM is set
Add the following options to drivers/misc/Kconfig: SYS_I2C_EEPROM_ADDR SYS_I2C_EEPROM_BUS SYS_EEPROM_SIZE SYS_EEPROM_PAGE_WRITE_BITS SYS_EEPROM_PAGE_WRITE_DELAY_MS SYS_I2C_EEPROM_ADDR_LEN SYS_I2C_EEPROM_ADDR_OVERFLOW
This does not migrate any boards, but provides a foundations for those who want/need these options
Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Migrate uniphier] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
e94c1268 |
| 18-Aug-2017 |
Andy Shevchenko <andriy.shevchenko@linux.intel.com> |
env: Sort selection of default choices
It would be easier to catch out which platform is using which default.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
|
| #
c1c3fe23 |
| 03-Aug-2017 |
Simon Glass <sjg@chromium.org> |
env: Convert CONFIG_ENV_IS_IN... to a choice
At present we support multiple environment drivers but there is not way to select between them at run time. Also settings related to the position and siz
env: Convert CONFIG_ENV_IS_IN... to a choice
At present we support multiple environment drivers but there is not way to select between them at run time. Also settings related to the position and size of the environment area are global (i.e. apply to all locations).
Until these limitations are removed we cannot really support more than one environment location. Adjust the location to be a choice so that only one can be selected. By default the environment is 'nowhere', meaning that the environment exists only in memory and cannot be saved.
Also expand the help for the 'nowhere' option and move it to the top since it is the default.
Signed-off-by: Simon Glass <sjg@chromium.org> [trini: Move all of the imply logic to default X if Y so it works again] Signed-off-by: Tom Rini <trini@konsulko.com>
show more ...
|
| #
91d3aa05 |
| 03-Aug-2017 |
Simon Glass <sjg@chromium.org> |
env: Use tabs in ENV_IS_IN_FAT
Tidy up the formatting of this option.
Signed-off-by: Simon Glass <sjg@chromium.org>
|
| #
0649cd0d |
| 03-Aug-2017 |
Simon Glass <sjg@chromium.org> |
Move environment files from common/ to env/
About a quarter of the files in common/ relate to the environment. It seems better to put these into their own subdirectory and remove the prefix.
Signed
Move environment files from common/ to env/
About a quarter of the files in common/ relate to the environment. It seems better to put these into their own subdirectory and remove the prefix.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
show more ...
|