From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:1317 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751620Ab0F1Req (ORCPT ); Mon, 28 Jun 2010 13:34:46 -0400 Subject: Re: QSD8250 illegal instruction on WinCE devices From: Daniel Walker In-Reply-To: <20100627225011.9a3evahodco80s8s@webmail.htc-linux.org> References: <20100622011413.awcghidf4s8wkwwg@webmail.htc-linux.org> <20100627225011.9a3evahodco80s8s@webmail.htc-linux.org> Content-Type: text/plain; charset="UTF-8" Date: Mon, 28 Jun 2010 10:34:40 -0700 Message-ID: <1277746481.5186.9.camel@m0nster> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Lukas-David Gorris Cc: linux-arm-msm@vger.kernel.org On Sun, 2010-06-27 at 22:50 +0100, Lukas-David Gorris wrote: > Hello, > > The segmentation fault problem on htcleo and other WinCE based qs8250 > devices is solved. We need to set the cpu into some magic mode before > boot and all cpu crashes are gone. Great! I'm glad that someone figure it out. > As suspected it is in fact in some way related to WinCE VS. linux > device: A WinCE developer with low level knowledge by the name of K, > 'Cotulla' Ivan looked at the bootloader of qsd8250 based htc bravo, > one of the _linux_ phones with the chip. This is where the necessary > cpu init code was discovered. This init code is obviously not needed > and used for WinCE which is why we were in 'crash mode' when booting > linux. It is suppoed to be some workaround for a 'hardware bug'. Was a specific instruction discovered that fix it? The files and patches that you provided include a fair amount of code. Daniel