Skip to contentSkip to conversation

ARM: h3600: update defconfig

PATCH Superseded Linus Walleij 3 participants 4 messages Sep 30, 2013 – Oct 2, 2013 Arm (32-bit)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: h3600: update defconfig

This updates the h3600 defconfig against the latest kernel with some small options coming and going due to Kconfig structure, then modernize it to:

- Use EABI to compile the kernel
- Configure for low latency preemptive kernel
- Configure for tickless idle
- Enable HRtimers

Tested on the iPAQ h3630.

---
 arch/arm/configs/h3600_defconfig | 23 +++++++----------------
 1 file changed, 7 insertions(+), 16 deletions(-)
arch/arm/configs/h3600_defconfig +7 -16
index 317960f..0e0ab0f 100644
@@ -1,5 +1,6 @@
-CONFIG_EXPERIMENTAL=y
 CONFIG_SYSVIPC=y
+CONFIG_NO_HZ_IDLE=y
+CONFIG_HIGH_RES_TIMERS=y
 CONFIG_LOG_BUF_SHIFT=14
 CONFIG_BLK_DEV_INITRD=y
 CONFIG_MODULES=y
@@ -11,11 +12,12 @@ CONFIG_ARCH_SA1100=y
 CONFIG_SA1100_H3600=y
 CONFIG_PCCARD=y
 CONFIG_PCMCIA_SA1100=y
+CONFIG_PREEMPT=y
+CONFIG_AEABI=y
 CONFIG_ZBOOT_ROM_TEXT=0x0
 CONFIG_ZBOOT_ROM_BSS=0x0
 # CONFIG_CPU_FREQ_STAT is not set
 CONFIG_FPE_NWFPE=y
-CONFIG_PM=y
 CONFIG_NET=y
 CONFIG_UNIX=y
 CONFIG_INET=y
@@ -24,13 +26,10 @@ CONFIG_IRDA=m
 CONFIG_IRLAN=m
 CONFIG_IRNET=m
 CONFIG_IRCOMM=m
-CONFIG_SA1100_FIR=m
 # CONFIG_WIRELESS is not set
 CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
 CONFIG_MTD=y
-CONFIG_MTD_PARTITIONS=y
 CONFIG_MTD_REDBOOT_PARTS=y
-CONFIG_MTD_CHAR=y
 CONFIG_MTD_BLOCK=y
 CONFIG_MTD_CFI=y
 CONFIG_MTD_CFI_ADV_OPTIONS=y
@@ -41,19 +40,15 @@ CONFIG_MTD_SA1100=y
 CONFIG_BLK_DEV_LOOP=m
 CONFIG_BLK_DEV_RAM=y
 CONFIG_BLK_DEV_RAM_SIZE=8192
-# CONFIG_MISC_DEVICES is not set
 CONFIG_IDE=y
 CONFIG_BLK_DEV_IDECS=y
 CONFIG_NETDEVICES=y
-# CONFIG_NETDEV_1000 is not set
-# CONFIG_NETDEV_10000 is not set
-# CONFIG_WLAN is not set
-CONFIG_NET_PCMCIA=y
 CONFIG_PCMCIA_PCNET=y
 CONFIG_PPP=m
-CONFIG_PPP_ASYNC=m
-CONFIG_PPP_DEFLATE=m
 CONFIG_PPP_BSDCOMP=m
+CONFIG_PPP_DEFLATE=m
+CONFIG_PPP_ASYNC=m
+# CONFIG_WLAN is not set
 # CONFIG_KEYBOARD_ATKBD is not set
 CONFIG_KEYBOARD_GPIO=y
 # CONFIG_INPUT_MOUSE is not set
@@ -64,8 +59,6 @@ CONFIG_SERIAL_SA1100_CONSOLE=y
 # CONFIG_HWMON is not set
 CONFIG_FB=y
 CONFIG_FB_SA1100=y
-# CONFIG_VGA_CONSOLE is not set
-# CONFIG_HID_SUPPORT is not set
 # CONFIG_USB_SUPPORT is not set
 CONFIG_EXT2_FS=y
 CONFIG_MSDOS_FS=m
@@ -74,6 +67,4 @@ CONFIG_JFFS2_FS=y
 CONFIG_CRAMFS=m
 CONFIG_NFS_FS=y
 CONFIG_NFSD=m
-CONFIG_SMB_FS=m
 CONFIG_NLS=y
-# CONFIG_RCU_CPU_STALL_DETECTOR is not set
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 ARM: h3600: update defconfig

Quoted 5 lines · Linus Walleij

This updates the h3600 defconfig against the latest kernel with some small options coming and going due to Kconfig structure, then modernize it to:

- Use EABI to compile the kernel

EABI on ARMv4 *non-T* and without --fix-v4bx (a) added to the linker arguments, and (b) V4BX relocations added to the kernel module loader? Are you sure this is all that's required?

#2 lore raw

PATCH 1/1 ARM: h3600: update defconfig

Quoted 11 lines · Russell King - ARM Linux
Quoted 5 lines · Linus Walleij

This updates the h3600 defconfig against the latest kernel with some small options coming and going due to Kconfig structure, then modernize it to:

- Use EABI to compile the kernel

EABI on ARMv4 *non-T* and without --fix-v4bx (a) added to the linker arguments, and (b) V4BX relocations added to the kernel module loader? Are you sure this is all that's required?

Yes, the toolchain built with OpenEmbedded / Yocto Project contains the necessary fixes [1] since end 2012.
Runtime tested eglibc and klibc on Zaurus collie.
Same binaries even tested on armv5te.

[1] http://cgit.openembedded.org/openembedded-core/log/?qt=grep&q=armv4

Cheers
Andrea

Quoted 4 lines

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

#3 lore raw

PATCH 1/1 ARM: h3600: update defconfig

Quoted 14 lines · Andrea Adami
Quoted 11 lines · Russell King - ARM Linux
Quoted 5 lines · Linus Walleij

This updates the h3600 defconfig against the latest kernel with some small options coming and going due to Kconfig structure, then modernize it to:

- Use EABI to compile the kernel

EABI on ARMv4 *non-T* and without --fix-v4bx (a) added to the linker arguments, and (b) V4BX relocations added to the kernel module loader? Are you sure this is all that's required?

Quoted 6 lines

Yes, the toolchain built with OpenEmbedded / Yocto Project contains the necessary fixes [1] since end 2012.
Runtime tested eglibc and klibc on Zaurus collie.
Same binaries even tested on armv5te.

[1] http://cgit.openembedded.org/openembedded-core/log/?qt=grep&q=armv4

Sorry, I don't accept this as an adequate "fix" for the kernel. It's not up to the build environment to provide --fix-v4bx to the kernel makefiles to work around this problem. That's just the sticky plaster fix and not proper engineering.