From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wolverine02.qualcomm.com ([199.106.114.251]:57538 "EHLO wolverine02.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759440Ab0FJSlP (ORCPT ); Thu, 10 Jun 2010 14:41:15 -0400 Subject: RE: QSD8250 illegal instruction From: Daniel Walker In-Reply-To: <000601cb08ca$2ad4db80$807e9280$@fr> References: <20100606035349.8xscqw7rusocwgwo@webmail.htc-linux.org> <1276101345.2006.29.camel@m0nster> <001501cb0810$f95b99e0$ec12cda0$@fr> <1276188547.25006.3.camel@c-dwalke-linux.qualcomm.com> <20100610183748.7wrj1xs3q8kk0oow@webmail.htc-linux.org> <000601cb08ca$2ad4db80$807e9280$@fr> Content-Type: text/plain; charset="UTF-8" Date: Thu, 10 Jun 2010 11:41:11 -0700 Message-ID: <1276195271.25006.13.camel@c-dwalke-linux.qualcomm.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: Le Tama Cc: linux-arm-msm@vger.kernel.org On Thu, 2010-06-10 at 20:24 +0200, Le Tama wrote: > Hi Daniel, > > > Also LeTama produced a minimal busybox image. In a certain > > configuration it works. > > http://lists.linuxtogo.org/pipermail/mobile-linux-discuss/2010-May/000087.html > > On my side, here is what I did, all these tests with initrd only to > avoid sdcard driver interaction: > > 1) a busybox build with re-compiled executables with Codesourcery > 2010q1 toolchain > - Statically linked executables were crashing, > - Dynamically linked with arm v4 stdlib dlls, executables were > apparently working. I'm not sure it was luck or a pattern, I didn't > test a lots of executables in this configuration. > - Dynamically linked with thumb2 stdlib dlls, executables were > crashing > > At this point, I began suspecting toolchain issue, I tried multiple > ones including android pre-built and custom made without success. > > 2) A simple C init executable that forks /execs a simple > Write("helloworld") program. > - Again, crashes, with multiple toolchains trials. > > 3) As I thought that maybe my toolchains were not fine with glibc > (crashes often in unwind code) , I rebuilt android for QSD8250_FFA, > trimmed down init.rc to launch only adbd and debuggerd from the > standard android init. This is the one that is producing the reports > you saw in the emails. It has been verified successfully on a nexus > one with the same kernel, modified to revert htcleo specific clocks > and board. What kind of kernel did you use? You say you wanted to "avoid sdcard driver interaction" , but was the sdcard actually compiled out? Daniel