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

Bug#670462: linux-2.6: Support new armhf kernel variant for Versatile Express (vexpress)



The following trimmed down debian/config/armhf/config.vexpress still worked 
for me in qemu (built against 3.2.16-1). It also trimmed out the extraneous 
"Supported" text in the defines file. The control file can be generated, as I 
understand it, so didn't include in this diff.

diff -u linux-2.6-3.2.16/debian/config/armhf/defines linux-2.6-3.2.16/debian/config/armhf/defines
--- linux-2.6-3.2.16/debian/config/armhf/defines
+++ linux-2.6-3.2.16/debian/config/armhf/defines
@@ -2,6 +2,7 @@
 flavours:
  mx5
  omap
+ vexpress
 kernel-arch: arm
 
 [image]
@@ -28,0 +30,8 @@
+
+[vexpress_build]
+image-file: arch/arm/boot/zImage
+
+[vexpress_description]
+hardware: ARM Ltd. Versatile Express
+hardware-long: ARM Ltd. Versatile Express family of processors
+

only in patch2:
unchanged:
--- linux-2.6-3.2.16.orig/debian/config/armhf/config.vexpress
+++ linux-2.6-3.2.16/debian/config/armhf/config.vexpress
@@ -0,0 +1,54 @@
+##
+## file: arch/arm/Kconfig
+##
+## choice: ARM system type
+CONFIG_ARCH_VEXPRESS=y
+## end choice
+
+## arch/arm/mach-vexpress/Kconfig
+CONFIG_ARCH_VEXPRESS_CA9X4=y
+
+CONFIG_LOG_BUF_SHIFT=14
+CONFIG_OPROFILE=m
+
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_HOTPLUG_CPU=y
+
+CONFIG_ZBOOT_ROM_TEXT=0x0
+CONFIG_ZBOOT_ROM_BSS=0x0
+
+CONFIG_NEON=y
+
+
+CONFIG_MTD=m
+CONFIG_MTD_CONCAT=m
+CONFIG_MTD_PARTITIONS=m
+CONFIG_MTD_CMDLINE_PARTS=m
+CONFIG_MTD_CHAR=m
+CONFIG_MTD_BLOCK=m
+CONFIG_MTD_CFI=m
+CONFIG_MTD_CFI_INTELEXT=m
+CONFIG_MTD_CFI_AMDSTD=m
+CONFIG_MTD_ARM_INTEGRATOR=m
+CONFIG_MISC_DEVICES=m
+
+CONFIG_NET_ETHERNET=m
+CONFIG_SMSC911X=m
+
+CONFIG_SERIO_AMBAKMI=y
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+
+CONFIG_FB=y
+CONFIG_FB_ARMCLCD=y
+CONFIG_FRAMEBUFFER_CONSOLE=y
+
+CONFIG_SND_ARMAACI=m
+
+CONFIG_USB=m
+CONFIG_USB_ISP1760_HCD=m
+CONFIG_MMC=y
+CONFIG_MMC_ARMMMCI=y
+
+CONFIG_RTC_DRV_PL031=y



Reply to: