summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
AgeCommit message (Collapse)Author
2007-08-10fdt: do board setup based on fdt address specified on bootm lineKim Phillips
The last fdt patch to bootm did board setup based on the address specified by a prior fdt address command invocation. The bootm code, as its call to fdt_chosen does, should use the fdt specified by the user on the bootm command. Note this restores full functionality for the 8360's existing default boot environment values, e.g. 'run nfsboot' (i.e. no having to 'fdt addr $fdtaddr' before booting a kernel). Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
2007-08-10Call ft_board_setup() from the bootm command.Gerald Van Baren
In the patch titled "Create new fdt boardsetup command..." I removed the call to ft_board_setup() from the routine fdt_chosen(), but I forgot to add a direct call back into cmd_bootm.c This fixes the oversight by adding the direct call to the bootm command. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10Asthetic improvements: error messages and line lengths.Gerald Van Baren
Tighten up the error messages, split overlength lines. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10Reorganize and fix problems (returns) in the bootm command.Gerald Van Baren
Do *NOT* return after the "point of no return" has been passed. If something goes wrong, the board must be reset after that point. Move the "Transferring control to Linux" debug message back to where it belongs: just before transferring control to linux. Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-10Fix bugs in the CONFIG_OF_LIBFDTGerald Van Baren
Stupid coding mistakes (identified by Timur Tabi, thanks). Signed-off-by: Gerald Van Baren <vanbaren@cideas.com>
2007-08-06Merge with /home/wd/git/u-boot/custodian/u-boot-testingWolfgang Denk
2007-07-13make show_boot_progress () weak.Heiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2007-07-10common/: Remove lingering references to CFG_CMD_* symbols.Jon Loeliger
Fixed some broken instances of "#ifdef CMD_CFG_IDE" too. Those always evaluated TRUE, and thus were always compiled even when IDE really wasn't defined/wanted. Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-08common/cmd_[af]*: Remove obsolete references to CONFIG_COMMANDS.Jon Loeliger
Signed-off-by: Jon Loeliger <jdl@freescale.com>
2007-07-04common/cmd_[a-f]* : Augment CONFIG_COMMANDS tests with defined(CONFIG_CMD_*).Jon Loeliger
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>
2007-05-13sh: First support code of SuperH.Nobuhiro Iwamatsu
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2007-05-04Fix initrd length corruption in bootm command.Wolfgang Denk
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>
2007-04-14Improve the bootm command for CONFIG_OF_LIBFDTGerald Van Baren
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.
2007-04-06Moved fdt command support code to fdt_support.cGerald Van Baren
...in preparation for improving the bootm command's handling of fdt blobs. Also cleaned up some coding sloppiness.
2007-03-31Fix some minor whitespace violations.Gerald Van Baren
2007-03-31Add a flattened device tree (fdt) command (2 of 2)Gerald Van Baren
Modifications to the existing code to support the new fdt command.
2007-03-22Code cleanup / re-insert previous Copyright entries.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2007-03-09[Blackfin][PATCH-2/2] Common files changed to support bf533 platformAubrey.Li
2006-11-27[PATCH] Allow CONFIG_OF_FLAT_TREE to boot a non-arch/powerpc kernelStefan Roese
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>
2006-10-26Code cleanup.Wolfgang Denk
2006-10-24Added support for Multi-Image files that contain a device treeKumar Gala
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>
2006-10-24Merge with /home/wd/git/u-boot/masterWolfgang Denk
(Conflicts between Jon Loeliger's and Matthew McClintock's tree were resolved by in favour of Jon's version.)
2006-10-12Fix possible uninitialized variable compiler warning.Grant Likely
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>
2006-10-11Merge with http://opensource.freescale.com/pub/scm/u-boot-85xx.git#for_wdWolfgang Denk
2006-10-11* Fix a bunch of compiler warnings for gcc 4.0Matthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-10-11Merge with /home/wd/git/u-boot/masterWolfgang Denk
2006-10-10Merge branch 'master' of http://www.denx.de/git/u-bootJon Loeliger
2006-10-09Define IH_CPU_AVR32Stefan Roese
Make it possible to generate AVR32 uImage files with mkimage and make cmd_bootm recognize them. Patch by Haavard Skinnemoen, 22 Sep 2006
2006-08-23* Another small fix for booting with disable_ofMatthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-22Fix disable_of bootingMatthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-22Support for FDT in uImage format, error when using FDT from flashMatthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-17Unlock cache before kernel starts up for MPC86xxHaiying Wang
2006-08-16* Fix disable_of bootingMatthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-16* Support for FDT in uImage format, error when using FDT from flashMatthew McClintock
Signed-off-by: Matthew McClintock <msm@freescale.com>
2006-08-09Merge branch 'mpc85xx'Jon Loeliger
Conflicts: include/ft_build.h include/pci.h Resolved, though.
2006-08-09* Patch to modify ft_build.c to update flat device trees in place Patch by ↵Matthew McClintock
Matthew McClintock 26-June-2006
2006-08-09* Modify bootm command to support booting with flat device trees Patch by ↵Matthew McClintock
Matthew McClintock 26-June-2006
2006-07-13Fixed initrd issue by define big RAMJin Zhengxiong
Signed-off-by:Jason Jin <Jason.jin@freescale.com>
2006-07-07We made a u-boot patch to fix the hang up issueJason Jin
when booting filesystem from ramdisk. Signed-off-by:Jason Jin <Jason.jin@freescale.com>
2006-06-28* Patch to modify ft_build.c to update flat device trees in placeMatthew McClintock
Patch by Matthew McClintock 26-June-2006
2006-06-28* Modify bootm command to support booting with flat device treesMatthew McClintock
Patch by Matthew McClintock 26-June-2006
2006-05-10Remove unneeded INIT_RAM_LOCK cache twiddling.Haiying Wang
Correctly tracks r29 as global data pointer now. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
2006-03-31GCC-4.x fixes: clean up global data pointer initialization for all boards.Wolfgang Denk
2006-03-13Change max size of uncompressed uImage's to 8MByte and addStefan Roese
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
2006-03-12Merge with git://git.kernel.org/pub/scm/boot/u-boot/u-boot.git#ft_infrWolfgang Denk
2006-03-12Add ADI Blackfin supportWolfgang Denk
- 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:
2006-03-12Add loads of ntohl() in image header handlingWolfgang Denk
Patch by Steven Scholz, 10 Jun 2005
2006-01-11Add support for passing initrd information via flat device treeKumar Gala
Patch by Kumar Gala 11 Jan 2006
2005-10-15Merge with /home/m8/git/u-bootWolfgang Denk
2005-10-13Cleanup for GCC-4.xWolfgang Denk