| #
3e4d27b0 |
| 10-Nov-2012 |
Stefano Babic <sbabic@denx.de> |
Merge git://git.denx.de/u-boot
|
| #
ddd8418f |
| 12-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
env: cosmetic: Consilidate the default env definition
There used to be a huge structure duplicated 3 times in the source.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Tom
env: cosmetic: Consilidate the default env definition
There used to be a huge structure duplicated 3 times in the source.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| #
74620e1c |
| 15-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
tools/env: Improve debug prints
Provide more information when using redundant environments Consistently print debug info to stderr
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
|
| #
ce2f5800 |
| 15-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
tools/env: Fix variable delete operation
Fix crash introduced by a073d63a36524453a817ab029fad5b188f46127e when attempting to delete a variable.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.co
tools/env: Fix variable delete operation
Fix crash introduced by a073d63a36524453a817ab029fad5b188f46127e when attempting to delete a variable.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| #
06134211 |
| 12-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
tools/env: Fix build failure from missing header include
This was introduced in: 8679d0ffdcc0beafea8e6942c0c67cf859afa18e - COMMON: Use __stringify() instead of MK_STR()
The header is now needed s
tools/env: Fix build failure from missing header include
This was introduced in: 8679d0ffdcc0beafea8e6942c0c67cf859afa18e - COMMON: Use __stringify() instead of MK_STR()
The header is now needed since common.h is not included in this tool.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| #
586197df |
| 03-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
env: Check for NULL pointer in envmatch()
If the pointer passed into envmatch() is NULL, return -1 instead of crashing.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
|
| #
d9acae1a |
| 03-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
tools/env: Don't call env_init() in fw_getenv()
We will only call fw_getenv when the env has already been initialized.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
|
| #
62a34a04 |
| 03-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
tools/env: Remove unneeded complexity
The length included the name length, and then it was subtracted back out on each use. Now we don't include it in the first place. Also realloc as we process a
tools/env: Remove unneeded complexity
The length included the name length, and then it was subtracted back out on each use. Now we don't include it in the first place. Also realloc as we process arguments and eliminate memset. Use memcpy instead of manually copying each byte.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| #
497f2053 |
| 03-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
tools/env: Use a board-specific default env
Originally added in aa701b94336b358798d676eef12a7b90bdac23f5
Before this patch, there was a hard-coded env that was used as default if the env in flash i
tools/env: Use a board-specific default env
Originally added in aa701b94336b358798d676eef12a7b90bdac23f5
Before this patch, there was a hard-coded env that was used as default if the env in flash is detected as invalid. Now this tool (compiled for a given board) will share the default env with the u-boot for the board.
Fix include of config.h
Need to define "TEXT_BASE" when building the fw_env tool so that the default env will be correct for environments which use it.
Define __ASSEMBLY__ when calling #include <config.h> so that we only get #defines (all we're interested in).
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| #
5368c55d |
| 23-Sep-2012 |
Marek Vasut <marex@denx.de> |
COMMON: Use __stringify() instead of MK_STR()
Kill multiple occurances and redeclaration of MK_STR in favor of __stringify().
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.d
COMMON: Use __stringify() instead of MK_STR()
Kill multiple occurances and redeclaration of MK_STR in favor of __stringify().
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| #
1c27059a |
| 30-Sep-2012 |
Albert ARIBAUD <albert.u.boot@aribaud.net> |
Merge remote-tracking branch 'u-boot/master'
|
| #
8ae51ae1 |
| 10-Aug-2012 |
Benoît Thébaudeau <benoit.thebaudeau@advansee.com> |
fw_env: Add env vars describing U-Boot target board
Commit 5e724ca did the same thing for env_common and env_embedded, but forgot fw_env.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advanse
fw_env: Add env vars describing U-Boot target board
Commit 5e724ca did the same thing for env_common and env_embedded, but forgot fw_env.
Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
show more ...
|
| #
aa701b94 |
| 22-Dec-2011 |
Grant Erickson <marathon96@gmail.com> |
tools/env: allow overwrite of ethaddr on default
This patch allows the U-Boot user space companion utility, fw_setenv, to overwrite the 'ethaddr' key/value pair if the current value is set to a per-
tools/env: allow overwrite of ethaddr on default
This patch allows the U-Boot user space companion utility, fw_setenv, to overwrite the 'ethaddr' key/value pair if the current value is set to a per-board-configured default.
This change allows 'fw_setenv' to match the behavior of 'setenv' / 'env set' on the U-Boot command line.
Signed-off-by: Grant Erickson <marathon96@gmail.com> Fixed excessive white space. Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| #
b3f44c21 |
| 13-Oct-2011 |
Joe Hershberger <joe.hershberger@ni.com> |
common: cosmetic: CONFIG_BOOTFILE checkpatch compliance
Remove MK_STR from places that consume CONFIG_BOOTFILE to force all definitions to be string literals.
Signed-off-by: Joe Hershberger <joe.he
common: cosmetic: CONFIG_BOOTFILE checkpatch compliance
Remove MK_STR from places that consume CONFIG_BOOTFILE to force all definitions to be string literals.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| #
8b3637c6 |
| 13-Oct-2011 |
Joe Hershberger <joe.hershberger@ni.com> |
common: cosmetic: CONFIG_ROOTPATH checkpatch compliance
Remove MK_STR from places that consume CONFIG_ROOTPATH to force all definitions to be string literals.
Signed-off-by: Joe Hershberger <joe.he
common: cosmetic: CONFIG_ROOTPATH checkpatch compliance
Remove MK_STR from places that consume CONFIG_ROOTPATH to force all definitions to be string literals.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| #
8603b69b |
| 05-Sep-2011 |
Luka Perkov <lists@lukaperkov.net> |
fix compile warning for env tools
Patch fixes this issue:
fw_env.c: In function ‘fw_setenv’: fw_env.c:492:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘s
fix compile warning for env tools
Patch fixes this issue:
fw_env.c: In function ‘fw_setenv’: fw_env.c:492:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat] fw_env.c: In function ‘flash_write_buf’: fw_env.c:806:6: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
Signed-off-by: Luka Perkov <lists@lukaperkov.net> Acked-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| #
735eb0f0 |
| 11-Mar-2011 |
Jon Povey <jon.povey@racelogic.co.uk> |
tools/env: fix redundant env flag comparison
This fixes two bugs with comparison of redundant environment flags on read.
flag0 and flag1 in fw_env_open() were declared signed instead of unsigned ch
tools/env: fix redundant env flag comparison
This fixes two bugs with comparison of redundant environment flags on read.
flag0 and flag1 in fw_env_open() were declared signed instead of unsigned char breaking BOOLEAN mode "== 0xFF" tests and in INCREMENTAL mode the wrong environment would be chosen where the flag values are 127 and 128 (either way round). With both flags over 128, both signs flipped and the logic worked by happy accident.
Also there was a logic bug in the INCREMENTAL test (after signedness was fixed) in the case flag0=0, flag1=255, env 1 would be incorrectly chosen.
Fix both of these.
Signed-off-by: Jon Povey <jon.povey@racelogic.co.uk>
show more ...
|
| #
9eeaa8e6 |
| 12-Feb-2011 |
Remy Bohmer <linux@bohmer.net> |
Add support for dataflash to U-boot environment settings tool.
* The sector size for SPI-dataflash (like AT45 flashes) are not always a power-of-2. So, the sector calculations are rewritten such t
Add support for dataflash to U-boot environment settings tool.
* The sector size for SPI-dataflash (like AT45 flashes) are not always a power-of-2. So, the sector calculations are rewritten such that it works for either power-of-2 as any size sectors. * Make the flash sector size optional in case it is the same value as the environment size.
Signed-off-by: Remy Bohmer <linux@bohmer.net>
show more ...
|
| #
201532a6 |
| 10-Aug-2010 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of ../master
|
| #
0aef7bc7 |
| 30-Jul-2010 |
Detlev Zundel <dzu@denx.de> |
tools/env/fw_printenv: Make redundant env work on locked flashes also
The invalidation of the old environment instance did not work for flashes supporting hardware locking. Now we unlock/lock aroun
tools/env/fw_printenv: Make redundant env work on locked flashes also
The invalidation of the old environment instance did not work for flashes supporting hardware locking. Now we unlock/lock around this update also.
Signed-off-by: Detlev Zundel <dzu@denx.de>
show more ...
|
| #
2271d3dd |
| 06-Jul-2010 |
Minkyu Kang <mk7.kang@samsung.com> |
Merge branch 'master' of git://git.denx.de/u-boot
|
| #
39ddd10b |
| 30-Jun-2010 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of ssh://gemini/home/wd/git/u-boot/master
|
| #
bd7b26f8 |
| 24-May-2010 |
Stefano Babic <sbabic@denx.de> |
Tools: set multiple variable with fw_setenv utility
Add a sort of batch mode to fw_setenv, allowing to set multiple variables in one shot, without updating the flash after each set as now. It is add
Tools: set multiple variable with fw_setenv utility
Add a sort of batch mode to fw_setenv, allowing to set multiple variables in one shot, without updating the flash after each set as now. It is added the possibility to pass a config file with a list of pairs <variable, value> to be set, separated by a TAB character.
Signed-off-by: Stefano Babic <sbabic@denx.de>
show more ...
|
| #
cb547320 |
| 17-Dec-2008 |
Haavard Skinnemoen <haavard.skinnemoen@atmel.com> |
Merge branch 'fixes' into cleanups
Conflicts:
board/atmel/atngw100/atngw100.c board/atmel/atstk1000/atstk1000.c cpu/at32ap/at32ap700x/gpio.c include/asm-avr32/arch-at32ap700x/clk.h include/con
Merge branch 'fixes' into cleanups
Conflicts:
board/atmel/atngw100/atngw100.c board/atmel/atstk1000/atstk1000.c cpu/at32ap/at32ap700x/gpio.c include/asm-avr32/arch-at32ap700x/clk.h include/configs/atngw100.h include/configs/atstk1002.h include/configs/atstk1003.h include/configs/atstk1004.h include/configs/atstk1006.h include/configs/favr-32-ezkit.h include/configs/hammerhead.h include/configs/mimc200.h
show more ...
|
| #
f61f1e15 |
| 21-Oct-2008 |
Stefan Roese <sr@denx.de> |
Merge branch 'master' of /home/stefan/git/u-boot/u-boot
|