mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] uImage/bootm fixes
@ 2012-02-13  8:53 Sascha Hauer
  2012-02-13  8:53 ` [PATCH 1/2] ARM: Fix oftree booting Sascha Hauer
  2012-02-13  8:53 ` [PATCH 2/2] uimage: Fix error message Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-02-13  8:53 UTC (permalink / raw)
  To: barebox

One important fix to make oftree kernels on Arm work, one less important
fix to print the correct error message in bootm.

Sascha Hauer (2):
      ARM: Fix oftree booting
      uimage: Fix error message

 arch/arm/lib/armlinux.c |    1 +
 commands/bootm.c        |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/2] ARM: Fix oftree booting
  2012-02-13  8:53 [PATCH] uImage/bootm fixes Sascha Hauer
@ 2012-02-13  8:53 ` Sascha Hauer
  2012-02-13  8:53 ` [PATCH 2/2] uimage: Fix error message Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-02-13  8:53 UTC (permalink / raw)
  To: barebox

We forgot to initialize params to the oftree to actually
boot a kernel with devicetree.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 arch/arm/lib/armlinux.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c
index 1d210d1..85fe2b9 100644
--- a/arch/arm/lib/armlinux.c
+++ b/arch/arm/lib/armlinux.c
@@ -258,6 +258,7 @@ void start_linux(void *adr, int swap, unsigned long initrd_address,
 
 	if (oftree) {
 		printf("booting Linux kernel with devicetree\n");
+		params = oftree;
 	} else {
 		setup_tags(initrd_address, initrd_size, swap);
 		params = armlinux_bootparams;
-- 
1.7.9


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] uimage: Fix error message
  2012-02-13  8:53 [PATCH] uImage/bootm fixes Sascha Hauer
  2012-02-13  8:53 ` [PATCH 1/2] ARM: Fix oftree booting Sascha Hauer
@ 2012-02-13  8:53 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2012-02-13  8:53 UTC (permalink / raw)
  To: barebox

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
 commands/bootm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/commands/bootm.c b/commands/bootm.c
index c23f4f3..e96665a 100644
--- a/commands/bootm.c
+++ b/commands/bootm.c
@@ -324,7 +324,7 @@ static int do_bootm(struct command *cmdtp, int argc, char *argv[])
 	if (os_type == filetype_uimage) {
 		ret = bootm_open_os_uimage(&data);
 		if (ret) {
-			printf("loading initrd failed with %s\n",
+			printf("loading os image failed with %s\n",
 					strerror(-ret));
 			goto err_out;
 		}
-- 
1.7.9


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-02-13  8:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-13  8:53 [PATCH] uImage/bootm fixes Sascha Hauer
2012-02-13  8:53 ` [PATCH 1/2] ARM: Fix oftree booting Sascha Hauer
2012-02-13  8:53 ` [PATCH 2/2] uimage: Fix error message Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox