summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 85xx: Add the concept of CFG_CCSRBAR_PHYSKumar Gala2008-03-2634-19/+36
| | | | | | | | | When we go to 36-bit physical addresses we need to keep the concept of the physical CCSRBAR address seperate from the virtual one. For the majority of boards CFG_CCSBAR_PHYS == CFG_CCSRBAR Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
* Coding style cleanup.Wolfgang Denk2008-03-261-11/+11
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Add CFG_RTC_DS1337_NOOSC to turn off OSC outputJoakim Tjernlund2008-03-262-2/+10
| | | | | | | | The default settings for RTC DS1337 keeps the OSC output, 32,768 Hz, on. This add CFG_RTC_DS1337_NOOSC to turn it off. Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund@transmode.se>
* Cleanup coding style, update CHANGELOGWolfgang Denk2008-03-268-80/+1505
| | | | Signed-off-by: Wolfgang Denk <wd@denx.de>
* Merge branch 'master_merge_new-image' of /home/tur/git/u-bootWolfgang Denk2008-03-2682-3225/+8248
|\
| * Merge branch 'new-image' of git://www.denx.de/git/u-boot-testingBartlomiej Sieka2008-03-2682-3225/+8248
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: common/cmd_bootm.c cpu/mpc8xx/cpu.c Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * [new uImage] Enable new uImage support for the pcs440ep board.Bartlomiej Sieka2008-03-201-0/+6
| | | | | | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * [new uImage] Do not compile new uImage format support by defaultBartlomiej Sieka2008-03-201-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable default building of new uImage format support in preparation for merge with the master. Support for new format can be enabled on a per-board basis, by defining the following in the board's config file: #define CONFIG_FIT 1 #define CONFIG_OF_LIBFDT 1 This can be optionally defined to give more verbose output: #define CONFIG_FIT_VERBOSE 1 /* enable fit_format_{error,warning}() */ Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * [new uImage] Disable debuging output in preparation for merge with masterBartlomiej Sieka2008-03-203-3/+0
| | | | | | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * [new uImage] Compilation and new uImage handling fixes for imxtractBartlomiej Sieka2008-03-201-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | Fix imxtract command not being compiled-in despite CONFIG_CMD_XIMG being in include/config_cmd_default.h. Fix few warnings and handling of new format images. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * [new uImage] Fix autoscr command used with new uImage formatBartlomiej Sieka2008-03-201-2/+7
| | | | | | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * [new uImage] Fix *.its files location in documentationBartlomiej Sieka2008-03-202-10/+11
| | | | | | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * [new uImage] Fix style issue spotted by Wolfgang Denk <wd@denx.org>Bartlomiej Sieka2008-03-191-11/+7
| | | | | | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * Add MD5 support to the new uImage formatBartlomiej Sieka2008-03-145-5/+16
| | | | | | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * Add the MD5 algorithmBartlomiej Sieka2008-03-143-0/+298
| | | | | | | | | | | | | | | | | | | | | MD5 supoprt is turned on by defining CONFIG_MD5, the digest can be then calculated using the md5() function -- see include/md5.h for details. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * Merge branch 'master' of git://www.denx.de/git/u-boot into new-imageMarian Balakowicz2008-03-12183-785/+1975
| | |\
| | * | [new uImage] Fix build issue on ARMMarian Balakowicz2008-03-121-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | ARM platforms don't have a bd->bi_memsize so use bd->bi_dram[0].size instead. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | [new uImage] Add new uImage format documentation and examplesMarian Balakowicz2008-03-127-4/+981
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create doc/uImage.FIT documentation directory with the following files: - command_syntax_extensions.txt : extended command syntax description - howto.txt : short usage howto - source_file_format.txt : internal new uImage format description Add example image source files: - kernel.its - kernel_fdt.its - multi.its Update README appropriately. Signed-off-by: Marian Balakowicz <m8@semihalf.com> Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * | [new uImage] Fix definition of common bootm_headers_t fieldsMarian Balakowicz2008-03-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | verify, autostart and lmb fields are used regardless of CONFIG_FIT setting, move their definitions to common section. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Fix build problems on trab boardMarian Balakowicz2008-03-121-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add proper ramdisk/FDT handling when FIT configuration is usedMarian Balakowicz2008-03-125-64/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Save FIT configuration provied in the first bootm argument and use it when to get ramdisk/FDT subimages when second and third (ramdisk/FDT) arguments are not specified. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] More verbose kernel image uncompress error messageMarian Balakowicz2008-03-121-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Use show_boot_progress() for new uImage formatMarian Balakowicz2008-03-126-24/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch allocates a set of show_boot_progress() IDs for new uImage format and adds show_boot_progress() calls in new uImage format handling code. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add new uImage fromat support to fpga commandMarian Balakowicz2008-03-121-9/+76
| | | | | | | | | | | | | | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add new uImage format handling to other bootm related commandsMarian Balakowicz2008-03-126-64/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated commands: docboot - cmd_doc.c fdcboot - cmd_fdc.c diskboot - cmd_ide.c nboot - cmd_nand.c scsiboot - cmd_scsi.c usbboot - cmd_usb.c Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add new uImage format support to imgextract commandMarian Balakowicz2008-03-121-31/+78
| | | | | | | | | | | | | | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add new uImage format support to autoscript routineMarian Balakowicz2008-03-125-22/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | autoscript() routine is updated to accept second argument, which is only used for FIT images and provides a FIT subimage unit name. autoscript() routine callers must now pass two arguments. For non-interactive use (like in cmd_load.c, cmd_net.c), new environment variable 'autoscript_uname' is introduced and used as a FIT subimage unit name source. autoscript command accepts extended syntax of the addr argument: addr:<subimg_uname> Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add new uImage format support to arch specific do_bootm_linux() ↵Marian Balakowicz2008-03-1210-36/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | routines This patch updates architecture specific implementations of do_bootm_linux() adding new uImage format handling for operations like get kernel entry point address, get kernel image data start address. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add node offsets for FIT images listed in struct bootm_headersMarian Balakowicz2008-03-124-17/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds new node offset fields to struct bootm_headers and updates bootm_headers processing code to make use of them. Saved node offsets allow to avoid repeating fit_image_get_node() calls. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] ppc: Add new uImage format support to FDT handling routinesMarian Balakowicz2008-03-121-23/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support for new (FIT) format uImages is added to powerpc specific boot_get_fdt() routine which now recognizes, sanity checks FIT image and is able to access data sections of the requested component image. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Re-enable interrupts for non automatic bootingMarian Balakowicz2008-03-121-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Re-enable interrupts if we return from do_bootm_<os> and 'autostart' environment variable is not set to 'yes'. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Remove unnecessary arguments passed to ramdisk routinesMarian Balakowicz2008-03-128-37/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | boot_get_ramdisk() and image_get_ramdisk() do not need all cmdtp, flag, argc and argv arguments. Simplify routines definition. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add new uImage format support for ramdisk handlingMarian Balakowicz2008-03-121-16/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch updates boot_get_ramdisk() routine adding format verification and handling for new (FIT) uImages. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add new uImage format support for kernel bootingMarian Balakowicz2008-03-121-11/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New format uImages are recognized by the bootm command, validity of specified kernel component image is checked and its data section located and used for further processing (uncompress, load, etc.) Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add new uImage format support for imls and iminfo commandsMarian Balakowicz2008-03-111-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | imls and iminfo can now recognize nad print out contents of the new (FIT) format uImages. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Add support for new uImage format to mkimage toolBartlomiej Sieka2008-03-113-56/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support for the new uImage format (FIT) is added to mkimage tool. Commandline syntax is appropriately extended: mkimage [-D dtc_options] -f fit-image.its fit-image mkimage (together with dtc) takes fit-image.its and referenced therein binaries (like vmlinux.bin.gz) as inputs, and produces fit-image file -- the final image that can be transferred to the target (e.g., via tftp) and then booted using the bootm command in U-Boot. Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * | [new uImage] Make node unit names const in struct bootm_headersMarian Balakowicz2008-03-101-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] New uImage low-level APIMarian Balakowicz2008-03-103-6/+1420
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add FDT-based functions for handling new format component images, configurations, node operations, property get/set, etc. fit_ - routines handling global new format uImage operations like get/set top level property, process all nodes, etc. fit_image_ - routines handling component images subnodes fit_conf_ - routines handling configurations node Signed-off-by: Bartlomiej Sieka <tur@semihalf.com> Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Fix FDT blob totalsize calculation in boot_relocate_fdt()Marian Balakowicz2008-02-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not use global fdt blob pointer, calculate blob size from routine argument blob pointer. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | libfdt: Add and use a node iteration helper function.David Gibson2008-02-293-174/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds an fdt_next_node() function which can be used to iterate through nodes of the tree while keeping track of depth. This function is used to simplify the iteration code in a lot of other functions, and is also exported for use by library users. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
| | * | [new uImage] Add libfdt support to mkimageBartlomiej Sieka2008-02-2911-3/+111
| | | | | | | | | | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * | [new uImage] Add sha1.o object to mkimage binary buildBartlomiej Sieka2008-02-292-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
| | * | [new uImage] Fix component handling for legacy multi component imagesMarian Balakowicz2008-02-291-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use uint32_t when accessing size table in image_multi_count() and image_multi_getimg() for multi component images. Add missing uimage_to_cpu() endianness conversion. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Share common uImage code between mkimage and U-bootMarian Balakowicz2008-02-293-339/+267
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds the following common routines: 1) Dedicated mkimage print_header() is replaced with common image_print_contents() image_print_contents_noindent() 2) Common os/arch/type/comp fields name <--> id translation routines genimg_get_os_name() genimg_get_arch_name() genimg_get_type_name() genimg_get_comp_name() genimg_get_os_id() genimg_get_arch_id() genimg_get_type_id() genimg_get_comp_id() Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | [new uImage] Update naming convention for bootm/uImage related codeMarian Balakowicz2008-02-2925-312/+326
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces the following prefix convention for the image format handling and bootm related code: genimg_ - dual format shared code image_ - legacy uImage format specific code fit_ - new uImage format specific code boot_ - booting process related code Related routines are renamed and a few pieces of code are moved around and re-grouped. Signed-off-by: Marian Balakowicz <m8@semihalf.com>
| | * | Merge branch 'master' of git://www.denx.de/git/u-boot into new-imageMarian Balakowicz2008-02-2952-289/+833
| | |\ \
| | * | | [new uImage] Respect autostart setting in linux bootmKumar Gala2008-02-2910-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Marian Balakowicz <m8@semihalf.com>
| | * | | [new uImage] Provide ability to restrict region used for boot imagesKumar Gala2008-02-295-8/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allow the user to set 'bootm_low' and 'bootm_size' env vars as a way to restrict what memory range is used for bootm. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Marian Balakowicz <m8@semihalf.com>
| | * | | [new uImage] Use lmb for bootm allocationsKumar Gala2008-02-295-126/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Convert generic ramdisk_high(), get_boot_cmdline(), get_boot_kbd() functions over to using lmb for allocation of the ramdisk, command line and kernel bd info. Convert PPC specific fdt_relocate() to use lmb for allocation of the device tree. Provided a weak function that board code can call to do additional lmb reserves if needed. Also introduce the concept of bootmap_base to specify the offset in physical memory that the bootmap is located at. This is used for allocations of the cmdline, kernel bd, and device tree as they should be contained within bootmap_base and bootmap_base + CFG_BOOTMAPSZ. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
| | * | | [new uImage] Add autostart flag to bootm_headers structureKumar Gala2008-02-293-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The autostart env variable was dropped as part of the initial new uImage cleanup. Add it back here so the arch specific code can decide if it wants to really boot or not. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Marian Balakowicz <m8@semihalf.com>
OpenPOWER on IntegriCloud