summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
Commit message (Collapse)AuthorAgeLines
* common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger2007-07-04-11/+11
| | | | | | | | | | | | | | This is a compatibility step that allows both the older form and the new form to co-exist for a while until the older can be removed entirely. All transformations are of the form: Before: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) After: #if (CONFIG_COMMANDS & CFG_CMD_AUTOSCRIPT) || defined(CONFIG_CMD_AUTOSCRIPT) Signed-off-by: Jon Loeliger <jdl@freescale.com>
* Fix initrd length corruption in bootm command.Wolfgang Denk2007-05-04-2/+1
| | | | | | | | | When using FDT Images, the length of an inital ramdisk was overwritten (bug introduced by commit 87a449c8, 22 Aug 2006). Patches by Timur Tabi & Johns Daniel. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Improve the bootm command for CONFIG_OF_LIBFDTGerald Van Baren2007-04-14-8/+48
| | | | | | In bootm, create the "/chosen" node only if it doesn't already exist (better matches the previous behavior). Update for proper reserved memory map handling for initrd.
* Moved fdt command support code to fdt_support.cGerald Van Baren2007-04-06-1/+1
| | | | | ...in preparation for improving the bootm command's handling of fdt blobs. Also cleaned up some coding sloppiness.
* Fix some minor whitespace violations.Gerald Van Baren2007-03-31-1/+1
|
* Add a flattened device tree (fdt) command (2 of 2)Gerald Van Baren2007-03-31-10/+55
| | | | Modifications to the existing code to support the new fdt command.
* Code cleanup / re-insert previous Copyright entries.Wolfgang Denk2007-03-22-18/+18
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* [Blackfin][PATCH-2/2] Common files changed to support bf533 platformAubrey.Li2007-03-09-1/+2
|
* [PATCH] Allow CONFIG_OF_FLAT_TREE to boot a non-arch/powerpc kernelStefan Roese2006-11-27-32/+22
| | | | | | | | | This patch allows an arch/ppc kernel to be booted by just passing 1 or 2 arguments to bootm. It removes the getenv("disable_of") test that used to be used for this purpose. Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Acked-by: Jon Loeliger <jdl@freescale.com>
* Code cleanup.Wolfgang Denk2006-10-26-3/+2
|
* Added support for Multi-Image files that contain a device treeKumar Gala2006-10-24-6/+55
| | | | | | | | | | | | | If a Multi-Image file contains a third image we try to use it as a device tree. The device tree image is assumed to be uncompressed in the image file. We automatically allocate space for the device tree in memory and provide an 8k pad to allow more than a reasonable amount of growth. Additionally, a device tree that was contained in flash will now automatically get copied to system memory as part of boot. Previously an error was reported if one tried to boot a device tree that was in flash. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-10-24-5/+7
|\ | | | | | | | | (Conflicts between Jon Loeliger's and Matthew McClintock's tree were resolved by in favour of Jon's version.)
| * Fix possible uninitialized variable compiler warning.Grant Likely2006-10-12-1/+1
| | | | | | | | | | | | | | | | | | | | When CONFIG_OF_FLAG_TREE is set, the compiler complains that 'len' in do_bootm_linux() may be uninitialized. There is no possibility in the current code that len will get used uninitialized, but this fix follows the existing convention of setting both len and data to zero at the same time. Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
| * Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger2006-10-10-0/+3
| |\
| * | Fix disable_of bootingMatthew McClintock2006-08-22-1/+4
| | | | | | | | | | | | Signed-off-by: Matthew McClintock <msm@freescale.com>
| * | Support for FDT in uImage format, error when using FDT from flashMatthew McClintock2006-08-22-5/+65
| | | | | | | | | | | | Signed-off-by: Matthew McClintock <msm@freescale.com>
| * | Unlock cache before kernel starts up for MPC86xxHaiying Wang2006-08-17-2/+2
| | |
| * | Merge branch 'mpc85xx'Jon Loeliger2006-08-09-15/+27
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: include/ft_build.h include/pci.h Resolved, though.
| | * | * Patch to modify ft_build.c to update flat device trees in place Patch by ↵Matthew McClintock2006-08-09-1/+1
| | | | | | | | | | | | | | | | Matthew McClintock 26-June-2006
| | * | * Modify bootm command to support booting with flat device trees Patch by ↵Matthew McClintock2006-08-09-14/+26
| | | | | | | | | | | | | | | | Matthew McClintock 26-June-2006
| * | | Fixed initrd issue by define big RAMJin Zhengxiong2006-07-13-1/+0
| | | | | | | | | | | | | | | | Signed-off-by:Jason Jin <Jason.jin@freescale.com>
| * | | We made a u-boot patch to fix the hang up issueJason Jin2006-07-07-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | when booting filesystem from ramdisk. Signed-off-by:Jason Jin <Jason.jin@freescale.com>
| * | | Remove unneeded INIT_RAM_LOCK cache twiddling.Haiying Wang2006-05-10-2/+2
| |/ / | | | | | | | | | | | | | | | Correctly tracks r29 as global data pointer now. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
* | | Merge with http://opensource.freescale.com/pub/scm/u-boot-85xx.git#for_wdWolfgang Denk2006-10-11-6/+7
|\ \ \
| * | | * Fix a bunch of compiler warnings for gcc 4.0Matthew McClintock2006-10-11-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Matthew McClintock <msm@freescale.com>
| * | | * Another small fix for booting with disable_ofMatthew McClintock2006-08-23-5/+6
| | | | | | | | | | | | | | | | Signed-off-by: Matthew McClintock <msm@freescale.com>
* | | | Merge with /home/wd/git/u-boot/masterWolfgang Denk2006-10-11-0/+3
|\ \ \ \ | |/ / / |/| | / | | |/ | |/|
| * | Define IH_CPU_AVR32Stefan Roese2006-10-09-0/+3
| |/ | | | | | | | | | | Make it possible to generate AVR32 uImage files with mkimage and make cmd_bootm recognize them. Patch by Haavard Skinnemoen, 22 Sep 2006
* | * Fix disable_of bootingMatthew McClintock2006-08-16-1/+4
| | | | | | | | Signed-off-by: Matthew McClintock <msm@freescale.com>
* | * Support for FDT in uImage format, error when using FDT from flashMatthew McClintock2006-08-16-5/+65
| | | | | | | | Signed-off-by: Matthew McClintock <msm@freescale.com>
* | * Patch to modify ft_build.c to update flat device trees in placeMatthew McClintock2006-06-28-1/+1
| | | | | | | | Patch by Matthew McClintock 26-June-2006
* | * Modify bootm command to support booting with flat device treesMatthew McClintock2006-06-28-14/+26
|/ | | | Patch by Matthew McClintock 26-June-2006
* GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk2006-03-31-7/+2
|
* Change max size of uncompressed uImage's to 8MByte and addStefan Roese2006-03-13-2/+6
| | | | | | | | | | | CFG_BOOTM_LEN to adjust this setting. As mentioned by Robin Getz on 2005-05-24 the size of uncompressed uImages was restricted to 4MBytes. This default size is now increased to 8Mbytes and can be overrided by setting CFG_BOOTM_LEN in the board config file. Patch by Stefan Roese, 13 Mar 2006
* Merge with git://git.kernel.org/pub/scm/boot/u-boot/u-boot.git#ft_infrWolfgang Denk2006-03-12-6/+10
|\
| * Add support for passing initrd information via flat device treeKumar Gala2006-01-11-6/+10
| | | | | | | | Patch by Kumar Gala 11 Jan 2006
* | Add ADI Blackfin supportWolfgang Denk2006-03-12-0/+2
| | | | | | | | | | | | | | - add support for Analog Devices Blackfin BF533 CPU - add support for the ADI BF533 Stamp uClinux board - add support for the ADI BF533 EZKit board Patches by Richard Klingler, June 11th 2005:
* | Add loads of ntohl() in image header handlingWolfgang Denk2006-03-12-9/+9
|/ | | | Patch by Steven Scholz, 10 Jun 2005
* Merge with /home/m8/git/u-bootWolfgang Denk2005-10-15-2/+2
|\
| * Added support for TQM834x boards.Marian Balakowicz2005-10-11-2/+2
| |
* | Cleanup for GCC-4.xWolfgang Denk2005-10-13-9/+9
| |
* | Support passing of OF flat trees to the kernel.Wolfgang Denk2005-10-13-0/+42
|/ | | | Patch by Pantelis Antoniou, 04 Sep 2005
* Fix booting from serial dataflash on AT91RM9200Wolfgang Denk2005-10-06-7/+9
| | | | Patch by Peter Menzebach, 29 Aug 2005
* * Patch by Jon Loeliger, Kumar Gala 2005-02-08Jon Loeliger2005-07-23-2/+2
| | | | | | | | - Convert the CPM2 based functionality to use new CONFIG_CPM2 option rather than a myriad of CONFIG_MPC8560-like variants. Applies to MPC85xx and MPC8260 boards, includes stxgp3 and sbc8560. Eliminates the CONFIG_MPC8560 option entirely. Distributes the new CONFIG_CPM2 option to each 8260 board.
* * Patch by Travis Sawyer, 10 Jun 2005:wdenk2005-06-20-1/+1
| | | | | | | | | Initialize allocated dev and private hw structures after their respective allocation in 440gx_enet.c * Patch by Steven Scholz, 10 Jun 2005: Fix byteorder problems with second argument of "bootm" with standalone images;
* * Patch by Scott McNutt, 01 Nov 2004:wdenk2005-04-03-0/+2
| | | | | | | Add missing NIOS/NIOS2 support for "iminfo" command * Patch by Detlev Zundel, 29 Oct 2004: Add missing NIOS/NIOS2 support for "mkimage" tool.
* * Update for AT91RM9200DK and CMC_PU2 boards:wdenk2004-11-21-7/+7
| | | | | | | - Enable booting directly from flash - fix CMC_PU2 flash driver * Fix mkimage usage message
* Patch by TsiChung Liew, 23 Sep 2004:wdenk2004-10-28-0/+7
| | | | | - add support for MPC8220 CPU - Add support for Alaska and Yukon boards
* Patches by Scott McNutt, 24 Aug 2004:wdenk2004-10-10-0/+2
| | | | | | - Add support for Altera Nios-II processors. - Add support for Psyent PCI-5441 board. - Add support for Psyent PK1C20 board.
* * Patch by Detlev Zundel, 08 Sep 2004:wdenk2004-09-08-3/+3
| | | | | | | | | | | Update etags build target * Improve NetConsole support: add support for broadcast destination address and buffered input. * Cleanup compiler warnings for GCC 3.3.x and later * Fix problem in cmd_jffs2.c introduced by CFG_JFFS_SINGLE_PART patch