- 14 1月, 2012 1 次提交
-
-
由 Stefan Kristiansson 提交于
Signed-off-by: NStefan Kristiansson <stefan.kristiansson@saunalahti.fi>
-
- 01 12月, 2011 1 次提交
-
-
由 Stephen Warren 提交于
The legacy uImage format includes an absolute load and entry-point address. When bootm operates on a kernel uImage in memory that isn't loaded at the address in the image's load address, U-Boot will copy the image to its address in the header. Some kernel images can actually be loaded and used at any arbitrary address. An example is an ARM Linux kernel zImage file. To represent this capability, IH_TYPE_KERNEL_NOLOAD is implemented, which operates just like IH_TYPE_KERNEL, except that the load address header is ignored, and U-Boot does not copy the image to its load address, but rather uses it in-place. This is useful when sharing a single (uImage-wrapped) zImage across multiple boards with different memory layouts; in this case, a specific load address need not be picked when creating the uImage, but instead is selected by the board-specific U-Boot environment used to load and boot that image. v2: Rename from IH_TYPE_KERNEL_ANYLOAD to IH_TYPE_KERNEL_NOLOAD. Signed-off-by: NStephen Warren <swarren@nvidia.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
- 23 11月, 2011 1 次提交
-
-
由 Stefan Kristiansson 提交于
NDS32 and SANDBOX architecture were sharing the same IH_ARCH number Signed-off-by: NStefan Kristiansson <stefan.kristiansson@saunalahti.fi> Acked-by: NMacpaul Lin <macpaul@andestech.com> Acked-by: NMarek Vasut <marek.vasut@gmail.com>
-
- 28 10月, 2011 1 次提交
-
-
由 Thierry Reding 提交于
Commit 476af299 broke this check when the ifdef lists we consolidated. Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 24 10月, 2011 1 次提交
-
-
由 Stefano Babic 提交于
Some Davinci processors supports the Application Image Script (AIS) boot process. The patch adds the generation of the AIS image inside the mkimage tool to make possible to generate a bootable U-boot without external tools (TI Davinci AIS Generator). Signed-off-by: NStefano Babic <sbabic@denx.de> CC: Wolfgang Denk <wd@denx.de>
-
- 22 10月, 2011 2 次提交
-
-
由 Stephen Warren 提交于
This avoids the following checkpatch warning in later patches: ERROR: "(foo*)" should be "(foo *)" ERROR: space required before the open brace '{' ERROR: space prohibited before that close parenthesis ')' ERROR: spaces required around that '||' (ctx:WxV) WARNING: space prohibited between function name and open parenthesis '(' WARNING: line over 80 characters This fixes all the white-space warnings/errors in my subsequent patch, and within this current patch. A number of other checkpatch warnings and errors are still present in this patch itself, but are beyond simple whitespace fixes, so are not solved by this patch. v2: New patch Signed-off-by: NStephen Warren <swarren@nvidia.com> Tested-by: NSimon Glass <sjg@chromium.org> Tested-by: NSimon Glass <sjg@chromium.org>
-
由 Macpaul Lin 提交于
Add support of NDS32 to common commands bdinfo, bootm, and image format. Signed-off-by: NMacpaul Lin <macpaul@andestech.com>
-
- 18 10月, 2011 1 次提交
-
-
由 Simon Glass 提交于
We won't actually load an image with this architecture, but we still need to define it. Signed-off-by: NSimon Glass <sjg@chromium.org>
-
- 06 10月, 2011 1 次提交
-
-
由 Mike Frysinger 提交于
This pushes the ugly duplicated arch ifdef lists we maintain in various image related files out to the arch headers themselves. Acked-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org> Tested-by: NThomas Chou <thomas@wytron.com.tw> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 03 8月, 2011 1 次提交
-
-
由 John Rigby 提交于
- Add mkimage support for OMAP boot image - Add support for OMAP boot image(MLO) generation in the new SPL framework Signed-off-by: NJohn Rigby <john.rigby@linaro.org> Signed-off-by: NAneesh V <aneesh@ti.com> Signed-off-by: NSandeep Paulraj <s-paulraj@ti.com>
-
- 28 7月, 2011 1 次提交
-
-
由 Heiko Schocher 提交于
creating an u-boot.ubl file, which contains the UBL Header needed for booting from NAND with the RBL from TI. For more information read doc/README.ublimage. Signed-off-by: NHeiko Schocher <hs@denx.de>
-
- 26 4月, 2011 3 次提交
-
-
由 Grant Likely 提交于
If a regions is reserved in the fdt, then it should not be used. Add the memreserve regions to the lmb so that u-boot doesn't use them to store the initrd. Signed-off-by: NGrant Likely <grant.likely@linaro.org>
-
由 Grant Likely 提交于
This patch adds a function getenv_bootm_mapsize() for obtaining the size of the early mapped region accessible by the kernel during early boot. It defaults to CONFIG_SYS_BOOTMAPSZ, or if not defined, defaults to getenv_bootm_size(), which in turn defaults to the size of RAM. getenv_bootm_mapsize() can also be overridden with a "bootm_mapsize" environmental variable. Signed-off-by: NGrant Likely <grant.likely@linaro.org>
-
由 Grant Likely 提交于
For the calls to boot_relocate_fdt(), boot_get_cmdline(), and boot_get_kbd(), the value of bootmem_base is always obtained by calling getenv_bootm_low(). Since the value always comes from the same source, the calling signature for those functions can be simplified by making them call getenv_bootm_low() directly. Signed-off-by: NGrant Likely <grant.likely@linaro.org>
-
- 29 11月, 2010 1 次提交
-
-
由 Mike Frysinger 提交于
These are pure lookup tables -- no need to be writable. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 19 10月, 2010 1 次提交
-
-
由 John Rigby 提交于
The routines boot_ramdisk_high, boot_get_cmdline and boot_get_kbd are currently enabled by various combinations of CONFIG_M68K, CONFIG_POWERPC and CONFIG_SPARC. Use CONFIG_SYS_BOOT_<FEATURE> defines instead. CONFIG_SYS_BOOT_RAMDISK_HIGH CONFIG_SYS_BOOT_GET_CMDLINE CONFIG_SYS_BOOT_GET_KBD Define these as appropriate in arch/include/asm/config.h files. Signed-off-by: NJohn Rigby <john.rigby@linaro.org> Acked-by: NWolfgang Denk <wd@denx.de>
-
- 28 9月, 2010 1 次提交
-
-
由 Torkel Lundgren 提交于
Add OSE as operating system for mkimage and bootm. Signed-off-by: NTorkel Lundgren <torkel.lundgren@enea.com>
-
- 05 7月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
The hush shell dynamically allocates (and re-allocates) memory for the argument strings in the "char *argv[]" argument vector passed to commands. Any code that modifies these pointers will cause serious corruption of the malloc data structures and crash U-Boot, so make sure the compiler can check that no such modifications are being done by changing the code into "char * const argv[]". This modification is the result of debugging a strange crash caused after adding a new command, which used the following argument processing code which has been working perfectly fine in all Unix systems since version 6 - but not so in U-Boot: int main (int argc, char **argv) { while (--argc > 0 && **++argv == '-') { /* ====> */ while (*++*argv) { switch (**argv) { case 'd': debug++; break; ... default: usage (); } } } ... } The line marked "====>" will corrupt the malloc data structures and usually cause U-Boot to crash when the next command gets executed by the shell. With the modification, the compiler will prevent this with an error: increment of read-only location '*argv' N.B.: The code above can be trivially rewritten like this: while (--argc > 0 && **++argv == '-') { char *arg = *argv; while (*++arg) { switch (*arg) { ... Signed-off-by: NWolfgang Denk <wd@denx.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 30 6月, 2010 1 次提交
-
-
由 Wolfgang Denk 提交于
ISO C does not allow extra ';' outside of a function Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 28 5月, 2010 1 次提交
-
-
由 Thomas Chou 提交于
The nios-32 arch is obsolete and broken. So it is removed. Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
-
- 26 1月, 2010 1 次提交
-
-
由 Stefano Babic 提交于
This patch adds support for "imximage" (MX Boot Image) to the mkimage utility. The imximage is used on the Freescales's MX.25, MX.35 and MX.51 processors. Further details under doc/README.imximage. This patch was tested on a Freescale mx51evk board. Signed-off-by: NStefano Babic <sbabic@denx.de>
-
- 22 1月, 2010 3 次提交
-
-
由 Mike Frysinger 提交于
The u-boot command structures don't get used with host systems, so don't bother including it when building host code. This avoids an implicit need on config.h in the process. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
由 Mike Frysinger 提交于
The sha1 code is currently compiled for everyone, but in reality, it's only used by the FIT code. So make it optional just like MD5. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 05 12月, 2009 1 次提交
-
-
由 Peter Korsgaard 提交于
Add lzop decompression support to the existing lzo bitstream handling (think gzip versus zlib), and support it for uImage decompression if CONFIG_LZO is enabled. Lzop doesn't compress as good as gzip (~10% worse), but decompression is very fast (~0.7s faster here on a slow ppc). The lzop decompression code is based on Albin Tonnerre's recent ARM Linux lzo support patch. Cc: albin.tonnerre@free-electrons.com Signed-off-by: NPeter Korsgaard <jacmet@sunsite.dk>
-
- 25 11月, 2009 1 次提交
-
-
由 Remy Bohmer 提交于
Signed-off-by: NRemy Bohmer <linux@bohmer.net>
-
- 03 10月, 2009 4 次提交
-
-
由 Prafulla Wadaskar 提交于
This patch adds support for "kwbimage" (Kirkwood Boot Image) image types to the mkimage code. For details refer to docs/README.kwbimage This patch is tested with Sheevaplug board Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com> Acked-by: NRon Lee <ron@debian.org> Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Prafulla Wadaskar 提交于
- make get_table_entry_id() global - make get_table_entry_name() global - move struct table_entry to image.h Currently this code is used by image.c only. This patch makes this API global so it can be used by other parts of code, too. Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com> Acked-by: Ron Lee <ron.debian.org> Edit comments and commit message. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Prafulla Wadaskar 提交于
Currently it is used by image.c only, but the the function can be used to support additional mkimage types like for example kwbimage, so make this function globally visible. Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com> Edited commit message. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
This fixes some compiler warnings: tools/default_image.c:141: warning: initialization from incompatible pointer type tools/fit_image.c:202: warning: initialization from incompatible pointer type and changes to code to use "const" attributes in a few places where it's appropriate. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 11 9月, 2009 4 次提交
-
-
由 Prafulla Wadaskar 提交于
This patch adds support for "kwbimage" (Kirkwood Boot Image) image types to the mkimage code. For details refer to docs/README.kwbimage This patch is tested with Sheevaplug board Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com> Acked-by: NRon Lee <ron@debian.org> Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com>
-
由 Prafulla Wadaskar 提交于
- make get_table_entry_id() global - make get_table_entry_name() global - move struct table_entry to image.h Currently this code is used by image.c only. This patch makes this API global so it can be used by other parts of code, too. Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com> Acked-by: Ron Lee <ron.debian.org> Edit comments and commit message. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Prafulla Wadaskar 提交于
Currently it is used by image.c only, but the the function can be used to support additional mkimage types like for example kwbimage, so make this function globally visible. Signed-off-by: NPrafulla Wadaskar <prafulla@marvell.com> Edited commit message. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
This fixes some compiler warnings: tools/default_image.c:141: warning: initialization from incompatible pointer type tools/fit_image.c:202: warning: initialization from incompatible pointer type and changes to code to use "const" attributes in a few places where it's appropriate. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
- 20 7月, 2009 1 次提交
-
-
由 Mike Frysinger 提交于
Shove a lot of the HOSTCC and related #ifdef checking crap into the new compiler.h header so that we can keep all other headers nice and clean. Also introduce custom uswap functions so we don't have to rely on the non standard implementations that a host may (or may not in the case of OS X) provide. This allows mkimage to finally build cleanly on an OS X system. Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 04 4月, 2009 1 次提交
-
-
由 Peter Tyser 提交于
Add support for compiling the host tools in the tools directory using the MinGW toolchain. This produces executables which can be used on standard Windows computers without requiring cygwin. One must specify the MinGW compiler and strip utilities as if they were the host toolchain in order to build win32 executables, eg: make HOSTCC=i586-mingw32msvc-gcc HOSTSTRIP=i586-mingw32msvc-strip tools Signed-off-by: NPeter Tyser <ptyser@xes-inc.com>
-
- 18 2月, 2009 1 次提交
-
-
由 Petri Lehtinen 提交于
Because the functions have been defined using macros, grepping for their definitions is not possible. This patch adds the real function names in comments. Signed-off-by: NPetri Lehtinen <petri.lehtinen@inoi.fi> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
- 14 12月, 2008 1 次提交
-
-
FDT support is used for both FIT style images and for architectures that can pass a fdt blob to an OS (ppc, m68k, sparc). For other architectures and boards which do not pass a fdt blob to an OS but want to use the new uImage format, we just need FIT support. Now we can have the 4 following configurations : 1) FIT only CONFIG_FIT 2) fdt blob only CONFIG_OF_LIBFDT 3) both CONFIG_OF_LIBFDT & CONFIG_FIT 4) none none Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
- 29 10月, 2008 1 次提交
-
-
由 Kumar Gala 提交于
Add the ability to break the steps of the bootm command into several subcommands: start, loados, ramdisk, fdt, bdt, cmdline, prep, go. This allows us to do things like manipulate device trees before they are passed to a booting kernel or setup memory for a secondary core in multicore situations. Not all OS types support all subcommands (currently only start, loados, ramdisk, fdt, and go are supported). Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
-
- 22 10月, 2008 1 次提交
-
-
由 Wolfgang Denk 提交于
On some systems (for example Fedora Core 4) U-Boot builds with the following wanrings only: ... In file included from /home/wd/git/u-boot/include/libfdt_env.h:33, from fdt.c:51: /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include <endian.h> instead! This patch fixes this problem. Signed-off-by: NWolfgang Denk <wd@denx.de>
-