From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from www3345.sakura.ne.jp ([49.212.235.55]:56779 "EHLO www3345.sakura.ne.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752015AbcKGKiA (ORCPT ); Mon, 7 Nov 2016 05:38:00 -0500 Message-ID: <58205984.4000708@jinso.co.jp> Date: Mon, 07 Nov 2016 19:37:56 +0900 From: Hiep Cao Minh MIME-Version: 1.0 To: Geert Uytterhoeven CC: Xuan Truong Nguyen , Laurent Pinchart , duclm , Ryusuke Sakato , Kuninori Morimoto , Magnus Damm , Geert Uytterhoeven , =?UTF-8?B?56iy5ZCJ?= , Yoshihiro Shimoda , =?UTF-8?B?RHVuZ++8muS6uuOCvQ==?= , Simon Horman , Linux-Renesas , Wolfram Sang Subject: Re: GEN2:Lager: Only 1 core works when turning off the SW8-PIN4 References: <57A46D20.7040106@jinso.co.jp> <57C9764F.2070802@jinso.co.jp> <57D66DEC.4090607@jinso.co.jp> <57ECF4EA.4010704@jinso.co.jp> <57EE368B.8030500@jinso.co.jp> <57EE38CF.5090903@jinso.co.jp> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-renesas-soc-owner@vger.kernel.org List-ID: Hi Geert On 11/07/2016 06:44 PM, Geert Uytterhoeven wrote: > Hi Hiep, > > On Fri, Sep 30, 2016 at 12:05 PM, Hiep Cao Minh wrote: >>>>> The issue you're seeing is due to a combination of commits >>>>> 5f3bca0db8ac01a7 >>>>> ("ARM: shmobile: apmu: Add APMU DT support via Enable method") and >>>>> dc378795156d980c ("ARM: dts: r8a7790: Add APMU nodes"). >>>>> >>>>> When debug mode is enabled (SW8-4 = OFF), trying to boot secondary CPUs >>>>> may >>>>> lock up the system after a cold boot, depending of boot load version. >>>>> Hence >>>>> we explicitly prohibit that. BTW, this has been the case on Koelsch >>>>> since >>>>> commit >>>>> 277efd30cfc72ec2 ("ARM: shmobile: Check r8a7791 MD21 at SMP boot"). >>>>> >>>>> Now, does series "[PATCH/RFT 0/4] ARM: shmobile: R-Car Gen2: Allow >>>>> booting >>>>> secondary CPU cores in debug mode" (included in all renesas-drivers >>>>> releases >>>>> during September) fix it for you? >>>> Thanks for your series patches. >>>> I have had some problems of receiving post mail from Linux-Renesas >>>> Mailing >>>> List recently. >>>> >>>> Could you please forward these series patches to me? >>> They're included in renesas-drivers. >>> You can also get them from gitweb at >>> >>> https://git.kernel.org/cgit/linux/kernel/git/geert/renesas-drivers.git/log/?h=topic/rcar-secondary-booting-in-debug-mode-v1 >> Thanks, I'll confirm these patches on my board. > Have you tried this series on your Lager? If yes, can I add your Tested-by? Sorry for the late reply!. I have totally forgotten my reporting test result to you. I have tested this series on my Lager board. The bug has been fixed. > Which ES version of R-Car H1 do you have? If you don't know, you can > tell me the result of "md.l 0xff000044 1" in U-Boot. My board information: LAGER SPI_LOADER V0.28 2014.09.29 DEVICE S25FL512 U-Boot 2016.01 (Jul 27 2016 - 15:27:42 +0900) CPU: Renesas Electronics R8A7790 rev 2.0 ----- => md.l 0xff000044 1 ff000044: 00004510 .E.. ---- Thanks, Jinzai Solution Inc, Hiep. > Thanks! > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds >