From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BAC98E013AC for ; Sun, 24 Mar 2013 09:22:46 -0700 (PDT) Received: by mail-gh0-f182.google.com with SMTP id z15so318832ghb.41 for ; Sun, 24 Mar 2013 09:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=fqZfyJmVQ3gW2ondGRL5Y5uWxEQ/79ZnAUpHg/g8I6U=; b=PiJ1hl6bkEjL0+0teAckRipzefyP/jSQc+p7Eu4OCt+iGqzWb3CJYQ/GoOnhvIhKUI NBcLqwhyP3awbd2sVmoTTZdmDq1U6eWFVgBp04rXYQIimZ8DhR0N0HURRhDRruFt9VCb hXBIZyomU+37W2GDvWDM+DhRnAf8uo+9/2arNnFE3U2jf3Kx/yZ5j1bzthllDx6mMefj gsP84XlWSF0kRPMUcwYQCjQ5qfkTtngczOevJ5WKPlhJ6IRL/lt56iu/C+M3LTZJMXNL hw9UfnUDh583WDtsZayLHgnOkbD3XrhxLBwbDjHmC6hqwnKfI+L8wrcDuMFyrw6TDwEG TWUw== X-Received: by 10.236.131.20 with SMTP id l20mr5274968yhi.37.1364142166053; Sun, 24 Mar 2013 09:22:46 -0700 (PDT) Received: from goober.local ([75.76.228.60]) by mx.google.com with ESMTPS id s10sm14082961yhj.13.2013.03.24.09.22.45 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 Mar 2013 09:22:45 -0700 (PDT) Message-ID: <514F2854.3050505@gmail.com> Date: Sun, 24 Mar 2013 11:22:44 -0500 From: John Weber User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" Subject: Warning - rev 3.0.0 kernel for i.MXDL causes kernel breakage on Wandboard (i.mx6 DL) X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Mar 2013 16:22:46 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I've been working with the rev 1.1.0 kernel (3.0.35) with no problems. Recent merge http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-arm/commit/recipes-kernel/linux/linux-imx_3.0.35.bb?id=33cecc59c6e552a5cc79517e5a80815b18479db9 added SRCREV_mx6dl which moved the Wandboard kernel to rev 3.0.0, which I suppose is the one Freescale is using for the Dual Lite. Now, I'm getting an error during kernel boot during a call to regulator_set_voltage(): [<80269c4c>] (regulator_set_voltage+0x8/0xdc) from [<800609c8>] (set_cpu_freq+0x 12c/0x21c) [<800609c8>] (set_cpu_freq+0x12c/0x21c) from [<80060cd0>] (mxc_set_target+0xf4/0 x220) [<80060cd0>] (mxc_set_target+0xf4/0x220) from [<8036c0d4>] (__cpufreq_driver_tar get+0x4c/0x60) [<8036c0d4>] (__cpufreq_driver_target+0x4c/0x60) from [<803708b0>] (cpufreq_inte ractive_freq_down+0xf8/0x12c) [<803708b0>] (cpufreq_interactive_freq_down+0xf8/0x12c) from [<80084854>] (proce ss_one_work+0x110/0x39c) [<80084854>] (process_one_work+0x110/0x39c) from [<80084de4>] (worker_thread+0x1 38/0x2f4) [<80084de4>] (worker_thread+0x138/0x2f4) from [<80089600>] (kthread+0x80/0x88) Questions - what are the differences between rev 3.0.0 and 1.1.0? Why are there two separate branches? Will they be merged eventually so that we don't have to work with two? As far as I can tell, the differences are fairly minimal. Focusing on anything that might be related to the DVFS or regulators, here are the differences: (- is the rev 1.1.0 kernel, + is rev 3.0.0 kernel) diff --git a/arch/arm/mach-mx6/cpu_op-mx6.c b/arch/arm/mach-mx6/cpu_op-mx6.c index e6ef026..028e876 100644 --- a/arch/arm/mach-mx6/cpu_op-mx6.c +++ b/arch/arm/mach-mx6/cpu_op-mx6.c @@ -153,8 +153,8 @@ static struct cpu_op mx6dl_cpu_op_1_2G[] = { .pll_rate = 1200000000, .cpu_rate = 1200000000, .cpu_podf = 0, - .pu_voltage = 1275000, - .soc_voltage = 1275000, + .pu_voltage = 1175000, + .soc_voltage = 1175000, .cpu_voltage = 1275000,}, { .pll_rate = 792000000, @@ -177,9 +177,9 @@ static struct cpu_op mx6dl_cpu_op_1G[] = { .pll_rate = 996000000, .cpu_rate = 996000000, .cpu_podf = 0, - .pu_voltage = 1275000, - .soc_voltage = 1275000, - .cpu_voltage = 1275000,}, + .pu_voltage = 1175000, + .soc_voltage = 1175000, + .cpu_voltage = 1250000,}, { .pll_rate = 792000000, .cpu_rate = 792000000, diff --git a/arch/arm/mach-mx6/system.c b/arch/arm/mach-mx6/system.c index 6ecd51e..6d24f22 100644 --- a/arch/arm/mach-mx6/system.c +++ b/arch/arm/mach-mx6/system.c @@ -157,7 +157,7 @@ void mxc_cpu_lp_set(enum mxc_cpu_pwr_mode mode) * The PUPSCR should include the time it takes for the ARM LDO to * ramp up. */ - __raw_writel(0x202, gpc_base + GPC_PGC_CPU_PUPSCR_OFFSET); + __raw_writel(0xf0f, gpc_base + GPC_PGC_CPU_PUPSCR_OFFSET); /* The PDNSCR is a counter that counts in IPG_CLK cycles. This counter * can be set to minimum values to power down faster. */