From patchwork Mon Sep 11 00:58:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 112163 Delivered-To: patch@linaro.org Received: by 10.100.153.131 with SMTP id 3csp5025510pji; Sun, 10 Sep 2017 17:59:14 -0700 (PDT) X-Google-Smtp-Source: ADKCNb63MStBhdPxgnNrApbhxC3UToRyVihwsRPYjq+y2KKZCc/hiXaNYqUl5D01cIfEj8tM9/GI X-Received: by 10.84.141.1 with SMTP id 1mr11878979plu.234.1505091554239; Sun, 10 Sep 2017 17:59:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505091554; cv=none; d=google.com; s=arc-20160816; b=B3gnmURAKs7H4H4xH65a/SEDJM1k63oV0CZY5s0l1I57Pfqt7RHmidKc2nph8s6CQh l7sP+rMX6YSE+TpaOBO7vFj3vidWUiwLjkUK9cuYorpmXgT3GuNpIU036lQ/zE8LCDY/ DouuMLxszeI3xFOPjJhle6Zb14sNa3QxWMcQI60Iy8Kqqmpwd/CQsUTs29HRGdXKKZ06 +FJr1M2D8DHnM5RCns4lHKobtigQnrJQht0IvyCIIlF23FHlY/Xiq4LvQHdXqtrYSQQe q4AOQ/w5uDsnU4JX5wPpOttHmBobmoVrgW5vQyT+m/VrwCRO2xatOJ4OTbzTefRi72rj xw0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=SDoMJLAQDgk6dQXi58L12fXOLQAs9QvPqCdnLtb5OIE=; b=SWyqkvebC6DnijWxhmvJQ4m9qip7dCYq82o/l8AP44GzAmXLmWxgwlQWn4+qvamHxL /hh29bzIcXnWtph/27U/oJfTgsBWHRUzs7e0qRPvUF1o4GuI1b835ZA0IEf9BX+GS+Va z+JMvVoPcF56sczAGP6XJh25n00Ezu0MmQ0/VXumLpFRTf8lFRcwJZzJLi/6KlRdbs+M eagEX0HopI3MjY8TlC2moWV40hq7SvQn2twGo0H1fa5zOe6cvcr4Volw6pv+TjWdzPv3 guemeWIsuKBhdZaIy50ruE1eosVpojjRE89COB5FQB3E2yNAk/ptEfnUGfYYs1+EAcJ9 8O9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i191si5064828pge.569.2017.09.10.17.59.13; Sun, 10 Sep 2017 17:59:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752056AbdIKA6P (ORCPT + 26 others); Sun, 10 Sep 2017 20:58:15 -0400 Received: from mx2.suse.de ([195.135.220.15]:60018 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752006AbdIKA6N (ORCPT ); Sun, 10 Sep 2017 20:58:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id D443CAB9B; Mon, 11 Sep 2017 00:58:11 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Cc: Thomas Liau , =?utf-8?b?5byg5Lic6aOO?= , =?utf-8?b?5YiY54Kc?= , =?utf-8?b?5byg5aSp55uK?= , =?utf-8?b?5qKF5Yip?= , support@cubietech.com, linux-kernel@vger.kernel.org, Ahha Lee Subject: [PATCH 0/2] ARM: owl: Add CubieBoard6 Date: Mon, 11 Sep 2017 02:58:03 +0200 Message-Id: <20170911005805.10116-1-afaerber@suse.de> X-Mailer: git-send-email 2.13.5 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This series prepares the Cubietech CubieBoard6, based on Actions Semi S500. Cf. https://en.opensuse.org/HCL:CubieBoard6 With this Device Tree it starts to boot, but it gets stuck during earlycon: [ 0.899855] cpuidle: using governor ladder [ 0.904118] Internal error: Oops - undefined instruction: 0 [#1] PREEMPT SMP ARM [ 0.911498] Modules linked in: [ 0.914552] CPU: 3 PID: 1 Comm: swapper/0 Not tainted 4.13.0-next-20170908-00003-gbc21950343e1 #38 [ 0.923486] Hardware name: Generic DT based system [ 0.928263] task: ee833840 task.stack: ee834000 [ 0.932804] PC is at arch_hw_breakpoint_init+0xa0/0x2ac [ 0.938015] LR is at arch_hw_breakpoint_init+0x88/0x2ac [ 0.943223] pc : [] lr : [] psr: 60000013 [ 0.949469] sp : ee835ef8 ip : c09005a0 fp : 00000000 [ 0.954676] r10: c092e83c r9 : 0000009a r8 : c0939624 [ 0.959882] r7 : c092e828 r6 : c0a3463c r5 : c0a3463c r4 : 00000001 [ 0.966388] r3 : 0000000f r2 : 510002d0 r1 : 00000000 r0 : 00000003 [ 0.972898] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 0.980013] Control: 10c5387d Table: 0000404a DAC: 00000051 [ 0.985740] Process swapper/0 (pid: 1, stack limit = 0xee834218) [ 0.991727] Stack: (0xee835ef8 to 0xee836000) [ 0.996069] 5ee0: c0a24844 c0a2b47c [ 1.004228] 5f00: 00000000 c05adf6c 00000003 c0904400 00000000 c01019f0 0000009a 0000009a [ 1.012388] 5f20: eeff7200 eeff72c9 c08a5aec 0000009a 0000009a c0137b54 c08a4ee4 00000000 [ 1.020546] 5f40: 00000003 00000003 eeff72c9 eeff72d1 c0a0b7f4 00000003 c0a34300 c0a34300 [ 1.028704] 5f60: 00000003 c0a34300 c0a34300 c0939624 0000009a c0900dd0 00000003 00000003 [ 1.036862] 5f80: 00000000 c09005a0 00000000 c06d6cac 00000000 00000000 00000000 00000000 [ 1.045020] 5fa0: 00000000 c06d6cb4 00000000 c01079e0 00000000 00000000 00000000 00000000 [ 1.053177] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 1.061335] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff [ 1.069521] [] (arch_hw_breakpoint_init) from [] (do_one_initcall+0x40/0x16c) [ 1.078385] [] (do_one_initcall) from [] (kernel_init_freeable+0x144/0x1e0) [ 1.087081] [] (kernel_init_freeable) from [] (kernel_init+0x8/0x110) [ 1.095252] [] (kernel_init) from [] (ret_from_fork+0x14/0x34) [ 1.102807] Code: 0a000002 e3500005 13a04000 ea000001 (ee114e91) [ 1.108892] ---[ end trace 7c7f41a8afd53875 ]--- [ 1.113517] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b The same kernel zImage binary boots fine on Guitar, where I instead get: [ 0.865476] cpuidle: using governor ladder [ 0.866283] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers. [ 0.866385] hw-breakpoint: maximum watchpoint size is 4 bytes. I have tested this both with and without owl_secondary_boot(), i.e. my SMP patch series. Work branch for testing: https://github.com/afaerber/linux/commits/bg96-next Cheers, Andreas Cc: Ahha Lee Cc: support@cubietech.com Andreas Färber (2): dt-bindings: arm: actions: Add CubieBoard6 ARM: dts: owl-s500: Add CubieBoard6 Documentation/devicetree/bindings/arm/actions.txt | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/owl-s500-cubieboard6.dts | 44 +++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 arch/arm/boot/dts/owl-s500-cubieboard6.dts -- 2.13.5