From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp5-g21.free.fr ([212.27.42.5]:42041 "EHLO smtp5-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751043Ab0FJSZa convert rfc822-to-8bit (ORCPT ); Thu, 10 Jun 2010 14:25:30 -0400 Received: from Tanplan (unknown [82.228.252.90]) by smtp5-g21.free.fr (Postfix) with ESMTP id E9490D48031 for ; Thu, 10 Jun 2010 20:25:22 +0200 (CEST) From: "Le Tama" 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> In-Reply-To: <20100610183748.7wrj1xs3q8kk0oow@webmail.htc-linux.org> Subject: RE: QSD8250 illegal instruction Date: Thu, 10 Jun 2010 20:24:09 +0200 Message-ID: <000601cb08ca$2ad4db80$807e9280$@fr> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Content-Language: fr Sender: linux-arm-msm-owner@vger.kernel.org List-ID: To: linux-arm-msm@vger.kernel.org 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. Best, LeTama