- 29 2月, 2008 1 次提交
-
-
由 Kumar Gala 提交于
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: NKumar Gala <galak@kernel.crashing.org> Acked-by: NMarian Balakowicz <m8@semihalf.com>
-
- 27 2月, 2008 3 次提交
-
-
由 Marian Balakowicz 提交于
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: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
Do not pass image verification flag directly to related routines. Simplify argument passing and move it to the bootm_header structure which contains curently processed image specific data and is already being passed on the argument list. Signed-off-by: NMarian Balakowicz <m8@semihalf.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
由 Marian Balakowicz 提交于
When CONFIG_HAS_DATAFLASH is not defined gen_get_image() routine has nothing to do, update its control flow to better reflect that simple case. Signed-off-by: NMarian Balakowicz <m8@semihalf.com> Acked-by: NKumar Gala <galak@kernel.crashing.org>
-
- 25 2月, 2008 1 次提交
-
-
由 Marian Balakowicz 提交于
This patch adds framework for dual format images. Format detection is added and the bootm controll flow is updated to include cases for new FIT format uImages. When the legacy (image_header based) format is detected appropriate legacy specific handling is invoked. For the new (FIT based) format uImages dual boot framework has a minial support, that will only print out a corresponding debug messages. Implementation of the FIT specific handling will be added in following patches. Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
- 22 2月, 2008 3 次提交
-
-
由 Marian Balakowicz 提交于
Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
Introducing routines for parsing new uImage format bootm arguments: [<addr>]#<conf> - configuration specification [<addr>]:<subimg> - subimage specification New format images can contain multiple subimages of the same type. For example a single new format image file can contain three kernels, two ramdisks and a couple of FDT blobs. Subimage and configuration specifications are extensions to bootm (and other image-related commands) arguments' syntax that allow to specify which particular subimage should be operated on. Subimage specification is used to denote a particular subimage. Configurations are a bit more complex -- they are used to define a particualr booting setup, for example a (kernel, fdt blob) pair, or a (kernel, ramdisk, fdt blob) tuple, etc. Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
This routine assures that image (whether legacy or FIT) is not in a special dataflash storage. If image address is a dataflash address image is moved to system RAM. Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
- 07 2月, 2008 7 次提交
-
-
由 Marian Balakowicz 提交于
This patch moves common pre-boot allocation steps shared between PPC and M68K to a helper routines: common: - get_boot_sp_limit() - get_boot_cmline() - get_boot_kbd() platform: - set_clocks_in_mhz() Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
Ramdisk loading code, including initrd_high variable handling, was duplicated for PPC and M68K platforms. This patch creates common helper routine that is being called from both platform do_bootm_linux() routines. Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
Architecture specific do_bootm_linux() routines share common ramdisk image processing code. Move this code to a common helper routine. Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
Move numeric-id to name translation for image os/arch/type/comp header fields to a helper routines: image_get_os_name(), image_get_arch_name(), image_get_type_name(), image_get_comp_name(). Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
- use single image header pointer instead of a set of auxilliary variables. - add multi component image helper routines: get component size/data address Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
Move common, watchdog sensible memmove code to a helper memmmove_wd() routine. Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-
由 Marian Balakowicz 提交于
- Add inline helper macros for basic header processing - Move common non inline code common/image.c - Replace direct header access with the API routines - Rename IH_CPU_* to IH_ARCH_* Signed-off-by: NMarian Balakowicz <m8@semihalf.com>
-