From patchwork Fri Jun 28 16:49:58 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartlomiej Zolnierkiewicz X-Patchwork-Id: 2800211 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A0055BF4A1 for ; Fri, 28 Jun 2013 16:50:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 683822020D for ; Fri, 28 Jun 2013 16:50:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AE457201FD for ; Fri, 28 Jun 2013 16:50:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755828Ab3F1QuM (ORCPT ); Fri, 28 Jun 2013 12:50:12 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:41426 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755808Ab3F1QuH (ORCPT ); Fri, 28 Jun 2013 12:50:07 -0400 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MP4005YW43HCGP0@mailout2.samsung.com> for linux-samsung-soc@vger.kernel.org; Sat, 29 Jun 2013 01:50:05 +0900 (KST) X-AuditID: cbfee61a-b7f3b6d000006edd-7b-51cdbebd8020 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id EC.61.28381.DBEBDC15; Sat, 29 Jun 2013 01:50:05 +0900 (KST) Received: from amdc1032.localnet ([106.116.147.136]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MP4003LH43FYP20@mmp1.samsung.com>; Sat, 29 Jun 2013 01:50:05 +0900 (KST) From: Bartlomiej Zolnierkiewicz To: Kukjin Kim Cc: Sylwester Nawrocki , Daniel Lezcano , Tomasz Figa , Kyungmin Park , linux-samsung-soc@vger.kernel.org Subject: [PATCH v2] ARM: EXYNOS: remove obsolete exynos4_defconfig Date: Fri, 28 Jun 2013 18:49:58 +0200 Message-id: <114385450.duFZgiTBHn@amdc1032> User-Agent: KMail/4.8.4 (Linux/3.5.0-rc2+; KDE/4.8.5; i686; ; ) MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrCLMWRmVeSWpSXmKPExsVy+t9jAd29+84GGsz8qGQx77OsRe+Cq2wW Z5vesFvMOL+PyeLwm3ZWi/UzXrM4sHncubaHzaNvyypGj8+b5AKYo7hsUlJzMstSi/TtErgy Xt5tYS9oUqiY9L2RqYHxnnQXIyeHhICJxPVtN1kgbDGJC/fWs3UxcnEICSxilJhwdg87hNPC JHFh1Ul2kCo2ASuJie2rGEFsEQE1iZ7FWxlBipgFzjNK3Ly5HaxIWMBJYt3MWWBjWQRUJSYu OwYU5+DgFdCWOH3CFiQsKmAvse3dWzYQm1dAUOLH5Htg5cwC8hL79k9lhbC1JNbvPM40gZFv FpKyWUjKZiEpW8DIvIpRNLUguaA4KT3XUK84Mbe4NC9dLzk/dxMjOCyfSe1gXNlgcYhRgINR iYf3xdyzgUKsiWXFlbmHGCU4mJVEeLnnAYV4UxIrq1KL8uOLSnNSiw8xSnOwKInzHmi1DhQS SE8sSc1OTS1ILYLJMnFwSjUwiie2X84+m7jGrEcq5X69Hd+eHdL/gzTZwj/u7b7ZdfucIZdX 4aFvhskeK8/sy5gezVJULHh699a++w9V5zwR/W/CZf1k3h/nFcua1ttxdJw9JfCzufc1962L X5ad3ivvrTF5Vc7c6/cPLc57dP/UtMN7l7MYTvbr8Er309vVIJA/cTfvqU1lnUosxRmJhlrM RcWJAGHeNRFHAgAA Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-8.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP After conversion to using device tree only (no board files) on mach-exynos using exynos4_defconfig results in unbootable kernel (I used next-20130626): --- Uncompressing Linux... done, booting the kernel. Booting Linux on physical CPU 0x900 Linux version 3.10.0-rc7-next-20130626-dirty (bzolnier@amdc1032) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) 3 CPU: ARMv7 Processor [412fc091] revision 1 (ARMv7), cr=10c5387d CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache Error: unrecognized/unsupported machine ID (r1 = 0x00000bad). Error: unrecognized/unsupported machine ID (r1 = 0x00000bad). Available machine support: ID (hex) NAME Available machine support: ID (hex) NAME ffffffff Samsung Exynos4 (Flattened Device Tree) ffffffff Samsung Exynos4 (Flattened Device Tree) Please check your kernel config and/or bootloader. --- There is no much point in trying to fix exynos4_defconfig because exynos_defconfig also works for EXYNOS4 SoCs, is being kept up to date (for the comparison the last exynos4_defconfig update was in November 2011) and has more useful stuff enabled (i.e. exynos4_defconfig doesn't even have EXT3 or EXT4 enabled, it only has EXT2 turned on). Another advantage of using one defconfig for both EXYNOS4 and EXYNOS5 is that it makes development and testing easier. It should allow us to catch early EXYNOS4 regressions caused by EXYNOS5 changes and also EXYNOS4 changes that break EXYNOS5. Acked-by: Sylwester Nawrocki Acked-by: Daniel Lezcano Cc: Tomasz Figa Cc: Kukjin Kim Signed-off-by: Kyungmin Park Signed-off-by: Bartlomiej Zolnierkiewicz --- v2: - updated patch description - added Acks from Sylwester and Daniel - fixed Tomek's mail address arch/arm/configs/exynos4_defconfig | 68 ------------------------------------- 1 file changed, 68 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: b/arch/arm/configs/exynos4_defconfig =================================================================== --- a/arch/arm/configs/exynos4_defconfig 2013-01-02 17:56:41.392159930 +0100 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,68 +0,0 @@ -CONFIG_EXPERIMENTAL=y -CONFIG_BLK_DEV_INITRD=y -CONFIG_KALLSYMS_ALL=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -# CONFIG_BLK_DEV_BSG is not set -CONFIG_ARCH_EXYNOS=y -CONFIG_S3C_LOWLEVEL_UART_PORT=1 -CONFIG_MACH_SMDKC210=y -CONFIG_MACH_ARMLEX4210=y -CONFIG_MACH_UNIVERSAL_C210=y -CONFIG_MACH_NURI=y -CONFIG_MACH_ORIGEN=y -CONFIG_MACH_SMDK4412=y -CONFIG_NO_HZ=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_SMP=y -CONFIG_NR_CPUS=2 -CONFIG_PREEMPT=y -CONFIG_AEABI=y -CONFIG_CMDLINE="root=/dev/ram0 rw ramdisk=8192 initrd=0x41000000,8M console=ttySAC1,115200 init=/linuxrc mem=256M" -CONFIG_VFP=y -CONFIG_NEON=y -CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_SIZE=8192 -CONFIG_SCSI=y -CONFIG_BLK_DEV_SD=y -CONFIG_CHR_DEV_SG=y -CONFIG_INPUT_EVDEV=y -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -CONFIG_INPUT_TOUCHSCREEN=y -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_SAMSUNG=y -CONFIG_SERIAL_SAMSUNG_CONSOLE=y -CONFIG_HW_RANDOM=y -CONFIG_I2C=y -# CONFIG_HWMON is not set -# CONFIG_MFD_SUPPORT is not set -# CONFIG_HID_SUPPORT is not set -# CONFIG_USB_SUPPORT is not set -CONFIG_EXT2_FS=y -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_TMPFS_POSIX_ACL=y -CONFIG_CRAMFS=y -CONFIG_ROMFS_FS=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_BSD_DISKLABEL=y -CONFIG_SOLARIS_X86_PARTITION=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_ASCII=y -CONFIG_NLS_ISO8859_1=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_DEBUG_KERNEL=y -CONFIG_DETECT_HUNG_TASK=y -CONFIG_DEBUG_RT_MUTEXES=y -CONFIG_DEBUG_SPINLOCK=y -CONFIG_DEBUG_MUTEXES=y -CONFIG_DEBUG_INFO=y -CONFIG_SYSCTL_SYSCALL_CHECK=y -CONFIG_DEBUG_USER=y -CONFIG_DEBUG_LL=y -CONFIG_EARLY_PRINTK=y -CONFIG_CRC_CCITT=y