From owner-freebsd-arm@FreeBSD.ORG Thu Jul 11 11:19:12 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9CB3F22A for ; Thu, 11 Jul 2013 11:19:12 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-we0-f178.google.com (mail-we0-f178.google.com [74.125.82.178]) by mx1.freebsd.org (Postfix) with ESMTP id 35C1C129D for ; Thu, 11 Jul 2013 11:19:11 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id u53so6860647wes.37 for ; Thu, 11 Jul 2013 04:19:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=6Ffbs9jCGBlQLfbqlVxhdy/tGxPWkkTOOrjuY7Wik1M=; b=TnuugYBCc/kavoFKar7838mHuOl3mJbJOwXHsr5/nHgpdl7tVrXbEsMLKVr+bFNm2/ vu71qrUySO4/cpsAubhGJDkpQtQGmnOJumQ0b5QaPeBy4HLaAXslcRF9MlujNTb+l0l3 yM7a+kXqhpi/lRkE80SHanLlA4giJyXhRB1wkMtR20Umwn4NOExVIKfNUzBvFCpkp0Fp pssxdGSliuLkSFcQcViIzoXPbONVg1n0kYheSX13Xh2DuJ7I86dVpmMN/2kzDMQtoHHH Tqs6IXJzNoi0RO1ytLL6u4axTpow07XrJLAz3vpu433MtkDCkrRacoVbCpRsKLoVxjBY iILg== X-Received: by 10.180.185.148 with SMTP id fc20mr20105201wic.0.1373541545468; Thu, 11 Jul 2013 04:19:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Thu, 11 Jul 2013 04:18:24 -0700 (PDT) X-Originating-IP: [115.236.45.226] In-Reply-To: References: From: XiaoQI Ge Date: Thu, 11 Jul 2013 19:18:24 +0800 Message-ID: Subject: Re: My cubieboard startup, automatic restart To: freebsd-arm X-Gm-Message-State: ALoCoQkk3VaZAcRjwl7aM519k4y0rdwvov7P2d375qWoJ9Tl1uH3sHzKnvIKtJfDO4CawL3inqX+ Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jul 2013 11:19:12 -0000 Or so === # # Starting application at 0x40201000 ... data abort MAYBE you should read doc / README.arm-unaligned-accesses pc: [<40201010>] lr: [<5ff827d4>] sp: 5fe61e30 ip: 00000000 fp: 00000000 r10: 00000003 r9: 00000000 r8: 5fe61f68 r7: 5ffb98a4 r6: 00000001 r5: 5fe63224 r4: 40201000 r3: 00000000 r2: 5fe63224 r1: 5fe63224 r0: 00000001 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... === How to solve it -DWITH_ARM_EABI WITH_FDT = yes -- Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ 2013/7/10 XiaoQI Ge > I've compiled a kernel (svn update to the latest) > Start when the resumption of direct > > Error message: > > sun4i#mmcinfo > Device: SUNXI SD/MMC > Manufacturer ID: 36 > OEM: 414f > Name: > Tran Speed: 50000000 > Rd Block Len: 512 > SD version 2.0 > High Capacity: No > Capacity: 240.8 MiB > Bus Width: 4-bit > sun4i#fatload mmc 0 0x40200000 kernel > reading kernel > 4860454 bytes read in 218 ms (21.3 MiB/s) > sun4i#go 0x40201000 > ## Starting application at 0x40201000 ... > data abort > > MAYBE you should read doc/README.arm-unaligned-accesses > > pc : [<40201010>] lr : [<5ff827d4>] > sp : 5fe61e30 ip : 00000000 fp : 00000000 > r10: 00000003 r9 : 00000000 r8 : 5fe61f68 > r7 : 5ffb98a4 r6 : 00000001 r5 : 5fe63224 r4 : 40201000 > r3 : 00000000 r2 : 5fe63224 r1 : 5fe63224 r0 : 00000001 > Flags: nZCv IRQs off FIQs off Mode SVC_32 > Resetting CPU ... > > resetting ... > > U-Boot SPL 2012.10-04259-g832a8e5 (Nov 09 2012 - 10:06:24) > DRAM: 512MB > SUNXI SD/MMC: 0 >