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

ARM LPAE flavour (Was: Re: [PATCH] udebs for armmp flavour)



On Fri, 2013-08-30 at 21:47 +0100, Ian Campbell wrote:
> > I've built a netboot installer image and run through it on a Calxeda
> > system.

This system has 8GB of RAM, so an LPAE kernel flavour would be quite
useful. The patch (below) seems remarkably simple and, build, installs
and and boots for me.

Perhaps we want to consider getting rid of the vexpress and/or mx5
flavours before adding another one? The armmp flavour appears to have
the relevant options turned on, but has anyone tried it? I guess we'd
want to add dummy patches to aid in the transition?

Ian.


commit 2efb25c0def498afad647c2683f7e5882d8c117d
Author: Ian Campbell <ijc@hellion.org.uk>
Date:   Mon Aug 26 19:56:14 2013 +0100

    armmp-lpae flavour

diff --git a/linux/debian/changelog b/linux/debian/changelog
index 9b104a3..a6c7903 100644
--- a/linux/debian/changelog
+++ b/linux/debian/changelog
@@ -26,6 +26,7 @@ linux (3.11~rc5-1~exp1) UNRELEASED; urgency=low
 
   [ Ian Campbell ]
   * armhf: Add udebs for armmp flavour
+  * armhf: Add multiplatform + LPAE flavour
 
  -- Ben Hutchings <ben@decadent.org.uk>  Sun, 11 Aug 2013 19:34:47 +0200
 
diff --git a/linux/debian/config/armhf/config.lpae b/linux/debian/config/armhf/config.lpae
new file mode 100644
index 0000000..1ce050c
--- /dev/null
+++ b/linux/debian/config/armhf/config.lpae
@@ -0,0 +1,4 @@
+##
+## file: arch/arm/mm/Kconfig
+##
+CONFIG_ARM_LPAE=y
diff --git a/linux/debian/config/armhf/defines b/linux/debian/config/armhf/defines
index 643a4d3..0b4c6c2 100644
--- a/linux/debian/config/armhf/defines
+++ b/linux/debian/config/armhf/defines
@@ -1,6 +1,7 @@
 [base]
 flavours:
  armmp
+ armmp-lpae
  mx5
  omap
  vexpress
@@ -19,6 +20,18 @@ image-file: arch/arm/boot/zImage
 hardware: ARMv7 multiplatform compatible SoCs
 hardware-long: ARMv7 multiplatform kernel for Marvell Armada 370/xp, Freescale iMX5x/iMX6
 
+[armmp-lpae_build]
+image-file: arch/arm/boot/zImage
+
+[armmp-lpae_description]
+hardware: ARMv7 multiplatform compatible SoCs
+hardware-long: ARMv7 multiplatform kernel supporting LPAE
+
+[armmp-lpae_image]
+configs:
+ armhf/config.armmp
+ armhf/config.lpae
+
 [mx5_build]
 image-file: arch/arm/boot/zImage
 

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: