From owner-freebsd-arm@freebsd.org Thu Mar 31 16:08:38 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 7F152AE394B for ; Thu, 31 Mar 2016 16:08:38 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: from mail-vk0-x230.google.com (mail-vk0-x230.google.com [IPv6:2607:f8b0:400c:c05::230]) (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 3836C15F0 for ; Thu, 31 Mar 2016 16:08:38 +0000 (UTC) (envelope-from russ.haley@gmail.com) Received: by mail-vk0-x230.google.com with SMTP id e185so109161288vkb.1 for ; Thu, 31 Mar 2016 09:08:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-transfer-encoding; bh=ApXfcMaelZGDlr+tA6yPrIHR6xsxIduaPRXVDDH4FQc=; b=dVbUuPOhgo8SttLkfJ5G9vk4oVM7tzxqCugfW6mx3cXQIZNS+ESKygb0eK8ujzOQGJ hH59ibzq6LS5Fpb1wwquAS0InbM7wUTz1cspK89Zf0ZEc/TEXxpEhggKYrqupVh5Q54y 529hMsLt3gcdaMS6MesW7+6tJXQNKD8XWKSu6vFgU6eR6OBvzcY+m9QKuPNhbS7Mc5TH TcQra5GLV2M502l+FWT+9mBC8lYY1gYS2zxR9GjBa5ba5TROJ9Rn9ZkXV0nDnWtq/FRu ky3ZspDv0moxlAoZJOlm6ck8qKuGjHKhRyyLs0IZ9oTZbKJDxdfvWs47UJgk5ZrVNtYC vWSg== 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:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=ApXfcMaelZGDlr+tA6yPrIHR6xsxIduaPRXVDDH4FQc=; b=JKRamtn1aijq7ivOlf+jFugPaicFerbmrdI8nfX7uBYy7nNu5cXLnq0gV2yEhFU5hh JQ0zxJ3Zutg+umhD6M1Hkm4CICa9vv9J59H87ffbcDx2FBKdl7BUg6ZZ+POpiL79uOwy QVvy7Cj0BLWdZ9QbKPJpv5AmzExxdC9TZ2OkOt4BtkrIkQPn+Ivj/UPMZ8T+6ltxknjG L0h/TUdOdLMYq6A/1nuj208S63yrIvarn+WNoWdart1JTdAT9HO+sOhRosurU56tfu9g qFadKIk0OqnnxQDC8My72sXxQTzfOEuujUFdq8ZdhkIAP6Oy9MXwHfy+uwruWePX8Miy k5Uw== X-Gm-Message-State: AD7BkJJXp9S71rh6H8tW8jnfnw+iYCzlsC9GLdB6Ua6TC1nMviclMuvnjUkQfQHNiJwp5nMhvXPlq8yEiHM1dA== MIME-Version: 1.0 X-Received: by 10.31.45.143 with SMTP id t137mr9641570vkt.143.1459440517113; Thu, 31 Mar 2016 09:08:37 -0700 (PDT) Received: by 10.31.54.13 with HTTP; Thu, 31 Mar 2016 09:08:37 -0700 (PDT) In-Reply-To: References: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> Date: Thu, 31 Mar 2016 09:08:37 -0700 Message-ID: Subject: Re: Odroidc1+ stuck booting From: Russell Haley To: Erik Moe Cc: Daniel Braniss , freebsd-arm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2016 16:08:38 -0000 On Thu, Mar 31, 2016 at 5:29 AM, Erik Moe wrote: > Everything I=E2=80=99m doing I =E2=80=9Cborrowed=E2=80=9D from here: htt= ps://wiki.freebsd.org/FreeBSD/arm/Odroid-C1 > > I=E2=80=99m using the stock ODROIDC1 kernel config in head which builds t= he FTD statically into the kernel from src/sys/boot/fdt/dts/arm/odroidc1.dt= s. I liberated u-boot from ArchLinuxARM-odroid-c1-latest.tar.gz. My boot.i= ni is simply this: > > ODROIDC-UBOOT-CONFIG > > setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go 0x100000" > run bootcmd > > Erik u-boot images are available for a couple of boards through the ports tree but it looks like ODROID hasn't made it in there yet? http://www.freshports.org/search.php?query=3Du-boot&search=3Dgo&num=3D10&st= ype=3Dname&method=3Dmatch&deleted=3Dexcludedeleted&start=3D1&casesensitivit= y=3Dcaseinsensitive The source is here: https://github.com/hardkernel/u-boot I was never able to set up the cross tools correctly to get u-boot to build. I had to have Ian spoon feed me a binary, which is what prompted him to put a build script in the ports tree. lolz There is also a binary for u-boot on the wiki: https://people.freebsd.org/~ganbold/FreeBSD-amlogic-20150311/build/ Russ >> On Mar 31, 2016, at 1:36 AM, Daniel Braniss wrote: >> >> oh, and if you feel generous your ODROIDC1.conf =E2=80=A6 >> thanks, >> danny >> >>> On 31 Mar 2016, at 09:31, Daniel Braniss wrote: >>> >>> hi Erik, >>> can you send me your >>> uboot >>> boot.ini >>> *.dtb >>> I=E2=80=99m pretty sure the issue is somewhere there then. >>> thanks, >>> danny >>> >>>> On 31 Mar 2016, at 09:11, Erik Moe wrote: >>>> >>>> I built a new image for my odriod-c1 for ssd from the latest sources a= nd had no issues and didn=E2=80=99t need to tweet anything. I don=E2=80=99= t have and odriod-c1+, but my understanding is there isn=E2=80=99t much dif= ference between the two. I am using the serial console. >>>> >>>> QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:= 0;PASS:1; >>>> ----------------------------------------------------------------------= - >>>> * Welcome to Hardkernel's ODROID-C... (Built at 19:33:00 Dec 8 2014) = * >>>> ----------------------------------------------------------------------= - >>>> CPU : AMLogic S805 >>>> MEM : 1024MB (DDR3@792MHz) >>>> BID : HKC13C0001 >>>> S/N : HKC1CC037EBE4620 >>>> 0x0000009f >>>> check SD_boot_type:0x1 card_type:0x1 >>>> Loading U-boot...success. >>>> >>>> >>>> U-boot(odroidc@) (Jun 12 2015 - 17:31:14) >>>> >>>> DRAM: 1 GiB >>>> relocation Offset is: 2ff1c000 >>>> MMC: SDCARD: 0, eMMC: 1 >>>> IR init is done! >>>> vpu clk_level =3D 3 >>>> set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) >>>> mode =3D 6 vic =3D 4 >>>> set HDMI vic: 4 >>>> mode is: 6 >>>> viu chan =3D 1 >>>> config HPLL >>>> config HPLL done >>>> reconfig packet setting done >>>> MMC read: dev # 0, block # 33984, count 12288 ... 12288 blocks read: O= K >>>> There is no valid bmp file at the given address >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> Vendor: Man 035344 Snr 29cfee4e Rev: 8.0 Prod: SL08G >>>> Type: Removable Hard Disk >>>> Capacity: 7580.0 MB =3D 7.4 GB (15523840 x 512) >>>> ------------------------------------------------------------ >>>> Partition Start Sector Num Sectors Type >>>> 1 1134 131040 6 >>>> 2 132174 15391666 a5 >>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>>> Net: Meson_Ethernet >>>> init suspend firmware done. (ret:0) >>>> Hit Enter key to stop autoboot -- : 0 >>>> exit abortboot: 0 >>>> reading boot.ini >>>> >>>> 98 bytes read >>>> Loading boot.ini from mmc0:1 (vfat) >>>> Executing the script... >>>> setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go 0x100000" >>>> run bootcmd >>>> reading kernel.bin >>>> >>>> 6055396 bytes read >>>> ## Starting application at 0x00100000 ... >>>> ARM Debug Architecture v7 >>>> 2 watchpoints and 3 breakpoints supported >>>> 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, 19= 94 >>>> The Regents of the University of California. All rights reserved. >>>> FreeBSD is a registered trademark of The FreeBSD Foundation. >>>> FreeBSD 11.0-CURRENT #4 43026a8(master)-dirty: Thu Mar 31 04:14:32 CDT= 2016 >>>> root@dora:/usr/home/emoe/Projects/ARM/odroid-c1/obj/arm.armv6hf/usr/h= ome/emoe/Projects/ARM/src/sys/ODROIDC1 arm >>>> FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on = LLVM 3.8.0) >>>> WARNING: WITNESS option enabled, expect reduced performance. >>>> VT: init without driver. >>>> Preloaded elf kernel "kernel" at 0xc07c5d6c. >>>> CPU: Cortex A5 rev 1 (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 2-way instruction cache Read-Alloc >>>> real memory =3D 1073737728 (1023 MB) >>>> avail memory =3D 1038233600 (990 MB) >>>> Physical memory chunk(s): >>>> 0x00001000 - 0x3fffffff, 1023 MB ( 262143 pages) >>>> Excluded memory regions: >>>> 0x00100000 - 0x00853fff, 7 MB ( 1876 pages) NoAlloc >>>> Static device mappings: >>>> 0xc1100000 - 0xc12fffff mapped at VA 0xffd00000 >>>> 0xc4200000 - 0xc42fffff mapped at VA 0xffc00000 >>>> 0xc4300000 - 0xc43fffff mapped at VA 0xffb00000 >>>> 0xc8000000 - 0xc80fffff mapped at VA 0xffa00000 >>>> 0xc8100000 - 0xc81fffff mapped at VA 0xff900000 >>>> 0xc9000000 - 0xc97fffff mapped at VA 0xff100000 >>>> 0xd9000000 - 0xd90fffff mapped at VA 0xff000000 >>>> 0xda000000 - 0xda0fffff mapped at VA 0xfef00000 >>>> Amlogic aml8726-m8b SoC >>>> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >>>> ULE: setup cpu 0 >>>> ULE: setup cpu 1 >>>> ULE: setup cpu 2 >>>> ULE: setup cpu 3 >>>> random: entropy device external interface >>>> null: >>>> openfirm: >>>> mem: >>>> nfslock: pseudo-device >>>> crypto: >>>> random: harvesting attach, 8 bytes (4 bits) from nexus0 >>>> ofwbus0: >>>> simplebus0: on ofwbus0 >>>> random: harvesting attach, 8 bytes (4 bits) from simplebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from ofwbus0 >>>> clkmsr0: mem 0xc1108758-0xc1108767 on simpleb= us0 >>>> clkmsr0: bus clock 159 MHz >>>> random: harvesting attach, 8 bytes (4 bits) from clkmsr0 >>>> l2cache0: mem 0xc4200000-0xc4200fff irq 0 = on ofwbus0 >>>> l2cache0: Part number: 0x3, release: 0x9 >>>> l2cache0: L2 Cache enabled: 512KB/32B 8 ways >>>> l2cache0: Early BRESP response: disabled >>>> l2cache0: Instruction prefetch: disabled >>>> l2cache0: Data prefetch: enabled >>>> l2cache0: Non-secure interrupt control: disabled >>>> l2cache0: Non-secure lockdown: disabled >>>> l2cache0: Share override: disabled >>>> l2cache0: Double linefill: disabled >>>> l2cache0: Instruction prefetch: disabled >>>> l2cache0: Data prefetch: enabled >>>> l2cache0: Double linefill on WRAP request: disabled >>>> l2cache0: Prefetch drop: disabled >>>> l2cache0: Incr double Linefill: disabled >>>> l2cache0: Not same ID on exclusive sequence: disabled >>>> l2cache0: Prefetch offset: 0 >>>> random: harvesting attach, 8 bytes (4 bits) from l2cache0 >>>> scu0: mem 0xc4300000-0xc4300fff on simplebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from scu0 >>>> cpuconfig0: mem 0xd901ff80-0xd901ff8f on simplebu= s0 >>>> random: harvesting attach, 8 bytes (4 bits) from cpuconfig0 >>>> ccm0: mem 0xc1104140-0xc1104153 on simplebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from ccm0 >>>> pinctrl0: mem 0xc11080b0-0xc11080d7,0xc11080= e8-0xc11080ff,0xc1108120-0xc1108137,0xc8100014-0xc8100017,0xc810002c-0xc810= 002f,0xc810002c-0xc810002f on simplebus0 >>>> Processing 3 pin-config node(s) in pinctrl-0 for pinctrl@c11080b0 >>>> Processing 1 pin-config node(s) in pinctrl-0 for mmc@c1108c20 >>>> Processing 1 pin-config node(s) in pinctrl-0 for sdxc@c1108e00 >>>> random: harvesting attach, 8 bytes (4 bits) from pinctrl0 >>>> gic0: mem 0xc4301000-0xc4301fff,0xc= 4300100-0xc43001ff on ofwbus0 >>>> ofwbus0: no default resources for rid =3D 0, type =3D 1 >>>> gic0: pn 0x390, arch 0x1, rev 0x1, implementer 0x43b irqs 256 >>>> random: harvesting attach, 8 bytes (4 bits) from gic0 >>>> wdt0: mem 0xc1109900-0xc1109907 irq 2 on simpleb= us0 >>>> random: harvesting attach, 8 bytes (4 bits) from wdt0 >>>> timer0: mem 0xc1109940-0xc1109957 irq 1 on ofw= bus0 >>>> Event timer "aml8726 timer A" frequency 1000000 Hz quality 1000 >>>> Timecounter "aml8726 timer E" frequency 1000000 Hz quality 1000 >>>> random: harvesting attach, 8 bytes (4 bits) from timer0 >>>> uart0: mem 0xc81004c0-0xc81004d7 irq 3 on simpl= ebus0 >>>> uart0: RTS iflow, CTS oflow >>>> uart0: console (115200,n,8,1) >>>> uart0: fast interrupt >>>> uart0: PPS capture mode: DCDinvalid >>>> random: harvesting attach, 8 bytes (4 bits) from uart0 >>>> uart1: mem 0xc11084c0-0xc11084d7 irq 4 on simpl= ebus0 >>>> uart1: RTS iflow, CTS oflow >>>> uart1: fast interrupt >>>> uart1: PPS capture mode: DCDinvalid >>>> random: harvesting attach, 8 bytes (4 bits) from uart1 >>>> uart2: mem 0xc11084dc-0xc11084f3 irq 5 on simpl= ebus0 >>>> uart2: RTS iflow, CTS oflow >>>> uart2: fast interrupt >>>> uart2: PPS capture mode: DCDinvalid >>>> random: harvesting attach, 8 bytes (4 bits) from uart2 >>>> uart3: mem 0xc1108700-0xc1108717 irq 6 on simpl= ebus0 >>>> uart3: RTS iflow, CTS oflow >>>> uart3: fast interrupt >>>> uart3: PPS capture mode: DCDinvalid >>>> random: harvesting attach, 8 bytes (4 bits) from uart3 >>>> simplebus0: mem 0xc8100500-0xc810051f irq 7 disabled co= mpat amlogic,meson6-i2c (no driver attached) >>>> aml8726_iic0: mem 0xc1108500-0xc110851f irq 8 on= simplebus0 >>>> iicbb0: on aml8726_iic0 >>>> iicbus0: on iicbb0 master-only >>>> iic0: on iicbus0 >>>> random: harvesting attach, 8 bytes (4 bits) from iic0 >>>> random: harvesting attach, 8 bytes (4 bits) from iicbus0 >>>> random: harvesting attach, 8 bytes (4 bits) from iicbb0 >>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_iic0 >>>> aml8726_iic1: mem 0xc11087c0-0xc11087df irq 9 on= simplebus0 >>>> iicbb1: on aml8726_iic1 >>>> iicbus1: on iicbb1 master-only >>>> iic1: on iicbus1 >>>> random: harvesting attach, 8 bytes (4 bits) from iic1 >>>> random: harvesting attach, 8 bytes (4 bits) from iicbus1 >>>> random: harvesting attach, 8 bytes (4 bits) from iicbb1 >>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_iic1 >>>> simplebus0: mem 0xc8100480-0xc810049f irq 10 di= sabled compat amlogic,meson6-ir (no driver attached) >>>> simplebus0: mem 0xc1108c80-0xc1108cff disabled compat a= mlogic,meson6-spifc (no driver attached) >>>> simplebus0: mem 0xc9410000-0xc941ffff,0xc1108108-0= xc110810b irq 11 disabled compat amlogic,meson6-dwmac (no driver attached) >>>> rtc0: mem 0xc8100740-0xc8100753 irq 12 on simple= bus0 >>>> rtc0: crystal oscillator check failed >>>> device_attach: rtc0 attach returned 6 >>>> gpio0: mem 0xc8100024-0xc8100027,0xc8100024-0xc= 8100027,0xc8100028-0xc810002b on simplebus0 >>>> gpiobus0: on gpio0 >>>> gpioled0: at pin 13 on gpiobus0 >>>> random: harvesting attach, 8 bytes (4 bits) from gpioled0 >>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus0 >>>> gpioc0: on gpio0 >>>> random: harvesting attach, 8 bytes (4 bits) from gpioc0 >>>> random: harvesting attach, 8 bytes (4 bits) from gpio0 >>>> gpio1: mem 0xc1108054-0xc1108057,0xc1108058-0xc= 110805b,0xc110805c-0xc110805f on simplebus0 >>>> gpiobus1: on gpio1 >>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus1 >>>> gpioc1: on gpio1 >>>> random: harvesting attach, 8 bytes (4 bits) from gpioc1 >>>> random: harvesting attach, 8 bytes (4 bits) from gpio1 >>>> gpio2: mem 0xc110806c-0xc110806f,0xc1108070-0xc= 1108073,0xc1108074-0xc1108077 on simplebus0 >>>> gpiobus2: on gpio2 >>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus2 >>>> gpioc2: on gpio2 >>>> random: harvesting attach, 8 bytes (4 bits) from gpioc2 >>>> random: harvesting attach, 8 bytes (4 bits) from gpio2 >>>> aml8726_mmc0: mem 0xc1108c20-0xc1108c3f irq 13 o= n simplebus0 >>>> mmc0: on aml8726_mmc0 >>>> random: harvesting attach, 8 bytes (4 bits) from mmc0 >>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_mmc0 >>>> aml8726_sdxc0: mem 0xc1108e00-0xc1108e3b irq= 14 on simplebus0 >>>> mmc1: on aml8726_sdxc0 >>>> random: harvesting attach, 8 bytes (4 bits) from mmc1 >>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_sdxc0 >>>> simplebus0: mem 0xc1108100-0xc1108107 compat amlogic,am= l8726-rng (no driver attached) >>>> usbphy0: mem 0xc1108800-0xc110881f on sim= plebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from usbphy0 >>>> usbphy1: mem 0xc1108820-0xc110883f on sim= plebus0 >>>> random: harvesting attach, 8 bytes (4 bits) from usbphy1 >>>> dwcotg0: mem 0xc9040000-0xc907= ffff irq 15 on simplebus0 >>>> usbus0 on dwcotg0 >>>> dwcotg0: usbpf: Attached >>>> random: harvesting attach, 8 bytes (4 bits) from usbus0 >>>> random: harvesting attach, 8 bytes (4 bits) from dwcotg0 >>>> dwcotg1: mem 0xc90c0000-0xc90f= ffff irq 16 on simplebus0 >>>> usbus1 on dwcotg1 >>>> dwcotg1: usbpf: Attached >>>> random: harvesting attach, 8 bytes (4 bits) from usbus1 >>>> random: harvesting attach, 8 bytes (4 bits) from dwcotg1 >>>> dwc0: mem 0xc9410000-0xc94= 11fff irq 11 on simplebus0 >>>> miibus0: on dwc0 >>>> rgephy0: PHY 0 on mii= bus0 >>>> rgephy0: OUI 0x00e04c, model 0x0011, rev. 6 >>>> rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000ba= seT-FDX, 1000baseT-FDX-master, auto >>>> random: harvesting attach, 8 bytes (4 bits) from rgephy0 >>>> rgephy1: PHY 1 on mii= bus0 >>>> rgephy1: OUI 0x00e04c, model 0x0011, rev. 6 >>>> rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000ba= seT-FDX, 1000baseT-FDX-master, auto >>>> random: harvesting attach, 8 bytes (4 bits) from rgephy1 >>>> random: harvesting attach, 8 bytes (4 bits) from miibus0 >>>> dwc0: bpf attached >>>> dwc0: Ethernet address: 62:73:64:5d:6a:ec >>>> random: harvesting attach, 8 bytes (4 bits) from dwc0 >>>> fb0: mem 0xc8006048-0xc8006053,0xc1106800-0xc1106= bff,0xc1107400-0xc11077ff irq 17,18,19,20 on simplebus0 >>>> fbd0 on fb0 >>>> VT: initialize with new VT driver "fb". >>>> random: harvesting attach, 8 bytes (4 bits) from fbd0 >>>> random: harvesting attach, 8 bytes (4 bits) from fb0 >>>> cpulist0: on ofwbus0 >>>> cpu0: on cpulist0 >>>> cpu0: missing 'clock-frequency' property >>>> random: harvesting attach, 8 bytes (4 bits) from cpu0 >>>> cpu1: on cpulist0 >>>> cpu1: missing 'clock-frequency' property >>>> random: harvesting attach, 8 bytes (4 bits) from cpu1 >>>> cpu2: on cpulist0 >>>> cpu2: missing 'clock-frequency' property >>>> random: harvesting attach, 8 bytes (4 bits) from cpu2 >>>> cpu3: on cpulist0 >>>> cpu3: missing 'clock-frequency' property >>>> random: harvesting attach, 8 bytes (4 bits) from cpu3 >>>> random: harvesting attach, 8 bytes (4 bits) from cpulist0 >>>> ofwbus0: compat fixed-clock (no driver attached) >>>> ofwbus0: compat gpio-leds (no driver attached) >>>> cryptosoft0: >>>> crypto: assign cryptosoft0 driver id 0, flags 100663296 >>>> crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 2 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 3 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 4 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 5 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 16 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 6 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 7 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 18 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 19 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 20 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 8 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 15 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 9 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 10 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 13 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 14 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 11 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 22 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 23 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 25 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 24 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 26 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 27 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 28 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 21 flags 0 maxoplen 0 >>>> crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0 >>>> random: harvesting attach, 8 bytes (4 bits) from cryptosoft0 >>>> procfs registered >>>> Timecounters tick every 10.000 msec >>>> tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192 >>>> usbus0: 480Mbps High Speed USB v2.0 >>>> IPsec: Initialized Security Association Processing. >>>> lo0: bpf attached >>>> mmc0: Probing bus >>>> usbus1: 480Mbps High Speed USB v2.0 >>>> mmc0: SD 2.0 interface conditions: OK >>>> mmc0: SD probe: OK (OCR: 0x40ff8000) >>>> mmc0: Current OCR: 0x00ff8000 >>>> ugen1.1: at usbus1 >>>> uhub0: on usbu= s1 >>>> ugen0.1: at usbus0 >>>> uhub1: on usbu= s0 >>>> mmc0: Probing cards >>>> mmc0: New card detected (CID 035344534c3038478029cfee4e00f900) >>>> mmc0: New card detected (CSD 400e00325b5900003b377f800a404000) >>>> mmc0: Card at relative address 0xaaaa added: >>>> mmc0: card: SDHC SL08G 8.0 SN 29CFEE4E MFG 09/2015 by 3 SD >>>> mmc0: bus: 4bit, 50MHz, high speed timing >>>> mmc0: memory: 15523840 blocks, erase sector 8192 blocks >>>> mmc0: setting transfer rate to 39.750MHz (high speed timing) >>>> mmcsd0: 8GB at mmc0 3= 9.7MHz/4bit/8-block >>>> random: harvesting attach, 8 bytes (4 bits) from mmcsd0 >>>> mmc1: Probing bus >>>> GEOM: new disk mmcsd0 >>>> mmc0: setting bus width to 4 bits >>>> GEOM_PART: partition 1 on (mmcsd0, MBR) is not aligned on 4194304 byte= s >>>> GEOM_PART: partition 2 on (mmcsd0, MBR) is not aligned on 4194304 byte= s >>>> mmc1: SD probe: failed >>>> mmc1: MMC probe: failed >>>> mmc1: Current OCR: 0x00000000 >>>> mmc1: No compatible cards found on bus >>>> Release APs >>>> WARNING: WITNESS option enabled, expect reduced performance. >>>> Trying to mount root from ufs:mmcsd0s2 []... >>>> GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 by= tes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned= on 4194304 bytes >>>> warning: no time-of-day clock registered, system time will not be set = accurately >>>> start_init: trying /sbin/init >>>> uhub0: 1 port with 1 removable, self powered >>>> random: harvesting attach, 8 bytes (4 bits) from uhub0 >>>> uhub1: 1 port with 1 removable, self powered >>>> random: harvesting attach, 8 bytes (4 bits) from uhub1 >>>> ugen1.2: at usbus1 >>>> uhub2: o= n usbus1 >>>> uhub2: MTT enabled >>>> Growing root partition to fill device >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned= on 4194304 bytes >>>> mmcsd0s2 resized >>>> growfs: superblock not recognized >>>> /etc/rc: WARNING: hostid: unable to figure out a UUID from DMI data, g= enerating a new one >>>> uhub2: 4 ports with 4 removable, self powered >>>> random: harvesting attach, 8 bytes (4 bits) from uhub2 >>>> Setting hostuuid: 214610b1-f72e-11e5-8203-df073412266c. >>>> Setting hostid: 0x373425ad. >>>> No suitable dump device was found. >>>> Starting file system checks: >>>> /dev/mmcsd0s2: FILE SYSTEM CLEAN; SKIPPING CHECKS >>>> /dev/mmcsd0s2: clean, 36687 free (103 frags, 4573 blocks, 0.0% fragmen= tation) >>>> GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not aligned on 4194304 by= tes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) is not aligned o= n 4194304 bytes >>>> GEOM_PART: partition 1 on (diskid/DISK-29CFEE4Es2, BSD) is not aligned= on 4194304 bytes >>>> Mounting local file systems:. >>>> Setting hostname: freebsd. >>>> Setting up harvesting:[UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,= NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED >>>> Feeding entropy:random: unblocking device. >>>> . >>>> dwc0: link state changed to DOWN >>>> Starting Network: lo0 dwc0. >>>> lo0: flags=3D8049 metric 0 mtu 16384 >>>> options=3D600003 >>>> inet6 ::1 prefixlen 128 >>>> inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 >>>> inet 127.0.0.1 netmask 0xff000000 >>>> groups: lo >>>> nd6 options=3D21 >>>> dwc0: flags=3D8843 metric 0 mt= u 1500 >>>> options=3D80008 >>>> ether 62:73:64:5d:6a:ec >>>> media: Ethernet autoselect (none) >>>> status: no carrier >>>> nd6 options=3D29 >>>> ELF ldconfig path: /lib /usr/lib /usr/lib/compat >>>> Starting devd. >>>> add net fe80::: gateway ::1 >>>> add net ff02::: gateway ::1 >>>> add net ::ffff:0.0.0.0: gateway ::1 >>>> add net ::0.0.0.0: gateway ::1 >>>> Generating host.conf. >>>> Waiting 30s for the default route interface: .....(no carrier) >>>> Creating and/or trimming log files. >>>> Starting syslogd. >>>> Clearing /tmp (X related). >>>> Updating motd:. >>>> Mounting late file systems:. >>>> Configuring vt: blanktime. >>>> Generating RSA host key. >>>> 2048 SHA256:efid4fCpKZlmdi69b18qj+SNx2mSPQNr6ourB/w9tPw root@freebsd (= RSA) >>>> Generating ECDSA host key. >>>> 256 SHA256:bpBVM0B9a3xDhmy3bvoC4OuELAJ4fvJd+p3tNwgia6k root@freebsd (E= CDSA) >>>> Generating ED25519 host key. >>>> 256 SHA256:VHMKoDA1Zv50CmxiLJwTIvg58S2DuBg6zj2VFXDGq/M root@freebsd (E= D25519) >>>> Performing sanity check on sshd configuration. >>>> Could not load host key: /etc/ssh/ssh_host_dsa_key >>>> Starting sshd. >>>> Could not load host key: /etc/ssh/ssh_host_dsa_key >>>> Starting cron. >>>> Starting background file system checks in 60 seconds. >>>> lock order reversal: >>>> 1st 0xc4499814 ufs (ufs) @ /usr/home/emoe/Projects/ARM/src/sys/kern/vf= s_subr.c:2498 >>>> 2nd 0xd90169a0 bufwait (bufwait) @ /usr/home/emoe/Projects/ARM/src/sys= /ufs/ffs/ffs_vnops.c:263 >>>> 3rd 0xc45c15d4 ufs (ufs) @ /usr/home/emoe/Projects/ARM/src/sys/kern/vf= s_subr.c:2498 >>>> stack backtrace: >>>> mount: /dev/mmcsd0s2: Device busy >>>> >>>> Thu Mar 31 10:49:29 UTC 2016 >>>> >>>> FreeBSD/arm (freebsd) (ttyu0) >>>> >>>> login: >>>> >>>>> On Mar 30, 2016, at 7:47 PM, Erik Moe wrote: >>>>> >>>>> I was able to build a working odroid-c1 image not too long ago. Let = me pull the latest sources and see if something has changed. >>>>> >>>>> Erik >>>>> >>>>>> On Mar 30, 2016, at 2:24 AM, Daniel Braniss wr= ote: >>>>>> >>>>>> Hi, >>>>>> Managed to make a bootable SD, cross compile world/kernel, >>>>>> but the kernel startup gets stuck, I can=E2=80=99t even get into the= debugger. >>>>>> any help/hints most welcome :-) >>>>>> btw, I can also boot via the network, cutting down the debug cycle c= onsiderably. >>>>>> thanks, >>>>>> danny >>>>>> PS: here is the console output >>>>>> >>>>>> _______________________________________________ >>>>>> freebsd-arm@freebsd.org mailing list >>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.or= g" >>>>> _______________________________________________ >>>>> freebsd-arm@freebsd.org mailing list >>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>>>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org= " >>>> >>> >>> _______________________________________________ >>> freebsd-arm@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >>> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"