RPi3 doesn't boot r320947

Michael Tuexen tuexen at freebsd.org
Thu Jul 13 20:21:04 UTC 2017


> On 13. Jul 2017, at 21:41, Michael Tuexen <tuexen at freebsd.org> wrote:
> 
> Dear all,
> 
> I installed
> https://download.freebsd.org/ftp/snapshots/arm64/aarch64/ISO-IMAGES/12.0/FreeBSD-12.0-CURRENT-arm64-aarch64-RPI3-20170710-r320869.img.xz
> on an SD card without any problems, built several packages and finally compiled a GENERIC-NODEBUG
> head kernel of today on the RPi3.
> 
> After installing it, it doesn't boot.
Some more information:

1. When powering up the RPi3, typing nothing at the console,
   it doesn't boot. See my description.
2. When powering up, typing ? followed by typing boot-conf,
   it boots fine.

Best regards
Michael
> 
> On the serial console I get:
> 
> Using DTB provided by EFI at 0x8004000.
> KDB: debugger backends: ddb
> KDB: current backend: ddb
> Copyright (c) 1992-2017 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 12.0-CURRENT #0 r320947: Thu Jul 13 18:35:01 CEST 2017
>    tuexen at generic:/home/tuexen/head/sys/arm64/compile/GENERIC-NODEBUG arm64
> FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
> VT: init without driver.
> Starting CPU 1 (1)
> Starting CPU 2 (2)
> Starting CPU 3 (3)
> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
> random: unblocking device.
> random: entropy device external interface
> kbd0 at kbdmux0
> ofwbus0: <Open Firmware Device Tree>
> simplebus0: <Flattened device tree simple bus> on ofwbus0
> ofw_clkbus0: <OFW clocks bus> on ofwbus0
> clk_fixed0: <Fixed clock> on ofw_clkbus0
> clk_fixed1: <Fixed clock> on ofw_clkbus0
> regfix0: <Fixed Regulator> on ofwbus0
> regfix1: <Fixed Regulator> on ofwbus0
> psci0: <ARM Power State Co-ordination Interface Driver> on ofwbus0
> local_intc0: <BCM2836 Interrupt Controller> mem 0x40000000-0x400000ff on simplebus0
> intc0: <BCM2835 Interrupt Controller> mem 0x7e00b200-0x7e00b3ff irq 16 on simplebus0
> generic_timer0: <ARMv7 Generic Timer> irq 47,48,49,50 on simplebus0
> Timecounter "ARM MPCore Timecounter" frequency 19200000 Hz quality 1000
> Event timer "ARM MPCore Eventtimer" frequency 19200000 Hz quality 1000
> bcm_dma0: <BCM2835 DMA Controller> mem 0x7e007000-0x7e007eff irq 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15 on simplebus0
> bcmwd0: <BCM2708/2835 Watchdog> mem 0x7e100000-0x7e100027 on simplebus0
> mbox0: <BCM2835 VideoCore Mailbox> mem 0x7e00b880-0x7e00b8bf irq 17 on simplebus0
> gpio0: <BCM2708/2835 GPIO controller> mem 0x7e200000-0x7e2000b3 irq 18,19 on simplebus0
> gpiobus0: <OFW GPIO bus> on gpio0
> gpioc0: <GPIO controller> on gpio0
> uart0: <PrimeCell UART (PL011)> mem 0x7e201000-0x7e201fff irq 20 on simplebus0
> uart0: console (115200,n,8,1)
> spi0: <BCM2708/2835 SPI controller> mem 0x7e204000-0x7e204fff irq 21 on simplebus0
> spibus0: <OFW SPI bus> on spi0
> spibus0: <unknown card> at cs 0 mode 0
> spibus0: <unknown card> at cs 1 mode 0
> iichb0: <BCM2708/2835 BSC controller> mem 0x7e804000-0x7e804fff irq 32 on simplebus0
> iicbus0: <OFW I2C bus> on iichb0
> iic0: <I2C generic I/O> on iicbus0
> bcm283x_dwcotg0: <DWC OTG 2.0 integrated USB controller (bcm283x)> mem 0x7e980000-0x7e98ffff,0x7e006000-0x7e006fff irq 38,39 on simplebus0
> usbus0 on bcm283x_dwcotg0
> sdhci_bcm0: <Broadcom 2708 SDHCI controller> mem 0x7e300000-0x7e3000ff irq 42 on simplebus0
> mmc0: <MMC/SD bus> on sdhci_bcm0
> fb0: <BCM2835 VT framebuffer driver> on simplebus0
> fbd0 on fb0
> VT: initialize with new VT driver "fb".
> fb0: 656x416(656x416 at 0,0) 24bpp
> fb0: fbswap: 1, pitch 1968, base 0x3db33000, screen_size 818688
> pmu0: <Performance Monitoring Unit> irq 46 on simplebus0
> gpioled0: <GPIO LEDs> on ofwbus0
> gpioled0: <led0> failed to map pin
> gpioled0: <led1> failed to map pin
> cpulist0: <Open Firmware CPU Group> on ofwbus0
> cpu0: <Open Firmware CPU> on cpulist0
> cpu1: <Open Firmware CPU> on cpulist0
> cpu2: <Open Firmware CPU> on cpulist0
> cpu3: <Open Firmware CPU> on cpulist0
> cryptosoft0: <software crypto>
> Timecounters tick every 1.000 msec
> usbus0: 480Mbps High Speed USB v2.0
> ugen0.1: <DWCOTG OTG Root HUB> at usbus0
> uhub0: <DWCOTG OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
> mmcsd0: 64GB <SDHC SC64G 8.0 SN ECB540FD MFG 11/2016 by 3 SD> at mmc0 41.6MHz/4bit/65535-block
> Release APs
> APs not started
>  x0: ffff000000a1bb80
>  x1: fffffd0[ thread pid 0 tid 100064 ]
> Stopped at      kdb_enter+0x40: undefined       d4200000
> db> bt
> Tracing pid 0 tid 100064 td 0xfffffd0001532a80
> db_trace_self() at db_stack_trace+0xec
>         pc = 0xffff000000613920  lr = 0xffff0000000852c0
>         sp = 0xffff0000531c6310  fp = 0xffff0000531c6340
> 
> db_stack_trace() at db_command+0x224
>         pc = 0xffff0000000852c0  lr = 0xffff000000084f44
>         sp = 0xffff0000531c6350  fp = 0xffff0000531c6430
> 
> db_command() at db_command_loop+0x60
>         pc = 0xffff000000084f44  lr = 0xffff000000084d04
>         sp = 0xffff0000531c6440  fp = 0xffff0000531c6460
> 
> db_command_loop() at db_trap+0xf4
>         pc = 0xffff000000084d04  lr = 0xffff000000087dec
>         sp = 0xffff0000531c6470  fp = 0xffff0000531c6690
> 
> db_trap() at kdb_trap+0x180
>         pc = 0xffff000000087dec  lr = 0xffff0000003687fc
>         sp = 0xffff0000531c66a0  fp = 0xffff0000531c6700
> 
> kdb_trap() at handle_el1h_sync+0x74
>         pc = 0xffff0000003687fc  lr = 0xffff000000615874
>         sp = 0xffff0000531c6710  fp = 0xffff0000531c6820
> 
> handle_el1h_sync() at kdb_enter+0x34
>         pc = 0xffff000000615874  lr = 0xffff000000367f38
>         sp = 0xffff0000531c6830  fp = 0xffff0000531c68c0
> 
> kdb_enter() at vpanic+0x1a0
>         pc = 0xffff000000367f38  lr = 0xffff0000003261f8
>         sp = 0xffff0000531c68d0  fp = 0xffff0000531c6950
> 
> vpanic() at panic+0x48
>         pc = 0xffff0000003261f8  lr = 0xffff000000326054
>         sp = 0xffff0000531c6960  fp = 0xffff0000531c69e0
> 
> panic() at data_abort+0x21c
>         pc = 0xffff000000326054  lr = 0xffff000000629d10
>         sp = 0xffff0000531c69f0  fp = 0xffff0000531c6aa0
> 
> data_abort() at handle_el1h_sync+0x74
>         pc = 0xffff000000629d10  lr = 0xffff000000615874
>         sp = 0xffff0000531c6ab0  fp = 0xffff0000531c6bc0
> 
> handle_el1h_sync() at thread_lock_flags_+0x1a8
>         pc = 0xffff000000615874  lr = 0xffff0000003086c8
>         sp = 0xffff0000531c6bd0  fp = 0xffff0000531c6cc0
> 
> thread_lock_flags_() at statclock_cnt+0x11c
>         pc = 0xffff0000003086c8  lr = 0xffff0000002c49e0
>         sp = 0xffff0000531c6cd0  fp = 0xffff0000531c6cf0
> 
> statclock_cnt() at handleevents+0x108
>         pc = 0xffff0000002c49e0  lr = 0xffff00000064b08c
>         sp = 0xffff0000531c6d00  fp = 0xffff0000531c6d40
> 
> handleevents() at timercb+0xe0
>         pc = 0xffff00000064b08c  lr = 0xffff00000064b828
>         sp = 0xffff0000531c6d50  fp = 0xffff0000531c6dc0
> 
> timercb() at arm_tmr_intr+0x5c
>         pc = 0xffff00000064b828  lr = 0xffff000000601708
>         sp = 0xffff0000531c6dd0  fp = 0xffff0000531c6dd0
> 
> arm_tmr_intr() at intr_event_handle+0x64
>         pc = 0xffff000000601708  lr = 0xffff0000002ed200
>         sp = 0xffff0000531c6de0  fp = 0xffff0000531c6e10
> 
> intr_event_handle() at intr_isrc_dispatch+0x50
>         pc = 0xffff0000002ed200  lr = 0xffff00000064dbfc
>         sp = 0xffff0000531c6e20  fp = 0xffff0000531c6e30
> 
> intr_isrc_dispatch() at bcm_lintc_intr+0x190
>         pc = 0xffff00000064dbfc  lr = 0xffff00000061097c
>         sp = 0xffff0000531c6e40  fp = 0xffff0000531c6ec0
> 
> bcm_lintc_intr() at intr_irq_handler+0x60
>         pc = 0xffff00000061097c  lr = 0xffff00000064d9c8
>         sp = 0xffff0000531c6ed0  fp = 0xffff0000531c6ef0
> 
> intr_irq_handler() at handle_el1h_irq+0x70
>         pc = 0xffff00000064d9c8  lr = 0xffff000000615930
>         sp = 0xffff0000531c6f00  fp = 0xffff0000531c7010
> 
> handle_el1h_irq() at uart_pl011_putc+0x34
>         pc = 0xffff000000615930  lr = 0xffff00000019dd3c
>         sp = 0xffff0000531c7020  fp = 0xffff0000531c70c0
> 
> uart_pl011_putc() at uart_cnputc+0x94
>         pc = 0xffff00000019dd3c  lr = 0xffff00000019f0c4
>         sp = 0xffff0000531c70d0  fp = 0xffff0000531c7100
> 
> uart_cnputc() at cnputc+0x78
>         pc = 0xffff00000019f0c4  lr = 0xffff0000002ca264
>         sp = 0xffff0000531c7110  fp = 0xffff0000531c7140
> 
> cnputc() at cnputs+0xb4
>         pc = 0xffff0000002ca264  lr = 0xffff0000002ca528
>         sp = 0xffff0000531c7150  fp = 0xffff0000531c7170
> 
> cnputs() at putchar+0x158
>         pc = 0xffff0000002ca528  lr = 0xffff00000036e1f0
>         sp = 0xffff0000531c7180  fp = 0xffff0000531c7200
> 
> putchar() at kvprintf+0xc54
>         pc = 0xffff00000036e1f0  lr = 0xffff00000036de30
>         sp = 0xffff0000531c7210  fp = 0xffff0000531c7310
> 
> kvprintf() at _vprintf+0x7c
>         pc = 0xffff00000036de30  lr = 0xffff00000036e7a8
>         sp = 0xffff0000531c7320  fp = 0xffff0000531c7420
> 
> _vprintf() at printf+0x60
>         pc = 0xffff00000036e7a8  lr = 0xffff00000036e9c4
>         sp = 0xffff0000531c7430  fp = 0xffff0000531c74d0
> 
> printf() at print_registers+0x4c
>         pc = 0xffff00000036e9c4  lr = 0xffff000000629a94
>         sp = 0xffff0000531c74e0  fp = 0xffff0000531c7510
> 
> print_registers() at data_abort+0x1f0
>         pc = 0xffff000000629a94  lr = 0xffff000000629ce4
>         sp = 0xffff0000531c7520  fp = 0xffff0000531c75d0
> 
> data_abort() at handle_el1h_sync+0x74
>         pc = 0xffff000000629ce4  lr = 0xffff000000615874
>         sp = 0xffff0000531c75e0  fp = 0xffff0000531c76f0
> 
> handle_el1h_sync() at tdq_notify+0x28
>         pc = 0xffff000000615874  lr = 0xffff000000352b04
>         sp = 0xffff0000531c7700  fp = 0xffff0000531c77a0
> 
> tdq_notify() at sched_switch+0x520
>         pc = 0xffff000000352b04  lr = 0xffff000000350cdc
>         sp = 0xffff0000531c77b0  fp = 0xffff0000531c7800
> 
> sched_switch() at mi_switch+0x118
>         pc = 0xffff000000350cdc  lr = 0xffff000000330220
>         sp = 0xffff0000531c7810  fp = 0xffff0000531c7830
> 
> mi_switch() at taskqgroup_binder+0x74
>         pc = 0xffff000000330220  lr = 0xffff000000366d60
>         sp = 0xffff0000531c7840  fp = 0xffff0000531c7860
> 
> taskqgroup_binder() at gtaskqueue_run_locked+0x154
>         pc = 0xffff000000366d60  lr = 0xffff000000366c08
>         sp = 0xffff0000531c7870  fp = 0xffff0000531c78e0
> 
> gtaskqueue_run_locked() at gtaskqueue_thread_loop+0xcc
>         pc = 0xffff000000366c08  lr = 0xffff0000003667cc
>         sp = 0xffff0000531c78f0  fp = 0xffff0000531c7910
> 
> gtaskqueue_thread_loop() at fork_exit+0x94
>         pc = 0xffff0000003667cc  lr = 0xffff0000002ea004
>         sp = 0xffff0000531c7920  fp = 0xffff0000531c7950
> 
> fork_exit() at fork_trampoline+0x10
>         pc = 0xffff0000002ea004  lr = 0xffff000000629784
>         sp = 0xffff0000531c7960  fp = 0x0000000000000000
> 
> db>  
> 
> Any idea what the problem might be?
> 
> Best regards
> Michael   
> 
> 
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"



More information about the freebsd-arm mailing list