linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: add Versatile Express defconfig
@ 2011-01-31 19:14 Linus Walleij
  2011-01-31 19:25 ` Will Deacon
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Linus Walleij @ 2011-01-31 19:14 UTC (permalink / raw)
  To: linux-arm-kernel

Being able to compile a major reference platform is helpful for
me when developing on other archs using the same e.g. PrimeCells.
I bet this is useful to others as well.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 arch/arm/configs/vexpress_defconfig |  140 +++++++++++++++++++++++++++++++++++
 1 files changed, 140 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/configs/vexpress_defconfig

diff --git a/arch/arm/configs/vexpress_defconfig b/arch/arm/configs/vexpress_defconfig
new file mode 100644
index 0000000..f2de51f
--- /dev/null
+++ b/arch/arm/configs/vexpress_defconfig
@@ -0,0 +1,140 @@
+CONFIG_EXPERIMENTAL=y
+# CONFIG_LOCALVERSION_AUTO is not set
+CONFIG_SYSVIPC=y
+CONFIG_IKCONFIG=y
+CONFIG_IKCONFIG_PROC=y
+CONFIG_LOG_BUF_SHIFT=14
+CONFIG_CGROUPS=y
+CONFIG_CPUSETS=y
+# CONFIG_UTS_NS is not set
+# CONFIG_IPC_NS is not set
+# CONFIG_USER_NS is not set
+# CONFIG_PID_NS is not set
+# CONFIG_NET_NS is not set
+CONFIG_BLK_DEV_INITRD=y
+# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
+CONFIG_PROFILING=y
+CONFIG_OPROFILE=y
+CONFIG_MODULES=y
+CONFIG_MODULE_UNLOAD=y
+# CONFIG_LBDAF is not set
+# CONFIG_BLK_DEV_BSG is not set
+# CONFIG_IOSCHED_DEADLINE is not set
+# CONFIG_IOSCHED_CFQ is not set
+CONFIG_ARCH_VEXPRESS=y
+CONFIG_ARCH_VEXPRESS_CA9X4=y
+# CONFIG_SWP_EMULATE is not set
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y
+CONFIG_HOTPLUG_CPU=y
+CONFIG_AEABI=y
+CONFIG_ZBOOT_ROM_TEXT=0x0
+CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_CMDLINE="root=/dev/nfs nfsroot=10.1.69.3:/work/nfsroot ip=dhcp console=ttyAMA0 mem=128M"
+CONFIG_VFP=y
+CONFIG_NEON=y
+# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_IP_PNP=y
+CONFIG_IP_PNP_DHCP=y
+CONFIG_IP_PNP_BOOTP=y
+# CONFIG_INET_LRO is not set
+# CONFIG_IPV6 is not set
+# CONFIG_WIRELESS is not set
+CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
+CONFIG_MTD=y
+CONFIG_MTD_CONCAT=y
+CONFIG_MTD_PARTITIONS=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_CFI=y
+CONFIG_MTD_CFI_INTELEXT=y
+CONFIG_MTD_CFI_AMDSTD=y
+CONFIG_MTD_ARM_INTEGRATOR=y
+CONFIG_MISC_DEVICES=y
+# CONFIG_SCSI_PROC_FS is not set
+CONFIG_BLK_DEV_SD=y
+# CONFIG_SCSI_LOWLEVEL is not set
+CONFIG_ATA=y
+# CONFIG_SATA_PMP is not set
+CONFIG_NETDEVICES=y
+CONFIG_NET_ETHERNET=y
+CONFIG_SMSC911X=y
+# CONFIG_NETDEV_1000 is not set
+# CONFIG_NETDEV_10000 is not set
+# CONFIG_WLAN is not set
+CONFIG_INPUT_EVDEV=y
+# CONFIG_SERIO_SERPORT is not set
+CONFIG_SERIO_AMBAKMI=y
+CONFIG_SERIAL_AMBA_PL011=y
+CONFIG_SERIAL_AMBA_PL011_CONSOLE=y
+CONFIG_LEGACY_PTY_COUNT=16
+# CONFIG_HW_RANDOM is not set
+# CONFIG_HWMON is not set
+CONFIG_FB=y
+CONFIG_FB_ARMCLCD=y
+CONFIG_FRAMEBUFFER_CONSOLE=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_MIXER_OSS=y
+CONFIG_SND_PCM_OSS=y
+# CONFIG_SND_DRIVERS is not set
+CONFIG_SND_ARMAACI=y
+CONFIG_HID_DRAGONRISE=y
+CONFIG_HID_GYRATION=y
+CONFIG_HID_TWINHAN=y
+CONFIG_HID_NTRIG=y
+CONFIG_HID_PANTHERLORD=y
+CONFIG_HID_PETALYNX=y
+CONFIG_HID_SAMSUNG=y
+CONFIG_HID_SONY=y
+CONFIG_HID_SUNPLUS=y
+CONFIG_HID_GREENASIA=y
+CONFIG_HID_SMARTJOYPLUS=y
+CONFIG_HID_TOPSEED=y
+CONFIG_HID_THRUSTMASTER=y
+CONFIG_HID_ZEROPLUS=y
+CONFIG_USB=y
+CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
+# CONFIG_USB_DEVICE_CLASS is not set
+CONFIG_USB_MON=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_EXT2_FS=y
+CONFIG_EXT3_FS=y
+# CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set
+# CONFIG_EXT3_FS_XATTR is not set
+CONFIG_VFAT_FS=y
+CONFIG_TMPFS=y
+CONFIG_JFFS2_FS=y
+CONFIG_CRAMFS=y
+CONFIG_NFS_FS=y
+CONFIG_NFS_V3=y
+CONFIG_ROOT_NFS=y
+# CONFIG_RPCSEC_GSS_KRB5 is not set
+CONFIG_NLS_CODEPAGE_437=y
+CONFIG_NLS_ISO8859_1=y
+CONFIG_MAGIC_SYSRQ=y
+CONFIG_DEBUG_FS=y
+CONFIG_DEBUG_KERNEL=y
+CONFIG_DETECT_HUNG_TASK=y
+# CONFIG_SCHED_DEBUG is not set
+CONFIG_DEBUG_INFO=y
+# CONFIG_RCU_CPU_STALL_DETECTOR is not set
+CONFIG_DEBUG_USER=y
+CONFIG_DEBUG_ERRORS=y
+CONFIG_DEBUG_LL=y
+CONFIG_EARLY_PRINTK=y
+# CONFIG_CRYPTO_ANSI_CPRNG is not set
+# CONFIG_CRYPTO_HW is not set
-- 
1.7.3.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] ARM: add Versatile Express defconfig
  2011-01-31 19:14 [PATCH] ARM: add Versatile Express defconfig Linus Walleij
@ 2011-01-31 19:25 ` Will Deacon
  2011-01-31 19:30 ` Russell King - ARM Linux
       [not found] ` <3093351151219722808@unknownmsgid>
  2 siblings, 0 replies; 6+ messages in thread
From: Will Deacon @ 2011-01-31 19:25 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Linus,

> Being able to compile a major reference platform is helpful for
> me when developing on other archs using the same e.g. PrimeCells.
> I bet this is useful to others as well.

Ignoring the politics surrounding defconfigs, I have a comment inline...
 
> diff --git a/arch/arm/configs/vexpress_defconfig b/arch/arm/configs/vexpress_defconfig
> new file mode 100644
> index 0000000..f2de51f
> --- /dev/null
> +++ b/arch/arm/configs/vexpress_defconfig
> @@ -0,0 +1,140 @@
> +CONFIG_EXPERIMENTAL=y
> +# CONFIG_LOCALVERSION_AUTO is not set
> +CONFIG_SYSVIPC=y
> +CONFIG_IKCONFIG=y
> +CONFIG_IKCONFIG_PROC=y
> +CONFIG_LOG_BUF_SHIFT=14
> +CONFIG_CGROUPS=y
> +CONFIG_CPUSETS=y
> +# CONFIG_UTS_NS is not set
> +# CONFIG_IPC_NS is not set
> +# CONFIG_USER_NS is not set
> +# CONFIG_PID_NS is not set
> +# CONFIG_NET_NS is not set
> +CONFIG_BLK_DEV_INITRD=y
> +# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
> +CONFIG_PROFILING=y
> +CONFIG_OPROFILE=y
> +CONFIG_MODULES=y
> +CONFIG_MODULE_UNLOAD=y
> +# CONFIG_LBDAF is not set
> +# CONFIG_BLK_DEV_BSG is not set
> +# CONFIG_IOSCHED_DEADLINE is not set
> +# CONFIG_IOSCHED_CFQ is not set
> +CONFIG_ARCH_VEXPRESS=y
> +CONFIG_ARCH_VEXPRESS_CA9X4=y
> +# CONFIG_SWP_EMULATE is not set
> +CONFIG_SMP=y
> +CONFIG_VMSPLIT_2G=y
> +CONFIG_HOTPLUG_CPU=y

This will probably cause a compile-time error with a mainline kernel
because the necessary hotplug functions aren't implemented for vexpress.

Will

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: add Versatile Express defconfig
  2011-01-31 19:14 [PATCH] ARM: add Versatile Express defconfig Linus Walleij
  2011-01-31 19:25 ` Will Deacon
@ 2011-01-31 19:30 ` Russell King - ARM Linux
  2011-01-31 20:31   ` Linus Walleij
       [not found] ` <3093351151219722808@unknownmsgid>
  2 siblings, 1 reply; 6+ messages in thread
From: Russell King - ARM Linux @ 2011-01-31 19:30 UTC (permalink / raw)
  To: linux-arm-kernel

On Mon, Jan 31, 2011 at 08:14:03PM +0100, Linus Walleij wrote:
> +CONFIG_SMP=y
> +CONFIG_VMSPLIT_2G=y

Why 2G?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: add Versatile Express defconfig
       [not found] ` <3093351151219722808@unknownmsgid>
@ 2011-01-31 20:27   ` Linus Walleij
  2011-02-01  9:52     ` Will Deacon
  0 siblings, 1 reply; 6+ messages in thread
From: Linus Walleij @ 2011-01-31 20:27 UTC (permalink / raw)
  To: linux-arm-kernel

2011/1/31 Will Deacon <will.deacon@arm.com>:

>> +CONFIG_SMP=y
>> +CONFIG_VMSPLIT_2G=y
>> +CONFIG_HOTPLUG_CPU=y
>
> This will probably cause a compile-time error with a mainline kernel
> because the necessary hotplug functions aren't implemented for vexpress.

Does compile for me on 2.6.38-rc1 (after I avoid an compiler ICE
on the NOR flash driver by deselecting it, I don't blame the kernel
for that one tho):

Image Name:   Linux-2.6.38-rc1
Created:      Mon Jan 31 21:21:16 2011
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    4740192 Bytes = 4629.09 kB = 4.52 MB
Load Address: 0x60008000
Entry Point:  0x60008000
  Image arch/arm/boot/uImage is ready

Might this have something to do with it:

git log arch/arm/mach-vexpress/hotplug.c
commit e9882777d992b76e0b80deadd66ad886c25f5d1f
Author: Russell King <rmk+kernel@arm.linux.org.uk>
Date:   Sun Dec 19 11:33:12 2010 +0000

    ARM: CPU hotplug: add Versatile Express hotplug CPU support

    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

I don't know if it boots tho, if you pack up a Vexpress and
mail it to my place I promise I will make more than just
compiletests ;-)

Linus Walleij

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: add Versatile Express defconfig
  2011-01-31 19:30 ` Russell King - ARM Linux
@ 2011-01-31 20:31   ` Linus Walleij
  0 siblings, 0 replies; 6+ messages in thread
From: Linus Walleij @ 2011-01-31 20:31 UTC (permalink / raw)
  To: linux-arm-kernel

2011/1/31 Russell King - ARM Linux <linux@arm.linux.org.uk>:

> On Mon, Jan 31, 2011 at 08:14:03PM +0100, Linus Walleij wrote:
>> +CONFIG_SMP=y
>> +CONFIG_VMSPLIT_2G=y
>
> Why 2G?

Beats me, it was part of the defconfig Colin recommended, Colin?

Linus Walleij

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] ARM: add Versatile Express defconfig
  2011-01-31 20:27   ` Linus Walleij
@ 2011-02-01  9:52     ` Will Deacon
  0 siblings, 0 replies; 6+ messages in thread
From: Will Deacon @ 2011-02-01  9:52 UTC (permalink / raw)
  To: linux-arm-kernel

Hey Linus,

> > This will probably cause a compile-time error with a mainline kernel
> > because the necessary hotplug functions aren't implemented for vexpress.
> 
> Does compile for me on 2.6.38-rc1 (after I avoid an compiler ICE
> on the NOR flash driver by deselecting it, I don't blame the kernel
> for that one tho):

Is the ICE similar to this? :

drivers/mtd/maps/integrator-flash.c: In function 'armflash_probe':
drivers/mtd/maps/integrator-flash.c:262: internal compiler error: in remove_insn, at emit-rtl.c:3803
Please submit a full bug report,
with preprocessed source if appropriate.

If so, I reported that to the compiler guys in ARM and I think it
got fixed in the 2010q3 codesourcery toolchain (not sure where it
is upstream).
 
> Might this have something to do with it:
> 
> git log arch/arm/mach-vexpress/hotplug.c
> commit e9882777d992b76e0b80deadd66ad886c25f5d1f
> Author: Russell King <rmk+kernel@arm.linux.org.uk>
> Date:   Sun Dec 19 11:33:12 2010 +0000
> 
>     ARM: CPU hotplug: add Versatile Express hotplug CPU support
> 
>     Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Great, I missed that! Feel free to hotplug away in your defconfig.
 
> I don't know if it boots tho, if you pack up a Vexpress and
> mail it to my place I promise I will make more than just
> compiletests ;-)

I'd swap one for one of your boards with the funky PMU, but I think
some people might not be too happy about that.

Will

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-01  9:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-31 19:14 [PATCH] ARM: add Versatile Express defconfig Linus Walleij
2011-01-31 19:25 ` Will Deacon
2011-01-31 19:30 ` Russell King - ARM Linux
2011-01-31 20:31   ` Linus Walleij
     [not found] ` <3093351151219722808@unknownmsgid>
2011-01-31 20:27   ` Linus Walleij
2011-02-01  9:52     ` Will Deacon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).