From 07e8c58b2fab40b837a223349a5f7104b62656a3 Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Fri, 8 Jun 2012 16:42:20 +0100 Subject: configs: vexpress: Basic board config fragment Signed-off-by: Jon Medhurst --- linaro/configs/vexpress.conf | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 linaro/configs/vexpress.conf diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf new file mode 100644 index 00000000000..4aca6be57e3 --- /dev/null +++ b/linaro/configs/vexpress.conf @@ -0,0 +1,34 @@ +CONFIG_ARCH_VEXPRESS=y +CONFIG_ARCH_VEXPRESS_CA9X4=y +CONFIG_ARM_ARCH_TIMER=y +CONFIG_CMDLINE="console=ttyAMA0,38400n8 root=/dev/mmcblk0p2 rootwait mmci.fmax=4000000" +CONFIG_VFP=y +CONFIG_NEON=y +CONFIG_SCSI=y +CONFIG_BLK_DEV_SD=y +CONFIG_SMSC911X=y +CONFIG_INPUT_EVDEV=y +CONFIG_SERIO_AMBAKMI=y +CONFIG_SERIAL_AMBA_PL011=y +CONFIG_SERIAL_AMBA_PL011_CONSOLE=y +CONFIG_FB=y +CONFIG_FB_ARMCLCD=y +CONFIG_FB_ARMHDLCD=y +CONFIG_LOGO=y +# CONFIG_LOGO_LINUX_MONO is not set +# CONFIG_LOGO_LINUX_VGA16 is not set +CONFIG_SOUND=y +CONFIG_SND=y +CONFIG_SND_ARMAACI=y +CONFIG_USB=y +CONFIG_USB_ISP1760_HCD=y +CONFIG_USB_STORAGE=y +CONFIG_MMC=y +CONFIG_MMC_ARMMMCI=y +CONFIG_RTC_CLASS=y +CONFIG_RTC_DRV_PL031=y +CONFIG_NFS_FS=y +CONFIG_NFS_V3=y +CONFIG_NFS_V3_ACL=y +CONFIG_NFS_V4=y +CONFIG_ROOT_NFS=y -- cgit v1.2.3 From fb1fb7b6be56936e6e73dd6d7ea5d94d84d83f5c Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Thu, 26 Jul 2012 15:49:50 +0100 Subject: configs: vexpress: Enable CONFIG_SMC91X This is the ethernet device RTSM models and we want normal vexpress kernels also working on RTSM. Signed-off-by: Jon Medhurst --- linaro/configs/vexpress.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf index 4aca6be57e3..6a06e8b3806 100644 --- a/linaro/configs/vexpress.conf +++ b/linaro/configs/vexpress.conf @@ -7,6 +7,7 @@ CONFIG_NEON=y CONFIG_SCSI=y CONFIG_BLK_DEV_SD=y CONFIG_SMSC911X=y +CONFIG_SMC91X=y CONFIG_INPUT_EVDEV=y CONFIG_SERIO_AMBAKMI=y CONFIG_SERIAL_AMBA_PL011=y -- cgit v1.2.3 From 5b7c564458ed51fbea92c60b47a32c65f64cfd16 Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Tue, 2 Oct 2012 11:53:06 +0100 Subject: configs: vexpress: Changes needed for Linux 3.8 Signed-off-by: Jon Medhurst --- linaro/configs/vexpress.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf index 6a06e8b3806..fb960d96557 100644 --- a/linaro/configs/vexpress.conf +++ b/linaro/configs/vexpress.conf @@ -33,3 +33,9 @@ CONFIG_NFS_V3=y CONFIG_NFS_V3_ACL=y CONFIG_NFS_V4=y CONFIG_ROOT_NFS=y +CONFIG_VEXPRESS_CONFIG=y +CONFIG_SENSORS_VEXPRESS=y +CONFIG_REGULATOR=y +CONFIG_REGULATOR_VEXPRESS=y +CONFIG_NEW_LEDS=y +CONFIG_LEDS_CLASS=y -- cgit v1.2.3 From 07f596311a1bb41b47001695a11ee0baae7d776c Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Tue, 5 Mar 2013 11:54:20 +0800 Subject: configs: vexpress: Changes needed for Linux 3.9 Signed-off-by: Jon Medhurst --- linaro/configs/vexpress.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf index fb960d96557..8c1c9099114 100644 --- a/linaro/configs/vexpress.conf +++ b/linaro/configs/vexpress.conf @@ -1,6 +1,6 @@ CONFIG_ARCH_VEXPRESS=y CONFIG_ARCH_VEXPRESS_CA9X4=y -CONFIG_ARM_ARCH_TIMER=y +CONFIG_HAVE_ARM_ARCH_TIMER=y CONFIG_CMDLINE="console=ttyAMA0,38400n8 root=/dev/mmcblk0p2 rootwait mmci.fmax=4000000" CONFIG_VFP=y CONFIG_NEON=y -- cgit v1.2.3 From 1ea0b8c29e7140b327c5df4e0f11d321642481e2 Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Wed, 30 Jan 2013 18:44:20 +0000 Subject: configs: vexpress: Enable LEDs To provide access to LEDs enable CONFIG_LEDS_CLASS=y CONFIG_LEDS_GPIO=y (LED's are available from user side under under /sys/class/leds) To use the motherboard LEDs to show CPU activity... CONFIG_LEDS_TRIGGERS=y CONFIG_LEDS_TRIGGER_HEARTBEAT=y CONFIG_LEDS_TRIGGER_CPU=y Signed-off-by: Jon Medhurst --- linaro/configs/vexpress.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf index 8c1c9099114..6576492b153 100644 --- a/linaro/configs/vexpress.conf +++ b/linaro/configs/vexpress.conf @@ -39,3 +39,7 @@ CONFIG_REGULATOR=y CONFIG_REGULATOR_VEXPRESS=y CONFIG_NEW_LEDS=y CONFIG_LEDS_CLASS=y +CONFIG_LEDS_GPIO=y +CONFIG_LEDS_TRIGGERS=y +CONFIG_LEDS_TRIGGER_HEARTBEAT=y +CONFIG_LEDS_TRIGGER_CPU=y -- cgit v1.2.3 From 8b27f3acd7b4f41cc1487f2050cd816042d0d339 Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Thu, 9 Aug 2012 18:04:48 +0100 Subject: configs: vexpress: (HACK) CONFIG_FRAMEBUFFER_CONSOLE=y This stops Android hanging at boot when the HDLCD is initialised. Don't know why yet but lets be grateful for now that it seems to get things working. TODO: Work out the real problem. Signed-off-by: Jon Medhurst --- linaro/configs/vexpress.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf index 6576492b153..0006702039a 100644 --- a/linaro/configs/vexpress.conf +++ b/linaro/configs/vexpress.conf @@ -15,6 +15,7 @@ CONFIG_SERIAL_AMBA_PL011_CONSOLE=y CONFIG_FB=y CONFIG_FB_ARMCLCD=y CONFIG_FB_ARMHDLCD=y +CONFIG_FRAMEBUFFER_CONSOLE=y CONFIG_LOGO=y # CONFIG_LOGO_LINUX_MONO is not set # CONFIG_LOGO_LINUX_VGA16 is not set -- cgit v1.2.3 From 5dca4e9f1e25f10bd218abf99b9ba97338beab7d Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Thu, 5 Jul 2012 11:20:51 +0100 Subject: configs: vexpress: Extra options needed for TC2 Signed-off-by: Jon Medhurst --- linaro/configs/vexpress.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf index 0006702039a..e14d685e79d 100644 --- a/linaro/configs/vexpress.conf +++ b/linaro/configs/vexpress.conf @@ -1,6 +1,9 @@ CONFIG_ARCH_VEXPRESS=y CONFIG_ARCH_VEXPRESS_CA9X4=y CONFIG_HAVE_ARM_ARCH_TIMER=y +CONFIG_NR_CPUS=8 +CONFIG_HIGHMEM=y +CONFIG_HIGHPTE=y CONFIG_CMDLINE="console=ttyAMA0,38400n8 root=/dev/mmcblk0p2 rootwait mmci.fmax=4000000" CONFIG_VFP=y CONFIG_NEON=y -- cgit v1.2.3 From 5616b016d4698cc6ec6dffdd30a169240669699e Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Thu, 26 Jul 2012 15:01:40 +0100 Subject: configs: vexpress: Enable TC2 power management options Note, for the sake of a faster boot and better performance, we default to maximum CPU clock frequency (CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE) and will rely on user-side scripts on Android and Ubuntu to change this as appropriate for big.LITTLE power saving. E.g. changing LITTLE cores to 'ondemand'. Signed-off-by: Jon Medhurst --- linaro/configs/vexpress.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf index e14d685e79d..542cd30115a 100644 --- a/linaro/configs/vexpress.conf +++ b/linaro/configs/vexpress.conf @@ -1,5 +1,14 @@ CONFIG_ARCH_VEXPRESS=y CONFIG_ARCH_VEXPRESS_CA9X4=y +CONFIG_BIG_LITTLE=y +CONFIG_ARCH_VEXPRESS_TC2=y +CONFIG_ARCH_VEXPRESS_DCSCB=y +CONFIG_ARM_VEXPRESS_BL_CPUFREQ=y +CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_GOV_ONDEMAND=y +CONFIG_CPU_FREQ_GOV_PERFORMANCE=y +CONFIG_CPU_FREQ_GOV_INTERACTIVE=y +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y CONFIG_HAVE_ARM_ARCH_TIMER=y CONFIG_NR_CPUS=8 CONFIG_HIGHMEM=y -- cgit v1.2.3 From 2a2c5601e523be0fc263f39a3edc0ff731fc0426 Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Wed, 13 Mar 2013 10:56:22 +0000 Subject: configs: vexpress-tuning: Add fragment for better performance Use ARM rather than Thumb2 and disable debug and trace features which aren't essential. (Some trace features are still needed to avoid breaking Gator). Signed-off-by: Jon Medhurst --- linaro/configs/vexpress-tuning.conf | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 linaro/configs/vexpress-tuning.conf diff --git a/linaro/configs/vexpress-tuning.conf b/linaro/configs/vexpress-tuning.conf new file mode 100644 index 00000000000..7bdf2732c92 --- /dev/null +++ b/linaro/configs/vexpress-tuning.conf @@ -0,0 +1,8 @@ +# CONFIG_THUMB2_KERNEL is not set +# CONFIG_PROVE_LOCKING is not set +# CONFIG_OPROFILE is not set +# CONFIG_SCHEDSTATS is not set +# CONFIG_TIMER_STATS is not set +# CONFIG_SCHED_DEBUG is not set +# CONFIG_FTRACE is not set +# CONFIG_FUNCTION_TRACER is not set -- cgit v1.2.3 From e04331e69ccac7fac7b7e76b21dccc4d3e7f65e0 Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Fri, 15 Mar 2013 13:08:32 +0000 Subject: configs: vexpress-tuning: Re-enable tracing and profiling options For now, lets play safe and not disable any tracing and profiling options in case these are expected to be present for benchmarking purposes. Signed-off-by: Jon Medhurst --- linaro/configs/vexpress-tuning.conf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/linaro/configs/vexpress-tuning.conf b/linaro/configs/vexpress-tuning.conf index 7bdf2732c92..917ba6c09cb 100644 --- a/linaro/configs/vexpress-tuning.conf +++ b/linaro/configs/vexpress-tuning.conf @@ -1,8 +1,2 @@ # CONFIG_THUMB2_KERNEL is not set # CONFIG_PROVE_LOCKING is not set -# CONFIG_OPROFILE is not set -# CONFIG_SCHEDSTATS is not set -# CONFIG_TIMER_STATS is not set -# CONFIG_SCHED_DEBUG is not set -# CONFIG_FTRACE is not set -# CONFIG_FUNCTION_TRACER is not set -- cgit v1.2.3 From a5979a82af1906d0ee12e0657e898fa3a49ae9b0 Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Tue, 19 Mar 2013 20:14:31 +0000 Subject: configs: vexpress-tuning: Re-enable CONFIG_THUMB2_KERNEL Performace and power don't appear to be improved by building for ARM, in fact, there's a suggestion it uses slightly more power. Signed-off-by: Jon Medhurst --- linaro/configs/vexpress-tuning.conf | 1 - 1 file changed, 1 deletion(-) diff --git a/linaro/configs/vexpress-tuning.conf b/linaro/configs/vexpress-tuning.conf index 917ba6c09cb..adea6cc66de 100644 --- a/linaro/configs/vexpress-tuning.conf +++ b/linaro/configs/vexpress-tuning.conf @@ -1,2 +1 @@ -# CONFIG_THUMB2_KERNEL is not set # CONFIG_PROVE_LOCKING is not set -- cgit v1.2.3 From a0fdbdbb309906bb3004d3ef8914adf9366b57e4 Mon Sep 17 00:00:00 2001 From: Liviu Dudau Date: Wed, 13 Mar 2013 15:42:07 +0000 Subject: ARM: VExpress: PSCI: Compile PSCI code by default Compile support for PSCI by default and let the command line decide whether support for SMC calls gets enabled or not. Signed-off-by: Liviu Dudau --- linaro/configs/vexpress.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/linaro/configs/vexpress.conf b/linaro/configs/vexpress.conf index 542cd30115a..94ed8d8729b 100644 --- a/linaro/configs/vexpress.conf +++ b/linaro/configs/vexpress.conf @@ -4,6 +4,7 @@ CONFIG_BIG_LITTLE=y CONFIG_ARCH_VEXPRESS_TC2=y CONFIG_ARCH_VEXPRESS_DCSCB=y CONFIG_ARM_VEXPRESS_BL_CPUFREQ=y +CONFIG_ARM_PSCI=y CONFIG_CPU_FREQ=y CONFIG_CPU_FREQ_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_PERFORMANCE=y -- cgit v1.2.3