From patchwork Tue Mar 10 08:05:36 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nobuhiro Iwamatsu X-Patchwork-Id: 5974411 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2829F9F380 for ; Tue, 10 Mar 2015 08:06:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 23FA02022A for ; Tue, 10 Mar 2015 08:06:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 93421201F5 for ; Tue, 10 Mar 2015 08:06:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751231AbbCJIGM (ORCPT ); Tue, 10 Mar 2015 04:06:12 -0400 Received: from mail-la0-f52.google.com ([209.85.215.52]:45527 "EHLO mail-la0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751117AbbCJIGI convert rfc822-to-8bit (ORCPT ); Tue, 10 Mar 2015 04:06:08 -0400 Received: by lamq1 with SMTP id q1so12398199lam.12 for ; Tue, 10 Mar 2015 01:06:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=01rvnaX4zjKr4FOLn4QB9A6mlI17aR1DgRFu7FT4nys=; b=BMTRZoTsLN1Btg2pbUCy69NF2YRb2V4QAesYLhQNynNwNtq23uZbj1uekusk3MAzxL UDsYkkev+MOrItKder8qjFguMe3Xf81OSwz6CozFeTKwO6+R8NnKFe3mdFbk98SO99cc 5Wg00FQAZ5e8kXVKEOU0sxxELHoddIfwFA5VkVAceRkzA338aZIerudX55+gPh8E5kZX qFkxqo8o8oVA65rYEFlGAK4Sb/cLyjh0XJMfeyQG+5aydpl6WeIC/cAT9JH93UJ2gChz qTUk6iPTdTh89Gix4fj31l/psDTk8GGJV/Cvp4uP4qBNwxE/jgRMEdMpYmlsIE9JItea v0Iw== X-Gm-Message-State: ALoCoQnig+6iwgql7dBCTEjqK99pU/lZHRMdVsb1lQ6Zptc8PxSXss5XiTQp9Au22Ed4rO9NQBwS X-Received: by 10.112.185.66 with SMTP id fa2mr28719533lbc.117.1425974766342; Tue, 10 Mar 2015 01:06:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.152.229.67 with HTTP; Tue, 10 Mar 2015 01:05:36 -0700 (PDT) In-Reply-To: <9904400.IVpSAFnIyl@avalon> References: <54EAB5C0.5030304@jinso.co.jp> <2263226.JPOqZgiCRj@avalon> <54FD6B5A.6030904@jinso.co.jp> <9904400.IVpSAFnIyl@avalon> From: Nobuhiro Iwamatsu Date: Tue, 10 Mar 2015 17:05:36 +0900 Message-ID: Subject: Re: Can't boot kernel v4.0-rc2 on Koelsch To: Laurent Pinchart Cc: Cao Minh Hiep , Linux-SH , Kuninori Morimoto , Magnus Damm , Simon Horman , Sakato Ryusuke , Yoshihiro Shimoda , Geert Uytterhoeven Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Hi, all. This is user land issue. Hiep, if you have not changed ttySCX in inittab, you will need to change. Could you check your inittab? Best regards, Nobuhiro 2015-03-10 8:49 GMT+09:00 Laurent Pinchart : > Hello Hiep-san, > > (CC'ing Geert) > > On Monday 09 March 2015 18:43:54 Cao Minh Hiep wrote: >> On 2015?03?09? 16:06, Laurent Pinchart wrote: >> > On Monday 09 March 2015 10:07:04 Cao Minh Hiep wrote: >> >> Hi Laurent-san >> >> >> >> I am Hiep from Jinzai Solution. >> >> I'm sorry to bother you again! >> > >> > No worries. >> > >> >> We are testing the linux ver v4.0-rc2 on Koelsch, We can not boot the >> >> kernel v4.0-rc2 on Koelsch, >> >> Then we found a patch has changed as below: >> >> "1f75cda ARM: shmobile: koelsch: Rename SCIF[01] serial ports to >> >> ttySC[01]" >> >> >> >> Please see it when you have time! >> > >> > Could you please detail your boot failure ? You might need to change your >> > /etc/inittab to adjust to the serial port new name, but apart from that >> > there shouldn't be any issue. I can boot my Koelsch board on 4.0-v2. >> >> Sure, I use the rootfs of Linaro-nano 2014.09 to test v4.0-rc2. >> When booting kernel with default config, bootlogs showed until these >> messages appearing. >> "init: auto-serial-console main process ended, respawning >> init: auto-serial-console main process ended, respawning >> init: auto-serial-console main process ended, respawning >> init: tty1 main process (1449) killed by TERM signal >> init: auto-serial-console respawning too fast, stopped" >> >> Then, my Koelsch board stoped here.(my Lager board is the same) >> (I attached the bootlogs_file) >> >> So, When I tried to add "console=ttySC0," into bootargs (at .dts file), >> i can boot my Koelsch board without any problems. >> And these are the same on Lager board. > > Thank you for the information. > > Geert, it looks like the console= kernel command line argument is used by > userspace to figure out the console device on which to spawn a terminal. What > would you think about adding it back ? > >> Thank you! >> Jinso/Hiep >> ========= >> information: >> Actually, on v4.0-rc2, we have two patches related each other as below: >> 79e69d1 ARM: shmobile: koelsch dts:Drop console= bootargs parameter BAD. >> 1f75cda ARM: shmobile: koelsch: Rename SCIF01 serial ports to ttySC01 >> >> And for Lager: >> 569dd56 ARM: shmobile: lager dts: Drop console= bootargs parameter >> 78c11ec ARM: shmobile: lager: Rename SCIFA[01] serial ports to ttySC[01] >> >> There is only 79e69d1 patch on v3.19-rcX, I also had a problem with >> bootting Koelsch on v3.19-rcX >> (using linaro-nano 2014.09). But it was good on Yocto and >> linaro-nano-2013.02 > > -- > Regards, > > Laurent Pinchart > > -- > To unsubscribe from this list: send the line "unsubscribe linux-sh" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html --- a/inittab 2015-03-10 15:01:58.986609389 +0900 +++ b/inittab 2015-03-10 15:00:32.132094877 +0900 @@ -28,7 +28,7 @@ l6:6:wait:/etc/init.d/rc 6 # Normally not reached, but fallthrough in case of emergency. z6:6:respawn:/sbin/sulogin -SC6:12345:respawn:/sbin/getty -L 38400 ttySC6 +SC0:12345:respawn:/sbin/getty -L 38400 ttySC0 # /sbin/getty invocations for the runlevels. # # The "id" field MUST be the same as the last