Skip to contentSkip to conversation

ARM: add Versatile Express defconfig

PATCH New Linus Walleij 4 participants 6 messages Jan 31, 2011 – Feb 1, 2011 1 message not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: add Versatile Express defconfig

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.

---
 arch/arm/configs/vexpress_defconfig |  140 +++++++++++++++++++++++++++++++++++
 1 files changed, 140 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/configs/vexpress_defconfig
arch/arm/configs/vexpress_defconfig new file +140 -0
new file mode 100644
index 0000000..f2de51f
@@ -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
Signature · 1 line
1.7.3.2
#1 lore raw

PATCH 1/1 ARM: add Versatile Express defconfig

Hi Linus,

Quoted 3 lines

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...

Quoted 25 lines
arch/arm/configs/vexpress_defconfig new file +19 -0
new file mode 100644
index 0000000..f2de51f
@@ -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

arch/arm/configs/vexpress_defconfig line 29

Quoted 10 lines
arch/arm/configs/vexpress_defconfig new file +10 -0
+# 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

#2 lore raw

PATCH 1/1 ARM: add Versatile Express defconfig

In reply to Linus Walleij

arch/arm/configs/vexpress_defconfig line 28

Quoted 2 lines · Linus Walleij
arch/arm/configs/vexpress_defconfig new file +2 -0
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y

Why 2G?

#3 lore raw

PATCH 1/1 ARM: add Versatile Express defconfig

2011/1/31 Russell King - ARM Linux <[email protected]>:

Quoted 5 lines · Linus Walleij

arch/arm/configs/vexpress_defconfig line 28

Quoted 2 lines
arch/arm/configs/vexpress_defconfig new file +2 -0
+CONFIG_SMP=y
+CONFIG_VMSPLIT_2G=y

Why 2G?

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

Linus Walleij

A message that is not in the archive (sent off-list or not yet received): 3093351151219722808@unknownmsgid

#5 lore raw

PATCH 1/1 ARM: add Versatile Express defconfig

2011/1/31 Will Deacon <[email protected]>:

Quoted 6 lines

arch/arm/configs/vexpress_defconfig line 29

Quoted 3 lines
arch/arm/configs/vexpress_defconfig new file +3 -0
+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 <[email protected]>
Date:   Sun Dec 19 11:33:12 2010 +0000

ARM: CPU hotplug: add Versatile Express hotplug CPU support

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

#6 lore raw

PATCH 1/1 ARM: add Versatile Express defconfig

Hey Linus,

Quoted 6 lines
Quoted 2 lines

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).

Quoted 10 lines

Might this have something to do with it:

git log arch/arm/mach-vexpress/hotplug.c
commit e9882777d992b76e0b80deadd66ad886c25f5d1f

Author: Russell King <[email protected]>
Date:   Sun Dec 19 11:33:12 2010 +0000

ARM: CPU hotplug: add Versatile Express hotplug CPU support

Great, I missed that! Feel free to hotplug away in your defconfig.

Quoted 3 lines

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