Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Sep 2015 20:30:56 -0700
From:      Russell Haley <russ.haley@gmail.com>
To:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Dual Core Hummingboard - Fatal kernel mode data abort: 'Translation Fault (L1)' on read
Message-ID:  <CABx9NuSi%2BjxkSyUNOCr3V_7=x=_2F9M%2BbNr1ts27FCVnTCBkdQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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: <Open Firmware Device
Tree>simplebus0: <Flattened device tree simple bus> on ofwbus0simplebus1:
<Flattened device tree simple bus> mem 0x2000000-0x20fffff on
simplebus0simplebus2: <Flattened device tree simple bus> mem
0x2000000-0x203ffff on simplebus1imx6_anatop0: <Freescale i.MX6 Analog PLLs
and Power> mem 0x20c8000-0x20c8fff irq 81,86,159 on simplebus1simplebus3:
<Flattened device tree simple bus> on simplebus1simplebus4: <Flattened
device tree simple bus> mem 0x2100000-0x21fffff on simplebus0ocotp0:
<Freescale On-Chip One-Time-Programmable Memory> mem 0x21bc000-0x21bffff on
simplebus4ccm0: <Freescale i.MX6 Clock Control Module> mem
0x20c4000-0x20c7fff irq 119,120 on simplebus1l2cache0: <PL310 L2 cache
controller> mem 0xa02000-0xa02fff irq 124 on simplebus0l2cache0: Part
number: 0x3, release: 0x7l2cache0: L2 Cache enabled: 1024KB/32B 16
waysimx_iomux0: <Freescale i.MX pin configuration> mem 0x20e0000-0x20e3fff
on simplebus1gic0: <ARM Generic Interrupt Controller> mem
0xa01000-0xa01fff,0xa00100-0xa001ff on ofwbus0gic0: pn 0x390, arch 0x1, rev
0x2, implementer 0x43b irqs 160imx_gpt0: <Freescale i.MX GPT timer> mem
0x2098000-0x209bfff irq 87 on simplebus1Event timer "iMXGPT" frequency
66000000 Hz quality 800Timecounter "iMXGPT" frequency 66000000 Hz quality
1000mp_tmr0: <ARM MPCore Timers> mem 0xa00600-0xa0061f irq 29 on
simplebus0Event timer "MPCore" frequency 492000000 Hz quality 1000uart0:
<Freescale i.MX UART> mem 0x2020000-0x2023fff irq 58 on simplebus2uart0:
console (115200,n,8,1)gpio0: <Freescale i.MX GPIO Controller> mem
0x209c000-0x209ffff irq 98,99 on simplebus1gpiobus0: <GPIO bus> on
gpio0gpioc0: <GPIO controller> on gpio0gpio1: <Freescale i.MX GPIO
Controller> mem 0x20a0000-0x20a3fff irq 100,101 on simplebus1gpiobus1:
<GPIO bus> on gpio1gpioc1: <GPIO controller> on gpio1gpio2: <Freescale i.MX
GPIO Controller> mem 0x20a4000-0x20a7fff irq 102,103 on simplebus1gpiobus2:
<GPIO bus> on gpio2gpioc2: <GPIO controller> on gpio2gpio3: <Freescale i.MX
GPIO Controller> mem 0x20a8000-0x20abfff irq 104,105 on simplebus1gpiobus3:
<GPIO bus> on gpio3gpioc3: <GPIO controller> on gpio3gpio4: <Freescale i.MX
GPIO Controller> mem 0x20ac000-0x20affff irq 106,107 on simplebus1gpiobus4:
<GPIO bus> on gpio4gpioc4: <GPIO controller> on gpio4gpio5: <Freescale i.MX
GPIO Controller> mem 0x20b0000-0x20b3fff irq 108,109 on simplebus1gpiobus5:
<GPIO bus> on gpio5gpioc5: <GPIO controller> on gpio5gpio6: <Freescale i.MX
GPIO Controller> mem 0x20b4000-0x20b7fff irq 110,111 on simplebus1gpiobus6:
<GPIO bus> on gpio6gpioc6: <GPIO controller> on gpio6imx_wdog0: <Freescale
i.MX Watchdog> mem 0x20bc000-0x20bffff irq 112 on simplebus1usbphy0:
<Freescale i.MX6 USB PHY> mem 0x20c9000-0x20c9fff irq 76 on
simplebus1usbphy1: <Freescale i.MX6 USB PHY> mem 0x20ca000-0x20cafff irq 77
on simplebus1src0: <Freescale i.MX6 System Reset Controller> mem
0x20d8000-0x20dbfff irq 123,128 on simplebus1hdmi0: <Freescale i.MX6 HDMI
core> mem 0x120000-0x128fff irq 147 on simplebus1hdmi0: HDMI controller
13:0a:a0:c1GPR3 0f000000 -> 0f000000ehci0: <Freescale i.MX integrated USB
controller> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuSi%2BjxkSyUNOCr3V_7=x=_2F9M%2BbNr1ts27FCVnTCBkdQ>