From: "mohammed shareef" Subject: Re: undefined instruction Date: Thu, 26 Jun 2008 16:36:03 +0530 Message-ID: References: <7B4574D56E4ADF438756313E9A172A8708CFE66C@dlee01.ent.ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from ti-out-0910.google.com ([209.85.142.188]:53153 "EHLO ti-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755136AbYFZLGI (ORCPT ); Thu, 26 Jun 2008 07:06:08 -0400 Received: by ti-out-0910.google.com with SMTP id b6so1910555tic.23 for ; Thu, 26 Jun 2008 04:06:03 -0700 (PDT) In-Reply-To: <7B4574D56E4ADF438756313E9A172A8708CFE66C@dlee01.ent.ti.com> Content-Disposition: inline Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: "Hunter, Jon" Cc: omap Hi, i did the below. i got an image. but i am still having the same problem my file size is 23Mb [root@localhost tftpboot]# mkfs.jffs2 --squash -r /data/rootfs2.6 -e131072 > /data/rootfs-jffs2.img [root@localhost tftpboot]# cp /data/rootfs-jffs2.img /tftpboot/rootfs-jffs2.img \0x09 ################################################################# \0x09 #############undefined instruction pc : [] lr : [<00000002>] sp : 1103fca4 ip : 11095dd8 fp : 00000001 r10: 10963410 r9 : 1103fd24 r8 : 1103ffdc r7 : 270a30a1 r6 : 8695632d r5 : 08016ffa r4 : 5aebcc39 r3 : 00000032 r2 : 11095dd4 r1 : 000000a0 r0 : 00000000 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... could you please tell me what i should do. thank you. regards, Shareef On Wed, Jun 25, 2008 at 9:52 PM, Hunter, Jon wrote: >> then i changed the filename and the >> tftpboot transfer started. But on the mid-way it complains "undefined >> instruction". >> >> could some one please tell me where the problem is? thank you. > > > How big is the file that you are attempting to download over tftp? > > U-boot executes in the upper part of the RAM and so if your file is too big, then there is a good chance you are overwriting u-boot which would cause u-boot to crash eventually. U-boot does not protect against this. This would be a potential cause of an undefined instruction exception. > > Jon >