Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2016 07:29:23 -0500
From:      Erik Moe <e.moe@rcn.com>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-arm <freeBSD-arm@freebsd.org>
Subject:   Re: Odroidc1+  stuck booting
Message-ID:  <F5CCEBD7-0C43-415C-97E5-35BEC63BEDC6@rcn.com>
In-Reply-To: <CCC86C18-EE51-4A24-A9A1-4FDCBB28B198@cs.huji.ac.il>
References:  <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il> <982FE02C-7BEC-4CA0-BCAE-FE6CC5C9CFB4@rcn.com> <B39CD871-7BE5-44EA-816A-42A80E34D8A7@rcn.com> <EEAFAE63-3550-4862-924C-B8E7B68FC62E@cs.huji.ac.il> <CCC86C18-EE51-4A24-A9A1-4FDCBB28B198@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
Everything I=E2=80=99m doing I =E2=80=9Cborrowed=E2=80=9D from here:  =
https://wiki.freebsd.org/FreeBSD/arm/Odroid-C1

I=E2=80=99m 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:
>=20
> oh, and if you feel generous your ODROIDC1.conf =E2=80=A6
> thanks,
> 	danny
>=20
>> On 31 Mar 2016, at 09:31, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>>=20
>> 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
>>=20
>>> On 31 Mar 2016, at 09:11, Erik Moe <e.moe@rcn.com> wrote:
>>>=20
>>> I built a new image for my odriod-c1 for ssd from the latest sources =
and 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 =
difference between the two.  I am using the serial console.
>>>=20
>>> =
QA5:A;SVN:B72;POC:17F;STS:0;BOOT:0;INIT:10;BOOT:1;INIT:0;READ:0;CHECK:0;PA=
SS: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.
>>>=20
>>>=20
>>> U-boot(odroidc@) (Jun 12 2015 - 17:31:14)
>>>=20
>>> 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: =
OK
>>> 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
>>>=20
>>> 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
>>>=20
>>> 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/e=
moe/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: <full device, null device, zero device>
>>> openfirm: <Open Firmware control device>
>>> mem: <memory>
>>> nfslock: pseudo-device
>>> crypto: <crypto core>
>>> random: harvesting attach, 8 bytes (4 bits) from nexus0
>>> ofwbus0: <Open Firmware Device Tree>
>>> simplebus0: <Flattened device tree simple bus> on ofwbus0
>>> random: harvesting attach, 8 bytes (4 bits) from simplebus0
>>> random: harvesting attach, 8 bytes (4 bits) from ofwbus0
>>> clkmsr0: <Amlogic aml8726 clkmsr> mem 0xc1108758-0xc1108767 on =
simplebus0
>>> clkmsr0: bus clock 159 MHz
>>> random: harvesting attach, 8 bytes (4 bits) from clkmsr0
>>> l2cache0: <PL310 L2 cache controller> 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: <ARM Snoop Control Unit> mem 0xc4300000-0xc4300fff on =
simplebus0
>>> random: harvesting attach, 8 bytes (4 bits) from scu0
>>> cpuconfig0: <Amlogic CPU Config> mem 0xd901ff80-0xd901ff8f on =
simplebus0
>>> random: harvesting attach, 8 bytes (4 bits) from cpuconfig0
>>> ccm0: <Amlogic aml8726 ccm> mem 0xc1104140-0xc1104153 on simplebus0
>>> random: harvesting attach, 8 bytes (4 bits) from ccm0
>>> pinctrl0: <Amlogic aml8726 pinctrl> mem =
0xc11080b0-0xc11080d7,0xc11080e8-0xc11080ff,0xc1108120-0xc1108137,0xc81000=
14-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: <ARM Generic Interrupt Controller> mem =
0xc4301000-0xc4301fff,0xc4300100-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: <Amlogic aml8726 WDT> mem 0xc1109900-0xc1109907 irq 2 on =
simplebus0
>>> random: harvesting attach, 8 bytes (4 bits) from wdt0
>>> timer0: <Amlogic aml8726 timer> 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: <Amlogic aml8726 UART> 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: <Amlogic aml8726 UART> 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: <Amlogic aml8726 UART> 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: <Amlogic aml8726 UART> 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: <i2c@c8100500> mem 0xc8100500-0xc810051f irq 7 disabled =
compat amlogic,meson6-i2c (no driver attached)
>>> aml8726_iic0: <Amlogic aml8726 I2C> mem 0xc1108500-0xc110851f irq 8 =
on simplebus0
>>> iicbb0: <I2C bit-banging driver> on aml8726_iic0
>>> iicbus0: <Philips I2C bus> on iicbb0 master-only
>>> iic0: <I2C generic I/O> 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: <Amlogic aml8726 I2C> mem 0xc11087c0-0xc11087df irq 9 =
on simplebus0
>>> iicbb1: <I2C bit-banging driver> on aml8726_iic1
>>> iicbus1: <Philips I2C bus> on iicbb1 master-only
>>> iic1: <I2C generic I/O> 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: <ir-receiver@c8100480> mem 0xc8100480-0xc810049f irq 10 =
disabled compat amlogic,meson6-ir (no driver attached)
>>> simplebus0: <spi@c1108c80> mem 0xc1108c80-0xc1108cff disabled compat =
amlogic,meson6-spifc (no driver attached)
>>> simplebus0: <ethernet@c9410000> mem =
0xc9410000-0xc941ffff,0xc1108108-0xc110810b irq 11 disabled compat =
amlogic,meson6-dwmac (no driver attached)
>>> rtc0: <Amlogic aml8726 RTC> mem 0xc8100740-0xc8100753 irq 12 on =
simplebus0
>>> rtc0: crystal oscillator check failed
>>> device_attach: rtc0 attach returned 6
>>> gpio0: <Amlogic aml8726 GPIO> mem =
0xc8100024-0xc8100027,0xc8100024-0xc8100027,0xc8100028-0xc810002b on =
simplebus0
>>> gpiobus0: <OFW GPIO bus> on gpio0
>>> gpioled0: <GPIO led> at pin 13 on gpiobus0
>>> random: harvesting attach, 8 bytes (4 bits) from gpioled0
>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus0
>>> gpioc0: <GPIO controller> on gpio0
>>> random: harvesting attach, 8 bytes (4 bits) from gpioc0
>>> random: harvesting attach, 8 bytes (4 bits) from gpio0
>>> gpio1: <Amlogic aml8726 GPIO> mem =
0xc1108054-0xc1108057,0xc1108058-0xc110805b,0xc110805c-0xc110805f on =
simplebus0
>>> gpiobus1: <OFW GPIO bus> on gpio1
>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus1
>>> gpioc1: <GPIO controller> on gpio1
>>> random: harvesting attach, 8 bytes (4 bits) from gpioc1
>>> random: harvesting attach, 8 bytes (4 bits) from gpio1
>>> gpio2: <Amlogic aml8726 GPIO> mem =
0xc110806c-0xc110806f,0xc1108070-0xc1108073,0xc1108074-0xc1108077 on =
simplebus0
>>> gpiobus2: <OFW GPIO bus> on gpio2
>>> random: harvesting attach, 8 bytes (4 bits) from gpiobus2
>>> gpioc2: <GPIO controller> on gpio2
>>> random: harvesting attach, 8 bytes (4 bits) from gpioc2
>>> random: harvesting attach, 8 bytes (4 bits) from gpio2
>>> aml8726_mmc0: <Amlogic aml8726 MMC> mem 0xc1108c20-0xc1108c3f irq 13 =
on simplebus0
>>> mmc0: <MMC/SD bus> on aml8726_mmc0
>>> random: harvesting attach, 8 bytes (4 bits) from mmc0
>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_mmc0
>>> aml8726_sdxc0: <Amlogic aml8726-m8 SDXC> mem 0xc1108e00-0xc1108e3b =
irq 14 on simplebus0
>>> mmc1: <MMC/SD bus> on aml8726_sdxc0
>>> random: harvesting attach, 8 bytes (4 bits) from mmc1
>>> random: harvesting attach, 8 bytes (4 bits) from aml8726_sdxc0
>>> simplebus0: <rng@c1108100> mem 0xc1108100-0xc1108107 compat =
amlogic,aml8726-rng (no driver attached)
>>> usbphy0: <Amlogic aml8726-m8 USB PHY> mem 0xc1108800-0xc110881f on =
simplebus0
>>> random: harvesting attach, 8 bytes (4 bits) from usbphy0
>>> usbphy1: <Amlogic aml8726-m8 USB PHY> mem 0xc1108820-0xc110883f on =
simplebus0
>>> random: harvesting attach, 8 bytes (4 bits) from usbphy1
>>> dwcotg0: <DWC OTG 2.0 integrated USB controller> 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: <DWC OTG 2.0 integrated USB controller> 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: <Amlogic Meson Gigabit Ethernet Controller> mem =
0xc9410000-0xc9411fff irq 11 on simplebus0
>>> miibus0: <MII bus> on dwc0
>>> rgephy0: <RTL8169S/8110S/8211 1000BASE-T media 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: <RTL8169S/8110S/8211 1000BASE-T media 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: <Amlogic aml8726 FB> 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: <Open Firmware CPU Group> on ofwbus0
>>> cpu0: <Open Firmware CPU> on cpulist0
>>> cpu0: missing 'clock-frequency' property
>>> random: harvesting attach, 8 bytes (4 bits) from cpu0
>>> cpu1: <Open Firmware CPU> on cpulist0
>>> cpu1: missing 'clock-frequency' property
>>> random: harvesting attach, 8 bytes (4 bits) from cpu1
>>> cpu2: <Open Firmware CPU> on cpulist0
>>> cpu2: missing 'clock-frequency' property
>>> random: harvesting attach, 8 bytes (4 bits) from cpu2
>>> cpu3: <Open Firmware CPU> 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: <clk@0> compat fixed-clock (no driver attached)
>>> ofwbus0: <leds> compat gpio-leds (no driver attached)
>>> cryptosoft0: <software crypto>
>>> 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: <DWCOTG> at usbus1
>>> uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on =
usbus1
>>> ugen0.1: <DWCOTG> at usbus0
>>> uhub1: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, 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 <SDHC SL08G 8.0 SN 29CFEE4E MFG 09/2015 by 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: <vendor 0x05e3> at usbus1
>>> uhub2: <vendor 0x05e3 USB2.0 Hub, class 9/0, rev 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_TUN,MOUSE,K=
EYBOARD,ATTACH,CACHED
>>> Feeding entropy:random: unblocking device.
>>> .
>>> dwc0: link state changed to DOWN
>>> Starting Network: lo0 dwc0.
>>> lo0: flags=3D8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
>>>      options=3D600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
>>>      inet6 ::1 prefixlen 128
>>>      inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
>>>      inet 127.0.0.1 netmask 0xff000000
>>>      groups: lo
>>>      nd6 options=3D21<PERFORMNUD,AUTO_LINKLOCAL>
>>> dwc0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 =
mtu 1500
>>>      options=3D80008<VLAN_MTU,LINKSTATE>
>>>      ether 62:73:64:5d:6a:ec
>>>      media: Ethernet autoselect (none)
>>>      status: no carrier
>>>      nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
>>> 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 =
(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: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/vfs_subr.c:2498
>>> stack backtrace:
>>> mount: /dev/mmcsd0s2: Device busy
>>>=20
>>> Thu Mar 31 10:49:29 UTC 2016
>>>=20
>>> FreeBSD/arm (freebsd) (ttyu0)
>>>=20
>>> login:
>>>=20
>>>> On Mar 30, 2016, at 7:47 PM, Erik Moe <e.moe@rcn.com> wrote:
>>>>=20
>>>> 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.
>>>>=20
>>>> Erik=20
>>>>=20
>>>>> On Mar 30, 2016, at 2:24 AM, Daniel Braniss <danny@cs.huji.ac.il> =
wrote:
>>>>>=20
>>>>> 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 =
considerably.
>>>>> thanks,
>>>>> danny
>>>>> PS: here is the console output
>>>>> <s1>
>>>>> _______________________________________________
>>>>> 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"
>>>=20
>>=20
>> _______________________________________________
>> 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"
>=20




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F5CCEBD7-0C43-415C-97E5-35BEC63BEDC6>