mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 4/5] arm/bootm: enable multi uimage support
Date: Sat,  8 Oct 2011 16:29:52 +0200	[thread overview]
Message-ID: <1318084193-2648-4-git-send-email-plagnioj@jcrosoft.com> (raw)
In-Reply-To: <20111008141722.GG10459@game.jcrosoft.org>

tested on imx53 loco board with a Multi uImage file

generate like this

mkimage -A arm -O linux -T multi -C none -a 0x70008000 -e 0x70008000 -n Linux-2.6.35.3-00745-gce4c61a-dirty -d zImage:rootfs.cpio.lzma uImage.Multi

and boot via bootm

bootm -r @1 -L 0x72000000 /dev/ram0.kernel

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/arm/lib/bootm.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/arch/arm/lib/bootm.c b/arch/arm/lib/bootm.c
index 7156eea..87bf3b3 100644
--- a/arch/arm/lib/bootm.c
+++ b/arch/arm/lib/bootm.c
@@ -24,11 +24,6 @@ static int do_bootm_linux(struct image_data *data)
 	void (*theKernel)(int zero, int arch, void *params);
 	image_header_t *os_header = &data->os->header;
 
-	if (image_get_type(os_header) == IH_TYPE_MULTI) {
-		printf("Multifile images not handled at the moment\n");
-		return -1;
-	}
-
 	theKernel = (void *)image_get_ep(os_header);
 
 	debug("## Transferring control to Linux (at address 0x%p) ...\n",
-- 
1.7.6.3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2011-10-08 14:53 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-08 14:17 [PATCH 0/5] Multi uImage support on ARM Jean-Christophe PLAGNIOL-VILLARD
2011-10-08 14:29 ` [PATCH 1/5] bootm: ensure the uImage is mapped first to allow option to used it Jean-Christophe PLAGNIOL-VILLARD
2011-10-08 14:29 ` [PATCH 2/5] get_fake_image_handle: set nb_data_entries to 1 and update the header size Jean-Christophe PLAGNIOL-VILLARD
2011-10-08 14:29 ` [PATCH 3/5] bootm: add -L option to specify the initrd load address Jean-Christophe PLAGNIOL-VILLARD
2011-10-08 14:29 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-10-08 14:29 ` [PATCH 5/5] defaultenv: add bootm_opt var to allow the board to pass parameter to bootm Jean-Christophe PLAGNIOL-VILLARD
2011-10-09  9:37 ` [PATCH 0/5] Multi uImage support on ARM Sascha Hauer
2011-10-10 22:06   ` Jean-Christophe PLAGNIOL-VILLARD
2011-10-12  6:55     ` Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1318084193-2648-4-git-send-email-plagnioj@jcrosoft.com \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox