| c65715de | 12-Feb-2011 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-mips |
| 17f79e45 | 09-Feb-2011 |
Wolfgang Denk <wd@denx.de> |
cmd_bmp.c: message about compressed formats is debug info only.
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Anatolij Gustschin <agust@denx.de> |
| eef1d719 | 08-Feb-2011 |
Scott Wood <scottwood@freescale.com> |
NAND: env: remember the flags used in the previous environment
Previously, uninitialized stack space was being referenced.
Signed-off-by: Scott Wood <scottwood@freescale.com> |
| ce297a8f | 28-Jan-2011 |
Alexander Holler <holler@ahsoftware.de> |
USB: Change the necessary defines to get debug output
While debugging some USB stuff, I've first missed that there are actually two defines necessary to get usefull output. The one needed to get deb
USB: Change the necessary defines to get debug output
While debugging some USB stuff, I've first missed that there are actually two defines necessary to get usefull output. The one needed to get debug output for the communication with HUBs was burried somewhere deep inside the code.
Change that so that a #define DEBUG is enough while still leaving the possibility to reduce unwanted debug output.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
show more ...
|
| cb44091f | 27-Jan-2011 |
Alexander Holler <holler@ahsoftware.de> |
USB: Fix device stati for removable and powerctrl (typo)
I currently don't know if the error could have other consequences than a wrong output when turning debug on.
Signed-off-by: Alexander Holler
USB: Fix device stati for removable and powerctrl (typo)
I currently don't know if the error could have other consequences than a wrong output when turning debug on.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
show more ...
|
| c6dc8a73 | 05-Feb-2011 |
Shinya Kuribayashi <skuribay@pobox.com> |
cmd_ide: Fix an unused CONFIG_AU1X00 symbol to work as intended
commit 8bde63eb3f79d68f693201528dafc8ae7aa087de ([MIPS] Rename Alchemy processor configs into CONFIG_SOC_*) forgot to pick up this one
cmd_ide: Fix an unused CONFIG_AU1X00 symbol to work as intended
commit 8bde63eb3f79d68f693201528dafc8ae7aa087de ([MIPS] Rename Alchemy processor configs into CONFIG_SOC_*) forgot to pick up this one.
Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
show more ...
|
| 920a5dd2 | 20-Jan-2011 |
Alexander Holler <holler@ahsoftware.de> |
NAND: Fix saving of redundand environment
When redundand environments are used the serial needs to get increased, otherwise the old one will still be used.
Signed-off-by: Alexander Holler <holler@a
NAND: Fix saving of redundand environment
When redundand environments are used the serial needs to get increased, otherwise the old one will still be used.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
show more ...
|
| d1a24f06 | 02-Feb-2011 |
Wolfgang Denk <wd@denx.de> |
Minor Coding Style Cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 89ffa8db | 18-Jan-2011 |
Alexander Holler <holler@ahsoftware.de> |
Print compiler and linker version with the version command
After years of unsuccessful research I've finally shamelessly stolen other peoples intellectual properties to present the all-new and world
Print compiler and linker version with the version command
After years of unsuccessful research I've finally shamelessly stolen other peoples intellectual properties to present the all-new and world-changing updated version command: - U-Boot>> version
U-Boot 2010.12-00014-g7435056-dirty (Jan 18 2011 - 23:19:38) MyBoard gcc (GCC) 0.42 (Distro foobar) GNU ld (GNU Binutils) 0.314159265 - May the toolchain bugs rest in peace.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
show more ...
|
| 8d46d5b1 | 11-Jan-2011 |
Liu Ying <Ying.Liu@freescale.com> |
lcd: align fb writing address for horizontal display offset
CONFIG_SPLASH_SCREEN_ALIGN makes uboot support display offset for splashimage. The framebuffer writing address should be calculated accord
lcd: align fb writing address for horizontal display offset
CONFIG_SPLASH_SCREEN_ALIGN makes uboot support display offset for splashimage. The framebuffer writing address should be calculated according to different kinds of framebuffer pixel format, i.e., bits per pixel value.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
show more ...
|
| 5aebe3b0 | 25-Jan-2011 |
Wolfgang Denk <wd@denx.de> |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx |
| dd50af25 | 09-Jan-2011 |
Kumar Gala <galak@kernel.crashing.org> |
powerpc/8xxx: Add hwconfig APIs to address early parsing used by DDR init
There are several users of the hwconfig APIs (8xxx DDR) before we have the environment properly setup. This causes issues b
powerpc/8xxx: Add hwconfig APIs to address early parsing used by DDR init
There are several users of the hwconfig APIs (8xxx DDR) before we have the environment properly setup. This causes issues because of the numerous ways the environment might be accessed because of the non-volatile memory it might be stored in. Additionally the access might be so early that memory isn't even properly setup for us.
Towards resolving these issues we provide versions of all the hwconfig APIs that can be passed in a buffer to parse and leave it to the caller to determine how to allocate and populate the buffer.
We use the _f naming convention for these new APIs even though they are perfectly useable after relocation and the environment being ready.
We also now warn if the non-f APIs are called before the environment is ready to allow users to address the issues.
Finally, we convert the 8xxx DDR code to utilize the new APIs to hopefully address the issue once and for all. We have the 8xxx DDR code create a buffer on the stack and populate it via getenv_f().
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| c6b1ee66 | 18-Jan-2011 |
Alexander Holler <holler@ahsoftware.de> |
Fix defines needed to enable command sha1sum
Documented is CONFIG_CMD_SHA1, through confusion in the source CONFIG_CMD_SHA1 and CONFIG_CMD_SHA1SUM has to be used to enable sha1sum.
Fix both, the do
Fix defines needed to enable command sha1sum
Documented is CONFIG_CMD_SHA1, through confusion in the source CONFIG_CMD_SHA1 and CONFIG_CMD_SHA1SUM has to be used to enable sha1sum.
Fix both, the documentation and the source, so that only CONFIG_CMD_SHA1SUM is needed to enable the command sha1sum.
Signed-off-by: Alexander Holler <holler@ahsoftware.de>
show more ...
|
| 141053d6 | 30-Dec-2010 |
Peter Tyser <ptyser@xes-inc.com> |
cmd_jffs2: Fix get_part_sector_size_nor() overflow bug
When a flash partition was positioned at the very top of a 32-bit memory map (eg located at 0xf8000000 with a size of 0x8000000) get_part_secto
cmd_jffs2: Fix get_part_sector_size_nor() overflow bug
When a flash partition was positioned at the very top of a 32-bit memory map (eg located at 0xf8000000 with a size of 0x8000000) get_part_sector_size_nor() would incorrectly calculate the partition's ending address to 0x0 due to overflow. When the overflow occurred get_part_sector_size_nor() would falsely return a sector size of 0. A sector size of 0 results in subsequent jffs2 operations failing.
To workaround the overflow subtract 1 from calculated address of the partition endpoint.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
show more ...
|
| 47fc18f1 | 06-Jan-2011 |
Lei Wen <leiwen@marvell.com> |
NAND: add the ability to directly write yaffs image
This patch add addition suffix to nand write to give the uboot the power to directly burn the yaffs image to nand.
Signed-off-by: Lei Wen <leiwen
NAND: add the ability to directly write yaffs image
This patch add addition suffix to nand write to give the uboot the power to directly burn the yaffs image to nand.
Signed-off-by: Lei Wen <leiwen@marvell.com>
show more ...
|
| 3e5ab1af | 11-Jan-2011 |
Wolfgang Denk <wd@denx.de> |
Revert "boot cmds: convert to getenv_yesno() with autostart"
This reverts commit 5a442c0addc69d0c4b58e98e5aec1cf07576debb.
This commit changed the behaviour of getenv_yesno() (both the default beha
Revert "boot cmds: convert to getenv_yesno() with autostart"
This reverts commit 5a442c0addc69d0c4b58e98e5aec1cf07576debb.
This commit changed the behaviour of getenv_yesno() (both the default behaviour and the documented behaviour for abbreviated arguments) which resulted in problems in several areas.
Signed-off-by: Wolfgang Denk <wd@denx.de>
show more ...
|
| 8ef583a0 | 23-Dec-2010 |
Mike Frysinger <vapier@gentoo.org> |
miiphy: convert to linux/mii.h
The include/miiphy.h header duplicates a lot of things from linux/mii.h. So punt all the things that overlap to keep the API simple and to make merging between U-Boot
miiphy: convert to linux/mii.h
The include/miiphy.h header duplicates a lot of things from linux/mii.h. So punt all the things that overlap to keep the API simple and to make merging between U-Boot and Linux simpler.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 82359aec | 22-Dec-2010 |
Mike Frysinger <vapier@gentoo.org> |
cmd editing: mark erase/tab seqs constant
These strings are only read, so no need to have them be writable.
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| d6efe244 | 22-Dec-2010 |
Mike Frysinger <vapier@gentoo.org> |
cmd_mem: localize state variables
These "last" variables aren't used outside of this file, so add static.
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| 558605cf | 21-Dec-2010 |
Mike Frysinger <vapier@gentoo.org> |
load_addr: move to common env code
Rather than keep the load_addr definition with the bootm code (which just happens to use this), move it to the common env code. This way we can disable bootm supp
load_addr: move to common env code
Rather than keep the load_addr definition with the bootm code (which just happens to use this), move it to the common env code. This way we can disable bootm support completely while retaining load_addr usage with many other commands.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 52f0aa83 | 20-Dec-2010 |
Mike Frysinger <vapier@gentoo.org> |
config_cmd_defaults.h: new header for common u-boot command defaults
We have config_defaults.h which are random configuration settings that everyone gets by default. We also have config_cmd_default
config_cmd_defaults.h: new header for common u-boot command defaults
We have config_defaults.h which are random configuration settings that everyone gets by default. We also have config_cmd_default.h which is a recommended list of defaults but boards have to opt into. Now we have config_cmd_defaults.h which is a list of defaults that everyone gets and has to actively opt out of.
For now, we populate it with the bootm command which previously was unable to be disabled.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 560d424b | 17-Dec-2010 |
Mike Frysinger <vapier@gentoo.org> |
env: re-add support for auto-completion
Currently, only basic completion is supported (no globs), but this is what we had previously.
Signed-off-by: Mike Frysinger <vapier@gentoo.org> |
| 4b58266e | 23-Dec-2010 |
Wolfgang Denk <wd@denx.de> |
cmd_net.c: fix build breakage
Commit 722b061 "autocomplete: remove runtime handler install" caused some boards (like NETTA2_V2) to break with errors like these:
cmd_net.c:296: error: expected expre
cmd_net.c: fix build breakage
Commit 722b061 "autocomplete: remove runtime handler install" caused some boards (like NETTA2_V2) to break with errors like these:
cmd_net.c:296: error: expected expression before ',' token
Fix this.
Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Mike Frysinger <vapier@gentoo.org>
show more ...
|
| 41c86240 | 02-Dec-2010 |
Lei Wen <leiwen@marvell.com> |
onenand: add yaffs write command
Yaffs image require to use the oob to store some info, so when we burn the yaffs image, we need to also write the image's oob part into flash.
This patch add additi
onenand: add yaffs write command
Yaffs image require to use the oob to store some info, so when we burn the yaffs image, we need to also write the image's oob part into flash.
This patch add addition suffix to onenand write to give the uboot the power to directly burn the yaffs image to onenand.
Signed-off-by: Lei Wen <leiwen@marvell.com>
show more ...
|
| 2eb1573f | 08-Dec-2010 |
Mike Frysinger <vapier@gentoo.org> |
hashtable: drop all non-reentrant versions
The non-reentrant versions of the hashtable functions operate on a single shared hashtable. So if two different people try using these funcs for two diffe
hashtable: drop all non-reentrant versions
The non-reentrant versions of the hashtable functions operate on a single shared hashtable. So if two different people try using these funcs for two different purposes, they'll cause problems for the other.
Avoid this by converting all existing hashtable consumers over to the reentrant versions and then punting the non-reentrant ones.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
show more ...
|