From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752905AbbJNKdw (ORCPT ); Wed, 14 Oct 2015 06:33:52 -0400 Received: from mail-by2on0106.outbound.protection.outlook.com ([207.46.100.106]:46024 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751126AbbJNKdu convert rfc822-to-8bit (ORCPT ); Wed, 14 Oct 2015 06:33:50 -0400 From: Huan Wang To: Arnd Bergmann , "linux-arm-kernel@lists.infradead.org" CC: Fabio Estevam , Russell King - ARM Linux , "shawnguo@kernel.org" , "linux-kernel@vger.kernel.org" , Jin Jason Subject: RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig Thread-Topic: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig Thread-Index: AQHQ8SjkL5VPm4WkUE22VnJn+5lonZ5AhnkAgAFdj6CAAIuhAIAI4e9QgAAC8gCAH5incA== Date: Wed, 14 Oct 2015 10:18:47 +0000 Message-ID: References: <1442480614-32345-1-git-send-email-b18965@freescale.com> <16038044.0DCMVgq8H3@wuerfel> In-Reply-To: <16038044.0DCMVgq8H3@wuerfel> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=alison.wang@freescale.com; x-originating-ip: [199.59.230.102] x-microsoft-exchange-diagnostics: 1;BN3PR0301MB1284;5:EK+5T3sCz5gORfMlS9QosYofL5PETj99y8V52+WnGI8fSk+D1EXiNA27b8aDPNLoBLITOkBqpjwxjdY3MTVjXSsDk7zf30nWF6ECxZJsISTPIeFmjLIPIc//i93bDe/Uo62inVD1sMmMRZbDAN1LRw==;24:0LfT2uR3gUNbvMWL0RIX8dS+CQOFV+CfS2HyG2FANLkoVDx0iJcKjE8I4CdzGovzdku1IKEUX4//9/XafLXZtIXdWD6JRSdGlLY2go4oAOg=;20:daVbskqUPZnYr+77S6FqWP5UJyzcNmmFJ0ja37gsu1wB1It88jFX7UNppO4NHhj+P1vQa45E3M+byzxcwo3duw== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1284; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(101931422205132); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(5005006)(8121501046)(3002001);SRVR:BN3PR0301MB1284;BCL:0;PCL:0;RULEID:;SRVR:BN3PR0301MB1284; x-forefront-prvs: 0729050452 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(377454003)(24454002)(199003)(189002)(76576001)(19580395003)(5004730100002)(2501003)(74316001)(93886004)(19580405001)(54356999)(2950100001)(76176999)(5008740100001)(5003600100002)(122556002)(40100003)(5007970100001)(92566002)(50986999)(10400500002)(2900100001)(46102003)(99286002)(81156007)(87936001)(106116001)(77096005)(189998001)(102836002)(101416001)(5001960100002)(97736004)(33656002)(5001770100001)(64706001)(107886002)(105586002)(5002640100001)(106356001)(86362001)(66066001)(4001430100001);DIR:OUT;SFP:1102;SCL:1;SRVR:BN3PR0301MB1284;H:BN3PR0301MB0867.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2015 10:18:47.3671 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0301MB1284 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Thursday 24 September 2015 07:27:10 Huan Wang wrote: > > > On Fri, Sep 18, 2015 at 4:38 AM, Huan Wang > > > > > > wrote: > > > > > > > [Alison Wang] Thanks for your reply. I agreed with you about > > > > creating a new multi_v7_lpae_defconfig. In > > > > multi_v7_lpae_defconfig, I need to add the following CONFIG_XX to > > > > support LS1021A based on > > > multi_v7_defconfig. > > > > > > > > CONFIG_ARM_LPAE=y > > > > CONFIG_VMSPLIT_2G=y > > > > > > Is CONFIG_VMSPLIT_2G=y really needed? > > [Alison Wang] I tried to remove CONFIG_VMSPLIT_2G and used the default > > CONFIG_VMSPLIT_3G, but kernel could not boot up. It hangs at " Starting > kernel ... ". > > > > Any suggestion? Thanks. > > Try enabling DEBUG_LL for your platform to get some debug output, if you > still don't get any helpful messages, try also inserting > > printascii(__func__); > > statements in the early boot process to see how far you get before the hang. > [Alison Wang] I can get to __turn_mmu_on or later, but I could not get the print message "Booting Linux on physical CPU 0xf00" in smp_setup_processor_id(). I guess something wrong with the initial page tables in __create_page_tables, as for CONFIG_VMSPLIT_3G, only PAGE_OFFSET is changed from 0x80000000 to 0xC0000000. BTW, on our platform, TEXT_OFFSET is 0x00008000, PHYS_OFFSET is 0x80000000. Any suggestion? Thanks. Best Regards, Alison Wang