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: 5251631 Return-Path: X-Original-To: patchwork-linux-arm@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 1064AC11AC for ; Fri, 7 Nov 2014 11:47:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 408D12012E for ; Fri, 7 Nov 2014 11:47:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 643ED200DF for ; Fri, 7 Nov 2014 11:47:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XmhyS-00085C-JV; Fri, 07 Nov 2014 11:45:04 +0000 Received: from mailout3.w1.samsung.com ([210.118.77.13]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XmhyN-0007kF-JW for linux-arm-kernel@lists.infradead.org; Fri, 07 Nov 2014 11:45:01 +0000 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> for linux-arm-kernel@lists.infradead.org; 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 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== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141107_034459_874634_7D958BDA X-CRM114-Status: UNSURE ( 9.32 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -5.6 (-----) Cc: Krzysztof Kozlowski X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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;