Date: Thu, 24 Apr 2014 15:11:31 +0800 From: Ganbold Tsagaankhuu <ganbold@gmail.com> To: Matthias Gamsjager <mgamsjager@gmail.com> Cc: coba <coba@whisper.su>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: CubieTruck Cubieboard3 support Message-ID: <CAGtf9xPohJykoLz%2BHdgg%2B0qP1hd_R=Or3cP_SSmUqu6Z3oiOWA@mail.gmail.com> In-Reply-To: <CA%2BD9QhtB_FcJEgM4hFP8=5N=P6Xs6D-wd3RQVxVE60pfVN3b9g@mail.gmail.com> References: <CA%2BD9QhtB_FcJEgM4hFP8=5N=P6Xs6D-wd3RQVxVE60pfVN3b9g@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Apr 24, 2014 at 3:00 PM, Matthias Gamsjager <mgamsjager@gmail.com>w= rote: > Ok thx for your help. But by the looks of it the board isn't really > supported yet. Maybe someone at the list can shine some light on the > matter. > If you are referring to boot log that coba provided then iirc Alexander Fedorov's mmc driver was compiled into it. Maybe you should try without mmc driver. Ganbold > > > > On Wed, Apr 23, 2014 at 10:25 PM, coba <coba@whisper.su> wrote: > > Good evening, > > > > I booted it, check log: > > U-Boot SPL 2014.01-rc1-09161-g108ec3f (Jan 20 2014 - 05:50:52) > > Board: Cubietruck > > DRAM: 2048 MiB > > CPU: 960000000Hz, AXI/AHB/APB: 3/2/2 > > spl: not an uImage at 1600 > > > > > > U-Boot 2014.01-rc1-09161-g108ec3f (Jan 20 2014 - 05:50:52) Allwinner > > Technology > > > > CPU: Allwinner A20 (SUN7I) > > Board: Cubietruck > > I2C: ready > > DRAM: 2 GiB > > WARNING: Caches not enabled > > MMC: SUNXI SD/MMC: 0 > > *** Warning - bad CRC, using default environment > > > > In: serial > > Out: serial > > Err: serial > > Net: mii0 > > Warning: failed to set MAC address > > > > Hit any key to stop autoboot: 0 > > ** Unrecognized filesystem type ** > > 158 bytes read in 8 ms (18.6 KiB/s) > > Loaded environment from uEnv.txt > > ** Unrecognized filesystem type ** > > ** File not found boot/boot.scr ** > > ** File not found boot.scr ** > > 50072 bytes read in 11 ms (4.3 MiB/s) > > 5912048 bytes read in 365 ms (15.4 MiB/s) > > ## Booting kernel from Legacy Image at 48000000 ... > > Image Name: Linux-3.4.75-sun7i > > Created: 2014-02-09 18:49:43 UTC > > Image Type: ARM Linux Kernel Image (uncompressed) > > Data Size: 5911984 Bytes =3D 5.6 MiB > > Load Address: 40008000 > > Entry Point: 40008000 > > Verifying Checksum ... =D0=A7 > > U-Boot SPL 2013.07-07794-gc0f3b94 (Aug 15 2013 - 18:01:45) > > Board: Cubieboard2 > > DRAM: 1024 MiB > > CPU: 960000000Hz, AXI/AHB/APB: 3/2/2 > > SUNXI SD/MMC: 0 > > > > > > U-Boot 2013.07-07794-gc0f3b94 (Aug 15 2013 - 18:01:45) Allwinner > Technology > > > > CPU: Allwinner A20 (SUN7I) > > Board: Cubieboard2 > > I2C: ready > > DRAM: 1 GiB > > MMC: SUNXI SD/MMC: 0 > > *** Warning - bad CRC, using default environment > > > > In: serial > > Out: serial > > Err: serial > > Net: emac > > Hit any key to stop autoboot: 0 > > sun7i#fatload mmc 0 0x40200000 kernel; go 0x40200100 > > reading kernel > > 4992443 bytes read in 305 ms (15.6 MiB/s) > > ## Starting application at 0x40200100 ... > > KDB: debugger backends: ddb > > KDB: current backend: ddb > > Copyright (c) 1992-2014 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 199= 4 > > The Regents of the University of California. All rights reserve= d. > > FreeBSD is a registered trademark of The FreeBSD Foundation. > > FreeBSD 11.0-CURRENT #0 r264301M: Thu Apr 17 11:40:33 CEST 2014 > > matty@freebsd:/usr/obj/arm.armv6/storage/usr/src/11/sys/CUBIEBOARD2 > arm > > FreeBSD clang version 3.4 (tags/RELEASE_34/final 197956) 20140216 > > WARNING: WITNESS option enabled, expect reduced performance. > > CPU: Cortex A7 rev 4 (Cortex-A core) > > Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext > > WB disabled EABT branch prediction enabled > > LoUU:2 LoC:2 LoUIS:2 > > Cache level 1: > > 32KB/64B 4-way data cache WB Read-Alloc Write-Alloc > > 32KB/32B 2-way instruction cache Read-Alloc > > Cache level 2: > > 256KB/64B 8-way unified cache WB Read-Alloc Write-Alloc > > real memory =3D 1073741824 (1024 MB) > > avail memory =3D 1040412672 (992 MB) > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > > random device not loaded; using insecure entropy > > random: <Software, Yarrow> initialized > > ofwbus0: <Open Firmware Device Tree> > > simplebus0: <Flattened device tree simple bus> on ofwbus0 > > gic0: <ARM Generic Interrupt Controller> mem > > 0x1c81000-0x1c81fff,0x1c82000-0x1c820ff on simplebus0 > > gic0: pn 0x10, arch 0x2, rev 0x1, implementer 0x43b sc->nirqs 160 > > a10_sramc0: <Allwinner sramc module> mem 0x1c00000-0x1c00fff on > simplebus0 > > a20_cpu_cfg0: <A20 CPU Configuration Module> mem 0x1c25c00-0x1c25fff on > > simplebus0 > > a10_ccm0: <Allwinner Clock Control Module> mem 0x1c20000-0x1c203ff on > > simplebus0 > > a10_timer0: <Allwinner A10/A20 timer> mem 0x1c20c00-0x1c20c8f irq 54 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-0x1c20c9f on simplebus0 > > gpio0: <Allwinner GPIO controller> mem 0x1c20800-0x1c20bff irq 60 on > > simplebus0 > > gpioc0: <GPIO controller> on gpio0 > > gpiobus0: <GPIO bus> on gpio0 > > ehci0: <Allwinner Integrated USB 2.0 controller> mem 0x1c14000-0x1c14ff= f > irq > > 71 on simplebus0 > > usbus0: EHCI version 1.0 > > usbus0 on ehci0 > > ehci1: <Allwinner Integrated USB 2.0 controller> mem 0x1c1c000-0x1c1cff= f > irq > > 72 on simplebus0 > > usbus1: EHCI version 1.0 > > usbus1 on ehci1 > > uart0: <16750 or compatible> mem 0x1c28000-0x1c283ff irq 33 on simplebu= s0 > > uart0: console (115200,n,8,1) > > emac0: <A10/A20 EMAC ethernet controller> mem 0x1c0b000-0x1c0bfff irq 8= 7 > on > > simplebus0 > > miibus0: <MII bus> on emac0 > > rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 0 on > miibus0 > > > > vm_fault(0xc08a96a0, 0, 1, 0) -> 1 > > Fatal kernel mode data abort: 'Translation Fault (S)' > > trapframe: 0xc08cd9f8 > > FSR=3D00000005, FAR=3D00000000, spsr=3Da00001d3 > > r0 =3D00000000, r1 =3Dc053c2f3, r2 =3D00000072, r3 =3D00000008 > > r4 =3Dc3b35e80, r5 =3Dc3b36000, r6 =3Dc3b36038, r7 =3D00000000 > > r8 =3Dc055ecfa, r9 =3Dc3ad1700, r10=3Dc05c7240, r11=3Dc08cda60 > > r12=3D00000000, ssp=3Dc08cda48, slr=3Dc024c8a4, pc =3Dc03d3238 > > > > [ thread pid 0 tid 100000 ] > > Stopped at strcmp+0x4: ldrb r3, [r0] > > db> bt > > Tracing pid 0 tid 100000 td 0xc08a9390 > > db_trace_self() at db_trace_self > > pc =3D 0xc04e0eb4 lr =3D 0xc0231298 (db_hex2dec+0x4d8) > > sp =3D 0xc08cd700 fp =3D 0xc08cd718 > > r10 =3D 0xc08a8cb0 > > db_hex2dec() at db_hex2dec+0x4d8 > > pc =3D 0xc0231298 lr =3D 0xc0230c08 (db_command_loop+0x2fc) > > sp =3D 0xc08cd720 fp =3D 0xc08cd7c0 > > r4 =3D 0x00000000 r5 =3D 0x00000000 > > r6 =3D 0x00000000 > > db_command_loop() at db_command_loop+0x2fc > > pc =3D 0xc0230c08 lr =3D 0xc023096c (db_command_loop+0x60) > > sp =3D 0xc08cd7c8 fp =3D 0xc08cd7d8 > > r4 =3D 0xc051d125 r5 =3D 0xc0535407 > > r6 =3D 0xc08a8c9c r7 =3D 0xc08cd9f8 > > r8 =3D 0x00000001 r9 =3D 0xc05c5280 > > r10 =3D 0xc0605624 > > db_command_loop() at db_command_loop+0x60 > > pc =3D 0xc023096c lr =3D 0xc0233334 (X_db_symbol_values+0x250= ) > > sp =3D 0xc08cd7e0 fp =3D 0xc08cd900 > > r4 =3D 0x00000000 r5 =3D 0xc08a8ca8 > > r6 =3D 0xc0605650 > > X_db_symbol_values() at X_db_symbol_values+0x250 > > pc =3D 0xc0233334 lr =3D 0xc034f7c8 (kdb_trap+0x168) > > sp =3D 0xc08cd908 fp =3D 0xc08cd928 > > r4 =3D 0x00000000 r5 =3D 0x00000005 > > r6 =3D 0xc0605650 r7 =3D 0xc08cd9f8 > > kdb_trap() at kdb_trap+0x168 > > pc =3D 0xc034f7c8 lr =3D 0xc04f670c (data_abort_handler+0x680= ) > > sp =3D 0xc08cd930 fp =3D 0xc08cd948 > > r4 =3D 0xc08cd9f8 r5 =3D 0x00000005 > > r6 =3D 0x600001d3 r7 =3D 0x00000000 > > r8 =3D 0x00000013 r9 =3D 0xc08cd9f8 > > r10 =3D 0x00000001 > > data_abort_handler() at data_abort_handler+0x680 > > pc =3D 0xc04f670c lr =3D 0xc04f64b4 (data_abort_handler+0x428= ) > > sp =3D 0xc08cd950 fp =3D 0xc08cd9f0 > > r4 =3D 0xc08cdeb0 r5 =3D 0xc08a9390 > > r6 =3D 0xc08a9068 r7 =3D 0x00000005 > > data_abort_handler() at data_abort_handler+0x428 > > pc =3D 0xc04f64b4 lr =3D 0xc04e2a40 (exception_exit) > > sp =3D 0xc08cd9f8 fp =3D 0xc08cda60 > > r4 =3D 0xc3b35e80 r5 =3D 0xc3b36000 > > r6 =3D 0xc3b36038 r7 =3D 0x00000000 > > r8 =3D 0xc055ecfa r9 =3D 0xc3ad1700 > > r10 =3D 0xc05c7240 > > exception_exit() at exception_exit > > pc =3D 0xc04e2a40 lr =3D 0xc024c8a4 (mii_phy_flowstatus+0x208= 0) > > sp =3D 0xc08cda48 fp =3D 0xc08cda60 > > r0 =3D 0x00000000 r1 =3D 0xc053c2f3 > > r2 =3D 0x00000072 r3 =3D 0x00000008 > > r4 =3D 0xc3b35e80 r5 =3D 0xc3b36000 > > r6 =3D 0xc3b36038 r7 =3D 0x00000000 > > r8 =3D 0xc055ecfa r9 =3D 0xc3ad1700 > > r10 =3D 0xc05c7240 r12 =3D 0x00000000 > > strcmp() at strcmp+0x4 > > pc =3D 0xc03d3238 lr =3D 0xc024c8a4 (mii_phy_flowstatus+0x208= 0) > > sp =3D 0xc08cda48 fp =3D 0xc08cda60 > > Unwind failure (no registers changed) > > > > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGtf9xPohJykoLz%2BHdgg%2B0qP1hd_R=Or3cP_SSmUqu6Z3oiOWA>