From owner-freebsd-arm@freebsd.org Mon Feb 22 01:11:53 2016 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 A494BAAF574 for ; Mon, 22 Feb 2016 01:11:53 +0000 (UTC) (envelope-from brett@lariat.net) Received: from mail.lariat.net (mail.lariat.net [66.62.230.51]) by mx1.freebsd.org (Postfix) with ESMTP id 63AC41733 for ; Mon, 22 Feb 2016 01:11:52 +0000 (UTC) (envelope-from brett@lariat.net) Received: from Toshi.lariat.net (IDENT:ppp1000.lariat.net@localhost [127.0.0.1]) by mail.lariat.net (8.9.3/8.9.3) with ESMTP id SAA20866 for ; Sun, 21 Feb 2016 18:09:09 -0700 (MST) Message-Id: <201602220109.SAA20866@mail.lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sun, 21 Feb 2016 18:09:05 -0700 To: freebsd-arm@freebsd.org From: Brett Glass Subject: Latest 11.0 snapshot won't boot on CUBOX either Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed 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: Mon, 22 Feb 2016 01:11:53 -0000 After the experience described in my last message, I tried the mid-February 11.0 snapshot (r295683). This one actually began to use the video display, but did not boot whether or not I attached a USB keyboard. A serial terminal showed the following: U-Boot SPL 2013.10-rc4 (Feb 17 2016 - 08:14:06) Boot Device: SD1 spl: error reading image u-boot.img, err - -1 Load image from RAW... U-Boot 2013.10-rc4 (Feb 17 2016 - 08:14:06) CPU: Freescale i.MX6Q rev1.2 at 792 MHz Reset cause: POR Board: MX6-CuBox-i DRAM: 1 GiB MMC: FSL_SDHC: 0 *** Warning - bad CRC, using default environment In: serial Out: serial Err: serial Net: FEC [PRIME] ** Unable to read file uEnv.txt ** Hit any key to stop autoboot: 0 Booting from: mmc 0 ubldr 262739 bytes read in 25 ms (10 MiB/s) ## Starting application at 0x12000094 ... Consoles: U-Boot console Compatible U-Boot API signature found @4f7708a8 FreeBSD/armv6 U-Boot loader, Revision 1.2 (root@releng2.nyi.freebsd.org, Wed Feb 17 08:37:47 UTC 2016) DRAM: 1024MB Number of U-Boot devices: 2 U-Boot env: loaderdev='mmc 0' Found U-Boot device: disk Checking unit=0 slice= partition=... good. Booting from disk0s2a: /boot/kernel/kernel data=0x6b6964+0xc969c syms=[0x4+0x7f460+0x4+0x91631] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... /boot/dtb/imx6q-cubox-i.dtb size=0x89c9 Loaded DTB from file 'imx6q-cubox-i.dtb'. Kernel entry at 0x12200100... Kernel args: (null) KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2016 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 #0 r295683: Wed Feb 17 08:44:44 UTC 2016 root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/IMX6 arm FreeBSD clang version 3.7.1 (tags/RELEASE_371/final 255217) 20151225 VT: init without driver. CPU: Cortex A9-r2 rev 10 (Cortex-A core) Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext WB enabled LABT branch prediction disabled LoUU: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-Alloc real memory = 1073741824 (1024 MB) avail memory = 1039437824 (991 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs random: entropy device external interface kbd0 at kbdmux0 ofwbus0: simplebus0: on ofwbus0 simplebus1: mem 0x2000000-0x20fffff on simplebus0 simplebus2: mem 0x2000000-0x203ffff on simplebus1 imx6_anatop0: mem 0x20c8000-0x20c8fff irq 43,44,45 on simplebus1 simplebus3: mem 0x2100000-0x21fffff on simplebus0 ocotp0: mem 0x21bc000-0x21bffff on simplebus3 ccm0: mem 0x20c4000-0x20c7fff irq 41,42 on simplebus1 l2cache0: mem 0xa02000-0xa02fff irq 6 on simplebus0 l2cache0: Part number: 0x3, release: 0x7 l2cache0: L2 Cache enabled: 1024KB/32B 16 ways imx_iomux0: mem 0x20e0000-0x20e3fff on simplebus1 gic0: mem 0xa01000-0xa01fff,0xa00100-0xa001ff on simplebus0 gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b irqs 160 imx_gpt0: mem 0x2098000-0x209bfff irq 23 on simplebus1 Event timer "iMXGPT" frequency 66000000 Hz quality 800 Timecounter "iMXGPT" frequency 66000000 Hz quality 1000 mp_tmr0: mem 0xa00600-0xa0061f irq 5 on simplebus0 Event timer "MPCore" frequency 492000000 Hz quality 1000 hdmi0: mem 0x120000-0x128fff irq 2 on simplebus0 hdmi0: HDMI controller 13:0a:a0:c1 uart0: mem 0x2020000-0x2023fff irq 62 on simplebus2 uart0: console (115200,n,8,1) gpio0: mem 0x209c000-0x209ffff irq 24,25 on simplebus1 gpiobus0: on gpio0 gpioc0: on gpio0 gpio1: mem 0x20a0000-0x20a3fff irq 26,27 on simplebus1 gpiobus1: on gpio1 gpioc1: on gpio1 gpio2: mem 0x20a4000-0x20a7fff irq 28,29 on simplebus1 gpiobus2: on gpio2 gpioc2: on gpio2 gpio3: mem 0x20a8000-0x20abfff irq 30,31 on simplebus1 gpiobus3: on gpio3 gpioc3: on gpio3 gpio4: mem 0x20ac000-0x20affff irq 32,33 on simplebus1 gpiobus4: on gpio4 gpioc4: on gpio4 gpio5: mem 0x20b0000-0x20b3fff irq 34,35 on simplebus1 gpiobus5: on gpio5 gpioc5: on gpio5 gpio6: mem 0x20b4000-0x20b7fff irq 36,37 on simplebus1 gpiobus6: on gpio6 gpioc6: on gpio6 imx_wdog0: mem 0x20bc000-0x20bffff irq 39 on simplebus1 usbphy0: mem 0x20c9000-0x20c9fff irq 46 on simplebus1 usbphy1: mem 0x20ca000-0x20cafff irq 47 on simplebus1 src0: mem 0x20d8000-0x20dbfff irq 50,51 on simplebus1 ehci0: mem 0x2184000-0x21841ff irq 69 on simplebus3 ehci0: [GIANT-LOCKED] usbus0: EHCI version 1.0 usbus0 on ehci0 ehci1: mem 0x2184200-0x21843ff irq 70 on simplebus3 ehci1: [GIANT-LOCKED] usbus1: EHCI version 1.0 usbus1 on ehci1 ffec0: mem 0x2188000-0x218bfff irq 73,74 on simplebus3 miibus0: on ffec0 atphy0: PHY 0 on miibus0 atphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseSX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto ffec0: Ethernet address: d0:63:b4:00:18:99 sdhci_imx0: mem 0x2190000-0x2193fff irq 78 on simplebus3 mmc0: on sdhci_imx0 sdhci_imx1: mem 0x2194000-0x2197fff irq 79 on simplebus3 mmc1: on sdhci_imx1 iichb0: mem 0x21a4000-0x21a7fff irq 83 on simplebus3 iicbus0: on iichb0 iic0: on iicbus0 iichb1: mem 0x21a8000-0x21abfff irq 84 on simplebus3 iicbus1: on iichb1 iic1: on iicbus1 iicbus1: at addr 0xd0 uart1: mem 0x21f0000-0x21f3fff irq 91 on simplebus3 fb0: mem 0x2400000-0x27fffff irq 9,10 on simplebus0 cryptosoft0: Timecounters tick every 2.000 msec IPsec: Initialized Security Association Processing. hdmi0: reading EDID from iicbus0, addr 50 usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 fbd0 on fb0 VT: initialize with new VT driver "fb". uhub0: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered sdhci_imx0-slot0: Controller timeout sdhci_imx0-slot0: ============== REGISTER DUMP ============== sdhci_imx0-slot0: Sys addr: 0x00000000 | Version: 0x00000002 sdhci_imx0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000001 sdhci_imx0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_imx0-slot0: Present: 0x00f90000 | Host ctl: 0x00000001 sdhci_imx0-slot0: Power: 0x0000000d | Blk gap: 0x00000080 sdhci_imx0-slot0: Wake-up: 0x00000008 | Clock: 0x0000fa07 sdhci_imx0-slot0: Timeout: 0x00000080 | Int stat: 0x00000001 sdhci_imx0-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_imx0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000001 sdhci_imx0-slot0: Caps: 0x0377c800 | Max curr: 0x80000000 sdhci_imx0-slot0: =========================================== sdhci_imx0-slot0: Controller timeout sdhci_imx0-slot0: ============== REGISTER DUMP ============== sdhci_imx0-slot0: Sys addr: 0x00000000 | Version: 0x00000002 sdhci_imx0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000001 sdhci_imx0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_imx0-slot0: Present: 0x00f90000 | Host ctl: 0x00000001 sdhci_imx0-slot0: Power: 0x0000000d | Blk gap: 0x00000080 sdhci_imx0-slot0: Wake-up: 0x00000008 | Clock: 0x0000fa07 sdhci_imx0-slot0: Timeout: 0x00000080 | Int stat: 0x00000001 sdhci_imx0-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_imx0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000001 sdhci_imx0-slot0: Caps: 0x0377c800 | Max curr: 0x80000000 sdhci_imx0-slot0: =========================================== sdhci_imx0-slot0: Controller timeout sdhci_imx0-slot0: ============== REGISTER DUMP ============== sdhci_imx0-slot0: Sys addr: 0x00000000 | Version: 0x00000002 sdhci_imx0-slot0: Blk size: 0x00000000 | Blk cnt: 0x00000001 sdhci_imx0-slot0: Argument: 0x00000000 | Trn mode: 0x00000000 sdhci_imx0-slot0: Present: 0x00f90000 | Host ctl: 0x00000001 sdhci_imx0-slot0: Power: 0x0000000d | Blk gap: 0x00000080 sdhci_imx0-slot0: Wake-up: 0x00000008 | Clock: 0x0000fa07 sdhci_imx0-slot0: Timeout: 0x00000080 | Int stat: 0x00000001 sdhci_imx0-slot0: Int enab: 0x017f00fb | Sig enab: 0x017f00fb sdhci_imx0-slot0: AC12 err: 0x00000000 | Slot int: 0x00000001 sdhci_imx0-slot0: Caps: 0x0377c800 | Max curr: 0x80000000 sdhci_imx0-slot0: =========================================== ...and similar messages ad infinitum. The lines after the one beginning with "VT:" appeared on the VGA, but the bootstrap process never completed. So, the only snapshot I have that will boot completely is an old one from December.... Is there anything newer or in the works that will boot? I would like to start developing on this and contribute some code, but need a couple of systems to at least be limping along to start. --Brett Glass