Date: Wed, 30 Mar 2016 10:24:03 +0300 From: Daniel Braniss <danny@cs.huji.ac.il> To: freebsd-arm <freeBSD-arm@freebsd.org> Subject: Odroidc1+ stuck booting Message-ID: <687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6@cs.huji.ac.il>
next in thread | raw e-mail | index | archive | help
--Apple-Mail=_1F105C16-4745-478B-87CA-DAFF13EDB4DF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 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 --Apple-Mail=_1F105C16-4745-478B-87CA-DAFF13EDB4DF Content-Disposition: attachment; filename=s1 Content-Type: application/octet-stream; name="s1" Content-Transfer-Encoding: 7bit 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 : HKC1310001 S/N : HKC11122F37E041A 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 035054 Snr da311585 Rev: 3.0 Prod: SS08G Type: Removable Hard Disk Capacity: 7388.0 MB = 7.2 GB (15130624 x 512) ------------------------------------------------------------ Partition Start Sector Num Sectors Type 1 1134 131040 6 2 132174 1964970 a5 ============================================================ Net: Meson_Ethernet init suspend firmware done. (ret:0) Hit Enter key to stop autoboot -- : 0 exit abortboot: 0 reading boot.ini 2560 bytes read Loading boot.ini from mmc0:1 (vfat) Executing the script... setenv m "1080p" # 1080P 1920x1080 setenv vout_mode "hdmi" setenv m_bpp "32" setenv disableuhs "disableuhs" setenv vpu "1" setenv hdmioutput "1" setenv bootargs "console=ttyS0,115200n8 root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait ro no_console_suspend vdaccfg=0xa000 logo=osd1,loaded,0x7900000,720p,full dmfc=3 cvbsmode=576cvbs hdmimode=${m} m_bpp=${m_bpp} vout=${vout_mode} ${disableuhs}" ethrst Success: reset mac OK!(0) ETH PHY hardware reset OK find net phy id=0x1cc916, phyad=0 set_mac_mode(0) final_addr[rx-tx]: 0xee100fb0-0xe2000003 Ethernet reset OK video open; video clear; video dev open 720p mode = 6 vic = 4 set HDMI vic: 4 mode is: 6 viu chan = 1 config HPLL config HPLL done reconfig packet setting done logo size 720p bmp scale setenv loaderdev mmc0:3 fatload mmc 0:1 0x21000000 ubldr reading ubldr 262654 bytes read fatload mmc 0:1 0x21800000 odroidc1.dtb reading odroidc1.dtb 10862 bytes read fdt addr 21800000 fdt set / board_serial ${fbt_id#} fdt set /mesonfb fb_width 1280 fdt set /mesonfb fb_height 720 fdt set /mesonfb fb_bpp 24 video dev open 480p mode = 2 vic = 3 set HDMI vic: 3 mode is: 2 viu chan = 1 config HPLL config HPLL done reconfig packet setting done fatload mmc 0 0x1000000 kernel.bin reading kernel.bin 4486116 bytes read go 0x1000000 ## Starting application at 0x01000000 ... 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 #1 r297292M: Mon Mar 28 12:37:04 IDT 2016 danny@rnd:/home/obj/rnd/armv6/odroid/arm.armv6/r+d/vanilla/11/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 0xc063e500. 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 = 1039278080 (991 MB) Physical memory chunk(s): 0x00001000 - 0x3fffffff, 1023 MB ( 262143 pages) Excluded memory regions: 0x01000000 - 0x01653fff, 6 MB ( 1620 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 null: <full device, null device, zero device> openfirm: <Open Firmware control device> mem: <memory> 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 scu0: <ARM Snoop Control Unit> mem 0x4300000-0x4300fff on simplebus0 random: harvesting attach, 8 bytes (4 bits) from scu0 cpuconfig0: <Amlogic CPU Config> mem 0x1901ff80-0x1901ff8f on simplebus0 random: harvesting attach, 8 bytes (4 bits) from cpuconfig0 l2cache0: <PL310 L2 cache controller> mem 0x4200000-0x4200fff irq 0 on simplebus0 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 ccm0: <Amlogic aml8726 ccm> mem 0x1104140-0x1104153 on simplebus0 random: harvesting attach, 8 bytes (4 bits) from ccm0 pinctrl0: <Amlogic aml8726 pinctrl> mem 0x11080b0-0x11080d7,0x11080e8-0x11080ff,0x1108120-0x1108137,0x8100014-0x8100017,0x810002c-0x810002f,0x810002c-0x810002f on simplebus0 Processing 3 pin-config node(s) in pinctrl-0 for pinctrl@11080b0 Processing 1 pin-config node(s) in pinctrl-0 for mmc@1108c20 Processing 1 pin-config node(s) in pinctrl-0 for sdxc@1108e00 random: harvesting attach, 8 bytes (4 bits) from pinctrl0 gic0: <ARM Generic Interrupt Controller> mem 0x4301000-0x4301fff,0x4300100-0x43001ff on simplebus0 simplebus0: 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: <Amlogic aml8726 WDT> mem 0x1109900-0x1109907 irq 1 on simplebus0 random: harvesting attach, 8 bytes (4 bits) from wdt0 timer0: <Amlogic aml8726 timer> mem 0x1109940-0x1109957 irq 2,3,4,5 on simplebus0 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 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 rtc0: <Amlogic aml8726 RTC> mem 0x8100740-0x8100753 irq 6 on simplebus0 rtc0: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s) random: harvesting attach, 8 bytes (4 bits) from rtc0 clkmsr0: <Amlogic aml8726 clkmsr> mem 0x1108758-0x1108767 on simplebus0 clkmsr0: bus clock 159 MHz random: harvesting attach, 8 bytes (4 bits) from clkmsr0 uart0: <Amlogic aml8726 UART> mem 0x81004c0-0x81004d3 irq 7 on simplebus0 uart0: missing clock attribute in FDT device_attach: uart0 attach returned 6 gpio0: <Amlogic aml8726 GPIO> mem 0x8100024-0x8100027,0x8100024-0x8100027,0x8100028-0x810002b 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 0x1108054-0x1108057,0x1108058-0x110805b,0x110805c-0x110805f 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 0x110806c-0x110806f,0x1108070-0x1108073,0x1108074-0x1108077 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 0x1108c20-0x1108c3f irq 8 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 0x1108e00-0x1108e3b irq 9 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@1108100> mem 0x1108100-0x1108107 compat amlogic,aml8726-rng (no driver attached) aml8726_iic0: <Amlogic aml8726 I2C> mem 0x1108500-0x110851f irq 10 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 0x11087c0-0x11087df irq 11 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 uart0: <Amlogic aml8726 UART> mem 0x11084c0-0x11084d3 irq 12 on simplebus0 uart0: missing clock attribute in FDT device_attach: uart0 attach returned 6 uart0: <Amlogic aml8726 UART> mem 0x11084dc-0x11084ef irq 13 on simplebus0 uart0: missing clock attribute in FDT device_attach: uart0 attach returned 6 uart0: <Amlogic aml8726 UART> mem 0x1108700-0x1108713 irq 14 on simplebus0 uart0: missing clock attribute in FDT device_attach: uart0 attach returned 6 usbphy0: <Amlogic aml8726-m8 USB PHY> mem 0x1108800-0x110881f on simplebus0 random: harvesting attach, 8 bytes (4 bits) from usbphy0 usbphy1: <Amlogic aml8726-m8 USB PHY> mem 0x1108820-0x110883f on simplebus0 random: harvesting attach, 8 bytes (4 bits) from usbphy1 dwcotg0: <DWC OTG 2.0 integrated USB controller> mem 0x9040000-0x907ffff 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 0x90c0000-0x90fffff 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: <Gigabit Ethernet Controller> mem 0x9410000-0x9411fff irq 17 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:9a:63:5f random: harvesting attach, 8 bytes (4 bits) from dwc0 fb0: <Amlogic aml8726 FB> mem 0x8006048-0x8006053,0x1106800-0x1106bff,0x1107400-0x11077ff irq 18,19,20,21 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 ofwbus0: <leds> compat gpio-leds (no driver attached) procfs registered Timecounters tick every 10.000 msec tcp_init: net.inet.tcp.tcbhashsize auto tuned to 8192 lo0: bpf attached mmc0: Probing bus usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 **** and now it hungs **** --Apple-Mail=_1F105C16-4745-478B-87CA-DAFF13EDB4DF--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?687E2129-BE66-4CC9-9B30-D8DFB7A2FEF6>