From owner-freebsd-arm@freebsd.org Mon Feb 22 09:31:30 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 66EEFAAFF0E for ; Mon, 22 Feb 2016 09:31:30 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: from mail-yw0-x236.google.com (mail-yw0-x236.google.com [IPv6:2607:f8b0:4002:c05::236]) (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 293A71498; Mon, 22 Feb 2016 09:31:30 +0000 (UTC) (envelope-from mikael.urankar@gmail.com) Received: by mail-yw0-x236.google.com with SMTP id g127so114448414ywf.2; Mon, 22 Feb 2016 01:31:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=p1qTVRRApTkqgRzKKyAX6xB8bFfGcgUunq8xMMukEK4=; b=rFMNvow47dGIYhtWc3fHq9wsCSuyCPl647Nanb50wyoAaGaJhyffxicRgq6DVL6sfy KL82LHptPoh8Ll9AbV0MvYhi+MKCNDQIUQv4HwNVJVl929j2/yMviuaNFIk7KOaeUVog DxOdNPnlIFENUyalcDUAIjcJG+KrkqCUvFF0cp5MVYCzwhfTc8UFuJjWCINblVV4mDSL 7lki91gB6NtIoj/vccYGgFKVdFuiuBoSGQQRYrli4FGXFtI8PbyojVzKY05Y1I+DtHNc SvzL+xr7i7rjEWccEBudJ+I4ojeoxhEp9NE/GzezsQf/mPF8ySJ7G/BVLvX7tug219g7 EBhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=p1qTVRRApTkqgRzKKyAX6xB8bFfGcgUunq8xMMukEK4=; b=OIj5Nxlx0lOxV6C2Z2MnZ2ZShhnQyHjJiHedLrkaNTr/3ltvt+6SjRHRPaIF4j0jky mTM3Swo9+mf2VA2gcgWVz/COed30ainYUgx1Yj/GeeLur4BP0rvizbFCw8GloRF847gW 4SZm85PTBs4ybb0oHCv+RL1r68e4kX/Kg7oxi6NQV4BkBtTKzEYFN3Ar9KjPf4rVLzbU d1yP+gZPOTWSj6sPLpljCRW1dLvFCDvnnrfYkRyqQTR1CJeB77rwGA9LQK05xAGDnR1b 0E826qRxuapNxEl9F1DuNO1yLfEmPnTO9hHJt77OvgPZo2JZ6swJDq5+WPXJmRBTO7NX gAbA== X-Gm-Message-State: AG10YOQt0RJAV0TKrbyEZN9I4n2L4ci0dHARX4JX9QBJXVGI3Jy/LoHANmEAOFkaai2SyqO7GYTwRGhtRMm9OQ== X-Received: by 10.13.212.204 with SMTP id w195mr14490711ywd.225.1456133489255; Mon, 22 Feb 2016 01:31:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.37.105.137 with HTTP; Mon, 22 Feb 2016 01:30:49 -0800 (PST) In-Reply-To: <1456113068.1294.46.camel@freebsd.org> References: <201602220109.SAA20866@mail.lariat.net> <1456113068.1294.46.camel@freebsd.org> From: =?UTF-8?Q?Mika=C3=ABl_Urankar?= Date: Mon, 22 Feb 2016 10:30:49 +0100 Message-ID: Subject: Re: Latest 11.0 snapshot won't boot on CUBOX either To: Ian Lepore Cc: Brett Glass , "freebsd-arm@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 09:31:30 -0000 2016-02-22 4:51 GMT+01:00 Ian Lepore : > On Sun, 2016-02-21 at 18:09 -0700, Brett Glass wrote: >> 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 > > My wandboards have hung up the same way for about a week now, but I > haven't had time to investigate why. > > -- Ian The update of the Linux dts breaks the imx6 (r295436)