--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: libdebian-installer4: improve flavour detection for armhf/mx5
- From: Uwe Kleine-König <uwe+debian@kleine-koenig.org>
- Date: Thu, 02 May 2013 22:31:20 +0200
- Message-id: <20130502203120.22319.59844.reportbug@localhost>
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-----------------------
--- End Message ---
--- Begin Message ---
Closing old bug - we use the armmp kernel here these days, so don't
need to care about the specific kernels for different boards like we
did back in 2013...
--
Steve McIntyre, Cambridge, UK. steve@einval.com
Into the distance, a ribbon of black
Stretched to the point of no turning back
--- End Message ---