| 1372cce2 | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Use show_boot_progress() for new uImage format
This patch allocates a set of show_boot_progress() IDs for new uImage format and adds show_boot_progress() calls in new uImage format hand
[new uImage] Use show_boot_progress() for new uImage format
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>
show more ...
|
| c28c4d19 | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Add new uImage fromat support to fpga command
Signed-off-by: Marian Balakowicz <m8@semihalf.com> |
| 09475f75 | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Add new uImage format handling to other bootm related commands
Updated commands:
docboot - cmd_doc.c fdcboot - cmd_fdc.c diskboot - cmd_ide.c nboot - cmd_nand.c scsiboot - cmd_scs
[new uImage] Add new uImage format handling to other bootm related commands
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>
show more ...
|
| 1b7897f2 | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Add new uImage format support to imgextract command
Signed-off-by: Marian Balakowicz <m8@semihalf.com> |
| 424c4abd | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Add new uImage format support to autoscript routine
autoscript() routine is updated to accept second argument, which is only used for FIT images and provides a FIT subimage unit name.
[new uImage] Add new uImage format support to autoscript routine
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>
show more ...
|
| 3dfe1101 | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Add node offsets for FIT images listed in struct bootm_headers
This patch adds new node offset fields to struct bootm_headers and updates bootm_headers processing code to make use of th
[new uImage] Add node offsets for FIT images listed in struct bootm_headers
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>
show more ...
|
| a44a269a | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Re-enable interrupts for non automatic booting
Re-enable interrupts if we return from do_bootm_<os> and 'autostart' environment variable is not set to 'yes'.
Signed-off-by: Marian Bala
[new uImage] Re-enable interrupts for non automatic booting
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>
show more ...
|
| d985c849 | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Remove unnecessary arguments passed to ramdisk routines
boot_get_ramdisk() and image_get_ramdisk() do not need all cmdtp, flag, argc and argv arguments. Simplify routines definition.
S
[new uImage] Remove unnecessary arguments passed to ramdisk routines
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>
show more ...
|
| c8779648 | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Add new uImage format support for ramdisk handling
This patch updates boot_get_ramdisk() routine adding format verification and handling for new (FIT) uImages.
Signed-off-by: Marian Ba
[new uImage] Add new uImage format support for ramdisk handling
This patch updates boot_get_ramdisk() routine adding format verification and handling for new (FIT) uImages.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
show more ...
|
| 6986a385 | 12-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Add new uImage format support for kernel booting
New format uImages are recognized by the bootm command, validity of specified kernel component image is checked and its data section loc
[new uImage] Add new uImage format support for kernel booting
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>
show more ...
|
| e32fea6a | 11-Mar-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Add new uImage format support for imls and iminfo commands
imls and iminfo can now recognize nad print out contents of the new (FIT) format uImages.
Signed-off-by: Marian Balakowicz <m
[new uImage] Add new uImage format support for imls and iminfo commands
imls and iminfo can now recognize nad print out contents of the new (FIT) format uImages.
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
show more ...
|
| 5dfb5213 | 29-Feb-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] New uImage low-level API
Add FDT-based functions for handling new format component images, configurations, node operations, property get/set, etc.
fit_ - routines handling globa
[new uImage] New uImage low-level API
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>
show more ...
|
| cc3843e3 | 09-Mar-2008 |
Wolfgang Denk <wd@denx.de> |
common/kgdb.c: fix 'dereferencing type-punned pointer' warning
and get rid of a couple of unneeded casts.
Signed-off-by: Wolfgang Denk <wd@denx.de> |
| 84d0c2f1 | 03-Mar-2008 |
Kim B. Heino <Kim.Heino@bluegiga.com> |
fix copy from ram to dataflash
If I try to "cp.b <ram> <dataflash>", u-boot selects normal flash routines instead of dataflash. This is because it checks "if source address is not dataflash" instead
fix copy from ram to dataflash
If I try to "cp.b <ram> <dataflash>", u-boot selects normal flash routines instead of dataflash. This is because it checks "if source address is not dataflash" instead of target address.
Signed-off-by: Kim B. Heino <Kim.Heino@bluegiga.com>
show more ...
|
| df6f1b89 | 29-Feb-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Fix component handling for legacy multi component images
Use uint32_t when accessing size table in image_multi_count() and image_multi_getimg() for multi component images.
Add missing
[new uImage] Fix component handling for legacy multi component images
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>
show more ...
|
| 570abb0a | 29-Feb-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Share common uImage code between mkimage and U-boot
This patch adds the following common routines:
1) Dedicated mkimage print_header() is replaced with common image_print_contents() im
[new uImage] Share common uImage code between mkimage and U-boot
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>
show more ...
|
| 9a4daad0 | 29-Feb-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Update naming convention for bootm/uImage related code
This patch introduces the following prefix convention for the image format handling and bootm related code:
genimg_ - dual forma
[new uImage] Update naming convention for bootm/uImage related code
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>
show more ...
|
| e18489e8 | 29-Feb-2008 |
Marian Balakowicz <m8@semihalf.com> |
Merge branch 'master' of git://www.denx.de/git/u-boot into new-image |
| d3f2fa0d | 28-Feb-2008 |
Kumar Gala <galak@kernel.crashing.org> |
[new uImage] Provide ability to restrict region used for boot images
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
[new uImage] Provide ability to restrict region used for boot images
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>
show more ...
|
| e822d7fc | 28-Feb-2008 |
Kumar Gala <galak@kernel.crashing.org> |
[new uImage] Use lmb for bootm allocations
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 in
[new uImage] Use lmb for bootm allocations
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>
show more ...
|
| f5614e79 | 28-Feb-2008 |
Kumar Gala <galak@kernel.crashing.org> |
[new uImage] Add autostart flag to bootm_headers structure
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
[new uImage] Add autostart flag to bootm_headers structure
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>
show more ...
|
| 4ed6552f | 28-Feb-2008 |
Kumar Gala <galak@kernel.crashing.org> |
[new uImage] Introduce lmb from linux kernel for memory mgmt of boot images
Introduce the LMB lib used on PPC in the kernel as a clean way to manage the memory spaces used by various boot images and
[new uImage] Introduce lmb from linux kernel for memory mgmt of boot images
Introduce the LMB lib used on PPC in the kernel as a clean way to manage the memory spaces used by various boot images and structures. This code will allow us to simplify the code in bootm and its support functions.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
show more ...
|
| 274cea2b | 28-Feb-2008 |
Kumar Gala <galak@kernel.crashing.org> |
[new uImage] rework error handling so common functions don't reset
Changed image_get_ramdisk() to just return NULL on error and have get_ramdisk() propogate that error to the caller. It's left to t
[new uImage] rework error handling so common functions don't reset
Changed image_get_ramdisk() to just return NULL on error and have get_ramdisk() propogate that error to the caller. It's left to the caller to call do_reset() if it wants to.
Also moved calling do_reset() in get_fdt() and fdt_relocate() on ppc to a common location. In the future we will change get_fdt() and fdt_relocate() to return success/failure and not call do_reset() at all.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Marian Balakowicz <m8@semihalf.com>
show more ...
|
| a6612bdf | 28-Feb-2008 |
Kumar Gala <galak@kernel.crashing.org> |
[new uImage] Don't pass kdb to ramdisk_high since we may not have one
We don't actually need the kdb param as we are just using it to get bd->bi_memsize which we can get from gd->bd->bi_memsize. Al
[new uImage] Don't pass kdb to ramdisk_high since we may not have one
We don't actually need the kdb param as we are just using it to get bd->bi_memsize which we can get from gd->bd->bi_memsize. Also, if we boot via OF we might not actually fill out a kdb.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Marian Balakowicz <m8@semihalf.com>
show more ...
|
| 4efbe9db | 27-Feb-2008 |
Marian Balakowicz <m8@semihalf.com> |
[new uImage] Correct raw FDT blob handlig when CONFIG_FIT is disabled
Dual format image code must properly handle all three FDT passing methods: - raw FDT blob passed - FDT blob embedded in the lega
[new uImage] Correct raw FDT blob handlig when CONFIG_FIT is disabled
Dual format image code must properly handle all three FDT passing methods: - raw FDT blob passed - FDT blob embedded in the legacy uImage - FDT blob embedded in the new uImage
This patch enables proper raw FDT handling when no FIT imaeg support is compiled in. This is a bit tricky as we must dected FIT format even when FIT uImage handling is not enabled as both FIT uImages and raw FDT blobs use tha same low level format (libfdt).
Signed-off-by: Marian Balakowicz <m8@semihalf.com>
show more ...
|