From patchwork Fri Nov 7 11:44:22 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 5251581 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 83B6EC11AC for ; Fri, 7 Nov 2014 11:44:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B04DF20138 for ; Fri, 7 Nov 2014 11:44:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D26452012E for ; Fri, 7 Nov 2014 11:44:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751892AbaKGLog (ORCPT ); Fri, 7 Nov 2014 06:44:36 -0500 Received: from mailout3.w1.samsung.com ([210.118.77.13]:8224 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751881AbaKGLoe (ORCPT ); Fri, 7 Nov 2014 06:44:34 -0500 Received: from eucpsbgm2.samsung.com (unknown [203.254.199.245]) by mailout3.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0NEO00JFD3F0QI10@mailout3.w1.samsung.com>; Fri, 07 Nov 2014 11:47:24 +0000 (GMT) X-AuditID: cbfec7f5-b7f956d000005ed7-c7-545cb09fc797 Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm2.samsung.com (EUCPMTA) with SMTP id A0.EC.24279.F90BC545; Fri, 07 Nov 2014 11:44:31 +0000 (GMT) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync3.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0NEO009RY3A4RFB0@eusync3.samsung.com>; Fri, 07 Nov 2014 11:44:31 +0000 (GMT) From: Krzysztof Kozlowski To: Ben Dooks , Kukjin Kim , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH] ARM: dts: Fix booting on Rinato market device Date: Fri, 07 Nov 2014 12:44:22 +0100 Message-id: <1415360662-30390-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFuplluLIzCtJLcpLzFFi42I5/e/4Vd35G2JCDLq/WFlMWneAyWL+kXOs Fv1vFrJanHu1ktHi9QtDi94FV9ksNj2+xmpxedccNosZ5/cxWdy+zGux9PpFJosJ09eyWLTu PcLuwOuxZt4aRo+W5h42j8t9vUwef1e9YPZYufwLm8emVZ1sHpuX1Hv0bVnF6PF5k1wAZxSX TUpqTmZZapG+XQJXxpUD7AWLeCqO7VnI1sC4hquLkZNDQsBE4taVKSwQtpjEhXvr2boYuTiE BJYySqz/9ZIdwuljkrj68BhYFZuAscTm5UvAqkQEtjFLrGv8xQiSYBYwlPj57g87iC0sYCex +OcnZhCbRUBV4tvVo2A2r4C7xKTDt5gh1slJnDw2mXUCI/cCRoZVjKKppckFxUnpuUZ6xYm5 xaV56XrJ+bmbGCFB+HUH49JjVocYBTgYlXh4H4jEhAixJpYVV+YeYpTgYFYS4Z29GijEm5JY WZValB9fVJqTWnyIkYmDU6qBsdyixtl8HuvvW/+Or8pjcj7QKjZbeEfVx4lax47r5/87JD3h l8LzuMTc3uXSjKJS/+ZdMIpjXTrf9+iNaNf1s0TnMK+ZuCpEcLeO7l2f51GCUy5FmN7QP137 pFbIzvDatunJK6xLN29ouHbOIZVt0Y+n2SF/eUUXpx97tX396tPld1PEb63iF1NiKc5INNRi LipOBAAIxmisIAIAAA== 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=-7.5 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 The bootloader on market Rinato (Gear 2) device checks for revision in compatible field of DTB. If it is not present or lower than required then booting fails with: "Could not do normal boot. (no DTB found)". Log of bootloader in case of failure: h/w: revision = 0x06 h/w: schematic = SM-R380_Rev0.5_Final_0205 date = 2000/01/01 12:00:21 (UTC) cmu_div:4, div:5, src_clk:800000000, pixel_clk:31860720 load_kernel: loading boot image from 57344.. (BOOT) load_kernel: found zImage, size: 0x3267e8 0xbc Error! Verify_Binary_Signature: failed. pit_check_signature (BOOT) invalid. load_kernel: found custom kernel (ret:-2147483647) No need to update kernel type. Detected board: samsung,rinato-rev06 Could not do normal boot. (no DTB found) : Entering usb mode for SM-R380_EUR_XX (65535).. Add a "rev06" suffix to compatible to satisfy the bootloader. Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250-rinato.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/boot/dts/exynos3250-rinato.dts index 84380fa13e37..f72ba0a1d915 100644 --- a/arch/arm/boot/dts/exynos3250-rinato.dts +++ b/arch/arm/boot/dts/exynos3250-rinato.dts @@ -18,7 +18,8 @@ / { model = "Samsung Rinato board"; - compatible = "samsung,rinato", "samsung,exynos3250", "samsung,exynos3"; + compatible = "samsung,rinato", "samsung,rinato-rev06", + "samsung,exynos3250", "samsung,exynos3"; aliases { i2c7 = &i2c_max77836;