From owner-freebsd-arm@FreeBSD.ORG Thu Jul 11 04:19:52 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C222A396 for ; Thu, 11 Jul 2013 04:19:52 +0000 (UTC) (envelope-from ghw@7axu.com) Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE5F1F25 for ; Thu, 11 Jul 2013 04:19:51 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id b12so6663986wgh.7 for ; Wed, 10 Jul 2013 21:19:45 -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=zU5lolv8alc2h68euQZd9TNIeUG+AZxeoe50hWFqb40=; b=kGGF38964NhdOrVlbR1u9IQlazRiXze4DX5es3zHZxinj4OeIermpRCiZowGjz5oxL ru1JWi3v+gt1RZyOJh1MrLBzPlJrnlzrej0EmIs0MPxcAvUQODPRzeaYdLqu83GnWa6y KIic6VvdH86KQik3/PIe2REXImZd5ZqukphTf2jBVxJDpvkWH9BN0vGKCNR0zcgGFHzV DBi7dnmpSJiq6NbUrK2rhHlZoroq2pRctJTIQqqxwPYd91dU9heJpo3fOGFZ/+YVjZT2 yG7Ae9eAxB6Jn9qhbMNcKYpRuD83lB5W4AYmlLj76fEoj0oRmUVwDD4BOne6/1FlGyWZ MQsQ== X-Received: by 10.194.216.99 with SMTP id op3mr20430815wjc.52.1373515938596; Wed, 10 Jul 2013 21:12:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.93.34 with HTTP; Wed, 10 Jul 2013 21:11:38 -0700 (PDT) X-Originating-IP: [115.236.45.226] In-Reply-To: References: From: XiaoQI Ge Date: Thu, 11 Jul 2013 12:11:38 +0800 Message-ID: Subject: Re: My cubieboard startup, automatic restart To: freebsd-arm X-Gm-Message-State: ALoCoQkz/KqNgmAX8ILixHDVJWxAGOkt1KFH7mQvhwXRvXTejwRFybBlvtECYN9p9PVUG6xRbM+D 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 04:19:52 -0000 ## Starting application at 0x40200000 ... KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #0: Thu Jul 11 20:05:44 CST 2013 root@FreeBSD.7axu.com:/usr/obj/armv6/arm.arm/usr/src/sys/CUBIEBOARD1G arm FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 WARNING: WITNESS option enabled, expect reduced performance. CPU: Cortex A8-r3 rev 2 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB disabled EABT branch prediction enabled LoUU:2 LoC:2 LoUIS:1 Cache level 1: 32KB/64B 4-way data cache WT WB Read-Alloc 32KB/64B 4-way instruction cache Read-Alloc Cache level 2: 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc real memory = 536870912 (512 MB) avail memory = 512954368 (489 MB) random device not loaded; using insecure entropy simplebus0: on fdtbus0 aintc0: mem 0x1c20400-0x1c207ff on simplebus0 a10_ccm0: mem 0x1c20000-0x1c203ff on simplebus0 a10_timer0: mem 0x1c20c00-0x1c20c8f irq 22 on simplebus0 Event timer "a10_timer Eventtimer" frequency 24000000 Hz quality 1000 Timecounter "a10_timer timer0" frequency 24000000 Hz quality 1000 a10wd0: mem 0x1c20c90-0x1c20c97 on simplebus0 gpio0: mem 0x1c20800-0x1c20bff irq 28 on simplebus0 gpioc0: on gpio0 gpiobus0: on gpio0 ehci0: mem 0x1c14000-0x1c14fff irq 39 on simplebus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ehci1: mem 0x1c1c000-0x1c1cfff irq 40 on simplebus0 usbus1: EHCI version 1.0 usbus1 on ehci1 uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 1 on simplebus0 uart0: console (115200,n,8,1) Timecounters tick every 10.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 WARNING: WITNESS option enabled, expect reduced performance. ugen1.1: at usbus1 uhub0: on usbus1 ugen0.1: at usbus0 uhub1: on usbus0 uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered Trying to mount root from ufs:/dev/da0s2 []... mountroot: waiting for device /dev/da0s2 ... Mounting from ufs:/dev/da0s2 failed with error 19. Loader variables: Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/acd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> -- Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ 2013/7/11 XiaoQI Ge > I opened the WITH_FDT = yes, can now start, but not recognize my USB disk > Error message: > > mountroot> ? > > List of GEOM managed disk devices: > > > mountroot> ufs:/dev/da0s2 > Trying to mount root from ufs:/dev/da0s2 []... > mountroot: waiting for device /dev/da0s2 ... > Mounting from ufs:/dev/da0s2 failed with error 19. > > mountroot> ? > > List of GEOM managed disk devices: > > -- > 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 >> > >