- Oct 03, 2012
-
-
Joe Hershberger authored
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>
-
Joe Hershberger authored
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>
-
Joe Hershberger authored
Only print when queried, not every time the setting is changed. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Joe Hershberger authored
Old code that is not compliant. Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Joe Hershberger authored
Adjustment of Michael Walle's fix patch Commit 8a0eccb1 breaks netconsole. src_ip must not be converted to host byte order, because nc_ip is already stored in network byte order (see string_to_ip(), called by getenv_IPaddr()). Signed-off-by:
Joe Hershberger <joe.hershberger@ni.com>
-
Joe Hershberger authored
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>
-
Joe Hershberger authored
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>
-
Joe Hershberger authored
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>
-
Joe Hershberger authored
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>
-
Joe Hershberger authored
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>
-
Joe Hershberger authored
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>
-
- Oct 02, 2012
-
-
Karl O. Pinc authored
Signed-off-by:
Karl O. Pinc <kop@meme.com>
-
Chan-Taek Park authored
-
Łukasz Majewski authored
Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com>
-
Wolfgang Denk authored
Some of the previous changes caused the code to grow, which causes errors like u-boot.lds:76 cannot move location counter backwards (from 4000828c to 40008000) when building with some older tool chains (like ELDK 4.2). Adjust the linker script to make fit again. Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Grandegger authored
Since a while, the size of the u-boot.bin image is larger than 256kB. This requires moving the environment sectors by one. As we are at it, we also update a few other custom settings. Signed-off-by:
Wolfgang Grandegger <wg@denx.de>
-
Stefan Kristiansson authored
Signed-off-by:
Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
-
Stefan Kristiansson authored
Signed-off-by:
Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
-
- Oct 01, 2012
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
The AP1000 defines a 'get_device' function to determine what board revision we are on. Inline that checking as it conflicts with the get_device() in <part.h> and is only used once. Signed-off-by:
Tom Rini <trini@ti.com>
-
- Sep 29, 2012
-
-
Simon Glass authored
This file is required for all archs. Fixes a sandbox build break on ext4. Signed-off-by:
Simon Glass <sjg@chromium.org>
-
Anatolij Gustschin authored
Commit cfda5aea (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>
-
Lei Wen authored
Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
Lei Wen authored
Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
Lei Wen authored
We often need the requirement that compressing those memory range start from 0, but the default deflate code in zlib prevent us to do this. Considering the special case of uboot, that it could access all memory range, it is reasonable to be able to also take the address space from 0 into compression. Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
Lei Wen authored
Add a new config CONFIG_GZIP_ENABLED, if enabled, the uboot bin would include zlib's deflate method which could be used for compressing. Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
Lei Wen authored
Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
Lei Wen authored
Signed-off-by:
Lei Wen <leiwen@marvell.com>
-
- Sep 28, 2012
-
-
Pavel Herrmann authored
We set sata_curr_device to 0 right after returning from init_sata(), so there's no point in setting it to the last scanned driver at this point. Note: there are more duplicities with cmd_sata, but those might be required, as the code seems to reset the entire controller on every scan, ignoring the requested port number. Signed-off-by:
Pavel Herrmann <morpheus.ibis@gmail.com>
-
Stephen Warren authored
Commit 10a37fd7 "disk: get_device_and_partition() "auto" partition" prevented the use of "-" on the command-line to request fallback to the $bootdevice environment variable instead. This patch allows that, or an empty string "" to be used. Tested: setenv bootfile /boot/zImage setenv bootdevice 0:1 ext2load mmc 0:1 ext2load mmc - ext2load mmc "" Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
- Sep 27, 2012
-
-
git://git.denx.de/u-boot-netTom Rini authored
-
Pavel Machek authored
Signed-off-by:
Pavel Machek <pavel@denx.de> Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
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>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Stefan Roese authored
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>
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
Stefan Roese authored
On some system (e.g. powerpc), the load-address and entry-point is located at address 0. So the current approach to load the image (payload) including the header to the address "load-address - 64" can't work here. This patch adds an flag to skip this copying including header to the SPL framework. By setting SPL_COPY_PAYLOAD_ONLY, only the playload will be copied. This will be used by the SPL NOR flash driver on powerpc. Signed-off-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Tom Rini <trini@ti.com>
-
Stefan Roese authored
SPL NOR flash booting support is quite simple. Only copying of the images is needed. On MPC5xxx we need to make sure to only use the standard memcpy() implementation and not the MPC5xxx specific one. As the MPC5xxx version has some complexity which is not needed for this SPL booting. Signed-off-by:
Stefan Roese <sr@denx.de> Signed-off-by:
Tom Rini <trini@ti.com>
-
Tom Rini authored
This file documents when to build for da850evm and when to build for da850_am18xxevm. It also documents how to write the u-boot.ais file to persistent storage (such as SPI), in some cases as well as how to write a recovery image. Signed-off-by:
Tom Rini <trini@ti.com> Acked-by:
Christian Riesch <christian.riesch@omicron.at> Acked-by:
Prabhakar Lad <prabhakar.lad@ti.com>
-
Sughosh Ganu authored
The common spl framework expects the u-boot payload size through CONFIG_SYS_MONITOR_LEN. Define the macro with the u-boot's size. With this change, CONFIG_SYS_NAND_U_BOOT_SIZE is no longer required. Delete the same. Signed-off-by:
Tom Rini <trini@ti.com> Signed-off-by:
Sughosh Ganu <urwithsughosh@gmail.com>
-