Date: Thu, 11 Jul 2013 12:11:38 +0800 From: XiaoQI Ge <ghw@7axu.com> To: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: My cubieboard startup, automatic restart Message-ID: <CAKrd9eU4s2j6TGUFaG7QiWk30c8gtvy3Tppn%2B6VS8FjpS%2BC0NQ@mail.gmail.com> In-Reply-To: <CAKrd9eXMbvU3z-6tQOUs%2B6x9StAzZeKJfR3mCcY5xMaFaT9eBQ@mail.gmail.com> References: <CAKrd9eU6nMs0Vrr7cThCtRiYsjoBcyTgqhsJhhOruZsySRYTGQ@mail.gmail.com> <CAKrd9eXMbvU3z-6tQOUs%2B6x9StAzZeKJfR3mCcY5xMaFaT9eBQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
## 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: <Flattened device tree simple bus> on fdtbus0 aintc0: <A10 AINTC Interrupt Controller> mem 0x1c20400-0x1c207ff on simplebus0 a10_ccm0: <Allwinner Clock Control Module> mem 0x1c20000-0x1c203ff on simplebus0 a10_timer0: <Allwinner A10 timer> 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: <Allwinner A10 Watchdog> mem 0x1c20c90-0x1c20c97 on simplebus0 gpio0: <Allwinner GPIO controller> mem 0x1c20800-0x1c20bff irq 28 on simplebus0 gpioc0: <GPIO controller> on gpio0 gpiobus0: <GPIO bus> on gpio0 ehci0: <Allwinner Integrated USB 2.0 controller> mem 0x1c14000-0x1c14fff irq 39 on simplebus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ehci1: <Allwinner Integrated USB 2.0 controller> 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: <Allwinner> at usbus1 uhub0: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 ugen0.1: <Allwinner> at usbus0 uhub1: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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: <fstype>:<device> [options] Mount <device> using filesystem <fstype> 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) <empty line> Abort manual input mountroot> -- Regards. By: XiaoQI Ge; PGP:8B09D5F7 WWW: https://www.7axu.com/ 2013/7/11 XiaoQI Ge <ghw@7axu.com> > 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 <ghw@7axu.com> > >> 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 >> > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAKrd9eU4s2j6TGUFaG7QiWk30c8gtvy3Tppn%2B6VS8FjpS%2BC0NQ>