| 4b774ff1 | 07-Mar-2014 |
Dustin Byford <dustin@cumulusnetworks.com> |
fw_env: correct writes to devices with small erase blocks
Some NOR flash devices have a small erase block size. For example, the Micron N25Q512 can erase in 4K blocks. These devices expose a bug i
fw_env: correct writes to devices with small erase blocks
Some NOR flash devices have a small erase block size. For example, the Micron N25Q512 can erase in 4K blocks. These devices expose a bug in fw_env.c where flash_write_buf() incorrectly calculates bytes written and attempts to write past the environment sectors. Luckily, a range check prevents any real damage, but this does cause fw_setenv to fail with an error.
This change corrects the write length calculation.
The bug was introduced with commit 56086921 from 2008 and only affects configurations where the erase block size is smaller than the total environment data size.
Signed-off-by: Dustin Byford <dustin@cumulusnetworks.com>
show more ...
|
| 603f51cb | 03-Mar-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
kbuild: tools: fix a bug that always builds Denx logo
LOGO_BMP was never overwritten by board-specific or vendor-specific logos.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reported-
kbuild: tools: fix a bug that always builds Denx logo
LOGO_BMP was never overwritten by board-specific or vendor-specific logos.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Reported-by: Bo Shen <voice.shen@atmel.com> Tested-by: Bo Shen <voice.shen@atmel.com>
show more ...
|
| fea1ca8e | 04-Feb-2014 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
Makefile: refactor include path settings
This commit merges commonly-used header include paths to UBOOTINCLUDE and NOSTDINC_FLAGS variables, which are placed at the top Makefile.
Signed-off-by: Mas
Makefile: refactor include path settings
This commit merges commonly-used header include paths to UBOOTINCLUDE and NOSTDINC_FLAGS variables, which are placed at the top Makefile.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
show more ...
|
| 901d0ea1 | 24-Dec-2013 |
Masahiro Yamada <yamada.m@jp.panasonic.com> |
tools: move kermit files to tools/kermit directory
The script files, define2mk.sed and make-asm-offsets are used to create autoconf.mk and asm-offsets.h while build.
Whereas README, dot.kermrc, fla
tools: move kermit files to tools/kermit directory
The script files, define2mk.sed and make-asm-offsets are used to create autoconf.mk and asm-offsets.h while build.
Whereas README, dot.kermrc, flash_param, send_cmd, send_image are files useful for kermit.
We should not put files which have the totally different purpose into the same directory.
This commit creates a new directory, tools/kermit, and move kermit files into it.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Wolfgang Denk <wd@denx.de>
show more ...
|