From owner-freebsd-arm@freebsd.org Sun Sep 27 03:30:58 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E9C499D09B1 for ; Sun, 27 Sep 2015 03:30:57 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x22c.google.com (mail-vk0-x22c.google.com [IPv6:2607:f8b0:400c:c05::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A6E0ED2F for ; Sun, 27 Sep 2015 03:30:57 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by vkgd64 with SMTP id d64so75290330vkg.0 for ; Sat, 26 Sep 2015 20:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=NkxASsohxvvmhXiXMuEm1B0KRSjGhZMROGON8q9GMsc=; b=ei+GJqVdoEzmRTEAK0M3HobDzRBhD3Yt25BTg15XPvRrPuC1JqvepVYdOYWEODUdv8 AQ6NlVlTB3fBlOYoasLQjFlfzxgmjmHfpRX6udmPvZbvn1w6bdVtlH7o8K8eqGY1NC+a IsyGnWXTekMUZI9jScyYQoeyXDSTIwpkLWb4QS+UG42ohEOt269DM3QjbSo1wfVh4qsh fCbPPPCsMg35Sy9/AFm9GIMWJLOWdiXeBK6dGRvb1DhB97FBu5oCH+30+pmQNq+oTr0R vIK7S+YGsKVvee2GFtTN2bcdkvYo8735hUQAFxhe4Q60dV6n3XAJ8HvOPTzhK6TTTNgS nupQ== MIME-Version: 1.0 X-Received: by 10.31.160.5 with SMTP id j5mr8513540vke.107.1443324656377; Sat, 26 Sep 2015 20:30:56 -0700 (PDT) Received: by 10.31.89.135 with HTTP; Sat, 26 Sep 2015 20:30:56 -0700 (PDT) Date: Sat, 26 Sep 2015 20:30:56 -0700 Message-ID: Subject: Dual Core Hummingboard - Fatal kernel mode data abort: 'Translation Fault (L1)' on read From: Russell Haley To: freebsd-arm Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2015 03:30:58 -0000 Hello, So my dual core hummingboard now loads the kernel, but I get an error stating: Fatal kernel mode data abort: 'Translation Fault (L1)' on read. The following is my output. >From power on: *U-Boot SPL 2013.10-rc4-ge4bc4c3-dirty (Jul 16 2015 - 19:15:56)Boot Device: SD1spl: error reading image u-boot.img, err - -1Load image from RAW...U-Boot 2013.10-rc4-ge4bc4c3-dirty (Jul 16 2015 - 19:15:56)CPU: Freescale i.MX6Q rev1.5 at 792 MHzReset cause: PORBoard: MX6-HummingBoardDRAM: 1 GiBMMC: FSL_SDHC: 0*** Warning - bad CRC, using default environmentIPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)panel size = 1024 x 768pixel clk = 64998000clk->parent->rate = 260000000[1] rounded pixel clk = 65000000[1] parent rate = 0[1] pre-div = 0[1] post-div = 0clk->parent->rate = 65000000rounded pixel clk = 65000000div = 65000000IPU DMFC DP HIGH RES: 1(0,1), 5B(2~5), 5F(6,7)In: serialOut: vgaErr: vgaNet: FEC [PRIME](Re)start USB...USB0: USB EHCI 1.00scanning bus 0 for devices... 2 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found scanning usb for ethernet devices... 0 Ethernet Device(s) foundHit any key to stop autoboot: 0HummingBoard U-Boot >* >From u-boot prompt, I enter the following u-boot commands: setenv fdt_file imx6dl-hummingboard.dtb; fatload mmc 0 10800000 ubldr.bin; go 10800000; And the following happens: *Booting [/boot/kernel/kernel]... /boot/dtb/imx6dl-hummingboard.dtb size=0x6dd9Loaded DTB from file 'imx6dl-hummingboard.dtb'.Kernel entry at 0x10a00100...Kernel args: (null)KDB: debugger backends: ddbKDB: current backend: ddbCopyright (c) 1992-2015 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 11.0-CURRENT #3 r288164M: Wed Sep 23 20:48:13 PDT 2015 rhaley@Jailbird:/usr/obj/arm.armv6/usr/src/sys/IMX6 armFreeBSD clang version 3.6.1 (tags/RELEASE_361/final 237755) 20150525VT: init without driver.CPU: Cortex A9-r2 rev 10 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB disabled EABT branch prediction enabledLoUU:2 LoC:2 LoUIS:2 Cache level 1: 32KB/32B 4-way data cache WB Read-Alloc Write-Alloc 32KB/32B 4-way instruction cache Read-Allocreal memory = 1073741824 (1024 MB)avail memory = 1039437824 (991 MB)FreeBSD/SMP: Multiprocessor System Detected: 2 CPUsrandom: entropy device external interfacekbd0 at kbdmux0ofwbus0: simplebus0: on ofwbus0simplebus1: mem 0x2000000-0x20fffff on simplebus0simplebus2: mem 0x2000000-0x203ffff on simplebus1imx6_anatop0: mem 0x20c8000-0x20c8fff irq 81,86,159 on simplebus1simplebus3: on simplebus1simplebus4: mem 0x2100000-0x21fffff on simplebus0ocotp0: mem 0x21bc000-0x21bffff on simplebus4ccm0: mem 0x20c4000-0x20c7fff irq 119,120 on simplebus1l2cache0: mem 0xa02000-0xa02fff irq 124 on simplebus0l2cache0: Part number: 0x3, release: 0x7l2cache0: L2 Cache enabled: 1024KB/32B 16 waysimx_iomux0: mem 0x20e0000-0x20e3fff on simplebus1gic0: mem 0xa01000-0xa01fff,0xa00100-0xa001ff on ofwbus0gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b irqs 160imx_gpt0: mem 0x2098000-0x209bfff irq 87 on simplebus1Event timer "iMXGPT" frequency 66000000 Hz quality 800Timecounter "iMXGPT" frequency 66000000 Hz quality 1000mp_tmr0: mem 0xa00600-0xa0061f irq 29 on simplebus0Event timer "MPCore" frequency 492000000 Hz quality 1000uart0: mem 0x2020000-0x2023fff irq 58 on simplebus2uart0: console (115200,n,8,1)gpio0: mem 0x209c000-0x209ffff irq 98,99 on simplebus1gpiobus0: on gpio0gpioc0: on gpio0gpio1: mem 0x20a0000-0x20a3fff irq 100,101 on simplebus1gpiobus1: on gpio1gpioc1: on gpio1gpio2: mem 0x20a4000-0x20a7fff irq 102,103 on simplebus1gpiobus2: on gpio2gpioc2: on gpio2gpio3: mem 0x20a8000-0x20abfff irq 104,105 on simplebus1gpiobus3: on gpio3gpioc3: on gpio3gpio4: mem 0x20ac000-0x20affff irq 106,107 on simplebus1gpiobus4: on gpio4gpioc4: on gpio4gpio5: mem 0x20b0000-0x20b3fff irq 108,109 on simplebus1gpiobus5: on gpio5gpioc5: on gpio5gpio6: mem 0x20b4000-0x20b7fff irq 110,111 on simplebus1gpiobus6: on gpio6gpioc6: on gpio6imx_wdog0: mem 0x20bc000-0x20bffff irq 112 on simplebus1usbphy0: mem 0x20c9000-0x20c9fff irq 76 on simplebus1usbphy1: mem 0x20ca000-0x20cafff irq 77 on simplebus1src0: mem 0x20d8000-0x20dbfff irq 123,128 on simplebus1hdmi0: mem 0x120000-0x128fff irq 147 on simplebus1hdmi0: HDMI controller 13:0a:a0:c1GPR3 0f000000 -> 0f000000ehci0: mem 0x2184000-0x21841ff irq 75 on simplebus4Fatal kernel mode data abort: 'Translation Fault (L1)' on readtrapframe: 0xc2913ae0FSR=00000005, FAR=00000004, spsr=600001d3r0 =00000000, r1 =c29600d0, r2 =00000000, r3 =c2501378r4 =c2960080, r5 =00000001, r6 =c296bdc0, r7 =00000001r8 =c2960080, r9 =00000000, r10=000000ff, r11=c2913ba8r12=c275330c, ssp=c2913b70, slr=c2501454, pc =c25010b4[ thread pid 0 tid 100000 ]Stopped at keg_fetch_slab+0x164: ldr r3, [r2, #0x004]!* Thanks, Russ