From owner-freebsd-arm@freebsd.org Sun Apr 10 13:28: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 282EBB0A684 for ; Sun, 10 Apr 2016 13:28:30 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from erouter6.ore.mailhop.org (erouter6.ore.mailhop.org [54.187.213.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F32091C24 for ; Sun, 10 Apr 2016 13:28:29 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: f6761d44-ff1f-11e5-827e-7d17a39bef25 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.34.117.227 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.34.117.227]) by outbound3.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Sun, 10 Apr 2016 13:27:24 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.14.9) with ESMTP id u3ADSPXJ011504; Sun, 10 Apr 2016 07:28:25 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1460294905.52955.4.camel@freebsd.org> Subject: Re: Odroidc1+ stuck booting From: Ian Lepore To: Daniel Braniss , =?ISO-8859-1?Q?=22Wei=DF=2C?= "Dr." =?ISO-8859-1?Q?J=FCrgen=22?= Cc: freebsd-arm Date: Sun, 10 Apr 2016 07:28:25 -0600 In-Reply-To: <4FABD8D2-CB5F-4220-A6F8-1707DF08E215@cs.huji.ac.il> References: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> <77D2CAED-B44A-4602-8C70-C3DD0A8D089C@cs.huji.ac.il> <6FF9B11B-1F63-49FC-8195-58B4B963F204@rcn.com> <4FABD8D2-CB5F-4220-A6F8-1707DF08E215@cs.huji.ac.il> Content-Type: text/plain; charset="iso-2022-jp" X-Mailer: Evolution 3.16.5 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit 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: Sun, 10 Apr 2016 13:28:30 -0000 On Sun, 2016-04-10 at 11:59 +0300, Daniel Braniss wrote: > Hi > > > On 9 Apr 2016, at 22:52, Wei, Dr. Jrgen > > wrote: > > > > Hi, > > > > I have a C1+ and just booted a FreeBSD current kernel not older > > than > > a week without problems. > > > > fatload mmc 0:1 0x21000000 kernel.bin > > go 0x21000000 > > > > my kernel loads at a different address! > btw, what kernconf are you using? I had to comment out the random > stuff, since it was giving compiler errors. > FYI, It doesn't really matter what address your kernel loads at these days, except that it must be on a 2MB boundary (and it must not conflict with any memory u-boot itself is using). The kernel has been self-relocating for quite a while now (more than a year). -- Ian > > Maybe you could try a different sd card, as it seems to get stuck > > at > > a time when it is probing the sd cards. > > it’s booting from it, and i have tried several cards, BTW, it > also gives the same error when booting from the net. > my guts make me think it’s in the *dtb stuff. which is loaded into > the kernel and not read of the sd card. > > thanks, > danny > > > > Regards > > > > Juergen > > > > > > > > > -----Original Message----- > > > From: owner-freebsd-arm@freebsd.org [mailto: > > > owner-freebsd-arm@freebsd.org] On Behalf Of > > > Erik Moe > > > Sent: Tuesday, April 05, 2016 10:53 PM > > > To: Daniel Braniss > > > Cc: freebsd-arm > > > Subject: Re: Odroidc1+ stuck booting > > > > > > That’s correct I have a C1, not a C1+. > > > > > > Erik > > > > > > > On Apr 4, 2016, at 6:02 AM, Daniel Braniss > > > > wrote: > > > > > > > > I assume you have a C1 not a C1+, because I’m doing the same, > > > > and no luck. I know that the board is ok because It boots and > > > > runs Daisuke-san’s image. > > > > danny > > > > > > > > > On 31 Mar 2016, at 15:29, Erik Moe wrote: > > > > > > > > > > Everything I’m doing I “borrowed” from here: > > > https://wiki.freebsd.org/FreeBSD/arm/Odroid-C1 > > > > > > > > > > I’m using the stock ODROIDC1 kernel config in head which > > > > > builds the FTD statically into > > > the kernel from src/sys/boot/fdt/dts/arm/odroidc1.dts. I > > > liberated u-boot from > > > ArchLinuxARM-odroid-c1-latest.tar.gz. My boot.ini is simply > > > this: > > > > > > > > > > ODROIDC-UBOOT-CONFIG > > > > > > > > > > setenv bootcmd "fatload mmc 0 0x100000 kernel.bin; go > > > > > 0x100000" > > > > > run bootcmd > > > > > > > > > > Erik > > > > > > > > > > > On Mar 31, 2016, at 1:36 AM, Daniel Braniss < > > > > > > danny@cs.huji.ac.il> wrote: > > > > > > > > > > > > oh, and if you feel generous your ODROIDC1.conf … > > > > > > thanks, > > > > > > danny > > > > > > > > > > > > > On 31 Mar 2016, at 09:31, Daniel Braniss < > > > > > > > danny@cs.huji.ac.il> wrote: > > > > > > > > > > > > > > hi Erik, > > > > > > > can you send me your > > > > > > > uboot > > > > > > > boot.ini > > > > > > > *.dtb > > > > > > > I’m 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 and had no > > > issues and didn’t need to tweet anything. I don’t have and > > > odriod-c1+, but my > > > understanding is there isn’t much difference 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 = 3 > > > > > > > > set vpu clk: 182150000Hz, readback: 182150000Hz(0x701) > > > > > > > > mode = 6 vic = 4 > > > > > > > > set HDMI vic: 4 > > > > > > > > mode is: 6 > > > > > > > > viu chan = 1 > > > > > > > > config HPLL > > > > > > > > config HPLL done > > > > > > > > reconfig packet setting done > > > > > > > > MMC read: dev # 0, block # 33984, count 12288 ... 12288 > > > > > > > > blocks read: OK > > > > > > > > There is no valid bmp file at the given address > > > > > > > > ======================================================= > > > > > > > > ===== > > > > > > > > Vendor: Man 035344 Snr 29cfee4e Rev: 8.0 Prod: SL08G > > > > > > > > Type: Removable Hard Disk > > > > > > > > Capacity: 7580.0 MB = 7.4 GB (15523840 x 512) > > > > > > > > ------------------------------------------------------- > > > > > > > > ----- > > > > > > > > Partition Start Sector Num Sectors Type > > > > > > > > 1 1134 131040 6 > > > > > > > > 2 132174 15391666 a5 > > > > > > > > ======================================================= > > > > > > > > ===== > > > > > > > > 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, 1994 > > > > > > > > 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/home/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 = 1073737728 (1023 MB) > > > > > > > > avail memory = 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 simplebus0 > > > > > > > > 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 simplebus0 > > > > > > > > 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,0xc11080e8- > > > 0xc11080ff,0xc1108120-0xc1108137,0xc8100014-0xc8100017,0xc810002c > > > -0xc810002f,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,0xc4300100- > > > 0xc43001ff on ofwbus0 > > > > > > > > ofwbus0: no default resources for rid = 0, type = 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 simplebus0 > > > > > > > > random: harvesting attach, 8 bytes (4 bits) from wdt0 > > > > > > > > timer0: mem 0xc1109940 > > > > > > > > -0xc1109957 irq 1 on ofwbus0 > > > > > > > > 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 simplebus0 > > > > > > > > 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 simplebus0 > > > > > > > > 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 simplebus0 > > > > > > > > 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 simplebus0 > > > > > > > > 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 compat > > > 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 disabled compat > > > amlogic,meson6-ir (no driver attached) > > > > > > > > simplebus0: mem 0xc1108c80-0xc1108cff > > > > > > > > disabled compat amlogic,meson6- > > > spifc (no driver attached) > > > > > > > > simplebus0: mem 0xc9410000 > > > > > > > > -0xc941ffff,0xc1108108-0xc110810b irq > > > 11 disabled compat amlogic,meson6-dwmac (no driver attached) > > > > > > > > rtc0: mem 0xc8100740-0xc8100753 > > > > > > > > irq 12 on simplebus0 > > > > > > > > rtc0: crystal oscillator check failed > > > > > > > > device_attach: rtc0 attach returned 6 > > > > > > > > gpio0: mem 0xc8100024 > > > > > > > > -0xc8100027,0xc8100024- > > > 0xc8100027,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- > > > 0xc110805b,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- > > > 0xc1108073,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 on 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,aml8726-rng (no > > > driver attached) > > > > > > > > usbphy0: mem 0xc1108800 > > > > > > > > -0xc110881f on simplebus0 > > > > > > > > random: harvesting attach, 8 bytes (4 bits) from > > > > > > > > usbphy0 > > > > > > > > usbphy1: mem 0xc1108820 > > > > > > > > -0xc110883f on simplebus0 > > > > > > > > random: harvesting attach, 8 bytes (4 bits) from > > > > > > > > usbphy1 > > > > > > > > dwcotg0: mem > > > > > > > > 0xc9040000-0xc907ffff 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-0xc90fffff 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-0xc9411fff irq 11 > > > on simplebus0 > > > > > > > > miibus0: on dwc0 > > > > > > > > rgephy0: > > > > > > > interface> PHY 0 on miibus0 > > > > > > > > rgephy0: OUI 0x00e04c, model 0x0011, rev. 6 > > > > > > > > rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, > > > > > > > > 100baseTX-FDX, 1000baseT-FDX, > > > 1000baseT-FDX-master, auto > > > > > > > > random: harvesting attach, 8 bytes (4 bits) from > > > > > > > > rgephy0 > > > > > > > > rgephy1: > > > > > > > interface> PHY 1 on miibus0 > > > > > > > > rgephy1: OUI 0x00e04c, model 0x0011, rev. 6 > > > > > > > > rgephy1: none, 10baseT, 10baseT-FDX, 100baseTX, > > > > > > > > 100baseTX-FDX, 1000baseT-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- > > > 0xc1106bff,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: > > > > > > > addr 1> on usbus1 > > > > > > > > ugen0.1: at usbus0 > > > > > > > > uhub1: > > > > > > > addr 1> on usbus0 > > > > > > > > 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 > > > > > > > 3 SD> at mmc0 39.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 bytes > > > > > > > > GEOM_PART: partition 2 on (mmcsd0, MBR) is not aligned > > > > > > > > on 4194304 bytes > > > > > > > > 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 bytes > > > > > > > > GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) > > > > > > > > is not aligned on 4194304 > > > bytes > > > > > > > > GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) > > > > > > > > is not aligned on 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: > > > > > > > 2.00/32.98, addr 2> on usbus1 > > > > > > > > uhub2: MTT enabled > > > > > > > > Growing root partition to fill device > > > > > > > > GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) > > > > > > > > is not aligned on 4194304 > > > bytes > > > > > > > > GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) > > > > > > > > is not aligned on 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, generating 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% fragmentation) > > > > > > > > GEOM_PART: partition 1 on (mmcsd0s2, BSD) is not > > > > > > > > aligned on 4194304 bytes > > > > > > > > GEOM_PART: partition 1 on (diskid/DISK-29CFEE4E, MBR) > > > > > > > > is not aligned on 4194304 > > > bytes > > > > > > > > GEOM_PART: partition 2 on (diskid/DISK-29CFEE4E, MBR) > > > > > > > > is not aligned on 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_TU > > > N,MOUSE,KEYBOARD,ATTACH,C > > > ACHED > > > > > > > > Feeding entropy:random: unblocking device. > > > > > > > > . > > > > > > > > dwc0: link state changed to DOWN > > > > > > > > Starting Network: lo0 dwc0. > > > > > > > > lo0: flags=8049 metric 0 > > > > > > > > mtu 16384 > > > > > > > > options=600003 > > > > > > > > inet6 ::1 prefixlen 128 > > > > > > > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 > > > > > > > > inet 127.0.0.1 netmask 0xff000000 > > > > > > > > groups: lo > > > > > > > > nd6 options=21 > > > > > > > > dwc0: > > > > > > > > flags=8843 > > > > > > > > metric 0 mtu 1500 > > > > > > > > options=80008 > > > > > > > > ether 62:73:64:5d:6a:ec > > > > > > > > media: Ethernet autoselect (none) > > > > > > > > status: no carrier > > > > > > > > nd6 options=29 > > > > > > > > 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/w9tPwroot@freebsd (RSA) > > > > > > > > Generating ECDSA host key. > > > > > > > > 256 SHA256:bpBVM0B9a3xDhmy3bvoC4OuELAJ4fvJd+p3tNwgia6k > > > > > > > > root@freebsd (ECDSA) > > > > > > > > Generating ED25519 host key. > > > > > > > > 256 SHA256:VHMKoDA1Zv50CmxiLJwTIvg58S2DuBg6zj2VFXDGq/M > > > > > > > > root@freebsd (ED25519) > > > > > > > > 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/vfs_subr.c:249 > > > > > > > > 8 > > > > > > > > 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/vfs_subr.c:249 > > > > > > > > 8 > > > > > > > > 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 < > > > > > > > > > > danny@cs.huji.ac.il> wrote: > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > Managed to make a bootable SD, cross compile > > > > > > > > > > world/kernel, > > > > > > > > > > but the kernel startup gets stuck, I can’t even get > > > > > > > > > > into the debugger. > > > > > > > > > > any help/hints most welcome :-) > > > > > > > > > > btw, I can also boot via the network, cutting down > > > > > > > > > > the debug cycle considerably. > > > > > > > > > > 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.org" > > > > > > > > > _______________________________________________ > > > > > > > > > freebsd-arm@freebsd.org mailing list > > > > > > > > > https://lists.freebsd.org/mailman/listinfo/freebsd-ar > > > > > > > > > m > > > > > > > > > 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" > > _______________________________________________ > 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 > " >