Latest 11.0 snapshot won't boot on CUBOX either

Ian Lepore ian at freebsd.org
Mon Feb 22 03:51:19 UTC 2016


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 at 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=<auto> partition=<auto>... 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 at 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: <Open Firmware Device Tree>
> simplebus0: <Flattened device tree simple bus> on ofwbus0
> simplebus1: <Flattened device tree simple bus> mem 
> 0x2000000-0x20fffff on simplebus0
> simplebus2: <Flattened device tree simple bus> mem 
> 0x2000000-0x203ffff on simplebus1
> imx6_anatop0: <Freescale i.MX6 Analog PLLs and Power> mem 
> 0x20c8000-0x20c8fff irq 43,44,45 on simplebus1
> simplebus3: <Flattened device tree simple bus> mem 
> 0x2100000-0x21fffff on simplebus0
> ocotp0: <Freescale On-Chip One-Time-Programmable Memory> mem 
> 0x21bc000-0x21bffff on simplebus3
> ccm0: <Freescale i.MX6 Clock Control Module> mem 
> 0x20c4000-0x20c7fff irq 41,42 on simplebus1
> l2cache0: <PL310 L2 cache controller> mem 0xa02000-0xa02fff irq 6 on
> simplebus0
> l2cache0: Part number: 0x3, release: 0x7
> l2cache0: L2 Cache enabled: 1024KB/32B 16 ways
> imx_iomux0: <Freescale i.MX pin configuration> mem 
> 0x20e0000-0x20e3fff on simplebus1
> gic0: <ARM Generic Interrupt Controller> mem 
> 0xa01000-0xa01fff,0xa00100-0xa001ff on simplebus0
> gic0: pn 0x390, arch 0x1, rev 0x2, implementer 0x43b irqs 160
> imx_gpt0: <Freescale i.MX GPT timer> mem 0x2098000-0x209bfff irq 23 
> on simplebus1
> Event timer "iMXGPT" frequency 66000000 Hz quality 800
> Timecounter "iMXGPT" frequency 66000000 Hz quality 1000
> mp_tmr0: <ARM MPCore Timers> mem 0xa00600-0xa0061f irq 5 on
> simplebus0
> Event timer "MPCore" frequency 492000000 Hz quality 1000
> hdmi0: <Freescale i.MX6 HDMI core> mem 0x120000-0x128fff irq 2 on
> simplebus0
> hdmi0: HDMI controller 13:0a:a0:c1
> uart0: <Freescale i.MX UART> mem 0x2020000-0x2023fff irq 62 on
> simplebus2
> uart0: console (115200,n,8,1)
> gpio0: <Freescale i.MX GPIO Controller> mem 0x209c000-0x209ffff irq 
> 24,25 on simplebus1
> gpiobus0: <GPIO bus> on gpio0
> gpioc0: <GPIO controller> on gpio0
> gpio1: <Freescale i.MX GPIO Controller> mem 0x20a0000-0x20a3fff irq 
> 26,27 on simplebus1
> gpiobus1: <GPIO bus> on gpio1
> gpioc1: <GPIO controller> on gpio1
> gpio2: <Freescale i.MX GPIO Controller> mem 0x20a4000-0x20a7fff irq 
> 28,29 on simplebus1
> gpiobus2: <GPIO bus> on gpio2
> gpioc2: <GPIO controller> on gpio2
> gpio3: <Freescale i.MX GPIO Controller> mem 0x20a8000-0x20abfff irq 
> 30,31 on simplebus1
> gpiobus3: <GPIO bus> on gpio3
> gpioc3: <GPIO controller> on gpio3
> gpio4: <Freescale i.MX GPIO Controller> mem 0x20ac000-0x20affff irq 
> 32,33 on simplebus1
> gpiobus4: <GPIO bus> on gpio4
> gpioc4: <GPIO controller> on gpio4
> gpio5: <Freescale i.MX GPIO Controller> mem 0x20b0000-0x20b3fff irq 
> 34,35 on simplebus1
> gpiobus5: <GPIO bus> on gpio5
> gpioc5: <GPIO controller> on gpio5
> gpio6: <Freescale i.MX GPIO Controller> mem 0x20b4000-0x20b7fff irq 
> 36,37 on simplebus1
> gpiobus6: <GPIO bus> on gpio6
> gpioc6: <GPIO controller> on gpio6
> imx_wdog0: <Freescale i.MX Watchdog> mem 0x20bc000-0x20bffff irq 39 
> on simplebus1
> usbphy0: <Freescale i.MX6 USB PHY> mem 0x20c9000-0x20c9fff irq 46 on
> simplebus1
> usbphy1: <Freescale i.MX6 USB PHY> mem 0x20ca000-0x20cafff irq 47 on
> simplebus1
> src0: <Freescale i.MX6 System Reset Controller> mem 
> 0x20d8000-0x20dbfff irq 50,51 on simplebus1
> ehci0: <Freescale i.MX integrated USB controller> mem 
> 0x2184000-0x21841ff irq 69 on simplebus3
> ehci0: [GIANT-LOCKED]
> usbus0: EHCI version 1.0
> usbus0 on ehci0
> ehci1: <Freescale i.MX integrated USB controller> mem 
> 0x2184200-0x21843ff irq 70 on simplebus3
> ehci1: [GIANT-LOCKED]
> usbus1: EHCI version 1.0
> usbus1 on ehci1
> ffec0: <Freescale Gigabit Ethernet Controller> mem 
> 0x2188000-0x218bfff irq 73,74 on simplebus3
> miibus0: <MII bus> on ffec0
> atphy0: <Atheros F1 10/100/1000 PHY> 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: <Freescale uSDHC controller> mem 0x2190000-0x2193fff 
> irq 78 on simplebus3
> mmc0: <MMC/SD bus> on sdhci_imx0
> sdhci_imx1: <Freescale uSDHC controller> mem 0x2194000-0x2197fff 
> irq 79 on simplebus3
> mmc1: <MMC/SD bus> on sdhci_imx1
> iichb0: <Freescale i.MX I2C> mem 0x21a4000-0x21a7fff irq 83 on
> simplebus3
> iicbus0: <OFW I2C bus> on iichb0
> iic0: <I2C generic I/O> on iicbus0
> iichb1: <Freescale i.MX I2C> mem 0x21a8000-0x21abfff irq 84 on
> simplebus3
> iicbus1: <OFW I2C bus> on iichb1
> iic1: <I2C generic I/O> on iicbus1
> iicbus1: <unknown card> at addr 0xd0
> uart1: <Freescale i.MX UART> mem 0x21f0000-0x21f3fff irq 91 on
> simplebus3
> fb0: <Freescale IPU> mem 0x2400000-0x27fffff irq 9,10 on simplebus0
> cryptosoft0: <software crypto>
> 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: <Freescale> at usbus0
> uhub0: <Freescale EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on
> usbus0
> ugen1.1: <Freescale> at usbus1
> uhub1: <Freescale EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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



More information about the freebsd-arm mailing list