| bb64d1c9 | 03-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Output strings from echo with puts where easy
Change echo to puts characters together where it knows about them together. This improves netconsole performance by greatly reducing the number of pack
Output strings from echo with puts where easy
Change echo to puts characters together where it knows about them together. This improves netconsole performance by greatly reducing the number of packets that are sent.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| da83bcd7 | 03-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Add a command to access the system timer
Two sub-commands... start and get. * start sets the reference. * get prints out the time since the last start (in "<sec>.<msec>" format). If get is called
Add a command to access the system timer
Two sub-commands... start and get. * start sets the reference. * get prints out the time since the last start (in "<sec>.<msec>" format). If get is called without start, returns time since boot. Simple way to benchmark an operation: "timer start;<commands-to-measure>;timer get"
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| c167cc02 | 03-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Add a new "ini" command
This allows you to read ini-formatted data from anywhere and then import one of the sections into the environment
This is based on rev 16 at http://code.google.com/p/inih/
Add a new "ini" command
This allows you to read ini-formatted data from anywhere and then import one of the sections into the environment
This is based on rev 16 at http://code.google.com/p/inih/
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 36180d96 | 03-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Cleanup cache command prints
Only print when queried, not every time the setting is changed.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> |
| e9455fcc | 03-Oct-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Fix checkpatch.pl complaints in cmd_cache.c
Old code that is not compliant.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> |
| ecd72950 | 17-Aug-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Add parameter to md5sum to save the md5 sum
Add a parameter that allows you to store the md5 sum to either a memory location or a variable.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> |
| 5ab177be | 17-Aug-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Implement verify option for md5sum command
Loosely based on CONFIG_CRC32_VERIFY.
The sum to verify against can be in memory, in a variable, or the last parameter to the function directly.
Signed-o
Implement verify option for md5sum command
Loosely based on CONFIG_CRC32_VERIFY.
The sum to verify against can be in memory, in a variable, or the last parameter to the function directly.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 3c210e29 | 17-Aug-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Add parameter to sha1sum to save the SHA1 sum
Add a parameter that allows you to store the SHA1 sum to either a memory location or a variable.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com> |
| e6e77d35 | 17-Aug-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Implement verify option for sha1sum command
Loosely based on CONFIG_CRC32_VERIFY.
The sum to verify against can be in memory, in a variable, or the last parameter to the function directly.
Signed-
Implement verify option for sha1sum command
Loosely based on CONFIG_CRC32_VERIFY.
The sum to verify against can be in memory, in a variable, or the last parameter to the function directly.
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| b0fe6abd | 17-Aug-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Change dead code in "test" cmd to debug output
Improve debug output for test by indicating the number of parameters and quoting the parameters to make it clear exactly what each contains
Signed-off
Change dead code in "test" cmd to debug output
Improve debug output for test by indicating the number of parameters and quoting the parameters to make it clear exactly what each contains
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 93d7212f | 17-Aug-2012 |
Joe Hershberger <joe.hershberger@ni.com> |
Allow runtime configuration of "zero-delay" check
Define the new "-2" value for bootdelay to mean autoboot with no delay and don't check for an abort key (while "0" value means do check).
Signed-of
Allow runtime configuration of "zero-delay" check
Define the new "-2" value for bootdelay to mean autoboot with no delay and don't check for an abort key (while "0" value means do check).
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
show more ...
|
| 2eba38cf | 28-Sep-2012 |
Simon Glass <sjg@chromium.org> |
bootstage: Add bootstage command
Now that there are a few features, add a bootstage command to access them.
bootstage report - prints a report bootstage stash/unstash - stashes bootstage records in
bootstage: Add bootstage command
Now that there are a few features, add a bootstage command to access them.
bootstage report - prints a report bootstage stash/unstash - stashes bootstage records in memory, reads them back
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| fcf509b8 | 28-Sep-2012 |
Simon Glass <sjg@chromium.org> |
bootstage: Add feature to stash/unstash bootstage info
It is useful to be able to write the bootstage information to memory for use by a later utility, or the Linux kernel. Provide a function to do
bootstage: Add feature to stash/unstash bootstage info
It is useful to be able to write the bootstage information to memory for use by a later utility, or the Linux kernel. Provide a function to do this as well as a function to read bootstage information back and incorporate it into the current table.
This also makes it possible for U-Boot to chain to another U-Boot and pass on its bootstage information.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 94fd1316 | 28-Sep-2012 |
Simon Glass <sjg@chromium.org> |
bootstage: Store boot timings in device tree
Add an option, CONFIG_BOOTSTAGE_FDT to pass boot timings to the kernel in the device tree, if available. To use this, you must have CONFIG_OF_LIBFDT defi
bootstage: Store boot timings in device tree
Add an option, CONFIG_BOOTSTAGE_FDT to pass boot timings to the kernel in the device tree, if available. To use this, you must have CONFIG_OF_LIBFDT defined.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 0e996773 | 28-Sep-2012 |
Simon Glass <sjg@chromium.org> |
bootstage: Add time accumulation feature
Sometimes we want to add up the amount of time spent in a particular activity when it is happening in a number of discrete chunks.
Add bootstage_start() to
bootstage: Add time accumulation feature
Sometimes we want to add up the amount of time spent in a particular activity when it is happening in a number of discrete chunks.
Add bootstage_start() to mark the start of an acitivity and bootstage_accum() to accumulate the time since the last start. Calling these function in pairs results in the accumulated time being collected.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 094e06a5 | 28-Sep-2012 |
Simon Glass <sjg@chromium.org> |
bootstage: Export bootstage_add_record() function
This function is not static, but not exported either. Add a prototype in the header file and move the required enum to the header also.
Signed-off-
bootstage: Export bootstage_add_record() function
This function is not static, but not exported either. Add a prototype in the header file and move the required enum to the header also.
Signed-off-by: Simon Glass <sjg@chromium.org>
show more ...
|
| 7ac2fe2d | 18-Sep-2012 |
Ilya Yanok <ilya.yanok@cogentembedded.com> |
OMAP: networking support for SPL
This patch adds support for networking in SPL. Some devices are capable of loading SPL via network so it makes sense to load the main U-Boot binary via network too.
OMAP: networking support for SPL
This patch adds support for networking in SPL. Some devices are capable of loading SPL via network so it makes sense to load the main U-Boot binary via network too. This patch tries to use existing network code as much as possible. Unfortunately, it depends on environment which in turn depends on other code so SPL size is increased significantly. No effort was done to decouple network code and environment so far.
Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com> Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 4063c77d | 17-Sep-2012 |
Ilya Yanok <ilya.yanok@cogentembedded.com> |
OMAP: spl: call timer_init() from SPL
We need to initialize timer properly, otherwise all delays inside SPL will be wrong.
Signed-off-by: Ilya Yanok <ilya.yanok@cogentembedded.com> |
| e5acb883 | 29-Sep-2012 |
Anatolij Gustschin <agust@denx.de> |
cmd_fat.c: fix build warning
Commit cfda5aeab89d73779e26f0d34cf10f64caa67431 (cmd_fat: use common get_device_and_partition function) introduced a warning: cmd_fat.c: In function 'do_fat_fswrite': cm
cmd_fat.c: fix build warning
Commit cfda5aeab89d73779e26f0d34cf10f64caa67431 (cmd_fat: use common get_device_and_partition function) introduced a warning: cmd_fat.c: In function 'do_fat_fswrite': cmd_fat.c:178:8: warning: unused variable 'ep' [-Wunused-variable]
Fix it.
Signed-off-by: Anatolij Gustschin <agust@denx.de> Reported-by: Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
show more ...
|
| f2b96dfb | 28-Sep-2012 |
Lei Wen <adrian.wenl@gmail.com> |
common: add zip command support
Signed-off-by: Lei Wen <leiwen@marvell.com> |
| cec2655c | 27-Sep-2012 |
Tom Rini <trini@ti.com> |
Merge branch 'master' of git://git.denx.de/u-boot-net |
| c57b953d | 30-Aug-2012 |
Pavel Machek <pavel@denx.de> |
SPL: Add support for loading image from ram in SPL.
Signed-off-by: Pavel Machek <pavel@denx.de> Signed-off-by: Tom Rini <trini@ti.com> |
| 42120981 | 27-Aug-2012 |
Tom Rini <trini@ti.com> |
SPL: Rework how we inform about un-headered images
First, remove the puts from the case where we don't have an mkimage header as this is somewhat common and intentional for no-arg target images. Se
SPL: Rework how we inform about un-headered images
First, remove the puts from the case where we don't have an mkimage header as this is somewhat common and intentional for no-arg target images. Second, rework the final switch statement in board_init_r to, in the case of !CONFIG_SPL_OS_BOOT be only about doing debug prints about if we know what the magic is or not (the CONFIG_SPL_OS_BOOT case is unchanged). Then we call jump_to_image_no_args(). This gives us the same behavior as before but with slightly smaller code.
Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|
| 1292eaf3 | 27-Aug-2012 |
Tom Rini <trini@ti.com> |
SPL: Make un-supported boot device puts a debug instead
Signed-off-by: Tom Rini <trini@ti.com> |
| 3c6f8a0d | 28-Aug-2012 |
Stefan Roese <sr@denx.de> |
SPL: Enable use of custom defined U-Boot entry point
By setting CONFIG_SYS_UBOOT_START boards can now use a different entry point for their U-Boot image. So the U-Boot entry point is not fixed to CO
SPL: Enable use of custom defined U-Boot entry point
By setting CONFIG_SYS_UBOOT_START boards can now use a different entry point for their U-Boot image. So the U-Boot entry point is not fixed to CONFIG_SYS_TEXT_BASE any more.
Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Tom Rini <trini@ti.com>
show more ...
|