[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#706643: libdebian-installer4: improve flavour detection for armhf/mx5



Package: libdebian-installer4
Version: 0.87
Severity: normal
Tags: patch

Hello,

I tried to install Debian on an i.MX53 loco board and the installer
failed to detect the right kernel flavour to install. I didn't test this
patch yet because I still have to work out how to create an installer
image with an updated libdebian-installer udeb, but still I think the
patch below does the trick.

----------------->8-----------------------
From: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Date: Thu, 2 May 2013 22:18:35 +0200
Subject: [PATCH] subarch-arm-linux.c: add current kernel flavours and a match
 for machines supported by -mx5 flavour

The "Freescale MX5" entry should match all enabled Freescale devboards
(EVK, SMD, LOCO and ARD).

---
 src/system/subarch-arm-linux.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/src/system/subarch-arm-linux.c b/src/system/subarch-arm-linux.c
index 4c3f5f6..625f735 100644
--- a/src/system/subarch-arm-linux.c
+++ b/src/system/subarch-arm-linux.c
@@ -14,11 +14,17 @@ struct map {
 
 static const char *supported_generic_subarches[] = {
     "dove",
-    "omap",
-    "omap4",
+    "iop32x", /* armel */
+    "ixp4xx", /* armel */
+    "kirkwood", /* armel */
+    "mv78xx0", /* armel */
     "mx51",
-    "mx5",
-    "vexpress",
+    "mx5", /* armhf */
+    "omap", /* armhf */
+    "omap4",
+    "orion5x", /* armel */
+    "versatile", /* armel */
+    "vexpress", /* armhf */
     NULL
 };
 
@@ -85,10 +91,12 @@ static struct map map_hardware[] = {
     { "ARM-Versatile PB", "versatile" },
     { "Genesi Efika MX (Smartbook)", "mx5" },
     { "Genesi Efika MX (Smarttop)", "mx5" },
+    { "Genesi EfikaMX nettop", "mx5" },
     { "Nokia RX-51 Board", "omap" },
     { "OMAP3 Beagle Board", "omap" },
     { "OMAP4 Panda Board", "omap" },
     { "ARM-Versatile Express", "vexpress" },
+    { "Freescale MX5", "mx5" },
     { NULL, NULL }
 };
 
----------------->8-----------------------


Reply to: