Date: Sat, 3 Nov 2018 05:53:13 +0530 From: Neeraj Pal <neerajpal09@gmail.com> To: freebsd-arm@freebsd.org Subject: FreeBSD-13.0-current not booting/hang in BeagleBone Black Message-ID: <CANi4_RV7j%2BO=Zig8HSd=srvCzO_xPag89WxXFizuYmRkWAD13Q@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi there, I have written the FreeBSD-13.0-current snapshot BeagleBone image file into sd card (16gb) using dd. Then, trying to load the image file into BeagleBone Black Rev. C but it seems it is not working. And, after that, I have tried FreeBSD-12.0-ALPHA10 image and it is working fine and below is the dmesg (after log of FreeBSD-13.0-current). Maybe there is something wrong with the FreeBSD-13.0-current snapshot, although I am not sure. Here, is the log: FreeBSD-13.0-current: U-Boot SPL 2018.09 (Nov 01 2018 - 03:26:04 +0000) Trying to boot from MMC1 Loading Environment from FAT... *** Warning - bad CRC, using default environment Loading Environment from MMC... *** Warning - bad CRC, using default environment U-Boot 2018.09 (Nov 01 2018 - 03:26:04 +0000) CPU : AM335X-GP rev 2.1 I2C: ready DRAM: 512 MiB No match for driver 'omap_hsmmc' No match for driver 'omap_hsmmc' Some drivers were not found MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment Loading Environment from MMC... *** Warning - bad CRC, using default environment <ethaddr> not set. Validating first E-fuse MAC Net: cpsw, usb_ether Press SPACE to abort autoboot in 2 seconds switch to partitions #0, OK mmc0 is current device Scanning mmc 0:1... 51500 bytes read in 6 ms (8.2 MiB/s) Found EFI removable media binary efi/boot/bootarm.efi Scanning disks on usb... Disk usb0 not ready Disk usb1 not ready Disk usb2 not ready Disk usb3 not ready Loading kernel... /boot/kernel/kernel text=0x860500 data=0xb5d28+0x24cdd8 syms=[0x4+0xa91d0+0x4+]- Loading configured modules... can't find '/boot/entropy' /boot/kernel/umodem.ko text=0x1bf4 text=0x1320 data=0x1080+0xf88 syms=[0x4+0x10] loading required module 'ucom' /boot/kernel/ucom.ko text=0x1f8c text=0x2e90 data=0x1080+0x17bc syms=[0x4+0x14f] Hit [Enter] to boot immediately, or any other key for command prompt. Booting [/boot/kernel/kernel]... Using DTB provided by EFI at 0x87ff1000. Kernel entry at 0x95000180... Kernel args: (null) modulep: 0xc0d3b000 relocation_offset 0 ---<<BOOT>>--- ARM Debug Architecture not supported KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 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 13.0-CURRENT r339979 GENERIC arm FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module_register: cannot register ofwbus/pcib from kernel; already loaded from kl Module ofwbus/pcib failed to register: 17 module_register: cannot register simplebus/pcib from kernel; already loaded frol Module simplebus/pcib failed to register: 17 CPU: ARM Cortex-A8 r3p2 (ECO: 0x00000000) CPU Features: Thumb2, Security, VMSAv7 Optional instructions: UMULL, SMULL, SIMD(ext) LoUU:2 LoC:3 LoUIS:1 Cache level 1: 32KB/64B 4-way data cache WT WB Read-Alloc 32KB/64B 4-way instruction cache Read-Alloc Cache level 2: 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc real memory = 0 (0 MB) avail memory = 505835520 (482 MB) No PSCI/SMCCC call function found Texas Instruments AM335x Processor, Revision ES2.1 arc4random: no preloaded entropy cache random: entropy device external interface kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> simplebus0: <Flattened device tree simple bus> on ofwbus0 simplebus1: <Flattened device tree simple bus> on simplebus0 am335x_prcm0: <AM335x Power and Clock Management> mem 0x200000-0x203fff on simp1 simplebus2: <Flattened device tree simple bus> mem 0x210000-0x211fff on simpleb1 ti_scm0: <TI Control Module> mem 0-0x7ff on simplebus2 regfix0: <Fixed Regulator> on ofwbus0 clk_fixed0: <Fixed clock> on ofwbus0 ti_aintc0: <TI AINTC Interrupt Controller> mem 0x48200000-0x48200fff on simpleb0 ti_aintc0: Revision 5.0 am335x_prcm0: Clocks: System 24.0 MHz, CPU 1000 MHz cpulist0: <Open Firmware CPU Group> on ofwbus0 cpu0: <Open Firmware CPU> on cpulist0 pmu0: <Performance Monitoring Unit> mem 0x4b000000-0x4bffffff irq 0 on ofwbus0 ti_pinmux0: <TI Pinmux Module> mem 0x800-0xa37 on simplebus2 am335x_scm0: <AM335x Control Module Extension> on ti_scm0 gpio0: <TI AM335x General Purpose I/O (GPIO)> mem 0x44e07000-0x44e07fff irq 7 o0 gpiobus0: <OFW GPIO bus> on gpio0 gpioc0: <GPIO controller> on gpio0 gpio1: <TI AM335x General Purpose I/O (GPIO)> mem 0x4804c000-0x4804cfff irq 8 o0 gpiobus1: <OFW GPIO bus> on gpio1 gpioc1: <GPIO controller> on gpio1 gpio2: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ac000-0x481acfff irq 9 o0 gpiobus2: <OFW GPIO bus> on gpio2 gpioc2: <GPIO controller> on gpio2 gpio3: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ae000-0x481aefff irq 10 0 gpiobus3: <OFW GPIO bus> on gpio3 gpioc3: <GPIO controller> on gpio3 uart0: console (115384,n,8,1)atible)> mem 0x44e09000-0x44e0afff irq 11 on simpl0 iichb0: <TI I2C Controller> mem 0x44e0b000-0x44e0bfff irq 17 on simplebus0 iichb0: I2C revision 4.0 FIFO size: 32 bytes iichb1: <TI I2C Controller> mem 0x4819c000-0x4819cfff irq 19 on simplebus0 iichb1: I2C revision 4.0 FIFO size: 32 bytes sdhci_ti0: <TI MMCHS (SDHCI 2.0)> mem 0x48060000-0x48060fff irq 20 on simplebus0 mmc0: <MMC/SD bus> on sdhci_ti0 sdhci_ti1: <TI MMCHS (SDHCI 2.0)> mem 0x481d8000-0x481d8fff irq 21 on simplebus0 mmc1: <MMC/SD bus> on sdhci_ti1 ti_wdt0: <TI Watchdog Timer> mem 0x44e35000-0x44e35fff irq 23 on simplebus0 ti_mbox0: <TI System Mailbox> mem 0x480c8000-0x480c81ff irq 26 on simplebus0 ti_mbox0: revision 4.0 am335x_dmtimer0: <AM335x DMTimer2> mem 0x48040000-0x480403ff irq 28 on simplebu0 Event timer "DMTimer2" frequency 24000000 Hz quality 500 am335x_dmtimer1: <AM335x DMTimer3> mem 0x48042000-0x480423ff irq 29 on simplebu0 Timecounter "DMTimer3" frequency 24000000 Hz quality 500 am335x_rtc0: <AM335x RTC (power management mode)> mem 0x44e3e000-0x44e3efff irq0 am335x_rtc0: AM335X RTC v1.0.6 usbss0: <TI AM33xx integrated USB OTG controller> mem 0x47400000-0x47400fff on 0 usbss0: TI AM335X USBSS v0.0.13 musbotg0: <TI AM33xx integrated USB OTG controller> mem 0x47401400-0x474017ff,00 usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM usbus0 on musbotg0 musbotg1: <TI AM33xx integrated USB OTG controller> mem 0x47401c00-0x47401fff,00 usbus1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM usbus1 on musbotg1 cpswss0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a1007ff,0x4a101200 cpswss0: CPSW SS Version 1.12 (0) cpswss0: Initial queue size TX=128 RX=384 cpsw0: <Ethernet Switch Port> on cpswss0 miibus0: <MII bus> on cpsw0 smscphy0: <SMC LAN8710A 10/100 interface> PHY 0 on miibus0 smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto cpsw0: Ethernet address: 88:c2:55:8d:ec:f6 fb0: <AM335x LCD controller> mem 0x4830e000-0x4830efff irq 43 on simplebus0 ti_adc0: <TI ADC controller> mem 0x44e0d000-0x44e0dfff irq 44 disabled on simpl0 ti_adc0: scheme: 0x1 func: 0x730 rtl: 0 rev: 0.1 custom rev: 0 gpioled0: <GPIO LEDs> on ofwbus0 cryptosoft0: <software crypto> Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 iicbus0: <OFW I2C bus> on iichb0 iic0: <I2C generic I/O> on iicbus0 am335x_pmic0: <TI TPS65217 Power Management IC> at addr 0x48 irq 59 on iicbus0 icee0: <AT24C256> at addr 0xa0 on iicbus0 tda0 at addr 0xe0 on iicbus0 iicbus1: <OFW I2C bus> on iichb1 iic1: <I2C generic I/O> on iicbus1 icee1: <AT24C256> at addr 0xa8 on iicbus1 icee2: <AT24C256> at addr 0xaa on iicbus1 icee3: <AT24C256> at addr 0xac on iicbus1 icee4: <AT24C256> at addr 0xae on iicbus1 ugen1.1: <Mentor Graphics OTG Root HUB> at usbus1 uhub0: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbu1 ugen0.1: <Mentor Graphics OTG Root HUB> at usbus0 uhub1: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbu0 mmcsd0: 16GB <SDHC SL16G 8.0 SN 28A2253B MFG 02/2017 by 3 SD> at mmc0 48.0MHz/4k uhub1: 1 port with 1 removable, self powered uhub0: 1 port with 1 removable, self powered ugen0.2: <The FreeBSD Project (https://www.FreeBSD.org) Virtual serial port> at0 ugen0.2: <The FreeBSD Project (https://www.FreeBSD.org) Virtual serial port> at) ugen0.2: <The FreeBSD Project (https://www.FreeBSD.org) Virtual serial port> at0 umodem0 on uhub1 umodem0: <Virtual serial port> on usbus0 umodem0: data interface 1, has CM over data, has break mmcsd1: 4GB <MMCHC S10004 0.8 SN 4EDE5FD4 MFG 06/2016 by 112 0x0000> at mmc1 48k mmcsd1boot0: 4MB partion 1 at mmcsd1 mmcsd1boot1: 4MB partion 2 at mmcsd1 mmcsd1rpmb: 4MB partion 3 at mmcsd1 am335x_pmic0: TPS65217C ver 1.2 powered by USB tda0: TDA19988 GEOM_PART: integrity check failed (mmcsd1s4, BSD) GEOM_PART: integrity check failed (diskid/DISK-4EDE5FD4s4, BSD) tda0: failed to read EDID WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/ufs/rootfs [rw]... Warning: no time-of-day clock registered, system time will not be set accurately random: unblocking device. FreeBSD-12.0-ALPHA10 freebsd@generic:~ % dmesg ---<<BOOT>>--- ARM Debug Architecture not supported KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2018 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-ALPHA10 r339377 GENERIC arm FreeBSD clang version 6.0.1 (tags/RELEASE_601/final 335540) (based on LLVM 6.0.1) WARNING: WITNESS option enabled, expect reduced performance. VT: init without driver. module_register: cannot register ofwbus/pcib from kernel; already loaded from kernel Module ofwbus/pcib failed to register: 17 module_register: cannot register simplebus/pcib from kernel; already loaded from kernel Module simplebus/pcib failed to register: 17 CPU: ARM Cortex-A8 r3p2 (ECO: 0x00000000) CPU Features: Thumb2, Security, VMSAv7 Optional instructions: UMULL, SMULL, SIMD(ext) LoUU:2 LoC:3 LoUIS:1 Cache level 1: 32KB/64B 4-way data cache WT WB Read-Alloc 32KB/64B 4-way instruction cache Read-Alloc Cache level 2: 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc real memory = 0 (0 MB) avail memory = 505872384 (482 MB) No PSCI/SMCCC call function found Texas Instruments AM335x Processor, Revision ES2.1 arc4random: no preloaded entropy cache random: entropy device external interface kbd0 at kbdmux0 ofwbus0: <Open Firmware Device Tree> simplebus0: <Flattened device tree simple bus> on ofwbus0 simplebus1: <Flattened device tree simple bus> on simplebus0 am335x_prcm0: <AM335x Power and Clock Management> mem 0x200000-0x203fff on simplebus1 simplebus2: <Flattened device tree simple bus> mem 0x210000-0x211fff on simplebus1 ti_scm0: <TI Control Module> mem 0-0x7ff on simplebus2 regfix0: <Fixed Regulator> on ofwbus0 clk_fixed0: <Fixed clock> on ofwbus0 ti_aintc0: <TI AINTC Interrupt Controller> mem 0x48200000-0x48200fff on simplebus0 ti_aintc0: Revision 5.0 am335x_prcm0: Clocks: System 24.0 MHz, CPU 1000 MHz cpulist0: <Open Firmware CPU Group> on ofwbus0 cpu0: <Open Firmware CPU> on cpulist0 pmu0: <Performance Monitoring Unit> mem 0x4b000000-0x4bffffff irq 0 on ofwbus0 ti_pinmux0: <TI Pinmux Module> mem 0x800-0xa37 on simplebus2 am335x_scm0: <AM335x Control Module Extension> on ti_scm0 gpio0: <TI AM335x General Purpose I/O (GPIO)> mem 0x44e07000-0x44e07fff irq 7 on simplebus0 gpiobus0: <OFW GPIO bus> on gpio0 gpioc0: <GPIO controller> on gpio0 gpio1: <TI AM335x General Purpose I/O (GPIO)> mem 0x4804c000-0x4804cfff irq 8 on simplebus0 gpiobus1: <OFW GPIO bus> on gpio1 gpioc1: <GPIO controller> on gpio1 gpio2: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ac000-0x481acfff irq 9 on simplebus0 gpiobus2: <OFW GPIO bus> on gpio2 gpioc2: <GPIO controller> on gpio2 gpio3: <TI AM335x General Purpose I/O (GPIO)> mem 0x481ae000-0x481aefff irq 10 on simplebus0 gpiobus3: <OFW GPIO bus> on gpio3 gpioc3: <GPIO controller> on gpio3 uart0: <TI UART (16550 compatible)> mem 0x44e09000-0x44e0afff irq 11 on simplebus0 uart0: console (115384,n,8,1) iichb0: <TI I2C Controller> mem 0x44e0b000-0x44e0bfff irq 17 on simplebus0 iichb0: I2C revision 4.0 FIFO size: 32 bytes iichb1: <TI I2C Controller> mem 0x4819c000-0x4819cfff irq 19 on simplebus0 iichb1: I2C revision 4.0 FIFO size: 32 bytes sdhci_ti0: <TI MMCHS (SDHCI 2.0)> mem 0x48060000-0x48060fff irq 20 on simplebus0 mmc0: <MMC/SD bus> on sdhci_ti0 sdhci_ti1: <TI MMCHS (SDHCI 2.0)> mem 0x481d8000-0x481d8fff irq 21 on simplebus0 mmc1: <MMC/SD bus> on sdhci_ti1 ti_wdt0: <TI Watchdog Timer> mem 0x44e35000-0x44e35fff irq 23 on simplebus0 ti_mbox0: <TI System Mailbox> mem 0x480c8000-0x480c81ff irq 26 on simplebus0 ti_mbox0: revision 4.0 am335x_dmtimer0: <AM335x DMTimer2> mem 0x48040000-0x480403ff irq 28 on simplebus0 Event timer "DMTimer2" frequency 24000000 Hz quality 500 am335x_dmtimer1: <AM335x DMTimer3> mem 0x48042000-0x480423ff irq 29 on simplebus0 Timecounter "DMTimer3" frequency 24000000 Hz quality 500 am335x_rtc0: <AM335x RTC (power management mode)> mem 0x44e3e000-0x44e3efff irq 34,35 on simplebus0 am335x_rtc0: AM335X RTC v1.0.6 usbss0: <TI AM33xx integrated USB OTG controller> mem 0x47400000-0x47400fff on simplebus0 usbss0: TI AM335X USBSS v0.0.13 musbotg0: <TI AM33xx integrated USB OTG controller> mem 0x47401400-0x474017ff,0x47401000-0x474011ff irq 56 on usbss0 usbus0: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM usbus0 on musbotg0 musbotg1: <TI AM33xx integrated USB OTG controller> mem 0x47401c00-0x47401fff,0x47401800-0x474019ff irq 57 on usbss0 usbus1: Dynamic FIFO sizing detected, assuming 16Kbytes of FIFO RAM usbus1 on musbotg1 cpswss0: <3-port Switch Ethernet Subsystem> mem 0x4a100000-0x4a1007ff,0x4a101200-0x4a1012ff irq 38,39,40,41 on simplebus0 cpswss0: CPSW SS Version 1.12 (0) cpswss0: Initial queue size TX=128 RX=384 cpsw0: <Ethernet Switch Port> on cpswss0 miibus0: <MII bus> on cpsw0 smscphy0: <SMC LAN8710A 10/100 interface> PHY 0 on miibus0 smscphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto cpsw0: Ethernet address: 88:c2:55:8d:ec:f6 fb0: <AM335x LCD controller> mem 0x4830e000-0x4830efff irq 43 on simplebus0 ti_adc0: <TI ADC controller> mem 0x44e0d000-0x44e0dfff irq 44 disabled on simplebus0 ti_adc0: scheme: 0x1 func: 0x730 rtl: 0 rev: 0.1 custom rev: 0 gpioled0: <GPIO LEDs> on ofwbus0 cryptosoft0: <software crypto> Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 iicbus0: <OFW I2C bus> on iichb0 iic0: <I2C generic I/O> on iicbus0 am335x_pmic0: <TI TPS65217 Power Management IC> at addr 0x48 irq 59 on iicbus0 icee0: <AT24C256> at addr 0xa0 on iicbus0 tda0 at addr 0xe0 on iicbus0 iicbus1: <OFW I2C bus> on iichb1 iic1: <I2C generic I/O> on iicbus1 icee1: <AT24C256> at addr 0xa8 on iicbus1 icee2: <AT24C256> at addr 0xaa on iicbus1 icee3: <AT24C256> at addr 0xac on iicbus1 icee4: <AT24C256> at addr 0xae on iicbus1 ugen1.1: <Mentor Graphics OTG Root HUB> at usbus1 uhub0: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1 ugen0.1: <Mentor Graphics OTG Root HUB> at usbus0 uhub1: <Mentor Graphics OTG Root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0 mmcsd0: 16GB <SDHC SL16G 8.0 SN 28A2253B MFG 02/2017 by 3 SD> at mmc0 48.0MHz/4bit/65535-block uhub1: 1 port with 1 removable, self powered uhub0: 1 port with 1 removable, self powered ugen0.2: <The FreeBSD Project (https://www.FreeBSD.org) Virtual serial port> at usbus0 ugen0.2: <The FreeBSD Project (https://www.FreeBSD.org) Virtual serial port> at usbus0 (disconnected) ugen0.2: <The FreeBSD Project (https://www.FreeBSD.org) Virtual serial port> at usbus0 umodem0 on uhub1 umodem0: <Virtual serial port> on usbus0 umodem0: data interface 1, has CM over data, has break mmcsd1: 4GB <MMCHC S10004 0.8 SN 4EDE5FD4 MFG 06/2016 by 112 0x0000> at mmc1 48.0MHz/8bit/65535-block mmcsd1boot0: 4MB partion 1 at mmcsd1 mmcsd1boot1: 4MB partion 2 at mmcsd1 mmcsd1rpmb: 4MB partion 3 at mmcsd1 am335x_pmic0: TPS65217C ver 1.2 powered by USB tda0: TDA19988 GEOM_PART: integrity check failed (mmcsd1s4, BSD) GEOM_PART: integrity check failed (diskid/DISK-4EDE5FD4s4, BSD) tda0: failed to read EDID WARNING: WITNESS option enabled, expect reduced performance. Trying to mount root from ufs:/dev/ufs/rootfs [rw]... Warning: no time-of-day clock registered, system time will not be set accurately GEOM_PART: mmcsd0s2 was automatically resized. Use `gpart commit mmcsd0s2` to save changes or `gpart undo mmcsd0s2` to revert them. random: unblocking device. lock order reversal: 1st 0xc2415b10 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:3916 2nd 0xd37dcc00 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:289 stack backtrace: lo0: link state changed to UP cpsw0: link state changed to DOWN cpsw0: link state changed to UP -- Thank you! Sincere regards; Neeraj Pal
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANi4_RV7j%2BO=Zig8HSd=srvCzO_xPag89WxXFizuYmRkWAD13Q>